@milaboratories/pl-client 2.17.7 → 2.17.8
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/_virtual/_rolldown/runtime.cjs +43 -0
- package/dist/_virtual/_rolldown/runtime.js +18 -0
- package/dist/core/PromiseTracker.cjs +33 -33
- package/dist/core/PromiseTracker.cjs.map +1 -1
- package/dist/core/PromiseTracker.d.ts +10 -7
- package/dist/core/PromiseTracker.js +33 -31
- package/dist/core/PromiseTracker.js.map +1 -1
- package/dist/core/StatefulPromise.cjs +60 -61
- package/dist/core/StatefulPromise.cjs.map +1 -1
- package/dist/core/StatefulPromise.js +60 -60
- package/dist/core/StatefulPromise.js.map +1 -1
- package/dist/core/abstract_stream.d.ts +18 -15
- package/dist/core/advisory_locks.cjs +42 -49
- package/dist/core/advisory_locks.cjs.map +1 -1
- package/dist/core/advisory_locks.js +42 -48
- package/dist/core/advisory_locks.js.map +1 -1
- package/dist/core/auth.cjs +10 -15
- package/dist/core/auth.cjs.map +1 -1
- package/dist/core/auth.d.ts +7 -3
- package/dist/core/auth.js +10 -13
- package/dist/core/auth.js.map +1 -1
- package/dist/core/cache.d.ts +11 -7
- package/dist/core/client.cjs +255 -306
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.d.ts +72 -68
- package/dist/core/client.js +253 -285
- package/dist/core/client.js.map +1 -1
- package/dist/core/config.cjs +81 -99
- package/dist/core/config.cjs.map +1 -1
- package/dist/core/config.d.ts +93 -90
- package/dist/core/config.js +81 -98
- package/dist/core/config.js.map +1 -1
- package/dist/core/default_client.cjs +84 -125
- package/dist/core/default_client.cjs.map +1 -1
- package/dist/core/default_client.d.ts +9 -6
- package/dist/core/default_client.js +78 -103
- package/dist/core/default_client.js.map +1 -1
- package/dist/core/driver.cjs +12 -16
- package/dist/core/driver.cjs.map +1 -1
- package/dist/core/driver.d.ts +18 -14
- package/dist/core/driver.js +12 -15
- package/dist/core/driver.js.map +1 -1
- package/dist/core/error_resource.cjs +5 -4
- package/dist/core/error_resource.cjs.map +1 -1
- package/dist/core/error_resource.js +5 -3
- package/dist/core/error_resource.js.map +1 -1
- package/dist/core/errors.cjs +104 -140
- package/dist/core/errors.cjs.map +1 -1
- package/dist/core/errors.d.ts +34 -30
- package/dist/core/errors.js +102 -137
- package/dist/core/errors.js.map +1 -1
- package/dist/core/final.cjs +63 -89
- package/dist/core/final.cjs.map +1 -1
- package/dist/core/final.d.ts +8 -4
- package/dist/core/final.js +63 -87
- package/dist/core/final.js.map +1 -1
- package/dist/core/ll_client.cjs +416 -521
- package/dist/core/ll_client.cjs.map +1 -1
- package/dist/core/ll_client.d.ts +100 -97
- package/dist/core/ll_client.js +415 -519
- package/dist/core/ll_client.js.map +1 -1
- package/dist/core/ll_transaction.cjs +206 -240
- package/dist/core/ll_transaction.cjs.map +1 -1
- package/dist/core/ll_transaction.d.ts +50 -52
- package/dist/core/ll_transaction.js +205 -238
- package/dist/core/ll_transaction.js.map +1 -1
- package/dist/core/stat.cjs +64 -63
- package/dist/core/stat.cjs.map +1 -1
- package/dist/core/stat.d.ts +35 -36
- package/dist/core/stat.js +64 -62
- package/dist/core/stat.js.map +1 -1
- package/dist/core/transaction.cjs +613 -650
- package/dist/core/transaction.cjs.map +1 -1
- package/dist/core/transaction.d.ts +165 -162
- package/dist/core/transaction.js +612 -648
- package/dist/core/transaction.js.map +1 -1
- package/dist/core/type_conversion.cjs +62 -83
- package/dist/core/type_conversion.cjs.map +1 -1
- package/dist/core/type_conversion.js +61 -81
- package/dist/core/type_conversion.js.map +1 -1
- package/dist/core/types.cjs +56 -86
- package/dist/core/types.cjs.map +1 -1
- package/dist/core/types.d.ts +63 -62
- package/dist/core/types.js +54 -83
- package/dist/core/types.js.map +1 -1
- package/dist/core/unauth_client.cjs +35 -41
- package/dist/core/unauth_client.cjs.map +1 -1
- package/dist/core/unauth_client.d.ts +18 -14
- package/dist/core/unauth_client.js +34 -39
- package/dist/core/unauth_client.js.map +1 -1
- package/dist/core/websocket_stream.cjs +277 -349
- package/dist/core/websocket_stream.cjs.map +1 -1
- package/dist/core/websocket_stream.js +275 -347
- package/dist/core/websocket_stream.js.map +1 -1
- package/dist/core/wire.d.ts +21 -17
- package/dist/helpers/pl.cjs +71 -73
- package/dist/helpers/pl.cjs.map +1 -1
- package/dist/helpers/pl.d.ts +40 -41
- package/dist/helpers/pl.js +66 -46
- package/dist/helpers/pl.js.map +1 -1
- package/dist/helpers/poll.cjs +99 -134
- package/dist/helpers/poll.cjs.map +1 -1
- package/dist/helpers/poll.d.ts +37 -34
- package/dist/helpers/poll.js +97 -113
- package/dist/helpers/poll.js.map +1 -1
- package/dist/helpers/retry_strategy.cjs +82 -87
- package/dist/helpers/retry_strategy.cjs.map +1 -1
- package/dist/helpers/retry_strategy.js +83 -86
- package/dist/helpers/retry_strategy.js.map +1 -1
- package/dist/helpers/tx_helpers.cjs +21 -20
- package/dist/helpers/tx_helpers.cjs.map +1 -1
- package/dist/helpers/tx_helpers.d.ts +11 -7
- package/dist/helpers/tx_helpers.js +20 -18
- package/dist/helpers/tx_helpers.js.map +1 -1
- package/dist/index.cjs +117 -106
- package/dist/index.d.ts +17 -17
- package/dist/index.js +17 -19
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs +72 -66
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts +35 -37
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js +71 -64
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +12611 -12866
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +226 -226
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +281 -330
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +225 -224
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +2640 -4294
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +12608 -12706
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs +1230 -1089
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +393 -420
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +1228 -1083
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs +142 -143
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +62 -64
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +140 -141
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs +572 -487
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +125 -228
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +572 -485
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/any.cjs +131 -146
- package/dist/proto-grpc/google/protobuf/any.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/any.d.ts +78 -84
- package/dist/proto-grpc/google/protobuf/any.js +130 -144
- package/dist/proto-grpc/google/protobuf/any.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.cjs +92 -100
- package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.d.ts +38 -43
- package/dist/proto-grpc/google/protobuf/duration.js +91 -98
- package/dist/proto-grpc/google/protobuf/duration.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.cjs +117 -128
- package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.d.ts +50 -55
- package/dist/proto-grpc/google/protobuf/timestamp.js +116 -126
- package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto-grpc/google/rpc/code.cjs +223 -238
- package/dist/proto-grpc/google/rpc/code.cjs.map +1 -1
- package/dist/proto-grpc/google/rpc/code.d.ts +209 -206
- package/dist/proto-grpc/google/rpc/code.js +221 -237
- package/dist/proto-grpc/google/rpc/code.js.map +1 -1
- package/dist/proto-rest/index.cjs +67 -66
- package/dist/proto-rest/index.cjs.map +1 -1
- package/dist/proto-rest/index.d.ts +24 -18
- package/dist/proto-rest/index.js +61 -65
- package/dist/proto-rest/index.js.map +1 -1
- package/dist/proto-rest/plapi.d.ts +1400 -1477
- package/dist/test/tcp-proxy.cjs +100 -126
- package/dist/test/tcp-proxy.cjs.map +1 -1
- package/dist/test/tcp-proxy.d.ts +17 -13
- package/dist/test/tcp-proxy.js +97 -104
- package/dist/test/tcp-proxy.js.map +1 -1
- package/dist/test/test_config.cjs +145 -194
- package/dist/test/test_config.cjs.map +1 -1
- package/dist/test/test_config.d.ts +34 -30
- package/dist/test/test_config.js +138 -166
- package/dist/test/test_config.js.map +1 -1
- package/dist/util/pl.cjs +4 -3
- package/dist/util/pl.cjs.map +1 -1
- package/dist/util/pl.js +4 -2
- package/dist/util/pl.js.map +1 -1
- package/dist/util/util.cjs +7 -10
- package/dist/util/util.cjs.map +1 -1
- package/dist/util/util.js +7 -9
- package/dist/util/util.js.map +1 -1
- package/package.json +8 -8
- package/src/core/transaction.ts +123 -133
- package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.cjs +0 -61
- package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.cjs.map +0 -1
- package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.js +0 -58
- package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.js.map +0 -1
- package/dist/core/PromiseTracker.d.ts.map +0 -1
- package/dist/core/StatefulPromise.d.ts +0 -39
- package/dist/core/StatefulPromise.d.ts.map +0 -1
- package/dist/core/abstract_stream.d.ts.map +0 -1
- package/dist/core/advisory_locks.d.ts +0 -10
- package/dist/core/advisory_locks.d.ts.map +0 -1
- package/dist/core/auth.d.ts.map +0 -1
- package/dist/core/cache.d.ts.map +0 -1
- package/dist/core/client.d.ts.map +0 -1
- package/dist/core/config.d.ts.map +0 -1
- package/dist/core/default_client.d.ts.map +0 -1
- package/dist/core/driver.d.ts.map +0 -1
- package/dist/core/error_resource.d.ts +0 -6
- package/dist/core/error_resource.d.ts.map +0 -1
- package/dist/core/errors.d.ts.map +0 -1
- package/dist/core/final.d.ts.map +0 -1
- package/dist/core/ll_client.d.ts.map +0 -1
- package/dist/core/ll_transaction.d.ts.map +0 -1
- package/dist/core/stat.d.ts.map +0 -1
- package/dist/core/transaction.d.ts.map +0 -1
- package/dist/core/type_conversion.d.ts +0 -8
- package/dist/core/type_conversion.d.ts.map +0 -1
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/unauth_client.d.ts.map +0 -1
- package/dist/core/websocket_stream.d.ts +0 -67
- package/dist/core/websocket_stream.d.ts.map +0 -1
- package/dist/core/wire.d.ts.map +0 -1
- package/dist/helpers/pl.d.ts.map +0 -1
- package/dist/helpers/poll.d.ts.map +0 -1
- package/dist/helpers/retry_strategy.d.ts +0 -24
- package/dist/helpers/retry_strategy.d.ts.map +0 -1
- package/dist/helpers/state_helpers.d.ts +0 -3
- package/dist/helpers/state_helpers.d.ts.map +0 -1
- package/dist/helpers/tx_helpers.d.ts.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +0 -106
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts +0 -73
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts.map +0 -1
- package/dist/proto-grpc/google/api/http.d.ts +0 -456
- package/dist/proto-grpc/google/api/http.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/any.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/descriptor.d.ts +0 -2340
- package/dist/proto-grpc/google/protobuf/descriptor.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/duration.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/empty.d.ts +0 -32
- package/dist/proto-grpc/google/protobuf/empty.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/struct.d.ts +0 -187
- package/dist/proto-grpc/google/protobuf/struct.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/wrappers.d.ts +0 -308
- package/dist/proto-grpc/google/protobuf/wrappers.d.ts.map +0 -1
- package/dist/proto-grpc/google/rpc/code.d.ts.map +0 -1
- package/dist/proto-grpc/google/rpc/error_details.d.ts +0 -654
- package/dist/proto-grpc/google/rpc/error_details.d.ts.map +0 -1
- package/dist/proto-grpc/google/rpc/http.d.ts +0 -121
- package/dist/proto-grpc/google/rpc/http.d.ts.map +0 -1
- package/dist/proto-grpc/google/rpc/status.d.ts +0 -55
- package/dist/proto-grpc/google/rpc/status.d.ts.map +0 -1
- package/dist/proto-rest/index.d.ts.map +0 -1
- package/dist/proto-rest/plapi.d.ts.map +0 -1
- package/dist/test/tcp-proxy.d.ts.map +0 -1
- package/dist/test/test_config.d.ts.map +0 -1
- package/dist/util/branding.d.ts +0 -7
- package/dist/util/branding.d.ts.map +0 -1
- package/dist/util/pl.d.ts +0 -9
- package/dist/util/pl.d.ts.map +0 -1
- package/dist/util/util.d.ts +0 -2
- package/dist/util/util.d.ts.map +0 -1
|
@@ -1,1127 +1,1268 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var timestamp = require('../../../../../google/protobuf/timestamp.cjs');
|
|
1
|
+
const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
|
|
2
|
+
const require_base_types = require('./base_types.cjs');
|
|
3
|
+
const require_resource_types = require('./resource_types.cjs');
|
|
4
|
+
const require_timestamp = require('../../../../../google/protobuf/timestamp.cjs');
|
|
5
|
+
let _protobuf_ts_runtime = require("@protobuf-ts/runtime");
|
|
7
6
|
|
|
7
|
+
//#region src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts
|
|
8
8
|
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
9
|
+
* @generated from protobuf enum MiLaboratories.PL.API.Resource.Kind
|
|
10
|
+
*/
|
|
11
|
+
let Resource_Kind = /* @__PURE__ */ function(Resource_Kind) {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf enum value: KIND_INVALID = 0;
|
|
14
|
+
*/
|
|
15
|
+
Resource_Kind[Resource_Kind["INVALID"] = 0] = "INVALID";
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf enum value: KIND_STRUCTURAL = 1;
|
|
18
|
+
*/
|
|
19
|
+
Resource_Kind[Resource_Kind["STRUCTURAL"] = 1] = "STRUCTURAL";
|
|
20
|
+
/**
|
|
21
|
+
* @generated from protobuf enum value: KIND_VALUE = 2;
|
|
22
|
+
*/
|
|
23
|
+
Resource_Kind[Resource_Kind["VALUE"] = 2] = "VALUE";
|
|
24
|
+
return Resource_Kind;
|
|
25
|
+
}({});
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
27
|
+
* @generated from protobuf enum MiLaboratories.PL.API.Field.ValueStatus
|
|
28
|
+
*/
|
|
29
|
+
let Field_ValueStatus = /* @__PURE__ */ function(Field_ValueStatus) {
|
|
30
|
+
/**
|
|
31
|
+
* @generated from protobuf enum value: INVALID = 0;
|
|
32
|
+
*/
|
|
33
|
+
Field_ValueStatus[Field_ValueStatus["INVALID"] = 0] = "INVALID";
|
|
34
|
+
/**
|
|
35
|
+
* @generated from protobuf enum value: EMPTY = 1;
|
|
36
|
+
*/
|
|
37
|
+
Field_ValueStatus[Field_ValueStatus["EMPTY"] = 1] = "EMPTY";
|
|
38
|
+
/**
|
|
39
|
+
* @generated from protobuf enum value: ASSIGNED = 2;
|
|
40
|
+
*/
|
|
41
|
+
Field_ValueStatus[Field_ValueStatus["ASSIGNED"] = 2] = "ASSIGNED";
|
|
42
|
+
/**
|
|
43
|
+
* @generated from protobuf enum value: RESOLVED = 3;
|
|
44
|
+
*/
|
|
45
|
+
Field_ValueStatus[Field_ValueStatus["RESOLVED"] = 3] = "RESOLVED";
|
|
46
|
+
return Field_ValueStatus;
|
|
47
|
+
}({});
|
|
48
|
+
var Tx$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
49
|
+
constructor() {
|
|
50
|
+
super("MiLaboratories.PL.API.Tx", [{
|
|
51
|
+
no: 1,
|
|
52
|
+
name: "is_valid",
|
|
53
|
+
kind: "scalar",
|
|
54
|
+
T: 8
|
|
55
|
+
}, {
|
|
56
|
+
no: 2,
|
|
57
|
+
name: "id",
|
|
58
|
+
kind: "scalar",
|
|
59
|
+
T: 4,
|
|
60
|
+
L: 0
|
|
61
|
+
}]);
|
|
62
|
+
}
|
|
63
|
+
create(value) {
|
|
64
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
65
|
+
message.isValid = false;
|
|
66
|
+
message.id = 0n;
|
|
67
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
68
|
+
return message;
|
|
69
|
+
}
|
|
70
|
+
internalBinaryRead(reader, length, options, target) {
|
|
71
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
72
|
+
while (reader.pos < end) {
|
|
73
|
+
let [fieldNo, wireType] = reader.tag();
|
|
74
|
+
switch (fieldNo) {
|
|
75
|
+
case 1:
|
|
76
|
+
message.isValid = reader.bool();
|
|
77
|
+
break;
|
|
78
|
+
case 2:
|
|
79
|
+
message.id = reader.uint64().toBigInt();
|
|
80
|
+
break;
|
|
81
|
+
default:
|
|
82
|
+
let u = options.readUnknownField;
|
|
83
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
84
|
+
let d = reader.skip(wireType);
|
|
85
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return message;
|
|
89
|
+
}
|
|
90
|
+
internalBinaryWrite(message, writer, options) {
|
|
91
|
+
if (message.isValid !== false) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).bool(message.isValid);
|
|
92
|
+
if (message.id !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.id);
|
|
93
|
+
let u = options.writeUnknownFields;
|
|
94
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
95
|
+
return writer;
|
|
96
|
+
}
|
|
97
|
+
};
|
|
99
98
|
/**
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Tx
|
|
100
|
+
*/
|
|
102
101
|
const Tx = new Tx$Type();
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
102
|
+
var Resource$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
103
|
+
constructor() {
|
|
104
|
+
super("MiLaboratories.PL.API.Resource", [
|
|
105
|
+
{
|
|
106
|
+
no: 2,
|
|
107
|
+
name: "id",
|
|
108
|
+
kind: "scalar",
|
|
109
|
+
T: 4,
|
|
110
|
+
L: 0
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
no: 17,
|
|
114
|
+
name: "canonical_id",
|
|
115
|
+
kind: "scalar",
|
|
116
|
+
T: 12
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
no: 3,
|
|
120
|
+
name: "kind",
|
|
121
|
+
kind: "enum",
|
|
122
|
+
T: () => [
|
|
123
|
+
"MiLaboratories.PL.API.Resource.Kind",
|
|
124
|
+
Resource_Kind,
|
|
125
|
+
"KIND_"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
no: 4,
|
|
130
|
+
name: "type",
|
|
131
|
+
kind: "message",
|
|
132
|
+
T: () => require_base_types.ResourceType
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
no: 5,
|
|
136
|
+
name: "data",
|
|
137
|
+
kind: "scalar",
|
|
138
|
+
T: 12
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
no: 16,
|
|
142
|
+
name: "features",
|
|
143
|
+
kind: "message",
|
|
144
|
+
T: () => Resource_Features
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
no: 6,
|
|
148
|
+
name: "fields",
|
|
149
|
+
kind: "message",
|
|
150
|
+
repeat: 2,
|
|
151
|
+
T: () => Field
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
no: 7,
|
|
155
|
+
name: "has_errors",
|
|
156
|
+
kind: "scalar",
|
|
157
|
+
T: 8
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
no: 8,
|
|
161
|
+
name: "inputs_locked",
|
|
162
|
+
kind: "scalar",
|
|
163
|
+
T: 8
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
no: 9,
|
|
167
|
+
name: "outputs_locked",
|
|
168
|
+
kind: "scalar",
|
|
169
|
+
T: 8
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
no: 14,
|
|
173
|
+
name: "resource_ready",
|
|
174
|
+
kind: "scalar",
|
|
175
|
+
T: 8
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
no: 15,
|
|
179
|
+
name: "is_final",
|
|
180
|
+
kind: "scalar",
|
|
181
|
+
T: 8
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
no: 10,
|
|
185
|
+
name: "original_resource_id",
|
|
186
|
+
kind: "scalar",
|
|
187
|
+
T: 4,
|
|
188
|
+
L: 0
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
no: 11,
|
|
192
|
+
name: "parent_resource_id",
|
|
193
|
+
kind: "scalar",
|
|
194
|
+
T: 4,
|
|
195
|
+
L: 0
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
no: 12,
|
|
199
|
+
name: "created_time",
|
|
200
|
+
kind: "message",
|
|
201
|
+
T: () => require_timestamp.Timestamp
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
no: 13,
|
|
205
|
+
name: "deleted_time",
|
|
206
|
+
kind: "message",
|
|
207
|
+
T: () => require_timestamp.Timestamp
|
|
208
|
+
}
|
|
209
|
+
]);
|
|
210
|
+
}
|
|
211
|
+
create(value) {
|
|
212
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
213
|
+
message.id = 0n;
|
|
214
|
+
message.canonicalId = new Uint8Array(0);
|
|
215
|
+
message.kind = 0;
|
|
216
|
+
message.data = new Uint8Array(0);
|
|
217
|
+
message.fields = [];
|
|
218
|
+
message.hasErrors = false;
|
|
219
|
+
message.inputsLocked = false;
|
|
220
|
+
message.outputsLocked = false;
|
|
221
|
+
message.resourceReady = false;
|
|
222
|
+
message.isFinal = false;
|
|
223
|
+
message.originalResourceId = 0n;
|
|
224
|
+
message.parentResourceId = 0n;
|
|
225
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
226
|
+
return message;
|
|
227
|
+
}
|
|
228
|
+
internalBinaryRead(reader, length, options, target) {
|
|
229
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
230
|
+
while (reader.pos < end) {
|
|
231
|
+
let [fieldNo, wireType] = reader.tag();
|
|
232
|
+
switch (fieldNo) {
|
|
233
|
+
case 2:
|
|
234
|
+
message.id = reader.uint64().toBigInt();
|
|
235
|
+
break;
|
|
236
|
+
case 17:
|
|
237
|
+
message.canonicalId = reader.bytes();
|
|
238
|
+
break;
|
|
239
|
+
case 3:
|
|
240
|
+
message.kind = reader.int32();
|
|
241
|
+
break;
|
|
242
|
+
case 4:
|
|
243
|
+
message.type = require_base_types.ResourceType.internalBinaryRead(reader, reader.uint32(), options, message.type);
|
|
244
|
+
break;
|
|
245
|
+
case 5:
|
|
246
|
+
message.data = reader.bytes();
|
|
247
|
+
break;
|
|
248
|
+
case 16:
|
|
249
|
+
message.features = Resource_Features.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
250
|
+
break;
|
|
251
|
+
case 6:
|
|
252
|
+
message.fields.push(Field.internalBinaryRead(reader, reader.uint32(), options));
|
|
253
|
+
break;
|
|
254
|
+
case 7:
|
|
255
|
+
message.hasErrors = reader.bool();
|
|
256
|
+
break;
|
|
257
|
+
case 8:
|
|
258
|
+
message.inputsLocked = reader.bool();
|
|
259
|
+
break;
|
|
260
|
+
case 9:
|
|
261
|
+
message.outputsLocked = reader.bool();
|
|
262
|
+
break;
|
|
263
|
+
case 14:
|
|
264
|
+
message.resourceReady = reader.bool();
|
|
265
|
+
break;
|
|
266
|
+
case 15:
|
|
267
|
+
message.isFinal = reader.bool();
|
|
268
|
+
break;
|
|
269
|
+
case 10:
|
|
270
|
+
message.originalResourceId = reader.uint64().toBigInt();
|
|
271
|
+
break;
|
|
272
|
+
case 11:
|
|
273
|
+
message.parentResourceId = reader.uint64().toBigInt();
|
|
274
|
+
break;
|
|
275
|
+
case 12:
|
|
276
|
+
message.createdTime = require_timestamp.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdTime);
|
|
277
|
+
break;
|
|
278
|
+
case 13:
|
|
279
|
+
message.deletedTime = require_timestamp.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.deletedTime);
|
|
280
|
+
break;
|
|
281
|
+
default:
|
|
282
|
+
let u = options.readUnknownField;
|
|
283
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
284
|
+
let d = reader.skip(wireType);
|
|
285
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
return message;
|
|
289
|
+
}
|
|
290
|
+
internalBinaryWrite(message, writer, options) {
|
|
291
|
+
if (message.id !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.id);
|
|
292
|
+
if (message.kind !== 0) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).int32(message.kind);
|
|
293
|
+
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
294
|
+
if (message.data.length) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.data);
|
|
295
|
+
for (let i = 0; i < message.fields.length; i++) Field.internalBinaryWrite(message.fields[i], writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
296
|
+
if (message.hasErrors !== false) writer.tag(7, _protobuf_ts_runtime.WireType.Varint).bool(message.hasErrors);
|
|
297
|
+
if (message.inputsLocked !== false) writer.tag(8, _protobuf_ts_runtime.WireType.Varint).bool(message.inputsLocked);
|
|
298
|
+
if (message.outputsLocked !== false) writer.tag(9, _protobuf_ts_runtime.WireType.Varint).bool(message.outputsLocked);
|
|
299
|
+
if (message.originalResourceId !== 0n) writer.tag(10, _protobuf_ts_runtime.WireType.Varint).uint64(message.originalResourceId);
|
|
300
|
+
if (message.parentResourceId !== 0n) writer.tag(11, _protobuf_ts_runtime.WireType.Varint).uint64(message.parentResourceId);
|
|
301
|
+
if (message.createdTime) require_timestamp.Timestamp.internalBinaryWrite(message.createdTime, writer.tag(12, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
302
|
+
if (message.deletedTime) require_timestamp.Timestamp.internalBinaryWrite(message.deletedTime, writer.tag(13, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
303
|
+
if (message.resourceReady !== false) writer.tag(14, _protobuf_ts_runtime.WireType.Varint).bool(message.resourceReady);
|
|
304
|
+
if (message.isFinal !== false) writer.tag(15, _protobuf_ts_runtime.WireType.Varint).bool(message.isFinal);
|
|
305
|
+
if (message.features) Resource_Features.internalBinaryWrite(message.features, writer.tag(16, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
306
|
+
if (message.canonicalId.length) writer.tag(17, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.canonicalId);
|
|
307
|
+
let u = options.writeUnknownFields;
|
|
308
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
309
|
+
return writer;
|
|
310
|
+
}
|
|
311
|
+
};
|
|
262
312
|
/**
|
|
263
|
-
|
|
264
|
-
|
|
313
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Resource
|
|
314
|
+
*/
|
|
265
315
|
const Resource = new Resource$Type();
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
306
|
-
return writer;
|
|
307
|
-
}
|
|
308
|
-
}
|
|
316
|
+
var Resource_Features$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
317
|
+
constructor() {
|
|
318
|
+
super("MiLaboratories.PL.API.Resource.Features", [{
|
|
319
|
+
no: 1,
|
|
320
|
+
name: "ephemeral",
|
|
321
|
+
kind: "scalar",
|
|
322
|
+
T: 8
|
|
323
|
+
}]);
|
|
324
|
+
}
|
|
325
|
+
create(value) {
|
|
326
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
327
|
+
message.ephemeral = false;
|
|
328
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
329
|
+
return message;
|
|
330
|
+
}
|
|
331
|
+
internalBinaryRead(reader, length, options, target) {
|
|
332
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
333
|
+
while (reader.pos < end) {
|
|
334
|
+
let [fieldNo, wireType] = reader.tag();
|
|
335
|
+
switch (fieldNo) {
|
|
336
|
+
case 1:
|
|
337
|
+
message.ephemeral = reader.bool();
|
|
338
|
+
break;
|
|
339
|
+
default:
|
|
340
|
+
let u = options.readUnknownField;
|
|
341
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
342
|
+
let d = reader.skip(wireType);
|
|
343
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
return message;
|
|
347
|
+
}
|
|
348
|
+
internalBinaryWrite(message, writer, options) {
|
|
349
|
+
if (message.ephemeral !== false) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).bool(message.ephemeral);
|
|
350
|
+
let u = options.writeUnknownFields;
|
|
351
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
352
|
+
return writer;
|
|
353
|
+
}
|
|
354
|
+
};
|
|
309
355
|
/**
|
|
310
|
-
|
|
311
|
-
|
|
356
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Resource.Features
|
|
357
|
+
*/
|
|
312
358
|
const Resource_Features = new Resource_Features$Type();
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
359
|
+
var Field$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
360
|
+
constructor() {
|
|
361
|
+
super("MiLaboratories.PL.API.Field", [
|
|
362
|
+
{
|
|
363
|
+
no: 1,
|
|
364
|
+
name: "id",
|
|
365
|
+
kind: "message",
|
|
366
|
+
T: () => require_base_types.FieldRef
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
no: 2,
|
|
370
|
+
name: "type",
|
|
371
|
+
kind: "enum",
|
|
372
|
+
T: () => ["MiLaboratories.PL.Base.FieldType", require_base_types.FieldType]
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
no: 3,
|
|
376
|
+
name: "features",
|
|
377
|
+
kind: "message",
|
|
378
|
+
T: () => Resource_Features
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
no: 5,
|
|
382
|
+
name: "value",
|
|
383
|
+
kind: "scalar",
|
|
384
|
+
T: 4,
|
|
385
|
+
L: 0
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
no: 7,
|
|
389
|
+
name: "value_status",
|
|
390
|
+
kind: "enum",
|
|
391
|
+
T: () => ["MiLaboratories.PL.API.Field.ValueStatus", Field_ValueStatus]
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
no: 8,
|
|
395
|
+
name: "value_is_final",
|
|
396
|
+
kind: "scalar",
|
|
397
|
+
T: 8
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
no: 6,
|
|
401
|
+
name: "error",
|
|
402
|
+
kind: "scalar",
|
|
403
|
+
T: 4,
|
|
404
|
+
L: 0
|
|
405
|
+
}
|
|
406
|
+
]);
|
|
407
|
+
}
|
|
408
|
+
create(value) {
|
|
409
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
410
|
+
message.type = 0;
|
|
411
|
+
message.value = 0n;
|
|
412
|
+
message.valueStatus = 0;
|
|
413
|
+
message.valueIsFinal = false;
|
|
414
|
+
message.error = 0n;
|
|
415
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
416
|
+
return message;
|
|
417
|
+
}
|
|
418
|
+
internalBinaryRead(reader, length, options, target) {
|
|
419
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
420
|
+
while (reader.pos < end) {
|
|
421
|
+
let [fieldNo, wireType] = reader.tag();
|
|
422
|
+
switch (fieldNo) {
|
|
423
|
+
case 1:
|
|
424
|
+
message.id = require_base_types.FieldRef.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
425
|
+
break;
|
|
426
|
+
case 2:
|
|
427
|
+
message.type = reader.int32();
|
|
428
|
+
break;
|
|
429
|
+
case 3:
|
|
430
|
+
message.features = Resource_Features.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
431
|
+
break;
|
|
432
|
+
case 5:
|
|
433
|
+
message.value = reader.uint64().toBigInt();
|
|
434
|
+
break;
|
|
435
|
+
case 7:
|
|
436
|
+
message.valueStatus = reader.int32();
|
|
437
|
+
break;
|
|
438
|
+
case 8:
|
|
439
|
+
message.valueIsFinal = reader.bool();
|
|
440
|
+
break;
|
|
441
|
+
case 6:
|
|
442
|
+
message.error = reader.uint64().toBigInt();
|
|
443
|
+
break;
|
|
444
|
+
default:
|
|
445
|
+
let u = options.readUnknownField;
|
|
446
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
447
|
+
let d = reader.skip(wireType);
|
|
448
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
return message;
|
|
452
|
+
}
|
|
453
|
+
internalBinaryWrite(message, writer, options) {
|
|
454
|
+
if (message.id) require_base_types.FieldRef.internalBinaryWrite(message.id, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
455
|
+
if (message.type !== 0) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).int32(message.type);
|
|
456
|
+
if (message.features) Resource_Features.internalBinaryWrite(message.features, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
457
|
+
if (message.value !== 0n) writer.tag(5, _protobuf_ts_runtime.WireType.Varint).uint64(message.value);
|
|
458
|
+
if (message.error !== 0n) writer.tag(6, _protobuf_ts_runtime.WireType.Varint).uint64(message.error);
|
|
459
|
+
if (message.valueStatus !== 0) writer.tag(7, _protobuf_ts_runtime.WireType.Varint).int32(message.valueStatus);
|
|
460
|
+
if (message.valueIsFinal !== false) writer.tag(8, _protobuf_ts_runtime.WireType.Varint).bool(message.valueIsFinal);
|
|
461
|
+
let u = options.writeUnknownFields;
|
|
462
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
463
|
+
return writer;
|
|
464
|
+
}
|
|
465
|
+
};
|
|
402
466
|
/**
|
|
403
|
-
|
|
404
|
-
|
|
467
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Field
|
|
468
|
+
*/
|
|
405
469
|
const Field = new Field$Type();
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
470
|
+
var Notification$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
471
|
+
constructor() {
|
|
472
|
+
super("MiLaboratories.PL.API.Notification", [
|
|
473
|
+
{
|
|
474
|
+
no: 1,
|
|
475
|
+
name: "subscription_id",
|
|
476
|
+
kind: "scalar",
|
|
477
|
+
T: 4,
|
|
478
|
+
L: 0
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
no: 2,
|
|
482
|
+
name: "event_id",
|
|
483
|
+
kind: "scalar",
|
|
484
|
+
T: 4,
|
|
485
|
+
L: 0
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
no: 3,
|
|
489
|
+
name: "resource_id",
|
|
490
|
+
kind: "scalar",
|
|
491
|
+
T: 4,
|
|
492
|
+
L: 0
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
no: 4,
|
|
496
|
+
name: "resource_type",
|
|
497
|
+
kind: "message",
|
|
498
|
+
T: () => require_base_types.ResourceType
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
no: 5,
|
|
502
|
+
name: "events",
|
|
503
|
+
kind: "message",
|
|
504
|
+
T: () => Notification_Events
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
no: 6,
|
|
508
|
+
name: "field_changes",
|
|
509
|
+
kind: "map",
|
|
510
|
+
K: 9,
|
|
511
|
+
V: {
|
|
512
|
+
kind: "message",
|
|
513
|
+
T: () => Notification_FieldChange
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
no: 7,
|
|
518
|
+
name: "payload",
|
|
519
|
+
kind: "message",
|
|
520
|
+
T: () => require_resource_types.NotificationFilter_Payload
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
no: 8,
|
|
524
|
+
name: "filter_name",
|
|
525
|
+
kind: "scalar",
|
|
526
|
+
T: 9
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
no: 9,
|
|
530
|
+
name: "tx_span",
|
|
531
|
+
kind: "message",
|
|
532
|
+
T: () => SpanInfo
|
|
533
|
+
}
|
|
534
|
+
]);
|
|
535
|
+
}
|
|
536
|
+
create(value) {
|
|
537
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
538
|
+
message.subscriptionId = 0n;
|
|
539
|
+
message.eventId = 0n;
|
|
540
|
+
message.resourceId = 0n;
|
|
541
|
+
message.fieldChanges = {};
|
|
542
|
+
message.filterName = "";
|
|
543
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
544
|
+
return message;
|
|
545
|
+
}
|
|
546
|
+
internalBinaryRead(reader, length, options, target) {
|
|
547
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
548
|
+
while (reader.pos < end) {
|
|
549
|
+
let [fieldNo, wireType] = reader.tag();
|
|
550
|
+
switch (fieldNo) {
|
|
551
|
+
case 1:
|
|
552
|
+
message.subscriptionId = reader.uint64().toBigInt();
|
|
553
|
+
break;
|
|
554
|
+
case 2:
|
|
555
|
+
message.eventId = reader.uint64().toBigInt();
|
|
556
|
+
break;
|
|
557
|
+
case 3:
|
|
558
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
559
|
+
break;
|
|
560
|
+
case 4:
|
|
561
|
+
message.resourceType = require_base_types.ResourceType.internalBinaryRead(reader, reader.uint32(), options, message.resourceType);
|
|
562
|
+
break;
|
|
563
|
+
case 5:
|
|
564
|
+
message.events = Notification_Events.internalBinaryRead(reader, reader.uint32(), options, message.events);
|
|
565
|
+
break;
|
|
566
|
+
case 6:
|
|
567
|
+
this.binaryReadMap6(message.fieldChanges, reader, options);
|
|
568
|
+
break;
|
|
569
|
+
case 7:
|
|
570
|
+
message.payload = require_resource_types.NotificationFilter_Payload.internalBinaryRead(reader, reader.uint32(), options, message.payload);
|
|
571
|
+
break;
|
|
572
|
+
case 8:
|
|
573
|
+
message.filterName = reader.string();
|
|
574
|
+
break;
|
|
575
|
+
case 9:
|
|
576
|
+
message.txSpan = SpanInfo.internalBinaryRead(reader, reader.uint32(), options, message.txSpan);
|
|
577
|
+
break;
|
|
578
|
+
default:
|
|
579
|
+
let u = options.readUnknownField;
|
|
580
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
581
|
+
let d = reader.skip(wireType);
|
|
582
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
return message;
|
|
586
|
+
}
|
|
587
|
+
binaryReadMap6(map, reader, options) {
|
|
588
|
+
let len = reader.uint32(), end = reader.pos + len, key, val;
|
|
589
|
+
while (reader.pos < end) {
|
|
590
|
+
let [fieldNo, wireType] = reader.tag();
|
|
591
|
+
switch (fieldNo) {
|
|
592
|
+
case 1:
|
|
593
|
+
key = reader.string();
|
|
594
|
+
break;
|
|
595
|
+
case 2:
|
|
596
|
+
val = Notification_FieldChange.internalBinaryRead(reader, reader.uint32(), options);
|
|
597
|
+
break;
|
|
598
|
+
default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.API.Notification.field_changes");
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
map[key ?? ""] = val ?? Notification_FieldChange.create();
|
|
602
|
+
}
|
|
603
|
+
internalBinaryWrite(message, writer, options) {
|
|
604
|
+
if (message.subscriptionId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.subscriptionId);
|
|
605
|
+
if (message.eventId !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.eventId);
|
|
606
|
+
if (message.resourceId !== 0n) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
607
|
+
if (message.resourceType) require_base_types.ResourceType.internalBinaryWrite(message.resourceType, writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
608
|
+
if (message.events) Notification_Events.internalBinaryWrite(message.events, writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
609
|
+
for (let k of globalThis.Object.keys(message.fieldChanges)) {
|
|
610
|
+
writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).fork().tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(k);
|
|
611
|
+
writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork();
|
|
612
|
+
Notification_FieldChange.internalBinaryWrite(message.fieldChanges[k], writer, options);
|
|
613
|
+
writer.join().join();
|
|
614
|
+
}
|
|
615
|
+
if (message.payload) require_resource_types.NotificationFilter_Payload.internalBinaryWrite(message.payload, writer.tag(7, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
616
|
+
if (message.filterName !== "") writer.tag(8, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.filterName);
|
|
617
|
+
if (message.txSpan) SpanInfo.internalBinaryWrite(message.txSpan, writer.tag(9, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
618
|
+
let u = options.writeUnknownFields;
|
|
619
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
620
|
+
return writer;
|
|
621
|
+
}
|
|
622
|
+
};
|
|
529
623
|
/**
|
|
530
|
-
|
|
531
|
-
|
|
624
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Notification
|
|
625
|
+
*/
|
|
532
626
|
const Notification = new Notification$Type();
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
627
|
+
var Notification_Events$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
628
|
+
constructor() {
|
|
629
|
+
super("MiLaboratories.PL.API.Notification.Events", [
|
|
630
|
+
{
|
|
631
|
+
no: 1,
|
|
632
|
+
name: "resource_created",
|
|
633
|
+
kind: "scalar",
|
|
634
|
+
T: 8
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
no: 2,
|
|
638
|
+
name: "resource_deleted",
|
|
639
|
+
kind: "scalar",
|
|
640
|
+
T: 8
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
no: 4,
|
|
644
|
+
name: "resource_ready",
|
|
645
|
+
kind: "scalar",
|
|
646
|
+
T: 8
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
no: 5,
|
|
650
|
+
name: "resource_duplicate",
|
|
651
|
+
kind: "scalar",
|
|
652
|
+
T: 8
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
no: 15,
|
|
656
|
+
name: "resource_error",
|
|
657
|
+
kind: "scalar",
|
|
658
|
+
T: 8
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
no: 12,
|
|
662
|
+
name: "inputs_locked",
|
|
663
|
+
kind: "scalar",
|
|
664
|
+
T: 8
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
no: 13,
|
|
668
|
+
name: "outputs_locked",
|
|
669
|
+
kind: "scalar",
|
|
670
|
+
T: 8
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
no: 11,
|
|
674
|
+
name: "field_created",
|
|
675
|
+
kind: "scalar",
|
|
676
|
+
T: 8
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
no: 16,
|
|
680
|
+
name: "field_got_error",
|
|
681
|
+
kind: "scalar",
|
|
682
|
+
T: 8
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
no: 6,
|
|
686
|
+
name: "input_set",
|
|
687
|
+
kind: "scalar",
|
|
688
|
+
T: 8
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
no: 7,
|
|
692
|
+
name: "all_inputs_set",
|
|
693
|
+
kind: "scalar",
|
|
694
|
+
T: 8
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
no: 8,
|
|
698
|
+
name: "output_set",
|
|
699
|
+
kind: "scalar",
|
|
700
|
+
T: 8
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
no: 9,
|
|
704
|
+
name: "all_outputs_set",
|
|
705
|
+
kind: "scalar",
|
|
706
|
+
T: 8
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
no: 14,
|
|
710
|
+
name: "generic_otw_set",
|
|
711
|
+
kind: "scalar",
|
|
712
|
+
T: 8
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
no: 10,
|
|
716
|
+
name: "dynamic_changed",
|
|
717
|
+
kind: "scalar",
|
|
718
|
+
T: 8
|
|
719
|
+
}
|
|
720
|
+
]);
|
|
721
|
+
}
|
|
722
|
+
create(value) {
|
|
723
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
724
|
+
message.resourceCreated = false;
|
|
725
|
+
message.resourceDeleted = false;
|
|
726
|
+
message.resourceReady = false;
|
|
727
|
+
message.resourceDuplicate = false;
|
|
728
|
+
message.resourceError = false;
|
|
729
|
+
message.inputsLocked = false;
|
|
730
|
+
message.outputsLocked = false;
|
|
731
|
+
message.fieldCreated = false;
|
|
732
|
+
message.fieldGotError = false;
|
|
733
|
+
message.inputSet = false;
|
|
734
|
+
message.allInputsSet = false;
|
|
735
|
+
message.outputSet = false;
|
|
736
|
+
message.allOutputsSet = false;
|
|
737
|
+
message.genericOtwSet = false;
|
|
738
|
+
message.dynamicChanged = false;
|
|
739
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
740
|
+
return message;
|
|
741
|
+
}
|
|
742
|
+
internalBinaryRead(reader, length, options, target) {
|
|
743
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
744
|
+
while (reader.pos < end) {
|
|
745
|
+
let [fieldNo, wireType] = reader.tag();
|
|
746
|
+
switch (fieldNo) {
|
|
747
|
+
case 1:
|
|
748
|
+
message.resourceCreated = reader.bool();
|
|
749
|
+
break;
|
|
750
|
+
case 2:
|
|
751
|
+
message.resourceDeleted = reader.bool();
|
|
752
|
+
break;
|
|
753
|
+
case 4:
|
|
754
|
+
message.resourceReady = reader.bool();
|
|
755
|
+
break;
|
|
756
|
+
case 5:
|
|
757
|
+
message.resourceDuplicate = reader.bool();
|
|
758
|
+
break;
|
|
759
|
+
case 15:
|
|
760
|
+
message.resourceError = reader.bool();
|
|
761
|
+
break;
|
|
762
|
+
case 12:
|
|
763
|
+
message.inputsLocked = reader.bool();
|
|
764
|
+
break;
|
|
765
|
+
case 13:
|
|
766
|
+
message.outputsLocked = reader.bool();
|
|
767
|
+
break;
|
|
768
|
+
case 11:
|
|
769
|
+
message.fieldCreated = reader.bool();
|
|
770
|
+
break;
|
|
771
|
+
case 16:
|
|
772
|
+
message.fieldGotError = reader.bool();
|
|
773
|
+
break;
|
|
774
|
+
case 6:
|
|
775
|
+
message.inputSet = reader.bool();
|
|
776
|
+
break;
|
|
777
|
+
case 7:
|
|
778
|
+
message.allInputsSet = reader.bool();
|
|
779
|
+
break;
|
|
780
|
+
case 8:
|
|
781
|
+
message.outputSet = reader.bool();
|
|
782
|
+
break;
|
|
783
|
+
case 9:
|
|
784
|
+
message.allOutputsSet = reader.bool();
|
|
785
|
+
break;
|
|
786
|
+
case 14:
|
|
787
|
+
message.genericOtwSet = reader.bool();
|
|
788
|
+
break;
|
|
789
|
+
case 10:
|
|
790
|
+
message.dynamicChanged = reader.bool();
|
|
791
|
+
break;
|
|
792
|
+
default:
|
|
793
|
+
let u = options.readUnknownField;
|
|
794
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
795
|
+
let d = reader.skip(wireType);
|
|
796
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
return message;
|
|
800
|
+
}
|
|
801
|
+
internalBinaryWrite(message, writer, options) {
|
|
802
|
+
if (message.resourceCreated !== false) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).bool(message.resourceCreated);
|
|
803
|
+
if (message.resourceDeleted !== false) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).bool(message.resourceDeleted);
|
|
804
|
+
if (message.resourceReady !== false) writer.tag(4, _protobuf_ts_runtime.WireType.Varint).bool(message.resourceReady);
|
|
805
|
+
if (message.resourceDuplicate !== false) writer.tag(5, _protobuf_ts_runtime.WireType.Varint).bool(message.resourceDuplicate);
|
|
806
|
+
if (message.inputSet !== false) writer.tag(6, _protobuf_ts_runtime.WireType.Varint).bool(message.inputSet);
|
|
807
|
+
if (message.allInputsSet !== false) writer.tag(7, _protobuf_ts_runtime.WireType.Varint).bool(message.allInputsSet);
|
|
808
|
+
if (message.outputSet !== false) writer.tag(8, _protobuf_ts_runtime.WireType.Varint).bool(message.outputSet);
|
|
809
|
+
if (message.allOutputsSet !== false) writer.tag(9, _protobuf_ts_runtime.WireType.Varint).bool(message.allOutputsSet);
|
|
810
|
+
if (message.dynamicChanged !== false) writer.tag(10, _protobuf_ts_runtime.WireType.Varint).bool(message.dynamicChanged);
|
|
811
|
+
if (message.fieldCreated !== false) writer.tag(11, _protobuf_ts_runtime.WireType.Varint).bool(message.fieldCreated);
|
|
812
|
+
if (message.inputsLocked !== false) writer.tag(12, _protobuf_ts_runtime.WireType.Varint).bool(message.inputsLocked);
|
|
813
|
+
if (message.outputsLocked !== false) writer.tag(13, _protobuf_ts_runtime.WireType.Varint).bool(message.outputsLocked);
|
|
814
|
+
if (message.genericOtwSet !== false) writer.tag(14, _protobuf_ts_runtime.WireType.Varint).bool(message.genericOtwSet);
|
|
815
|
+
if (message.resourceError !== false) writer.tag(15, _protobuf_ts_runtime.WireType.Varint).bool(message.resourceError);
|
|
816
|
+
if (message.fieldGotError !== false) writer.tag(16, _protobuf_ts_runtime.WireType.Varint).bool(message.fieldGotError);
|
|
817
|
+
let u = options.writeUnknownFields;
|
|
818
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
819
|
+
return writer;
|
|
820
|
+
}
|
|
821
|
+
};
|
|
688
822
|
/**
|
|
689
|
-
|
|
690
|
-
|
|
823
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Notification.Events
|
|
824
|
+
*/
|
|
691
825
|
const Notification_Events = new Notification_Events$Type();
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
}
|
|
740
|
-
}
|
|
826
|
+
var Notification_FieldChange$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
827
|
+
constructor() {
|
|
828
|
+
super("MiLaboratories.PL.API.Notification.FieldChange", [{
|
|
829
|
+
no: 1,
|
|
830
|
+
name: "old",
|
|
831
|
+
kind: "message",
|
|
832
|
+
T: () => Field
|
|
833
|
+
}, {
|
|
834
|
+
no: 2,
|
|
835
|
+
name: "new",
|
|
836
|
+
kind: "message",
|
|
837
|
+
T: () => Field
|
|
838
|
+
}]);
|
|
839
|
+
}
|
|
840
|
+
create(value) {
|
|
841
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
842
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
843
|
+
return message;
|
|
844
|
+
}
|
|
845
|
+
internalBinaryRead(reader, length, options, target) {
|
|
846
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
847
|
+
while (reader.pos < end) {
|
|
848
|
+
let [fieldNo, wireType] = reader.tag();
|
|
849
|
+
switch (fieldNo) {
|
|
850
|
+
case 1:
|
|
851
|
+
message.old = Field.internalBinaryRead(reader, reader.uint32(), options, message.old);
|
|
852
|
+
break;
|
|
853
|
+
case 2:
|
|
854
|
+
message.new = Field.internalBinaryRead(reader, reader.uint32(), options, message.new);
|
|
855
|
+
break;
|
|
856
|
+
default:
|
|
857
|
+
let u = options.readUnknownField;
|
|
858
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
859
|
+
let d = reader.skip(wireType);
|
|
860
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
return message;
|
|
864
|
+
}
|
|
865
|
+
internalBinaryWrite(message, writer, options) {
|
|
866
|
+
if (message.old) Field.internalBinaryWrite(message.old, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
867
|
+
if (message.new) Field.internalBinaryWrite(message.new, writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
868
|
+
let u = options.writeUnknownFields;
|
|
869
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
870
|
+
return writer;
|
|
871
|
+
}
|
|
872
|
+
};
|
|
741
873
|
/**
|
|
742
|
-
|
|
743
|
-
|
|
874
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Notification.FieldChange
|
|
875
|
+
*/
|
|
744
876
|
const Notification_FieldChange = new Notification_FieldChange$Type();
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
877
|
+
var SpanInfo$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
878
|
+
constructor() {
|
|
879
|
+
super("MiLaboratories.PL.API.SpanInfo", [{
|
|
880
|
+
no: 1,
|
|
881
|
+
name: "path",
|
|
882
|
+
kind: "scalar",
|
|
883
|
+
T: 9
|
|
884
|
+
}, {
|
|
885
|
+
no: 2,
|
|
886
|
+
name: "carrier",
|
|
887
|
+
kind: "map",
|
|
888
|
+
K: 9,
|
|
889
|
+
V: {
|
|
890
|
+
kind: "scalar",
|
|
891
|
+
T: 9
|
|
892
|
+
}
|
|
893
|
+
}]);
|
|
894
|
+
}
|
|
895
|
+
create(value) {
|
|
896
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
897
|
+
message.path = "";
|
|
898
|
+
message.carrier = {};
|
|
899
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
900
|
+
return message;
|
|
901
|
+
}
|
|
902
|
+
internalBinaryRead(reader, length, options, target) {
|
|
903
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
904
|
+
while (reader.pos < end) {
|
|
905
|
+
let [fieldNo, wireType] = reader.tag();
|
|
906
|
+
switch (fieldNo) {
|
|
907
|
+
case 1:
|
|
908
|
+
message.path = reader.string();
|
|
909
|
+
break;
|
|
910
|
+
case 2:
|
|
911
|
+
this.binaryReadMap2(message.carrier, reader, options);
|
|
912
|
+
break;
|
|
913
|
+
default:
|
|
914
|
+
let u = options.readUnknownField;
|
|
915
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
916
|
+
let d = reader.skip(wireType);
|
|
917
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
return message;
|
|
921
|
+
}
|
|
922
|
+
binaryReadMap2(map, reader, options) {
|
|
923
|
+
let len = reader.uint32(), end = reader.pos + len, key, val;
|
|
924
|
+
while (reader.pos < end) {
|
|
925
|
+
let [fieldNo, wireType] = reader.tag();
|
|
926
|
+
switch (fieldNo) {
|
|
927
|
+
case 1:
|
|
928
|
+
key = reader.string();
|
|
929
|
+
break;
|
|
930
|
+
case 2:
|
|
931
|
+
val = reader.string();
|
|
932
|
+
break;
|
|
933
|
+
default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.API.SpanInfo.carrier");
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
map[key ?? ""] = val ?? "";
|
|
937
|
+
}
|
|
938
|
+
internalBinaryWrite(message, writer, options) {
|
|
939
|
+
if (message.path !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.path);
|
|
940
|
+
for (let k of globalThis.Object.keys(message.carrier)) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork().tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(k).tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.carrier[k]).join();
|
|
941
|
+
let u = options.writeUnknownFields;
|
|
942
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
943
|
+
return writer;
|
|
944
|
+
}
|
|
945
|
+
};
|
|
812
946
|
/**
|
|
813
|
-
|
|
814
|
-
|
|
947
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.SpanInfo
|
|
948
|
+
*/
|
|
815
949
|
const SpanInfo = new SpanInfo$Type();
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
}
|
|
950
|
+
var Subscription$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
951
|
+
constructor() {
|
|
952
|
+
super("MiLaboratories.PL.API.Subscription", [{
|
|
953
|
+
no: 1,
|
|
954
|
+
name: "id",
|
|
955
|
+
kind: "scalar",
|
|
956
|
+
T: 4,
|
|
957
|
+
L: 0
|
|
958
|
+
}, {
|
|
959
|
+
no: 3,
|
|
960
|
+
name: "blocking",
|
|
961
|
+
kind: "scalar",
|
|
962
|
+
T: 8
|
|
963
|
+
}]);
|
|
964
|
+
}
|
|
965
|
+
create(value) {
|
|
966
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
967
|
+
message.id = 0n;
|
|
968
|
+
message.blocking = false;
|
|
969
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
970
|
+
return message;
|
|
971
|
+
}
|
|
972
|
+
internalBinaryRead(reader, length, options, target) {
|
|
973
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
974
|
+
while (reader.pos < end) {
|
|
975
|
+
let [fieldNo, wireType] = reader.tag();
|
|
976
|
+
switch (fieldNo) {
|
|
977
|
+
case 1:
|
|
978
|
+
message.id = reader.uint64().toBigInt();
|
|
979
|
+
break;
|
|
980
|
+
case 3:
|
|
981
|
+
message.blocking = reader.bool();
|
|
982
|
+
break;
|
|
983
|
+
default:
|
|
984
|
+
let u = options.readUnknownField;
|
|
985
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
986
|
+
let d = reader.skip(wireType);
|
|
987
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
return message;
|
|
991
|
+
}
|
|
992
|
+
internalBinaryWrite(message, writer, options) {
|
|
993
|
+
if (message.id !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.id);
|
|
994
|
+
if (message.blocking !== false) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).bool(message.blocking);
|
|
995
|
+
let u = options.writeUnknownFields;
|
|
996
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
997
|
+
return writer;
|
|
998
|
+
}
|
|
999
|
+
};
|
|
867
1000
|
/**
|
|
868
|
-
|
|
869
|
-
|
|
1001
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Subscription
|
|
1002
|
+
*/
|
|
870
1003
|
const Subscription = new Subscription$Type();
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
1004
|
+
var Controller$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
1005
|
+
constructor() {
|
|
1006
|
+
super("MiLaboratories.PL.API.Controller", [
|
|
1007
|
+
{
|
|
1008
|
+
no: 1,
|
|
1009
|
+
name: "type",
|
|
1010
|
+
kind: "scalar",
|
|
1011
|
+
T: 9
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
no: 2,
|
|
1015
|
+
name: "id",
|
|
1016
|
+
kind: "scalar",
|
|
1017
|
+
T: 4,
|
|
1018
|
+
L: 0
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
no: 3,
|
|
1022
|
+
name: "subscriptionID",
|
|
1023
|
+
kind: "scalar",
|
|
1024
|
+
T: 4,
|
|
1025
|
+
L: 0
|
|
1026
|
+
}
|
|
1027
|
+
]);
|
|
1028
|
+
}
|
|
1029
|
+
create(value) {
|
|
1030
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
1031
|
+
message.type = "";
|
|
1032
|
+
message.id = 0n;
|
|
1033
|
+
message.subscriptionID = 0n;
|
|
1034
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
1035
|
+
return message;
|
|
1036
|
+
}
|
|
1037
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1038
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1039
|
+
while (reader.pos < end) {
|
|
1040
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1041
|
+
switch (fieldNo) {
|
|
1042
|
+
case 1:
|
|
1043
|
+
message.type = reader.string();
|
|
1044
|
+
break;
|
|
1045
|
+
case 2:
|
|
1046
|
+
message.id = reader.uint64().toBigInt();
|
|
1047
|
+
break;
|
|
1048
|
+
case 3:
|
|
1049
|
+
message.subscriptionID = reader.uint64().toBigInt();
|
|
1050
|
+
break;
|
|
1051
|
+
default:
|
|
1052
|
+
let u = options.readUnknownField;
|
|
1053
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1054
|
+
let d = reader.skip(wireType);
|
|
1055
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
return message;
|
|
1059
|
+
}
|
|
1060
|
+
internalBinaryWrite(message, writer, options) {
|
|
1061
|
+
if (message.type !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.type);
|
|
1062
|
+
if (message.id !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.id);
|
|
1063
|
+
if (message.subscriptionID !== 0n) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint64(message.subscriptionID);
|
|
1064
|
+
let u = options.writeUnknownFields;
|
|
1065
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1066
|
+
return writer;
|
|
1067
|
+
}
|
|
1068
|
+
};
|
|
930
1069
|
/**
|
|
931
|
-
|
|
932
|
-
|
|
1070
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Controller
|
|
1071
|
+
*/
|
|
933
1072
|
const Controller = new Controller$Type();
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
}
|
|
1073
|
+
var ResourceSchema$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
1074
|
+
constructor() {
|
|
1075
|
+
super("MiLaboratories.PL.API.ResourceSchema", [{
|
|
1076
|
+
no: 1,
|
|
1077
|
+
name: "type",
|
|
1078
|
+
kind: "message",
|
|
1079
|
+
T: () => require_base_types.ResourceType
|
|
1080
|
+
}, {
|
|
1081
|
+
no: 2,
|
|
1082
|
+
name: "fields",
|
|
1083
|
+
kind: "message",
|
|
1084
|
+
repeat: 2,
|
|
1085
|
+
T: () => FieldSchema
|
|
1086
|
+
}]);
|
|
1087
|
+
}
|
|
1088
|
+
create(value) {
|
|
1089
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
1090
|
+
message.fields = [];
|
|
1091
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
1092
|
+
return message;
|
|
1093
|
+
}
|
|
1094
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1095
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1096
|
+
while (reader.pos < end) {
|
|
1097
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1098
|
+
switch (fieldNo) {
|
|
1099
|
+
case 1:
|
|
1100
|
+
message.type = require_base_types.ResourceType.internalBinaryRead(reader, reader.uint32(), options, message.type);
|
|
1101
|
+
break;
|
|
1102
|
+
case 2:
|
|
1103
|
+
message.fields.push(FieldSchema.internalBinaryRead(reader, reader.uint32(), options));
|
|
1104
|
+
break;
|
|
1105
|
+
default:
|
|
1106
|
+
let u = options.readUnknownField;
|
|
1107
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1108
|
+
let d = reader.skip(wireType);
|
|
1109
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
return message;
|
|
1113
|
+
}
|
|
1114
|
+
internalBinaryWrite(message, writer, options) {
|
|
1115
|
+
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1116
|
+
for (let i = 0; i < message.fields.length; i++) FieldSchema.internalBinaryWrite(message.fields[i], writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1117
|
+
let u = options.writeUnknownFields;
|
|
1118
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1119
|
+
return writer;
|
|
1120
|
+
}
|
|
1121
|
+
};
|
|
984
1122
|
/**
|
|
985
|
-
|
|
986
|
-
|
|
1123
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceSchema
|
|
1124
|
+
*/
|
|
987
1125
|
const ResourceSchema = new ResourceSchema$Type();
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1126
|
+
var FieldSchema$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
1127
|
+
constructor() {
|
|
1128
|
+
super("MiLaboratories.PL.API.FieldSchema", [{
|
|
1129
|
+
no: 1,
|
|
1130
|
+
name: "type",
|
|
1131
|
+
kind: "enum",
|
|
1132
|
+
T: () => ["MiLaboratories.PL.Base.FieldType", require_base_types.FieldType]
|
|
1133
|
+
}, {
|
|
1134
|
+
no: 2,
|
|
1135
|
+
name: "name",
|
|
1136
|
+
kind: "scalar",
|
|
1137
|
+
T: 9
|
|
1138
|
+
}]);
|
|
1139
|
+
}
|
|
1140
|
+
create(value) {
|
|
1141
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
1142
|
+
message.type = 0;
|
|
1143
|
+
message.name = "";
|
|
1144
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
1145
|
+
return message;
|
|
1146
|
+
}
|
|
1147
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1148
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1149
|
+
while (reader.pos < end) {
|
|
1150
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1151
|
+
switch (fieldNo) {
|
|
1152
|
+
case 1:
|
|
1153
|
+
message.type = reader.int32();
|
|
1154
|
+
break;
|
|
1155
|
+
case 2:
|
|
1156
|
+
message.name = reader.string();
|
|
1157
|
+
break;
|
|
1158
|
+
default:
|
|
1159
|
+
let u = options.readUnknownField;
|
|
1160
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1161
|
+
let d = reader.skip(wireType);
|
|
1162
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
return message;
|
|
1166
|
+
}
|
|
1167
|
+
internalBinaryWrite(message, writer, options) {
|
|
1168
|
+
if (message.type !== 0) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).int32(message.type);
|
|
1169
|
+
if (message.name !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.name);
|
|
1170
|
+
let u = options.writeUnknownFields;
|
|
1171
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1172
|
+
return writer;
|
|
1173
|
+
}
|
|
1174
|
+
};
|
|
1039
1175
|
/**
|
|
1040
|
-
|
|
1041
|
-
|
|
1176
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldSchema
|
|
1177
|
+
*/
|
|
1042
1178
|
const FieldSchema = new FieldSchema$Type();
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1179
|
+
var ResourceAPIFeature$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
1180
|
+
constructor() {
|
|
1181
|
+
super("MiLaboratories.PL.API.ResourceAPIFeature", [
|
|
1182
|
+
{
|
|
1183
|
+
no: 1,
|
|
1184
|
+
name: "controller_type",
|
|
1185
|
+
kind: "scalar",
|
|
1186
|
+
T: 9
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
no: 2,
|
|
1190
|
+
name: "feature_name",
|
|
1191
|
+
kind: "scalar",
|
|
1192
|
+
T: 9
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
no: 3,
|
|
1196
|
+
name: "resource_type",
|
|
1197
|
+
kind: "message",
|
|
1198
|
+
T: () => require_base_types.ResourceType
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
no: 4,
|
|
1202
|
+
name: "endpoint",
|
|
1203
|
+
kind: "scalar",
|
|
1204
|
+
T: 9
|
|
1205
|
+
}
|
|
1206
|
+
]);
|
|
1207
|
+
}
|
|
1208
|
+
create(value) {
|
|
1209
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
1210
|
+
message.controllerType = "";
|
|
1211
|
+
message.featureName = "";
|
|
1212
|
+
message.endpoint = "";
|
|
1213
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
1214
|
+
return message;
|
|
1215
|
+
}
|
|
1216
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1217
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1218
|
+
while (reader.pos < end) {
|
|
1219
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1220
|
+
switch (fieldNo) {
|
|
1221
|
+
case 1:
|
|
1222
|
+
message.controllerType = reader.string();
|
|
1223
|
+
break;
|
|
1224
|
+
case 2:
|
|
1225
|
+
message.featureName = reader.string();
|
|
1226
|
+
break;
|
|
1227
|
+
case 3:
|
|
1228
|
+
message.resourceType = require_base_types.ResourceType.internalBinaryRead(reader, reader.uint32(), options, message.resourceType);
|
|
1229
|
+
break;
|
|
1230
|
+
case 4:
|
|
1231
|
+
message.endpoint = reader.string();
|
|
1232
|
+
break;
|
|
1233
|
+
default:
|
|
1234
|
+
let u = options.readUnknownField;
|
|
1235
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1236
|
+
let d = reader.skip(wireType);
|
|
1237
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
return message;
|
|
1241
|
+
}
|
|
1242
|
+
internalBinaryWrite(message, writer, options) {
|
|
1243
|
+
if (message.controllerType !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.controllerType);
|
|
1244
|
+
if (message.featureName !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.featureName);
|
|
1245
|
+
if (message.resourceType) require_base_types.ResourceType.internalBinaryWrite(message.resourceType, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1246
|
+
if (message.endpoint !== "") writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.endpoint);
|
|
1247
|
+
let u = options.writeUnknownFields;
|
|
1248
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1249
|
+
return writer;
|
|
1250
|
+
}
|
|
1251
|
+
};
|
|
1109
1252
|
/**
|
|
1110
|
-
|
|
1111
|
-
|
|
1253
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPIFeature
|
|
1254
|
+
*/
|
|
1112
1255
|
const ResourceAPIFeature = new ResourceAPIFeature$Type();
|
|
1113
1256
|
|
|
1257
|
+
//#endregion
|
|
1114
1258
|
exports.Controller = Controller;
|
|
1115
1259
|
exports.Field = Field;
|
|
1116
|
-
exports.
|
|
1260
|
+
exports.Field_ValueStatus = Field_ValueStatus;
|
|
1117
1261
|
exports.Notification = Notification;
|
|
1118
|
-
exports.Notification_Events = Notification_Events;
|
|
1119
|
-
exports.Notification_FieldChange = Notification_FieldChange;
|
|
1120
1262
|
exports.Resource = Resource;
|
|
1121
1263
|
exports.ResourceAPIFeature = ResourceAPIFeature;
|
|
1122
1264
|
exports.ResourceSchema = ResourceSchema;
|
|
1123
|
-
exports.
|
|
1124
|
-
exports.SpanInfo = SpanInfo;
|
|
1265
|
+
exports.Resource_Kind = Resource_Kind;
|
|
1125
1266
|
exports.Subscription = Subscription;
|
|
1126
1267
|
exports.Tx = Tx;
|
|
1127
|
-
//# sourceMappingURL=api_types.cjs.map
|
|
1268
|
+
//# sourceMappingURL=api_types.cjs.map
|