@milaboratories/pl-client 2.11.8 → 2.11.10
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/auth.cjs +24 -0
- package/dist/core/auth.cjs.map +1 -0
- package/dist/core/auth.d.ts +1 -1
- package/dist/core/auth.js +21 -0
- package/dist/core/auth.js.map +1 -0
- package/dist/core/cache.d.ts +1 -1
- package/dist/core/client.cjs +288 -0
- package/dist/core/client.cjs.map +1 -0
- package/dist/core/client.d.ts +10 -10
- package/dist/core/client.js +267 -0
- package/dist/core/client.js.map +1 -0
- package/dist/core/config.cjs +111 -0
- package/dist/core/config.cjs.map +1 -0
- package/dist/core/config.d.ts +1 -1
- package/dist/core/config.js +95 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/default_client.cjs +143 -0
- package/dist/core/default_client.cjs.map +1 -0
- package/dist/core/default_client.d.ts +1 -1
- package/dist/core/default_client.js +120 -0
- package/dist/core/default_client.js.map +1 -0
- package/dist/core/driver.cjs +14 -0
- package/dist/core/driver.cjs.map +1 -0
- package/dist/core/driver.d.ts +5 -5
- package/dist/core/driver.js +12 -0
- package/dist/core/driver.js.map +1 -0
- package/dist/core/error_resource.cjs +9 -0
- package/dist/core/error_resource.cjs.map +1 -0
- package/dist/core/error_resource.d.ts +1 -1
- package/dist/core/error_resource.js +7 -0
- package/dist/core/error_resource.js.map +1 -0
- package/dist/core/errors.cjs +106 -0
- package/dist/core/errors.cjs.map +1 -0
- package/dist/core/errors.d.ts +1 -1
- package/dist/core/errors.js +93 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/final.cjs +98 -0
- package/dist/core/final.cjs.map +1 -0
- package/dist/core/final.d.ts +2 -2
- package/dist/core/final.js +96 -0
- package/dist/core/final.js.map +1 -0
- package/dist/core/grpc.d.ts +1 -1
- package/dist/core/http.d.ts +1 -0
- package/dist/core/ll_client.cjs +266 -0
- package/dist/core/ll_client.cjs.map +1 -0
- package/dist/core/ll_client.d.ts +3 -3
- package/dist/core/ll_client.js +264 -0
- package/dist/core/ll_client.js.map +1 -0
- package/dist/core/ll_transaction.cjs +236 -0
- package/dist/core/ll_transaction.cjs.map +1 -0
- package/dist/core/ll_transaction.d.ts +2 -2
- package/dist/core/ll_transaction.js +233 -0
- package/dist/core/ll_transaction.js.map +1 -0
- package/dist/core/stat.cjs +74 -0
- package/dist/core/stat.cjs.map +1 -0
- package/dist/core/stat.js +70 -0
- package/dist/core/stat.js.map +1 -0
- package/dist/core/transaction.cjs +626 -0
- package/dist/core/transaction.cjs.map +1 -0
- package/dist/core/transaction.d.ts +6 -6
- package/dist/core/transaction.js +613 -0
- package/dist/core/transaction.js.map +1 -0
- package/dist/core/type_conversion.cjs +106 -0
- package/dist/core/type_conversion.cjs.map +1 -0
- package/dist/core/type_conversion.d.ts +2 -2
- package/dist/core/type_conversion.js +102 -0
- package/dist/core/type_conversion.js.map +1 -0
- package/dist/core/types.cjs +159 -0
- package/dist/core/types.cjs.map +1 -0
- package/dist/core/types.js +134 -0
- package/dist/core/types.js.map +1 -0
- package/dist/core/unauth_client.cjs +43 -0
- package/dist/core/unauth_client.cjs.map +1 -0
- package/dist/core/unauth_client.d.ts +2 -2
- package/dist/core/unauth_client.js +41 -0
- package/dist/core/unauth_client.js.map +1 -0
- package/dist/helpers/pl.cjs +124 -0
- package/dist/helpers/pl.cjs.map +1 -0
- package/dist/helpers/pl.d.ts +10 -2
- package/dist/helpers/pl.js +94 -0
- package/dist/helpers/pl.js.map +1 -0
- package/dist/helpers/poll.cjs +148 -0
- package/dist/helpers/poll.cjs.map +1 -0
- package/dist/helpers/poll.d.ts +4 -4
- package/dist/helpers/poll.js +123 -0
- package/dist/helpers/poll.js.map +1 -0
- package/dist/helpers/rich_resource_types.d.ts +1 -0
- package/dist/helpers/smart_accessors.d.ts +1 -0
- package/dist/helpers/state_helpers.d.ts +1 -1
- package/dist/helpers/tx_helpers.cjs +25 -0
- package/dist/helpers/tx_helpers.cjs.map +1 -0
- package/dist/helpers/tx_helpers.d.ts +2 -2
- package/dist/helpers/tx_helpers.js +23 -0
- package/dist/helpers/tx_helpers.js.map +1 -0
- package/dist/index.cjs +99 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.cjs +71 -0
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -0
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +7 -2
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.js +69 -0
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +8 -5
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +7 -2
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +8 -5
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +8 -3
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +11 -5
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +8 -3
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +13 -5
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +7 -2
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +12238 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +223 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +57 -5
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +221 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +21 -7
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js +12086 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs +1127 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +11 -4
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +1113 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs +152 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +6 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +149 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +22 -7
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs +500 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +7 -2
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +496 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -0
- package/dist/proto/google/api/http.d.ts +6 -1
- package/dist/proto/google/protobuf/any.cjs +151 -0
- package/dist/proto/google/protobuf/any.cjs.map +1 -0
- package/dist/proto/google/protobuf/any.d.ts +10 -1
- package/dist/proto/google/protobuf/any.js +149 -0
- package/dist/proto/google/protobuf/any.js.map +1 -0
- package/dist/proto/google/protobuf/descriptor.d.ts +6 -1
- package/dist/proto/google/protobuf/duration.cjs +105 -0
- package/dist/proto/google/protobuf/duration.cjs.map +1 -0
- package/dist/proto/google/protobuf/duration.d.ts +9 -1
- package/dist/proto/google/protobuf/duration.js +103 -0
- package/dist/proto/google/protobuf/duration.js.map +1 -0
- package/dist/proto/google/protobuf/empty.d.ts +6 -1
- package/dist/proto/google/protobuf/struct.d.ts +9 -1
- package/dist/proto/google/protobuf/timestamp.cjs +133 -0
- package/dist/proto/google/protobuf/timestamp.cjs.map +1 -0
- package/dist/proto/google/protobuf/timestamp.d.ts +9 -1
- package/dist/proto/google/protobuf/timestamp.js +131 -0
- package/dist/proto/google/protobuf/timestamp.js.map +1 -0
- package/dist/proto/google/protobuf/wrappers.d.ts +9 -1
- package/dist/test/test_config.cjs +149 -0
- package/dist/test/test_config.cjs.map +1 -0
- package/dist/test/test_config.d.ts +1 -1
- package/dist/test/test_config.js +123 -0
- package/dist/test/test_config.js.map +1 -0
- package/dist/util/pl.cjs +8 -0
- package/dist/util/pl.cjs.map +1 -0
- package/dist/util/pl.js +6 -0
- package/dist/util/pl.js.map +1 -0
- package/dist/util/util.cjs +17 -0
- package/dist/util/util.cjs.map +1 -0
- package/dist/util/util.js +15 -0
- package/dist/util/util.js.map +1 -0
- package/package.json +14 -11
- package/src/core/client.test.ts +1 -0
- package/src/core/config.test.ts +1 -0
- package/src/core/error.test.ts +1 -0
- package/src/core/ll_client.test.ts +1 -0
- package/src/core/ll_transaction.test.ts +1 -0
- package/src/core/transaction.test.ts +1 -0
- package/src/core/types.test.ts +1 -0
- package/src/core/unauth_client.test.ts +1 -0
- package/src/helpers/rich_resource_types.test.ts +2 -0
- package/src/test/test_config.test.ts +1 -0
- package/src/util/util.test.ts +1 -0
- package/dist/index.mjs +0 -14537
- package/dist/index.mjs.map +0 -1
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var api = require('./api.cjs');
|
|
4
|
+
var runtimeRpc = require('@protobuf-ts/runtime-rpc');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @generated from protobuf service MiLaboratories.PL.API.Platform
|
|
8
|
+
*/
|
|
9
|
+
class PlatformClient {
|
|
10
|
+
_transport;
|
|
11
|
+
typeName = api.Platform.typeName;
|
|
12
|
+
methods = api.Platform.methods;
|
|
13
|
+
options = api.Platform.options;
|
|
14
|
+
constructor(_transport) {
|
|
15
|
+
this._transport = _transport;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* Transactions
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
* @generated from protobuf rpc: Tx
|
|
23
|
+
*/
|
|
24
|
+
tx(options) {
|
|
25
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
26
|
+
return runtimeRpc.stackIntercept("duplex", this._transport, method, opt);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @generated from protobuf rpc: TxSync
|
|
30
|
+
*/
|
|
31
|
+
txSync(input, options) {
|
|
32
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
33
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* Subscriptions
|
|
38
|
+
*
|
|
39
|
+
*
|
|
40
|
+
* @generated from protobuf rpc: SubscriptionAttachFilter
|
|
41
|
+
*/
|
|
42
|
+
subscriptionAttachFilter(input, options) {
|
|
43
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
44
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @generated from protobuf rpc: SubscriptionDetachFilter
|
|
48
|
+
*/
|
|
49
|
+
subscriptionDetachFilter(input, options) {
|
|
50
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
51
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @generated from protobuf rpc: NotificationsGet
|
|
55
|
+
*/
|
|
56
|
+
notificationsGet(input, options) {
|
|
57
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
58
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* Controllers
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
* @generated from protobuf rpc: ControllerRegister
|
|
66
|
+
*/
|
|
67
|
+
controllerRegister(input, options) {
|
|
68
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
69
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* @generated from protobuf rpc: ControllerDeregister
|
|
73
|
+
*/
|
|
74
|
+
controllerDeregister(input, options) {
|
|
75
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
76
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @generated from protobuf rpc: ControllerCreate
|
|
80
|
+
*/
|
|
81
|
+
controllerCreate(input, options) {
|
|
82
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
83
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @generated from protobuf rpc: ControllerExists
|
|
87
|
+
*/
|
|
88
|
+
controllerExists(input, options) {
|
|
89
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
90
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @generated from protobuf rpc: ControllerGet
|
|
94
|
+
*/
|
|
95
|
+
controllerGet(input, options) {
|
|
96
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
97
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf rpc: ControllerUpdate
|
|
101
|
+
*/
|
|
102
|
+
controllerUpdate(input, options) {
|
|
103
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
104
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* @generated from protobuf rpc: ControllerAttachSubscription
|
|
108
|
+
*/
|
|
109
|
+
controllerAttachSubscription(input, options) {
|
|
110
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
111
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @generated from protobuf rpc: GetControllerNotifications
|
|
115
|
+
*/
|
|
116
|
+
getControllerNotifications(input, options) {
|
|
117
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
118
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* @generated from protobuf rpc: WriteControllerAliasesAndUrls
|
|
122
|
+
*/
|
|
123
|
+
writeControllerAliasesAndUrls(input, options) {
|
|
124
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
125
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* @generated from protobuf rpc: RemoveControllerAliasesAndUrls
|
|
129
|
+
*/
|
|
130
|
+
removeControllerAliasesAndUrls(input, options) {
|
|
131
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
132
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* @generated from protobuf rpc: GetControllerUrl
|
|
136
|
+
*/
|
|
137
|
+
getControllerUrl(input, options) {
|
|
138
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
139
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @generated from protobuf rpc: ControllerSetFeatures
|
|
143
|
+
*/
|
|
144
|
+
controllerSetFeatures(input, options) {
|
|
145
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
146
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @generated from protobuf rpc: ControllerClearFeatures
|
|
150
|
+
*/
|
|
151
|
+
controllerClearFeatures(input, options) {
|
|
152
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
153
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* Locks
|
|
158
|
+
*
|
|
159
|
+
*
|
|
160
|
+
* @generated from protobuf rpc: LeaseResource
|
|
161
|
+
*/
|
|
162
|
+
leaseResource(input, options) {
|
|
163
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
164
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @generated from protobuf rpc: UpdateLease
|
|
168
|
+
*/
|
|
169
|
+
updateLease(input, options) {
|
|
170
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
171
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @generated from protobuf rpc: ReleaseLease
|
|
175
|
+
*/
|
|
176
|
+
releaseLease(input, options) {
|
|
177
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
178
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* Authentication
|
|
183
|
+
*
|
|
184
|
+
*
|
|
185
|
+
* @generated from protobuf rpc: AuthMethods
|
|
186
|
+
*/
|
|
187
|
+
authMethods(input, options) {
|
|
188
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
189
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* @generated from protobuf rpc: GetJWTToken
|
|
193
|
+
*/
|
|
194
|
+
getJWTToken(input, options) {
|
|
195
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
196
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* Other stuff
|
|
201
|
+
*
|
|
202
|
+
*
|
|
203
|
+
* @generated from protobuf rpc: ListResourceTypes
|
|
204
|
+
*/
|
|
205
|
+
listResourceTypes(input, options) {
|
|
206
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
207
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* Various service requests
|
|
212
|
+
*
|
|
213
|
+
*
|
|
214
|
+
* @generated from protobuf rpc: Ping
|
|
215
|
+
*/
|
|
216
|
+
ping(input, options) {
|
|
217
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
218
|
+
return runtimeRpc.stackIntercept("unary", this._transport, method, opt, input);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
exports.PlatformClient = PlatformClient;
|
|
223
|
+
//# sourceMappingURL=api.client.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.client.cjs","sources":["../../../../../../../src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/plapi/plapiproto/api.proto\" (package \"MiLaboratories.PL.API\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { Platform } from \"./api\";\nimport type { MaintenanceAPI_Ping_Response } from \"./api\";\nimport type { MaintenanceAPI_Ping_Request } from \"./api\";\nimport type { MiscAPI_ListResourceTypes_Response } from \"./api\";\nimport type { MiscAPI_ListResourceTypes_Request } from \"./api\";\nimport type { AuthAPI_GetJWTToken_Response } from \"./api\";\nimport type { AuthAPI_GetJWTToken_Request } from \"./api\";\nimport type { AuthAPI_ListMethods_Response } from \"./api\";\nimport type { AuthAPI_ListMethods_Request } from \"./api\";\nimport type { LocksAPI_Lease_Release_Response } from \"./api\";\nimport type { LocksAPI_Lease_Release_Request } from \"./api\";\nimport type { LocksAPI_Lease_Update_Response } from \"./api\";\nimport type { LocksAPI_Lease_Update_Request } from \"./api\";\nimport type { LocksAPI_Lease_Create_Response } from \"./api\";\nimport type { LocksAPI_Lease_Create_Request } from \"./api\";\nimport type { ControllerAPI_ClearFeatures_Response } from \"./api\";\nimport type { ControllerAPI_ClearFeatures_Request } from \"./api\";\nimport type { ControllerAPI_SetFeatures_Response } from \"./api\";\nimport type { ControllerAPI_SetFeatures_Request } from \"./api\";\nimport type { ControllerAPI_GetUrl_Response } from \"./api\";\nimport type { ControllerAPI_GetUrl_Request } from \"./api\";\nimport type { ControllerAPI_RemoveAliasesAndUrls_Response } from \"./api\";\nimport type { ControllerAPI_RemoveAliasesAndUrls_Request } from \"./api\";\nimport type { ControllerAPI_WriteAliasesAndUrls_Response } from \"./api\";\nimport type { ControllerAPI_WriteAliasesAndUrls_Request } from \"./api\";\nimport type { ControllerAPI_GetNotifications_Response } from \"./api\";\nimport type { ControllerAPI_GetNotifications_Request } from \"./api\";\nimport type { ControllerAPI_AttachSubscription_Response } from \"./api\";\nimport type { ControllerAPI_AttachSubscription_Request } from \"./api\";\nimport type { ControllerAPI_Update_Response } from \"./api\";\nimport type { ControllerAPI_Update_Request } from \"./api\";\nimport type { ControllerAPI_Get_Response } from \"./api\";\nimport type { ControllerAPI_Get_Request } from \"./api\";\nimport type { ControllerAPI_Exists_Response } from \"./api\";\nimport type { ControllerAPI_Exists_Request } from \"./api\";\nimport type { ControllerAPI_Create_Response } from \"./api\";\nimport type { ControllerAPI_Create_Request } from \"./api\";\nimport type { ControllerAPI_Deregister_Response } from \"./api\";\nimport type { ControllerAPI_Deregister_Request } from \"./api\";\nimport type { ControllerAPI_Register_Response } from \"./api\";\nimport type { ControllerAPI_Register_Request } from \"./api\";\nimport type { NotificationAPI_Get_Response } from \"./api\";\nimport type { NotificationAPI_Get_Request } from \"./api\";\nimport type { SubscriptionAPI_DetachFilter_Response } from \"./api\";\nimport type { SubscriptionAPI_DetachFilter_Request } from \"./api\";\nimport type { SubscriptionAPI_AttachFilter_Response } from \"./api\";\nimport type { SubscriptionAPI_AttachFilter_Request } from \"./api\";\nimport type { TxAPI_Sync_Response } from \"./api\";\nimport type { TxAPI_Sync_Request } from \"./api\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { TxAPI_ServerMessage } from \"./api\";\nimport type { TxAPI_ClientMessage } from \"./api\";\nimport type { DuplexStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service MiLaboratories.PL.API.Platform\n */\nexport interface IPlatformClient {\n /**\n *\n * Transactions\n *\n *\n * @generated from protobuf rpc: Tx\n */\n tx(options?: RpcOptions): DuplexStreamingCall<TxAPI_ClientMessage, TxAPI_ServerMessage>;\n /**\n * @generated from protobuf rpc: TxSync\n */\n txSync(input: TxAPI_Sync_Request, options?: RpcOptions): UnaryCall<TxAPI_Sync_Request, TxAPI_Sync_Response>;\n /**\n *\n * Subscriptions\n *\n *\n * @generated from protobuf rpc: SubscriptionAttachFilter\n */\n subscriptionAttachFilter(input: SubscriptionAPI_AttachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response>;\n /**\n * @generated from protobuf rpc: SubscriptionDetachFilter\n */\n subscriptionDetachFilter(input: SubscriptionAPI_DetachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response>;\n /**\n * @generated from protobuf rpc: NotificationsGet\n */\n notificationsGet(input: NotificationAPI_Get_Request, options?: RpcOptions): UnaryCall<NotificationAPI_Get_Request, NotificationAPI_Get_Response>;\n /**\n *\n * Controllers\n *\n *\n * @generated from protobuf rpc: ControllerRegister\n */\n controllerRegister(input: ControllerAPI_Register_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Register_Request, ControllerAPI_Register_Response>;\n /**\n * @generated from protobuf rpc: ControllerDeregister\n */\n controllerDeregister(input: ControllerAPI_Deregister_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response>;\n /**\n * @generated from protobuf rpc: ControllerCreate\n */\n controllerCreate(input: ControllerAPI_Create_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Create_Request, ControllerAPI_Create_Response>;\n /**\n * @generated from protobuf rpc: ControllerExists\n */\n controllerExists(input: ControllerAPI_Exists_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Exists_Request, ControllerAPI_Exists_Response>;\n /**\n * @generated from protobuf rpc: ControllerGet\n */\n controllerGet(input: ControllerAPI_Get_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Get_Request, ControllerAPI_Get_Response>;\n /**\n * @generated from protobuf rpc: ControllerUpdate\n */\n controllerUpdate(input: ControllerAPI_Update_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Update_Request, ControllerAPI_Update_Response>;\n /**\n * @generated from protobuf rpc: ControllerAttachSubscription\n */\n controllerAttachSubscription(input: ControllerAPI_AttachSubscription_Request, options?: RpcOptions): UnaryCall<ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response>;\n /**\n * @generated from protobuf rpc: GetControllerNotifications\n */\n getControllerNotifications(input: ControllerAPI_GetNotifications_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response>;\n /**\n * @generated from protobuf rpc: WriteControllerAliasesAndUrls\n */\n writeControllerAliasesAndUrls(input: ControllerAPI_WriteAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response>;\n /**\n * @generated from protobuf rpc: RemoveControllerAliasesAndUrls\n */\n removeControllerAliasesAndUrls(input: ControllerAPI_RemoveAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response>;\n /**\n * @generated from protobuf rpc: GetControllerUrl\n */\n getControllerUrl(input: ControllerAPI_GetUrl_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response>;\n /**\n * @generated from protobuf rpc: ControllerSetFeatures\n */\n controllerSetFeatures(input: ControllerAPI_SetFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response>;\n /**\n * @generated from protobuf rpc: ControllerClearFeatures\n */\n controllerClearFeatures(input: ControllerAPI_ClearFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response>;\n /**\n *\n * Locks\n *\n *\n * @generated from protobuf rpc: LeaseResource\n */\n leaseResource(input: LocksAPI_Lease_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response>;\n /**\n * @generated from protobuf rpc: UpdateLease\n */\n updateLease(input: LocksAPI_Lease_Update_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response>;\n /**\n * @generated from protobuf rpc: ReleaseLease\n */\n releaseLease(input: LocksAPI_Lease_Release_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response>;\n /**\n *\n * Authentication\n *\n *\n * @generated from protobuf rpc: AuthMethods\n */\n authMethods(input: AuthAPI_ListMethods_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response>;\n /**\n * @generated from protobuf rpc: GetJWTToken\n */\n getJWTToken(input: AuthAPI_GetJWTToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response>;\n /**\n *\n * Other stuff\n *\n *\n * @generated from protobuf rpc: ListResourceTypes\n */\n listResourceTypes(input: MiscAPI_ListResourceTypes_Request, options?: RpcOptions): UnaryCall<MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response>;\n /**\n *\n * Various service requests\n *\n *\n * @generated from protobuf rpc: Ping\n */\n ping(input: MaintenanceAPI_Ping_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response>;\n}\n/**\n * @generated from protobuf service MiLaboratories.PL.API.Platform\n */\nexport class PlatformClient implements IPlatformClient, ServiceInfo {\n typeName = Platform.typeName;\n methods = Platform.methods;\n options = Platform.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n *\n * Transactions\n *\n *\n * @generated from protobuf rpc: Tx\n */\n tx(options?: RpcOptions): DuplexStreamingCall<TxAPI_ClientMessage, TxAPI_ServerMessage> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<TxAPI_ClientMessage, TxAPI_ServerMessage>(\"duplex\", this._transport, method, opt);\n }\n /**\n * @generated from protobuf rpc: TxSync\n */\n txSync(input: TxAPI_Sync_Request, options?: RpcOptions): UnaryCall<TxAPI_Sync_Request, TxAPI_Sync_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<TxAPI_Sync_Request, TxAPI_Sync_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Subscriptions\n *\n *\n * @generated from protobuf rpc: SubscriptionAttachFilter\n */\n subscriptionAttachFilter(input: SubscriptionAPI_AttachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: SubscriptionDetachFilter\n */\n subscriptionDetachFilter(input: SubscriptionAPI_DetachFilter_Request, options?: RpcOptions): UnaryCall<SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: NotificationsGet\n */\n notificationsGet(input: NotificationAPI_Get_Request, options?: RpcOptions): UnaryCall<NotificationAPI_Get_Request, NotificationAPI_Get_Response> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<NotificationAPI_Get_Request, NotificationAPI_Get_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Controllers\n *\n *\n * @generated from protobuf rpc: ControllerRegister\n */\n controllerRegister(input: ControllerAPI_Register_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Register_Request, ControllerAPI_Register_Response> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Register_Request, ControllerAPI_Register_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerDeregister\n */\n controllerDeregister(input: ControllerAPI_Deregister_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerCreate\n */\n controllerCreate(input: ControllerAPI_Create_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Create_Request, ControllerAPI_Create_Response> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Create_Request, ControllerAPI_Create_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerExists\n */\n controllerExists(input: ControllerAPI_Exists_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Exists_Request, ControllerAPI_Exists_Response> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Exists_Request, ControllerAPI_Exists_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerGet\n */\n controllerGet(input: ControllerAPI_Get_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Get_Request, ControllerAPI_Get_Response> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Get_Request, ControllerAPI_Get_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerUpdate\n */\n controllerUpdate(input: ControllerAPI_Update_Request, options?: RpcOptions): UnaryCall<ControllerAPI_Update_Request, ControllerAPI_Update_Response> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_Update_Request, ControllerAPI_Update_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerAttachSubscription\n */\n controllerAttachSubscription(input: ControllerAPI_AttachSubscription_Request, options?: RpcOptions): UnaryCall<ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetControllerNotifications\n */\n getControllerNotifications(input: ControllerAPI_GetNotifications_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: WriteControllerAliasesAndUrls\n */\n writeControllerAliasesAndUrls(input: ControllerAPI_WriteAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: RemoveControllerAliasesAndUrls\n */\n removeControllerAliasesAndUrls(input: ControllerAPI_RemoveAliasesAndUrls_Request, options?: RpcOptions): UnaryCall<ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetControllerUrl\n */\n getControllerUrl(input: ControllerAPI_GetUrl_Request, options?: RpcOptions): UnaryCall<ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerSetFeatures\n */\n controllerSetFeatures(input: ControllerAPI_SetFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response> {\n const method = this.methods[16], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ControllerClearFeatures\n */\n controllerClearFeatures(input: ControllerAPI_ClearFeatures_Request, options?: RpcOptions): UnaryCall<ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response> {\n const method = this.methods[17], opt = this._transport.mergeOptions(options);\n return stackIntercept<ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Locks\n *\n *\n * @generated from protobuf rpc: LeaseResource\n */\n leaseResource(input: LocksAPI_Lease_Create_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response> {\n const method = this.methods[18], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: UpdateLease\n */\n updateLease(input: LocksAPI_Lease_Update_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response> {\n const method = this.methods[19], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ReleaseLease\n */\n releaseLease(input: LocksAPI_Lease_Release_Request, options?: RpcOptions): UnaryCall<LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response> {\n const method = this.methods[20], opt = this._transport.mergeOptions(options);\n return stackIntercept<LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Authentication\n *\n *\n * @generated from protobuf rpc: AuthMethods\n */\n authMethods(input: AuthAPI_ListMethods_Request, options?: RpcOptions): UnaryCall<AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response> {\n const method = this.methods[21], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetJWTToken\n */\n getJWTToken(input: AuthAPI_GetJWTToken_Request, options?: RpcOptions): UnaryCall<AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response> {\n const method = this.methods[22], opt = this._transport.mergeOptions(options);\n return stackIntercept<AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Other stuff\n *\n *\n * @generated from protobuf rpc: ListResourceTypes\n */\n listResourceTypes(input: MiscAPI_ListResourceTypes_Request, options?: RpcOptions): UnaryCall<MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response> {\n const method = this.methods[23], opt = this._transport.mergeOptions(options);\n return stackIntercept<MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n *\n * Various service requests\n *\n *\n * @generated from protobuf rpc: Ping\n */\n ping(input: MaintenanceAPI_Ping_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response> {\n const method = this.methods[24], opt = this._transport.mergeOptions(options);\n return stackIntercept<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KAAwC,EAAE,OAAoB,EAAA;AAC5E,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC;AAC5E,QAAA,OAAOA,yBAAc,CAAwE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC;IAC9I;AACA;;;;;;AAMG;IACH,IAAI,CAAC,KAAkC,EAAE,OAAoB,EAAA;AACzD,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC;AAC5E,QAAA,OAAOA,yBAAc,CAA4D,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC;IAClI;AACH;;;;"}
|
|
@@ -1,6 +1,58 @@
|
|
|
1
|
-
import { RpcTransport
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
2
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
import type { MaintenanceAPI_Ping_Response } from "./api";
|
|
4
|
+
import type { MaintenanceAPI_Ping_Request } from "./api";
|
|
5
|
+
import type { MiscAPI_ListResourceTypes_Response } from "./api";
|
|
6
|
+
import type { MiscAPI_ListResourceTypes_Request } from "./api";
|
|
7
|
+
import type { AuthAPI_GetJWTToken_Response } from "./api";
|
|
8
|
+
import type { AuthAPI_GetJWTToken_Request } from "./api";
|
|
9
|
+
import type { AuthAPI_ListMethods_Response } from "./api";
|
|
10
|
+
import type { AuthAPI_ListMethods_Request } from "./api";
|
|
11
|
+
import type { LocksAPI_Lease_Release_Response } from "./api";
|
|
12
|
+
import type { LocksAPI_Lease_Release_Request } from "./api";
|
|
13
|
+
import type { LocksAPI_Lease_Update_Response } from "./api";
|
|
14
|
+
import type { LocksAPI_Lease_Update_Request } from "./api";
|
|
15
|
+
import type { LocksAPI_Lease_Create_Response } from "./api";
|
|
16
|
+
import type { LocksAPI_Lease_Create_Request } from "./api";
|
|
17
|
+
import type { ControllerAPI_ClearFeatures_Response } from "./api";
|
|
18
|
+
import type { ControllerAPI_ClearFeatures_Request } from "./api";
|
|
19
|
+
import type { ControllerAPI_SetFeatures_Response } from "./api";
|
|
20
|
+
import type { ControllerAPI_SetFeatures_Request } from "./api";
|
|
21
|
+
import type { ControllerAPI_GetUrl_Response } from "./api";
|
|
22
|
+
import type { ControllerAPI_GetUrl_Request } from "./api";
|
|
23
|
+
import type { ControllerAPI_RemoveAliasesAndUrls_Response } from "./api";
|
|
24
|
+
import type { ControllerAPI_RemoveAliasesAndUrls_Request } from "./api";
|
|
25
|
+
import type { ControllerAPI_WriteAliasesAndUrls_Response } from "./api";
|
|
26
|
+
import type { ControllerAPI_WriteAliasesAndUrls_Request } from "./api";
|
|
27
|
+
import type { ControllerAPI_GetNotifications_Response } from "./api";
|
|
28
|
+
import type { ControllerAPI_GetNotifications_Request } from "./api";
|
|
29
|
+
import type { ControllerAPI_AttachSubscription_Response } from "./api";
|
|
30
|
+
import type { ControllerAPI_AttachSubscription_Request } from "./api";
|
|
31
|
+
import type { ControllerAPI_Update_Response } from "./api";
|
|
32
|
+
import type { ControllerAPI_Update_Request } from "./api";
|
|
33
|
+
import type { ControllerAPI_Get_Response } from "./api";
|
|
34
|
+
import type { ControllerAPI_Get_Request } from "./api";
|
|
35
|
+
import type { ControllerAPI_Exists_Response } from "./api";
|
|
36
|
+
import type { ControllerAPI_Exists_Request } from "./api";
|
|
37
|
+
import type { ControllerAPI_Create_Response } from "./api";
|
|
38
|
+
import type { ControllerAPI_Create_Request } from "./api";
|
|
39
|
+
import type { ControllerAPI_Deregister_Response } from "./api";
|
|
40
|
+
import type { ControllerAPI_Deregister_Request } from "./api";
|
|
41
|
+
import type { ControllerAPI_Register_Response } from "./api";
|
|
42
|
+
import type { ControllerAPI_Register_Request } from "./api";
|
|
43
|
+
import type { NotificationAPI_Get_Response } from "./api";
|
|
44
|
+
import type { NotificationAPI_Get_Request } from "./api";
|
|
45
|
+
import type { SubscriptionAPI_DetachFilter_Response } from "./api";
|
|
46
|
+
import type { SubscriptionAPI_DetachFilter_Request } from "./api";
|
|
47
|
+
import type { SubscriptionAPI_AttachFilter_Response } from "./api";
|
|
48
|
+
import type { SubscriptionAPI_AttachFilter_Request } from "./api";
|
|
49
|
+
import type { TxAPI_Sync_Response } from "./api";
|
|
50
|
+
import type { TxAPI_Sync_Request } from "./api";
|
|
51
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
52
|
+
import type { TxAPI_ServerMessage } from "./api";
|
|
53
|
+
import type { TxAPI_ClientMessage } from "./api";
|
|
54
|
+
import type { DuplexStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
55
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
4
56
|
/**
|
|
5
57
|
* @generated from protobuf service MiLaboratories.PL.API.Platform
|
|
6
58
|
*/
|
|
@@ -140,9 +192,9 @@ export interface IPlatformClient {
|
|
|
140
192
|
export declare class PlatformClient implements IPlatformClient, ServiceInfo {
|
|
141
193
|
private readonly _transport;
|
|
142
194
|
typeName: string;
|
|
143
|
-
methods: MethodInfo<any, any>[];
|
|
195
|
+
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
144
196
|
options: {
|
|
145
|
-
[extensionName: string]: JsonValue;
|
|
197
|
+
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
146
198
|
};
|
|
147
199
|
constructor(_transport: RpcTransport);
|
|
148
200
|
/**
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { Platform } from './api.js';
|
|
2
|
+
import { stackIntercept } from '@protobuf-ts/runtime-rpc';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @generated from protobuf service MiLaboratories.PL.API.Platform
|
|
6
|
+
*/
|
|
7
|
+
class PlatformClient {
|
|
8
|
+
_transport;
|
|
9
|
+
typeName = Platform.typeName;
|
|
10
|
+
methods = Platform.methods;
|
|
11
|
+
options = Platform.options;
|
|
12
|
+
constructor(_transport) {
|
|
13
|
+
this._transport = _transport;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* Transactions
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
* @generated from protobuf rpc: Tx
|
|
21
|
+
*/
|
|
22
|
+
tx(options) {
|
|
23
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
24
|
+
return stackIntercept("duplex", this._transport, method, opt);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf rpc: TxSync
|
|
28
|
+
*/
|
|
29
|
+
txSync(input, options) {
|
|
30
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
31
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* Subscriptions
|
|
36
|
+
*
|
|
37
|
+
*
|
|
38
|
+
* @generated from protobuf rpc: SubscriptionAttachFilter
|
|
39
|
+
*/
|
|
40
|
+
subscriptionAttachFilter(input, options) {
|
|
41
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
42
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @generated from protobuf rpc: SubscriptionDetachFilter
|
|
46
|
+
*/
|
|
47
|
+
subscriptionDetachFilter(input, options) {
|
|
48
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
49
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @generated from protobuf rpc: NotificationsGet
|
|
53
|
+
*/
|
|
54
|
+
notificationsGet(input, options) {
|
|
55
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
56
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* Controllers
|
|
61
|
+
*
|
|
62
|
+
*
|
|
63
|
+
* @generated from protobuf rpc: ControllerRegister
|
|
64
|
+
*/
|
|
65
|
+
controllerRegister(input, options) {
|
|
66
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
67
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @generated from protobuf rpc: ControllerDeregister
|
|
71
|
+
*/
|
|
72
|
+
controllerDeregister(input, options) {
|
|
73
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
74
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @generated from protobuf rpc: ControllerCreate
|
|
78
|
+
*/
|
|
79
|
+
controllerCreate(input, options) {
|
|
80
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
81
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @generated from protobuf rpc: ControllerExists
|
|
85
|
+
*/
|
|
86
|
+
controllerExists(input, options) {
|
|
87
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
88
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @generated from protobuf rpc: ControllerGet
|
|
92
|
+
*/
|
|
93
|
+
controllerGet(input, options) {
|
|
94
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
95
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @generated from protobuf rpc: ControllerUpdate
|
|
99
|
+
*/
|
|
100
|
+
controllerUpdate(input, options) {
|
|
101
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
102
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @generated from protobuf rpc: ControllerAttachSubscription
|
|
106
|
+
*/
|
|
107
|
+
controllerAttachSubscription(input, options) {
|
|
108
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
109
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @generated from protobuf rpc: GetControllerNotifications
|
|
113
|
+
*/
|
|
114
|
+
getControllerNotifications(input, options) {
|
|
115
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
116
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @generated from protobuf rpc: WriteControllerAliasesAndUrls
|
|
120
|
+
*/
|
|
121
|
+
writeControllerAliasesAndUrls(input, options) {
|
|
122
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
123
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* @generated from protobuf rpc: RemoveControllerAliasesAndUrls
|
|
127
|
+
*/
|
|
128
|
+
removeControllerAliasesAndUrls(input, options) {
|
|
129
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
130
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @generated from protobuf rpc: GetControllerUrl
|
|
134
|
+
*/
|
|
135
|
+
getControllerUrl(input, options) {
|
|
136
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
137
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @generated from protobuf rpc: ControllerSetFeatures
|
|
141
|
+
*/
|
|
142
|
+
controllerSetFeatures(input, options) {
|
|
143
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
144
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @generated from protobuf rpc: ControllerClearFeatures
|
|
148
|
+
*/
|
|
149
|
+
controllerClearFeatures(input, options) {
|
|
150
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
151
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* Locks
|
|
156
|
+
*
|
|
157
|
+
*
|
|
158
|
+
* @generated from protobuf rpc: LeaseResource
|
|
159
|
+
*/
|
|
160
|
+
leaseResource(input, options) {
|
|
161
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
162
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* @generated from protobuf rpc: UpdateLease
|
|
166
|
+
*/
|
|
167
|
+
updateLease(input, options) {
|
|
168
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
169
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @generated from protobuf rpc: ReleaseLease
|
|
173
|
+
*/
|
|
174
|
+
releaseLease(input, options) {
|
|
175
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
176
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* Authentication
|
|
181
|
+
*
|
|
182
|
+
*
|
|
183
|
+
* @generated from protobuf rpc: AuthMethods
|
|
184
|
+
*/
|
|
185
|
+
authMethods(input, options) {
|
|
186
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
187
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @generated from protobuf rpc: GetJWTToken
|
|
191
|
+
*/
|
|
192
|
+
getJWTToken(input, options) {
|
|
193
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
194
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* Other stuff
|
|
199
|
+
*
|
|
200
|
+
*
|
|
201
|
+
* @generated from protobuf rpc: ListResourceTypes
|
|
202
|
+
*/
|
|
203
|
+
listResourceTypes(input, options) {
|
|
204
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
205
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* Various service requests
|
|
210
|
+
*
|
|
211
|
+
*
|
|
212
|
+
* @generated from protobuf rpc: Ping
|
|
213
|
+
*/
|
|
214
|
+
ping(input, options) {
|
|
215
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
216
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export { PlatformClient };
|
|
221
|
+
//# sourceMappingURL=api.client.js.map
|