@miradorlabs/web-grpc 2.14.0 → 2.15.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/package.json +1 -1
- package/proto/gateway/web/v1/automation_gateway.ts +276 -0
- package/proto/gateway/web/v1/automation_gateway_pb.js +585 -12
- package/proto/gateway/web/v1/oauth_gateway.ts +908 -41
- package/proto/gateway/web/v1/oauth_gateway_grpc_pb.js +99 -0
- package/proto/gateway/web/v1/oauth_gateway_pb.js +1719 -1
- package/proto/gateway/web/v1/stream_gateway.ts +0 -2354
- package/proto/gateway/web/v1/stream_gateway_grpc_pb.js +0 -145
- package/proto/gateway/web/v1/stream_gateway_pb.js +0 -4593
|
@@ -6,6 +6,28 @@ var proto_gateway_web_v1_oauth_gateway_pb = require('../../../../proto/gateway/w
|
|
|
6
6
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
7
7
|
var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
|
|
8
8
|
|
|
9
|
+
function serialize_gateway_web_v1_CompletePagerDutyOAuthRequest(arg) {
|
|
10
|
+
if (!(arg instanceof proto_gateway_web_v1_oauth_gateway_pb.CompletePagerDutyOAuthRequest)) {
|
|
11
|
+
throw new Error('Expected argument of type gateway.web.v1.CompletePagerDutyOAuthRequest');
|
|
12
|
+
}
|
|
13
|
+
return Buffer.from(arg.serializeBinary());
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function deserialize_gateway_web_v1_CompletePagerDutyOAuthRequest(buffer_arg) {
|
|
17
|
+
return proto_gateway_web_v1_oauth_gateway_pb.CompletePagerDutyOAuthRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function serialize_gateway_web_v1_CompletePagerDutyOAuthResponse(arg) {
|
|
21
|
+
if (!(arg instanceof proto_gateway_web_v1_oauth_gateway_pb.CompletePagerDutyOAuthResponse)) {
|
|
22
|
+
throw new Error('Expected argument of type gateway.web.v1.CompletePagerDutyOAuthResponse');
|
|
23
|
+
}
|
|
24
|
+
return Buffer.from(arg.serializeBinary());
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function deserialize_gateway_web_v1_CompletePagerDutyOAuthResponse(buffer_arg) {
|
|
28
|
+
return proto_gateway_web_v1_oauth_gateway_pb.CompletePagerDutyOAuthResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
|
+
}
|
|
30
|
+
|
|
9
31
|
function serialize_gateway_web_v1_CompleteSlackOAuthRequest(arg) {
|
|
10
32
|
if (!(arg instanceof proto_gateway_web_v1_oauth_gateway_pb.CompleteSlackOAuthRequest)) {
|
|
11
33
|
throw new Error('Expected argument of type gateway.web.v1.CompleteSlackOAuthRequest');
|
|
@@ -50,6 +72,28 @@ function deserialize_gateway_web_v1_GetOAuthConnectionResponse(buffer_arg) {
|
|
|
50
72
|
return proto_gateway_web_v1_oauth_gateway_pb.GetOAuthConnectionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
51
73
|
}
|
|
52
74
|
|
|
75
|
+
function serialize_gateway_web_v1_InitiatePagerDutyOAuthRequest(arg) {
|
|
76
|
+
if (!(arg instanceof proto_gateway_web_v1_oauth_gateway_pb.InitiatePagerDutyOAuthRequest)) {
|
|
77
|
+
throw new Error('Expected argument of type gateway.web.v1.InitiatePagerDutyOAuthRequest');
|
|
78
|
+
}
|
|
79
|
+
return Buffer.from(arg.serializeBinary());
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function deserialize_gateway_web_v1_InitiatePagerDutyOAuthRequest(buffer_arg) {
|
|
83
|
+
return proto_gateway_web_v1_oauth_gateway_pb.InitiatePagerDutyOAuthRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function serialize_gateway_web_v1_InitiatePagerDutyOAuthResponse(arg) {
|
|
87
|
+
if (!(arg instanceof proto_gateway_web_v1_oauth_gateway_pb.InitiatePagerDutyOAuthResponse)) {
|
|
88
|
+
throw new Error('Expected argument of type gateway.web.v1.InitiatePagerDutyOAuthResponse');
|
|
89
|
+
}
|
|
90
|
+
return Buffer.from(arg.serializeBinary());
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function deserialize_gateway_web_v1_InitiatePagerDutyOAuthResponse(buffer_arg) {
|
|
94
|
+
return proto_gateway_web_v1_oauth_gateway_pb.InitiatePagerDutyOAuthResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
95
|
+
}
|
|
96
|
+
|
|
53
97
|
function serialize_gateway_web_v1_InitiateSlackOAuthRequest(arg) {
|
|
54
98
|
if (!(arg instanceof proto_gateway_web_v1_oauth_gateway_pb.InitiateSlackOAuthRequest)) {
|
|
55
99
|
throw new Error('Expected argument of type gateway.web.v1.InitiateSlackOAuthRequest');
|
|
@@ -72,6 +116,28 @@ function deserialize_gateway_web_v1_InitiateSlackOAuthResponse(buffer_arg) {
|
|
|
72
116
|
return proto_gateway_web_v1_oauth_gateway_pb.InitiateSlackOAuthResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
73
117
|
}
|
|
74
118
|
|
|
119
|
+
function serialize_gateway_web_v1_ListPagerDutyServicesRequest(arg) {
|
|
120
|
+
if (!(arg instanceof proto_gateway_web_v1_oauth_gateway_pb.ListPagerDutyServicesRequest)) {
|
|
121
|
+
throw new Error('Expected argument of type gateway.web.v1.ListPagerDutyServicesRequest');
|
|
122
|
+
}
|
|
123
|
+
return Buffer.from(arg.serializeBinary());
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function deserialize_gateway_web_v1_ListPagerDutyServicesRequest(buffer_arg) {
|
|
127
|
+
return proto_gateway_web_v1_oauth_gateway_pb.ListPagerDutyServicesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function serialize_gateway_web_v1_ListPagerDutyServicesResponse(arg) {
|
|
131
|
+
if (!(arg instanceof proto_gateway_web_v1_oauth_gateway_pb.ListPagerDutyServicesResponse)) {
|
|
132
|
+
throw new Error('Expected argument of type gateway.web.v1.ListPagerDutyServicesResponse');
|
|
133
|
+
}
|
|
134
|
+
return Buffer.from(arg.serializeBinary());
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function deserialize_gateway_web_v1_ListPagerDutyServicesResponse(buffer_arg) {
|
|
138
|
+
return proto_gateway_web_v1_oauth_gateway_pb.ListPagerDutyServicesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
139
|
+
}
|
|
140
|
+
|
|
75
141
|
function serialize_gateway_web_v1_ListSlackChannelsRequest(arg) {
|
|
76
142
|
if (!(arg instanceof proto_gateway_web_v1_oauth_gateway_pb.ListSlackChannelsRequest)) {
|
|
77
143
|
throw new Error('Expected argument of type gateway.web.v1.ListSlackChannelsRequest');
|
|
@@ -145,6 +211,39 @@ listSlackChannels: {
|
|
|
145
211
|
responseSerialize: serialize_gateway_web_v1_ListSlackChannelsResponse,
|
|
146
212
|
responseDeserialize: deserialize_gateway_web_v1_ListSlackChannelsResponse,
|
|
147
213
|
},
|
|
214
|
+
initiatePagerDutyOAuth: {
|
|
215
|
+
path: '/gateway.web.v1.OAuthGatewayService/InitiatePagerDutyOAuth',
|
|
216
|
+
requestStream: false,
|
|
217
|
+
responseStream: false,
|
|
218
|
+
requestType: proto_gateway_web_v1_oauth_gateway_pb.InitiatePagerDutyOAuthRequest,
|
|
219
|
+
responseType: proto_gateway_web_v1_oauth_gateway_pb.InitiatePagerDutyOAuthResponse,
|
|
220
|
+
requestSerialize: serialize_gateway_web_v1_InitiatePagerDutyOAuthRequest,
|
|
221
|
+
requestDeserialize: deserialize_gateway_web_v1_InitiatePagerDutyOAuthRequest,
|
|
222
|
+
responseSerialize: serialize_gateway_web_v1_InitiatePagerDutyOAuthResponse,
|
|
223
|
+
responseDeserialize: deserialize_gateway_web_v1_InitiatePagerDutyOAuthResponse,
|
|
224
|
+
},
|
|
225
|
+
completePagerDutyOAuth: {
|
|
226
|
+
path: '/gateway.web.v1.OAuthGatewayService/CompletePagerDutyOAuth',
|
|
227
|
+
requestStream: false,
|
|
228
|
+
responseStream: false,
|
|
229
|
+
requestType: proto_gateway_web_v1_oauth_gateway_pb.CompletePagerDutyOAuthRequest,
|
|
230
|
+
responseType: proto_gateway_web_v1_oauth_gateway_pb.CompletePagerDutyOAuthResponse,
|
|
231
|
+
requestSerialize: serialize_gateway_web_v1_CompletePagerDutyOAuthRequest,
|
|
232
|
+
requestDeserialize: deserialize_gateway_web_v1_CompletePagerDutyOAuthRequest,
|
|
233
|
+
responseSerialize: serialize_gateway_web_v1_CompletePagerDutyOAuthResponse,
|
|
234
|
+
responseDeserialize: deserialize_gateway_web_v1_CompletePagerDutyOAuthResponse,
|
|
235
|
+
},
|
|
236
|
+
listPagerDutyServices: {
|
|
237
|
+
path: '/gateway.web.v1.OAuthGatewayService/ListPagerDutyServices',
|
|
238
|
+
requestStream: false,
|
|
239
|
+
responseStream: false,
|
|
240
|
+
requestType: proto_gateway_web_v1_oauth_gateway_pb.ListPagerDutyServicesRequest,
|
|
241
|
+
responseType: proto_gateway_web_v1_oauth_gateway_pb.ListPagerDutyServicesResponse,
|
|
242
|
+
requestSerialize: serialize_gateway_web_v1_ListPagerDutyServicesRequest,
|
|
243
|
+
requestDeserialize: deserialize_gateway_web_v1_ListPagerDutyServicesRequest,
|
|
244
|
+
responseSerialize: serialize_gateway_web_v1_ListPagerDutyServicesResponse,
|
|
245
|
+
responseDeserialize: deserialize_gateway_web_v1_ListPagerDutyServicesResponse,
|
|
246
|
+
},
|
|
148
247
|
};
|
|
149
248
|
|
|
150
249
|
exports.OAuthGatewayServiceClient = grpc.makeGenericClientConstructor(OAuthGatewayServiceService, 'OAuthGatewayService');
|