@mochabug/adaptkit 0.14.6 → 1.0.0-beta.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/assets/build-client.js +107 -0
- package/assets/build.js +57 -0
- package/assets/configurator.App.tsx +123 -0
- package/assets/configurator.main.tsx +19 -0
- package/assets/configurator.ssg.tsx +31 -0
- package/assets/{configurator.ts → configurator_none.ts} +1 -1
- package/assets/configurator_react.tsx +38 -0
- package/assets/executor.App.tsx +103 -0
- package/assets/executor.main.tsx +19 -0
- package/assets/executor.ssg.tsx +31 -0
- package/assets/{executor_browser.ts → executor_browser_none.ts} +1 -1
- package/assets/executor_browser_react.tsx +51 -0
- package/assets/gitignore +3 -0
- package/assets/global.d.ts +7 -0
- package/assets/inject.js +15 -0
- package/assets/tsconf.json +9 -3
- package/bin/index.js +12 -3247
- package/bin/index.js.map +7 -0
- package/package.json +10 -22
- package/assets/rollup.config.ts +0 -40
- package/bin/add.d.ts +0 -3
- package/bin/add.d.ts.map +0 -1
- package/bin/genproto/buf/validate/validate.d.ts +0 -4657
- package/bin/genproto/buf/validate/validate.d.ts.map +0 -1
- package/bin/genproto/google/api/client.d.ts +0 -785
- package/bin/genproto/google/api/client.d.ts.map +0 -1
- package/bin/genproto/google/api/http.d.ts +0 -452
- package/bin/genproto/google/api/http.d.ts.map +0 -1
- package/bin/genproto/google/api/launch_stage.d.ts +0 -78
- package/bin/genproto/google/api/launch_stage.d.ts.map +0 -1
- package/bin/genproto/google/protobuf/descriptor.d.ts +0 -2337
- package/bin/genproto/google/protobuf/descriptor.d.ts.map +0 -1
- package/bin/genproto/google/protobuf/duration.d.ts +0 -113
- package/bin/genproto/google/protobuf/duration.d.ts.map +0 -1
- package/bin/genproto/google/protobuf/struct.d.ts +0 -185
- package/bin/genproto/google/protobuf/struct.d.ts.map +0 -1
- package/bin/genproto/google/protobuf/timestamp.d.ts +0 -156
- package/bin/genproto/google/protobuf/timestamp.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/graph/exchange.d.ts +0 -50
- package/bin/genproto/mochabugapis/adapt/graph/exchange.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/graph/jtd_schema.d.ts +0 -129
- package/bin/genproto/mochabugapis/adapt/graph/jtd_schema.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/graph/receiver.d.ts +0 -46
- package/bin/genproto/mochabugapis/adapt/graph/receiver.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/graph/signal_binding.d.ts +0 -93
- package/bin/genproto/mochabugapis/adapt/graph/signal_binding.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor.d.ts +0 -56
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/graph/transceiver.d.ts +0 -44
- package/bin/genproto/mochabugapis/adapt/graph/transceiver.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/graph/transmitter.d.ts +0 -50
- package/bin/genproto/mochabugapis/adapt/graph/transmitter.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/graph/vertex_config.d.ts +0 -68
- package/bin/genproto/mochabugapis/adapt/graph/vertex_config.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.client.d.ts +0 -46
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.client.d.ts.map +0 -1
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.d.ts +0 -840
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.d.ts.map +0 -1
- package/bin/index.d.ts +0 -2
- package/bin/index.d.ts.map +0 -1
- package/bin/init.d.ts +0 -2
- package/bin/init.d.ts.map +0 -1
- package/bin/oauth2.d.ts +0 -2
- package/bin/oauth2.d.ts.map +0 -1
- package/bin/publish.d.ts +0 -4
- package/bin/publish.d.ts.map +0 -1
- package/bin/utils.d.ts +0 -6
- package/bin/utils.d.ts.map +0 -1
- package/bin/vertices.d.ts +0 -3
- package/bin/vertices.d.ts.map +0 -1
|
@@ -1,840 +0,0 @@
|
|
|
1
|
-
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
2
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
3
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
4
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
6
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
7
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
|
-
/**
|
|
9
|
-
* UploadPluginRequest represents a single request in the CreatePlugin streaming
|
|
10
|
-
* RPC. The client sends a series of UploadPluginRequest messages containing
|
|
11
|
-
* plugin data, starting with a manifest and followed by one or more files.
|
|
12
|
-
*
|
|
13
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.UploadPluginRequest
|
|
14
|
-
*/
|
|
15
|
-
export interface UploadPluginRequest {
|
|
16
|
-
/**
|
|
17
|
-
* @generated from protobuf oneof: data
|
|
18
|
-
*/
|
|
19
|
-
data: {
|
|
20
|
-
oneofKind: "manifest";
|
|
21
|
-
/**
|
|
22
|
-
* 'manifest' is the Manifest describing the plugin.
|
|
23
|
-
* It must be the first message in the stream.
|
|
24
|
-
*
|
|
25
|
-
* @generated from protobuf field: mochabugapis.adapt.plugins.v1.Manifest manifest = 1;
|
|
26
|
-
*/
|
|
27
|
-
manifest: Manifest;
|
|
28
|
-
} | {
|
|
29
|
-
oneofKind: "file";
|
|
30
|
-
/**
|
|
31
|
-
* 'file' is a File contained within the plugin.
|
|
32
|
-
* It follows the manifest in the stream.
|
|
33
|
-
*
|
|
34
|
-
* @generated from protobuf field: mochabugapis.adapt.plugins.v1.File file = 2;
|
|
35
|
-
*/
|
|
36
|
-
file: File;
|
|
37
|
-
} | {
|
|
38
|
-
oneofKind: undefined;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* UploadPluginResponse represents the response from the CreatePlugin streaming
|
|
43
|
-
* RPC. The server sends a single CreatePluginResponse after successfully
|
|
44
|
-
* processing all UploadPluginResponse messages from the client.
|
|
45
|
-
*
|
|
46
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.UploadPluginResponse
|
|
47
|
-
*/
|
|
48
|
-
export interface UploadPluginResponse {
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* File represents a file within a plugin package.
|
|
52
|
-
*
|
|
53
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.File
|
|
54
|
-
*/
|
|
55
|
-
export interface File {
|
|
56
|
-
/**
|
|
57
|
-
* 'path' is the local file path relative to the manifest.json folder.
|
|
58
|
-
*
|
|
59
|
-
* @generated from protobuf field: string path = 1;
|
|
60
|
-
*/
|
|
61
|
-
path: string;
|
|
62
|
-
/**
|
|
63
|
-
* 'data' contains the actual binary file data.
|
|
64
|
-
*
|
|
65
|
-
* @generated from protobuf field: bytes data = 2;
|
|
66
|
-
*/
|
|
67
|
-
data: Uint8Array;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Manifest describes a plugin and its properties.
|
|
71
|
-
*
|
|
72
|
-
* Security considerations: The platform ensures that secrets and certificates
|
|
73
|
-
* are stored and transmitted securely.
|
|
74
|
-
*
|
|
75
|
-
* *** Plugin authors must also ensure that their implementations
|
|
76
|
-
* handle sensitive data appropriately! ***
|
|
77
|
-
*
|
|
78
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.Manifest
|
|
79
|
-
*/
|
|
80
|
-
export interface Manifest {
|
|
81
|
-
/**
|
|
82
|
-
* 'name' is the alpha-numeric identifier of the plugin. Must be conform to a ES variable name
|
|
83
|
-
*
|
|
84
|
-
* @generated from protobuf field: string name = 1;
|
|
85
|
-
*/
|
|
86
|
-
name: string;
|
|
87
|
-
/**
|
|
88
|
-
* 'version' is the plugin's version, following SemVer 2.0: https://semver.org/
|
|
89
|
-
*
|
|
90
|
-
* @generated from protobuf field: string version = 2;
|
|
91
|
-
*/
|
|
92
|
-
version: string;
|
|
93
|
-
/**
|
|
94
|
-
* 'label' is a human-friendly label displayed in the UI.
|
|
95
|
-
*
|
|
96
|
-
* @generated from protobuf field: string label = 3;
|
|
97
|
-
*/
|
|
98
|
-
label: string;
|
|
99
|
-
/**
|
|
100
|
-
* 'description' is a short, human-friendly description displayed in the UI.
|
|
101
|
-
*
|
|
102
|
-
* @generated from protobuf field: string description = 4;
|
|
103
|
-
*/
|
|
104
|
-
description: string;
|
|
105
|
-
/**
|
|
106
|
-
* 'organization' is the id of the organization the user belongs to.
|
|
107
|
-
*
|
|
108
|
-
* @generated from protobuf field: string organization = 5;
|
|
109
|
-
*/
|
|
110
|
-
organization: string;
|
|
111
|
-
/**
|
|
112
|
-
* 'homepage' is the plugin's homepage URL.
|
|
113
|
-
*
|
|
114
|
-
* @generated from protobuf field: optional string homepage = 6;
|
|
115
|
-
*/
|
|
116
|
-
homepage?: string;
|
|
117
|
-
/**
|
|
118
|
-
* 'repository' is the plugin's repository URL.
|
|
119
|
-
*
|
|
120
|
-
* @generated from protobuf field: optional string repository = 7;
|
|
121
|
-
*/
|
|
122
|
-
repository?: string;
|
|
123
|
-
/**
|
|
124
|
-
* 'bugs' is the URL or email for reporting bugs.
|
|
125
|
-
*
|
|
126
|
-
* @generated from protobuf field: optional string bugs = 8;
|
|
127
|
-
*/
|
|
128
|
-
bugs?: string;
|
|
129
|
-
/**
|
|
130
|
-
* 'author' is the name of the plugin's author.
|
|
131
|
-
*
|
|
132
|
-
* @generated from protobuf field: optional string author = 9;
|
|
133
|
-
*/
|
|
134
|
-
author?: string;
|
|
135
|
-
/**
|
|
136
|
-
* 'logo' is an optional path to the plugin logo.
|
|
137
|
-
* The logo will be resized to a maximum of 80x80 pixels.
|
|
138
|
-
* - Supported file formats:
|
|
139
|
-
* - GIF: .gif
|
|
140
|
-
* - JPEG: .jpg, .jpeg, .jfif, .pjpeg, .pjp
|
|
141
|
-
* - PNG: .png
|
|
142
|
-
* - SVG: .svg
|
|
143
|
-
* - WEBP: .webp
|
|
144
|
-
* - AVIF: .avif
|
|
145
|
-
*
|
|
146
|
-
* @generated from protobuf field: optional string logo = 10;
|
|
147
|
-
*/
|
|
148
|
-
logo?: string;
|
|
149
|
-
/**
|
|
150
|
-
* 'executors' is the path to the executor ES module file.
|
|
151
|
-
*
|
|
152
|
-
* @generated from protobuf field: string executors = 11;
|
|
153
|
-
*/
|
|
154
|
-
executors: string;
|
|
155
|
-
/**
|
|
156
|
-
* 'configurators' is an optional path to the configurator ES module file.
|
|
157
|
-
*
|
|
158
|
-
* @generated from protobuf field: optional string configurators = 12;
|
|
159
|
-
*/
|
|
160
|
-
configurators?: string;
|
|
161
|
-
/**
|
|
162
|
-
* 'assets' is an optional directory containing all static assets
|
|
163
|
-
* available to the plugin.
|
|
164
|
-
*
|
|
165
|
-
* @generated from protobuf field: optional string assets = 13;
|
|
166
|
-
*/
|
|
167
|
-
assets?: string;
|
|
168
|
-
/**
|
|
169
|
-
* 'cdn' is the URL of the plugin's CDN (content delivery network).
|
|
170
|
-
* The CDN is used to serve static assets, such as images, CSS, and JavaScript
|
|
171
|
-
* files. The files will be located on https://cdn.mochabug.com/adapt/plugins/<owner>/<plugin>/<version>/
|
|
172
|
-
*
|
|
173
|
-
* @generated from protobuf field: optional string cdn = 14;
|
|
174
|
-
*/
|
|
175
|
-
cdn?: string;
|
|
176
|
-
/**
|
|
177
|
-
* 'vertices' is a list of vertices that constitute the plugin.
|
|
178
|
-
*
|
|
179
|
-
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.Vertex vertices = 15;
|
|
180
|
-
*/
|
|
181
|
-
vertices: Vertex[];
|
|
182
|
-
/**
|
|
183
|
-
* The plugin oauth2 services specifies oauth2 services that is required for the plugin.
|
|
184
|
-
* The client_id must be set for ALL oauth services here
|
|
185
|
-
*
|
|
186
|
-
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.Oauth2Service plugin_oauth2 = 16;
|
|
187
|
-
*/
|
|
188
|
-
pluginOauth2: Oauth2Service[];
|
|
189
|
-
/**
|
|
190
|
-
* 'plugin_variables' represents the variables required by the plugin.
|
|
191
|
-
* The platform ensures secure storage and transmission of variables.
|
|
192
|
-
* i.e. a plugin owner sets these variables and the plugin can use them
|
|
193
|
-
*
|
|
194
|
-
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.VariableService plugin_variables = 17;
|
|
195
|
-
*/
|
|
196
|
-
pluginVariables: VariableService[];
|
|
197
|
-
/**
|
|
198
|
-
* 'plugin_mtls' represents the mTLS (mutual TLS) certificates required by
|
|
199
|
-
* the plugin. The platform ensures secure storage and transmission of
|
|
200
|
-
* certificates.
|
|
201
|
-
* i.e. a plugin owner sets these certificates and the plugin can use them
|
|
202
|
-
*
|
|
203
|
-
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.MTLSService plugin_mtls = 18;
|
|
204
|
-
*/
|
|
205
|
-
pluginMtls: MTLSService[];
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* Vertex represents a graph vertex that defines a plugin.
|
|
209
|
-
* Note: Be aware of potential security implications when dealing with
|
|
210
|
-
* user-provided data, such as file paths, and ensure proper input validation
|
|
211
|
-
* and sanitization.
|
|
212
|
-
*
|
|
213
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.Vertex
|
|
214
|
-
*/
|
|
215
|
-
export interface Vertex {
|
|
216
|
-
/**
|
|
217
|
-
* 'name' represents the vertex name.
|
|
218
|
-
*
|
|
219
|
-
* @generated from protobuf field: string name = 1;
|
|
220
|
-
*/
|
|
221
|
-
name: string;
|
|
222
|
-
/**
|
|
223
|
-
* 'label' is a human-friendly label displayed in the UI.
|
|
224
|
-
*
|
|
225
|
-
* @generated from protobuf field: string label = 2;
|
|
226
|
-
*/
|
|
227
|
-
label: string;
|
|
228
|
-
/**
|
|
229
|
-
* 'description' is a human-friendly short description of the vertex displayed
|
|
230
|
-
* in UI.
|
|
231
|
-
*
|
|
232
|
-
* @generated from protobuf field: optional string description = 3;
|
|
233
|
-
*/
|
|
234
|
-
description?: string;
|
|
235
|
-
/**
|
|
236
|
-
* 'logo' is the file path to the vertex logo, which will be resized to a
|
|
237
|
-
* maximum of 40x40 pixels. Ensure that the logo files are from trusted
|
|
238
|
-
* sources to avoid security risks.
|
|
239
|
-
* - Supported file formats:
|
|
240
|
-
* - GIF: .gif
|
|
241
|
-
* - JPEG: .jpg, .jpeg, .jfif, .pjpeg, .pjp
|
|
242
|
-
* - PNG: .png
|
|
243
|
-
* - SVG: .svg
|
|
244
|
-
* - WEBP: .webp
|
|
245
|
-
* - AVIF: .avif
|
|
246
|
-
*
|
|
247
|
-
* @generated from protobuf field: optional string logo = 4;
|
|
248
|
-
*/
|
|
249
|
-
logo?: string;
|
|
250
|
-
/**
|
|
251
|
-
* 'type' specifies the type of the vertex.
|
|
252
|
-
*
|
|
253
|
-
* @generated from protobuf field: mochabugapis.adapt.plugins.v1.Vertex.VertexType type = 5;
|
|
254
|
-
*/
|
|
255
|
-
type: Vertex_VertexType;
|
|
256
|
-
/**
|
|
257
|
-
* 'config' is an field that contains a Unix file path.
|
|
258
|
-
* This can be any type of file, this is only intepreted for the vertex itself
|
|
259
|
-
* Restrictions:
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
* @generated from protobuf field: optional string config = 6;
|
|
263
|
-
*/
|
|
264
|
-
config?: string;
|
|
265
|
-
/**
|
|
266
|
-
* 'metadata' is an field that contains a Unix file path.
|
|
267
|
-
* This determines which receivers, transmitters etc... the vertex has to begin with
|
|
268
|
-
* Restrictions:
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* @generated from protobuf field: string metadata = 7;
|
|
272
|
-
*/
|
|
273
|
-
metadata: string;
|
|
274
|
-
/**
|
|
275
|
-
* 'configurator' is a field to indicate whether or not
|
|
276
|
-
* the vertex has a configurator
|
|
277
|
-
*
|
|
278
|
-
* @generated from protobuf field: bool configurator = 8;
|
|
279
|
-
*/
|
|
280
|
-
configurator: boolean;
|
|
281
|
-
/**
|
|
282
|
-
* The variables required by the vertex
|
|
283
|
-
*
|
|
284
|
-
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.VariableService variables = 9;
|
|
285
|
-
*/
|
|
286
|
-
variables: VariableService[];
|
|
287
|
-
/**
|
|
288
|
-
* The mtls field contains a list of MTLSService instances for user-defined mTLS services.
|
|
289
|
-
*
|
|
290
|
-
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.MTLSService mtls = 10;
|
|
291
|
-
*/
|
|
292
|
-
mtls: MTLSService[];
|
|
293
|
-
/**
|
|
294
|
-
* The code_oauth2 field stores a list of bindings to the actual code flow definitions.
|
|
295
|
-
*
|
|
296
|
-
* If any of the OAuth2 services referred to in these bindings are not configured and are not marked as 'optional'
|
|
297
|
-
* in their respective ServiceBinding, the plugin might not be able to properly authenticate and authorize its operations.
|
|
298
|
-
*
|
|
299
|
-
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.Oauth2CodeBinding code_oauth2 = 11;
|
|
300
|
-
*/
|
|
301
|
-
codeOauth2: Oauth2CodeBinding[];
|
|
302
|
-
/**
|
|
303
|
-
* client_id must not be set, and code must not be set. It's only for user defined service accounts
|
|
304
|
-
*
|
|
305
|
-
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.Oauth2Service oauth2 = 12;
|
|
306
|
-
*/
|
|
307
|
-
oauth2: Oauth2Service[];
|
|
308
|
-
}
|
|
309
|
-
/**
|
|
310
|
-
* VertexType represents the type of a vertex.
|
|
311
|
-
*
|
|
312
|
-
* @generated from protobuf enum mochabugapis.adapt.plugins.v1.Vertex.VertexType
|
|
313
|
-
*/
|
|
314
|
-
export declare enum Vertex_VertexType {
|
|
315
|
-
/**
|
|
316
|
-
* Unspecified type (default value, should not be used).
|
|
317
|
-
*
|
|
318
|
-
* @generated from protobuf enum value: VERTEX_TYPE_UNSPECIFIED = 0;
|
|
319
|
-
*/
|
|
320
|
-
UNSPECIFIED = 0,
|
|
321
|
-
/**
|
|
322
|
-
* Action type, available in all contexts and not exposed to the outside
|
|
323
|
-
* world. This type has a lower security risk.
|
|
324
|
-
*
|
|
325
|
-
* @generated from protobuf enum value: VERTEX_TYPE_ACTION = 1;
|
|
326
|
-
*/
|
|
327
|
-
ACTION = 1,
|
|
328
|
-
/**
|
|
329
|
-
* Browser type, available only in a browser context.
|
|
330
|
-
* The configuration always runs inside a browser context.
|
|
331
|
-
* Security implications: be cautious about potentially sensitive data
|
|
332
|
-
* exposure.
|
|
333
|
-
*
|
|
334
|
-
* @generated from protobuf enum value: VERTEX_TYPE_BROWSER = 2;
|
|
335
|
-
*/
|
|
336
|
-
BROWSER = 2,
|
|
337
|
-
/**
|
|
338
|
-
* CronTrigger type, available only in a trigger context.
|
|
339
|
-
* Triggered at specific intervals.
|
|
340
|
-
*
|
|
341
|
-
* @generated from protobuf enum value: VERTEX_TYPE_CRON_TRIGGER = 3;
|
|
342
|
-
*/
|
|
343
|
-
CRON_TRIGGER = 3,
|
|
344
|
-
/**
|
|
345
|
-
* ExternalTrigger type, available only in a trigger context.
|
|
346
|
-
* Accessible via a publicly routable address.
|
|
347
|
-
* Security implications: be cautious about exposing sensitive data or
|
|
348
|
-
* functionality.
|
|
349
|
-
*
|
|
350
|
-
* @generated from protobuf enum value: VERTEX_TYPE_EXTERNAL_TRIGGER = 4;
|
|
351
|
-
*/
|
|
352
|
-
EXTERNAL_TRIGGER = 4
|
|
353
|
-
}
|
|
354
|
-
/**
|
|
355
|
-
* MTLSService represents a mutual Transport Layer Security (mTLS) service
|
|
356
|
-
* configuration required by the plugin. mTLS provides secure communication
|
|
357
|
-
* between client and server by authenticating both parties and encrypting the
|
|
358
|
-
* communication.
|
|
359
|
-
*
|
|
360
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.MTLSService
|
|
361
|
-
*/
|
|
362
|
-
export interface MTLSService {
|
|
363
|
-
/**
|
|
364
|
-
* 'name' is the identifier of the mTLS service.
|
|
365
|
-
* It's used for referencing the specific mTLS configuration.
|
|
366
|
-
*
|
|
367
|
-
* @generated from protobuf field: string name = 1;
|
|
368
|
-
*/
|
|
369
|
-
name: string;
|
|
370
|
-
/**
|
|
371
|
-
* 'label' is an optional short label describing the purpose of the mTLS
|
|
372
|
-
* service.
|
|
373
|
-
*
|
|
374
|
-
* Restrictions:
|
|
375
|
-
* - Length must be greater than 0 and less than 25 characters.
|
|
376
|
-
* Security implications:
|
|
377
|
-
* - Should not contain sensitive information.
|
|
378
|
-
*
|
|
379
|
-
* @generated from protobuf field: optional string label = 2;
|
|
380
|
-
*/
|
|
381
|
-
label?: string;
|
|
382
|
-
/**
|
|
383
|
-
* 'description' is an optional detailed description of the mTLS service and
|
|
384
|
-
* its usage within the plugin.
|
|
385
|
-
*
|
|
386
|
-
* @generated from protobuf field: optional string description = 3;
|
|
387
|
-
*/
|
|
388
|
-
description?: string;
|
|
389
|
-
/**
|
|
390
|
-
* Unset or false means the variable is required
|
|
391
|
-
* true means the mtls service is optional
|
|
392
|
-
*
|
|
393
|
-
* @generated from protobuf field: optional bool optional = 4;
|
|
394
|
-
*/
|
|
395
|
-
optional?: boolean;
|
|
396
|
-
}
|
|
397
|
-
/**
|
|
398
|
-
* A representation of a variable.
|
|
399
|
-
*
|
|
400
|
-
* This message represents a variable used within the hosting platform.
|
|
401
|
-
* Variables are essential for configuring applications and services hosted on the platform.
|
|
402
|
-
* They store values that can be accessed by the application or service during runtime.
|
|
403
|
-
*
|
|
404
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.VariableService
|
|
405
|
-
*/
|
|
406
|
-
export interface VariableService {
|
|
407
|
-
/**
|
|
408
|
-
* 'name' is the identifier of the variable, which is referenced where needed.
|
|
409
|
-
*
|
|
410
|
-
* @generated from protobuf field: string name = 1;
|
|
411
|
-
*/
|
|
412
|
-
name: string;
|
|
413
|
-
/**
|
|
414
|
-
* 'label' is a short, human-readable label describing the purpose of the variable.
|
|
415
|
-
*
|
|
416
|
-
* @generated from protobuf field: optional string label = 2;
|
|
417
|
-
*/
|
|
418
|
-
label?: string;
|
|
419
|
-
/**
|
|
420
|
-
* 'description' is a detailed description of the variable and its use.
|
|
421
|
-
*
|
|
422
|
-
* @generated from protobuf field: optional string description = 3;
|
|
423
|
-
*/
|
|
424
|
-
description?: string;
|
|
425
|
-
/**
|
|
426
|
-
* The 'type' field specifies the data type of the environmental variable.
|
|
427
|
-
*
|
|
428
|
-
* @generated from protobuf field: mochabugapis.adapt.plugins.v1.VariableService.Type type = 4;
|
|
429
|
-
*/
|
|
430
|
-
type: VariableService_Type;
|
|
431
|
-
/**
|
|
432
|
-
* Unset or false means the variable is required
|
|
433
|
-
* true means the variable is optional
|
|
434
|
-
*
|
|
435
|
-
* @generated from protobuf field: optional bool optional = 5;
|
|
436
|
-
*/
|
|
437
|
-
optional?: boolean;
|
|
438
|
-
}
|
|
439
|
-
/**
|
|
440
|
-
* The type of variable
|
|
441
|
-
*
|
|
442
|
-
* @generated from protobuf enum mochabugapis.adapt.plugins.v1.VariableService.Type
|
|
443
|
-
*/
|
|
444
|
-
export declare enum VariableService_Type {
|
|
445
|
-
/**
|
|
446
|
-
* The type is not specified. Invalid value
|
|
447
|
-
*
|
|
448
|
-
* @generated from protobuf enum value: TYPE_UNSPECIFIED = 0;
|
|
449
|
-
*/
|
|
450
|
-
UNSPECIFIED = 0,
|
|
451
|
-
/**
|
|
452
|
-
* The variable will hold a secret
|
|
453
|
-
*
|
|
454
|
-
* @generated from protobuf enum value: TYPE_SECRET = 1;
|
|
455
|
-
*/
|
|
456
|
-
SECRET = 1,
|
|
457
|
-
/**
|
|
458
|
-
* The variable will hold a string
|
|
459
|
-
*
|
|
460
|
-
* @generated from protobuf enum value: TYPE_STRING = 2;
|
|
461
|
-
*/
|
|
462
|
-
STRING = 2,
|
|
463
|
-
/**
|
|
464
|
-
* The variable is a boolean value (a string either "true" or "false")
|
|
465
|
-
*
|
|
466
|
-
* @generated from protobuf enum value: TYPE_SWITCH = 3;
|
|
467
|
-
*/
|
|
468
|
-
SWITCH = 3
|
|
469
|
-
}
|
|
470
|
-
/**
|
|
471
|
-
* OAuth2 service configuration
|
|
472
|
-
*
|
|
473
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.Oauth2Service
|
|
474
|
-
*/
|
|
475
|
-
export interface Oauth2Service {
|
|
476
|
-
/**
|
|
477
|
-
* 'name' is the identifier for the OAuth2 service.
|
|
478
|
-
*
|
|
479
|
-
* @generated from protobuf field: string name = 1;
|
|
480
|
-
*/
|
|
481
|
-
name: string;
|
|
482
|
-
/**
|
|
483
|
-
* 'label' is an optional short label describing the OAuth2 service.
|
|
484
|
-
*
|
|
485
|
-
* @generated from protobuf field: optional string label = 2;
|
|
486
|
-
*/
|
|
487
|
-
label?: string;
|
|
488
|
-
/**
|
|
489
|
-
* 'description' provides a full description of the OAuth2 service.
|
|
490
|
-
*
|
|
491
|
-
* @generated from protobuf field: optional string description = 3;
|
|
492
|
-
*/
|
|
493
|
-
description?: string;
|
|
494
|
-
/**
|
|
495
|
-
* The OAuth2 grant type to be used.
|
|
496
|
-
*
|
|
497
|
-
* @generated from protobuf field: mochabugapis.adapt.plugins.v1.Oauth2GrantType grant_type = 4;
|
|
498
|
-
*/
|
|
499
|
-
grantType: Oauth2GrantType;
|
|
500
|
-
/**
|
|
501
|
-
* The required scopes.
|
|
502
|
-
*
|
|
503
|
-
* @generated from protobuf field: repeated string scopes = 5;
|
|
504
|
-
*/
|
|
505
|
-
scopes: string[];
|
|
506
|
-
/**
|
|
507
|
-
* The client authentication method.
|
|
508
|
-
* REQUIRED when grant_type is:
|
|
509
|
-
* - OAUTH2_GRANT_TYPE_AUTHORIZATION_CODE
|
|
510
|
-
* - OAUTH2_GRANT_TYPE_CLIENT_CREDENTIALS
|
|
511
|
-
*
|
|
512
|
-
* MUST NOT be set when grant_type is:
|
|
513
|
-
* - OAUTH2_GRANT_TYPE_JWT_BEARER
|
|
514
|
-
* - OAUTH2_GRANT_TYPE_SAML2_BEARER
|
|
515
|
-
*
|
|
516
|
-
* @generated from protobuf field: optional mochabugapis.adapt.plugins.v1.Oauth2AuthType auth_method = 6;
|
|
517
|
-
*/
|
|
518
|
-
authMethod?: Oauth2AuthType;
|
|
519
|
-
/**
|
|
520
|
-
* Algorithm used for signing assertions.
|
|
521
|
-
* REQUIRED when:
|
|
522
|
-
* - grant_type is OAUTH2_GRANT_TYPE_JWT_BEARER
|
|
523
|
-
* - grant_type is OAUTH2_GRANT_TYPE_SAML2_BEARER
|
|
524
|
-
* - auth_method is OAUTH2_AUTH_TYPE_PRIVATE_KEY_JWT
|
|
525
|
-
* - auth_method is OAUTH2_AUTH_TYPE_SAML2_BEARER
|
|
526
|
-
*
|
|
527
|
-
* MUST NOT be set otherwise.
|
|
528
|
-
*
|
|
529
|
-
* @generated from protobuf field: optional mochabugapis.adapt.plugins.v1.PrivateKeyAlg alg = 7;
|
|
530
|
-
*/
|
|
531
|
-
alg?: PrivateKeyAlg;
|
|
532
|
-
/**
|
|
533
|
-
* Client ID.
|
|
534
|
-
* This is required when used as plugin_oauth2, but not onto a vertex => oauth2
|
|
535
|
-
*
|
|
536
|
-
* @generated from protobuf field: optional string client_id = 8;
|
|
537
|
-
*/
|
|
538
|
-
clientId?: string;
|
|
539
|
-
/**
|
|
540
|
-
* The token endpoint URL.
|
|
541
|
-
*
|
|
542
|
-
* @generated from protobuf field: string token_endpoint = 9;
|
|
543
|
-
*/
|
|
544
|
-
tokenEndpoint: string;
|
|
545
|
-
/**
|
|
546
|
-
* Configuration specific to the Authorization Code grant type.
|
|
547
|
-
* REQUIRED when grant_type is OAUTH2_GRANT_TYPE_AUTHORIZATION_CODE.
|
|
548
|
-
* MUST NOT be set otherwise.
|
|
549
|
-
*
|
|
550
|
-
* @generated from protobuf field: optional mochabugapis.adapt.plugins.v1.Oauth2Code code = 10;
|
|
551
|
-
*/
|
|
552
|
-
code?: Oauth2Code;
|
|
553
|
-
/**
|
|
554
|
-
* Indicates if the OAuth2 service is optional.
|
|
555
|
-
* This cannot be set to true in case of OAUTH2_GRANT_TYPE_AUTHORIZATION_CODE
|
|
556
|
-
*
|
|
557
|
-
* @generated from protobuf field: optional bool optional = 11;
|
|
558
|
-
*/
|
|
559
|
-
optional?: boolean;
|
|
560
|
-
}
|
|
561
|
-
/**
|
|
562
|
-
* Represents a binding to a code service
|
|
563
|
-
*
|
|
564
|
-
* The binding points to the required service by its 'name' and indicates whether the service is 'optional' or required.
|
|
565
|
-
*
|
|
566
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.Oauth2CodeBinding
|
|
567
|
-
*/
|
|
568
|
-
export interface Oauth2CodeBinding {
|
|
569
|
-
/**
|
|
570
|
-
* The 'name' field specifies the name of the service to bind to. The name should match the 'name' field of
|
|
571
|
-
* the corresponding OAuth2Service.
|
|
572
|
-
*
|
|
573
|
-
* @generated from protobuf field: string name = 1;
|
|
574
|
-
*/
|
|
575
|
-
name: string;
|
|
576
|
-
/**
|
|
577
|
-
* The 'optional' field indicates whether the service binding is optional or required. If 'optional' is
|
|
578
|
-
* set to true, the service is not strictly required and the plugin can function without it. If 'optional'
|
|
579
|
-
* is set to false, the service is required and the plugin might fail if it is not properly configured.
|
|
580
|
-
*
|
|
581
|
-
* @generated from protobuf field: optional bool optional = 2;
|
|
582
|
-
*/
|
|
583
|
-
optional?: boolean;
|
|
584
|
-
}
|
|
585
|
-
/**
|
|
586
|
-
* The code grant type
|
|
587
|
-
* IMPORTANT: it has to be configured with refresh token in order to work correctly
|
|
588
|
-
* this is not needed for client credentials of course since we are owning the client
|
|
589
|
-
* WE ONLY SUPPORT OIDC since we need the sub claim to distinguish between different users
|
|
590
|
-
*
|
|
591
|
-
* @generated from protobuf message mochabugapis.adapt.plugins.v1.Oauth2Code
|
|
592
|
-
*/
|
|
593
|
-
export interface Oauth2Code {
|
|
594
|
-
/**
|
|
595
|
-
* The auth endpoint (i.e. where it gets redirected for login)
|
|
596
|
-
*
|
|
597
|
-
* @generated from protobuf field: string auth_endpoint = 1;
|
|
598
|
-
*/
|
|
599
|
-
authEndpoint: string;
|
|
600
|
-
/**
|
|
601
|
-
* We need to know the issuer in order to validate the token
|
|
602
|
-
*
|
|
603
|
-
* @generated from protobuf field: string issuer = 2;
|
|
604
|
-
*/
|
|
605
|
-
issuer: string;
|
|
606
|
-
/**
|
|
607
|
-
* We also need the JWKs endpoint to validate the token
|
|
608
|
-
*
|
|
609
|
-
* @generated from protobuf field: string jwks_uri = 3;
|
|
610
|
-
*/
|
|
611
|
-
jwksUri: string;
|
|
612
|
-
/**
|
|
613
|
-
* Additional parameters used for the oauth2 login endpoint
|
|
614
|
-
* Do not include state or nonce here since we're generating them
|
|
615
|
-
* in the backend. All params will be encoded in the URL
|
|
616
|
-
*
|
|
617
|
-
* @generated from protobuf field: map<string, string> additional_params = 4;
|
|
618
|
-
*/
|
|
619
|
-
additionalParams: {
|
|
620
|
-
[key: string]: string;
|
|
621
|
-
};
|
|
622
|
-
/**
|
|
623
|
-
* Whether or not to use the PKCE extension
|
|
624
|
-
*
|
|
625
|
-
* @generated from protobuf field: bool use_pkce = 5;
|
|
626
|
-
*/
|
|
627
|
-
usePkce: boolean;
|
|
628
|
-
}
|
|
629
|
-
/**
|
|
630
|
-
* The algorithm used for signing JWT or SAML assertions
|
|
631
|
-
*
|
|
632
|
-
* @generated from protobuf enum mochabugapis.adapt.plugins.v1.PrivateKeyAlg
|
|
633
|
-
*/
|
|
634
|
-
export declare enum PrivateKeyAlg {
|
|
635
|
-
/**
|
|
636
|
-
* Unknown algorithm (invalid)
|
|
637
|
-
*
|
|
638
|
-
* @generated from protobuf enum value: PRIVATE_KEY_ALG_UNSPECIFIED = 0;
|
|
639
|
-
*/
|
|
640
|
-
UNSPECIFIED = 0,
|
|
641
|
-
/**
|
|
642
|
-
* RS256 algorithm
|
|
643
|
-
*
|
|
644
|
-
* @generated from protobuf enum value: PRIVATE_KEY_ALG_RS256 = 1;
|
|
645
|
-
*/
|
|
646
|
-
RS256 = 1
|
|
647
|
-
}
|
|
648
|
-
/**
|
|
649
|
-
* The OAuth2 grant type
|
|
650
|
-
*
|
|
651
|
-
* @generated from protobuf enum mochabugapis.adapt.plugins.v1.Oauth2GrantType
|
|
652
|
-
*/
|
|
653
|
-
export declare enum Oauth2GrantType {
|
|
654
|
-
/**
|
|
655
|
-
* Not specified (invalid)
|
|
656
|
-
*
|
|
657
|
-
* @generated from protobuf enum value: OAUTH2_GRANT_TYPE_UNSPECIFIED = 0;
|
|
658
|
-
*/
|
|
659
|
-
UNSPECIFIED = 0,
|
|
660
|
-
/**
|
|
661
|
-
* Authorization Code Grant
|
|
662
|
-
* grant_type=authorization_code
|
|
663
|
-
*
|
|
664
|
-
* @generated from protobuf enum value: OAUTH2_GRANT_TYPE_AUTHORIZATION_CODE = 1;
|
|
665
|
-
*/
|
|
666
|
-
AUTHORIZATION_CODE = 1,
|
|
667
|
-
/**
|
|
668
|
-
* Client Credentials Grant
|
|
669
|
-
* grant_type=client_credentials
|
|
670
|
-
*
|
|
671
|
-
* @generated from protobuf enum value: OAUTH2_GRANT_TYPE_CLIENT_CREDENTIALS = 2;
|
|
672
|
-
*/
|
|
673
|
-
CLIENT_CREDENTIALS = 2,
|
|
674
|
-
/**
|
|
675
|
-
* JWT Bearer Assertion Grant
|
|
676
|
-
* grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
|
|
677
|
-
*
|
|
678
|
-
* @generated from protobuf enum value: OAUTH2_GRANT_TYPE_JWT_BEARER = 3;
|
|
679
|
-
*/
|
|
680
|
-
JWT_BEARER = 3,
|
|
681
|
-
/**
|
|
682
|
-
* SAML 2.0 Bearer Assertion Grant
|
|
683
|
-
* grant_type=urn:ietf:params:oauth:grant-type:saml2-bearer
|
|
684
|
-
*
|
|
685
|
-
* @generated from protobuf enum value: OAUTH2_GRANT_TYPE_SAML2_BEARER = 4;
|
|
686
|
-
*/
|
|
687
|
-
SAML2_BEARER = 4
|
|
688
|
-
}
|
|
689
|
-
/**
|
|
690
|
-
* The OAuth2 client authentication method
|
|
691
|
-
*
|
|
692
|
-
* @generated from protobuf enum mochabugapis.adapt.plugins.v1.Oauth2AuthType
|
|
693
|
-
*/
|
|
694
|
-
export declare enum Oauth2AuthType {
|
|
695
|
-
/**
|
|
696
|
-
* Not specified (invalid)
|
|
697
|
-
*
|
|
698
|
-
* @generated from protobuf enum value: OAUTH2_AUTH_TYPE_UNSPECIFIED = 0;
|
|
699
|
-
*/
|
|
700
|
-
UNSPECIFIED = 0,
|
|
701
|
-
/**
|
|
702
|
-
* Basic Authentication (client ID and secret in Authorization header)
|
|
703
|
-
*
|
|
704
|
-
* @generated from protobuf enum value: OAUTH2_AUTH_TYPE_BASIC = 1;
|
|
705
|
-
*/
|
|
706
|
-
BASIC = 1,
|
|
707
|
-
/**
|
|
708
|
-
* Form Authentication (client ID and secret in form body)
|
|
709
|
-
*
|
|
710
|
-
* @generated from protobuf enum value: OAUTH2_AUTH_TYPE_FORM = 2;
|
|
711
|
-
*/
|
|
712
|
-
FORM = 2,
|
|
713
|
-
/**
|
|
714
|
-
* Private Key JWT Authentication
|
|
715
|
-
* client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer
|
|
716
|
-
*
|
|
717
|
-
* @generated from protobuf enum value: OAUTH2_AUTH_TYPE_PRIVATE_KEY_JWT = 3;
|
|
718
|
-
*/
|
|
719
|
-
PRIVATE_KEY_JWT = 3,
|
|
720
|
-
/**
|
|
721
|
-
* Mutual TLS Authentication
|
|
722
|
-
*
|
|
723
|
-
* @generated from protobuf enum value: OAUTH2_AUTH_TYPE_MTLS = 4;
|
|
724
|
-
*/
|
|
725
|
-
MTLS = 4,
|
|
726
|
-
/**
|
|
727
|
-
* SAML 2.0 Bearer Assertion for Client Authentication
|
|
728
|
-
* client_assertion_type=urn:ietf:params:oauth:client-assertion-type:saml2-bearer
|
|
729
|
-
*
|
|
730
|
-
* @generated from protobuf enum value: OAUTH2_AUTH_TYPE_SAML2_BEARER = 5;
|
|
731
|
-
*/
|
|
732
|
-
SAML2_BEARER = 5
|
|
733
|
-
}
|
|
734
|
-
declare class UploadPluginRequest$Type extends MessageType<UploadPluginRequest> {
|
|
735
|
-
constructor();
|
|
736
|
-
create(value?: PartialMessage<UploadPluginRequest>): UploadPluginRequest;
|
|
737
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UploadPluginRequest): UploadPluginRequest;
|
|
738
|
-
internalBinaryWrite(message: UploadPluginRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
739
|
-
}
|
|
740
|
-
/**
|
|
741
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.UploadPluginRequest
|
|
742
|
-
*/
|
|
743
|
-
export declare const UploadPluginRequest: UploadPluginRequest$Type;
|
|
744
|
-
declare class UploadPluginResponse$Type extends MessageType<UploadPluginResponse> {
|
|
745
|
-
constructor();
|
|
746
|
-
create(value?: PartialMessage<UploadPluginResponse>): UploadPluginResponse;
|
|
747
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UploadPluginResponse): UploadPluginResponse;
|
|
748
|
-
internalBinaryWrite(message: UploadPluginResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
749
|
-
}
|
|
750
|
-
/**
|
|
751
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.UploadPluginResponse
|
|
752
|
-
*/
|
|
753
|
-
export declare const UploadPluginResponse: UploadPluginResponse$Type;
|
|
754
|
-
declare class File$Type extends MessageType<File> {
|
|
755
|
-
constructor();
|
|
756
|
-
create(value?: PartialMessage<File>): File;
|
|
757
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: File): File;
|
|
758
|
-
internalBinaryWrite(message: File, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
759
|
-
}
|
|
760
|
-
/**
|
|
761
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.File
|
|
762
|
-
*/
|
|
763
|
-
export declare const File: File$Type;
|
|
764
|
-
declare class Manifest$Type extends MessageType<Manifest> {
|
|
765
|
-
constructor();
|
|
766
|
-
create(value?: PartialMessage<Manifest>): Manifest;
|
|
767
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Manifest): Manifest;
|
|
768
|
-
internalBinaryWrite(message: Manifest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
769
|
-
}
|
|
770
|
-
/**
|
|
771
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.Manifest
|
|
772
|
-
*/
|
|
773
|
-
export declare const Manifest: Manifest$Type;
|
|
774
|
-
declare class Vertex$Type extends MessageType<Vertex> {
|
|
775
|
-
constructor();
|
|
776
|
-
create(value?: PartialMessage<Vertex>): Vertex;
|
|
777
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Vertex): Vertex;
|
|
778
|
-
internalBinaryWrite(message: Vertex, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
779
|
-
}
|
|
780
|
-
/**
|
|
781
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.Vertex
|
|
782
|
-
*/
|
|
783
|
-
export declare const Vertex: Vertex$Type;
|
|
784
|
-
declare class MTLSService$Type extends MessageType<MTLSService> {
|
|
785
|
-
constructor();
|
|
786
|
-
create(value?: PartialMessage<MTLSService>): MTLSService;
|
|
787
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MTLSService): MTLSService;
|
|
788
|
-
internalBinaryWrite(message: MTLSService, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
789
|
-
}
|
|
790
|
-
/**
|
|
791
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.MTLSService
|
|
792
|
-
*/
|
|
793
|
-
export declare const MTLSService: MTLSService$Type;
|
|
794
|
-
declare class VariableService$Type extends MessageType<VariableService> {
|
|
795
|
-
constructor();
|
|
796
|
-
create(value?: PartialMessage<VariableService>): VariableService;
|
|
797
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VariableService): VariableService;
|
|
798
|
-
internalBinaryWrite(message: VariableService, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
799
|
-
}
|
|
800
|
-
/**
|
|
801
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.VariableService
|
|
802
|
-
*/
|
|
803
|
-
export declare const VariableService: VariableService$Type;
|
|
804
|
-
declare class Oauth2Service$Type extends MessageType<Oauth2Service> {
|
|
805
|
-
constructor();
|
|
806
|
-
create(value?: PartialMessage<Oauth2Service>): Oauth2Service;
|
|
807
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Oauth2Service): Oauth2Service;
|
|
808
|
-
internalBinaryWrite(message: Oauth2Service, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
809
|
-
}
|
|
810
|
-
/**
|
|
811
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.Oauth2Service
|
|
812
|
-
*/
|
|
813
|
-
export declare const Oauth2Service: Oauth2Service$Type;
|
|
814
|
-
declare class Oauth2CodeBinding$Type extends MessageType<Oauth2CodeBinding> {
|
|
815
|
-
constructor();
|
|
816
|
-
create(value?: PartialMessage<Oauth2CodeBinding>): Oauth2CodeBinding;
|
|
817
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Oauth2CodeBinding): Oauth2CodeBinding;
|
|
818
|
-
internalBinaryWrite(message: Oauth2CodeBinding, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
819
|
-
}
|
|
820
|
-
/**
|
|
821
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.Oauth2CodeBinding
|
|
822
|
-
*/
|
|
823
|
-
export declare const Oauth2CodeBinding: Oauth2CodeBinding$Type;
|
|
824
|
-
declare class Oauth2Code$Type extends MessageType<Oauth2Code> {
|
|
825
|
-
constructor();
|
|
826
|
-
create(value?: PartialMessage<Oauth2Code>): Oauth2Code;
|
|
827
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Oauth2Code): Oauth2Code;
|
|
828
|
-
private binaryReadMap4;
|
|
829
|
-
internalBinaryWrite(message: Oauth2Code, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
830
|
-
}
|
|
831
|
-
/**
|
|
832
|
-
* @generated MessageType for protobuf message mochabugapis.adapt.plugins.v1.Oauth2Code
|
|
833
|
-
*/
|
|
834
|
-
export declare const Oauth2Code: Oauth2Code$Type;
|
|
835
|
-
/**
|
|
836
|
-
* @generated ServiceType for protobuf service mochabugapis.adapt.plugins.v1.PluginService
|
|
837
|
-
*/
|
|
838
|
-
export declare const PluginService: ServiceType;
|
|
839
|
-
export {};
|
|
840
|
-
//# sourceMappingURL=plugins.d.ts.map
|