@milaboratories/pl-client 2.10.1 → 2.11.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/core/final.d.ts.map +1 -1
- package/dist/core/ll_transaction.d.ts +1 -0
- package/dist/core/ll_transaction.d.ts.map +1 -1
- package/dist/core/stat.d.ts +3 -0
- package/dist/core/stat.d.ts.map +1 -1
- package/dist/core/transaction.d.ts +6 -1
- package/dist/core/transaction.d.ts.map +1 -1
- package/dist/helpers/pl.d.ts +1 -0
- package/dist/helpers/pl.d.ts.map +1 -1
- package/dist/helpers/poll.d.ts +1 -0
- package/dist/helpers/poll.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1084 -1047
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
- package/src/core/final.ts +4 -0
- package/src/core/ll_transaction.ts +1 -0
- package/src/core/stat.ts +11 -1
- package/src/core/transaction.ts +55 -35
- package/src/helpers/pl.ts +1 -0
- package/src/helpers/poll.ts +3 -1
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var y = (l, e, t) =>
|
|
4
|
-
import { cachedDeserialize as
|
|
5
|
-
import { ServiceType as
|
|
6
|
-
import { MessageType as h, PbLong as F, typeofJsonValue as
|
|
7
|
-
import { compressionAlgorithms as
|
|
8
|
-
import { GrpcTransport as
|
|
9
|
-
import
|
|
10
|
-
import { defaultHttpDispatcher as
|
|
11
|
-
import { createHash as
|
|
12
|
-
import * as
|
|
13
|
-
import { LRUCache as
|
|
1
|
+
var Yi = Object.defineProperty;
|
|
2
|
+
var Zi = (l, e, t) => e in l ? Yi(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
|
|
3
|
+
var y = (l, e, t) => Zi(l, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { cachedDeserialize as yi, notEmpty as R, Aborted as wi, assertNever as mi, canonicalJsonBytes as Xi, canonicalJsonGzBytes as Qi, deepFreeze as Vn, createRetryState as gi, nextRetryStateOrError as ki } from "@milaboratories/ts-helpers";
|
|
5
|
+
import { ServiceType as er, stackIntercept as g } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import { MessageType as h, PbLong as F, typeofJsonValue as Ln, reflectionMergePartial as p, UnknownFieldHandler as f, WireType as d, jsonWriteOptions as tr, isJsonObject as Mn } from "@protobuf-ts/runtime";
|
|
7
|
+
import { compressionAlgorithms as nr, ChannelCredentials as Gn, InterceptingCall as Jn, status as zn } from "@grpc/grpc-js";
|
|
8
|
+
import { GrpcTransport as ir } from "@protobuf-ts/grpc-transport";
|
|
9
|
+
import rr from "denque";
|
|
10
|
+
import { defaultHttpDispatcher as sr } from "@milaboratories/pl-http";
|
|
11
|
+
import { createHash as bi, randomUUID as Ti } from "node:crypto";
|
|
12
|
+
import * as Rn from "node:timers/promises";
|
|
13
|
+
import { LRUCache as or } from "lru-cache";
|
|
14
14
|
import * as U from "node:fs";
|
|
15
15
|
import E from "node:fs";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
16
|
+
import ar from "canonicalize";
|
|
17
|
+
import lr from "yaml";
|
|
18
|
+
import * as Ri from "node:os";
|
|
19
|
+
import * as An from "node:path";
|
|
20
20
|
const S = 0n;
|
|
21
21
|
function B(l) {
|
|
22
22
|
return l === S;
|
|
@@ -24,23 +24,23 @@ function B(l) {
|
|
|
24
24
|
function C(l) {
|
|
25
25
|
return l !== S;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function In(l) {
|
|
28
28
|
if (!C(l)) throw new Error("null resource id");
|
|
29
29
|
return l;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function rf(l) {
|
|
32
32
|
return l !== 0n;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function sf(l, e) {
|
|
35
35
|
return { name: l, version: e };
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function of(l) {
|
|
38
38
|
return `${l.name}:${l.version}`;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function af(l, e) {
|
|
41
41
|
return l.name === e.name && l.version === e.version;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function cr(l) {
|
|
44
44
|
const {
|
|
45
45
|
id: e,
|
|
46
46
|
originalResourceId: t,
|
|
@@ -66,57 +66,57 @@ function sr(l) {
|
|
|
66
66
|
final: u
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
const
|
|
70
|
-
function
|
|
69
|
+
const lf = (l) => Buffer.from(JSON.stringify(l)), cf = (l) => yi(R(l.data));
|
|
70
|
+
function Hn(l, e) {
|
|
71
71
|
return R(l.fields.find((t) => t.name === e));
|
|
72
72
|
}
|
|
73
|
-
const
|
|
74
|
-
function
|
|
75
|
-
return (l &
|
|
73
|
+
const Bn = 1n << 63n, Ii = 1n << 62n, ur = 0x3fffffffffffffffn, Pi = 24n, Ni = 16777215, $n = 4294967295, fr = BigInt($n), dr = BigInt(Ni);
|
|
74
|
+
function Yn(l) {
|
|
75
|
+
return (l & Bn) !== 0n;
|
|
76
76
|
}
|
|
77
77
|
function x(l) {
|
|
78
|
-
return (l &
|
|
78
|
+
return (l & Ii) !== 0n;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
if (e >
|
|
80
|
+
function _i(l, e, t) {
|
|
81
|
+
if (e > Ni || t > $n || e < 0 || t <= 0)
|
|
82
82
|
throw Error("wrong local id or tx id");
|
|
83
|
-
return (l ?
|
|
83
|
+
return (l ? Bn : 0n) | Ii | BigInt(e) | BigInt(t) << Pi;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return (l ?
|
|
85
|
+
function hr(l, e) {
|
|
86
|
+
return (l ? Bn : 0n) | e;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return Number(l >>
|
|
88
|
+
function Li(l) {
|
|
89
|
+
return Number(l >> Pi & fr);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
if (x(l) &&
|
|
91
|
+
function uf(l, e) {
|
|
92
|
+
if (x(l) && Li(l) !== e)
|
|
93
93
|
throw Error(
|
|
94
94
|
"local id from another transaction, globalize id before leaking it from the transaction"
|
|
95
95
|
);
|
|
96
96
|
}
|
|
97
97
|
function we(l) {
|
|
98
|
-
return B(l) ? "XX:0x0" : x(l) ? (
|
|
98
|
+
return B(l) ? "XX:0x0" : x(l) ? (Yn(l) ? "R" : "N") + "L:0x" + (dr & l).toString(16) + "[0x" + Li(l).toString(16) + "]" : (Yn(l) ? "R" : "N") + "G:0x" + (ur & l).toString(16);
|
|
99
99
|
}
|
|
100
|
-
const
|
|
101
|
-
function
|
|
102
|
-
const e = l.match(
|
|
100
|
+
const pr = /^(?:(?<xx>XX)|(?<rn>[XRN])(?<lg>[XLG])):0x(?<rid>[0-9a-fA-F]+)(?:\[0x(?<txid>[0-9a-fA-F]+)])?$/;
|
|
101
|
+
function ff(l) {
|
|
102
|
+
const e = l.match(pr);
|
|
103
103
|
if (e === null) return;
|
|
104
104
|
const { xx: t, rn: i, lg: n, rid: r, txid: c } = e.groups;
|
|
105
|
-
return t ? S : n === "L" ?
|
|
105
|
+
return t ? S : n === "L" ? _i(i === "R", Number.parseInt(r, 16), Number.parseInt(c, 16)) : hr(i === "R", BigInt("0x" + r));
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function df(l) {
|
|
108
108
|
if (x(l))
|
|
109
109
|
throw new Error(`Local resource id: ${we(l)}`);
|
|
110
110
|
if (B(l)) throw new Error("Null resource id.");
|
|
111
111
|
return l;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function hf(l) {
|
|
114
114
|
return JSON.stringify(
|
|
115
115
|
l,
|
|
116
116
|
(e, t) => typeof t == "bigint" ? we(t) : t
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
|
-
class
|
|
119
|
+
class yr extends h {
|
|
120
120
|
constructor() {
|
|
121
121
|
super("google.protobuf.Duration", [
|
|
122
122
|
{
|
|
@@ -155,7 +155,7 @@ class fr extends h {
|
|
|
155
155
|
*/
|
|
156
156
|
internalJsonRead(e, t, i) {
|
|
157
157
|
if (typeof e != "string")
|
|
158
|
-
throw new Error("Unable to parse Duration from JSON " +
|
|
158
|
+
throw new Error("Unable to parse Duration from JSON " + Ln(e) + ". Expected string.");
|
|
159
159
|
let n = e.match(/^(-?)([0-9]+)(?:\.([0-9]+))?s/);
|
|
160
160
|
if (n === null)
|
|
161
161
|
throw new Error("Unable to parse Duration from JSON string. Invalid format.");
|
|
@@ -202,9 +202,9 @@ class fr extends h {
|
|
|
202
202
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
const
|
|
205
|
+
const _ = new yr();
|
|
206
206
|
var k = /* @__PURE__ */ ((l) => (l[l.INVALID = 0] = "INVALID", l[l.INPUT = 1] = "INPUT", l[l.OUTPUT = 2] = "OUTPUT", l[l.SERVICE = 6] = "SERVICE", l[l.ONE_TIME_WRITABLE = 4] = "ONE_TIME_WRITABLE", l[l.DYNAMIC = 3] = "DYNAMIC", l[l.MULTIPLE_TIMES_WRITABLE = 5] = "MULTIPLE_TIMES_WRITABLE", l))(k || {});
|
|
207
|
-
class
|
|
207
|
+
class wr extends h {
|
|
208
208
|
constructor() {
|
|
209
209
|
super("MiLaboratories.PL.Base.ResourceType", [
|
|
210
210
|
{
|
|
@@ -256,8 +256,8 @@ class dr extends h {
|
|
|
256
256
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
const w = new
|
|
260
|
-
class
|
|
259
|
+
const w = new wr();
|
|
260
|
+
class mr extends h {
|
|
261
261
|
constructor() {
|
|
262
262
|
super("MiLaboratories.PL.Base.FieldRef", [
|
|
263
263
|
{
|
|
@@ -310,8 +310,8 @@ class hr extends h {
|
|
|
310
310
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
const m = new
|
|
314
|
-
class
|
|
313
|
+
const m = new mr();
|
|
314
|
+
class gr extends h {
|
|
315
315
|
constructor() {
|
|
316
316
|
super("MiLaboratories.PL.RTypes.Number", [
|
|
317
317
|
{
|
|
@@ -433,8 +433,8 @@ class pr extends h {
|
|
|
433
433
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
new
|
|
437
|
-
class
|
|
436
|
+
new gr();
|
|
437
|
+
class kr extends h {
|
|
438
438
|
constructor() {
|
|
439
439
|
super("MiLaboratories.PL.RTypes.ControllerSettings", [
|
|
440
440
|
{
|
|
@@ -475,8 +475,8 @@ class yr extends h {
|
|
|
475
475
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
new
|
|
479
|
-
class
|
|
478
|
+
new kr();
|
|
479
|
+
class br extends h {
|
|
480
480
|
constructor() {
|
|
481
481
|
super("MiLaboratories.PL.RTypes.SubscriptionSettings", [
|
|
482
482
|
{
|
|
@@ -529,8 +529,8 @@ class wr extends h {
|
|
|
529
529
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
new
|
|
533
|
-
class
|
|
532
|
+
new br();
|
|
533
|
+
class Tr extends h {
|
|
534
534
|
constructor() {
|
|
535
535
|
super("MiLaboratories.PL.RTypes.NotificationFilter", [
|
|
536
536
|
{ no: 1, name: "resource_type", kind: "message", oneof: "resourceFilter", T: () => w },
|
|
@@ -594,8 +594,8 @@ class mr extends h {
|
|
|
594
594
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
const L = new
|
|
598
|
-
class
|
|
597
|
+
const L = new Tr();
|
|
598
|
+
class Rr extends h {
|
|
599
599
|
constructor() {
|
|
600
600
|
super("MiLaboratories.PL.RTypes.NotificationFilter.EventFilter", [
|
|
601
601
|
{
|
|
@@ -817,8 +817,8 @@ class gr extends h {
|
|
|
817
817
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
|
-
const ke = new
|
|
821
|
-
class
|
|
820
|
+
const ke = new Rr();
|
|
821
|
+
class Ir extends h {
|
|
822
822
|
constructor() {
|
|
823
823
|
super("MiLaboratories.PL.RTypes.NotificationFilter.Payload", [
|
|
824
824
|
{ no: 1, name: "values", kind: "map", K: 9, V: {
|
|
@@ -875,8 +875,8 @@ class kr extends h {
|
|
|
875
875
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
876
876
|
}
|
|
877
877
|
}
|
|
878
|
-
const q = new
|
|
879
|
-
class
|
|
878
|
+
const q = new Ir();
|
|
879
|
+
class Pr extends h {
|
|
880
880
|
constructor() {
|
|
881
881
|
super("google.protobuf.Timestamp", [
|
|
882
882
|
{
|
|
@@ -939,7 +939,7 @@ class br extends h {
|
|
|
939
939
|
*/
|
|
940
940
|
internalJsonRead(e, t, i) {
|
|
941
941
|
if (typeof e != "string")
|
|
942
|
-
throw new Error("Unable to parse Timestamp from JSON " +
|
|
942
|
+
throw new Error("Unable to parse Timestamp from JSON " + Ln(e) + ".");
|
|
943
943
|
let n = e.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);
|
|
944
944
|
if (!n)
|
|
945
945
|
throw new Error("Unable to parse Timestamp from JSON. Invalid format.");
|
|
@@ -983,9 +983,9 @@ class br extends h {
|
|
|
983
983
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
|
-
const D = new
|
|
987
|
-
var
|
|
988
|
-
class
|
|
986
|
+
const D = new Pr();
|
|
987
|
+
var de = /* @__PURE__ */ ((l) => (l[l.INVALID = 0] = "INVALID", l[l.STRUCTURAL = 1] = "STRUCTURAL", l[l.VALUE = 2] = "VALUE", l))(de || {}), Y = /* @__PURE__ */ ((l) => (l[l.INVALID = 0] = "INVALID", l[l.EMPTY = 1] = "EMPTY", l[l.ASSIGNED = 2] = "ASSIGNED", l[l.RESOLVED = 3] = "RESOLVED", l))(Y || {});
|
|
988
|
+
class Nr extends h {
|
|
989
989
|
constructor() {
|
|
990
990
|
super("MiLaboratories.PL.API.Tx", [
|
|
991
991
|
{
|
|
@@ -1038,8 +1038,8 @@ class Tr extends h {
|
|
|
1038
1038
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
|
-
const be = new
|
|
1042
|
-
class
|
|
1041
|
+
const be = new Nr();
|
|
1042
|
+
class _r extends h {
|
|
1043
1043
|
constructor() {
|
|
1044
1044
|
super("MiLaboratories.PL.API.Resource", [
|
|
1045
1045
|
{
|
|
@@ -1050,7 +1050,7 @@ class Rr extends h {
|
|
|
1050
1050
|
L: 0
|
|
1051
1051
|
/*LongType.BIGINT*/
|
|
1052
1052
|
},
|
|
1053
|
-
{ no: 3, name: "kind", kind: "enum", T: () => ["MiLaboratories.PL.API.Resource.Kind",
|
|
1053
|
+
{ no: 3, name: "kind", kind: "enum", T: () => ["MiLaboratories.PL.API.Resource.Kind", de, "KIND_"] },
|
|
1054
1054
|
{ no: 4, name: "type", kind: "message", T: () => w },
|
|
1055
1055
|
{
|
|
1056
1056
|
no: 5,
|
|
@@ -1204,8 +1204,8 @@ class Rr extends h {
|
|
|
1204
1204
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
|
-
const I = new
|
|
1208
|
-
class
|
|
1207
|
+
const I = new _r();
|
|
1208
|
+
class Lr extends h {
|
|
1209
1209
|
constructor() {
|
|
1210
1210
|
super("MiLaboratories.PL.API.Resource.Features", [
|
|
1211
1211
|
{
|
|
@@ -1246,8 +1246,8 @@ class Ir extends h {
|
|
|
1246
1246
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
const K = new
|
|
1250
|
-
class
|
|
1249
|
+
const K = new Lr();
|
|
1250
|
+
class Ar extends h {
|
|
1251
1251
|
constructor() {
|
|
1252
1252
|
super("MiLaboratories.PL.API.Field", [
|
|
1253
1253
|
{ no: 1, name: "id", kind: "message", T: () => m },
|
|
@@ -1261,7 +1261,7 @@ class Pr extends h {
|
|
|
1261
1261
|
L: 0
|
|
1262
1262
|
/*LongType.BIGINT*/
|
|
1263
1263
|
},
|
|
1264
|
-
{ no: 7, name: "value_status", kind: "enum", T: () => ["MiLaboratories.PL.API.Field.ValueStatus",
|
|
1264
|
+
{ no: 7, name: "value_status", kind: "enum", T: () => ["MiLaboratories.PL.API.Field.ValueStatus", Y] },
|
|
1265
1265
|
{
|
|
1266
1266
|
no: 8,
|
|
1267
1267
|
name: "value_is_final",
|
|
@@ -1332,8 +1332,8 @@ class Pr extends h {
|
|
|
1332
1332
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
|
-
const b = new
|
|
1336
|
-
class
|
|
1335
|
+
const b = new Ar();
|
|
1336
|
+
class Br extends h {
|
|
1337
1337
|
constructor() {
|
|
1338
1338
|
super("MiLaboratories.PL.API.Notification", [
|
|
1339
1339
|
{
|
|
@@ -1362,7 +1362,7 @@ class Nr extends h {
|
|
|
1362
1362
|
},
|
|
1363
1363
|
{ no: 4, name: "resource_type", kind: "message", T: () => w },
|
|
1364
1364
|
{ no: 5, name: "events", kind: "message", T: () => Te },
|
|
1365
|
-
{ no: 6, name: "field_changes", kind: "map", K: 9, V: { kind: "message", T: () =>
|
|
1365
|
+
{ no: 6, name: "field_changes", kind: "map", K: 9, V: { kind: "message", T: () => ee } },
|
|
1366
1366
|
{ no: 7, name: "payload", kind: "message", T: () => q },
|
|
1367
1367
|
{
|
|
1368
1368
|
no: 8,
|
|
@@ -1438,25 +1438,25 @@ class Nr extends h {
|
|
|
1438
1438
|
c = t.string();
|
|
1439
1439
|
break;
|
|
1440
1440
|
case 2:
|
|
1441
|
-
a =
|
|
1441
|
+
a = ee.internalBinaryRead(t, t.uint32(), i);
|
|
1442
1442
|
break;
|
|
1443
1443
|
default:
|
|
1444
1444
|
throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.API.Notification.field_changes");
|
|
1445
1445
|
}
|
|
1446
1446
|
}
|
|
1447
|
-
e[c ?? ""] = a ??
|
|
1447
|
+
e[c ?? ""] = a ?? ee.create();
|
|
1448
1448
|
}
|
|
1449
1449
|
internalBinaryWrite(e, t, i) {
|
|
1450
1450
|
e.subscriptionId !== 0n && t.tag(1, d.Varint).uint64(e.subscriptionId), e.eventId !== 0n && t.tag(2, d.Varint).uint64(e.eventId), e.resourceId !== 0n && t.tag(3, d.Varint).uint64(e.resourceId), e.resourceType && w.internalBinaryWrite(e.resourceType, t.tag(4, d.LengthDelimited).fork(), i).join(), e.events && Te.internalBinaryWrite(e.events, t.tag(5, d.LengthDelimited).fork(), i).join();
|
|
1451
1451
|
for (let r of globalThis.Object.keys(e.fieldChanges))
|
|
1452
|
-
t.tag(6, d.LengthDelimited).fork().tag(1, d.LengthDelimited).string(r), t.tag(2, d.LengthDelimited).fork(),
|
|
1452
|
+
t.tag(6, d.LengthDelimited).fork().tag(1, d.LengthDelimited).string(r), t.tag(2, d.LengthDelimited).fork(), ee.internalBinaryWrite(e.fieldChanges[r], t, i), t.join().join();
|
|
1453
1453
|
e.payload && q.internalBinaryWrite(e.payload, t.tag(7, d.LengthDelimited).fork(), i).join(), e.filterName !== "" && t.tag(8, d.LengthDelimited).string(e.filterName), e.txSpan && Re.internalBinaryWrite(e.txSpan, t.tag(9, d.LengthDelimited).fork(), i).join();
|
|
1454
1454
|
let n = i.writeUnknownFields;
|
|
1455
1455
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
const j = new
|
|
1459
|
-
class
|
|
1458
|
+
const j = new Br();
|
|
1459
|
+
class $r extends h {
|
|
1460
1460
|
constructor() {
|
|
1461
1461
|
super("MiLaboratories.PL.API.Notification.Events", [
|
|
1462
1462
|
{
|
|
@@ -1651,8 +1651,8 @@ class _r extends h {
|
|
|
1651
1651
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1652
1652
|
}
|
|
1653
1653
|
}
|
|
1654
|
-
const Te = new
|
|
1655
|
-
class
|
|
1654
|
+
const Te = new $r();
|
|
1655
|
+
class Ur extends h {
|
|
1656
1656
|
constructor() {
|
|
1657
1657
|
super("MiLaboratories.PL.API.Notification.FieldChange", [
|
|
1658
1658
|
{ no: 1, name: "old", kind: "message", T: () => b },
|
|
@@ -1692,8 +1692,8 @@ class Lr extends h {
|
|
|
1692
1692
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
const
|
|
1696
|
-
class
|
|
1695
|
+
const ee = new Ur();
|
|
1696
|
+
class Fr extends h {
|
|
1697
1697
|
constructor() {
|
|
1698
1698
|
super("MiLaboratories.PL.API.SpanInfo", [
|
|
1699
1699
|
{
|
|
@@ -1762,8 +1762,8 @@ class Ar extends h {
|
|
|
1762
1762
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1763
1763
|
}
|
|
1764
1764
|
}
|
|
1765
|
-
const Re = new
|
|
1766
|
-
class
|
|
1765
|
+
const Re = new Fr();
|
|
1766
|
+
class Er extends h {
|
|
1767
1767
|
constructor() {
|
|
1768
1768
|
super("MiLaboratories.PL.API.Subscription", [
|
|
1769
1769
|
{
|
|
@@ -1816,8 +1816,8 @@ class Br extends h {
|
|
|
1816
1816
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1817
1817
|
}
|
|
1818
1818
|
}
|
|
1819
|
-
const Ie = new
|
|
1820
|
-
class
|
|
1819
|
+
const Ie = new Er();
|
|
1820
|
+
class xr extends h {
|
|
1821
1821
|
constructor() {
|
|
1822
1822
|
super("MiLaboratories.PL.API.Controller", [
|
|
1823
1823
|
{
|
|
@@ -1882,8 +1882,8 @@ class $r extends h {
|
|
|
1882
1882
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1883
1883
|
}
|
|
1884
1884
|
}
|
|
1885
|
-
const Pe = new
|
|
1886
|
-
class
|
|
1885
|
+
const Pe = new xr();
|
|
1886
|
+
class Wr extends h {
|
|
1887
1887
|
constructor() {
|
|
1888
1888
|
super("MiLaboratories.PL.API.ResourceSchema", [
|
|
1889
1889
|
{ no: 1, name: "type", kind: "message", T: () => w },
|
|
@@ -1925,8 +1925,8 @@ class Ur extends h {
|
|
|
1925
1925
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
1928
|
-
const V = new
|
|
1929
|
-
class
|
|
1928
|
+
const V = new Wr();
|
|
1929
|
+
class Sr extends h {
|
|
1930
1930
|
constructor() {
|
|
1931
1931
|
super("MiLaboratories.PL.API.FieldSchema", [
|
|
1932
1932
|
{ no: 1, name: "type", kind: "enum", T: () => ["MiLaboratories.PL.Base.FieldType", k] },
|
|
@@ -1972,8 +1972,8 @@ class Fr extends h {
|
|
|
1972
1972
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
1973
1973
|
}
|
|
1974
1974
|
}
|
|
1975
|
-
const Ne = new
|
|
1976
|
-
class
|
|
1975
|
+
const Ne = new Sr();
|
|
1976
|
+
class Cr extends h {
|
|
1977
1977
|
constructor() {
|
|
1978
1978
|
super("MiLaboratories.PL.API.ResourceAPIFeature", [
|
|
1979
1979
|
{
|
|
@@ -2041,8 +2041,8 @@ class Er extends h {
|
|
|
2041
2041
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
2042
2042
|
}
|
|
2043
2043
|
}
|
|
2044
|
-
const _e = new
|
|
2045
|
-
class
|
|
2044
|
+
const _e = new Cr();
|
|
2045
|
+
class Dr extends h {
|
|
2046
2046
|
constructor() {
|
|
2047
2047
|
super("google.protobuf.Any", [
|
|
2048
2048
|
{
|
|
@@ -2102,16 +2102,16 @@ class xr extends h {
|
|
|
2102
2102
|
var o;
|
|
2103
2103
|
if (e.typeUrl === "")
|
|
2104
2104
|
return {};
|
|
2105
|
-
let i = this.typeUrlToName(e.typeUrl), n =
|
|
2105
|
+
let i = this.typeUrlToName(e.typeUrl), n = tr(t), r = (o = n.typeRegistry) == null ? void 0 : o.find((s) => s.typeName === i);
|
|
2106
2106
|
if (!r)
|
|
2107
2107
|
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.");
|
|
2108
2108
|
let c = r.fromBinary(e.value, { readUnknownField: !1 }), a = r.internalJsonWrite(c, n);
|
|
2109
|
-
return (i.startsWith("google.protobuf.") || !
|
|
2109
|
+
return (i.startsWith("google.protobuf.") || !Mn(a)) && (a = { value: a }), a["@type"] = e.typeUrl, a;
|
|
2110
2110
|
}
|
|
2111
2111
|
internalJsonRead(e, t, i) {
|
|
2112
2112
|
var a;
|
|
2113
|
-
if (!
|
|
2114
|
-
throw new globalThis.Error("Unable to parse google.protobuf.Any from JSON " +
|
|
2113
|
+
if (!Mn(e))
|
|
2114
|
+
throw new globalThis.Error("Unable to parse google.protobuf.Any from JSON " + Ln(e) + ".");
|
|
2115
2115
|
if (typeof e["@type"] != "string" || e["@type"] == "")
|
|
2116
2116
|
return this.create();
|
|
2117
2117
|
let n = this.typeUrlToName(e["@type"]), r = (a = t == null ? void 0 : t.typeRegistry) == null ? void 0 : a.find((o) => o.typeName == n);
|
|
@@ -2172,8 +2172,8 @@ class xr extends h {
|
|
|
2172
2172
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
2173
2173
|
}
|
|
2174
2174
|
}
|
|
2175
|
-
const Le = new
|
|
2176
|
-
class
|
|
2175
|
+
const Le = new Dr();
|
|
2176
|
+
class vr extends h {
|
|
2177
2177
|
constructor() {
|
|
2178
2178
|
super("google.rpc.Status", [
|
|
2179
2179
|
{
|
|
@@ -2232,9 +2232,9 @@ class Wr extends h {
|
|
|
2232
2232
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
2233
2233
|
}
|
|
2234
2234
|
}
|
|
2235
|
-
const Ae = new
|
|
2236
|
-
var
|
|
2237
|
-
class
|
|
2235
|
+
const Ae = new vr();
|
|
2236
|
+
var he = /* @__PURE__ */ ((l) => (l[l.INVALID = 0] = "INVALID", l[l.WRITABLE = 1] = "WRITABLE", l[l.NOT_WRITABLE = 2] = "NOT_WRITABLE", l))(he || {}), Un = /* @__PURE__ */ ((l) => (l[l.NONE = 0] = "NONE", l[l.GZIP = 1] = "GZIP", l))(Un || {});
|
|
2237
|
+
class Or extends h {
|
|
2238
2238
|
constructor() {
|
|
2239
2239
|
super("MiLaboratories.PL.API.TxAPI", []);
|
|
2240
2240
|
}
|
|
@@ -2262,8 +2262,8 @@ class Sr extends h {
|
|
|
2262
2262
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
2263
2263
|
}
|
|
2264
2264
|
}
|
|
2265
|
-
new
|
|
2266
|
-
class
|
|
2265
|
+
new Or();
|
|
2266
|
+
class qr extends h {
|
|
2267
2267
|
constructor() {
|
|
2268
2268
|
super("MiLaboratories.PL.API.TxAPI.ClientMessage", [
|
|
2269
2269
|
{
|
|
@@ -2305,10 +2305,10 @@ class Cr extends h {
|
|
|
2305
2305
|
{ no: 106, name: "field_remove", kind: "message", oneof: "request", T: () => xt },
|
|
2306
2306
|
{ no: 108, name: "field_list", kind: "message", oneof: "request", T: () => St },
|
|
2307
2307
|
{ no: 111, name: "subscription_create", kind: "message", oneof: "request", T: () => Kt },
|
|
2308
|
-
{ no: 112, name: "subscription_attach_filter", kind: "message", oneof: "request", T: () =>
|
|
2309
|
-
{ no: 113, name: "subscription_detach_filter", kind: "message", oneof: "request", T: () =>
|
|
2308
|
+
{ no: 112, name: "subscription_attach_filter", kind: "message", oneof: "request", T: () => re },
|
|
2309
|
+
{ no: 113, name: "subscription_detach_filter", kind: "message", oneof: "request", T: () => oe },
|
|
2310
2310
|
{ no: 115, name: "subscription_create_filter", kind: "message", oneof: "request", T: () => Vt },
|
|
2311
|
-
{ no: 154, name: "notification_get", kind: "message", oneof: "request", T: () =>
|
|
2311
|
+
{ no: 154, name: "notification_get", kind: "message", oneof: "request", T: () => ne },
|
|
2312
2312
|
{ no: 155, name: "notification_ack", kind: "message", oneof: "request", T: () => Dt },
|
|
2313
2313
|
{ no: 156, name: "notification_discard", kind: "message", oneof: "request", T: () => Ot },
|
|
2314
2314
|
{ no: 200, name: "resource_key_value_set", kind: "message", oneof: "request", T: () => Yt },
|
|
@@ -2324,8 +2324,8 @@ class Cr extends h {
|
|
|
2324
2324
|
{ no: 252, name: "controller_key_value_get_if_exists", kind: "message", oneof: "request", T: () => fn },
|
|
2325
2325
|
{ no: 300, name: "cache_set_to_field", kind: "message", oneof: "request", T: () => hn },
|
|
2326
2326
|
{ no: 301, name: "cache_delete_expired_records", kind: "message", oneof: "request", T: () => yn },
|
|
2327
|
-
{ no: 350, name: "controller_features_set", kind: "message", oneof: "request", T: () =>
|
|
2328
|
-
{ no: 351, name: "controller_features_clear", kind: "message", oneof: "request", T: () =>
|
|
2327
|
+
{ no: 350, name: "controller_features_set", kind: "message", oneof: "request", T: () => le },
|
|
2328
|
+
{ no: 351, name: "controller_features_clear", kind: "message", oneof: "request", T: () => ue }
|
|
2329
2329
|
]);
|
|
2330
2330
|
}
|
|
2331
2331
|
create(e) {
|
|
@@ -2569,14 +2569,14 @@ class Cr extends h {
|
|
|
2569
2569
|
112:
|
|
2570
2570
|
r.request = {
|
|
2571
2571
|
oneofKind: "subscriptionAttachFilter",
|
|
2572
|
-
subscriptionAttachFilter:
|
|
2572
|
+
subscriptionAttachFilter: re.internalBinaryRead(e, e.uint32(), i, r.request.subscriptionAttachFilter)
|
|
2573
2573
|
};
|
|
2574
2574
|
break;
|
|
2575
2575
|
case /* MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Request subscription_detach_filter */
|
|
2576
2576
|
113:
|
|
2577
2577
|
r.request = {
|
|
2578
2578
|
oneofKind: "subscriptionDetachFilter",
|
|
2579
|
-
subscriptionDetachFilter:
|
|
2579
|
+
subscriptionDetachFilter: oe.internalBinaryRead(e, e.uint32(), i, r.request.subscriptionDetachFilter)
|
|
2580
2580
|
};
|
|
2581
2581
|
break;
|
|
2582
2582
|
case /* MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Request subscription_create_filter */
|
|
@@ -2590,7 +2590,7 @@ class Cr extends h {
|
|
|
2590
2590
|
154:
|
|
2591
2591
|
r.request = {
|
|
2592
2592
|
oneofKind: "notificationGet",
|
|
2593
|
-
notificationGet:
|
|
2593
|
+
notificationGet: ne.internalBinaryRead(e, e.uint32(), i, r.request.notificationGet)
|
|
2594
2594
|
};
|
|
2595
2595
|
break;
|
|
2596
2596
|
case /* MiLaboratories.PL.API.NotificationAPI.Ack.Request notification_ack */
|
|
@@ -2702,14 +2702,14 @@ class Cr extends h {
|
|
|
2702
2702
|
350:
|
|
2703
2703
|
r.request = {
|
|
2704
2704
|
oneofKind: "controllerFeaturesSet",
|
|
2705
|
-
controllerFeaturesSet:
|
|
2705
|
+
controllerFeaturesSet: le.internalBinaryRead(e, e.uint32(), i, r.request.controllerFeaturesSet)
|
|
2706
2706
|
};
|
|
2707
2707
|
break;
|
|
2708
2708
|
case /* MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Request controller_features_clear */
|
|
2709
2709
|
351:
|
|
2710
2710
|
r.request = {
|
|
2711
2711
|
oneofKind: "controllerFeaturesClear",
|
|
2712
|
-
controllerFeaturesClear:
|
|
2712
|
+
controllerFeaturesClear: ue.internalBinaryRead(e, e.uint32(), i, r.request.controllerFeaturesClear)
|
|
2713
2713
|
};
|
|
2714
2714
|
break;
|
|
2715
2715
|
default:
|
|
@@ -2723,13 +2723,13 @@ class Cr extends h {
|
|
|
2723
2723
|
return r;
|
|
2724
2724
|
}
|
|
2725
2725
|
internalBinaryWrite(e, t, i) {
|
|
2726
|
-
e.requestId !== 0 && t.tag(1, d.Varint).uint32(e.requestId), e.request.oneofKind === "txOpen" && $e.internalBinaryWrite(e.request.txOpen, t.tag(11, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "txCommit" && Fe.internalBinaryWrite(e.request.txCommit, t.tag(12, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "txDiscard" && xe.internalBinaryWrite(e.request.txDiscard, t.tag(13, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateRoot" && lt.internalBinaryWrite(e.request.resourceCreateRoot, t.tag(58, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceRemove" && ut.internalBinaryWrite(e.request.resourceRemove, t.tag(57, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateStruct" && Se.internalBinaryWrite(e.request.resourceCreateStruct, t.tag(51, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateEphemeral" && De.internalBinaryWrite(e.request.resourceCreateEphemeral, t.tag(62, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateValue" && Ke.internalBinaryWrite(e.request.resourceCreateValue, t.tag(52, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceGetValueId" && Ve.internalBinaryWrite(e.request.resourceGetValueId, t.tag(63, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateSingleton" && Ge.internalBinaryWrite(e.request.resourceCreateSingleton, t.tag(64, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceGetSingleton" && ze.internalBinaryWrite(e.request.resourceGetSingleton, t.tag(65, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateChild" && Oe.internalBinaryWrite(e.request.resourceCreateChild, t.tag(59, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceLockInputs" && Ye.internalBinaryWrite(e.request.resourceLockInputs, t.tag(53, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceLockOutputs" && Xe.internalBinaryWrite(e.request.resourceLockOutputs, t.tag(56, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceExists" && et.internalBinaryWrite(e.request.resourceExists, t.tag(54, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceGet" && rt.internalBinaryWrite(e.request.resourceGet, t.tag(55, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceSetError" && nt.internalBinaryWrite(e.request.resourceSetError, t.tag(61, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceListByType" && ot.internalBinaryWrite(e.request.resourceListByType, t.tag(60, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceNameSet" && dt.internalBinaryWrite(e.request.resourceNameSet, t.tag(66, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceNameGet" && pt.internalBinaryWrite(e.request.resourceNameGet, t.tag(67, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceNameExists" && wt.internalBinaryWrite(e.request.resourceNameExists, t.tag(68, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceNameDelete" && gt.internalBinaryWrite(e.request.resourceNameDelete, t.tag(69, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceTree" && bt.internalBinaryWrite(e.request.resourceTree, t.tag(70, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldCreate" && Rt.internalBinaryWrite(e.request.fieldCreate, t.tag(101, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldExists" && Pt.internalBinaryWrite(e.request.fieldExists, t.tag(107, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldSet" && _t.internalBinaryWrite(e.request.fieldSet, t.tag(102, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldSetError" && At.internalBinaryWrite(e.request.fieldSetError, t.tag(105, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldGet" && $t.internalBinaryWrite(e.request.fieldGet, t.tag(103, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldReset" && Ft.internalBinaryWrite(e.request.fieldReset, t.tag(104, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldRemove" && xt.internalBinaryWrite(e.request.fieldRemove, t.tag(106, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldList" && St.internalBinaryWrite(e.request.fieldList, t.tag(108, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "subscriptionCreate" && Kt.internalBinaryWrite(e.request.subscriptionCreate, t.tag(111, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "subscriptionAttachFilter" &&
|
|
2726
|
+
e.requestId !== 0 && t.tag(1, d.Varint).uint32(e.requestId), e.request.oneofKind === "txOpen" && $e.internalBinaryWrite(e.request.txOpen, t.tag(11, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "txCommit" && Fe.internalBinaryWrite(e.request.txCommit, t.tag(12, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "txDiscard" && xe.internalBinaryWrite(e.request.txDiscard, t.tag(13, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateRoot" && lt.internalBinaryWrite(e.request.resourceCreateRoot, t.tag(58, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceRemove" && ut.internalBinaryWrite(e.request.resourceRemove, t.tag(57, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateStruct" && Se.internalBinaryWrite(e.request.resourceCreateStruct, t.tag(51, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateEphemeral" && De.internalBinaryWrite(e.request.resourceCreateEphemeral, t.tag(62, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateValue" && Ke.internalBinaryWrite(e.request.resourceCreateValue, t.tag(52, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceGetValueId" && Ve.internalBinaryWrite(e.request.resourceGetValueId, t.tag(63, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateSingleton" && Ge.internalBinaryWrite(e.request.resourceCreateSingleton, t.tag(64, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceGetSingleton" && ze.internalBinaryWrite(e.request.resourceGetSingleton, t.tag(65, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceCreateChild" && Oe.internalBinaryWrite(e.request.resourceCreateChild, t.tag(59, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceLockInputs" && Ye.internalBinaryWrite(e.request.resourceLockInputs, t.tag(53, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceLockOutputs" && Xe.internalBinaryWrite(e.request.resourceLockOutputs, t.tag(56, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceExists" && et.internalBinaryWrite(e.request.resourceExists, t.tag(54, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceGet" && rt.internalBinaryWrite(e.request.resourceGet, t.tag(55, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceSetError" && nt.internalBinaryWrite(e.request.resourceSetError, t.tag(61, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceListByType" && ot.internalBinaryWrite(e.request.resourceListByType, t.tag(60, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceNameSet" && dt.internalBinaryWrite(e.request.resourceNameSet, t.tag(66, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceNameGet" && pt.internalBinaryWrite(e.request.resourceNameGet, t.tag(67, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceNameExists" && wt.internalBinaryWrite(e.request.resourceNameExists, t.tag(68, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceNameDelete" && gt.internalBinaryWrite(e.request.resourceNameDelete, t.tag(69, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceTree" && bt.internalBinaryWrite(e.request.resourceTree, t.tag(70, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldCreate" && Rt.internalBinaryWrite(e.request.fieldCreate, t.tag(101, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldExists" && Pt.internalBinaryWrite(e.request.fieldExists, t.tag(107, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldSet" && _t.internalBinaryWrite(e.request.fieldSet, t.tag(102, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldSetError" && At.internalBinaryWrite(e.request.fieldSetError, t.tag(105, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldGet" && $t.internalBinaryWrite(e.request.fieldGet, t.tag(103, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldReset" && Ft.internalBinaryWrite(e.request.fieldReset, t.tag(104, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldRemove" && xt.internalBinaryWrite(e.request.fieldRemove, t.tag(106, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "fieldList" && St.internalBinaryWrite(e.request.fieldList, t.tag(108, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "subscriptionCreate" && Kt.internalBinaryWrite(e.request.subscriptionCreate, t.tag(111, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "subscriptionAttachFilter" && re.internalBinaryWrite(e.request.subscriptionAttachFilter, t.tag(112, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "subscriptionDetachFilter" && oe.internalBinaryWrite(e.request.subscriptionDetachFilter, t.tag(113, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "subscriptionCreateFilter" && Vt.internalBinaryWrite(e.request.subscriptionCreateFilter, t.tag(115, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "notificationGet" && ne.internalBinaryWrite(e.request.notificationGet, t.tag(154, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "notificationAck" && Dt.internalBinaryWrite(e.request.notificationAck, t.tag(155, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "notificationDiscard" && Ot.internalBinaryWrite(e.request.notificationDiscard, t.tag(156, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceKeyValueSet" && Yt.internalBinaryWrite(e.request.resourceKeyValueSet, t.tag(200, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceKeyValueGet" && Xt.internalBinaryWrite(e.request.resourceKeyValueGet, t.tag(201, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceKeyValueGetIfExists" && en.internalBinaryWrite(e.request.resourceKeyValueGetIfExists, t.tag(202, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceKeyValueSetFlag" && sn.internalBinaryWrite(e.request.resourceKeyValueSetFlag, t.tag(203, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceKeyValueGetFlag" && v.internalBinaryWrite(e.request.resourceKeyValueGetFlag, t.tag(204, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceKeyValueGetFlagIfExists" && v.internalBinaryWrite(e.request.resourceKeyValueGetFlagIfExists, t.tag(205, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceKeyValueDelete" && nn.internalBinaryWrite(e.request.resourceKeyValueDelete, t.tag(206, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "resourceKeyValueList" && Jt.internalBinaryWrite(e.request.resourceKeyValueList, t.tag(207, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "controllerKeyValueSet" && an.internalBinaryWrite(e.request.controllerKeyValueSet, t.tag(250, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "controllerKeyValueGet" && cn.internalBinaryWrite(e.request.controllerKeyValueGet, t.tag(251, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "controllerKeyValueGetIfExists" && fn.internalBinaryWrite(e.request.controllerKeyValueGetIfExists, t.tag(252, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "cacheSetToField" && hn.internalBinaryWrite(e.request.cacheSetToField, t.tag(300, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "cacheDeleteExpiredRecords" && yn.internalBinaryWrite(e.request.cacheDeleteExpiredRecords, t.tag(301, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "controllerFeaturesSet" && le.internalBinaryWrite(e.request.controllerFeaturesSet, t.tag(350, d.LengthDelimited).fork(), i).join(), e.request.oneofKind === "controllerFeaturesClear" && ue.internalBinaryWrite(e.request.controllerFeaturesClear, t.tag(351, d.LengthDelimited).fork(), i).join();
|
|
2727
2727
|
let n = i.writeUnknownFields;
|
|
2728
2728
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
2729
2729
|
}
|
|
2730
2730
|
}
|
|
2731
|
-
const
|
|
2732
|
-
class
|
|
2731
|
+
const Kr = new qr();
|
|
2732
|
+
class jr extends h {
|
|
2733
2733
|
constructor() {
|
|
2734
2734
|
super("MiLaboratories.PL.API.TxAPI.ServerMessage", [
|
|
2735
2735
|
{
|
|
@@ -2773,9 +2773,9 @@ class vr extends h {
|
|
|
2773
2773
|
{ no: 108, name: "field_list", kind: "message", oneof: "response", T: () => Ct },
|
|
2774
2774
|
{ no: 111, name: "subscription_create", kind: "message", oneof: "response", T: () => jt },
|
|
2775
2775
|
{ no: 115, name: "subscription_create_filter", kind: "message", oneof: "response", T: () => Mt },
|
|
2776
|
-
{ no: 112, name: "subscription_attach_filter", kind: "message", oneof: "response", T: () =>
|
|
2777
|
-
{ no: 113, name: "subscription_detach_filter", kind: "message", oneof: "response", T: () =>
|
|
2778
|
-
{ no: 154, name: "notification_get", kind: "message", oneof: "response", T: () =>
|
|
2776
|
+
{ no: 112, name: "subscription_attach_filter", kind: "message", oneof: "response", T: () => se },
|
|
2777
|
+
{ no: 113, name: "subscription_detach_filter", kind: "message", oneof: "response", T: () => ae },
|
|
2778
|
+
{ no: 154, name: "notification_get", kind: "message", oneof: "response", T: () => ie },
|
|
2779
2779
|
{ no: 155, name: "notification_ack", kind: "message", oneof: "response", T: () => vt },
|
|
2780
2780
|
{ no: 156, name: "notification_discard", kind: "message", oneof: "response", T: () => qt },
|
|
2781
2781
|
{ no: 200, name: "resource_key_value_set", kind: "message", oneof: "response", T: () => Zt },
|
|
@@ -2791,8 +2791,8 @@ class vr extends h {
|
|
|
2791
2791
|
{ no: 252, name: "controller_key_value_get_if_exists", kind: "message", oneof: "response", T: () => dn },
|
|
2792
2792
|
{ no: 300, name: "cache_set_to_field", kind: "message", oneof: "response", T: () => pn },
|
|
2793
2793
|
{ no: 301, name: "cache_delete_expired_records", kind: "message", oneof: "response", T: () => wn },
|
|
2794
|
-
{ no: 350, name: "controller_features_set", kind: "message", oneof: "response", T: () =>
|
|
2795
|
-
{ no: 351, name: "controller_features_clear", kind: "message", oneof: "response", T: () =>
|
|
2794
|
+
{ no: 350, name: "controller_features_set", kind: "message", oneof: "response", T: () => ce },
|
|
2795
|
+
{ no: 351, name: "controller_features_clear", kind: "message", oneof: "response", T: () => fe },
|
|
2796
2796
|
{ no: 3, name: "error", kind: "message", T: () => Ae }
|
|
2797
2797
|
]);
|
|
2798
2798
|
}
|
|
@@ -3048,21 +3048,21 @@ class vr extends h {
|
|
|
3048
3048
|
112:
|
|
3049
3049
|
r.response = {
|
|
3050
3050
|
oneofKind: "subscriptionAttachFilter",
|
|
3051
|
-
subscriptionAttachFilter:
|
|
3051
|
+
subscriptionAttachFilter: se.internalBinaryRead(e, e.uint32(), i, r.response.subscriptionAttachFilter)
|
|
3052
3052
|
};
|
|
3053
3053
|
break;
|
|
3054
3054
|
case /* MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Response subscription_detach_filter */
|
|
3055
3055
|
113:
|
|
3056
3056
|
r.response = {
|
|
3057
3057
|
oneofKind: "subscriptionDetachFilter",
|
|
3058
|
-
subscriptionDetachFilter:
|
|
3058
|
+
subscriptionDetachFilter: ae.internalBinaryRead(e, e.uint32(), i, r.response.subscriptionDetachFilter)
|
|
3059
3059
|
};
|
|
3060
3060
|
break;
|
|
3061
3061
|
case /* MiLaboratories.PL.API.NotificationAPI.Get.Response notification_get */
|
|
3062
3062
|
154:
|
|
3063
3063
|
r.response = {
|
|
3064
3064
|
oneofKind: "notificationGet",
|
|
3065
|
-
notificationGet:
|
|
3065
|
+
notificationGet: ie.internalBinaryRead(e, e.uint32(), i, r.response.notificationGet)
|
|
3066
3066
|
};
|
|
3067
3067
|
break;
|
|
3068
3068
|
case /* MiLaboratories.PL.API.NotificationAPI.Ack.Response notification_ack */
|
|
@@ -3174,14 +3174,14 @@ class vr extends h {
|
|
|
3174
3174
|
350:
|
|
3175
3175
|
r.response = {
|
|
3176
3176
|
oneofKind: "controllerFeaturesSet",
|
|
3177
|
-
controllerFeaturesSet:
|
|
3177
|
+
controllerFeaturesSet: ce.internalBinaryRead(e, e.uint32(), i, r.response.controllerFeaturesSet)
|
|
3178
3178
|
};
|
|
3179
3179
|
break;
|
|
3180
3180
|
case /* MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Response controller_features_clear */
|
|
3181
3181
|
351:
|
|
3182
3182
|
r.response = {
|
|
3183
3183
|
oneofKind: "controllerFeaturesClear",
|
|
3184
|
-
controllerFeaturesClear:
|
|
3184
|
+
controllerFeaturesClear: fe.internalBinaryRead(e, e.uint32(), i, r.response.controllerFeaturesClear)
|
|
3185
3185
|
};
|
|
3186
3186
|
break;
|
|
3187
3187
|
case /* google.rpc.Status error */
|
|
@@ -3199,13 +3199,13 @@ class vr extends h {
|
|
|
3199
3199
|
return r;
|
|
3200
3200
|
}
|
|
3201
3201
|
internalBinaryWrite(e, t, i) {
|
|
3202
|
-
e.requestId !== 0 && t.tag(1, d.Varint).uint32(e.requestId), e.multiMessage && Be.internalBinaryWrite(e.multiMessage, t.tag(2, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "txOpen" && Ue.internalBinaryWrite(e.response.txOpen, t.tag(11, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "txCommit" && Ee.internalBinaryWrite(e.response.txCommit, t.tag(12, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "txDiscard" && We.internalBinaryWrite(e.response.txDiscard, t.tag(13, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateRoot" && ct.internalBinaryWrite(e.response.resourceCreateRoot, t.tag(58, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceRemove" && ft.internalBinaryWrite(e.response.resourceRemove, t.tag(57, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateStruct" && Ce.internalBinaryWrite(e.response.resourceCreateStruct, t.tag(51, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateEphemeral" && ve.internalBinaryWrite(e.response.resourceCreateEphemeral, t.tag(62, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateValue" && je.internalBinaryWrite(e.response.resourceCreateValue, t.tag(52, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceGetValueId" && Me.internalBinaryWrite(e.response.resourceGetValueId, t.tag(63, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateSingleton" && Je.internalBinaryWrite(e.response.resourceCreateSingleton, t.tag(64, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceGetSingleton" && He.internalBinaryWrite(e.response.resourceGetSingleton, t.tag(65, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateChild" && qe.internalBinaryWrite(e.response.resourceCreateChild, t.tag(59, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceLockInputs" && Ze.internalBinaryWrite(e.response.resourceLockInputs, t.tag(53, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceLockOutputs" && Qe.internalBinaryWrite(e.response.resourceLockOutputs, t.tag(56, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceExists" && tt.internalBinaryWrite(e.response.resourceExists, t.tag(54, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceGet" && st.internalBinaryWrite(e.response.resourceGet, t.tag(55, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceSetError" && it.internalBinaryWrite(e.response.resourceSetError, t.tag(61, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceListByType" && at.internalBinaryWrite(e.response.resourceListByType, t.tag(60, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceNameSet" && ht.internalBinaryWrite(e.response.resourceNameSet, t.tag(66, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceNameGet" && yt.internalBinaryWrite(e.response.resourceNameGet, t.tag(67, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceNameExists" && mt.internalBinaryWrite(e.response.resourceNameExists, t.tag(68, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceNameDelete" && kt.internalBinaryWrite(e.response.resourceNameDelete, t.tag(69, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceTree" && Tt.internalBinaryWrite(e.response.resourceTree, t.tag(70, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldCreate" && It.internalBinaryWrite(e.response.fieldCreate, t.tag(101, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldExists" && Nt.internalBinaryWrite(e.response.fieldExists, t.tag(107, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldSet" && Lt.internalBinaryWrite(e.response.fieldSet, t.tag(102, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldSetError" && Bt.internalBinaryWrite(e.response.fieldSetError, t.tag(105, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldGet" && Ut.internalBinaryWrite(e.response.fieldGet, t.tag(103, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldReset" && Et.internalBinaryWrite(e.response.fieldReset, t.tag(104, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldRemove" && Wt.internalBinaryWrite(e.response.fieldRemove, t.tag(106, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldList" && Ct.internalBinaryWrite(e.response.fieldList, t.tag(108, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "subscriptionCreate" && jt.internalBinaryWrite(e.response.subscriptionCreate, t.tag(111, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "subscriptionCreateFilter" && Mt.internalBinaryWrite(e.response.subscriptionCreateFilter, t.tag(115, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "subscriptionAttachFilter" &&
|
|
3202
|
+
e.requestId !== 0 && t.tag(1, d.Varint).uint32(e.requestId), e.multiMessage && Be.internalBinaryWrite(e.multiMessage, t.tag(2, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "txOpen" && Ue.internalBinaryWrite(e.response.txOpen, t.tag(11, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "txCommit" && Ee.internalBinaryWrite(e.response.txCommit, t.tag(12, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "txDiscard" && We.internalBinaryWrite(e.response.txDiscard, t.tag(13, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateRoot" && ct.internalBinaryWrite(e.response.resourceCreateRoot, t.tag(58, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceRemove" && ft.internalBinaryWrite(e.response.resourceRemove, t.tag(57, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateStruct" && Ce.internalBinaryWrite(e.response.resourceCreateStruct, t.tag(51, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateEphemeral" && ve.internalBinaryWrite(e.response.resourceCreateEphemeral, t.tag(62, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateValue" && je.internalBinaryWrite(e.response.resourceCreateValue, t.tag(52, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceGetValueId" && Me.internalBinaryWrite(e.response.resourceGetValueId, t.tag(63, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateSingleton" && Je.internalBinaryWrite(e.response.resourceCreateSingleton, t.tag(64, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceGetSingleton" && He.internalBinaryWrite(e.response.resourceGetSingleton, t.tag(65, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceCreateChild" && qe.internalBinaryWrite(e.response.resourceCreateChild, t.tag(59, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceLockInputs" && Ze.internalBinaryWrite(e.response.resourceLockInputs, t.tag(53, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceLockOutputs" && Qe.internalBinaryWrite(e.response.resourceLockOutputs, t.tag(56, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceExists" && tt.internalBinaryWrite(e.response.resourceExists, t.tag(54, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceGet" && st.internalBinaryWrite(e.response.resourceGet, t.tag(55, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceSetError" && it.internalBinaryWrite(e.response.resourceSetError, t.tag(61, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceListByType" && at.internalBinaryWrite(e.response.resourceListByType, t.tag(60, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceNameSet" && ht.internalBinaryWrite(e.response.resourceNameSet, t.tag(66, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceNameGet" && yt.internalBinaryWrite(e.response.resourceNameGet, t.tag(67, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceNameExists" && mt.internalBinaryWrite(e.response.resourceNameExists, t.tag(68, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceNameDelete" && kt.internalBinaryWrite(e.response.resourceNameDelete, t.tag(69, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceTree" && Tt.internalBinaryWrite(e.response.resourceTree, t.tag(70, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldCreate" && It.internalBinaryWrite(e.response.fieldCreate, t.tag(101, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldExists" && Nt.internalBinaryWrite(e.response.fieldExists, t.tag(107, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldSet" && Lt.internalBinaryWrite(e.response.fieldSet, t.tag(102, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldSetError" && Bt.internalBinaryWrite(e.response.fieldSetError, t.tag(105, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldGet" && Ut.internalBinaryWrite(e.response.fieldGet, t.tag(103, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldReset" && Et.internalBinaryWrite(e.response.fieldReset, t.tag(104, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldRemove" && Wt.internalBinaryWrite(e.response.fieldRemove, t.tag(106, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "fieldList" && Ct.internalBinaryWrite(e.response.fieldList, t.tag(108, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "subscriptionCreate" && jt.internalBinaryWrite(e.response.subscriptionCreate, t.tag(111, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "subscriptionCreateFilter" && Mt.internalBinaryWrite(e.response.subscriptionCreateFilter, t.tag(115, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "subscriptionAttachFilter" && se.internalBinaryWrite(e.response.subscriptionAttachFilter, t.tag(112, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "subscriptionDetachFilter" && ae.internalBinaryWrite(e.response.subscriptionDetachFilter, t.tag(113, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "notificationGet" && ie.internalBinaryWrite(e.response.notificationGet, t.tag(154, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "notificationAck" && vt.internalBinaryWrite(e.response.notificationAck, t.tag(155, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "notificationDiscard" && qt.internalBinaryWrite(e.response.notificationDiscard, t.tag(156, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceKeyValueSet" && Zt.internalBinaryWrite(e.response.resourceKeyValueSet, t.tag(200, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceKeyValueGet" && Qt.internalBinaryWrite(e.response.resourceKeyValueGet, t.tag(201, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceKeyValueGetIfExists" && tn.internalBinaryWrite(e.response.resourceKeyValueGetIfExists, t.tag(202, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceKeyValueSetFlag" && on.internalBinaryWrite(e.response.resourceKeyValueSetFlag, t.tag(203, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceKeyValueGetFlag" && O.internalBinaryWrite(e.response.resourceKeyValueGetFlag, t.tag(204, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceKeyValueGetFlagIfExists" && O.internalBinaryWrite(e.response.resourceKeyValueGetFlagIfExists, t.tag(205, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceKeyValueDelete" && rn.internalBinaryWrite(e.response.resourceKeyValueDelete, t.tag(206, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "resourceKeyValueList" && zt.internalBinaryWrite(e.response.resourceKeyValueList, t.tag(207, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "controllerKeyValueSet" && ln.internalBinaryWrite(e.response.controllerKeyValueSet, t.tag(250, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "controllerKeyValueGet" && un.internalBinaryWrite(e.response.controllerKeyValueGet, t.tag(251, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "controllerKeyValueGetIfExists" && dn.internalBinaryWrite(e.response.controllerKeyValueGetIfExists, t.tag(252, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "cacheSetToField" && pn.internalBinaryWrite(e.response.cacheSetToField, t.tag(300, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "cacheDeleteExpiredRecords" && wn.internalBinaryWrite(e.response.cacheDeleteExpiredRecords, t.tag(301, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "controllerFeaturesSet" && ce.internalBinaryWrite(e.response.controllerFeaturesSet, t.tag(350, d.LengthDelimited).fork(), i).join(), e.response.oneofKind === "controllerFeaturesClear" && fe.internalBinaryWrite(e.response.controllerFeaturesClear, t.tag(351, d.LengthDelimited).fork(), i).join(), e.error && Ae.internalBinaryWrite(e.error, t.tag(3, d.LengthDelimited).fork(), i).join();
|
|
3203
3203
|
let n = i.writeUnknownFields;
|
|
3204
3204
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3205
3205
|
}
|
|
3206
3206
|
}
|
|
3207
|
-
const
|
|
3208
|
-
class
|
|
3207
|
+
const Vr = new jr();
|
|
3208
|
+
class Mr extends h {
|
|
3209
3209
|
constructor() {
|
|
3210
3210
|
super("MiLaboratories.PL.API.TxAPI.ServerMessage.Multi", [
|
|
3211
3211
|
{
|
|
@@ -3268,8 +3268,8 @@ class qr extends h {
|
|
|
3268
3268
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3269
3269
|
}
|
|
3270
3270
|
}
|
|
3271
|
-
const Be = new
|
|
3272
|
-
class
|
|
3271
|
+
const Be = new Mr();
|
|
3272
|
+
class Gr extends h {
|
|
3273
3273
|
constructor() {
|
|
3274
3274
|
super("MiLaboratories.PL.API.TxAPI.Open", []);
|
|
3275
3275
|
}
|
|
@@ -3297,8 +3297,8 @@ class Kr extends h {
|
|
|
3297
3297
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3298
3298
|
}
|
|
3299
3299
|
}
|
|
3300
|
-
new
|
|
3301
|
-
class
|
|
3300
|
+
new Gr();
|
|
3301
|
+
class Jr extends h {
|
|
3302
3302
|
constructor() {
|
|
3303
3303
|
super("MiLaboratories.PL.API.TxAPI.Open.Request", [
|
|
3304
3304
|
{
|
|
@@ -3308,7 +3308,7 @@ class jr extends h {
|
|
|
3308
3308
|
T: 9
|
|
3309
3309
|
/*ScalarType.STRING*/
|
|
3310
3310
|
},
|
|
3311
|
-
{ no: 2, name: "writable", kind: "enum", T: () => ["MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx",
|
|
3311
|
+
{ no: 2, name: "writable", kind: "enum", T: () => ["MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx", he] }
|
|
3312
3312
|
]);
|
|
3313
3313
|
}
|
|
3314
3314
|
create(e) {
|
|
@@ -3344,8 +3344,8 @@ class jr extends h {
|
|
|
3344
3344
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3345
3345
|
}
|
|
3346
3346
|
}
|
|
3347
|
-
const $e = new
|
|
3348
|
-
class
|
|
3347
|
+
const $e = new Jr();
|
|
3348
|
+
class zr extends h {
|
|
3349
3349
|
constructor() {
|
|
3350
3350
|
super("MiLaboratories.PL.API.TxAPI.Open.Response", [
|
|
3351
3351
|
{ no: 1, name: "tx", kind: "message", T: () => be }
|
|
@@ -3380,8 +3380,8 @@ class Vr extends h {
|
|
|
3380
3380
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3381
3381
|
}
|
|
3382
3382
|
}
|
|
3383
|
-
const Ue = new
|
|
3384
|
-
class
|
|
3383
|
+
const Ue = new zr();
|
|
3384
|
+
class Hr extends h {
|
|
3385
3385
|
constructor() {
|
|
3386
3386
|
super("MiLaboratories.PL.API.TxAPI.Commit", []);
|
|
3387
3387
|
}
|
|
@@ -3409,8 +3409,8 @@ class Mr extends h {
|
|
|
3409
3409
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3410
3410
|
}
|
|
3411
3411
|
}
|
|
3412
|
-
new
|
|
3413
|
-
class
|
|
3412
|
+
new Hr();
|
|
3413
|
+
class Yr extends h {
|
|
3414
3414
|
constructor() {
|
|
3415
3415
|
super("MiLaboratories.PL.API.TxAPI.Commit.Request", []);
|
|
3416
3416
|
}
|
|
@@ -3438,8 +3438,8 @@ class Gr extends h {
|
|
|
3438
3438
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3439
3439
|
}
|
|
3440
3440
|
}
|
|
3441
|
-
const Fe = new
|
|
3442
|
-
class
|
|
3441
|
+
const Fe = new Yr();
|
|
3442
|
+
class Zr extends h {
|
|
3443
3443
|
constructor() {
|
|
3444
3444
|
super("MiLaboratories.PL.API.TxAPI.Commit.Response", [
|
|
3445
3445
|
{
|
|
@@ -3480,8 +3480,8 @@ class Jr extends h {
|
|
|
3480
3480
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3481
3481
|
}
|
|
3482
3482
|
}
|
|
3483
|
-
const Ee = new
|
|
3484
|
-
class
|
|
3483
|
+
const Ee = new Zr();
|
|
3484
|
+
class Xr extends h {
|
|
3485
3485
|
constructor() {
|
|
3486
3486
|
super("MiLaboratories.PL.API.TxAPI.Discard", []);
|
|
3487
3487
|
}
|
|
@@ -3509,8 +3509,8 @@ class zr extends h {
|
|
|
3509
3509
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3510
3510
|
}
|
|
3511
3511
|
}
|
|
3512
|
-
new
|
|
3513
|
-
class
|
|
3512
|
+
new Xr();
|
|
3513
|
+
class Qr extends h {
|
|
3514
3514
|
constructor() {
|
|
3515
3515
|
super("MiLaboratories.PL.API.TxAPI.Discard.Request", []);
|
|
3516
3516
|
}
|
|
@@ -3538,8 +3538,8 @@ class Hr extends h {
|
|
|
3538
3538
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3539
3539
|
}
|
|
3540
3540
|
}
|
|
3541
|
-
const xe = new
|
|
3542
|
-
class
|
|
3541
|
+
const xe = new Qr();
|
|
3542
|
+
class es extends h {
|
|
3543
3543
|
constructor() {
|
|
3544
3544
|
super("MiLaboratories.PL.API.TxAPI.Discard.Response", []);
|
|
3545
3545
|
}
|
|
@@ -3567,8 +3567,8 @@ class Yr extends h {
|
|
|
3567
3567
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3568
3568
|
}
|
|
3569
3569
|
}
|
|
3570
|
-
const We = new
|
|
3571
|
-
class
|
|
3570
|
+
const We = new es();
|
|
3571
|
+
class ts extends h {
|
|
3572
3572
|
constructor() {
|
|
3573
3573
|
super("MiLaboratories.PL.API.TxAPI.Sync", []);
|
|
3574
3574
|
}
|
|
@@ -3596,8 +3596,8 @@ class Zr extends h {
|
|
|
3596
3596
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3597
3597
|
}
|
|
3598
3598
|
}
|
|
3599
|
-
new
|
|
3600
|
-
class
|
|
3599
|
+
new ts();
|
|
3600
|
+
class ns extends h {
|
|
3601
3601
|
constructor() {
|
|
3602
3602
|
super("MiLaboratories.PL.API.TxAPI.Sync.Request", [
|
|
3603
3603
|
{
|
|
@@ -3639,8 +3639,8 @@ class Xr extends h {
|
|
|
3639
3639
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3640
3640
|
}
|
|
3641
3641
|
}
|
|
3642
|
-
const
|
|
3643
|
-
class
|
|
3642
|
+
const is = new ns();
|
|
3643
|
+
class rs extends h {
|
|
3644
3644
|
constructor() {
|
|
3645
3645
|
super("MiLaboratories.PL.API.TxAPI.Sync.Response", []);
|
|
3646
3646
|
}
|
|
@@ -3668,8 +3668,8 @@ class es extends h {
|
|
|
3668
3668
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3669
3669
|
}
|
|
3670
3670
|
}
|
|
3671
|
-
const
|
|
3672
|
-
class
|
|
3671
|
+
const ss = new rs();
|
|
3672
|
+
class os extends h {
|
|
3673
3673
|
constructor() {
|
|
3674
3674
|
super("MiLaboratories.PL.API.ResourceAPI", []);
|
|
3675
3675
|
}
|
|
@@ -3697,8 +3697,8 @@ class ns extends h {
|
|
|
3697
3697
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3698
3698
|
}
|
|
3699
3699
|
}
|
|
3700
|
-
new
|
|
3701
|
-
class
|
|
3700
|
+
new os();
|
|
3701
|
+
class as extends h {
|
|
3702
3702
|
constructor() {
|
|
3703
3703
|
super("MiLaboratories.PL.API.ResourceAPI.CreateStruct", []);
|
|
3704
3704
|
}
|
|
@@ -3726,8 +3726,8 @@ class is extends h {
|
|
|
3726
3726
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3727
3727
|
}
|
|
3728
3728
|
}
|
|
3729
|
-
new
|
|
3730
|
-
class
|
|
3729
|
+
new as();
|
|
3730
|
+
class ls extends h {
|
|
3731
3731
|
constructor() {
|
|
3732
3732
|
super("MiLaboratories.PL.API.ResourceAPI.CreateStruct.Request", [
|
|
3733
3733
|
{
|
|
@@ -3786,8 +3786,8 @@ class rs extends h {
|
|
|
3786
3786
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3787
3787
|
}
|
|
3788
3788
|
}
|
|
3789
|
-
const Se = new
|
|
3790
|
-
class
|
|
3789
|
+
const Se = new ls();
|
|
3790
|
+
class cs extends h {
|
|
3791
3791
|
constructor() {
|
|
3792
3792
|
super("MiLaboratories.PL.API.ResourceAPI.CreateStruct.Response", [
|
|
3793
3793
|
{
|
|
@@ -3829,8 +3829,8 @@ class ss extends h {
|
|
|
3829
3829
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3830
3830
|
}
|
|
3831
3831
|
}
|
|
3832
|
-
const Ce = new
|
|
3833
|
-
class
|
|
3832
|
+
const Ce = new cs();
|
|
3833
|
+
class us extends h {
|
|
3834
3834
|
constructor() {
|
|
3835
3835
|
super("MiLaboratories.PL.API.ResourceAPI.CreateEphemeral", []);
|
|
3836
3836
|
}
|
|
@@ -3858,8 +3858,8 @@ class os extends h {
|
|
|
3858
3858
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3859
3859
|
}
|
|
3860
3860
|
}
|
|
3861
|
-
new
|
|
3862
|
-
class
|
|
3861
|
+
new us();
|
|
3862
|
+
class fs extends h {
|
|
3863
3863
|
constructor() {
|
|
3864
3864
|
super("MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Request", [
|
|
3865
3865
|
{
|
|
@@ -3918,8 +3918,8 @@ class as extends h {
|
|
|
3918
3918
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3919
3919
|
}
|
|
3920
3920
|
}
|
|
3921
|
-
const De = new
|
|
3922
|
-
class
|
|
3921
|
+
const De = new fs();
|
|
3922
|
+
class ds extends h {
|
|
3923
3923
|
constructor() {
|
|
3924
3924
|
super("MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Response", [
|
|
3925
3925
|
{
|
|
@@ -3961,8 +3961,8 @@ class ls extends h {
|
|
|
3961
3961
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3962
3962
|
}
|
|
3963
3963
|
}
|
|
3964
|
-
const ve = new
|
|
3965
|
-
class
|
|
3964
|
+
const ve = new ds();
|
|
3965
|
+
class hs extends h {
|
|
3966
3966
|
constructor() {
|
|
3967
3967
|
super("MiLaboratories.PL.API.ResourceAPI.CreateChild", []);
|
|
3968
3968
|
}
|
|
@@ -3990,8 +3990,8 @@ class cs extends h {
|
|
|
3990
3990
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
3991
3991
|
}
|
|
3992
3992
|
}
|
|
3993
|
-
new
|
|
3994
|
-
class
|
|
3993
|
+
new hs();
|
|
3994
|
+
class ps extends h {
|
|
3995
3995
|
constructor() {
|
|
3996
3996
|
super("MiLaboratories.PL.API.ResourceAPI.CreateChild.Request", [
|
|
3997
3997
|
{
|
|
@@ -4043,8 +4043,8 @@ class us extends h {
|
|
|
4043
4043
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4044
4044
|
}
|
|
4045
4045
|
}
|
|
4046
|
-
const Oe = new
|
|
4047
|
-
class
|
|
4046
|
+
const Oe = new ps();
|
|
4047
|
+
class ys extends h {
|
|
4048
4048
|
constructor() {
|
|
4049
4049
|
super("MiLaboratories.PL.API.ResourceAPI.CreateChild.Response", [
|
|
4050
4050
|
{
|
|
@@ -4086,8 +4086,8 @@ class fs extends h {
|
|
|
4086
4086
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4087
4087
|
}
|
|
4088
4088
|
}
|
|
4089
|
-
const qe = new
|
|
4090
|
-
class
|
|
4089
|
+
const qe = new ys();
|
|
4090
|
+
class ws extends h {
|
|
4091
4091
|
constructor() {
|
|
4092
4092
|
super("MiLaboratories.PL.API.ResourceAPI.CreateValue", []);
|
|
4093
4093
|
}
|
|
@@ -4115,8 +4115,8 @@ class ds extends h {
|
|
|
4115
4115
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4116
4116
|
}
|
|
4117
4117
|
}
|
|
4118
|
-
new
|
|
4119
|
-
class
|
|
4118
|
+
new ws();
|
|
4119
|
+
class ms extends h {
|
|
4120
4120
|
constructor() {
|
|
4121
4121
|
super("MiLaboratories.PL.API.ResourceAPI.CreateValue.Request", [
|
|
4122
4122
|
{
|
|
@@ -4185,8 +4185,8 @@ class hs extends h {
|
|
|
4185
4185
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4186
4186
|
}
|
|
4187
4187
|
}
|
|
4188
|
-
const Ke = new
|
|
4189
|
-
class
|
|
4188
|
+
const Ke = new ms();
|
|
4189
|
+
class gs extends h {
|
|
4190
4190
|
constructor() {
|
|
4191
4191
|
super("MiLaboratories.PL.API.ResourceAPI.CreateValue.Response", [
|
|
4192
4192
|
{
|
|
@@ -4228,8 +4228,8 @@ class ps extends h {
|
|
|
4228
4228
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4229
4229
|
}
|
|
4230
4230
|
}
|
|
4231
|
-
const je = new
|
|
4232
|
-
class
|
|
4231
|
+
const je = new gs();
|
|
4232
|
+
class ks extends h {
|
|
4233
4233
|
constructor() {
|
|
4234
4234
|
super("MiLaboratories.PL.API.ResourceAPI.GetValueID", []);
|
|
4235
4235
|
}
|
|
@@ -4257,8 +4257,8 @@ class ys extends h {
|
|
|
4257
4257
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4258
4258
|
}
|
|
4259
4259
|
}
|
|
4260
|
-
new
|
|
4261
|
-
class
|
|
4260
|
+
new ks();
|
|
4261
|
+
class bs extends h {
|
|
4262
4262
|
constructor() {
|
|
4263
4263
|
super("MiLaboratories.PL.API.ResourceAPI.GetValueID.Request", [
|
|
4264
4264
|
{ no: 1, name: "type", kind: "message", T: () => w },
|
|
@@ -4304,8 +4304,8 @@ class ws extends h {
|
|
|
4304
4304
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4305
4305
|
}
|
|
4306
4306
|
}
|
|
4307
|
-
const Ve = new
|
|
4308
|
-
class
|
|
4307
|
+
const Ve = new bs();
|
|
4308
|
+
class Ts extends h {
|
|
4309
4309
|
constructor() {
|
|
4310
4310
|
super("MiLaboratories.PL.API.ResourceAPI.GetValueID.Response", [
|
|
4311
4311
|
{
|
|
@@ -4347,8 +4347,8 @@ class ms extends h {
|
|
|
4347
4347
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4348
4348
|
}
|
|
4349
4349
|
}
|
|
4350
|
-
const Me = new
|
|
4351
|
-
class
|
|
4350
|
+
const Me = new Ts();
|
|
4351
|
+
class Rs extends h {
|
|
4352
4352
|
constructor() {
|
|
4353
4353
|
super("MiLaboratories.PL.API.ResourceAPI.CreateSingleton", []);
|
|
4354
4354
|
}
|
|
@@ -4376,8 +4376,8 @@ class gs extends h {
|
|
|
4376
4376
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4377
4377
|
}
|
|
4378
4378
|
}
|
|
4379
|
-
new
|
|
4380
|
-
class
|
|
4379
|
+
new Rs();
|
|
4380
|
+
class Is extends h {
|
|
4381
4381
|
constructor() {
|
|
4382
4382
|
super("MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Request", [
|
|
4383
4383
|
{
|
|
@@ -4446,8 +4446,8 @@ class ks extends h {
|
|
|
4446
4446
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4447
4447
|
}
|
|
4448
4448
|
}
|
|
4449
|
-
const Ge = new
|
|
4450
|
-
class
|
|
4449
|
+
const Ge = new Is();
|
|
4450
|
+
class Ps extends h {
|
|
4451
4451
|
constructor() {
|
|
4452
4452
|
super("MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Response", [
|
|
4453
4453
|
{
|
|
@@ -4489,8 +4489,8 @@ class bs extends h {
|
|
|
4489
4489
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4490
4490
|
}
|
|
4491
4491
|
}
|
|
4492
|
-
const Je = new
|
|
4493
|
-
class
|
|
4492
|
+
const Je = new Ps();
|
|
4493
|
+
class Ns extends h {
|
|
4494
4494
|
constructor() {
|
|
4495
4495
|
super("MiLaboratories.PL.API.ResourceAPI.GetSingleton", []);
|
|
4496
4496
|
}
|
|
@@ -4518,8 +4518,8 @@ class Ts extends h {
|
|
|
4518
4518
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4519
4519
|
}
|
|
4520
4520
|
}
|
|
4521
|
-
new
|
|
4522
|
-
class
|
|
4521
|
+
new Ns();
|
|
4522
|
+
class _s extends h {
|
|
4523
4523
|
constructor() {
|
|
4524
4524
|
super("MiLaboratories.PL.API.ResourceAPI.GetSingleton.Request", [
|
|
4525
4525
|
{ no: 1, name: "type", kind: "message", T: () => w },
|
|
@@ -4576,8 +4576,8 @@ class Rs extends h {
|
|
|
4576
4576
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4577
4577
|
}
|
|
4578
4578
|
}
|
|
4579
|
-
const ze = new
|
|
4580
|
-
class
|
|
4579
|
+
const ze = new _s();
|
|
4580
|
+
class Ls extends h {
|
|
4581
4581
|
constructor() {
|
|
4582
4582
|
super("MiLaboratories.PL.API.ResourceAPI.GetSingleton.Response", [
|
|
4583
4583
|
{ no: 1, name: "resource", kind: "message", T: () => I }
|
|
@@ -4612,8 +4612,8 @@ class Is extends h {
|
|
|
4612
4612
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4613
4613
|
}
|
|
4614
4614
|
}
|
|
4615
|
-
const He = new
|
|
4616
|
-
class
|
|
4615
|
+
const He = new Ls();
|
|
4616
|
+
class As extends h {
|
|
4617
4617
|
constructor() {
|
|
4618
4618
|
super("MiLaboratories.PL.API.ResourceAPI.LockInputs", []);
|
|
4619
4619
|
}
|
|
@@ -4641,8 +4641,8 @@ class Ps extends h {
|
|
|
4641
4641
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4642
4642
|
}
|
|
4643
4643
|
}
|
|
4644
|
-
new
|
|
4645
|
-
class
|
|
4644
|
+
new As();
|
|
4645
|
+
class Bs extends h {
|
|
4646
4646
|
constructor() {
|
|
4647
4647
|
super("MiLaboratories.PL.API.ResourceAPI.LockInputs.Request", [
|
|
4648
4648
|
{
|
|
@@ -4684,8 +4684,8 @@ class Ns extends h {
|
|
|
4684
4684
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4685
4685
|
}
|
|
4686
4686
|
}
|
|
4687
|
-
const Ye = new
|
|
4688
|
-
class
|
|
4687
|
+
const Ye = new Bs();
|
|
4688
|
+
class $s extends h {
|
|
4689
4689
|
constructor() {
|
|
4690
4690
|
super("MiLaboratories.PL.API.ResourceAPI.LockInputs.Response", []);
|
|
4691
4691
|
}
|
|
@@ -4713,8 +4713,8 @@ class _s extends h {
|
|
|
4713
4713
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4714
4714
|
}
|
|
4715
4715
|
}
|
|
4716
|
-
const Ze = new
|
|
4717
|
-
class
|
|
4716
|
+
const Ze = new $s();
|
|
4717
|
+
class Us extends h {
|
|
4718
4718
|
constructor() {
|
|
4719
4719
|
super("MiLaboratories.PL.API.ResourceAPI.LockOutputs", []);
|
|
4720
4720
|
}
|
|
@@ -4742,8 +4742,8 @@ class Ls extends h {
|
|
|
4742
4742
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4743
4743
|
}
|
|
4744
4744
|
}
|
|
4745
|
-
new
|
|
4746
|
-
class
|
|
4745
|
+
new Us();
|
|
4746
|
+
class Fs extends h {
|
|
4747
4747
|
constructor() {
|
|
4748
4748
|
super("MiLaboratories.PL.API.ResourceAPI.LockOutputs.Request", [
|
|
4749
4749
|
{
|
|
@@ -4785,8 +4785,8 @@ class As extends h {
|
|
|
4785
4785
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4786
4786
|
}
|
|
4787
4787
|
}
|
|
4788
|
-
const Xe = new
|
|
4789
|
-
class
|
|
4788
|
+
const Xe = new Fs();
|
|
4789
|
+
class Es extends h {
|
|
4790
4790
|
constructor() {
|
|
4791
4791
|
super("MiLaboratories.PL.API.ResourceAPI.LockOutputs.Response", []);
|
|
4792
4792
|
}
|
|
@@ -4814,8 +4814,8 @@ class Bs extends h {
|
|
|
4814
4814
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4815
4815
|
}
|
|
4816
4816
|
}
|
|
4817
|
-
const Qe = new
|
|
4818
|
-
class
|
|
4817
|
+
const Qe = new Es();
|
|
4818
|
+
class xs extends h {
|
|
4819
4819
|
constructor() {
|
|
4820
4820
|
super("MiLaboratories.PL.API.ResourceAPI.Exists", []);
|
|
4821
4821
|
}
|
|
@@ -4843,8 +4843,8 @@ class $s extends h {
|
|
|
4843
4843
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4844
4844
|
}
|
|
4845
4845
|
}
|
|
4846
|
-
new
|
|
4847
|
-
class
|
|
4846
|
+
new xs();
|
|
4847
|
+
class Ws extends h {
|
|
4848
4848
|
constructor() {
|
|
4849
4849
|
super("MiLaboratories.PL.API.ResourceAPI.Exists.Request", [
|
|
4850
4850
|
{
|
|
@@ -4886,8 +4886,8 @@ class Us extends h {
|
|
|
4886
4886
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4887
4887
|
}
|
|
4888
4888
|
}
|
|
4889
|
-
const et = new
|
|
4890
|
-
class
|
|
4889
|
+
const et = new Ws();
|
|
4890
|
+
class Ss extends h {
|
|
4891
4891
|
constructor() {
|
|
4892
4892
|
super("MiLaboratories.PL.API.ResourceAPI.Exists.Response", [
|
|
4893
4893
|
{
|
|
@@ -4928,8 +4928,8 @@ class Fs extends h {
|
|
|
4928
4928
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4929
4929
|
}
|
|
4930
4930
|
}
|
|
4931
|
-
const tt = new
|
|
4932
|
-
class
|
|
4931
|
+
const tt = new Ss();
|
|
4932
|
+
class Cs extends h {
|
|
4933
4933
|
constructor() {
|
|
4934
4934
|
super("MiLaboratories.PL.API.ResourceAPI.SetError", []);
|
|
4935
4935
|
}
|
|
@@ -4957,8 +4957,8 @@ class Es extends h {
|
|
|
4957
4957
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
4958
4958
|
}
|
|
4959
4959
|
}
|
|
4960
|
-
new
|
|
4961
|
-
class
|
|
4960
|
+
new Cs();
|
|
4961
|
+
class Ds extends h {
|
|
4962
4962
|
constructor() {
|
|
4963
4963
|
super("MiLaboratories.PL.API.ResourceAPI.SetError.Request", [
|
|
4964
4964
|
{
|
|
@@ -5012,8 +5012,8 @@ class xs extends h {
|
|
|
5012
5012
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5013
5013
|
}
|
|
5014
5014
|
}
|
|
5015
|
-
const nt = new
|
|
5016
|
-
class
|
|
5015
|
+
const nt = new Ds();
|
|
5016
|
+
class vs extends h {
|
|
5017
5017
|
constructor() {
|
|
5018
5018
|
super("MiLaboratories.PL.API.ResourceAPI.SetError.Response", []);
|
|
5019
5019
|
}
|
|
@@ -5041,8 +5041,8 @@ class Ws extends h {
|
|
|
5041
5041
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5042
5042
|
}
|
|
5043
5043
|
}
|
|
5044
|
-
const it = new
|
|
5045
|
-
class
|
|
5044
|
+
const it = new vs();
|
|
5045
|
+
class Os extends h {
|
|
5046
5046
|
constructor() {
|
|
5047
5047
|
super("MiLaboratories.PL.API.ResourceAPI.Get", []);
|
|
5048
5048
|
}
|
|
@@ -5070,8 +5070,8 @@ class Ss extends h {
|
|
|
5070
5070
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5071
5071
|
}
|
|
5072
5072
|
}
|
|
5073
|
-
new
|
|
5074
|
-
class
|
|
5073
|
+
new Os();
|
|
5074
|
+
class qs extends h {
|
|
5075
5075
|
constructor() {
|
|
5076
5076
|
super("MiLaboratories.PL.API.ResourceAPI.Get.Request", [
|
|
5077
5077
|
{
|
|
@@ -5124,8 +5124,8 @@ class Cs extends h {
|
|
|
5124
5124
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5125
5125
|
}
|
|
5126
5126
|
}
|
|
5127
|
-
const rt = new
|
|
5128
|
-
class
|
|
5127
|
+
const rt = new qs();
|
|
5128
|
+
class Ks extends h {
|
|
5129
5129
|
constructor() {
|
|
5130
5130
|
super("MiLaboratories.PL.API.ResourceAPI.Get.Response", [
|
|
5131
5131
|
{ no: 1, name: "resource", kind: "message", T: () => I }
|
|
@@ -5160,8 +5160,8 @@ class Ds extends h {
|
|
|
5160
5160
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5161
5161
|
}
|
|
5162
5162
|
}
|
|
5163
|
-
const st = new
|
|
5164
|
-
class
|
|
5163
|
+
const st = new Ks();
|
|
5164
|
+
class js extends h {
|
|
5165
5165
|
constructor() {
|
|
5166
5166
|
super("MiLaboratories.PL.API.ResourceAPI.List", []);
|
|
5167
5167
|
}
|
|
@@ -5189,8 +5189,8 @@ class vs extends h {
|
|
|
5189
5189
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5190
5190
|
}
|
|
5191
5191
|
}
|
|
5192
|
-
new
|
|
5193
|
-
class
|
|
5192
|
+
new js();
|
|
5193
|
+
class Vs extends h {
|
|
5194
5194
|
constructor() {
|
|
5195
5195
|
super("MiLaboratories.PL.API.ResourceAPI.List.ByType", []);
|
|
5196
5196
|
}
|
|
@@ -5218,8 +5218,8 @@ class Os extends h {
|
|
|
5218
5218
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5219
5219
|
}
|
|
5220
5220
|
}
|
|
5221
|
-
new
|
|
5222
|
-
class
|
|
5221
|
+
new Vs();
|
|
5222
|
+
class Ms extends h {
|
|
5223
5223
|
constructor() {
|
|
5224
5224
|
super("MiLaboratories.PL.API.ResourceAPI.List.ByType.Request", [
|
|
5225
5225
|
{ no: 1, name: "resource_type", kind: "message", T: () => w }
|
|
@@ -5254,8 +5254,8 @@ class qs extends h {
|
|
|
5254
5254
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5255
5255
|
}
|
|
5256
5256
|
}
|
|
5257
|
-
const ot = new
|
|
5258
|
-
class
|
|
5257
|
+
const ot = new Ms();
|
|
5258
|
+
class Gs extends h {
|
|
5259
5259
|
constructor() {
|
|
5260
5260
|
super("MiLaboratories.PL.API.ResourceAPI.List.ByType.Response", [
|
|
5261
5261
|
{ no: 1, name: "resources", kind: "map", K: 4, V: { kind: "message", T: () => I } }
|
|
@@ -5308,8 +5308,8 @@ class Ks extends h {
|
|
|
5308
5308
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5309
5309
|
}
|
|
5310
5310
|
}
|
|
5311
|
-
const at = new
|
|
5312
|
-
class
|
|
5311
|
+
const at = new Gs();
|
|
5312
|
+
class Js extends h {
|
|
5313
5313
|
constructor() {
|
|
5314
5314
|
super("MiLaboratories.PL.API.ResourceAPI.CreateRoot", []);
|
|
5315
5315
|
}
|
|
@@ -5337,8 +5337,8 @@ class js extends h {
|
|
|
5337
5337
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5338
5338
|
}
|
|
5339
5339
|
}
|
|
5340
|
-
new
|
|
5341
|
-
class
|
|
5340
|
+
new Js();
|
|
5341
|
+
class zs extends h {
|
|
5342
5342
|
constructor() {
|
|
5343
5343
|
super("MiLaboratories.PL.API.ResourceAPI.CreateRoot.Request", [
|
|
5344
5344
|
{
|
|
@@ -5385,8 +5385,8 @@ class Vs extends h {
|
|
|
5385
5385
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5386
5386
|
}
|
|
5387
5387
|
}
|
|
5388
|
-
const lt = new
|
|
5389
|
-
class
|
|
5388
|
+
const lt = new zs();
|
|
5389
|
+
class Hs extends h {
|
|
5390
5390
|
constructor() {
|
|
5391
5391
|
super("MiLaboratories.PL.API.ResourceAPI.CreateRoot.Response", [
|
|
5392
5392
|
{
|
|
@@ -5428,8 +5428,8 @@ class Ms extends h {
|
|
|
5428
5428
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5429
5429
|
}
|
|
5430
5430
|
}
|
|
5431
|
-
const ct = new
|
|
5432
|
-
class
|
|
5431
|
+
const ct = new Hs();
|
|
5432
|
+
class Ys extends h {
|
|
5433
5433
|
constructor() {
|
|
5434
5434
|
super("MiLaboratories.PL.API.ResourceAPI.Remove", []);
|
|
5435
5435
|
}
|
|
@@ -5457,8 +5457,8 @@ class Gs extends h {
|
|
|
5457
5457
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5458
5458
|
}
|
|
5459
5459
|
}
|
|
5460
|
-
new
|
|
5461
|
-
class
|
|
5460
|
+
new Ys();
|
|
5461
|
+
class Zs extends h {
|
|
5462
5462
|
constructor() {
|
|
5463
5463
|
super("MiLaboratories.PL.API.ResourceAPI.Remove.Request", [
|
|
5464
5464
|
{
|
|
@@ -5500,8 +5500,8 @@ class Js extends h {
|
|
|
5500
5500
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5501
5501
|
}
|
|
5502
5502
|
}
|
|
5503
|
-
const ut = new
|
|
5504
|
-
class
|
|
5503
|
+
const ut = new Zs();
|
|
5504
|
+
class Xs extends h {
|
|
5505
5505
|
constructor() {
|
|
5506
5506
|
super("MiLaboratories.PL.API.ResourceAPI.Remove.Response", []);
|
|
5507
5507
|
}
|
|
@@ -5529,8 +5529,8 @@ class zs extends h {
|
|
|
5529
5529
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5530
5530
|
}
|
|
5531
5531
|
}
|
|
5532
|
-
const ft = new
|
|
5533
|
-
class
|
|
5532
|
+
const ft = new Xs();
|
|
5533
|
+
class Qs extends h {
|
|
5534
5534
|
constructor() {
|
|
5535
5535
|
super("MiLaboratories.PL.API.ResourceAPI.Name", []);
|
|
5536
5536
|
}
|
|
@@ -5558,8 +5558,8 @@ class Hs extends h {
|
|
|
5558
5558
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5559
5559
|
}
|
|
5560
5560
|
}
|
|
5561
|
-
new
|
|
5562
|
-
class
|
|
5561
|
+
new Qs();
|
|
5562
|
+
class eo extends h {
|
|
5563
5563
|
constructor() {
|
|
5564
5564
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Set", []);
|
|
5565
5565
|
}
|
|
@@ -5587,8 +5587,8 @@ class Ys extends h {
|
|
|
5587
5587
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5588
5588
|
}
|
|
5589
5589
|
}
|
|
5590
|
-
new
|
|
5591
|
-
class
|
|
5590
|
+
new eo();
|
|
5591
|
+
class to extends h {
|
|
5592
5592
|
constructor() {
|
|
5593
5593
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Set.Request", [
|
|
5594
5594
|
{
|
|
@@ -5641,8 +5641,8 @@ class Zs extends h {
|
|
|
5641
5641
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5642
5642
|
}
|
|
5643
5643
|
}
|
|
5644
|
-
const dt = new
|
|
5645
|
-
class
|
|
5644
|
+
const dt = new to();
|
|
5645
|
+
class no extends h {
|
|
5646
5646
|
constructor() {
|
|
5647
5647
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Set.Response", []);
|
|
5648
5648
|
}
|
|
@@ -5670,8 +5670,8 @@ class Xs extends h {
|
|
|
5670
5670
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5671
5671
|
}
|
|
5672
5672
|
}
|
|
5673
|
-
const ht = new
|
|
5674
|
-
class
|
|
5673
|
+
const ht = new no();
|
|
5674
|
+
class io extends h {
|
|
5675
5675
|
constructor() {
|
|
5676
5676
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Get", []);
|
|
5677
5677
|
}
|
|
@@ -5699,8 +5699,8 @@ class Qs extends h {
|
|
|
5699
5699
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5700
5700
|
}
|
|
5701
5701
|
}
|
|
5702
|
-
new
|
|
5703
|
-
class
|
|
5702
|
+
new io();
|
|
5703
|
+
class ro extends h {
|
|
5704
5704
|
constructor() {
|
|
5705
5705
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Get.Request", [
|
|
5706
5706
|
{
|
|
@@ -5741,8 +5741,8 @@ class eo extends h {
|
|
|
5741
5741
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5742
5742
|
}
|
|
5743
5743
|
}
|
|
5744
|
-
const pt = new
|
|
5745
|
-
class
|
|
5744
|
+
const pt = new ro();
|
|
5745
|
+
class so extends h {
|
|
5746
5746
|
constructor() {
|
|
5747
5747
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Get.Response", [
|
|
5748
5748
|
{
|
|
@@ -5784,8 +5784,8 @@ class to extends h {
|
|
|
5784
5784
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5785
5785
|
}
|
|
5786
5786
|
}
|
|
5787
|
-
const yt = new
|
|
5788
|
-
class
|
|
5787
|
+
const yt = new so();
|
|
5788
|
+
class oo extends h {
|
|
5789
5789
|
constructor() {
|
|
5790
5790
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Exists", []);
|
|
5791
5791
|
}
|
|
@@ -5813,8 +5813,8 @@ class no extends h {
|
|
|
5813
5813
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5814
5814
|
}
|
|
5815
5815
|
}
|
|
5816
|
-
new
|
|
5817
|
-
class
|
|
5816
|
+
new oo();
|
|
5817
|
+
class ao extends h {
|
|
5818
5818
|
constructor() {
|
|
5819
5819
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Exists.Request", [
|
|
5820
5820
|
{
|
|
@@ -5855,8 +5855,8 @@ class io extends h {
|
|
|
5855
5855
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5856
5856
|
}
|
|
5857
5857
|
}
|
|
5858
|
-
const wt = new
|
|
5859
|
-
class
|
|
5858
|
+
const wt = new ao();
|
|
5859
|
+
class lo extends h {
|
|
5860
5860
|
constructor() {
|
|
5861
5861
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Exists.Response", [
|
|
5862
5862
|
{
|
|
@@ -5897,8 +5897,8 @@ class ro extends h {
|
|
|
5897
5897
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5898
5898
|
}
|
|
5899
5899
|
}
|
|
5900
|
-
const mt = new
|
|
5901
|
-
class
|
|
5900
|
+
const mt = new lo();
|
|
5901
|
+
class co extends h {
|
|
5902
5902
|
constructor() {
|
|
5903
5903
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Delete", []);
|
|
5904
5904
|
}
|
|
@@ -5926,8 +5926,8 @@ class so extends h {
|
|
|
5926
5926
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5927
5927
|
}
|
|
5928
5928
|
}
|
|
5929
|
-
new
|
|
5930
|
-
class
|
|
5929
|
+
new co();
|
|
5930
|
+
class uo extends h {
|
|
5931
5931
|
constructor() {
|
|
5932
5932
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Delete.Request", [
|
|
5933
5933
|
{
|
|
@@ -5968,8 +5968,8 @@ class oo extends h {
|
|
|
5968
5968
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5969
5969
|
}
|
|
5970
5970
|
}
|
|
5971
|
-
const gt = new
|
|
5972
|
-
class
|
|
5971
|
+
const gt = new uo();
|
|
5972
|
+
class fo extends h {
|
|
5973
5973
|
constructor() {
|
|
5974
5974
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Delete.Response", []);
|
|
5975
5975
|
}
|
|
@@ -5997,8 +5997,8 @@ class ao extends h {
|
|
|
5997
5997
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
5998
5998
|
}
|
|
5999
5999
|
}
|
|
6000
|
-
const kt = new
|
|
6001
|
-
class
|
|
6000
|
+
const kt = new fo();
|
|
6001
|
+
class ho extends h {
|
|
6002
6002
|
constructor() {
|
|
6003
6003
|
super("MiLaboratories.PL.API.ResourceAPI.Tree", []);
|
|
6004
6004
|
}
|
|
@@ -6026,8 +6026,8 @@ class lo extends h {
|
|
|
6026
6026
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6027
6027
|
}
|
|
6028
6028
|
}
|
|
6029
|
-
new
|
|
6030
|
-
class
|
|
6029
|
+
new ho();
|
|
6030
|
+
class po extends h {
|
|
6031
6031
|
constructor() {
|
|
6032
6032
|
super("MiLaboratories.PL.API.ResourceAPI.Tree.Request", [
|
|
6033
6033
|
{
|
|
@@ -6081,8 +6081,8 @@ class co extends h {
|
|
|
6081
6081
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6082
6082
|
}
|
|
6083
6083
|
}
|
|
6084
|
-
const bt = new
|
|
6085
|
-
class
|
|
6084
|
+
const bt = new po();
|
|
6085
|
+
class yo extends h {
|
|
6086
6086
|
constructor() {
|
|
6087
6087
|
super("MiLaboratories.PL.API.ResourceAPI.Tree.Response", [
|
|
6088
6088
|
{ no: 1, name: "resource", kind: "message", T: () => I }
|
|
@@ -6117,8 +6117,8 @@ class uo extends h {
|
|
|
6117
6117
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6118
6118
|
}
|
|
6119
6119
|
}
|
|
6120
|
-
const Tt = new
|
|
6121
|
-
class
|
|
6120
|
+
const Tt = new yo();
|
|
6121
|
+
class wo extends h {
|
|
6122
6122
|
constructor() {
|
|
6123
6123
|
super("MiLaboratories.PL.API.FieldAPI", []);
|
|
6124
6124
|
}
|
|
@@ -6146,8 +6146,8 @@ class fo extends h {
|
|
|
6146
6146
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6147
6147
|
}
|
|
6148
6148
|
}
|
|
6149
|
-
new
|
|
6150
|
-
class
|
|
6149
|
+
new wo();
|
|
6150
|
+
class mo extends h {
|
|
6151
6151
|
constructor() {
|
|
6152
6152
|
super("MiLaboratories.PL.API.FieldAPI.Create", []);
|
|
6153
6153
|
}
|
|
@@ -6175,8 +6175,8 @@ class ho extends h {
|
|
|
6175
6175
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6176
6176
|
}
|
|
6177
6177
|
}
|
|
6178
|
-
new
|
|
6179
|
-
class
|
|
6178
|
+
new mo();
|
|
6179
|
+
class go extends h {
|
|
6180
6180
|
constructor() {
|
|
6181
6181
|
super("MiLaboratories.PL.API.FieldAPI.Create.Request", [
|
|
6182
6182
|
{ no: 1, name: "type", kind: "enum", T: () => ["MiLaboratories.PL.Base.FieldType", k] },
|
|
@@ -6216,8 +6216,8 @@ class po extends h {
|
|
|
6216
6216
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6217
6217
|
}
|
|
6218
6218
|
}
|
|
6219
|
-
const Rt = new
|
|
6220
|
-
class
|
|
6219
|
+
const Rt = new go();
|
|
6220
|
+
class ko extends h {
|
|
6221
6221
|
constructor() {
|
|
6222
6222
|
super("MiLaboratories.PL.API.FieldAPI.Create.Response", [
|
|
6223
6223
|
{ no: 1, name: "global_id", kind: "message", T: () => m }
|
|
@@ -6252,8 +6252,8 @@ class yo extends h {
|
|
|
6252
6252
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6253
6253
|
}
|
|
6254
6254
|
}
|
|
6255
|
-
const It = new
|
|
6256
|
-
class
|
|
6255
|
+
const It = new ko();
|
|
6256
|
+
class bo extends h {
|
|
6257
6257
|
constructor() {
|
|
6258
6258
|
super("MiLaboratories.PL.API.FieldAPI.Exists", []);
|
|
6259
6259
|
}
|
|
@@ -6281,8 +6281,8 @@ class wo extends h {
|
|
|
6281
6281
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6282
6282
|
}
|
|
6283
6283
|
}
|
|
6284
|
-
new
|
|
6285
|
-
class
|
|
6284
|
+
new bo();
|
|
6285
|
+
class To extends h {
|
|
6286
6286
|
constructor() {
|
|
6287
6287
|
super("MiLaboratories.PL.API.FieldAPI.Exists.Request", [
|
|
6288
6288
|
{ no: 1, name: "field", kind: "message", T: () => m }
|
|
@@ -6317,8 +6317,8 @@ class mo extends h {
|
|
|
6317
6317
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6318
6318
|
}
|
|
6319
6319
|
}
|
|
6320
|
-
const Pt = new
|
|
6321
|
-
class
|
|
6320
|
+
const Pt = new To();
|
|
6321
|
+
class Ro extends h {
|
|
6322
6322
|
constructor() {
|
|
6323
6323
|
super("MiLaboratories.PL.API.FieldAPI.Exists.Response", [
|
|
6324
6324
|
{
|
|
@@ -6359,8 +6359,8 @@ class go extends h {
|
|
|
6359
6359
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6360
6360
|
}
|
|
6361
6361
|
}
|
|
6362
|
-
const Nt = new
|
|
6363
|
-
class
|
|
6362
|
+
const Nt = new Ro();
|
|
6363
|
+
class Io extends h {
|
|
6364
6364
|
constructor() {
|
|
6365
6365
|
super("MiLaboratories.PL.API.FieldAPI.Set", []);
|
|
6366
6366
|
}
|
|
@@ -6388,8 +6388,8 @@ class ko extends h {
|
|
|
6388
6388
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6389
6389
|
}
|
|
6390
6390
|
}
|
|
6391
|
-
new
|
|
6392
|
-
class
|
|
6391
|
+
new Io();
|
|
6392
|
+
class Po extends h {
|
|
6393
6393
|
constructor() {
|
|
6394
6394
|
super("MiLaboratories.PL.API.FieldAPI.Set.Request", [
|
|
6395
6395
|
{ no: 1, name: "field", kind: "message", T: () => m },
|
|
@@ -6429,8 +6429,8 @@ class bo extends h {
|
|
|
6429
6429
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6430
6430
|
}
|
|
6431
6431
|
}
|
|
6432
|
-
const _t = new
|
|
6433
|
-
class
|
|
6432
|
+
const _t = new Po();
|
|
6433
|
+
class No extends h {
|
|
6434
6434
|
constructor() {
|
|
6435
6435
|
super("MiLaboratories.PL.API.FieldAPI.Set.Response", []);
|
|
6436
6436
|
}
|
|
@@ -6458,8 +6458,8 @@ class To extends h {
|
|
|
6458
6458
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6459
6459
|
}
|
|
6460
6460
|
}
|
|
6461
|
-
const Lt = new
|
|
6462
|
-
class
|
|
6461
|
+
const Lt = new No();
|
|
6462
|
+
class _o extends h {
|
|
6463
6463
|
constructor() {
|
|
6464
6464
|
super("MiLaboratories.PL.API.FieldAPI.SetError", []);
|
|
6465
6465
|
}
|
|
@@ -6487,8 +6487,8 @@ class Ro extends h {
|
|
|
6487
6487
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6488
6488
|
}
|
|
6489
6489
|
}
|
|
6490
|
-
new
|
|
6491
|
-
class
|
|
6490
|
+
new _o();
|
|
6491
|
+
class Lo extends h {
|
|
6492
6492
|
constructor() {
|
|
6493
6493
|
super("MiLaboratories.PL.API.FieldAPI.SetError.Request", [
|
|
6494
6494
|
{ no: 1, name: "field", kind: "message", T: () => m },
|
|
@@ -6535,8 +6535,8 @@ class Io extends h {
|
|
|
6535
6535
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6536
6536
|
}
|
|
6537
6537
|
}
|
|
6538
|
-
const At = new
|
|
6539
|
-
class
|
|
6538
|
+
const At = new Lo();
|
|
6539
|
+
class Ao extends h {
|
|
6540
6540
|
constructor() {
|
|
6541
6541
|
super("MiLaboratories.PL.API.FieldAPI.SetError.Response", []);
|
|
6542
6542
|
}
|
|
@@ -6564,8 +6564,8 @@ class Po extends h {
|
|
|
6564
6564
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6565
6565
|
}
|
|
6566
6566
|
}
|
|
6567
|
-
const Bt = new
|
|
6568
|
-
class
|
|
6567
|
+
const Bt = new Ao();
|
|
6568
|
+
class Bo extends h {
|
|
6569
6569
|
constructor() {
|
|
6570
6570
|
super("MiLaboratories.PL.API.FieldAPI.Get", []);
|
|
6571
6571
|
}
|
|
@@ -6593,8 +6593,8 @@ class No extends h {
|
|
|
6593
6593
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6594
6594
|
}
|
|
6595
6595
|
}
|
|
6596
|
-
new
|
|
6597
|
-
class
|
|
6596
|
+
new Bo();
|
|
6597
|
+
class $o extends h {
|
|
6598
6598
|
constructor() {
|
|
6599
6599
|
super("MiLaboratories.PL.API.FieldAPI.Get.Request", [
|
|
6600
6600
|
{ no: 1, name: "field", kind: "message", T: () => m }
|
|
@@ -6629,8 +6629,8 @@ class _o extends h {
|
|
|
6629
6629
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6630
6630
|
}
|
|
6631
6631
|
}
|
|
6632
|
-
const $t = new
|
|
6633
|
-
class
|
|
6632
|
+
const $t = new $o();
|
|
6633
|
+
class Uo extends h {
|
|
6634
6634
|
constructor() {
|
|
6635
6635
|
super("MiLaboratories.PL.API.FieldAPI.Get.Response", [
|
|
6636
6636
|
{ no: 1, name: "field", kind: "message", T: () => b }
|
|
@@ -6665,8 +6665,8 @@ class Lo extends h {
|
|
|
6665
6665
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6666
6666
|
}
|
|
6667
6667
|
}
|
|
6668
|
-
const Ut = new
|
|
6669
|
-
class
|
|
6668
|
+
const Ut = new Uo();
|
|
6669
|
+
class Fo extends h {
|
|
6670
6670
|
constructor() {
|
|
6671
6671
|
super("MiLaboratories.PL.API.FieldAPI.Reset", []);
|
|
6672
6672
|
}
|
|
@@ -6694,8 +6694,8 @@ class Ao extends h {
|
|
|
6694
6694
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6695
6695
|
}
|
|
6696
6696
|
}
|
|
6697
|
-
new
|
|
6698
|
-
class
|
|
6697
|
+
new Fo();
|
|
6698
|
+
class Eo extends h {
|
|
6699
6699
|
constructor() {
|
|
6700
6700
|
super("MiLaboratories.PL.API.FieldAPI.Reset.Request", [
|
|
6701
6701
|
{ no: 1, name: "field", kind: "message", T: () => m }
|
|
@@ -6730,8 +6730,8 @@ class Bo extends h {
|
|
|
6730
6730
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6731
6731
|
}
|
|
6732
6732
|
}
|
|
6733
|
-
const Ft = new
|
|
6734
|
-
class
|
|
6733
|
+
const Ft = new Eo();
|
|
6734
|
+
class xo extends h {
|
|
6735
6735
|
constructor() {
|
|
6736
6736
|
super("MiLaboratories.PL.API.FieldAPI.Reset.Response", []);
|
|
6737
6737
|
}
|
|
@@ -6759,8 +6759,8 @@ class $o extends h {
|
|
|
6759
6759
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6760
6760
|
}
|
|
6761
6761
|
}
|
|
6762
|
-
const Et = new
|
|
6763
|
-
class
|
|
6762
|
+
const Et = new xo();
|
|
6763
|
+
class Wo extends h {
|
|
6764
6764
|
constructor() {
|
|
6765
6765
|
super("MiLaboratories.PL.API.FieldAPI.Remove", []);
|
|
6766
6766
|
}
|
|
@@ -6788,8 +6788,8 @@ class Uo extends h {
|
|
|
6788
6788
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6789
6789
|
}
|
|
6790
6790
|
}
|
|
6791
|
-
new
|
|
6792
|
-
class
|
|
6791
|
+
new Wo();
|
|
6792
|
+
class So extends h {
|
|
6793
6793
|
constructor() {
|
|
6794
6794
|
super("MiLaboratories.PL.API.FieldAPI.Remove.Request", [
|
|
6795
6795
|
{ no: 1, name: "field", kind: "message", T: () => m }
|
|
@@ -6824,8 +6824,8 @@ class Fo extends h {
|
|
|
6824
6824
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6825
6825
|
}
|
|
6826
6826
|
}
|
|
6827
|
-
const xt = new
|
|
6828
|
-
class
|
|
6827
|
+
const xt = new So();
|
|
6828
|
+
class Co extends h {
|
|
6829
6829
|
constructor() {
|
|
6830
6830
|
super("MiLaboratories.PL.API.FieldAPI.Remove.Response", []);
|
|
6831
6831
|
}
|
|
@@ -6853,8 +6853,8 @@ class Eo extends h {
|
|
|
6853
6853
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6854
6854
|
}
|
|
6855
6855
|
}
|
|
6856
|
-
const Wt = new
|
|
6857
|
-
class
|
|
6856
|
+
const Wt = new Co();
|
|
6857
|
+
class Do extends h {
|
|
6858
6858
|
constructor() {
|
|
6859
6859
|
super("MiLaboratories.PL.API.FieldAPI.List", []);
|
|
6860
6860
|
}
|
|
@@ -6882,8 +6882,8 @@ class xo extends h {
|
|
|
6882
6882
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6883
6883
|
}
|
|
6884
6884
|
}
|
|
6885
|
-
new
|
|
6886
|
-
class
|
|
6885
|
+
new Do();
|
|
6886
|
+
class vo extends h {
|
|
6887
6887
|
constructor() {
|
|
6888
6888
|
super("MiLaboratories.PL.API.FieldAPI.List.Request", [
|
|
6889
6889
|
{
|
|
@@ -6947,8 +6947,8 @@ class Wo extends h {
|
|
|
6947
6947
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6948
6948
|
}
|
|
6949
6949
|
}
|
|
6950
|
-
const St = new
|
|
6951
|
-
class
|
|
6950
|
+
const St = new vo();
|
|
6951
|
+
class Oo extends h {
|
|
6952
6952
|
constructor() {
|
|
6953
6953
|
super("MiLaboratories.PL.API.FieldAPI.List.Response", [
|
|
6954
6954
|
{ no: 1, name: "field", kind: "message", T: () => b },
|
|
@@ -6994,8 +6994,8 @@ class So extends h {
|
|
|
6994
6994
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
6995
6995
|
}
|
|
6996
6996
|
}
|
|
6997
|
-
const Ct = new
|
|
6998
|
-
class
|
|
6997
|
+
const Ct = new Oo();
|
|
6998
|
+
class qo extends h {
|
|
6999
6999
|
constructor() {
|
|
7000
7000
|
super("MiLaboratories.PL.API.NotificationAPI", []);
|
|
7001
7001
|
}
|
|
@@ -7023,8 +7023,8 @@ class Co extends h {
|
|
|
7023
7023
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7024
7024
|
}
|
|
7025
7025
|
}
|
|
7026
|
-
new
|
|
7027
|
-
class
|
|
7026
|
+
new qo();
|
|
7027
|
+
class Ko extends h {
|
|
7028
7028
|
constructor() {
|
|
7029
7029
|
super("MiLaboratories.PL.API.NotificationAPI.Get", []);
|
|
7030
7030
|
}
|
|
@@ -7052,8 +7052,8 @@ class Do extends h {
|
|
|
7052
7052
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7053
7053
|
}
|
|
7054
7054
|
}
|
|
7055
|
-
new
|
|
7056
|
-
class
|
|
7055
|
+
new Ko();
|
|
7056
|
+
class jo extends h {
|
|
7057
7057
|
constructor() {
|
|
7058
7058
|
super("MiLaboratories.PL.API.NotificationAPI.Get.Request", [
|
|
7059
7059
|
{
|
|
@@ -7106,8 +7106,8 @@ class vo extends h {
|
|
|
7106
7106
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7107
7107
|
}
|
|
7108
7108
|
}
|
|
7109
|
-
const
|
|
7110
|
-
class
|
|
7109
|
+
const ne = new jo();
|
|
7110
|
+
class Vo extends h {
|
|
7111
7111
|
constructor() {
|
|
7112
7112
|
super("MiLaboratories.PL.API.NotificationAPI.Get.Response", [
|
|
7113
7113
|
{ no: 1, name: "notifications", kind: "message", repeat: 1, T: () => j }
|
|
@@ -7143,8 +7143,8 @@ class Oo extends h {
|
|
|
7143
7143
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7144
7144
|
}
|
|
7145
7145
|
}
|
|
7146
|
-
const
|
|
7147
|
-
class
|
|
7146
|
+
const ie = new Vo();
|
|
7147
|
+
class Mo extends h {
|
|
7148
7148
|
constructor() {
|
|
7149
7149
|
super("MiLaboratories.PL.API.NotificationAPI.Ack", []);
|
|
7150
7150
|
}
|
|
@@ -7172,8 +7172,8 @@ class qo extends h {
|
|
|
7172
7172
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7173
7173
|
}
|
|
7174
7174
|
}
|
|
7175
|
-
new
|
|
7176
|
-
class
|
|
7175
|
+
new Mo();
|
|
7176
|
+
class Go extends h {
|
|
7177
7177
|
constructor() {
|
|
7178
7178
|
super("MiLaboratories.PL.API.NotificationAPI.Ack.Request", [
|
|
7179
7179
|
{
|
|
@@ -7227,8 +7227,8 @@ class Ko extends h {
|
|
|
7227
7227
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7228
7228
|
}
|
|
7229
7229
|
}
|
|
7230
|
-
const Dt = new
|
|
7231
|
-
class
|
|
7230
|
+
const Dt = new Go();
|
|
7231
|
+
class Jo extends h {
|
|
7232
7232
|
constructor() {
|
|
7233
7233
|
super("MiLaboratories.PL.API.NotificationAPI.Ack.Response", []);
|
|
7234
7234
|
}
|
|
@@ -7256,8 +7256,8 @@ class jo extends h {
|
|
|
7256
7256
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7257
7257
|
}
|
|
7258
7258
|
}
|
|
7259
|
-
const vt = new
|
|
7260
|
-
class
|
|
7259
|
+
const vt = new Jo();
|
|
7260
|
+
class zo extends h {
|
|
7261
7261
|
constructor() {
|
|
7262
7262
|
super("MiLaboratories.PL.API.NotificationAPI.Discard", []);
|
|
7263
7263
|
}
|
|
@@ -7285,8 +7285,8 @@ class Vo extends h {
|
|
|
7285
7285
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7286
7286
|
}
|
|
7287
7287
|
}
|
|
7288
|
-
new
|
|
7289
|
-
class
|
|
7288
|
+
new zo();
|
|
7289
|
+
class Ho extends h {
|
|
7290
7290
|
constructor() {
|
|
7291
7291
|
super("MiLaboratories.PL.API.NotificationAPI.Discard.Request", [
|
|
7292
7292
|
{
|
|
@@ -7340,8 +7340,8 @@ class Mo extends h {
|
|
|
7340
7340
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7341
7341
|
}
|
|
7342
7342
|
}
|
|
7343
|
-
const Ot = new
|
|
7344
|
-
class
|
|
7343
|
+
const Ot = new Ho();
|
|
7344
|
+
class Yo extends h {
|
|
7345
7345
|
constructor() {
|
|
7346
7346
|
super("MiLaboratories.PL.API.NotificationAPI.Discard.Response", []);
|
|
7347
7347
|
}
|
|
@@ -7369,8 +7369,8 @@ class Go extends h {
|
|
|
7369
7369
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7370
7370
|
}
|
|
7371
7371
|
}
|
|
7372
|
-
const qt = new
|
|
7373
|
-
class
|
|
7372
|
+
const qt = new Yo();
|
|
7373
|
+
class Zo extends h {
|
|
7374
7374
|
constructor() {
|
|
7375
7375
|
super("MiLaboratories.PL.API.SubscriptionAPI", []);
|
|
7376
7376
|
}
|
|
@@ -7398,8 +7398,8 @@ class Jo extends h {
|
|
|
7398
7398
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7399
7399
|
}
|
|
7400
7400
|
}
|
|
7401
|
-
new
|
|
7402
|
-
class
|
|
7401
|
+
new Zo();
|
|
7402
|
+
class Xo extends h {
|
|
7403
7403
|
constructor() {
|
|
7404
7404
|
super("MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription", []);
|
|
7405
7405
|
}
|
|
@@ -7427,8 +7427,8 @@ class zo extends h {
|
|
|
7427
7427
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7428
7428
|
}
|
|
7429
7429
|
}
|
|
7430
|
-
new
|
|
7431
|
-
class
|
|
7430
|
+
new Xo();
|
|
7431
|
+
class Qo extends h {
|
|
7432
7432
|
constructor() {
|
|
7433
7433
|
super("MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Request", [
|
|
7434
7434
|
{
|
|
@@ -7492,8 +7492,8 @@ class Ho extends h {
|
|
|
7492
7492
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7493
7493
|
}
|
|
7494
7494
|
}
|
|
7495
|
-
const Kt = new
|
|
7496
|
-
class
|
|
7495
|
+
const Kt = new Qo();
|
|
7496
|
+
class ea extends h {
|
|
7497
7497
|
constructor() {
|
|
7498
7498
|
super("MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Response", [
|
|
7499
7499
|
{
|
|
@@ -7535,8 +7535,8 @@ class Yo extends h {
|
|
|
7535
7535
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7536
7536
|
}
|
|
7537
7537
|
}
|
|
7538
|
-
const jt = new
|
|
7539
|
-
class
|
|
7538
|
+
const jt = new ea();
|
|
7539
|
+
class ta extends h {
|
|
7540
7540
|
constructor() {
|
|
7541
7541
|
super("MiLaboratories.PL.API.SubscriptionAPI.CreateFilter", []);
|
|
7542
7542
|
}
|
|
@@ -7564,8 +7564,8 @@ class Zo extends h {
|
|
|
7564
7564
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7565
7565
|
}
|
|
7566
7566
|
}
|
|
7567
|
-
new
|
|
7568
|
-
class
|
|
7567
|
+
new ta();
|
|
7568
|
+
class na extends h {
|
|
7569
7569
|
constructor() {
|
|
7570
7570
|
super("MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Request", [
|
|
7571
7571
|
{
|
|
@@ -7612,8 +7612,8 @@ class Xo extends h {
|
|
|
7612
7612
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7613
7613
|
}
|
|
7614
7614
|
}
|
|
7615
|
-
const Vt = new
|
|
7616
|
-
class
|
|
7615
|
+
const Vt = new na();
|
|
7616
|
+
class ia extends h {
|
|
7617
7617
|
constructor() {
|
|
7618
7618
|
super("MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Response", [
|
|
7619
7619
|
{
|
|
@@ -7655,8 +7655,8 @@ class Qo extends h {
|
|
|
7655
7655
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7656
7656
|
}
|
|
7657
7657
|
}
|
|
7658
|
-
const Mt = new
|
|
7659
|
-
class
|
|
7658
|
+
const Mt = new ia();
|
|
7659
|
+
class ra extends h {
|
|
7660
7660
|
constructor() {
|
|
7661
7661
|
super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions", []);
|
|
7662
7662
|
}
|
|
@@ -7684,8 +7684,8 @@ class ea extends h {
|
|
|
7684
7684
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7685
7685
|
}
|
|
7686
7686
|
}
|
|
7687
|
-
new
|
|
7688
|
-
class
|
|
7687
|
+
new ra();
|
|
7688
|
+
class sa extends h {
|
|
7689
7689
|
constructor() {
|
|
7690
7690
|
super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.SubscriptionInfo", [
|
|
7691
7691
|
{ no: 1, name: "subscription", kind: "message", T: () => Ie },
|
|
@@ -7744,8 +7744,8 @@ class ta extends h {
|
|
|
7744
7744
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7745
7745
|
}
|
|
7746
7746
|
}
|
|
7747
|
-
const Gt = new
|
|
7748
|
-
class
|
|
7747
|
+
const Gt = new sa();
|
|
7748
|
+
class oa extends h {
|
|
7749
7749
|
constructor() {
|
|
7750
7750
|
super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.Request", []);
|
|
7751
7751
|
}
|
|
@@ -7773,8 +7773,8 @@ class na extends h {
|
|
|
7773
7773
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7774
7774
|
}
|
|
7775
7775
|
}
|
|
7776
|
-
new
|
|
7777
|
-
class
|
|
7776
|
+
new oa();
|
|
7777
|
+
class aa extends h {
|
|
7778
7778
|
constructor() {
|
|
7779
7779
|
super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.Response", [
|
|
7780
7780
|
{ no: 1, name: "subscriptions", kind: "message", repeat: 1, T: () => Gt }
|
|
@@ -7810,8 +7810,8 @@ class ia extends h {
|
|
|
7810
7810
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7811
7811
|
}
|
|
7812
7812
|
}
|
|
7813
|
-
new
|
|
7814
|
-
class
|
|
7813
|
+
new aa();
|
|
7814
|
+
class la extends h {
|
|
7815
7815
|
constructor() {
|
|
7816
7816
|
super("MiLaboratories.PL.API.SubscriptionAPI.AttachFilter", []);
|
|
7817
7817
|
}
|
|
@@ -7839,8 +7839,8 @@ class ra extends h {
|
|
|
7839
7839
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7840
7840
|
}
|
|
7841
7841
|
}
|
|
7842
|
-
new
|
|
7843
|
-
class
|
|
7842
|
+
new la();
|
|
7843
|
+
class ca extends h {
|
|
7844
7844
|
constructor() {
|
|
7845
7845
|
super("MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Request", [
|
|
7846
7846
|
{
|
|
@@ -7905,8 +7905,8 @@ class sa extends h {
|
|
|
7905
7905
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7906
7906
|
}
|
|
7907
7907
|
}
|
|
7908
|
-
const
|
|
7909
|
-
class
|
|
7908
|
+
const re = new ca();
|
|
7909
|
+
class ua extends h {
|
|
7910
7910
|
constructor() {
|
|
7911
7911
|
super("MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Response", []);
|
|
7912
7912
|
}
|
|
@@ -7934,8 +7934,8 @@ class oa extends h {
|
|
|
7934
7934
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7935
7935
|
}
|
|
7936
7936
|
}
|
|
7937
|
-
const
|
|
7938
|
-
class
|
|
7937
|
+
const se = new ua();
|
|
7938
|
+
class fa extends h {
|
|
7939
7939
|
constructor() {
|
|
7940
7940
|
super("MiLaboratories.PL.API.SubscriptionAPI.DetachFilter", []);
|
|
7941
7941
|
}
|
|
@@ -7963,8 +7963,8 @@ class aa extends h {
|
|
|
7963
7963
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
7964
7964
|
}
|
|
7965
7965
|
}
|
|
7966
|
-
new
|
|
7967
|
-
class
|
|
7966
|
+
new fa();
|
|
7967
|
+
class da extends h {
|
|
7968
7968
|
constructor() {
|
|
7969
7969
|
super("MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Request", [
|
|
7970
7970
|
{
|
|
@@ -8017,8 +8017,8 @@ class la extends h {
|
|
|
8017
8017
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8018
8018
|
}
|
|
8019
8019
|
}
|
|
8020
|
-
const
|
|
8021
|
-
class
|
|
8020
|
+
const oe = new da();
|
|
8021
|
+
class ha extends h {
|
|
8022
8022
|
constructor() {
|
|
8023
8023
|
super("MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Response", []);
|
|
8024
8024
|
}
|
|
@@ -8046,8 +8046,8 @@ class ca extends h {
|
|
|
8046
8046
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8047
8047
|
}
|
|
8048
8048
|
}
|
|
8049
|
-
const
|
|
8050
|
-
class
|
|
8049
|
+
const ae = new ha();
|
|
8050
|
+
class pa extends h {
|
|
8051
8051
|
constructor() {
|
|
8052
8052
|
super("MiLaboratories.PL.API.ControllerAPI", []);
|
|
8053
8053
|
}
|
|
@@ -8075,8 +8075,8 @@ class ua extends h {
|
|
|
8075
8075
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8076
8076
|
}
|
|
8077
8077
|
}
|
|
8078
|
-
new
|
|
8079
|
-
class
|
|
8078
|
+
new pa();
|
|
8079
|
+
class ya extends h {
|
|
8080
8080
|
constructor() {
|
|
8081
8081
|
super("MiLaboratories.PL.API.ControllerAPI.Register", []);
|
|
8082
8082
|
}
|
|
@@ -8104,8 +8104,8 @@ class fa extends h {
|
|
|
8104
8104
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8105
8105
|
}
|
|
8106
8106
|
}
|
|
8107
|
-
new
|
|
8108
|
-
class
|
|
8107
|
+
new ya();
|
|
8108
|
+
class wa extends h {
|
|
8109
8109
|
constructor() {
|
|
8110
8110
|
super("MiLaboratories.PL.API.ControllerAPI.Register.Request", [
|
|
8111
8111
|
{
|
|
@@ -8177,8 +8177,8 @@ class da extends h {
|
|
|
8177
8177
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8178
8178
|
}
|
|
8179
8179
|
}
|
|
8180
|
-
const
|
|
8181
|
-
class
|
|
8180
|
+
const ma = new wa();
|
|
8181
|
+
class ga extends h {
|
|
8182
8182
|
constructor() {
|
|
8183
8183
|
super("MiLaboratories.PL.API.ControllerAPI.Register.Response", [
|
|
8184
8184
|
{
|
|
@@ -8232,8 +8232,8 @@ class pa extends h {
|
|
|
8232
8232
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8233
8233
|
}
|
|
8234
8234
|
}
|
|
8235
|
-
const
|
|
8236
|
-
class
|
|
8235
|
+
const ka = new ga();
|
|
8236
|
+
class ba extends h {
|
|
8237
8237
|
constructor() {
|
|
8238
8238
|
super("MiLaboratories.PL.API.ControllerAPI.Exists", []);
|
|
8239
8239
|
}
|
|
@@ -8261,8 +8261,8 @@ class wa extends h {
|
|
|
8261
8261
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8262
8262
|
}
|
|
8263
8263
|
}
|
|
8264
|
-
new
|
|
8265
|
-
class
|
|
8264
|
+
new ba();
|
|
8265
|
+
class Ta extends h {
|
|
8266
8266
|
constructor() {
|
|
8267
8267
|
super("MiLaboratories.PL.API.ControllerAPI.Exists.Request", [
|
|
8268
8268
|
{
|
|
@@ -8303,8 +8303,8 @@ class ma extends h {
|
|
|
8303
8303
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8304
8304
|
}
|
|
8305
8305
|
}
|
|
8306
|
-
const
|
|
8307
|
-
class
|
|
8306
|
+
const Ra = new Ta();
|
|
8307
|
+
class Ia extends h {
|
|
8308
8308
|
constructor() {
|
|
8309
8309
|
super("MiLaboratories.PL.API.ControllerAPI.Exists.Response", [
|
|
8310
8310
|
{
|
|
@@ -8345,8 +8345,8 @@ class ka extends h {
|
|
|
8345
8345
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8346
8346
|
}
|
|
8347
8347
|
}
|
|
8348
|
-
const
|
|
8349
|
-
class
|
|
8348
|
+
const Pa = new Ia();
|
|
8349
|
+
class Na extends h {
|
|
8350
8350
|
constructor() {
|
|
8351
8351
|
super("MiLaboratories.PL.API.ControllerAPI.Update", []);
|
|
8352
8352
|
}
|
|
@@ -8374,8 +8374,8 @@ class Ta extends h {
|
|
|
8374
8374
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8375
8375
|
}
|
|
8376
8376
|
}
|
|
8377
|
-
new
|
|
8378
|
-
class
|
|
8377
|
+
new Na();
|
|
8378
|
+
class _a extends h {
|
|
8379
8379
|
constructor() {
|
|
8380
8380
|
super("MiLaboratories.PL.API.ControllerAPI.Update.Request", [
|
|
8381
8381
|
{
|
|
@@ -8447,8 +8447,8 @@ class Ra extends h {
|
|
|
8447
8447
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8448
8448
|
}
|
|
8449
8449
|
}
|
|
8450
|
-
const
|
|
8451
|
-
class
|
|
8450
|
+
const La = new _a();
|
|
8451
|
+
class Aa extends h {
|
|
8452
8452
|
constructor() {
|
|
8453
8453
|
super("MiLaboratories.PL.API.ControllerAPI.Update.Response", []);
|
|
8454
8454
|
}
|
|
@@ -8476,8 +8476,8 @@ class Pa extends h {
|
|
|
8476
8476
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8477
8477
|
}
|
|
8478
8478
|
}
|
|
8479
|
-
const
|
|
8480
|
-
class
|
|
8479
|
+
const Ba = new Aa();
|
|
8480
|
+
class $a extends h {
|
|
8481
8481
|
constructor() {
|
|
8482
8482
|
super("MiLaboratories.PL.API.ControllerAPI.Deregister", []);
|
|
8483
8483
|
}
|
|
@@ -8505,8 +8505,8 @@ class _a extends h {
|
|
|
8505
8505
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8506
8506
|
}
|
|
8507
8507
|
}
|
|
8508
|
-
new
|
|
8509
|
-
class
|
|
8508
|
+
new $a();
|
|
8509
|
+
class Ua extends h {
|
|
8510
8510
|
constructor() {
|
|
8511
8511
|
super("MiLaboratories.PL.API.ControllerAPI.Deregister.Request", [
|
|
8512
8512
|
{
|
|
@@ -8547,8 +8547,8 @@ class La extends h {
|
|
|
8547
8547
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8548
8548
|
}
|
|
8549
8549
|
}
|
|
8550
|
-
const
|
|
8551
|
-
class
|
|
8550
|
+
const Fa = new Ua();
|
|
8551
|
+
class Ea extends h {
|
|
8552
8552
|
constructor() {
|
|
8553
8553
|
super("MiLaboratories.PL.API.ControllerAPI.Deregister.Response", []);
|
|
8554
8554
|
}
|
|
@@ -8576,8 +8576,8 @@ class Ba extends h {
|
|
|
8576
8576
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8577
8577
|
}
|
|
8578
8578
|
}
|
|
8579
|
-
const
|
|
8580
|
-
class
|
|
8579
|
+
const xa = new Ea();
|
|
8580
|
+
class Wa extends h {
|
|
8581
8581
|
constructor() {
|
|
8582
8582
|
super("MiLaboratories.PL.API.ControllerAPI.Create", []);
|
|
8583
8583
|
}
|
|
@@ -8605,8 +8605,8 @@ class Ua extends h {
|
|
|
8605
8605
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8606
8606
|
}
|
|
8607
8607
|
}
|
|
8608
|
-
new
|
|
8609
|
-
class
|
|
8608
|
+
new Wa();
|
|
8609
|
+
class Sa extends h {
|
|
8610
8610
|
constructor() {
|
|
8611
8611
|
super("MiLaboratories.PL.API.ControllerAPI.Create.Request", [
|
|
8612
8612
|
{
|
|
@@ -8659,8 +8659,8 @@ class Fa extends h {
|
|
|
8659
8659
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8660
8660
|
}
|
|
8661
8661
|
}
|
|
8662
|
-
const
|
|
8663
|
-
class
|
|
8662
|
+
const Ca = new Sa();
|
|
8663
|
+
class Da extends h {
|
|
8664
8664
|
constructor() {
|
|
8665
8665
|
super("MiLaboratories.PL.API.ControllerAPI.Create.Response", [
|
|
8666
8666
|
{
|
|
@@ -8702,8 +8702,8 @@ class xa extends h {
|
|
|
8702
8702
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8703
8703
|
}
|
|
8704
8704
|
}
|
|
8705
|
-
const
|
|
8706
|
-
class
|
|
8705
|
+
const va = new Da();
|
|
8706
|
+
class Oa extends h {
|
|
8707
8707
|
constructor() {
|
|
8708
8708
|
super("MiLaboratories.PL.API.ControllerAPI.Get", []);
|
|
8709
8709
|
}
|
|
@@ -8731,8 +8731,8 @@ class Sa extends h {
|
|
|
8731
8731
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8732
8732
|
}
|
|
8733
8733
|
}
|
|
8734
|
-
new
|
|
8735
|
-
class
|
|
8734
|
+
new Oa();
|
|
8735
|
+
class qa extends h {
|
|
8736
8736
|
constructor() {
|
|
8737
8737
|
super("MiLaboratories.PL.API.ControllerAPI.Get.Request", [
|
|
8738
8738
|
{
|
|
@@ -8773,8 +8773,8 @@ class Ca extends h {
|
|
|
8773
8773
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8774
8774
|
}
|
|
8775
8775
|
}
|
|
8776
|
-
const
|
|
8777
|
-
class
|
|
8776
|
+
const Ka = new qa();
|
|
8777
|
+
class ja extends h {
|
|
8778
8778
|
constructor() {
|
|
8779
8779
|
super("MiLaboratories.PL.API.ControllerAPI.Get.Response", [
|
|
8780
8780
|
{ no: 1, name: "controller", kind: "message", T: () => Pe }
|
|
@@ -8809,8 +8809,8 @@ class va extends h {
|
|
|
8809
8809
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8810
8810
|
}
|
|
8811
8811
|
}
|
|
8812
|
-
const
|
|
8813
|
-
class
|
|
8812
|
+
const Va = new ja();
|
|
8813
|
+
class Ma extends h {
|
|
8814
8814
|
constructor() {
|
|
8815
8815
|
super("MiLaboratories.PL.API.ControllerAPI.AttachSubscription", []);
|
|
8816
8816
|
}
|
|
@@ -8838,8 +8838,8 @@ class qa extends h {
|
|
|
8838
8838
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8839
8839
|
}
|
|
8840
8840
|
}
|
|
8841
|
-
new
|
|
8842
|
-
class
|
|
8841
|
+
new Ma();
|
|
8842
|
+
class Ga extends h {
|
|
8843
8843
|
constructor() {
|
|
8844
8844
|
super("MiLaboratories.PL.API.ControllerAPI.AttachSubscription.Request", [
|
|
8845
8845
|
{
|
|
@@ -8893,8 +8893,8 @@ class Ka extends h {
|
|
|
8893
8893
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8894
8894
|
}
|
|
8895
8895
|
}
|
|
8896
|
-
const
|
|
8897
|
-
class
|
|
8896
|
+
const Ja = new Ga();
|
|
8897
|
+
class za extends h {
|
|
8898
8898
|
constructor() {
|
|
8899
8899
|
super("MiLaboratories.PL.API.ControllerAPI.AttachSubscription.Response", []);
|
|
8900
8900
|
}
|
|
@@ -8922,8 +8922,8 @@ class Va extends h {
|
|
|
8922
8922
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8923
8923
|
}
|
|
8924
8924
|
}
|
|
8925
|
-
const
|
|
8926
|
-
class
|
|
8925
|
+
const Ha = new za();
|
|
8926
|
+
class Ya extends h {
|
|
8927
8927
|
constructor() {
|
|
8928
8928
|
super("MiLaboratories.PL.API.ControllerAPI.GetNotifications", []);
|
|
8929
8929
|
}
|
|
@@ -8951,8 +8951,8 @@ class Ga extends h {
|
|
|
8951
8951
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
8952
8952
|
}
|
|
8953
8953
|
}
|
|
8954
|
-
new
|
|
8955
|
-
class
|
|
8954
|
+
new Ya();
|
|
8955
|
+
class Za extends h {
|
|
8956
8956
|
constructor() {
|
|
8957
8957
|
super("MiLaboratories.PL.API.ControllerAPI.GetNotifications.Request", [
|
|
8958
8958
|
{
|
|
@@ -9004,8 +9004,8 @@ class Ja extends h {
|
|
|
9004
9004
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9005
9005
|
}
|
|
9006
9006
|
}
|
|
9007
|
-
const
|
|
9008
|
-
class
|
|
9007
|
+
const Xa = new Za();
|
|
9008
|
+
class Qa extends h {
|
|
9009
9009
|
constructor() {
|
|
9010
9010
|
super("MiLaboratories.PL.API.ControllerAPI.GetNotifications.Response", [
|
|
9011
9011
|
{ no: 1, name: "notifications", kind: "message", repeat: 1, T: () => j }
|
|
@@ -9041,8 +9041,8 @@ class Ha extends h {
|
|
|
9041
9041
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9042
9042
|
}
|
|
9043
9043
|
}
|
|
9044
|
-
const
|
|
9045
|
-
class
|
|
9044
|
+
const el = new Qa();
|
|
9045
|
+
class tl extends h {
|
|
9046
9046
|
constructor() {
|
|
9047
9047
|
super("MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls", []);
|
|
9048
9048
|
}
|
|
@@ -9070,8 +9070,8 @@ class Za extends h {
|
|
|
9070
9070
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9071
9071
|
}
|
|
9072
9072
|
}
|
|
9073
|
-
new
|
|
9074
|
-
class
|
|
9073
|
+
new tl();
|
|
9074
|
+
class nl extends h {
|
|
9075
9075
|
constructor() {
|
|
9076
9076
|
super("MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls.Request", [
|
|
9077
9077
|
{
|
|
@@ -9140,8 +9140,8 @@ class Xa extends h {
|
|
|
9140
9140
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9141
9141
|
}
|
|
9142
9142
|
}
|
|
9143
|
-
const
|
|
9144
|
-
class
|
|
9143
|
+
const il = new nl();
|
|
9144
|
+
class rl extends h {
|
|
9145
9145
|
constructor() {
|
|
9146
9146
|
super("MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls.Response", []);
|
|
9147
9147
|
}
|
|
@@ -9169,8 +9169,8 @@ class el extends h {
|
|
|
9169
9169
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9170
9170
|
}
|
|
9171
9171
|
}
|
|
9172
|
-
const
|
|
9173
|
-
class
|
|
9172
|
+
const sl = new rl();
|
|
9173
|
+
class ol extends h {
|
|
9174
9174
|
constructor() {
|
|
9175
9175
|
super("MiLaboratories.PL.API.ControllerAPI.GetUrl", []);
|
|
9176
9176
|
}
|
|
@@ -9198,8 +9198,8 @@ class nl extends h {
|
|
|
9198
9198
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9199
9199
|
}
|
|
9200
9200
|
}
|
|
9201
|
-
new
|
|
9202
|
-
class
|
|
9201
|
+
new ol();
|
|
9202
|
+
class al extends h {
|
|
9203
9203
|
constructor() {
|
|
9204
9204
|
super("MiLaboratories.PL.API.ControllerAPI.GetUrl.Request", [
|
|
9205
9205
|
{
|
|
@@ -9252,8 +9252,8 @@ class il extends h {
|
|
|
9252
9252
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9253
9253
|
}
|
|
9254
9254
|
}
|
|
9255
|
-
const
|
|
9256
|
-
class
|
|
9255
|
+
const ll = new al();
|
|
9256
|
+
class cl extends h {
|
|
9257
9257
|
constructor() {
|
|
9258
9258
|
super("MiLaboratories.PL.API.ControllerAPI.GetUrl.Response", [
|
|
9259
9259
|
{
|
|
@@ -9294,8 +9294,8 @@ class sl extends h {
|
|
|
9294
9294
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9295
9295
|
}
|
|
9296
9296
|
}
|
|
9297
|
-
const
|
|
9298
|
-
class
|
|
9297
|
+
const ul = new cl();
|
|
9298
|
+
class fl extends h {
|
|
9299
9299
|
constructor() {
|
|
9300
9300
|
super("MiLaboratories.PL.API.ControllerAPI.RemoveAliasesAndUrls", []);
|
|
9301
9301
|
}
|
|
@@ -9323,8 +9323,8 @@ class al extends h {
|
|
|
9323
9323
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9324
9324
|
}
|
|
9325
9325
|
}
|
|
9326
|
-
new
|
|
9327
|
-
class
|
|
9326
|
+
new fl();
|
|
9327
|
+
class dl extends h {
|
|
9328
9328
|
constructor() {
|
|
9329
9329
|
super("MiLaboratories.PL.API.ControllerAPI.RemoveAliasesAndUrls.Request", [
|
|
9330
9330
|
{
|
|
@@ -9365,8 +9365,8 @@ class ll extends h {
|
|
|
9365
9365
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9366
9366
|
}
|
|
9367
9367
|
}
|
|
9368
|
-
const
|
|
9369
|
-
class
|
|
9368
|
+
const hl = new dl();
|
|
9369
|
+
class pl extends h {
|
|
9370
9370
|
constructor() {
|
|
9371
9371
|
super("MiLaboratories.PL.API.ControllerAPI.RemoveAliasesAndUrls.Response", []);
|
|
9372
9372
|
}
|
|
@@ -9394,8 +9394,8 @@ class ul extends h {
|
|
|
9394
9394
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9395
9395
|
}
|
|
9396
9396
|
}
|
|
9397
|
-
const
|
|
9398
|
-
class
|
|
9397
|
+
const yl = new pl();
|
|
9398
|
+
class wl extends h {
|
|
9399
9399
|
constructor() {
|
|
9400
9400
|
super("MiLaboratories.PL.API.ControllerAPI.SetFeatures", []);
|
|
9401
9401
|
}
|
|
@@ -9423,8 +9423,8 @@ class dl extends h {
|
|
|
9423
9423
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9424
9424
|
}
|
|
9425
9425
|
}
|
|
9426
|
-
new
|
|
9427
|
-
class
|
|
9426
|
+
new wl();
|
|
9427
|
+
class ml extends h {
|
|
9428
9428
|
constructor() {
|
|
9429
9429
|
super("MiLaboratories.PL.API.ControllerAPI.SetFeatures.Request", [
|
|
9430
9430
|
{ no: 2, name: "features", kind: "message", repeat: 1, T: () => _e }
|
|
@@ -9460,8 +9460,8 @@ class hl extends h {
|
|
|
9460
9460
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9461
9461
|
}
|
|
9462
9462
|
}
|
|
9463
|
-
const
|
|
9464
|
-
class
|
|
9463
|
+
const le = new ml();
|
|
9464
|
+
class gl extends h {
|
|
9465
9465
|
constructor() {
|
|
9466
9466
|
super("MiLaboratories.PL.API.ControllerAPI.SetFeatures.Response", []);
|
|
9467
9467
|
}
|
|
@@ -9489,8 +9489,8 @@ class pl extends h {
|
|
|
9489
9489
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9490
9490
|
}
|
|
9491
9491
|
}
|
|
9492
|
-
const
|
|
9493
|
-
class
|
|
9492
|
+
const ce = new gl();
|
|
9493
|
+
class kl extends h {
|
|
9494
9494
|
constructor() {
|
|
9495
9495
|
super("MiLaboratories.PL.API.ControllerAPI.ClearFeatures", []);
|
|
9496
9496
|
}
|
|
@@ -9518,8 +9518,8 @@ class yl extends h {
|
|
|
9518
9518
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9519
9519
|
}
|
|
9520
9520
|
}
|
|
9521
|
-
new
|
|
9522
|
-
class
|
|
9521
|
+
new kl();
|
|
9522
|
+
class bl extends h {
|
|
9523
9523
|
constructor() {
|
|
9524
9524
|
super("MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Request", [
|
|
9525
9525
|
{
|
|
@@ -9560,8 +9560,8 @@ class wl extends h {
|
|
|
9560
9560
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9561
9561
|
}
|
|
9562
9562
|
}
|
|
9563
|
-
const
|
|
9564
|
-
class
|
|
9563
|
+
const ue = new bl();
|
|
9564
|
+
class Tl extends h {
|
|
9565
9565
|
constructor() {
|
|
9566
9566
|
super("MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Response", []);
|
|
9567
9567
|
}
|
|
@@ -9589,8 +9589,8 @@ class ml extends h {
|
|
|
9589
9589
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9590
9590
|
}
|
|
9591
9591
|
}
|
|
9592
|
-
const
|
|
9593
|
-
class
|
|
9592
|
+
const fe = new Tl();
|
|
9593
|
+
class Rl extends h {
|
|
9594
9594
|
constructor() {
|
|
9595
9595
|
super("MiLaboratories.PL.API.ResourceKVAPI", []);
|
|
9596
9596
|
}
|
|
@@ -9618,8 +9618,8 @@ class gl extends h {
|
|
|
9618
9618
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9619
9619
|
}
|
|
9620
9620
|
}
|
|
9621
|
-
new
|
|
9622
|
-
class
|
|
9621
|
+
new Rl();
|
|
9622
|
+
class Il extends h {
|
|
9623
9623
|
constructor() {
|
|
9624
9624
|
super("MiLaboratories.PL.API.ResourceKVAPI.List", []);
|
|
9625
9625
|
}
|
|
@@ -9647,8 +9647,8 @@ class kl extends h {
|
|
|
9647
9647
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9648
9648
|
}
|
|
9649
9649
|
}
|
|
9650
|
-
new
|
|
9651
|
-
class
|
|
9650
|
+
new Il();
|
|
9651
|
+
class Pl extends h {
|
|
9652
9652
|
constructor() {
|
|
9653
9653
|
super("MiLaboratories.PL.API.ResourceKVAPI.List.Request", [
|
|
9654
9654
|
{
|
|
@@ -9712,8 +9712,8 @@ class bl extends h {
|
|
|
9712
9712
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9713
9713
|
}
|
|
9714
9714
|
}
|
|
9715
|
-
const Jt = new
|
|
9716
|
-
class
|
|
9715
|
+
const Jt = new Pl();
|
|
9716
|
+
class Nl extends h {
|
|
9717
9717
|
constructor() {
|
|
9718
9718
|
super("MiLaboratories.PL.API.ResourceKVAPI.List.Response", [
|
|
9719
9719
|
{ no: 1, name: "record", kind: "message", T: () => Ht },
|
|
@@ -9759,8 +9759,8 @@ class Tl extends h {
|
|
|
9759
9759
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9760
9760
|
}
|
|
9761
9761
|
}
|
|
9762
|
-
const zt = new
|
|
9763
|
-
class
|
|
9762
|
+
const zt = new Nl();
|
|
9763
|
+
class _l extends h {
|
|
9764
9764
|
constructor() {
|
|
9765
9765
|
super("MiLaboratories.PL.API.ResourceKVAPI.List.Response.KV", [
|
|
9766
9766
|
{
|
|
@@ -9812,8 +9812,8 @@ class Rl extends h {
|
|
|
9812
9812
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9813
9813
|
}
|
|
9814
9814
|
}
|
|
9815
|
-
const Ht = new
|
|
9816
|
-
class
|
|
9815
|
+
const Ht = new _l();
|
|
9816
|
+
class Ll extends h {
|
|
9817
9817
|
constructor() {
|
|
9818
9818
|
super("MiLaboratories.PL.API.ResourceKVAPI.Set", []);
|
|
9819
9819
|
}
|
|
@@ -9841,8 +9841,8 @@ class Il extends h {
|
|
|
9841
9841
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9842
9842
|
}
|
|
9843
9843
|
}
|
|
9844
|
-
new
|
|
9845
|
-
class
|
|
9844
|
+
new Ll();
|
|
9845
|
+
class Al extends h {
|
|
9846
9846
|
constructor() {
|
|
9847
9847
|
super("MiLaboratories.PL.API.ResourceKVAPI.Set.Request", [
|
|
9848
9848
|
{
|
|
@@ -9906,8 +9906,8 @@ class Pl extends h {
|
|
|
9906
9906
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9907
9907
|
}
|
|
9908
9908
|
}
|
|
9909
|
-
const Yt = new
|
|
9910
|
-
class
|
|
9909
|
+
const Yt = new Al();
|
|
9910
|
+
class Bl extends h {
|
|
9911
9911
|
constructor() {
|
|
9912
9912
|
super("MiLaboratories.PL.API.ResourceKVAPI.Set.Response", []);
|
|
9913
9913
|
}
|
|
@@ -9935,8 +9935,8 @@ class Nl extends h {
|
|
|
9935
9935
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9936
9936
|
}
|
|
9937
9937
|
}
|
|
9938
|
-
const Zt = new
|
|
9939
|
-
class
|
|
9938
|
+
const Zt = new Bl();
|
|
9939
|
+
class $l extends h {
|
|
9940
9940
|
constructor() {
|
|
9941
9941
|
super("MiLaboratories.PL.API.ResourceKVAPI.Get", []);
|
|
9942
9942
|
}
|
|
@@ -9964,8 +9964,8 @@ class _l extends h {
|
|
|
9964
9964
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
9965
9965
|
}
|
|
9966
9966
|
}
|
|
9967
|
-
new
|
|
9968
|
-
class
|
|
9967
|
+
new $l();
|
|
9968
|
+
class Ul extends h {
|
|
9969
9969
|
constructor() {
|
|
9970
9970
|
super("MiLaboratories.PL.API.ResourceKVAPI.Get.Request", [
|
|
9971
9971
|
{
|
|
@@ -10018,8 +10018,8 @@ class Ll extends h {
|
|
|
10018
10018
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10019
10019
|
}
|
|
10020
10020
|
}
|
|
10021
|
-
const Xt = new
|
|
10022
|
-
class
|
|
10021
|
+
const Xt = new Ul();
|
|
10022
|
+
class Fl extends h {
|
|
10023
10023
|
constructor() {
|
|
10024
10024
|
super("MiLaboratories.PL.API.ResourceKVAPI.Get.Response", [
|
|
10025
10025
|
{
|
|
@@ -10060,8 +10060,8 @@ class Al extends h {
|
|
|
10060
10060
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10061
10061
|
}
|
|
10062
10062
|
}
|
|
10063
|
-
const Qt = new
|
|
10064
|
-
class
|
|
10063
|
+
const Qt = new Fl();
|
|
10064
|
+
class El extends h {
|
|
10065
10065
|
constructor() {
|
|
10066
10066
|
super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists", []);
|
|
10067
10067
|
}
|
|
@@ -10089,8 +10089,8 @@ class Bl extends h {
|
|
|
10089
10089
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10090
10090
|
}
|
|
10091
10091
|
}
|
|
10092
|
-
new
|
|
10093
|
-
class
|
|
10092
|
+
new El();
|
|
10093
|
+
class xl extends h {
|
|
10094
10094
|
constructor() {
|
|
10095
10095
|
super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Request", [
|
|
10096
10096
|
{
|
|
@@ -10143,8 +10143,8 @@ class $l extends h {
|
|
|
10143
10143
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10144
10144
|
}
|
|
10145
10145
|
}
|
|
10146
|
-
const en = new
|
|
10147
|
-
class
|
|
10146
|
+
const en = new xl();
|
|
10147
|
+
class Wl extends h {
|
|
10148
10148
|
constructor() {
|
|
10149
10149
|
super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Response", [
|
|
10150
10150
|
{
|
|
@@ -10196,8 +10196,8 @@ class Ul extends h {
|
|
|
10196
10196
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10197
10197
|
}
|
|
10198
10198
|
}
|
|
10199
|
-
const tn = new
|
|
10200
|
-
class
|
|
10199
|
+
const tn = new Wl();
|
|
10200
|
+
class Sl extends h {
|
|
10201
10201
|
constructor() {
|
|
10202
10202
|
super("MiLaboratories.PL.API.ResourceKVAPI.Delete", []);
|
|
10203
10203
|
}
|
|
@@ -10225,8 +10225,8 @@ class Fl extends h {
|
|
|
10225
10225
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10226
10226
|
}
|
|
10227
10227
|
}
|
|
10228
|
-
new
|
|
10229
|
-
class
|
|
10228
|
+
new Sl();
|
|
10229
|
+
class Cl extends h {
|
|
10230
10230
|
constructor() {
|
|
10231
10231
|
super("MiLaboratories.PL.API.ResourceKVAPI.Delete.Request", [
|
|
10232
10232
|
{
|
|
@@ -10279,8 +10279,8 @@ class El extends h {
|
|
|
10279
10279
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10280
10280
|
}
|
|
10281
10281
|
}
|
|
10282
|
-
const nn = new
|
|
10283
|
-
class
|
|
10282
|
+
const nn = new Cl();
|
|
10283
|
+
class Dl extends h {
|
|
10284
10284
|
constructor() {
|
|
10285
10285
|
super("MiLaboratories.PL.API.ResourceKVAPI.Delete.Response", []);
|
|
10286
10286
|
}
|
|
@@ -10308,8 +10308,8 @@ class xl extends h {
|
|
|
10308
10308
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10309
10309
|
}
|
|
10310
10310
|
}
|
|
10311
|
-
const rn = new
|
|
10312
|
-
class
|
|
10311
|
+
const rn = new Dl();
|
|
10312
|
+
class vl extends h {
|
|
10313
10313
|
constructor() {
|
|
10314
10314
|
super("MiLaboratories.PL.API.ResourceKVAPI.SetFlag", []);
|
|
10315
10315
|
}
|
|
@@ -10337,8 +10337,8 @@ class Wl extends h {
|
|
|
10337
10337
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10338
10338
|
}
|
|
10339
10339
|
}
|
|
10340
|
-
new
|
|
10341
|
-
class
|
|
10340
|
+
new vl();
|
|
10341
|
+
class Ol extends h {
|
|
10342
10342
|
constructor() {
|
|
10343
10343
|
super("MiLaboratories.PL.API.ResourceKVAPI.SetFlag.Request", [
|
|
10344
10344
|
{
|
|
@@ -10402,8 +10402,8 @@ class Sl extends h {
|
|
|
10402
10402
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10403
10403
|
}
|
|
10404
10404
|
}
|
|
10405
|
-
const sn = new
|
|
10406
|
-
class
|
|
10405
|
+
const sn = new Ol();
|
|
10406
|
+
class ql extends h {
|
|
10407
10407
|
constructor() {
|
|
10408
10408
|
super("MiLaboratories.PL.API.ResourceKVAPI.SetFlag.Response", []);
|
|
10409
10409
|
}
|
|
@@ -10431,8 +10431,8 @@ class Cl extends h {
|
|
|
10431
10431
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10432
10432
|
}
|
|
10433
10433
|
}
|
|
10434
|
-
const on = new
|
|
10435
|
-
class
|
|
10434
|
+
const on = new ql();
|
|
10435
|
+
class Kl extends h {
|
|
10436
10436
|
constructor() {
|
|
10437
10437
|
super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag", []);
|
|
10438
10438
|
}
|
|
@@ -10460,8 +10460,8 @@ class Dl extends h {
|
|
|
10460
10460
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10461
10461
|
}
|
|
10462
10462
|
}
|
|
10463
|
-
new
|
|
10464
|
-
class
|
|
10463
|
+
new Kl();
|
|
10464
|
+
class jl extends h {
|
|
10465
10465
|
constructor() {
|
|
10466
10466
|
super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request", [
|
|
10467
10467
|
{
|
|
@@ -10514,8 +10514,8 @@ class vl extends h {
|
|
|
10514
10514
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10515
10515
|
}
|
|
10516
10516
|
}
|
|
10517
|
-
const v = new
|
|
10518
|
-
class
|
|
10517
|
+
const v = new jl();
|
|
10518
|
+
class Vl extends h {
|
|
10519
10519
|
constructor() {
|
|
10520
10520
|
super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Response", [
|
|
10521
10521
|
{
|
|
@@ -10556,8 +10556,8 @@ class Ol extends h {
|
|
|
10556
10556
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10557
10557
|
}
|
|
10558
10558
|
}
|
|
10559
|
-
const O = new
|
|
10560
|
-
class
|
|
10559
|
+
const O = new Vl();
|
|
10560
|
+
class Ml extends h {
|
|
10561
10561
|
constructor() {
|
|
10562
10562
|
super("MiLaboratories.PL.API.ControllerKVAPI", []);
|
|
10563
10563
|
}
|
|
@@ -10585,8 +10585,8 @@ class ql extends h {
|
|
|
10585
10585
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10586
10586
|
}
|
|
10587
10587
|
}
|
|
10588
|
-
new
|
|
10589
|
-
class
|
|
10588
|
+
new Ml();
|
|
10589
|
+
class Gl extends h {
|
|
10590
10590
|
constructor() {
|
|
10591
10591
|
super("MiLaboratories.PL.API.ControllerKVAPI.Set", []);
|
|
10592
10592
|
}
|
|
@@ -10614,8 +10614,8 @@ class Kl extends h {
|
|
|
10614
10614
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10615
10615
|
}
|
|
10616
10616
|
}
|
|
10617
|
-
new
|
|
10618
|
-
class
|
|
10617
|
+
new Gl();
|
|
10618
|
+
class Jl extends h {
|
|
10619
10619
|
constructor() {
|
|
10620
10620
|
super("MiLaboratories.PL.API.ControllerKVAPI.Set.Request", [
|
|
10621
10621
|
{
|
|
@@ -10678,8 +10678,8 @@ class jl extends h {
|
|
|
10678
10678
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10679
10679
|
}
|
|
10680
10680
|
}
|
|
10681
|
-
const an = new
|
|
10682
|
-
class
|
|
10681
|
+
const an = new Jl();
|
|
10682
|
+
class zl extends h {
|
|
10683
10683
|
constructor() {
|
|
10684
10684
|
super("MiLaboratories.PL.API.ControllerKVAPI.Set.Response", []);
|
|
10685
10685
|
}
|
|
@@ -10707,8 +10707,8 @@ class Vl extends h {
|
|
|
10707
10707
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10708
10708
|
}
|
|
10709
10709
|
}
|
|
10710
|
-
const ln = new
|
|
10711
|
-
class
|
|
10710
|
+
const ln = new zl();
|
|
10711
|
+
class Hl extends h {
|
|
10712
10712
|
constructor() {
|
|
10713
10713
|
super("MiLaboratories.PL.API.ControllerKVAPI.Get", []);
|
|
10714
10714
|
}
|
|
@@ -10736,8 +10736,8 @@ class Ml extends h {
|
|
|
10736
10736
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10737
10737
|
}
|
|
10738
10738
|
}
|
|
10739
|
-
new
|
|
10740
|
-
class
|
|
10739
|
+
new Hl();
|
|
10740
|
+
class Yl extends h {
|
|
10741
10741
|
constructor() {
|
|
10742
10742
|
super("MiLaboratories.PL.API.ControllerKVAPI.Get.Request", [
|
|
10743
10743
|
{
|
|
@@ -10789,8 +10789,8 @@ class Gl extends h {
|
|
|
10789
10789
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10790
10790
|
}
|
|
10791
10791
|
}
|
|
10792
|
-
const cn = new
|
|
10793
|
-
class
|
|
10792
|
+
const cn = new Yl();
|
|
10793
|
+
class Zl extends h {
|
|
10794
10794
|
constructor() {
|
|
10795
10795
|
super("MiLaboratories.PL.API.ControllerKVAPI.Get.Response", [
|
|
10796
10796
|
{
|
|
@@ -10831,8 +10831,8 @@ class Jl extends h {
|
|
|
10831
10831
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10832
10832
|
}
|
|
10833
10833
|
}
|
|
10834
|
-
const un = new
|
|
10835
|
-
class
|
|
10834
|
+
const un = new Zl();
|
|
10835
|
+
class Xl extends h {
|
|
10836
10836
|
constructor() {
|
|
10837
10837
|
super("MiLaboratories.PL.API.ControllerKVAPI.GetIfExists", []);
|
|
10838
10838
|
}
|
|
@@ -10860,8 +10860,8 @@ class zl extends h {
|
|
|
10860
10860
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10861
10861
|
}
|
|
10862
10862
|
}
|
|
10863
|
-
new
|
|
10864
|
-
class
|
|
10863
|
+
new Xl();
|
|
10864
|
+
class Ql extends h {
|
|
10865
10865
|
constructor() {
|
|
10866
10866
|
super("MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Request", [
|
|
10867
10867
|
{
|
|
@@ -10913,8 +10913,8 @@ class Hl extends h {
|
|
|
10913
10913
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10914
10914
|
}
|
|
10915
10915
|
}
|
|
10916
|
-
const fn = new
|
|
10917
|
-
class
|
|
10916
|
+
const fn = new Ql();
|
|
10917
|
+
class ec extends h {
|
|
10918
10918
|
constructor() {
|
|
10919
10919
|
super("MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Response", [
|
|
10920
10920
|
{
|
|
@@ -10966,8 +10966,8 @@ class Yl extends h {
|
|
|
10966
10966
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10967
10967
|
}
|
|
10968
10968
|
}
|
|
10969
|
-
const dn = new
|
|
10970
|
-
class
|
|
10969
|
+
const dn = new ec();
|
|
10970
|
+
class tc extends h {
|
|
10971
10971
|
constructor() {
|
|
10972
10972
|
super("MiLaboratories.PL.API.CacheAPI", []);
|
|
10973
10973
|
}
|
|
@@ -10995,8 +10995,8 @@ class Zl extends h {
|
|
|
10995
10995
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
10996
10996
|
}
|
|
10997
10997
|
}
|
|
10998
|
-
new
|
|
10999
|
-
class
|
|
10998
|
+
new tc();
|
|
10999
|
+
class nc extends h {
|
|
11000
11000
|
constructor() {
|
|
11001
11001
|
super("MiLaboratories.PL.API.CacheAPI.SetToField", []);
|
|
11002
11002
|
}
|
|
@@ -11024,12 +11024,12 @@ class Xl extends h {
|
|
|
11024
11024
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11025
11025
|
}
|
|
11026
11026
|
}
|
|
11027
|
-
new
|
|
11028
|
-
class
|
|
11027
|
+
new nc();
|
|
11028
|
+
class ic extends h {
|
|
11029
11029
|
constructor() {
|
|
11030
11030
|
super("MiLaboratories.PL.API.CacheAPI.SetToField.Request", [
|
|
11031
11031
|
{ no: 1, name: "id", kind: "message", T: () => m },
|
|
11032
|
-
{ no: 2, name: "period", kind: "message", T: () =>
|
|
11032
|
+
{ no: 2, name: "period", kind: "message", T: () => _ }
|
|
11033
11033
|
]);
|
|
11034
11034
|
}
|
|
11035
11035
|
create(e) {
|
|
@@ -11047,7 +11047,7 @@ class Ql extends h {
|
|
|
11047
11047
|
break;
|
|
11048
11048
|
case /* google.protobuf.Duration period */
|
|
11049
11049
|
2:
|
|
11050
|
-
r.period =
|
|
11050
|
+
r.period = _.internalBinaryRead(e, e.uint32(), i, r.period);
|
|
11051
11051
|
break;
|
|
11052
11052
|
default:
|
|
11053
11053
|
let s = i.readUnknownField;
|
|
@@ -11060,13 +11060,13 @@ class Ql extends h {
|
|
|
11060
11060
|
return r;
|
|
11061
11061
|
}
|
|
11062
11062
|
internalBinaryWrite(e, t, i) {
|
|
11063
|
-
e.id && m.internalBinaryWrite(e.id, t.tag(1, d.LengthDelimited).fork(), i).join(), e.period &&
|
|
11063
|
+
e.id && m.internalBinaryWrite(e.id, t.tag(1, d.LengthDelimited).fork(), i).join(), e.period && _.internalBinaryWrite(e.period, t.tag(2, d.LengthDelimited).fork(), i).join();
|
|
11064
11064
|
let n = i.writeUnknownFields;
|
|
11065
11065
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11066
11066
|
}
|
|
11067
11067
|
}
|
|
11068
|
-
const hn = new
|
|
11069
|
-
class
|
|
11068
|
+
const hn = new ic();
|
|
11069
|
+
class rc extends h {
|
|
11070
11070
|
constructor() {
|
|
11071
11071
|
super("MiLaboratories.PL.API.CacheAPI.SetToField.Response", []);
|
|
11072
11072
|
}
|
|
@@ -11094,8 +11094,8 @@ class ec extends h {
|
|
|
11094
11094
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11095
11095
|
}
|
|
11096
11096
|
}
|
|
11097
|
-
const pn = new
|
|
11098
|
-
class
|
|
11097
|
+
const pn = new rc();
|
|
11098
|
+
class sc extends h {
|
|
11099
11099
|
constructor() {
|
|
11100
11100
|
super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords", []);
|
|
11101
11101
|
}
|
|
@@ -11123,8 +11123,8 @@ class tc extends h {
|
|
|
11123
11123
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11124
11124
|
}
|
|
11125
11125
|
}
|
|
11126
|
-
new
|
|
11127
|
-
class
|
|
11126
|
+
new sc();
|
|
11127
|
+
class oc extends h {
|
|
11128
11128
|
constructor() {
|
|
11129
11129
|
super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Request", []);
|
|
11130
11130
|
}
|
|
@@ -11152,8 +11152,8 @@ class nc extends h {
|
|
|
11152
11152
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11153
11153
|
}
|
|
11154
11154
|
}
|
|
11155
|
-
const yn = new
|
|
11156
|
-
class
|
|
11155
|
+
const yn = new oc();
|
|
11156
|
+
class ac extends h {
|
|
11157
11157
|
constructor() {
|
|
11158
11158
|
super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Response", []);
|
|
11159
11159
|
}
|
|
@@ -11181,8 +11181,8 @@ class ic extends h {
|
|
|
11181
11181
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11182
11182
|
}
|
|
11183
11183
|
}
|
|
11184
|
-
const wn = new
|
|
11185
|
-
class
|
|
11184
|
+
const wn = new ac();
|
|
11185
|
+
class lc extends h {
|
|
11186
11186
|
constructor() {
|
|
11187
11187
|
super("MiLaboratories.PL.API.LocksAPI", []);
|
|
11188
11188
|
}
|
|
@@ -11210,8 +11210,8 @@ class rc extends h {
|
|
|
11210
11210
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11211
11211
|
}
|
|
11212
11212
|
}
|
|
11213
|
-
new
|
|
11214
|
-
class
|
|
11213
|
+
new lc();
|
|
11214
|
+
class cc extends h {
|
|
11215
11215
|
constructor() {
|
|
11216
11216
|
super("MiLaboratories.PL.API.LocksAPI.Lease", []);
|
|
11217
11217
|
}
|
|
@@ -11239,8 +11239,8 @@ class sc extends h {
|
|
|
11239
11239
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11240
11240
|
}
|
|
11241
11241
|
}
|
|
11242
|
-
new
|
|
11243
|
-
class
|
|
11242
|
+
new cc();
|
|
11243
|
+
class uc extends h {
|
|
11244
11244
|
constructor() {
|
|
11245
11245
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Create", []);
|
|
11246
11246
|
}
|
|
@@ -11268,8 +11268,8 @@ class oc extends h {
|
|
|
11268
11268
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11269
11269
|
}
|
|
11270
11270
|
}
|
|
11271
|
-
new
|
|
11272
|
-
class
|
|
11271
|
+
new uc();
|
|
11272
|
+
class fc extends h {
|
|
11273
11273
|
constructor() {
|
|
11274
11274
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Create.Request", [
|
|
11275
11275
|
{
|
|
@@ -11280,7 +11280,7 @@ class ac extends h {
|
|
|
11280
11280
|
L: 0
|
|
11281
11281
|
/*LongType.BIGINT*/
|
|
11282
11282
|
},
|
|
11283
|
-
{ no: 3, name: "timeout", kind: "message", T: () =>
|
|
11283
|
+
{ no: 3, name: "timeout", kind: "message", T: () => _ },
|
|
11284
11284
|
{
|
|
11285
11285
|
no: 4,
|
|
11286
11286
|
name: "name",
|
|
@@ -11305,7 +11305,7 @@ class ac extends h {
|
|
|
11305
11305
|
break;
|
|
11306
11306
|
case /* google.protobuf.Duration timeout */
|
|
11307
11307
|
3:
|
|
11308
|
-
r.timeout =
|
|
11308
|
+
r.timeout = _.internalBinaryRead(e, e.uint32(), i, r.timeout);
|
|
11309
11309
|
break;
|
|
11310
11310
|
case /* string name */
|
|
11311
11311
|
4:
|
|
@@ -11322,13 +11322,13 @@ class ac extends h {
|
|
|
11322
11322
|
return r;
|
|
11323
11323
|
}
|
|
11324
11324
|
internalBinaryWrite(e, t, i) {
|
|
11325
|
-
e.resourceId !== 0n && t.tag(1, d.Varint).uint64(e.resourceId), e.timeout &&
|
|
11325
|
+
e.resourceId !== 0n && t.tag(1, d.Varint).uint64(e.resourceId), e.timeout && _.internalBinaryWrite(e.timeout, t.tag(3, d.LengthDelimited).fork(), i).join(), e.name !== "" && t.tag(4, d.LengthDelimited).string(e.name);
|
|
11326
11326
|
let n = i.writeUnknownFields;
|
|
11327
11327
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11328
11328
|
}
|
|
11329
11329
|
}
|
|
11330
|
-
const
|
|
11331
|
-
class
|
|
11330
|
+
const dc = new fc();
|
|
11331
|
+
class hc extends h {
|
|
11332
11332
|
constructor() {
|
|
11333
11333
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Create.Response", [
|
|
11334
11334
|
{
|
|
@@ -11369,8 +11369,8 @@ class cc extends h {
|
|
|
11369
11369
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11370
11370
|
}
|
|
11371
11371
|
}
|
|
11372
|
-
const
|
|
11373
|
-
class
|
|
11372
|
+
const pc = new hc();
|
|
11373
|
+
class yc extends h {
|
|
11374
11374
|
constructor() {
|
|
11375
11375
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Update", []);
|
|
11376
11376
|
}
|
|
@@ -11398,8 +11398,8 @@ class fc extends h {
|
|
|
11398
11398
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11399
11399
|
}
|
|
11400
11400
|
}
|
|
11401
|
-
new
|
|
11402
|
-
class
|
|
11401
|
+
new yc();
|
|
11402
|
+
class wc extends h {
|
|
11403
11403
|
constructor() {
|
|
11404
11404
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Update.Request", [
|
|
11405
11405
|
{
|
|
@@ -11417,7 +11417,7 @@ class dc extends h {
|
|
|
11417
11417
|
T: 12
|
|
11418
11418
|
/*ScalarType.BYTES*/
|
|
11419
11419
|
},
|
|
11420
|
-
{ no: 3, name: "timeout", kind: "message", T: () =>
|
|
11420
|
+
{ no: 3, name: "timeout", kind: "message", T: () => _ },
|
|
11421
11421
|
{
|
|
11422
11422
|
no: 4,
|
|
11423
11423
|
name: "name",
|
|
@@ -11446,7 +11446,7 @@ class dc extends h {
|
|
|
11446
11446
|
break;
|
|
11447
11447
|
case /* google.protobuf.Duration timeout */
|
|
11448
11448
|
3:
|
|
11449
|
-
r.timeout =
|
|
11449
|
+
r.timeout = _.internalBinaryRead(e, e.uint32(), i, r.timeout);
|
|
11450
11450
|
break;
|
|
11451
11451
|
case /* string name */
|
|
11452
11452
|
4:
|
|
@@ -11463,13 +11463,13 @@ class dc extends h {
|
|
|
11463
11463
|
return r;
|
|
11464
11464
|
}
|
|
11465
11465
|
internalBinaryWrite(e, t, i) {
|
|
11466
|
-
e.resourceId !== 0n && t.tag(1, d.Varint).uint64(e.resourceId), e.leaseId.length && t.tag(2, d.LengthDelimited).bytes(e.leaseId), e.timeout &&
|
|
11466
|
+
e.resourceId !== 0n && t.tag(1, d.Varint).uint64(e.resourceId), e.leaseId.length && t.tag(2, d.LengthDelimited).bytes(e.leaseId), e.timeout && _.internalBinaryWrite(e.timeout, t.tag(3, d.LengthDelimited).fork(), i).join(), e.name !== "" && t.tag(4, d.LengthDelimited).string(e.name);
|
|
11467
11467
|
let n = i.writeUnknownFields;
|
|
11468
11468
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11469
11469
|
}
|
|
11470
11470
|
}
|
|
11471
|
-
const
|
|
11472
|
-
class
|
|
11471
|
+
const mc = new wc();
|
|
11472
|
+
class gc extends h {
|
|
11473
11473
|
constructor() {
|
|
11474
11474
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Update.Response", []);
|
|
11475
11475
|
}
|
|
@@ -11497,8 +11497,8 @@ class pc extends h {
|
|
|
11497
11497
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11498
11498
|
}
|
|
11499
11499
|
}
|
|
11500
|
-
const
|
|
11501
|
-
class
|
|
11500
|
+
const kc = new gc();
|
|
11501
|
+
class bc extends h {
|
|
11502
11502
|
constructor() {
|
|
11503
11503
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Release", []);
|
|
11504
11504
|
}
|
|
@@ -11526,8 +11526,8 @@ class wc extends h {
|
|
|
11526
11526
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11527
11527
|
}
|
|
11528
11528
|
}
|
|
11529
|
-
new
|
|
11530
|
-
class
|
|
11529
|
+
new bc();
|
|
11530
|
+
class Tc extends h {
|
|
11531
11531
|
constructor() {
|
|
11532
11532
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Release.Request", [
|
|
11533
11533
|
{
|
|
@@ -11580,8 +11580,8 @@ class mc extends h {
|
|
|
11580
11580
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11581
11581
|
}
|
|
11582
11582
|
}
|
|
11583
|
-
const
|
|
11584
|
-
class
|
|
11583
|
+
const Rc = new Tc();
|
|
11584
|
+
class Ic extends h {
|
|
11585
11585
|
constructor() {
|
|
11586
11586
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Release.Response", []);
|
|
11587
11587
|
}
|
|
@@ -11609,8 +11609,8 @@ class kc extends h {
|
|
|
11609
11609
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11610
11610
|
}
|
|
11611
11611
|
}
|
|
11612
|
-
const
|
|
11613
|
-
class
|
|
11612
|
+
const Pc = new Ic();
|
|
11613
|
+
class Nc extends h {
|
|
11614
11614
|
constructor() {
|
|
11615
11615
|
super("MiLaboratories.PL.API.AuthAPI", []);
|
|
11616
11616
|
}
|
|
@@ -11638,8 +11638,8 @@ class Tc extends h {
|
|
|
11638
11638
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11639
11639
|
}
|
|
11640
11640
|
}
|
|
11641
|
-
new
|
|
11642
|
-
class
|
|
11641
|
+
new Nc();
|
|
11642
|
+
class _c extends h {
|
|
11643
11643
|
constructor() {
|
|
11644
11644
|
super("MiLaboratories.PL.API.AuthAPI.ListMethods", []);
|
|
11645
11645
|
}
|
|
@@ -11667,8 +11667,8 @@ class Rc extends h {
|
|
|
11667
11667
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11668
11668
|
}
|
|
11669
11669
|
}
|
|
11670
|
-
new
|
|
11671
|
-
class
|
|
11670
|
+
new _c();
|
|
11671
|
+
class Lc extends h {
|
|
11672
11672
|
constructor() {
|
|
11673
11673
|
super("MiLaboratories.PL.API.AuthAPI.ListMethods.Request", []);
|
|
11674
11674
|
}
|
|
@@ -11696,8 +11696,8 @@ class Ic extends h {
|
|
|
11696
11696
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11697
11697
|
}
|
|
11698
11698
|
}
|
|
11699
|
-
const
|
|
11700
|
-
class
|
|
11699
|
+
const Ac = new Lc();
|
|
11700
|
+
class Bc extends h {
|
|
11701
11701
|
constructor() {
|
|
11702
11702
|
super("MiLaboratories.PL.API.AuthAPI.ListMethods.Response", [
|
|
11703
11703
|
{ no: 1, name: "methods", kind: "message", repeat: 1, T: () => mn }
|
|
@@ -11733,8 +11733,8 @@ class Nc extends h {
|
|
|
11733
11733
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11734
11734
|
}
|
|
11735
11735
|
}
|
|
11736
|
-
const
|
|
11737
|
-
class
|
|
11736
|
+
const $c = new Bc();
|
|
11737
|
+
class Uc extends h {
|
|
11738
11738
|
constructor() {
|
|
11739
11739
|
super("MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo", [
|
|
11740
11740
|
{
|
|
@@ -11814,8 +11814,8 @@ class Lc extends h {
|
|
|
11814
11814
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11815
11815
|
}
|
|
11816
11816
|
}
|
|
11817
|
-
const mn = new
|
|
11818
|
-
class
|
|
11817
|
+
const mn = new Uc();
|
|
11818
|
+
class Fc extends h {
|
|
11819
11819
|
constructor() {
|
|
11820
11820
|
super("MiLaboratories.PL.API.AuthAPI.GetJWTToken", []);
|
|
11821
11821
|
}
|
|
@@ -11843,11 +11843,11 @@ class Ac extends h {
|
|
|
11843
11843
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11844
11844
|
}
|
|
11845
11845
|
}
|
|
11846
|
-
new
|
|
11847
|
-
class
|
|
11846
|
+
new Fc();
|
|
11847
|
+
class Ec extends h {
|
|
11848
11848
|
constructor() {
|
|
11849
11849
|
super("MiLaboratories.PL.API.AuthAPI.GetJWTToken.Request", [
|
|
11850
|
-
{ no: 1, name: "expiration", kind: "message", T: () =>
|
|
11850
|
+
{ no: 1, name: "expiration", kind: "message", T: () => _ }
|
|
11851
11851
|
]);
|
|
11852
11852
|
}
|
|
11853
11853
|
create(e) {
|
|
@@ -11861,7 +11861,7 @@ class Bc extends h {
|
|
|
11861
11861
|
switch (a) {
|
|
11862
11862
|
case /* google.protobuf.Duration expiration */
|
|
11863
11863
|
1:
|
|
11864
|
-
r.expiration =
|
|
11864
|
+
r.expiration = _.internalBinaryRead(e, e.uint32(), i, r.expiration);
|
|
11865
11865
|
break;
|
|
11866
11866
|
default:
|
|
11867
11867
|
let s = i.readUnknownField;
|
|
@@ -11874,13 +11874,13 @@ class Bc extends h {
|
|
|
11874
11874
|
return r;
|
|
11875
11875
|
}
|
|
11876
11876
|
internalBinaryWrite(e, t, i) {
|
|
11877
|
-
e.expiration &&
|
|
11877
|
+
e.expiration && _.internalBinaryWrite(e.expiration, t.tag(1, d.LengthDelimited).fork(), i).join();
|
|
11878
11878
|
let n = i.writeUnknownFields;
|
|
11879
11879
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11880
11880
|
}
|
|
11881
11881
|
}
|
|
11882
|
-
const
|
|
11883
|
-
class
|
|
11882
|
+
const xc = new Ec();
|
|
11883
|
+
class Wc extends h {
|
|
11884
11884
|
constructor() {
|
|
11885
11885
|
super("MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response", [
|
|
11886
11886
|
{
|
|
@@ -11921,8 +11921,8 @@ class Uc extends h {
|
|
|
11921
11921
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11922
11922
|
}
|
|
11923
11923
|
}
|
|
11924
|
-
const
|
|
11925
|
-
class
|
|
11924
|
+
const Sc = new Wc();
|
|
11925
|
+
class Cc extends h {
|
|
11926
11926
|
constructor() {
|
|
11927
11927
|
super("MiLaboratories.PL.API.MiscAPI", []);
|
|
11928
11928
|
}
|
|
@@ -11950,8 +11950,8 @@ class Ec extends h {
|
|
|
11950
11950
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11951
11951
|
}
|
|
11952
11952
|
}
|
|
11953
|
-
new
|
|
11954
|
-
class
|
|
11953
|
+
new Cc();
|
|
11954
|
+
class Dc extends h {
|
|
11955
11955
|
constructor() {
|
|
11956
11956
|
super("MiLaboratories.PL.API.MiscAPI.ListResourceTypes", []);
|
|
11957
11957
|
}
|
|
@@ -11979,8 +11979,8 @@ class xc extends h {
|
|
|
11979
11979
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
11980
11980
|
}
|
|
11981
11981
|
}
|
|
11982
|
-
new
|
|
11983
|
-
class
|
|
11982
|
+
new Dc();
|
|
11983
|
+
class vc extends h {
|
|
11984
11984
|
constructor() {
|
|
11985
11985
|
super("MiLaboratories.PL.API.MiscAPI.ListResourceTypes.Request", []);
|
|
11986
11986
|
}
|
|
@@ -12008,8 +12008,8 @@ class Wc extends h {
|
|
|
12008
12008
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
12009
12009
|
}
|
|
12010
12010
|
}
|
|
12011
|
-
const
|
|
12012
|
-
class
|
|
12011
|
+
const Oc = new vc();
|
|
12012
|
+
class qc extends h {
|
|
12013
12013
|
constructor() {
|
|
12014
12014
|
super("MiLaboratories.PL.API.MiscAPI.ListResourceTypes.Response", [
|
|
12015
12015
|
{ no: 1, name: "types", kind: "message", repeat: 1, T: () => w }
|
|
@@ -12045,8 +12045,8 @@ class Cc extends h {
|
|
|
12045
12045
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
12046
12046
|
}
|
|
12047
12047
|
}
|
|
12048
|
-
const
|
|
12049
|
-
class
|
|
12048
|
+
const Kc = new qc();
|
|
12049
|
+
class jc extends h {
|
|
12050
12050
|
constructor() {
|
|
12051
12051
|
super("MiLaboratories.PL.API.MaintenanceAPI", []);
|
|
12052
12052
|
}
|
|
@@ -12074,8 +12074,8 @@ class vc extends h {
|
|
|
12074
12074
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
12075
12075
|
}
|
|
12076
12076
|
}
|
|
12077
|
-
new
|
|
12078
|
-
class
|
|
12077
|
+
new jc();
|
|
12078
|
+
class Vc extends h {
|
|
12079
12079
|
constructor() {
|
|
12080
12080
|
super("MiLaboratories.PL.API.MaintenanceAPI.Ping", []);
|
|
12081
12081
|
}
|
|
@@ -12103,8 +12103,8 @@ class Oc extends h {
|
|
|
12103
12103
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
12104
12104
|
}
|
|
12105
12105
|
}
|
|
12106
|
-
new
|
|
12107
|
-
class
|
|
12106
|
+
new Vc();
|
|
12107
|
+
class Mc extends h {
|
|
12108
12108
|
constructor() {
|
|
12109
12109
|
super("MiLaboratories.PL.API.MaintenanceAPI.Ping.Request", []);
|
|
12110
12110
|
}
|
|
@@ -12132,8 +12132,8 @@ class qc extends h {
|
|
|
12132
12132
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
12133
12133
|
}
|
|
12134
12134
|
}
|
|
12135
|
-
const
|
|
12136
|
-
class
|
|
12135
|
+
const Gc = new Mc();
|
|
12136
|
+
class Jc extends h {
|
|
12137
12137
|
constructor() {
|
|
12138
12138
|
super("MiLaboratories.PL.API.MaintenanceAPI.Ping.Response", [
|
|
12139
12139
|
{
|
|
@@ -12157,7 +12157,7 @@ class jc extends h {
|
|
|
12157
12157
|
T: 9
|
|
12158
12158
|
/*ScalarType.STRING*/
|
|
12159
12159
|
},
|
|
12160
|
-
{ no: 4, name: "compression", kind: "enum", T: () => ["MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression",
|
|
12160
|
+
{ no: 4, name: "compression", kind: "enum", T: () => ["MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression", Un] }
|
|
12161
12161
|
]);
|
|
12162
12162
|
}
|
|
12163
12163
|
create(e) {
|
|
@@ -12201,98 +12201,98 @@ class jc extends h {
|
|
|
12201
12201
|
return n !== !1 && (n == !0 ? f.onWrite : n)(this.typeName, e, t), t;
|
|
12202
12202
|
}
|
|
12203
12203
|
}
|
|
12204
|
-
const
|
|
12205
|
-
{ name: "Tx", serverStreaming: !0, clientStreaming: !0, options: {}, I:
|
|
12206
|
-
{ name: "TxSync", options: {}, I:
|
|
12207
|
-
{ name: "SubscriptionAttachFilter", options: {}, I:
|
|
12208
|
-
{ name: "SubscriptionDetachFilter", options: {}, I:
|
|
12209
|
-
{ name: "NotificationsGet", options: {}, I:
|
|
12210
|
-
{ name: "ControllerRegister", options: {}, I:
|
|
12211
|
-
{ name: "ControllerDeregister", options: {}, I:
|
|
12212
|
-
{ name: "ControllerCreate", options: {}, I:
|
|
12213
|
-
{ name: "ControllerExists", options: {}, I:
|
|
12214
|
-
{ name: "ControllerGet", options: {}, I:
|
|
12215
|
-
{ name: "ControllerUpdate", options: {}, I:
|
|
12216
|
-
{ name: "ControllerAttachSubscription", options: {}, I:
|
|
12217
|
-
{ name: "GetControllerNotifications", options: {}, I:
|
|
12218
|
-
{ name: "WriteControllerAliasesAndUrls", options: {}, I:
|
|
12219
|
-
{ name: "RemoveControllerAliasesAndUrls", options: {}, I:
|
|
12220
|
-
{ name: "GetControllerUrl", options: {}, I:
|
|
12221
|
-
{ name: "ControllerSetFeatures", options: {}, I:
|
|
12222
|
-
{ name: "ControllerClearFeatures", options: {}, I:
|
|
12223
|
-
{ name: "LeaseResource", options: {}, I:
|
|
12224
|
-
{ name: "UpdateLease", options: {}, I:
|
|
12225
|
-
{ name: "ReleaseLease", options: {}, I:
|
|
12226
|
-
{ name: "AuthMethods", options: {}, I:
|
|
12227
|
-
{ name: "GetJWTToken", options: {}, I:
|
|
12228
|
-
{ name: "ListResourceTypes", options: {}, I:
|
|
12229
|
-
{ name: "Ping", options: {}, I:
|
|
12204
|
+
const zc = new Jc(), gn = new er("MiLaboratories.PL.API.Platform", [
|
|
12205
|
+
{ name: "Tx", serverStreaming: !0, clientStreaming: !0, options: {}, I: Kr, O: Vr },
|
|
12206
|
+
{ name: "TxSync", options: {}, I: is, O: ss },
|
|
12207
|
+
{ name: "SubscriptionAttachFilter", options: {}, I: re, O: se },
|
|
12208
|
+
{ name: "SubscriptionDetachFilter", options: {}, I: oe, O: ae },
|
|
12209
|
+
{ name: "NotificationsGet", options: {}, I: ne, O: ie },
|
|
12210
|
+
{ name: "ControllerRegister", options: {}, I: ma, O: ka },
|
|
12211
|
+
{ name: "ControllerDeregister", options: {}, I: Fa, O: xa },
|
|
12212
|
+
{ name: "ControllerCreate", options: {}, I: Ca, O: va },
|
|
12213
|
+
{ name: "ControllerExists", options: {}, I: Ra, O: Pa },
|
|
12214
|
+
{ name: "ControllerGet", options: {}, I: Ka, O: Va },
|
|
12215
|
+
{ name: "ControllerUpdate", options: {}, I: La, O: Ba },
|
|
12216
|
+
{ name: "ControllerAttachSubscription", options: {}, I: Ja, O: Ha },
|
|
12217
|
+
{ name: "GetControllerNotifications", options: {}, I: Xa, O: el },
|
|
12218
|
+
{ name: "WriteControllerAliasesAndUrls", options: {}, I: il, O: sl },
|
|
12219
|
+
{ name: "RemoveControllerAliasesAndUrls", options: {}, I: hl, O: yl },
|
|
12220
|
+
{ name: "GetControllerUrl", options: {}, I: ll, O: ul },
|
|
12221
|
+
{ name: "ControllerSetFeatures", options: {}, I: le, O: ce },
|
|
12222
|
+
{ name: "ControllerClearFeatures", options: {}, I: ue, O: fe },
|
|
12223
|
+
{ name: "LeaseResource", options: {}, I: dc, O: pc },
|
|
12224
|
+
{ name: "UpdateLease", options: {}, I: mc, O: kc },
|
|
12225
|
+
{ name: "ReleaseLease", options: {}, I: Rc, O: Pc },
|
|
12226
|
+
{ name: "AuthMethods", options: {}, I: Ac, O: $c },
|
|
12227
|
+
{ name: "GetJWTToken", options: {}, I: xc, O: Sc },
|
|
12228
|
+
{ name: "ListResourceTypes", options: {}, I: Oc, O: Kc },
|
|
12229
|
+
{ name: "Ping", options: {}, I: Gc, O: zc }
|
|
12230
12230
|
]);
|
|
12231
|
-
function
|
|
12231
|
+
function Hc(l) {
|
|
12232
12232
|
return l instanceof ArrayBuffer || ArrayBuffer.isView(l);
|
|
12233
12233
|
}
|
|
12234
|
-
function
|
|
12234
|
+
function Yc(l) {
|
|
12235
12235
|
if (typeof l == "string") return Buffer.from(l);
|
|
12236
|
-
if (
|
|
12236
|
+
if (Hc(l)) return l;
|
|
12237
12237
|
throw new Error(`Unexpected type: ${l}`);
|
|
12238
12238
|
}
|
|
12239
|
-
function Li(l, e = !1) {
|
|
12240
|
-
return l instanceof Fi || l.name == "RpcError" && l.code == "UNAVAILABLE" ? !0 : l.cause !== void 0 && !e ? Li(l.cause, !0) : !1;
|
|
12241
|
-
}
|
|
12242
12239
|
function Ai(l, e = !1) {
|
|
12243
|
-
return l instanceof
|
|
12240
|
+
return l instanceof Ei || l.name == "RpcError" && l.code == "UNAVAILABLE" ? !0 : l.cause !== void 0 && !e ? Ai(l.cause, !0) : !1;
|
|
12244
12241
|
}
|
|
12245
12242
|
function Bi(l, e = !1) {
|
|
12246
|
-
return l instanceof
|
|
12243
|
+
return l instanceof xn || l.name == "RpcError" && l.code == "UNAUTHENTICATED" ? !0 : l.cause !== void 0 && !e ? Bi(l.cause, !0) : !1;
|
|
12247
12244
|
}
|
|
12248
|
-
|
|
12249
|
-
|
|
12245
|
+
function $i(l, e = !1) {
|
|
12246
|
+
return l instanceof wi || l.name == "AbortError" || l.code == "ABORT_ERR" || l.name == "RpcError" && (l.code == "CANCELLED" || l.code == "DEADLINE_EXCEEDED") ? !0 : l.cause !== void 0 && !e ? $i(l.cause, !0) : !1;
|
|
12247
|
+
}
|
|
12248
|
+
const Fn = 5;
|
|
12249
|
+
class Ui extends Error {
|
|
12250
12250
|
constructor(t) {
|
|
12251
12251
|
super(`code=${t.code} ${t.message}`);
|
|
12252
12252
|
y(this, "name", "PlError");
|
|
12253
12253
|
this.status = t;
|
|
12254
12254
|
}
|
|
12255
12255
|
}
|
|
12256
|
-
function
|
|
12257
|
-
throw new
|
|
12256
|
+
function Zc(l) {
|
|
12257
|
+
throw new En({ code: Fn, message: l, details: [] });
|
|
12258
12258
|
}
|
|
12259
|
-
class
|
|
12259
|
+
class En extends Ui {
|
|
12260
12260
|
constructor(t) {
|
|
12261
12261
|
super(t);
|
|
12262
12262
|
y(this, "name", "RecoverablePlError");
|
|
12263
12263
|
}
|
|
12264
12264
|
}
|
|
12265
|
-
class
|
|
12265
|
+
class Xc extends Ui {
|
|
12266
12266
|
constructor(t) {
|
|
12267
12267
|
super(t);
|
|
12268
12268
|
y(this, "name", "UnrecoverablePlError");
|
|
12269
12269
|
}
|
|
12270
12270
|
}
|
|
12271
|
-
function
|
|
12272
|
-
return l.name == "RpcError" && l.code == "NOT_FOUND" ? !0 : l.cause !== void 0 && !e ?
|
|
12271
|
+
function Fi(l, e = !1) {
|
|
12272
|
+
return l.name == "RpcError" && l.code == "NOT_FOUND" ? !0 : l.cause !== void 0 && !e ? Fi(l.cause, !0) : l instanceof En && l.status.code === Fn;
|
|
12273
12273
|
}
|
|
12274
|
-
class
|
|
12274
|
+
class xn extends Error {
|
|
12275
12275
|
constructor(t) {
|
|
12276
12276
|
super("LoginFailed: " + t);
|
|
12277
12277
|
y(this, "name", "UnauthenticatedError");
|
|
12278
12278
|
}
|
|
12279
12279
|
}
|
|
12280
|
-
class
|
|
12280
|
+
class Ei extends Error {
|
|
12281
12281
|
constructor(t) {
|
|
12282
12282
|
super("Disconnected: " + t);
|
|
12283
12283
|
y(this, "name", "DisconnectedError");
|
|
12284
12284
|
}
|
|
12285
12285
|
}
|
|
12286
|
-
function
|
|
12287
|
-
throw
|
|
12286
|
+
function Qc(l, e = !1) {
|
|
12287
|
+
throw Bi(l) ? new xn(l.message) : Ai(l) ? new Ei(l.message) : $i(l) ? new wi(l) : e ? new Error(l.message, { cause: l }) : l;
|
|
12288
12288
|
}
|
|
12289
|
-
const
|
|
12290
|
-
function
|
|
12289
|
+
const xi = "resourceError";
|
|
12290
|
+
function eu(l) {
|
|
12291
12291
|
return l.deletedTime !== void 0 && l.deletedTime.seconds !== 0n;
|
|
12292
12292
|
}
|
|
12293
|
-
function
|
|
12293
|
+
function Zn(l) {
|
|
12294
12294
|
var e;
|
|
12295
|
-
return
|
|
12295
|
+
return eu(l) && Zc("resource deleted"), {
|
|
12296
12296
|
id: l.id,
|
|
12297
12297
|
originalResourceId: l.originalResourceId,
|
|
12298
12298
|
type: R(l.type),
|
|
@@ -12300,40 +12300,40 @@ function Yn(l) {
|
|
|
12300
12300
|
inputsLocked: l.inputsLocked,
|
|
12301
12301
|
outputsLocked: l.outputsLocked,
|
|
12302
12302
|
resourceReady: l.resourceReady,
|
|
12303
|
-
kind:
|
|
12304
|
-
error:
|
|
12303
|
+
kind: tu(l.kind),
|
|
12304
|
+
error: nu(l),
|
|
12305
12305
|
final: l.isFinal,
|
|
12306
|
-
fields: (e = l.fields) == null ? void 0 : e.filter((t) => t.id.fieldName !==
|
|
12306
|
+
fields: (e = l.fields) == null ? void 0 : e.filter((t) => t.id.fieldName !== xi).map(Wi)
|
|
12307
12307
|
};
|
|
12308
12308
|
}
|
|
12309
|
-
function
|
|
12309
|
+
function tu(l) {
|
|
12310
12310
|
switch (l) {
|
|
12311
|
-
case
|
|
12311
|
+
case de.STRUCTURAL:
|
|
12312
12312
|
return "Structural";
|
|
12313
|
-
case
|
|
12313
|
+
case de.VALUE:
|
|
12314
12314
|
return "Value";
|
|
12315
12315
|
}
|
|
12316
12316
|
throw new Error("invalid ResourceKind: " + l);
|
|
12317
12317
|
}
|
|
12318
|
-
function
|
|
12318
|
+
function nu(l) {
|
|
12319
12319
|
const e = l.fields.find((t) => {
|
|
12320
12320
|
var i;
|
|
12321
|
-
return ((i = t == null ? void 0 : t.id) == null ? void 0 : i.fieldName) ===
|
|
12321
|
+
return ((i = t == null ? void 0 : t.id) == null ? void 0 : i.fieldName) === xi;
|
|
12322
12322
|
});
|
|
12323
12323
|
return (e == null ? void 0 : e.error) ?? S;
|
|
12324
12324
|
}
|
|
12325
|
-
function
|
|
12325
|
+
function Wi(l) {
|
|
12326
12326
|
var e;
|
|
12327
12327
|
return {
|
|
12328
12328
|
name: R((e = l.id) == null ? void 0 : e.fieldName),
|
|
12329
|
-
type:
|
|
12330
|
-
status:
|
|
12329
|
+
type: iu(l.type),
|
|
12330
|
+
status: ru(l.valueStatus),
|
|
12331
12331
|
value: l.value,
|
|
12332
12332
|
error: l.error,
|
|
12333
12333
|
valueIsFinal: l.valueIsFinal
|
|
12334
12334
|
};
|
|
12335
12335
|
}
|
|
12336
|
-
function
|
|
12336
|
+
function iu(l) {
|
|
12337
12337
|
switch (l) {
|
|
12338
12338
|
case k.INPUT:
|
|
12339
12339
|
return "Input";
|
|
@@ -12351,19 +12351,19 @@ function Qc(l) {
|
|
|
12351
12351
|
throw new Error("invalid FieldType: " + l);
|
|
12352
12352
|
}
|
|
12353
12353
|
}
|
|
12354
|
-
function
|
|
12354
|
+
function ru(l) {
|
|
12355
12355
|
switch (l) {
|
|
12356
|
-
case
|
|
12356
|
+
case Y.EMPTY:
|
|
12357
12357
|
return "Empty";
|
|
12358
|
-
case
|
|
12358
|
+
case Y.ASSIGNED:
|
|
12359
12359
|
return "Assigned";
|
|
12360
|
-
case
|
|
12360
|
+
case Y.RESOLVED:
|
|
12361
12361
|
return "Resolved";
|
|
12362
12362
|
default:
|
|
12363
12363
|
throw new Error("invalid FieldStatus: " + l);
|
|
12364
12364
|
}
|
|
12365
12365
|
}
|
|
12366
|
-
function
|
|
12366
|
+
function su(l) {
|
|
12367
12367
|
switch (l) {
|
|
12368
12368
|
case "Input":
|
|
12369
12369
|
return k.INPUT;
|
|
@@ -12378,10 +12378,10 @@ function tu(l) {
|
|
|
12378
12378
|
case "OTW":
|
|
12379
12379
|
return k.ONE_TIME_WRITABLE;
|
|
12380
12380
|
default:
|
|
12381
|
-
return
|
|
12381
|
+
return mi(l);
|
|
12382
12382
|
}
|
|
12383
12383
|
}
|
|
12384
|
-
function
|
|
12384
|
+
function Si() {
|
|
12385
12385
|
return {
|
|
12386
12386
|
txCount: 0,
|
|
12387
12387
|
rootsCreated: 0,
|
|
@@ -12411,9 +12411,16 @@ function fe() {
|
|
|
12411
12411
|
kvGetBytes: 0
|
|
12412
12412
|
};
|
|
12413
12413
|
}
|
|
12414
|
+
function kn() {
|
|
12415
|
+
return {
|
|
12416
|
+
...Si(),
|
|
12417
|
+
timeMs: 0
|
|
12418
|
+
};
|
|
12419
|
+
}
|
|
12414
12420
|
function G(l, e) {
|
|
12415
12421
|
return {
|
|
12416
12422
|
txCount: l.txCount + e.txCount,
|
|
12423
|
+
timeMs: l.timeMs + e.timeMs,
|
|
12417
12424
|
rootsCreated: l.rootsCreated + e.rootsCreated,
|
|
12418
12425
|
structsCreated: l.structsCreated + e.structsCreated,
|
|
12419
12426
|
structsCreatedDataBytes: l.structsCreatedDataBytes + e.structsCreatedDataBytes,
|
|
@@ -12441,47 +12448,51 @@ function G(l, e) {
|
|
|
12441
12448
|
kvGetBytes: l.kvGetBytes + e.kvGetBytes
|
|
12442
12449
|
};
|
|
12443
12450
|
}
|
|
12444
|
-
const
|
|
12451
|
+
const ou = {
|
|
12445
12452
|
name: "json/resourceError",
|
|
12446
12453
|
version: "1"
|
|
12447
12454
|
};
|
|
12448
|
-
function
|
|
12455
|
+
function pf(l) {
|
|
12449
12456
|
return l.hasOwnProperty("resourceId") && l.hasOwnProperty("fieldName");
|
|
12450
12457
|
}
|
|
12451
|
-
function
|
|
12458
|
+
function au(l) {
|
|
12452
12459
|
return typeof l == "bigint" || l.hasOwnProperty("globalId") && l.hasOwnProperty("localId");
|
|
12453
12460
|
}
|
|
12454
|
-
function
|
|
12461
|
+
function yf(l) {
|
|
12455
12462
|
return typeof l == "bigint" && !x(l) && !B(l);
|
|
12456
12463
|
}
|
|
12457
|
-
function
|
|
12464
|
+
function Ci(l) {
|
|
12458
12465
|
return M(l.resourceId);
|
|
12459
12466
|
}
|
|
12460
12467
|
function M(l) {
|
|
12461
12468
|
return l.hasOwnProperty("globalId") && l.hasOwnProperty("localId");
|
|
12462
12469
|
}
|
|
12463
12470
|
function A(l) {
|
|
12464
|
-
return
|
|
12471
|
+
return Ci(l) ? { resourceId: l.resourceId.localId, fieldName: l.fieldName } : l;
|
|
12465
12472
|
}
|
|
12466
|
-
async function
|
|
12467
|
-
return
|
|
12473
|
+
async function wf(l) {
|
|
12474
|
+
return Ci(l) ? { resourceId: await l.resourceId.globalId, fieldName: l.fieldName } : l;
|
|
12468
12475
|
}
|
|
12469
12476
|
function T(l) {
|
|
12470
12477
|
return M(l) ? l.localId : l;
|
|
12471
12478
|
}
|
|
12472
|
-
async function
|
|
12479
|
+
async function lu(l) {
|
|
12473
12480
|
return M(l) ? await l.globalId : l;
|
|
12474
12481
|
}
|
|
12475
|
-
function
|
|
12482
|
+
function Wn(l, e) {
|
|
12476
12483
|
return { resourceId: l, fieldName: e };
|
|
12477
12484
|
}
|
|
12478
|
-
class
|
|
12485
|
+
class Di extends Error {
|
|
12486
|
+
constructor() {
|
|
12487
|
+
super(...arguments);
|
|
12488
|
+
y(this, "name", "TxCommitConflict");
|
|
12489
|
+
}
|
|
12479
12490
|
}
|
|
12480
|
-
async function
|
|
12491
|
+
async function te(l) {
|
|
12481
12492
|
try {
|
|
12482
12493
|
return await l();
|
|
12483
12494
|
} catch (e) {
|
|
12484
|
-
if (
|
|
12495
|
+
if (Fi(e)) return;
|
|
12485
12496
|
throw e;
|
|
12486
12497
|
}
|
|
12487
12498
|
}
|
|
@@ -12501,13 +12512,14 @@ const $ = class $ {
|
|
|
12501
12512
|
* pending ops, to throw any pending errors. */
|
|
12502
12513
|
y(this, "pendingVoidOps", []);
|
|
12503
12514
|
y(this, "globalTxIdWasAwaited", !1);
|
|
12504
|
-
y(this, "
|
|
12515
|
+
y(this, "_startTime", Date.now());
|
|
12516
|
+
y(this, "_stat", Si());
|
|
12505
12517
|
this.ll = e, this.name = t, this.writable = i, this._clientRoot = n, this.finalPredicate = r, this.sharedResourceDataCache = c, this.globalTxId = this.sendSingleAndParse(
|
|
12506
12518
|
{
|
|
12507
12519
|
oneofKind: "txOpen",
|
|
12508
12520
|
txOpen: {
|
|
12509
12521
|
name: t,
|
|
12510
|
-
writable: i ?
|
|
12522
|
+
writable: i ? he.WRITABLE : he.NOT_WRITABLE
|
|
12511
12523
|
}
|
|
12512
12524
|
},
|
|
12513
12525
|
(a) => {
|
|
@@ -12516,7 +12528,13 @@ const $ = class $ {
|
|
|
12516
12528
|
}
|
|
12517
12529
|
), this.globalTxId.catch((a) => {
|
|
12518
12530
|
this.globalTxIdWasAwaited || console.warn(a);
|
|
12519
|
-
}), this.
|
|
12531
|
+
}), this._stat.txCount++;
|
|
12532
|
+
}
|
|
12533
|
+
get stat() {
|
|
12534
|
+
return {
|
|
12535
|
+
...this._stat,
|
|
12536
|
+
timeMs: Date.now() - this._startTime
|
|
12537
|
+
};
|
|
12520
12538
|
}
|
|
12521
12539
|
async drainAndAwaitPendingOps() {
|
|
12522
12540
|
if (this.pendingVoidOps.length === 0) return;
|
|
@@ -12552,7 +12570,7 @@ const $ = class $ {
|
|
|
12552
12570
|
{ oneofKind: "txCommit", txCommit: {} },
|
|
12553
12571
|
(i) => i.txCommit.success
|
|
12554
12572
|
), t = this.ll.complete();
|
|
12555
|
-
if (await this.drainAndAwaitPendingOps(), !await e) throw new
|
|
12573
|
+
if (await this.drainAndAwaitPendingOps(), !await e) throw new Di();
|
|
12556
12574
|
await t, await this.ll.await();
|
|
12557
12575
|
} else {
|
|
12558
12576
|
const e = this.ll.complete();
|
|
@@ -12568,7 +12586,7 @@ const $ = class $ {
|
|
|
12568
12586
|
// Main tx methods
|
|
12569
12587
|
//
|
|
12570
12588
|
get clientRoot() {
|
|
12571
|
-
return
|
|
12589
|
+
return In(this._clientRoot);
|
|
12572
12590
|
}
|
|
12573
12591
|
//
|
|
12574
12592
|
// Resources
|
|
@@ -12597,7 +12615,7 @@ const $ = class $ {
|
|
|
12597
12615
|
loadFields: t
|
|
12598
12616
|
}
|
|
12599
12617
|
},
|
|
12600
|
-
(i) =>
|
|
12618
|
+
(i) => Zn(R(i.resourceGetSingleton.resource))
|
|
12601
12619
|
);
|
|
12602
12620
|
}
|
|
12603
12621
|
createResource(e, t, i) {
|
|
@@ -12605,14 +12623,14 @@ const $ = class $ {
|
|
|
12605
12623
|
return { globalId: this.sendSingleAndParse(t(n), (c) => i(c)), localId: n };
|
|
12606
12624
|
}
|
|
12607
12625
|
createRoot(e) {
|
|
12608
|
-
return this.
|
|
12626
|
+
return this._stat.rootsCreated++, this.createResource(
|
|
12609
12627
|
!0,
|
|
12610
12628
|
(t) => ({ oneofKind: "resourceCreateRoot", resourceCreateRoot: { type: e, id: t } }),
|
|
12611
12629
|
(t) => t.resourceCreateRoot.resourceId
|
|
12612
12630
|
);
|
|
12613
12631
|
}
|
|
12614
12632
|
createStruct(e, t) {
|
|
12615
|
-
return this.
|
|
12633
|
+
return this._stat.structsCreated++, this._stat.structsCreatedDataBytes += (t == null ? void 0 : t.length) ?? 0, this.createResource(
|
|
12616
12634
|
!1,
|
|
12617
12635
|
(i) => ({
|
|
12618
12636
|
oneofKind: "resourceCreateStruct",
|
|
@@ -12626,7 +12644,7 @@ const $ = class $ {
|
|
|
12626
12644
|
);
|
|
12627
12645
|
}
|
|
12628
12646
|
createEphemeral(e, t) {
|
|
12629
|
-
return this.
|
|
12647
|
+
return this._stat.ephemeralsCreated++, this._stat.ephemeralsCreatedDataBytes += (t == null ? void 0 : t.length) ?? 0, this.createResource(
|
|
12630
12648
|
!1,
|
|
12631
12649
|
(i) => ({
|
|
12632
12650
|
oneofKind: "resourceCreateEphemeral",
|
|
@@ -12640,7 +12658,7 @@ const $ = class $ {
|
|
|
12640
12658
|
);
|
|
12641
12659
|
}
|
|
12642
12660
|
createValue(e, t, i = !1) {
|
|
12643
|
-
return this.
|
|
12661
|
+
return this._stat.valuesCreated++, this._stat.valuesCreatedDataBytes += (t == null ? void 0 : t.length) ?? 0, this.createResource(
|
|
12644
12662
|
!1,
|
|
12645
12663
|
(n) => ({
|
|
12646
12664
|
oneofKind: "resourceCreateValue",
|
|
@@ -12654,8 +12672,16 @@ const $ = class $ {
|
|
|
12654
12672
|
(n) => n.resourceCreateValue.resourceId
|
|
12655
12673
|
);
|
|
12656
12674
|
}
|
|
12675
|
+
createJsonValue(e) {
|
|
12676
|
+
const t = Xi(e);
|
|
12677
|
+
return this.createValue(pe, t, !1);
|
|
12678
|
+
}
|
|
12679
|
+
createJsonGzValue(e, t = 16384) {
|
|
12680
|
+
const { data: i, isGzipped: n } = Qi(e, t);
|
|
12681
|
+
return this.createValue(n ? qi : pe, i, !1);
|
|
12682
|
+
}
|
|
12657
12683
|
createError(e) {
|
|
12658
|
-
return this.createValue(
|
|
12684
|
+
return this.createValue(ou, JSON.stringify({ message: e }));
|
|
12659
12685
|
}
|
|
12660
12686
|
setResourceName(e, t) {
|
|
12661
12687
|
this.sendVoidAsync({
|
|
@@ -12669,7 +12695,7 @@ const $ = class $ {
|
|
|
12669
12695
|
async getResourceByName(e) {
|
|
12670
12696
|
return await this.sendSingleAndParse(
|
|
12671
12697
|
{ oneofKind: "resourceNameGet", resourceNameGet: { name: e } },
|
|
12672
|
-
(t) =>
|
|
12698
|
+
(t) => In(t.resourceNameGet.resourceId)
|
|
12673
12699
|
);
|
|
12674
12700
|
}
|
|
12675
12701
|
async checkResourceNameExists(e) {
|
|
@@ -12694,24 +12720,24 @@ const $ = class $ {
|
|
|
12694
12720
|
if (o && o.cacheTxOpenTimestamp < this.txOpenTimestamp)
|
|
12695
12721
|
if (t) {
|
|
12696
12722
|
if (o.data)
|
|
12697
|
-
return this.
|
|
12698
|
-
} else return this.
|
|
12723
|
+
return this._stat.rGetDataCacheHits++, this._stat.rGetDataCacheBytes += ((c = o.basicData.data) == null ? void 0 : c.length) ?? 0, this._stat.rGetDataCacheFields += o.data.fields.length, o.data;
|
|
12724
|
+
} else return this._stat.rGetDataCacheHits++, this._stat.rGetDataCacheBytes += ((r = o.basicData.data) == null ? void 0 : r.length) ?? 0, o.basicData;
|
|
12699
12725
|
}
|
|
12700
12726
|
const n = await this.sendSingleAndParse(
|
|
12701
12727
|
{
|
|
12702
12728
|
oneofKind: "resourceGet",
|
|
12703
12729
|
resourceGet: { resourceId: T(e), loadFields: t }
|
|
12704
12730
|
},
|
|
12705
|
-
(o) =>
|
|
12731
|
+
(o) => Zn(R(o.resourceGet.resource))
|
|
12706
12732
|
);
|
|
12707
|
-
if (this.
|
|
12708
|
-
|
|
12733
|
+
if (this._stat.rGetDataNetRequests++, this._stat.rGetDataNetBytes += ((a = n.data) == null ? void 0 : a.length) ?? 0, this._stat.rGetDataNetFields += n.fields.length, !M(e) && !x(e) && this.finalPredicate(n)) {
|
|
12734
|
+
Vn(n);
|
|
12709
12735
|
const o = this.sharedResourceDataCache.get(e);
|
|
12710
12736
|
if (o)
|
|
12711
12737
|
t && !o.data && (o.data = n, o.cacheTxOpenTimestamp = this.txOpenTimestamp);
|
|
12712
12738
|
else {
|
|
12713
|
-
const s =
|
|
12714
|
-
|
|
12739
|
+
const s = cr(n);
|
|
12740
|
+
Vn(s), t ? this.sharedResourceDataCache.set(e, {
|
|
12715
12741
|
basicData: s,
|
|
12716
12742
|
data: n,
|
|
12717
12743
|
cacheTxOpenTimestamp: this.txOpenTimestamp
|
|
@@ -12725,7 +12751,7 @@ const $ = class $ {
|
|
|
12725
12751
|
return n;
|
|
12726
12752
|
}
|
|
12727
12753
|
async getResourceDataIfExists(e, t = !0) {
|
|
12728
|
-
const i = await
|
|
12754
|
+
const i = await te(
|
|
12729
12755
|
async () => await this.getResourceData(e, t, !0)
|
|
12730
12756
|
);
|
|
12731
12757
|
return i === void 0 && !M(e) && !x(e) && this.sharedResourceDataCache.delete(e), i;
|
|
@@ -12738,7 +12764,7 @@ const $ = class $ {
|
|
|
12738
12764
|
* have their values, if inputs list is not locked.
|
|
12739
12765
|
*/
|
|
12740
12766
|
lockInputs(e) {
|
|
12741
|
-
this.
|
|
12767
|
+
this._stat.inputsLocked++, this.sendVoidAsync({
|
|
12742
12768
|
oneofKind: "resourceLockInputs",
|
|
12743
12769
|
resourceLockInputs: { resourceId: T(e) }
|
|
12744
12770
|
});
|
|
@@ -12748,7 +12774,7 @@ const $ = class $ {
|
|
|
12748
12774
|
* This is required for resource to pass deduplication.
|
|
12749
12775
|
*/
|
|
12750
12776
|
lockOutputs(e) {
|
|
12751
|
-
this.
|
|
12777
|
+
this._stat.outputsLocked++, this.sendVoidAsync({
|
|
12752
12778
|
oneofKind: "resourceLockOutputs",
|
|
12753
12779
|
resourceLockOutputs: { resourceId: T(e) }
|
|
12754
12780
|
});
|
|
@@ -12766,9 +12792,9 @@ const $ = class $ {
|
|
|
12766
12792
|
// Fields
|
|
12767
12793
|
//
|
|
12768
12794
|
createField(e, t, i) {
|
|
12769
|
-
this.
|
|
12795
|
+
this._stat.fieldsCreated++, this.sendVoidAsync({
|
|
12770
12796
|
oneofKind: "fieldCreate",
|
|
12771
|
-
fieldCreate: { type:
|
|
12797
|
+
fieldCreate: { type: su(t), id: A(e) }
|
|
12772
12798
|
}), i !== void 0 && this.setField(e, i);
|
|
12773
12799
|
}
|
|
12774
12800
|
async fieldExists(e) {
|
|
@@ -12781,7 +12807,7 @@ const $ = class $ {
|
|
|
12781
12807
|
);
|
|
12782
12808
|
}
|
|
12783
12809
|
setField(e, t) {
|
|
12784
|
-
this.
|
|
12810
|
+
this._stat.fieldsSet++, au(t) ? this.sendVoidAsync({
|
|
12785
12811
|
oneofKind: "fieldSet",
|
|
12786
12812
|
fieldSet: {
|
|
12787
12813
|
field: A(e),
|
|
@@ -12800,19 +12826,19 @@ const $ = class $ {
|
|
|
12800
12826
|
});
|
|
12801
12827
|
}
|
|
12802
12828
|
setFieldError(e, t) {
|
|
12803
|
-
this.
|
|
12829
|
+
this._stat.fieldsSet++, this.sendVoidAsync({
|
|
12804
12830
|
oneofKind: "fieldSetError",
|
|
12805
12831
|
fieldSetError: { field: A(e), errResourceId: T(t) }
|
|
12806
12832
|
});
|
|
12807
12833
|
}
|
|
12808
12834
|
async getField(e) {
|
|
12809
|
-
return this.
|
|
12835
|
+
return this._stat.fieldsGet++, await this.sendSingleAndParse(
|
|
12810
12836
|
{ oneofKind: "fieldGet", fieldGet: { field: A(e) } },
|
|
12811
|
-
(t) =>
|
|
12837
|
+
(t) => Wi(R(t.fieldGet.field))
|
|
12812
12838
|
);
|
|
12813
12839
|
}
|
|
12814
12840
|
async getFieldIfExists(e) {
|
|
12815
|
-
return
|
|
12841
|
+
return te(async () => await this.getField(e));
|
|
12816
12842
|
}
|
|
12817
12843
|
resetField(e) {
|
|
12818
12844
|
this.sendVoidAsync({ oneofKind: "fieldReset", fieldReset: { field: A(e) } });
|
|
@@ -12831,8 +12857,8 @@ const $ = class $ {
|
|
|
12831
12857
|
},
|
|
12832
12858
|
(i) => i.map((n) => n.resourceKeyValueList.record)
|
|
12833
12859
|
);
|
|
12834
|
-
this.
|
|
12835
|
-
for (const i of t) this.
|
|
12860
|
+
this._stat.kvListRequests++, this._stat.kvListEntries += t.length;
|
|
12861
|
+
for (const i of t) this._stat.kvListBytes += i.key.length + i.value.length;
|
|
12836
12862
|
return t;
|
|
12837
12863
|
}
|
|
12838
12864
|
async listKeyValuesString(e) {
|
|
@@ -12842,18 +12868,18 @@ const $ = class $ {
|
|
|
12842
12868
|
}));
|
|
12843
12869
|
}
|
|
12844
12870
|
async listKeyValuesIfResourceExists(e) {
|
|
12845
|
-
return
|
|
12871
|
+
return te(async () => await this.listKeyValues(e));
|
|
12846
12872
|
}
|
|
12847
12873
|
async listKeyValuesStringIfResourceExists(e) {
|
|
12848
|
-
return
|
|
12874
|
+
return te(async () => await this.listKeyValuesString(e));
|
|
12849
12875
|
}
|
|
12850
12876
|
setKValue(e, t, i) {
|
|
12851
|
-
this.
|
|
12877
|
+
this._stat.kvSetRequests++, this._stat.kvSetBytes++, this.sendVoidAsync({
|
|
12852
12878
|
oneofKind: "resourceKeyValueSet",
|
|
12853
12879
|
resourceKeyValueSet: {
|
|
12854
12880
|
resourceId: T(e),
|
|
12855
12881
|
key: t,
|
|
12856
|
-
value:
|
|
12882
|
+
value: Yc(i)
|
|
12857
12883
|
}
|
|
12858
12884
|
});
|
|
12859
12885
|
}
|
|
@@ -12874,7 +12900,7 @@ const $ = class $ {
|
|
|
12874
12900
|
},
|
|
12875
12901
|
(n) => n.resourceKeyValueGet.value
|
|
12876
12902
|
);
|
|
12877
|
-
return this.
|
|
12903
|
+
return this._stat.kvGetRequests++, this._stat.kvGetBytes += i.length, i;
|
|
12878
12904
|
}
|
|
12879
12905
|
async getKValueString(e, t) {
|
|
12880
12906
|
return Buffer.from(await this.getKValue(e, t)).toString();
|
|
@@ -12890,7 +12916,7 @@ const $ = class $ {
|
|
|
12890
12916
|
},
|
|
12891
12917
|
(n) => n.resourceKeyValueGetIfExists.exists ? n.resourceKeyValueGetIfExists.value : void 0
|
|
12892
12918
|
);
|
|
12893
|
-
return this.
|
|
12919
|
+
return this._stat.kvGetRequests++, this._stat.kvGetBytes += (i == null ? void 0 : i.length) ?? 0, i;
|
|
12894
12920
|
}
|
|
12895
12921
|
async getKValueStringIfExists(e, t) {
|
|
12896
12922
|
const i = await this.getKValueIfExists(e, t);
|
|
@@ -12935,97 +12961,98 @@ const $ = class $ {
|
|
|
12935
12961
|
// Helpers
|
|
12936
12962
|
//
|
|
12937
12963
|
nextLocalResourceId(e) {
|
|
12938
|
-
return
|
|
12964
|
+
return _i(e, ++this.localResourceIdCounter, this.localTxId);
|
|
12939
12965
|
}
|
|
12940
12966
|
static nextLocalTxId() {
|
|
12941
|
-
return $.localTxIdCounter++, $.localTxIdCounter ===
|
|
12967
|
+
return $.localTxIdCounter++, $.localTxIdCounter === $n && ($.localTxIdCounter = 1), $.localTxIdCounter;
|
|
12942
12968
|
}
|
|
12943
12969
|
};
|
|
12944
12970
|
y($, "localTxIdCounter", 0);
|
|
12945
|
-
let
|
|
12946
|
-
function
|
|
12971
|
+
let Pn = $;
|
|
12972
|
+
function P(l, e) {
|
|
12947
12973
|
return { name: l, version: e };
|
|
12948
12974
|
}
|
|
12949
|
-
const
|
|
12950
|
-
function
|
|
12951
|
-
return l.createValue(
|
|
12975
|
+
const Nn = P("ClientRoot", "1"), cu = P("StructTest", "1"), uu = P("ValueTest", "1"), vi = P("json/string", "1"), Oi = P("json/bool", "1"), pe = P("json/object", "1"), qi = P("json-gz/object", "1"), Ki = P("json/array", "1"), ji = P("json/number", "1"), Vi = P("json/null", "1"), fu = P("Null", "1"), Sn = P("EphStdMap", "1"), Cn = P("StdMap", "1");
|
|
12976
|
+
function du(l) {
|
|
12977
|
+
return l.createValue(Vi, Buffer.from(JSON.stringify(null)));
|
|
12952
12978
|
}
|
|
12953
|
-
function
|
|
12954
|
-
return l.createValue(
|
|
12979
|
+
function hu(l, e) {
|
|
12980
|
+
return l.createValue(Oi, Buffer.from(JSON.stringify(e)));
|
|
12955
12981
|
}
|
|
12956
|
-
function
|
|
12957
|
-
return l.createValue(
|
|
12982
|
+
function pu(l, e) {
|
|
12983
|
+
return l.createValue(ji, Buffer.from(JSON.stringify(e)));
|
|
12958
12984
|
}
|
|
12959
|
-
function
|
|
12960
|
-
return l.createValue(
|
|
12985
|
+
function yu(l, e) {
|
|
12986
|
+
return l.createValue(vi, Buffer.from(JSON.stringify(e)));
|
|
12961
12987
|
}
|
|
12962
|
-
function
|
|
12963
|
-
return l.createValue(
|
|
12988
|
+
function wu(l, e) {
|
|
12989
|
+
return l.createValue(Ki, Buffer.from(JSON.stringify(e)));
|
|
12964
12990
|
}
|
|
12965
|
-
function
|
|
12966
|
-
return l.createValue(
|
|
12991
|
+
function mu(l, e) {
|
|
12992
|
+
return l.createValue(pe, Buffer.from(JSON.stringify(e)));
|
|
12967
12993
|
}
|
|
12968
|
-
function
|
|
12994
|
+
function Dn(l, e) {
|
|
12969
12995
|
return [l, e];
|
|
12970
12996
|
}
|
|
12971
|
-
function
|
|
12972
|
-
return e === void 0 ? Object.entries(l) : e.map((t) =>
|
|
12997
|
+
function Mi(l, e) {
|
|
12998
|
+
return e === void 0 ? Object.entries(l) : e.map((t) => Dn(t, l[t]));
|
|
12973
12999
|
}
|
|
12974
|
-
function
|
|
12975
|
-
const n = i ?? (t ?
|
|
12976
|
-
for (const [c, a] of Array.isArray(e) ? e :
|
|
12977
|
-
l.createField(
|
|
13000
|
+
function gu(l, e, t, i) {
|
|
13001
|
+
const n = i ?? (t ? Sn : Cn), r = t ? l.createEphemeral(n) : l.createStruct(n);
|
|
13002
|
+
for (const [c, a] of Array.isArray(e) ? e : Mi(e))
|
|
13003
|
+
l.createField(Wn(r, c), "Input", a);
|
|
12978
13004
|
return l.lock(r), r;
|
|
12979
13005
|
}
|
|
12980
|
-
function
|
|
13006
|
+
function ku(l, e, t, i, n = "") {
|
|
12981
13007
|
return Object.fromEntries(
|
|
12982
|
-
t.map((r) =>
|
|
13008
|
+
t.map((r) => Dn(r, l.getFutureFieldValue(e, `${n}${r}`, i)))
|
|
12983
13009
|
);
|
|
12984
13010
|
}
|
|
12985
|
-
const
|
|
12986
|
-
function
|
|
12987
|
-
const t = l.createStruct(
|
|
13011
|
+
const Gi = Cn, Ji = Sn, me = "ref";
|
|
13012
|
+
function bu(l, e) {
|
|
13013
|
+
const t = l.createStruct(Gi), i = Wn(t, me);
|
|
12988
13014
|
return l.createField(i, "Input", e), l.lock(t), t;
|
|
12989
13015
|
}
|
|
12990
|
-
function
|
|
12991
|
-
const t = l.createEphemeral(
|
|
13016
|
+
function Tu(l, e) {
|
|
13017
|
+
const t = l.createEphemeral(Ji), i = Wn(t, me);
|
|
12992
13018
|
return l.createField(i, "Input", e), l.lock(t), t;
|
|
12993
13019
|
}
|
|
12994
|
-
function
|
|
13020
|
+
function Ru(l, e) {
|
|
12995
13021
|
return l.getFutureFieldValue(e, me, "Input");
|
|
12996
13022
|
}
|
|
12997
|
-
const
|
|
13023
|
+
const mf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12998
13024
|
__proto__: null,
|
|
12999
|
-
ClientRoot:
|
|
13000
|
-
EphHolder:
|
|
13001
|
-
EphStdMap:
|
|
13002
|
-
Holder:
|
|
13025
|
+
ClientRoot: Nn,
|
|
13026
|
+
EphHolder: Ji,
|
|
13027
|
+
EphStdMap: Sn,
|
|
13028
|
+
Holder: Gi,
|
|
13003
13029
|
HolderRefField: me,
|
|
13004
|
-
JsonArray:
|
|
13005
|
-
JsonBool:
|
|
13006
|
-
|
|
13007
|
-
|
|
13008
|
-
|
|
13009
|
-
|
|
13010
|
-
|
|
13011
|
-
|
|
13012
|
-
|
|
13013
|
-
|
|
13014
|
-
|
|
13015
|
-
|
|
13016
|
-
|
|
13017
|
-
|
|
13018
|
-
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
|
|
13030
|
+
JsonArray: Ki,
|
|
13031
|
+
JsonBool: Oi,
|
|
13032
|
+
JsonGzObject: qi,
|
|
13033
|
+
JsonNull: Vi,
|
|
13034
|
+
JsonNumber: ji,
|
|
13035
|
+
JsonObject: pe,
|
|
13036
|
+
JsonString: vi,
|
|
13037
|
+
RNull: fu,
|
|
13038
|
+
StdMap: Cn,
|
|
13039
|
+
StructTestResource: cu,
|
|
13040
|
+
ValueTestResource: uu,
|
|
13041
|
+
createPlArray: wu,
|
|
13042
|
+
createPlBool: hu,
|
|
13043
|
+
createPlMap: gu,
|
|
13044
|
+
createPlNull: du,
|
|
13045
|
+
createPlNumber: pu,
|
|
13046
|
+
createPlObject: mu,
|
|
13047
|
+
createPlString: yu,
|
|
13048
|
+
futureRecord: ku,
|
|
13049
|
+
plEntries: Mi,
|
|
13050
|
+
plEntry: Dn,
|
|
13051
|
+
unwrapHolder: Ru,
|
|
13052
|
+
wrapInEphHolder: Tu,
|
|
13053
|
+
wrapInHolder: bu
|
|
13054
|
+
}, Symbol.toStringTag, { value: "Module" })), Xn = 5e3, Qn = 3e5, ei = 6e4, ti = 31 * 24 * 60 * 60, ni = 12 * 24 * 60 * 60, ii = 128e6, ri = "exponential", si = 16, oi = 14, ai = 1.5, li = 50, ci = 0.3;
|
|
13055
|
+
function N(l) {
|
|
13029
13056
|
if (!l) return;
|
|
13030
13057
|
const e = Number(l);
|
|
13031
13058
|
if (Number.isNaN(e)) throw new Error(`Can't parse number: ${l}`);
|
|
@@ -13036,20 +13063,20 @@ function ye(l, e = {}) {
|
|
|
13036
13063
|
return {
|
|
13037
13064
|
hostAndPort: l,
|
|
13038
13065
|
ssl: !1,
|
|
13039
|
-
defaultRequestTimeout:
|
|
13040
|
-
defaultROTransactionTimeout:
|
|
13041
|
-
defaultRWTransactionTimeout:
|
|
13042
|
-
authTTLSeconds:
|
|
13043
|
-
authMaxRefreshSeconds:
|
|
13066
|
+
defaultRequestTimeout: Xn,
|
|
13067
|
+
defaultROTransactionTimeout: Qn,
|
|
13068
|
+
defaultRWTransactionTimeout: ei,
|
|
13069
|
+
authTTLSeconds: ti,
|
|
13070
|
+
authMaxRefreshSeconds: ni,
|
|
13044
13071
|
txDelay: 0,
|
|
13045
13072
|
forceSync: !1,
|
|
13046
|
-
maxCacheBytes:
|
|
13047
|
-
retryBackoffAlgorithm:
|
|
13048
|
-
retryMaxAttempts:
|
|
13049
|
-
retryInitialDelay:
|
|
13050
|
-
retryExponentialBackoffMultiplier:
|
|
13051
|
-
retryLinearBackoffStep:
|
|
13052
|
-
retryJitter:
|
|
13073
|
+
maxCacheBytes: ii,
|
|
13074
|
+
retryBackoffAlgorithm: ri,
|
|
13075
|
+
retryMaxAttempts: si,
|
|
13076
|
+
retryInitialDelay: oi,
|
|
13077
|
+
retryExponentialBackoffMultiplier: ai,
|
|
13078
|
+
retryLinearBackoffStep: li,
|
|
13079
|
+
retryJitter: ci,
|
|
13053
13080
|
...e
|
|
13054
13081
|
};
|
|
13055
13082
|
const t = new URL(l);
|
|
@@ -13062,29 +13089,29 @@ function ye(l, e = {}) {
|
|
|
13062
13089
|
// this also includes port
|
|
13063
13090
|
alternativeRoot: t.searchParams.get("alternative-root") ?? void 0,
|
|
13064
13091
|
ssl: t.protocol === "https:" || t.protocol === "tls:",
|
|
13065
|
-
defaultRequestTimeout:
|
|
13066
|
-
defaultROTransactionTimeout:
|
|
13067
|
-
defaultRWTransactionTimeout:
|
|
13068
|
-
authTTLSeconds:
|
|
13069
|
-
authMaxRefreshSeconds:
|
|
13092
|
+
defaultRequestTimeout: N(t.searchParams.get("request-timeout")) ?? Xn,
|
|
13093
|
+
defaultROTransactionTimeout: N(t.searchParams.get("ro-tx-timeout")) ?? N(t.searchParams.get("tx-timeout")) ?? Qn,
|
|
13094
|
+
defaultRWTransactionTimeout: N(t.searchParams.get("rw-tx-timeout")) ?? N(t.searchParams.get("tx-timeout")) ?? ei,
|
|
13095
|
+
authTTLSeconds: ti,
|
|
13096
|
+
authMaxRefreshSeconds: ni,
|
|
13070
13097
|
grpcProxy: t.searchParams.get("grpc-proxy") ?? void 0,
|
|
13071
13098
|
httpProxy: t.searchParams.get("http-proxy") ?? void 0,
|
|
13072
13099
|
user: t.username === "" ? void 0 : t.username,
|
|
13073
13100
|
password: t.password === "" ? void 0 : t.password,
|
|
13074
|
-
txDelay:
|
|
13101
|
+
txDelay: N(t.searchParams.get("tx-delay")) ?? 0,
|
|
13075
13102
|
forceSync: !!t.searchParams.get("force-sync"),
|
|
13076
|
-
maxCacheBytes:
|
|
13077
|
-
retryBackoffAlgorithm: t.searchParams.get("retry-backoff-algorithm") ??
|
|
13078
|
-
retryMaxAttempts:
|
|
13079
|
-
retryInitialDelay:
|
|
13080
|
-
retryExponentialBackoffMultiplier:
|
|
13081
|
-
retryLinearBackoffStep:
|
|
13082
|
-
retryJitter:
|
|
13103
|
+
maxCacheBytes: N(t.searchParams.get("max-cache-bytes")) ?? ii,
|
|
13104
|
+
retryBackoffAlgorithm: t.searchParams.get("retry-backoff-algorithm") ?? ri,
|
|
13105
|
+
retryMaxAttempts: N(t.searchParams.get("retry-max-attempts")) ?? si,
|
|
13106
|
+
retryInitialDelay: N(t.searchParams.get("retry-initial-delay")) ?? oi,
|
|
13107
|
+
retryExponentialBackoffMultiplier: N(t.searchParams.get("retry-exp-backoff-multiplier")) ?? ai,
|
|
13108
|
+
retryLinearBackoffStep: N(t.searchParams.get("retry-linear-backoff-step")) ?? li,
|
|
13109
|
+
retryJitter: N(t.searchParams.get("retry-backoff-jitter")) ?? ci,
|
|
13083
13110
|
...e
|
|
13084
13111
|
};
|
|
13085
13112
|
}
|
|
13086
|
-
const
|
|
13087
|
-
class
|
|
13113
|
+
const gf = {};
|
|
13114
|
+
class Iu {
|
|
13088
13115
|
constructor(e) {
|
|
13089
13116
|
y(this, "typeName", gn.typeName);
|
|
13090
13117
|
y(this, "methods", gn.methods);
|
|
@@ -13295,18 +13322,20 @@ class ku {
|
|
|
13295
13322
|
return g("unary", this._transport, i, n, e);
|
|
13296
13323
|
}
|
|
13297
13324
|
}
|
|
13298
|
-
function
|
|
13325
|
+
function Pu(l, e, t, i) {
|
|
13299
13326
|
return { kind: l, expectMultiResponse: e, resolve: t, reject: i };
|
|
13300
13327
|
}
|
|
13301
|
-
function
|
|
13302
|
-
return l.code ===
|
|
13328
|
+
function Nu(l) {
|
|
13329
|
+
return l.code === Fn;
|
|
13303
13330
|
}
|
|
13304
13331
|
class J extends Error {
|
|
13305
|
-
constructor(
|
|
13306
|
-
super("Rethrow error, you should never see this one.")
|
|
13332
|
+
constructor(t) {
|
|
13333
|
+
super("Rethrow error, you should never see this one.");
|
|
13334
|
+
y(this, "name", "RethrowError");
|
|
13335
|
+
this.rethrowLambda = t;
|
|
13307
13336
|
}
|
|
13308
13337
|
}
|
|
13309
|
-
class
|
|
13338
|
+
class _u {
|
|
13310
13339
|
constructor(e) {
|
|
13311
13340
|
/** Bidirectional channel through which transaction communicates with the server */
|
|
13312
13341
|
y(this, "stream");
|
|
@@ -13316,7 +13345,7 @@ class Ru {
|
|
|
13316
13345
|
* Incremented on each sent request. */
|
|
13317
13346
|
y(this, "requestIdxCounter", 0);
|
|
13318
13347
|
/** Queue from which incoming message processor takes handlers to which pass incoming messages */
|
|
13319
|
-
y(this, "responseHandlerQueue", new
|
|
13348
|
+
y(this, "responseHandlerQueue", new rr());
|
|
13320
13349
|
/** Each new resource, created by the transaction, is assigned with virtual (local) resource id, to make it possible
|
|
13321
13350
|
* to populate its fields without awaiting actual resource id. This counter tracks those ids on client side, the
|
|
13322
13351
|
* same way it is tracked on the server, so client can synchronously return such ids to the user. */
|
|
@@ -13360,10 +13389,10 @@ class Ru {
|
|
|
13360
13389
|
}
|
|
13361
13390
|
if (r.error !== void 0) {
|
|
13362
13391
|
const c = r.error;
|
|
13363
|
-
if (
|
|
13392
|
+
if (Nu(c)) {
|
|
13364
13393
|
if (t.reject(
|
|
13365
13394
|
new J(() => {
|
|
13366
|
-
throw new
|
|
13395
|
+
throw new En(c);
|
|
13367
13396
|
})
|
|
13368
13397
|
), t = void 0, r.multiMessage !== void 0 && !r.multiMessage.isLast) {
|
|
13369
13398
|
this.assignErrorFactoryIfNotSet(() => {
|
|
@@ -13374,7 +13403,7 @@ class Ru {
|
|
|
13374
13403
|
continue;
|
|
13375
13404
|
} else {
|
|
13376
13405
|
this.assignErrorFactoryIfNotSet(() => {
|
|
13377
|
-
throw new
|
|
13406
|
+
throw new Xc(c);
|
|
13378
13407
|
}, t.reject), t = void 0;
|
|
13379
13408
|
break;
|
|
13380
13409
|
}
|
|
@@ -13410,7 +13439,7 @@ class Ru {
|
|
|
13410
13439
|
}
|
|
13411
13440
|
} catch (r) {
|
|
13412
13441
|
return this.assignErrorFactoryIfNotSet(() => {
|
|
13413
|
-
|
|
13442
|
+
Qc(r, !0);
|
|
13414
13443
|
}, t == null ? void 0 : t.reject);
|
|
13415
13444
|
} finally {
|
|
13416
13445
|
await this.close();
|
|
@@ -13445,7 +13474,7 @@ class Ru {
|
|
|
13445
13474
|
if (this.closed) return Promise.reject(new Error("Transaction already closed"));
|
|
13446
13475
|
const i = new Promise((n, r) => {
|
|
13447
13476
|
this.responseHandlerQueue.push(
|
|
13448
|
-
|
|
13477
|
+
Pu(e.oneofKind, t, n, r)
|
|
13449
13478
|
);
|
|
13450
13479
|
});
|
|
13451
13480
|
await this.stream.requests.send({
|
|
@@ -13463,22 +13492,22 @@ class Ru {
|
|
|
13463
13492
|
this._completed || (this._completed = !0, await this.stream.requests.complete());
|
|
13464
13493
|
}
|
|
13465
13494
|
}
|
|
13466
|
-
function
|
|
13495
|
+
function vn(l) {
|
|
13467
13496
|
return JSON.parse(Buffer.from(l.split(".")[1], "base64").toString());
|
|
13468
13497
|
}
|
|
13469
|
-
function
|
|
13498
|
+
function Q(l, e) {
|
|
13470
13499
|
if (l.jwtToken === void 0) return;
|
|
13471
|
-
const { exp: t, iat: i } =
|
|
13500
|
+
const { exp: t, iat: i } = vn(l.jwtToken);
|
|
13472
13501
|
return Math.min(
|
|
13473
13502
|
// in the middle between issue and expiration time points
|
|
13474
13503
|
(i + t) / 2,
|
|
13475
13504
|
i + e
|
|
13476
13505
|
) * 1e3;
|
|
13477
13506
|
}
|
|
13478
|
-
function
|
|
13479
|
-
return l.jwtToken === void 0 ? void 0 :
|
|
13507
|
+
function kf(l) {
|
|
13508
|
+
return l.jwtToken === void 0 ? void 0 : vn(l.jwtToken).exp * 1e3;
|
|
13480
13509
|
}
|
|
13481
|
-
class
|
|
13510
|
+
class On {
|
|
13482
13511
|
constructor(e, t = {}) {
|
|
13483
13512
|
y(this, "conf");
|
|
13484
13513
|
/** Initial authorization information */
|
|
@@ -13500,10 +13529,10 @@ class vn {
|
|
|
13500
13529
|
y(this, "authRefreshInProgress", !1);
|
|
13501
13530
|
this.ops = t, this.conf = typeof e == "string" ? ye(e) : e, this.grpcInterceptors = [];
|
|
13502
13531
|
const { auth: i, statusListener: n, shouldUseGzip: r } = t;
|
|
13503
|
-
i !== void 0 && (this.refreshTimestamp =
|
|
13532
|
+
i !== void 0 && (this.refreshTimestamp = Q(
|
|
13504
13533
|
i.authInformation,
|
|
13505
13534
|
this.conf.authMaxRefreshSeconds
|
|
13506
|
-
), this.grpcInterceptors.push(this.createAuthInterceptor()), this.authInformation = i.authInformation, this.onAuthUpdate = i.onUpdate, this.onAuthRefreshProblem = i.onUpdateError, this.onAuthError = i.onAuthError), this.grpcInterceptors.push(this.createErrorInterceptor()), this.initGrpc(r ?? !1), this.httpDispatcher =
|
|
13535
|
+
), this.grpcInterceptors.push(this.createAuthInterceptor()), this.authInformation = i.authInformation, this.onAuthUpdate = i.onUpdate, this.onAuthRefreshProblem = i.onUpdateError, this.onAuthError = i.onAuthError), this.grpcInterceptors.push(this.createErrorInterceptor()), this.initGrpc(r ?? !1), this.httpDispatcher = sr(this.conf.httpProxy), n !== void 0 && (this.statusListener = n, n(this._status));
|
|
13507
13536
|
}
|
|
13508
13537
|
/**
|
|
13509
13538
|
* Initializes (or reinitializes) _grpcTransport and _grpcPl
|
|
@@ -13515,16 +13544,16 @@ class vn {
|
|
|
13515
13544
|
// 30 seconds
|
|
13516
13545
|
interceptors: this.grpcInterceptors
|
|
13517
13546
|
};
|
|
13518
|
-
e && (t["grpc.default_compression_algorithm"] =
|
|
13547
|
+
e && (t["grpc.default_compression_algorithm"] = nr.gzip);
|
|
13519
13548
|
const i = {
|
|
13520
13549
|
host: this.conf.hostAndPort,
|
|
13521
13550
|
timeout: this.conf.defaultRequestTimeout,
|
|
13522
|
-
channelCredentials: this.conf.ssl ?
|
|
13551
|
+
channelCredentials: this.conf.ssl ? Gn.createSsl() : Gn.createInsecure(),
|
|
13523
13552
|
clientOptions: t
|
|
13524
13553
|
};
|
|
13525
13554
|
this.conf.grpcProxy ? process.env.grpc_proxy = this.conf.grpcProxy : delete process.env.grpc_proxy;
|
|
13526
13555
|
const n = this._grpcTransport;
|
|
13527
|
-
this._grpcTransport = new
|
|
13556
|
+
this._grpcTransport = new ir(i), this._grpcPl = new Iu(this._grpcTransport), n !== void 0 && n.close();
|
|
13528
13557
|
}
|
|
13529
13558
|
get grpcTransport() {
|
|
13530
13559
|
return this._grpcTransport;
|
|
@@ -13542,7 +13571,7 @@ class vn {
|
|
|
13542
13571
|
get authUser() {
|
|
13543
13572
|
var e, t;
|
|
13544
13573
|
if (!this.authenticated) throw new Error("Client is not authenticated");
|
|
13545
|
-
return (e = this.authInformation) != null && e.jwtToken ?
|
|
13574
|
+
return (e = this.authInformation) != null && e.jwtToken ? vn((t = this.authInformation) == null ? void 0 : t.jwtToken).user.login : null;
|
|
13546
13575
|
}
|
|
13547
13576
|
updateStatus(e) {
|
|
13548
13577
|
process.nextTick(() => {
|
|
@@ -13561,7 +13590,7 @@ class vn {
|
|
|
13561
13590
|
nanos: 0
|
|
13562
13591
|
}
|
|
13563
13592
|
}).response;
|
|
13564
|
-
this.authInformation = { jwtToken: e.token }, this.refreshTimestamp =
|
|
13593
|
+
this.authInformation = { jwtToken: e.token }, this.refreshTimestamp = Q(
|
|
13565
13594
|
this.authInformation,
|
|
13566
13595
|
this.conf.authMaxRefreshSeconds
|
|
13567
13596
|
), this.onAuthUpdate && this.onAuthUpdate(this.authInformation);
|
|
@@ -13574,11 +13603,11 @@ class vn {
|
|
|
13574
13603
|
}
|
|
13575
13604
|
/** Detects certain errors and update client status accordingly */
|
|
13576
13605
|
createErrorInterceptor() {
|
|
13577
|
-
return (e, t) => new
|
|
13606
|
+
return (e, t) => new Jn(t(e), {
|
|
13578
13607
|
start: (i, n, r) => {
|
|
13579
13608
|
r(i, {
|
|
13580
13609
|
onReceiveStatus: (c, a) => {
|
|
13581
|
-
c.code ==
|
|
13610
|
+
c.code == zn.UNAUTHENTICATED && this.updateStatus("Unauthenticated"), c.code == zn.UNAVAILABLE && this.updateStatus("Disconnected"), a(c);
|
|
13582
13611
|
}
|
|
13583
13612
|
});
|
|
13584
13613
|
}
|
|
@@ -13586,7 +13615,7 @@ class vn {
|
|
|
13586
13615
|
}
|
|
13587
13616
|
/** Injects authentication information if needed */
|
|
13588
13617
|
createAuthInterceptor() {
|
|
13589
|
-
return (e, t) => new
|
|
13618
|
+
return (e, t) => new Jn(t(e), {
|
|
13590
13619
|
start: (i, n, r) => {
|
|
13591
13620
|
var c;
|
|
13592
13621
|
((c = this.authInformation) == null ? void 0 : c.jwtToken) !== void 0 && (i.set("authorization", "Bearer " + this.authInformation.jwtToken), this.refreshAuthInformationIfNeeded()), r(i, n);
|
|
@@ -13594,7 +13623,7 @@ class vn {
|
|
|
13594
13623
|
});
|
|
13595
13624
|
}
|
|
13596
13625
|
createTx(e, t = {}) {
|
|
13597
|
-
return new
|
|
13626
|
+
return new _u((i) => {
|
|
13598
13627
|
let n = i;
|
|
13599
13628
|
return t.abortSignal && (n = AbortSignal.any([n, t.abortSignal])), this.grpcPl.tx({
|
|
13600
13629
|
abort: n,
|
|
@@ -13607,23 +13636,23 @@ class vn {
|
|
|
13607
13636
|
this.grpcTransport.close(), await this.httpDispatcher.destroy();
|
|
13608
13637
|
}
|
|
13609
13638
|
}
|
|
13610
|
-
function
|
|
13639
|
+
function z(l) {
|
|
13611
13640
|
return l.resourceReady || C(l.originalResourceId) || C(l.error);
|
|
13612
13641
|
}
|
|
13613
|
-
function
|
|
13614
|
-
if (!
|
|
13642
|
+
function Lu(l) {
|
|
13643
|
+
if (!z(l) || !l.outputsLocked) return !1;
|
|
13615
13644
|
if (l.fields === void 0) return !0;
|
|
13616
13645
|
for (const e of l.fields)
|
|
13617
13646
|
if (B(e.error) && (B(e.value) || !e.valueIsFinal)) return !1;
|
|
13618
13647
|
return !0;
|
|
13619
13648
|
}
|
|
13620
|
-
const
|
|
13649
|
+
const ui = /* @__PURE__ */ new Set(), Au = (l) => {
|
|
13621
13650
|
switch (l.type.name) {
|
|
13622
13651
|
case "StreamManager": {
|
|
13623
|
-
if (!
|
|
13652
|
+
if (!z(l)) return !1;
|
|
13624
13653
|
if (l.fields === void 0 || C(l.error)) return !0;
|
|
13625
|
-
const e =
|
|
13626
|
-
return
|
|
13654
|
+
const e = Hn(l, "downloadable");
|
|
13655
|
+
return Hn(l, "stream").value === e.value;
|
|
13627
13656
|
}
|
|
13628
13657
|
case "StdMap":
|
|
13629
13658
|
case "std/map":
|
|
@@ -13641,10 +13670,11 @@ const ci = /* @__PURE__ */ new Set(), Pu = (l) => {
|
|
|
13641
13670
|
case "TengoLib":
|
|
13642
13671
|
case "SoftwareInfo":
|
|
13643
13672
|
case "Dummy":
|
|
13644
|
-
return
|
|
13673
|
+
return z(l);
|
|
13645
13674
|
case "json/resourceError":
|
|
13646
13675
|
return l.type.version === "1";
|
|
13647
13676
|
case "json/object":
|
|
13677
|
+
case "json-gz/object":
|
|
13648
13678
|
case "json/string":
|
|
13649
13679
|
case "json/array":
|
|
13650
13680
|
case "json/number":
|
|
@@ -13653,6 +13683,7 @@ const ci = /* @__PURE__ */ new Set(), Pu = (l) => {
|
|
|
13653
13683
|
case "Frontend/FromFolder":
|
|
13654
13684
|
case "BObjectSpec":
|
|
13655
13685
|
case "Blob":
|
|
13686
|
+
case "Null":
|
|
13656
13687
|
case "binary":
|
|
13657
13688
|
case "LSProvider":
|
|
13658
13689
|
return !0;
|
|
@@ -13663,16 +13694,18 @@ const ci = /* @__PURE__ */ new Set(), Pu = (l) => {
|
|
|
13663
13694
|
default:
|
|
13664
13695
|
if (l.type.name.startsWith("Blob/")) return !0;
|
|
13665
13696
|
if (l.type.name.startsWith("BlobUpload/") || l.type.name.startsWith("BlobIndex/"))
|
|
13666
|
-
return
|
|
13697
|
+
return Lu(l);
|
|
13667
13698
|
if (l.type.name.startsWith("PColumnData/"))
|
|
13668
|
-
return
|
|
13669
|
-
|
|
13699
|
+
return z(l);
|
|
13700
|
+
if (l.type.name.startsWith("StreamWorkdir/"))
|
|
13701
|
+
return z(l);
|
|
13702
|
+
ui.has(l.type.name) || (console.log("UNKNOWN RESOURCE TYPE: " + l.type.name), ui.add(l.type.name));
|
|
13670
13703
|
}
|
|
13671
13704
|
return !1;
|
|
13672
|
-
},
|
|
13705
|
+
}, bn = {
|
|
13673
13706
|
sync: !1
|
|
13674
|
-
},
|
|
13675
|
-
function
|
|
13707
|
+
}, Bu = "AnonymousRoot";
|
|
13708
|
+
function fi(l) {
|
|
13676
13709
|
return `alternative_root_${l}`;
|
|
13677
13710
|
}
|
|
13678
13711
|
class ge {
|
|
@@ -13690,9 +13723,9 @@ class ge {
|
|
|
13690
13723
|
/** Stores client root (this abstraction is intended for future implementation of the security model) */
|
|
13691
13724
|
y(this, "_clientRoot", S);
|
|
13692
13725
|
y(this, "_serverInfo");
|
|
13693
|
-
y(this, "_txCommittedStat",
|
|
13694
|
-
y(this, "_txConflictStat",
|
|
13695
|
-
y(this, "_txErrorStat",
|
|
13726
|
+
y(this, "_txCommittedStat", kn());
|
|
13727
|
+
y(this, "_txConflictStat", kn());
|
|
13728
|
+
y(this, "_txErrorStat", kn());
|
|
13696
13729
|
//
|
|
13697
13730
|
// Caching
|
|
13698
13731
|
//
|
|
@@ -13700,9 +13733,9 @@ class ge {
|
|
|
13700
13733
|
y(this, "finalPredicate");
|
|
13701
13734
|
/** Resource data cache, to minimize redundant data rereading from remote db */
|
|
13702
13735
|
y(this, "resourceDataCache");
|
|
13703
|
-
this.buildLLPlClient = (r) => new
|
|
13736
|
+
this.buildLLPlClient = (r) => new On(e, { auth: t, ...i, shouldUseGzip: r }), this._ll = this.buildLLPlClient(!1);
|
|
13704
13737
|
const n = this._ll.conf;
|
|
13705
|
-
switch (this.txDelay = n.txDelay, this.forceSync = n.forceSync, this.finalPredicate = i.finalPredicate ??
|
|
13738
|
+
switch (this.txDelay = n.txDelay, this.forceSync = n.forceSync, this.finalPredicate = i.finalPredicate ?? Au, this.resourceDataCache = new or({
|
|
13706
13739
|
maxSize: n.maxCacheBytes,
|
|
13707
13740
|
sizeCalculation: (r) => {
|
|
13708
13741
|
var c;
|
|
@@ -13728,7 +13761,7 @@ class ge {
|
|
|
13728
13761
|
};
|
|
13729
13762
|
break;
|
|
13730
13763
|
default:
|
|
13731
|
-
|
|
13764
|
+
mi(n.retryBackoffAlgorithm);
|
|
13732
13765
|
}
|
|
13733
13766
|
}
|
|
13734
13767
|
get txCommittedStat() {
|
|
@@ -13769,7 +13802,7 @@ class ge {
|
|
|
13769
13802
|
if (!this.initialized) throw new Error("Client not initialized");
|
|
13770
13803
|
}
|
|
13771
13804
|
get clientRoot() {
|
|
13772
|
-
return this.checkInitialized(),
|
|
13805
|
+
return this.checkInitialized(), In(this._clientRoot);
|
|
13773
13806
|
}
|
|
13774
13807
|
get serverInfo() {
|
|
13775
13808
|
return this.checkInitialized(), this._serverInfo;
|
|
@@ -13777,16 +13810,16 @@ class ge {
|
|
|
13777
13810
|
/** Currently implements custom logic to emulate future behaviour with single root. */
|
|
13778
13811
|
async init() {
|
|
13779
13812
|
if (this.initialized) throw new Error("Already initialized");
|
|
13780
|
-
const e = this._ll.authUser, t = e === null ?
|
|
13781
|
-
this._serverInfo = await this.ping(), this._serverInfo.compression ===
|
|
13813
|
+
const e = this._ll.authUser, t = e === null ? Bu : bi("sha256").update(e).digest("hex");
|
|
13814
|
+
this._serverInfo = await this.ping(), this._serverInfo.compression === Un.GZIP && (await this._ll.close(), this._ll = this.buildLLPlClient(!0)), this._clientRoot = await this._withTx("initialization", !0, S, async (i) => {
|
|
13782
13815
|
let n;
|
|
13783
|
-
if (await i.checkResourceNameExists(t) ? n = await i.getResourceByName(t) : (n = i.createRoot(
|
|
13784
|
-
return await i.commit(), await
|
|
13816
|
+
if (await i.checkResourceNameExists(t) ? n = await i.getResourceByName(t) : (n = i.createRoot(Nn), i.setResourceName(t, n)), this.conf.alternativeRoot === void 0)
|
|
13817
|
+
return await i.commit(), await lu(n);
|
|
13785
13818
|
{
|
|
13786
13819
|
const r = {
|
|
13787
13820
|
resourceId: n,
|
|
13788
|
-
fieldName:
|
|
13789
|
-
}, c = i.createEphemeral(
|
|
13821
|
+
fieldName: fi(this.conf.alternativeRoot)
|
|
13822
|
+
}, c = i.createEphemeral(Nn);
|
|
13790
13823
|
return i.lock(c), i.createField(r, "Dynamic"), i.setField(r, c), await i.commit(), await c.globalId;
|
|
13791
13824
|
}
|
|
13792
13825
|
});
|
|
@@ -13798,15 +13831,15 @@ class ge {
|
|
|
13798
13831
|
return await this.withWriteTx("delete-alternative-root", async (t) => {
|
|
13799
13832
|
const i = {
|
|
13800
13833
|
resourceId: t.clientRoot,
|
|
13801
|
-
fieldName:
|
|
13834
|
+
fieldName: fi(e)
|
|
13802
13835
|
}, n = t.fieldExists(i);
|
|
13803
13836
|
return t.removeField(i), await t.commit(), await n;
|
|
13804
13837
|
});
|
|
13805
13838
|
}
|
|
13806
13839
|
async _withTx(e, t, i, n, r) {
|
|
13807
|
-
let c =
|
|
13840
|
+
let c = gi((r == null ? void 0 : r.retryOptions) ?? this.defaultRetryOptions);
|
|
13808
13841
|
for (; ; ) {
|
|
13809
|
-
const a = this._ll.createTx(t, r), o = new
|
|
13842
|
+
const a = this._ll.createTx(t, r), o = new Pn(
|
|
13810
13843
|
a,
|
|
13811
13844
|
e,
|
|
13812
13845
|
t,
|
|
@@ -13814,30 +13847,30 @@ class ge {
|
|
|
13814
13847
|
this.finalPredicate,
|
|
13815
13848
|
this.resourceDataCache
|
|
13816
13849
|
);
|
|
13817
|
-
let s = !1, u,
|
|
13850
|
+
let s = !1, u, Kn;
|
|
13818
13851
|
try {
|
|
13819
13852
|
u = await n(o), this._txCommittedStat = G(this._txCommittedStat, o.stat), s = !0;
|
|
13820
|
-
} catch (
|
|
13821
|
-
if (
|
|
13853
|
+
} catch (jn) {
|
|
13854
|
+
if (jn instanceof Di)
|
|
13822
13855
|
this._txConflictStat = G(this._txConflictStat, o.stat);
|
|
13823
13856
|
else
|
|
13824
|
-
throw this._txErrorStat = G(this._txErrorStat, o.stat),
|
|
13857
|
+
throw this._txErrorStat = G(this._txErrorStat, o.stat), jn;
|
|
13825
13858
|
} finally {
|
|
13826
|
-
await o.complete(), await o.await(),
|
|
13859
|
+
await o.complete(), await o.await(), Kn = await o.getGlobalTxId();
|
|
13827
13860
|
}
|
|
13828
13861
|
if (s)
|
|
13829
|
-
return ((r == null ? void 0 : r.sync) === void 0 ? this.forceSync : r != null && r.sync) && await this._ll.grpcPl.txSync({ txId:
|
|
13830
|
-
await
|
|
13862
|
+
return ((r == null ? void 0 : r.sync) === void 0 ? this.forceSync : r != null && r.sync) && await this._ll.grpcPl.txSync({ txId: Kn }), t && this.txDelay > 0 && await Rn.setTimeout(this.txDelay, void 0, { signal: r == null ? void 0 : r.abortSignal }), u;
|
|
13863
|
+
await Rn.setTimeout(c.nextDelay, void 0, { signal: r == null ? void 0 : r.abortSignal }), c = ki(c);
|
|
13831
13864
|
}
|
|
13832
13865
|
}
|
|
13833
13866
|
async withTx(e, t, i, n = {}) {
|
|
13834
|
-
return this.checkInitialized(), await this._withTx(e, t, this.clientRoot, i, { ...n, ...
|
|
13867
|
+
return this.checkInitialized(), await this._withTx(e, t, this.clientRoot, i, { ...n, ...bn });
|
|
13835
13868
|
}
|
|
13836
13869
|
async withWriteTx(e, t, i = {}) {
|
|
13837
|
-
return await this.withTx(e, !0, t, { ...i, ...
|
|
13870
|
+
return await this.withTx(e, !0, t, { ...i, ...bn });
|
|
13838
13871
|
}
|
|
13839
13872
|
async withReadTx(e, t, i = {}) {
|
|
13840
|
-
return await this.withTx(e, !1, t, { ...i, ...
|
|
13873
|
+
return await this.withTx(e, !1, t, { ...i, ...bn });
|
|
13841
13874
|
}
|
|
13842
13875
|
getDriver(e) {
|
|
13843
13876
|
const t = this.drivers.get(e.name);
|
|
@@ -13854,13 +13887,13 @@ class ge {
|
|
|
13854
13887
|
return await n.init(), n;
|
|
13855
13888
|
}
|
|
13856
13889
|
}
|
|
13857
|
-
function
|
|
13890
|
+
function bf(l, e) {
|
|
13858
13891
|
return e = e ?? {}, e.meta = e.meta ?? {}, e.meta.resourceType = `${l.name}:${l.version}`, e;
|
|
13859
13892
|
}
|
|
13860
|
-
class
|
|
13893
|
+
class zi {
|
|
13861
13894
|
constructor(e) {
|
|
13862
13895
|
y(this, "ll");
|
|
13863
|
-
this.ll = new
|
|
13896
|
+
this.ll = new On(e);
|
|
13864
13897
|
}
|
|
13865
13898
|
async ping() {
|
|
13866
13899
|
return (await this.ll.grpcPl.ping({})).response;
|
|
@@ -13884,16 +13917,16 @@ class Gi {
|
|
|
13884
13917
|
if (n === "") throw new Error("empty token");
|
|
13885
13918
|
return { jwtToken: n };
|
|
13886
13919
|
} catch (i) {
|
|
13887
|
-
throw i.code === "UNAUTHENTICATED" ? new
|
|
13920
|
+
throw i.code === "UNAUTHENTICATED" ? new xn(i.message) : new Error(i);
|
|
13888
13921
|
}
|
|
13889
13922
|
}
|
|
13890
13923
|
}
|
|
13891
|
-
const
|
|
13892
|
-
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
|
|
13896
|
-
],
|
|
13924
|
+
const $u = "pl.json", Uu = An.join(Ri.homedir(), ".pl.json"), Fu = "pl.yaml", Eu = An.join(Ri.homedir(), ".pl.yaml"), xu = [
|
|
13925
|
+
$u,
|
|
13926
|
+
Fu,
|
|
13927
|
+
Uu,
|
|
13928
|
+
Eu
|
|
13929
|
+
], Z = ".pl_auth.json", Wu = [
|
|
13897
13930
|
"grpcProxy",
|
|
13898
13931
|
"httpProxy",
|
|
13899
13932
|
"user",
|
|
@@ -13905,55 +13938,55 @@ const _u = "pl.json", Lu = Ln.join(Ti.homedir(), ".pl.json"), Au = "pl.yaml", Bu
|
|
|
13905
13938
|
"authTTLSeconds",
|
|
13906
13939
|
"authMaxRefreshSeconds"
|
|
13907
13940
|
];
|
|
13908
|
-
function
|
|
13909
|
-
for (const l of
|
|
13941
|
+
function Su() {
|
|
13942
|
+
for (const l of xu)
|
|
13910
13943
|
if (E.existsSync(l)) {
|
|
13911
13944
|
const e = E.readFileSync(l, { encoding: "utf-8" });
|
|
13912
|
-
return l.endsWith("json") ? [JSON.parse(e), l] : [
|
|
13945
|
+
return l.endsWith("json") ? [JSON.parse(e), l] : [lr.parse(e), l];
|
|
13913
13946
|
}
|
|
13914
13947
|
}
|
|
13915
|
-
function
|
|
13948
|
+
function Cu(l, e) {
|
|
13916
13949
|
return (t) => {
|
|
13917
13950
|
E.writeFileSync(
|
|
13918
|
-
|
|
13951
|
+
Z,
|
|
13919
13952
|
Buffer.from(
|
|
13920
13953
|
JSON.stringify({
|
|
13921
13954
|
confHash: l,
|
|
13922
13955
|
authInformation: t,
|
|
13923
|
-
expiration:
|
|
13956
|
+
expiration: Q(t, e)
|
|
13924
13957
|
})
|
|
13925
13958
|
),
|
|
13926
13959
|
"utf8"
|
|
13927
13960
|
);
|
|
13928
13961
|
};
|
|
13929
13962
|
}
|
|
13930
|
-
const
|
|
13931
|
-
E.rmSync(
|
|
13963
|
+
const di = () => {
|
|
13964
|
+
E.rmSync(Z);
|
|
13932
13965
|
};
|
|
13933
|
-
async function
|
|
13966
|
+
async function Tf() {
|
|
13934
13967
|
let l;
|
|
13935
13968
|
if (process.env.PL_ADDRESS !== void 0)
|
|
13936
13969
|
l = ye(process.env.PL_ADDRESS);
|
|
13937
13970
|
else {
|
|
13938
|
-
const i =
|
|
13971
|
+
const i = Su();
|
|
13939
13972
|
if (i !== void 0) {
|
|
13940
13973
|
const [n, r] = i, c = R(n.address, `no pl address in file: ${r}`);
|
|
13941
13974
|
l = ye(c);
|
|
13942
|
-
for (const a of
|
|
13975
|
+
for (const a of Wu)
|
|
13943
13976
|
n[a] !== void 0 && (l[a] = n[a]);
|
|
13944
13977
|
}
|
|
13945
13978
|
}
|
|
13946
13979
|
if (l === void 0)
|
|
13947
13980
|
throw new Error("Can't find configuration to create default platform client.");
|
|
13948
13981
|
process.env.PL_USER !== void 0 && (l.user = process.env.PL_USER), process.env.PL_PASSWORD !== void 0 && (l.user = process.env.PL_PASSWORD);
|
|
13949
|
-
const e =
|
|
13982
|
+
const e = bi("sha256").update(Buffer.from(ar(l))).digest("base64");
|
|
13950
13983
|
let t;
|
|
13951
|
-
if (E.existsSync(
|
|
13952
|
-
const i = JSON.parse(E.readFileSync(
|
|
13984
|
+
if (E.existsSync(Z)) {
|
|
13985
|
+
const i = JSON.parse(E.readFileSync(Z, { encoding: "utf-8" }));
|
|
13953
13986
|
i.confHash === e && i.expiration > Date.now() && (t = i.authInformation);
|
|
13954
13987
|
}
|
|
13955
13988
|
if (t === void 0) {
|
|
13956
|
-
const i = new
|
|
13989
|
+
const i = new zi(l);
|
|
13957
13990
|
if (await i.requireAuth()) {
|
|
13958
13991
|
if (l.user === void 0 || l.password === void 0)
|
|
13959
13992
|
throw new Error("No auth information for found to authenticate with PL server.");
|
|
@@ -13961,12 +13994,12 @@ async function mf() {
|
|
|
13961
13994
|
} else
|
|
13962
13995
|
t = {};
|
|
13963
13996
|
E.writeFileSync(
|
|
13964
|
-
|
|
13997
|
+
Z,
|
|
13965
13998
|
Buffer.from(
|
|
13966
13999
|
JSON.stringify({
|
|
13967
14000
|
confHash: e,
|
|
13968
14001
|
authInformation: t,
|
|
13969
|
-
expiration:
|
|
14002
|
+
expiration: Q(t, l.authMaxRefreshSeconds)
|
|
13970
14003
|
})
|
|
13971
14004
|
),
|
|
13972
14005
|
"utf8"
|
|
@@ -13974,19 +14007,19 @@ async function mf() {
|
|
|
13974
14007
|
}
|
|
13975
14008
|
return await ge.init(l, {
|
|
13976
14009
|
authInformation: t,
|
|
13977
|
-
onUpdate: (i) =>
|
|
13978
|
-
onUpdateError:
|
|
13979
|
-
onAuthError:
|
|
14010
|
+
onUpdate: (i) => Cu(e, l.authMaxRefreshSeconds),
|
|
14011
|
+
onUpdateError: di,
|
|
14012
|
+
onAuthError: di
|
|
13980
14013
|
});
|
|
13981
14014
|
}
|
|
13982
|
-
async function
|
|
14015
|
+
async function Rf(l, e) {
|
|
13983
14016
|
const t = {
|
|
13984
14017
|
valueId: e.value,
|
|
13985
14018
|
errorId: e.error,
|
|
13986
14019
|
error: ""
|
|
13987
14020
|
};
|
|
13988
14021
|
if (C(e.error)) {
|
|
13989
|
-
const i = await l.getResourceData(e.error, !0), n =
|
|
14022
|
+
const i = await l.getResourceData(e.error, !0), n = yi(R(i.data));
|
|
13990
14023
|
if (typeof n != "string") {
|
|
13991
14024
|
const r = R(i.data).toString();
|
|
13992
14025
|
throw new Error(`Unexpected error structure: ${r.substring(0, Math.min(r.length, 100))}...`);
|
|
@@ -13995,18 +14028,22 @@ async function gf(l, e) {
|
|
|
13995
14028
|
}
|
|
13996
14029
|
return t;
|
|
13997
14030
|
}
|
|
13998
|
-
class
|
|
14031
|
+
class H extends Error {
|
|
14032
|
+
constructor() {
|
|
14033
|
+
super(...arguments);
|
|
14034
|
+
y(this, "name", "ContinuePolling");
|
|
14035
|
+
}
|
|
13999
14036
|
}
|
|
14000
|
-
const
|
|
14037
|
+
const Du = {
|
|
14001
14038
|
failOnError: !0,
|
|
14002
14039
|
onlyFinal: !1
|
|
14003
14040
|
};
|
|
14004
|
-
class
|
|
14041
|
+
class vu {
|
|
14005
14042
|
constructor(e, t, i) {
|
|
14006
14043
|
this.tx = e, this.data = t, this.path = i;
|
|
14007
14044
|
}
|
|
14008
14045
|
final() {
|
|
14009
|
-
if (!this.data.final) throw new
|
|
14046
|
+
if (!this.data.final) throw new H();
|
|
14010
14047
|
return this;
|
|
14011
14048
|
}
|
|
14012
14049
|
async requireNoError() {
|
|
@@ -14022,11 +14059,11 @@ class Wu {
|
|
|
14022
14059
|
throw (t === "Input" || t === "Service") && this.data.inputsLocked || t === "Output" && this.data.outputsLocked ? new Error(
|
|
14023
14060
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string, @typescript-eslint/restrict-template-expressions
|
|
14024
14061
|
`Field "${e}" not found. Expected type: ${t}, state: ${this.data}`
|
|
14025
|
-
) : new
|
|
14062
|
+
) : new H();
|
|
14026
14063
|
}
|
|
14027
14064
|
async get(e, t = {}) {
|
|
14028
|
-
const { expectedType: i, failOnError: n } = { ...
|
|
14029
|
-
if (C(c.error) && (n || B(c.value)) && await this.tx.throwError(c.error, r), B(c.value)) throw new
|
|
14065
|
+
const { expectedType: i, failOnError: n } = { ...Du, ...t }, r = [...this.path, e], c = this.getFieldData(e, i);
|
|
14066
|
+
if (C(c.error) && (n || B(c.value)) && await this.tx.throwError(c.error, r), B(c.value)) throw new H();
|
|
14030
14067
|
return await this.tx.get(c.value, n, r);
|
|
14031
14068
|
}
|
|
14032
14069
|
async getMulti(e, ...t) {
|
|
@@ -14045,19 +14082,19 @@ class Wu {
|
|
|
14045
14082
|
}
|
|
14046
14083
|
async getKValue(e) {
|
|
14047
14084
|
const t = await this.tx.tx.getKValueStringIfExists(this.data.id, e);
|
|
14048
|
-
if (t === void 0) throw new
|
|
14085
|
+
if (t === void 0) throw new H();
|
|
14049
14086
|
return t;
|
|
14050
14087
|
}
|
|
14051
14088
|
async getKValueObj(e) {
|
|
14052
14089
|
return JSON.parse(await this.getKValue(e));
|
|
14053
14090
|
}
|
|
14054
14091
|
}
|
|
14055
|
-
class
|
|
14092
|
+
class Ou {
|
|
14056
14093
|
constructor(e) {
|
|
14057
14094
|
this.tx = e;
|
|
14058
14095
|
}
|
|
14059
14096
|
async get(e, t = !0, i = []) {
|
|
14060
|
-
const n = await this.tx.getResourceData(e, !0), r = new
|
|
14097
|
+
const n = await this.tx.getResourceData(e, !0), r = new vu(this, n, [...i, we(e)]);
|
|
14061
14098
|
return t && await r.requireNoError(), r;
|
|
14062
14099
|
}
|
|
14063
14100
|
async throwError(e, t = []) {
|
|
@@ -14065,58 +14102,58 @@ class Su {
|
|
|
14065
14102
|
throw new Error(`${t.join(" -> ")} = ${n}`);
|
|
14066
14103
|
}
|
|
14067
14104
|
}
|
|
14068
|
-
const
|
|
14105
|
+
const qu = {
|
|
14069
14106
|
type: "linearBackoff",
|
|
14070
14107
|
jitter: 0,
|
|
14071
14108
|
maxAttempts: 100,
|
|
14072
14109
|
backoffStep: 10,
|
|
14073
14110
|
initialDelay: 10
|
|
14074
14111
|
};
|
|
14075
|
-
async function
|
|
14076
|
-
let n =
|
|
14112
|
+
async function If(l, e, t = qu, i = "polling") {
|
|
14113
|
+
let n = gi(t);
|
|
14077
14114
|
for (; ; ) {
|
|
14078
14115
|
try {
|
|
14079
|
-
return await l.withReadTx(i, async (r) => await e(new
|
|
14116
|
+
return await l.withReadTx(i, async (r) => await e(new Ou(r)));
|
|
14080
14117
|
} catch (r) {
|
|
14081
|
-
if (!(r instanceof
|
|
14118
|
+
if (!(r instanceof H)) throw r;
|
|
14082
14119
|
}
|
|
14083
|
-
await
|
|
14120
|
+
await Rn.setTimeout(n.nextDelay), n = ki(n);
|
|
14084
14121
|
}
|
|
14085
14122
|
}
|
|
14086
|
-
const
|
|
14087
|
-
let
|
|
14123
|
+
const X = "test_config.json";
|
|
14124
|
+
let Tn;
|
|
14088
14125
|
function W() {
|
|
14089
|
-
return
|
|
14126
|
+
return Tn === void 0 && (Tn = An.resolve(".test_auth.json")), Tn;
|
|
14090
14127
|
}
|
|
14091
|
-
function
|
|
14128
|
+
function Hi() {
|
|
14092
14129
|
let l = {};
|
|
14093
|
-
if (U.existsSync(
|
|
14130
|
+
if (U.existsSync(X) && (l = JSON.parse(U.readFileSync(X, { encoding: "utf-8" }))), process.env.PL_ADDRESS !== void 0 && (l.address = process.env.PL_ADDRESS), process.env.PL_TEST_USER !== void 0 && (l.test_user = process.env.PL_TEST_USER), process.env.PL_TEST_PASSWORD !== void 0 && (l.test_password = process.env.PL_TEST_PASSWORD), process.env.PL_TEST_PROXY !== void 0 && (l.test_proxy = process.env.PL_TEST_PROXY), l.address === void 0)
|
|
14094
14131
|
throw new Error(
|
|
14095
|
-
`can't resolve platform address (checked ${
|
|
14132
|
+
`can't resolve platform address (checked ${X} file and PL_ADDRESS environment var)`
|
|
14096
14133
|
);
|
|
14097
14134
|
return l;
|
|
14098
14135
|
}
|
|
14099
|
-
function
|
|
14136
|
+
function hi(l) {
|
|
14100
14137
|
return (e) => {
|
|
14101
|
-
const t = W(), i = W() +
|
|
14138
|
+
const t = W(), i = W() + Ti();
|
|
14102
14139
|
U.writeFileSync(
|
|
14103
14140
|
i,
|
|
14104
14141
|
Buffer.from(
|
|
14105
14142
|
JSON.stringify({
|
|
14106
14143
|
conf: l,
|
|
14107
14144
|
authInformation: e,
|
|
14108
|
-
expiration:
|
|
14145
|
+
expiration: Q(e, 24 * 60 * 60)
|
|
14109
14146
|
})
|
|
14110
14147
|
),
|
|
14111
14148
|
"utf8"
|
|
14112
14149
|
), U.renameSync(i, t);
|
|
14113
14150
|
};
|
|
14114
14151
|
}
|
|
14115
|
-
const
|
|
14152
|
+
const pi = () => {
|
|
14116
14153
|
console.warn(`Removing: ${W()}`), U.rmSync(W());
|
|
14117
14154
|
};
|
|
14118
|
-
async function
|
|
14119
|
-
const l =
|
|
14155
|
+
async function qn() {
|
|
14156
|
+
const l = Hi();
|
|
14120
14157
|
let e;
|
|
14121
14158
|
if (U.existsSync(W()))
|
|
14122
14159
|
try {
|
|
@@ -14127,133 +14164,133 @@ async function On() {
|
|
|
14127
14164
|
} catch {
|
|
14128
14165
|
U.rmSync(W());
|
|
14129
14166
|
}
|
|
14130
|
-
const t = ye(l.address), i = new
|
|
14167
|
+
const t = ye(l.address), i = new zi(t), n = await i.requireAuth();
|
|
14131
14168
|
if (!n && (l.test_user !== void 0 || l.test_password !== void 0))
|
|
14132
14169
|
throw new Error(
|
|
14133
|
-
`Server require no auth, but test user name or test password are provided via (${
|
|
14170
|
+
`Server require no auth, but test user name or test password are provided via (${X}) or env variables: PL_TEST_USER and PL_TEST_PASSWORD`
|
|
14134
14171
|
);
|
|
14135
14172
|
if (n && (l.test_user === void 0 || l.test_password === void 0))
|
|
14136
14173
|
throw new Error(
|
|
14137
|
-
`No auth information found in config (${
|
|
14174
|
+
`No auth information found in config (${X}) or env variables: PL_TEST_USER and PL_TEST_PASSWORD`
|
|
14138
14175
|
);
|
|
14139
|
-
return e === void 0 && (n ? e = await i.login(l.test_user, l.test_password) : e = {},
|
|
14176
|
+
return e === void 0 && (n ? e = await i.login(l.test_user, l.test_password) : e = {}, hi(l)(e)), {
|
|
14140
14177
|
conf: t,
|
|
14141
14178
|
auth: {
|
|
14142
14179
|
authInformation: e,
|
|
14143
|
-
onUpdate:
|
|
14144
|
-
onAuthError:
|
|
14145
|
-
onUpdateError:
|
|
14180
|
+
onUpdate: hi(l),
|
|
14181
|
+
onAuthError: pi,
|
|
14182
|
+
onUpdateError: pi
|
|
14146
14183
|
}
|
|
14147
14184
|
};
|
|
14148
14185
|
}
|
|
14149
|
-
async function
|
|
14150
|
-
const { conf: e, auth: t } = await
|
|
14151
|
-
return new
|
|
14186
|
+
async function Ku(l = {}) {
|
|
14187
|
+
const { conf: e, auth: t } = await qn();
|
|
14188
|
+
return new On({ ...e, ...l }, { auth: t });
|
|
14152
14189
|
}
|
|
14153
|
-
async function
|
|
14154
|
-
const { conf: e, auth: t } = await
|
|
14190
|
+
async function _n(l) {
|
|
14191
|
+
const { conf: e, auth: t } = await qn();
|
|
14155
14192
|
if (l !== void 0 && e.alternativeRoot !== void 0)
|
|
14156
14193
|
throw new Error("test pl address configured with alternative root");
|
|
14157
14194
|
return await ge.init({ ...e, alternativeRoot: l }, t);
|
|
14158
14195
|
}
|
|
14159
|
-
async function
|
|
14160
|
-
const e = `test_${Date.now()}_${
|
|
14196
|
+
async function ju(l) {
|
|
14197
|
+
const e = `test_${Date.now()}_${Ti()}`;
|
|
14161
14198
|
let t = S;
|
|
14162
14199
|
try {
|
|
14163
|
-
const i = await
|
|
14200
|
+
const i = await _n(e);
|
|
14164
14201
|
t = i.clientRoot;
|
|
14165
14202
|
const n = await l(i);
|
|
14166
|
-
return await (await
|
|
14203
|
+
return await (await _n()).deleteAlternativeRoot(e), n;
|
|
14167
14204
|
} catch (i) {
|
|
14168
14205
|
throw console.log(`ALTERNATIVE ROOT: ${e} (${we(t)})`), new Error(i.message, { cause: i });
|
|
14169
14206
|
}
|
|
14170
14207
|
}
|
|
14171
|
-
const
|
|
14208
|
+
const Pf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14172
14209
|
__proto__: null,
|
|
14173
|
-
getTestClient:
|
|
14174
|
-
getTestClientConf:
|
|
14175
|
-
getTestConfig:
|
|
14176
|
-
getTestLLClient:
|
|
14177
|
-
withTempRoot:
|
|
14210
|
+
getTestClient: _n,
|
|
14211
|
+
getTestClientConf: qn,
|
|
14212
|
+
getTestConfig: Hi,
|
|
14213
|
+
getTestLLClient: Ku,
|
|
14214
|
+
withTempRoot: ju
|
|
14178
14215
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14179
14216
|
export {
|
|
14180
|
-
|
|
14181
|
-
|
|
14182
|
-
|
|
14183
|
-
|
|
14184
|
-
|
|
14185
|
-
|
|
14186
|
-
|
|
14187
|
-
|
|
14188
|
-
|
|
14189
|
-
|
|
14190
|
-
|
|
14191
|
-
|
|
14192
|
-
|
|
14193
|
-
|
|
14194
|
-
|
|
14195
|
-
|
|
14196
|
-
|
|
14197
|
-
|
|
14198
|
-
|
|
14217
|
+
gf as AnonymousAuthInformation,
|
|
14218
|
+
H as ContinuePolling,
|
|
14219
|
+
ni as DEFAULT_AUTH_MAX_REFRESH,
|
|
14220
|
+
ii as DEFAULT_MAX_CACHE_BYTES,
|
|
14221
|
+
Xn as DEFAULT_REQUEST_TIMEOUT,
|
|
14222
|
+
ri as DEFAULT_RETRY_BACKOFF_ALGORITHM,
|
|
14223
|
+
ai as DEFAULT_RETRY_EXPONENTIAL_BACKOFF_MULTIPLIER,
|
|
14224
|
+
oi as DEFAULT_RETRY_INITIAL_DELAY,
|
|
14225
|
+
ci as DEFAULT_RETRY_JITTER,
|
|
14226
|
+
li as DEFAULT_RETRY_LINEAR_BACKOFF_STEP,
|
|
14227
|
+
si as DEFAULT_RETRY_MAX_ATTEMPTS,
|
|
14228
|
+
Qn as DEFAULT_RO_TX_TIMEOUT,
|
|
14229
|
+
ei as DEFAULT_RW_TX_TIMEOUT,
|
|
14230
|
+
ti as DEFAULT_TOKEN_TTL_SECONDS,
|
|
14231
|
+
Au as DefaultFinalResourceDataPredicate,
|
|
14232
|
+
qu as DefaultPollingRetryOptions,
|
|
14233
|
+
Ei as DisconnectedError,
|
|
14234
|
+
Ni as MaxLocalId,
|
|
14235
|
+
$n as MaxTxId,
|
|
14199
14236
|
S as NullResourceId,
|
|
14200
|
-
|
|
14237
|
+
mf as Pl,
|
|
14201
14238
|
ge as PlClient,
|
|
14202
|
-
|
|
14203
|
-
|
|
14204
|
-
|
|
14205
|
-
|
|
14206
|
-
|
|
14207
|
-
|
|
14208
|
-
|
|
14209
|
-
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
|
|
14221
|
-
|
|
14222
|
-
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
|
|
14226
|
-
|
|
14227
|
-
|
|
14228
|
-
|
|
14229
|
-
|
|
14239
|
+
Ui as PlError,
|
|
14240
|
+
Fn as PlErrorCodeNotFound,
|
|
14241
|
+
Pn as PlTransaction,
|
|
14242
|
+
vu as PollResourceAccessor,
|
|
14243
|
+
Ou as PollTxAccessor,
|
|
14244
|
+
En as RecoverablePlError,
|
|
14245
|
+
Pf as TestHelpers,
|
|
14246
|
+
Di as TxCommitConflict,
|
|
14247
|
+
xn as UnauthenticatedError,
|
|
14248
|
+
zi as UnauthenticatedPlClient,
|
|
14249
|
+
Xc as UnrecoverablePlError,
|
|
14250
|
+
bf as addRTypeToMetadata,
|
|
14251
|
+
df as bigintToResourceId,
|
|
14252
|
+
uf as checkLocalityOfResourceId,
|
|
14253
|
+
hr as createGlobalResourceId,
|
|
14254
|
+
_i as createLocalResourceId,
|
|
14255
|
+
Tf as defaultPlClient,
|
|
14256
|
+
In as ensureResourceIdNotNull,
|
|
14257
|
+
kf as expirationFromAuthInformation,
|
|
14258
|
+
cr as extractBasicResourceData,
|
|
14259
|
+
Li as extractTxId,
|
|
14260
|
+
Wn as field,
|
|
14261
|
+
Hn as getField,
|
|
14262
|
+
Q as inferAuthRefreshTime,
|
|
14263
|
+
rf as isAnyResourceId,
|
|
14264
|
+
Ai as isConnectionProblem,
|
|
14265
|
+
pf as isField,
|
|
14266
|
+
Ci as isFieldRef,
|
|
14230
14267
|
x as isLocalResourceId,
|
|
14231
|
-
|
|
14268
|
+
Fi as isNotFoundError,
|
|
14232
14269
|
C as isNotNullResourceId,
|
|
14233
14270
|
B as isNullResourceId,
|
|
14234
|
-
|
|
14235
|
-
|
|
14271
|
+
au as isResource,
|
|
14272
|
+
yf as isResourceId,
|
|
14236
14273
|
M as isResourceRef,
|
|
14237
|
-
|
|
14238
|
-
|
|
14239
|
-
|
|
14240
|
-
|
|
14274
|
+
Yn as isRootResourceId,
|
|
14275
|
+
$i as isTimeoutOrCancelError,
|
|
14276
|
+
Bi as isUnauthenticated,
|
|
14277
|
+
lf as jsonToData,
|
|
14241
14278
|
ye as plAddressToConfig,
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
|
|
14279
|
+
If as poll,
|
|
14280
|
+
cf as resDataToJson,
|
|
14281
|
+
ff as resourceIdFromString,
|
|
14245
14282
|
we as resourceIdToString,
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
|
|
14283
|
+
sf as resourceType,
|
|
14284
|
+
of as resourceTypeToString,
|
|
14285
|
+
af as resourceTypesEqual,
|
|
14286
|
+
Qc as rethrowMeaningfulError,
|
|
14287
|
+
hf as stringifyWithResourceId,
|
|
14288
|
+
Zc as throwPlNotFoundError,
|
|
14252
14289
|
A as toFieldId,
|
|
14253
|
-
|
|
14254
|
-
|
|
14290
|
+
wf as toGlobalFieldId,
|
|
14291
|
+
lu as toGlobalResourceId,
|
|
14255
14292
|
T as toResourceId,
|
|
14256
|
-
|
|
14257
|
-
|
|
14293
|
+
Su as tryGetFileConfig,
|
|
14294
|
+
Rf as valErr
|
|
14258
14295
|
};
|
|
14259
14296
|
//# sourceMappingURL=index.mjs.map
|