@miradorlabs/web-grpc 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/google/protobuf/timestamp.ts +229 -0
- package/package.json +11 -0
- package/proto/gateway/common/v1/status.ts +179 -0
- package/proto/gateway/common/v1/status_grpc_pb.js +1 -0
- package/proto/gateway/common/v1/status_pb.js +237 -0
- package/proto/gateway/common/v1/types.ts +176 -0
- package/proto/gateway/common/v1/types_grpc_pb.js +1 -0
- package/proto/gateway/common/v1/types_pb.js +216 -0
- package/proto/gateway/web/v1/account_gateway.ts +7037 -0
- package/proto/gateway/web/v1/account_gateway_grpc_pb.js +813 -0
- package/proto/gateway/web/v1/account_gateway_pb.js +14338 -0
- package/proto/gateway/web/v1/automation_gateway.ts +5605 -0
- package/proto/gateway/web/v1/automation_gateway_grpc_pb.js +485 -0
- package/proto/gateway/web/v1/automation_gateway_pb.js +11618 -0
- package/proto/gateway/web/v1/chain_gateway.ts +3805 -0
- package/proto/gateway/web/v1/chain_gateway_grpc_pb.js +115 -0
- package/proto/gateway/web/v1/chain_gateway_pb.js +7049 -0
- package/proto/gateway/web/v1/market_gateway.ts +492 -0
- package/proto/gateway/web/v1/market_gateway_grpc_pb.js +45 -0
- package/proto/gateway/web/v1/market_gateway_pb.js +1063 -0
- package/proto/gateway/web/v1/oauth_gateway.ts +1163 -0
- package/proto/gateway/web/v1/oauth_gateway_grpc_pb.js +150 -0
- package/proto/gateway/web/v1/oauth_gateway_pb.js +2316 -0
- package/proto/gateway/web/v1/plan_gateway.ts +2463 -0
- package/proto/gateway/web/v1/plan_gateway_grpc_pb.js +152 -0
- package/proto/gateway/web/v1/plan_gateway_pb.js +4840 -0
- package/proto/gateway/web/v1/stream_gateway.ts +2354 -0
- package/proto/gateway/web/v1/stream_gateway_grpc_pb.js +145 -0
- package/proto/gateway/web/v1/stream_gateway_pb.js +4593 -0
- package/proto/gateway/web/v1/trace_gateway.ts +16320 -0
- package/proto/gateway/web/v1/trace_gateway_grpc_pb.js +280 -0
- package/proto/gateway/web/v1/trace_gateway_pb.js +28667 -0
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var proto_gateway_web_v1_automation_gateway_pb = require('../../../../proto/gateway/web/v1/automation_gateway_pb.js');
|
|
6
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
7
|
+
var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
|
|
8
|
+
|
|
9
|
+
function serialize_gateway_web_v1_CreateIntegrationRequest(arg) {
|
|
10
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.CreateIntegrationRequest)) {
|
|
11
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateIntegrationRequest');
|
|
12
|
+
}
|
|
13
|
+
return Buffer.from(arg.serializeBinary());
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function deserialize_gateway_web_v1_CreateIntegrationRequest(buffer_arg) {
|
|
17
|
+
return proto_gateway_web_v1_automation_gateway_pb.CreateIntegrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function serialize_gateway_web_v1_CreateIntegrationResponse(arg) {
|
|
21
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.CreateIntegrationResponse)) {
|
|
22
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateIntegrationResponse');
|
|
23
|
+
}
|
|
24
|
+
return Buffer.from(arg.serializeBinary());
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function deserialize_gateway_web_v1_CreateIntegrationResponse(buffer_arg) {
|
|
28
|
+
return proto_gateway_web_v1_automation_gateway_pb.CreateIntegrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function serialize_gateway_web_v1_CreateRuleRequest(arg) {
|
|
32
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.CreateRuleRequest)) {
|
|
33
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateRuleRequest');
|
|
34
|
+
}
|
|
35
|
+
return Buffer.from(arg.serializeBinary());
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function deserialize_gateway_web_v1_CreateRuleRequest(buffer_arg) {
|
|
39
|
+
return proto_gateway_web_v1_automation_gateway_pb.CreateRuleRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function serialize_gateway_web_v1_CreateRuleResponse(arg) {
|
|
43
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.CreateRuleResponse)) {
|
|
44
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateRuleResponse');
|
|
45
|
+
}
|
|
46
|
+
return Buffer.from(arg.serializeBinary());
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function deserialize_gateway_web_v1_CreateRuleResponse(buffer_arg) {
|
|
50
|
+
return proto_gateway_web_v1_automation_gateway_pb.CreateRuleResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function serialize_gateway_web_v1_DeleteIntegrationRequest(arg) {
|
|
54
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.DeleteIntegrationRequest)) {
|
|
55
|
+
throw new Error('Expected argument of type gateway.web.v1.DeleteIntegrationRequest');
|
|
56
|
+
}
|
|
57
|
+
return Buffer.from(arg.serializeBinary());
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function deserialize_gateway_web_v1_DeleteIntegrationRequest(buffer_arg) {
|
|
61
|
+
return proto_gateway_web_v1_automation_gateway_pb.DeleteIntegrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function serialize_gateway_web_v1_DeleteIntegrationResponse(arg) {
|
|
65
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.DeleteIntegrationResponse)) {
|
|
66
|
+
throw new Error('Expected argument of type gateway.web.v1.DeleteIntegrationResponse');
|
|
67
|
+
}
|
|
68
|
+
return Buffer.from(arg.serializeBinary());
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function deserialize_gateway_web_v1_DeleteIntegrationResponse(buffer_arg) {
|
|
72
|
+
return proto_gateway_web_v1_automation_gateway_pb.DeleteIntegrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function serialize_gateway_web_v1_DeleteRuleRequest(arg) {
|
|
76
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.DeleteRuleRequest)) {
|
|
77
|
+
throw new Error('Expected argument of type gateway.web.v1.DeleteRuleRequest');
|
|
78
|
+
}
|
|
79
|
+
return Buffer.from(arg.serializeBinary());
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function deserialize_gateway_web_v1_DeleteRuleRequest(buffer_arg) {
|
|
83
|
+
return proto_gateway_web_v1_automation_gateway_pb.DeleteRuleRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function serialize_gateway_web_v1_DeleteRuleResponse(arg) {
|
|
87
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.DeleteRuleResponse)) {
|
|
88
|
+
throw new Error('Expected argument of type gateway.web.v1.DeleteRuleResponse');
|
|
89
|
+
}
|
|
90
|
+
return Buffer.from(arg.serializeBinary());
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function deserialize_gateway_web_v1_DeleteRuleResponse(buffer_arg) {
|
|
94
|
+
return proto_gateway_web_v1_automation_gateway_pb.DeleteRuleResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function serialize_gateway_web_v1_GetIntegrationRequest(arg) {
|
|
98
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.GetIntegrationRequest)) {
|
|
99
|
+
throw new Error('Expected argument of type gateway.web.v1.GetIntegrationRequest');
|
|
100
|
+
}
|
|
101
|
+
return Buffer.from(arg.serializeBinary());
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function deserialize_gateway_web_v1_GetIntegrationRequest(buffer_arg) {
|
|
105
|
+
return proto_gateway_web_v1_automation_gateway_pb.GetIntegrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function serialize_gateway_web_v1_GetIntegrationResponse(arg) {
|
|
109
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.GetIntegrationResponse)) {
|
|
110
|
+
throw new Error('Expected argument of type gateway.web.v1.GetIntegrationResponse');
|
|
111
|
+
}
|
|
112
|
+
return Buffer.from(arg.serializeBinary());
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function deserialize_gateway_web_v1_GetIntegrationResponse(buffer_arg) {
|
|
116
|
+
return proto_gateway_web_v1_automation_gateway_pb.GetIntegrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function serialize_gateway_web_v1_GetRuleRequest(arg) {
|
|
120
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.GetRuleRequest)) {
|
|
121
|
+
throw new Error('Expected argument of type gateway.web.v1.GetRuleRequest');
|
|
122
|
+
}
|
|
123
|
+
return Buffer.from(arg.serializeBinary());
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function deserialize_gateway_web_v1_GetRuleRequest(buffer_arg) {
|
|
127
|
+
return proto_gateway_web_v1_automation_gateway_pb.GetRuleRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function serialize_gateway_web_v1_GetRuleResponse(arg) {
|
|
131
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.GetRuleResponse)) {
|
|
132
|
+
throw new Error('Expected argument of type gateway.web.v1.GetRuleResponse');
|
|
133
|
+
}
|
|
134
|
+
return Buffer.from(arg.serializeBinary());
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function deserialize_gateway_web_v1_GetRuleResponse(buffer_arg) {
|
|
138
|
+
return proto_gateway_web_v1_automation_gateway_pb.GetRuleResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function serialize_gateway_web_v1_ListIntegrationsRequest(arg) {
|
|
142
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.ListIntegrationsRequest)) {
|
|
143
|
+
throw new Error('Expected argument of type gateway.web.v1.ListIntegrationsRequest');
|
|
144
|
+
}
|
|
145
|
+
return Buffer.from(arg.serializeBinary());
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
function deserialize_gateway_web_v1_ListIntegrationsRequest(buffer_arg) {
|
|
149
|
+
return proto_gateway_web_v1_automation_gateway_pb.ListIntegrationsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
function serialize_gateway_web_v1_ListIntegrationsResponse(arg) {
|
|
153
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.ListIntegrationsResponse)) {
|
|
154
|
+
throw new Error('Expected argument of type gateway.web.v1.ListIntegrationsResponse');
|
|
155
|
+
}
|
|
156
|
+
return Buffer.from(arg.serializeBinary());
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
function deserialize_gateway_web_v1_ListIntegrationsResponse(buffer_arg) {
|
|
160
|
+
return proto_gateway_web_v1_automation_gateway_pb.ListIntegrationsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
function serialize_gateway_web_v1_ListRuleMatchDeliveriesRequest(arg) {
|
|
164
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.ListRuleMatchDeliveriesRequest)) {
|
|
165
|
+
throw new Error('Expected argument of type gateway.web.v1.ListRuleMatchDeliveriesRequest');
|
|
166
|
+
}
|
|
167
|
+
return Buffer.from(arg.serializeBinary());
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
function deserialize_gateway_web_v1_ListRuleMatchDeliveriesRequest(buffer_arg) {
|
|
171
|
+
return proto_gateway_web_v1_automation_gateway_pb.ListRuleMatchDeliveriesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
function serialize_gateway_web_v1_ListRuleMatchDeliveriesResponse(arg) {
|
|
175
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.ListRuleMatchDeliveriesResponse)) {
|
|
176
|
+
throw new Error('Expected argument of type gateway.web.v1.ListRuleMatchDeliveriesResponse');
|
|
177
|
+
}
|
|
178
|
+
return Buffer.from(arg.serializeBinary());
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
function deserialize_gateway_web_v1_ListRuleMatchDeliveriesResponse(buffer_arg) {
|
|
182
|
+
return proto_gateway_web_v1_automation_gateway_pb.ListRuleMatchDeliveriesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
function serialize_gateway_web_v1_ListRuleSchemasRequest(arg) {
|
|
186
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.ListRuleSchemasRequest)) {
|
|
187
|
+
throw new Error('Expected argument of type gateway.web.v1.ListRuleSchemasRequest');
|
|
188
|
+
}
|
|
189
|
+
return Buffer.from(arg.serializeBinary());
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
function deserialize_gateway_web_v1_ListRuleSchemasRequest(buffer_arg) {
|
|
193
|
+
return proto_gateway_web_v1_automation_gateway_pb.ListRuleSchemasRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
function serialize_gateway_web_v1_ListRuleSchemasResponse(arg) {
|
|
197
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.ListRuleSchemasResponse)) {
|
|
198
|
+
throw new Error('Expected argument of type gateway.web.v1.ListRuleSchemasResponse');
|
|
199
|
+
}
|
|
200
|
+
return Buffer.from(arg.serializeBinary());
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function deserialize_gateway_web_v1_ListRuleSchemasResponse(buffer_arg) {
|
|
204
|
+
return proto_gateway_web_v1_automation_gateway_pb.ListRuleSchemasResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
function serialize_gateway_web_v1_ListRulesRequest(arg) {
|
|
208
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.ListRulesRequest)) {
|
|
209
|
+
throw new Error('Expected argument of type gateway.web.v1.ListRulesRequest');
|
|
210
|
+
}
|
|
211
|
+
return Buffer.from(arg.serializeBinary());
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
function deserialize_gateway_web_v1_ListRulesRequest(buffer_arg) {
|
|
215
|
+
return proto_gateway_web_v1_automation_gateway_pb.ListRulesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
function serialize_gateway_web_v1_ListRulesResponse(arg) {
|
|
219
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.ListRulesResponse)) {
|
|
220
|
+
throw new Error('Expected argument of type gateway.web.v1.ListRulesResponse');
|
|
221
|
+
}
|
|
222
|
+
return Buffer.from(arg.serializeBinary());
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
function deserialize_gateway_web_v1_ListRulesResponse(buffer_arg) {
|
|
226
|
+
return proto_gateway_web_v1_automation_gateway_pb.ListRulesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function serialize_gateway_web_v1_RuleMatchEnvelope(arg) {
|
|
230
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.RuleMatchEnvelope)) {
|
|
231
|
+
throw new Error('Expected argument of type gateway.web.v1.RuleMatchEnvelope');
|
|
232
|
+
}
|
|
233
|
+
return Buffer.from(arg.serializeBinary());
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function deserialize_gateway_web_v1_RuleMatchEnvelope(buffer_arg) {
|
|
237
|
+
return proto_gateway_web_v1_automation_gateway_pb.RuleMatchEnvelope.deserializeBinary(new Uint8Array(buffer_arg));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
function serialize_gateway_web_v1_RuleSimulationMatch(arg) {
|
|
241
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.RuleSimulationMatch)) {
|
|
242
|
+
throw new Error('Expected argument of type gateway.web.v1.RuleSimulationMatch');
|
|
243
|
+
}
|
|
244
|
+
return Buffer.from(arg.serializeBinary());
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
function deserialize_gateway_web_v1_RuleSimulationMatch(buffer_arg) {
|
|
248
|
+
return proto_gateway_web_v1_automation_gateway_pb.RuleSimulationMatch.deserializeBinary(new Uint8Array(buffer_arg));
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
function serialize_gateway_web_v1_StreamRuleMatchesRequest(arg) {
|
|
252
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.StreamRuleMatchesRequest)) {
|
|
253
|
+
throw new Error('Expected argument of type gateway.web.v1.StreamRuleMatchesRequest');
|
|
254
|
+
}
|
|
255
|
+
return Buffer.from(arg.serializeBinary());
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
function deserialize_gateway_web_v1_StreamRuleMatchesRequest(buffer_arg) {
|
|
259
|
+
return proto_gateway_web_v1_automation_gateway_pb.StreamRuleMatchesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
function serialize_gateway_web_v1_StreamRuleSimulationRequest(arg) {
|
|
263
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.StreamRuleSimulationRequest)) {
|
|
264
|
+
throw new Error('Expected argument of type gateway.web.v1.StreamRuleSimulationRequest');
|
|
265
|
+
}
|
|
266
|
+
return Buffer.from(arg.serializeBinary());
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
function deserialize_gateway_web_v1_StreamRuleSimulationRequest(buffer_arg) {
|
|
270
|
+
return proto_gateway_web_v1_automation_gateway_pb.StreamRuleSimulationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
function serialize_gateway_web_v1_UpdateIntegrationRequest(arg) {
|
|
274
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.UpdateIntegrationRequest)) {
|
|
275
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateIntegrationRequest');
|
|
276
|
+
}
|
|
277
|
+
return Buffer.from(arg.serializeBinary());
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
function deserialize_gateway_web_v1_UpdateIntegrationRequest(buffer_arg) {
|
|
281
|
+
return proto_gateway_web_v1_automation_gateway_pb.UpdateIntegrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
function serialize_gateway_web_v1_UpdateIntegrationResponse(arg) {
|
|
285
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.UpdateIntegrationResponse)) {
|
|
286
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateIntegrationResponse');
|
|
287
|
+
}
|
|
288
|
+
return Buffer.from(arg.serializeBinary());
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
function deserialize_gateway_web_v1_UpdateIntegrationResponse(buffer_arg) {
|
|
292
|
+
return proto_gateway_web_v1_automation_gateway_pb.UpdateIntegrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
function serialize_gateway_web_v1_UpdateRuleRequest(arg) {
|
|
296
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.UpdateRuleRequest)) {
|
|
297
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateRuleRequest');
|
|
298
|
+
}
|
|
299
|
+
return Buffer.from(arg.serializeBinary());
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
function deserialize_gateway_web_v1_UpdateRuleRequest(buffer_arg) {
|
|
303
|
+
return proto_gateway_web_v1_automation_gateway_pb.UpdateRuleRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
function serialize_gateway_web_v1_UpdateRuleResponse(arg) {
|
|
307
|
+
if (!(arg instanceof proto_gateway_web_v1_automation_gateway_pb.UpdateRuleResponse)) {
|
|
308
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateRuleResponse');
|
|
309
|
+
}
|
|
310
|
+
return Buffer.from(arg.serializeBinary());
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
function deserialize_gateway_web_v1_UpdateRuleResponse(buffer_arg) {
|
|
314
|
+
return proto_gateway_web_v1_automation_gateway_pb.UpdateRuleResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
// AutomationGatewayService provides web client access to automation management
|
|
319
|
+
var AutomationGatewayServiceService = exports.AutomationGatewayServiceService = {
|
|
320
|
+
// Integration operations
|
|
321
|
+
createIntegration: {
|
|
322
|
+
path: '/gateway.web.v1.AutomationGatewayService/CreateIntegration',
|
|
323
|
+
requestStream: false,
|
|
324
|
+
responseStream: false,
|
|
325
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.CreateIntegrationRequest,
|
|
326
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.CreateIntegrationResponse,
|
|
327
|
+
requestSerialize: serialize_gateway_web_v1_CreateIntegrationRequest,
|
|
328
|
+
requestDeserialize: deserialize_gateway_web_v1_CreateIntegrationRequest,
|
|
329
|
+
responseSerialize: serialize_gateway_web_v1_CreateIntegrationResponse,
|
|
330
|
+
responseDeserialize: deserialize_gateway_web_v1_CreateIntegrationResponse,
|
|
331
|
+
},
|
|
332
|
+
getIntegration: {
|
|
333
|
+
path: '/gateway.web.v1.AutomationGatewayService/GetIntegration',
|
|
334
|
+
requestStream: false,
|
|
335
|
+
responseStream: false,
|
|
336
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.GetIntegrationRequest,
|
|
337
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.GetIntegrationResponse,
|
|
338
|
+
requestSerialize: serialize_gateway_web_v1_GetIntegrationRequest,
|
|
339
|
+
requestDeserialize: deserialize_gateway_web_v1_GetIntegrationRequest,
|
|
340
|
+
responseSerialize: serialize_gateway_web_v1_GetIntegrationResponse,
|
|
341
|
+
responseDeserialize: deserialize_gateway_web_v1_GetIntegrationResponse,
|
|
342
|
+
},
|
|
343
|
+
listIntegrations: {
|
|
344
|
+
path: '/gateway.web.v1.AutomationGatewayService/ListIntegrations',
|
|
345
|
+
requestStream: false,
|
|
346
|
+
responseStream: false,
|
|
347
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.ListIntegrationsRequest,
|
|
348
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.ListIntegrationsResponse,
|
|
349
|
+
requestSerialize: serialize_gateway_web_v1_ListIntegrationsRequest,
|
|
350
|
+
requestDeserialize: deserialize_gateway_web_v1_ListIntegrationsRequest,
|
|
351
|
+
responseSerialize: serialize_gateway_web_v1_ListIntegrationsResponse,
|
|
352
|
+
responseDeserialize: deserialize_gateway_web_v1_ListIntegrationsResponse,
|
|
353
|
+
},
|
|
354
|
+
updateIntegration: {
|
|
355
|
+
path: '/gateway.web.v1.AutomationGatewayService/UpdateIntegration',
|
|
356
|
+
requestStream: false,
|
|
357
|
+
responseStream: false,
|
|
358
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.UpdateIntegrationRequest,
|
|
359
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.UpdateIntegrationResponse,
|
|
360
|
+
requestSerialize: serialize_gateway_web_v1_UpdateIntegrationRequest,
|
|
361
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateIntegrationRequest,
|
|
362
|
+
responseSerialize: serialize_gateway_web_v1_UpdateIntegrationResponse,
|
|
363
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateIntegrationResponse,
|
|
364
|
+
},
|
|
365
|
+
deleteIntegration: {
|
|
366
|
+
path: '/gateway.web.v1.AutomationGatewayService/DeleteIntegration',
|
|
367
|
+
requestStream: false,
|
|
368
|
+
responseStream: false,
|
|
369
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.DeleteIntegrationRequest,
|
|
370
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.DeleteIntegrationResponse,
|
|
371
|
+
requestSerialize: serialize_gateway_web_v1_DeleteIntegrationRequest,
|
|
372
|
+
requestDeserialize: deserialize_gateway_web_v1_DeleteIntegrationRequest,
|
|
373
|
+
responseSerialize: serialize_gateway_web_v1_DeleteIntegrationResponse,
|
|
374
|
+
responseDeserialize: deserialize_gateway_web_v1_DeleteIntegrationResponse,
|
|
375
|
+
},
|
|
376
|
+
// Rule operations
|
|
377
|
+
createRule: {
|
|
378
|
+
path: '/gateway.web.v1.AutomationGatewayService/CreateRule',
|
|
379
|
+
requestStream: false,
|
|
380
|
+
responseStream: false,
|
|
381
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.CreateRuleRequest,
|
|
382
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.CreateRuleResponse,
|
|
383
|
+
requestSerialize: serialize_gateway_web_v1_CreateRuleRequest,
|
|
384
|
+
requestDeserialize: deserialize_gateway_web_v1_CreateRuleRequest,
|
|
385
|
+
responseSerialize: serialize_gateway_web_v1_CreateRuleResponse,
|
|
386
|
+
responseDeserialize: deserialize_gateway_web_v1_CreateRuleResponse,
|
|
387
|
+
},
|
|
388
|
+
getRule: {
|
|
389
|
+
path: '/gateway.web.v1.AutomationGatewayService/GetRule',
|
|
390
|
+
requestStream: false,
|
|
391
|
+
responseStream: false,
|
|
392
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.GetRuleRequest,
|
|
393
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.GetRuleResponse,
|
|
394
|
+
requestSerialize: serialize_gateway_web_v1_GetRuleRequest,
|
|
395
|
+
requestDeserialize: deserialize_gateway_web_v1_GetRuleRequest,
|
|
396
|
+
responseSerialize: serialize_gateway_web_v1_GetRuleResponse,
|
|
397
|
+
responseDeserialize: deserialize_gateway_web_v1_GetRuleResponse,
|
|
398
|
+
},
|
|
399
|
+
listRules: {
|
|
400
|
+
path: '/gateway.web.v1.AutomationGatewayService/ListRules',
|
|
401
|
+
requestStream: false,
|
|
402
|
+
responseStream: false,
|
|
403
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.ListRulesRequest,
|
|
404
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.ListRulesResponse,
|
|
405
|
+
requestSerialize: serialize_gateway_web_v1_ListRulesRequest,
|
|
406
|
+
requestDeserialize: deserialize_gateway_web_v1_ListRulesRequest,
|
|
407
|
+
responseSerialize: serialize_gateway_web_v1_ListRulesResponse,
|
|
408
|
+
responseDeserialize: deserialize_gateway_web_v1_ListRulesResponse,
|
|
409
|
+
},
|
|
410
|
+
updateRule: {
|
|
411
|
+
path: '/gateway.web.v1.AutomationGatewayService/UpdateRule',
|
|
412
|
+
requestStream: false,
|
|
413
|
+
responseStream: false,
|
|
414
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.UpdateRuleRequest,
|
|
415
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.UpdateRuleResponse,
|
|
416
|
+
requestSerialize: serialize_gateway_web_v1_UpdateRuleRequest,
|
|
417
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateRuleRequest,
|
|
418
|
+
responseSerialize: serialize_gateway_web_v1_UpdateRuleResponse,
|
|
419
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateRuleResponse,
|
|
420
|
+
},
|
|
421
|
+
deleteRule: {
|
|
422
|
+
path: '/gateway.web.v1.AutomationGatewayService/DeleteRule',
|
|
423
|
+
requestStream: false,
|
|
424
|
+
responseStream: false,
|
|
425
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.DeleteRuleRequest,
|
|
426
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.DeleteRuleResponse,
|
|
427
|
+
requestSerialize: serialize_gateway_web_v1_DeleteRuleRequest,
|
|
428
|
+
requestDeserialize: deserialize_gateway_web_v1_DeleteRuleRequest,
|
|
429
|
+
responseSerialize: serialize_gateway_web_v1_DeleteRuleResponse,
|
|
430
|
+
responseDeserialize: deserialize_gateway_web_v1_DeleteRuleResponse,
|
|
431
|
+
},
|
|
432
|
+
// Simulation
|
|
433
|
+
streamRuleSimulation: {
|
|
434
|
+
path: '/gateway.web.v1.AutomationGatewayService/StreamRuleSimulation',
|
|
435
|
+
requestStream: false,
|
|
436
|
+
responseStream: true,
|
|
437
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.StreamRuleSimulationRequest,
|
|
438
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.RuleSimulationMatch,
|
|
439
|
+
requestSerialize: serialize_gateway_web_v1_StreamRuleSimulationRequest,
|
|
440
|
+
requestDeserialize: deserialize_gateway_web_v1_StreamRuleSimulationRequest,
|
|
441
|
+
responseSerialize: serialize_gateway_web_v1_RuleSimulationMatch,
|
|
442
|
+
responseDeserialize: deserialize_gateway_web_v1_RuleSimulationMatch,
|
|
443
|
+
},
|
|
444
|
+
// Schema discovery
|
|
445
|
+
listRuleSchemas: {
|
|
446
|
+
path: '/gateway.web.v1.AutomationGatewayService/ListRuleSchemas',
|
|
447
|
+
requestStream: false,
|
|
448
|
+
responseStream: false,
|
|
449
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.ListRuleSchemasRequest,
|
|
450
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.ListRuleSchemasResponse,
|
|
451
|
+
requestSerialize: serialize_gateway_web_v1_ListRuleSchemasRequest,
|
|
452
|
+
requestDeserialize: deserialize_gateway_web_v1_ListRuleSchemasRequest,
|
|
453
|
+
responseSerialize: serialize_gateway_web_v1_ListRuleSchemasResponse,
|
|
454
|
+
responseDeserialize: deserialize_gateway_web_v1_ListRuleSchemasResponse,
|
|
455
|
+
},
|
|
456
|
+
// StreamRuleMatches sends an initial snapshot of recent rule matches followed by
|
|
457
|
+
// live updates as new matches occur.
|
|
458
|
+
streamRuleMatches: {
|
|
459
|
+
path: '/gateway.web.v1.AutomationGatewayService/StreamRuleMatches',
|
|
460
|
+
requestStream: false,
|
|
461
|
+
responseStream: true,
|
|
462
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.StreamRuleMatchesRequest,
|
|
463
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.RuleMatchEnvelope,
|
|
464
|
+
requestSerialize: serialize_gateway_web_v1_StreamRuleMatchesRequest,
|
|
465
|
+
requestDeserialize: deserialize_gateway_web_v1_StreamRuleMatchesRequest,
|
|
466
|
+
responseSerialize: serialize_gateway_web_v1_RuleMatchEnvelope,
|
|
467
|
+
responseDeserialize: deserialize_gateway_web_v1_RuleMatchEnvelope,
|
|
468
|
+
},
|
|
469
|
+
// ListRuleMatchDeliveries returns the per-integration delivery records for
|
|
470
|
+
// a single rule match (the FE calls this on-demand when expanding a rule
|
|
471
|
+
// match row on a trace).
|
|
472
|
+
listRuleMatchDeliveries: {
|
|
473
|
+
path: '/gateway.web.v1.AutomationGatewayService/ListRuleMatchDeliveries',
|
|
474
|
+
requestStream: false,
|
|
475
|
+
responseStream: false,
|
|
476
|
+
requestType: proto_gateway_web_v1_automation_gateway_pb.ListRuleMatchDeliveriesRequest,
|
|
477
|
+
responseType: proto_gateway_web_v1_automation_gateway_pb.ListRuleMatchDeliveriesResponse,
|
|
478
|
+
requestSerialize: serialize_gateway_web_v1_ListRuleMatchDeliveriesRequest,
|
|
479
|
+
requestDeserialize: deserialize_gateway_web_v1_ListRuleMatchDeliveriesRequest,
|
|
480
|
+
responseSerialize: serialize_gateway_web_v1_ListRuleMatchDeliveriesResponse,
|
|
481
|
+
responseDeserialize: deserialize_gateway_web_v1_ListRuleMatchDeliveriesResponse,
|
|
482
|
+
},
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
exports.AutomationGatewayServiceClient = grpc.makeGenericClientConstructor(AutomationGatewayServiceService, 'AutomationGatewayService');
|