@wundergraph/cosmo-connect 0.2.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.
@@ -0,0 +1,324 @@
1
+ import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse } from "./platform_pb.js";
2
+ import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
3
+ import { GetConfigRequest, GetConfigResponse } from "../../node/v1/node_pb.js";
4
+ /**
5
+ * @generated from service wg.cosmo.platform.v1.PlatformService
6
+ */
7
+ export declare const PlatformService: {
8
+ readonly typeName: "wg.cosmo.platform.v1.PlatformService";
9
+ readonly methods: {
10
+ /**
11
+ * CreateFederatedGraph creates a federated graph on the control plane.
12
+ *
13
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateFederatedGraph
14
+ */
15
+ readonly createFederatedGraph: {
16
+ readonly name: "CreateFederatedGraph";
17
+ readonly I: typeof CreateFederatedGraphRequest;
18
+ readonly O: typeof CreateFederatedGraphResponse;
19
+ readonly kind: MethodKind.Unary;
20
+ };
21
+ /**
22
+ * CreateFederatedSubgraph creates a federated subgraph on the control plane.
23
+ *
24
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateFederatedSubgraph
25
+ */
26
+ readonly createFederatedSubgraph: {
27
+ readonly name: "CreateFederatedSubgraph";
28
+ readonly I: typeof CreateFederatedSubgraphRequest;
29
+ readonly O: typeof CreateFederatedSubgraphResponse;
30
+ readonly kind: MethodKind.Unary;
31
+ };
32
+ /**
33
+ * PublishFederatedSubgraph pushes the schema of the subgraph to the control plane.
34
+ *
35
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.PublishFederatedSubgraph
36
+ */
37
+ readonly publishFederatedSubgraph: {
38
+ readonly name: "PublishFederatedSubgraph";
39
+ readonly I: typeof PublishFederatedSubgraphRequest;
40
+ readonly O: typeof PublishFederatedSubgraphResponse;
41
+ readonly kind: MethodKind.Unary;
42
+ };
43
+ /**
44
+ * DeleteFederatedGraph deletes a federated graph from the control plane.
45
+ *
46
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteFederatedGraph
47
+ */
48
+ readonly deleteFederatedGraph: {
49
+ readonly name: "DeleteFederatedGraph";
50
+ readonly I: typeof DeleteFederatedGraphRequest;
51
+ readonly O: typeof DeleteFederatedGraphResponse;
52
+ readonly kind: MethodKind.Unary;
53
+ };
54
+ /**
55
+ * DeleteFederatedSubgraph deletes a federated subgraph from the control plane.
56
+ *
57
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteFederatedSubgraph
58
+ */
59
+ readonly deleteFederatedSubgraph: {
60
+ readonly name: "DeleteFederatedSubgraph";
61
+ readonly I: typeof DeleteFederatedSubgraphRequest;
62
+ readonly O: typeof DeleteFederatedSubgraphResponse;
63
+ readonly kind: MethodKind.Unary;
64
+ };
65
+ /**
66
+ * CheckSubgraphSchema checks if the schema is valid and if it can be composed without conflicts with the provided new subgraph schema.
67
+ *
68
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CheckSubgraphSchema
69
+ */
70
+ readonly checkSubgraphSchema: {
71
+ readonly name: "CheckSubgraphSchema";
72
+ readonly I: typeof CheckSubgraphSchemaRequest;
73
+ readonly O: typeof CheckSubgraphSchemaResponse;
74
+ readonly kind: MethodKind.Unary;
75
+ };
76
+ /**
77
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.FixSubgraphSchema
78
+ */
79
+ readonly fixSubgraphSchema: {
80
+ readonly name: "FixSubgraphSchema";
81
+ readonly I: typeof FixSubgraphSchemaRequest;
82
+ readonly O: typeof FixSubgraphSchemaResponse;
83
+ readonly kind: MethodKind.Unary;
84
+ };
85
+ /**
86
+ * UpdateFederatedGraph updates a federated graph with new labels and routing url
87
+ *
88
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateFederatedGraph
89
+ */
90
+ readonly updateFederatedGraph: {
91
+ readonly name: "UpdateFederatedGraph";
92
+ readonly I: typeof UpdateFederatedGraphRequest;
93
+ readonly O: typeof UpdateFederatedGraphResponse;
94
+ readonly kind: MethodKind.Unary;
95
+ };
96
+ /**
97
+ * UpdateSubgraph updates a subgraph with new labels and routing url
98
+ *
99
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateSubgraph
100
+ */
101
+ readonly updateSubgraph: {
102
+ readonly name: "UpdateSubgraph";
103
+ readonly I: typeof UpdateSubgraphRequest;
104
+ readonly O: typeof UpdateSubgraphResponse;
105
+ readonly kind: MethodKind.Unary;
106
+ };
107
+ /**
108
+ * CheckFederatedGraph checks if the federated graph can be composed with the new labels provided.
109
+ *
110
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CheckFederatedGraph
111
+ */
112
+ readonly checkFederatedGraph: {
113
+ readonly name: "CheckFederatedGraph";
114
+ readonly I: typeof CheckFederatedGraphRequest;
115
+ readonly O: typeof CheckFederatedGraphResponse;
116
+ readonly kind: MethodKind.Unary;
117
+ };
118
+ /**
119
+ * GetFederatedGraphs returns the list of federated graphs.
120
+ *
121
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphs
122
+ */
123
+ readonly getFederatedGraphs: {
124
+ readonly name: "GetFederatedGraphs";
125
+ readonly I: typeof GetFederatedGraphsRequest;
126
+ readonly O: typeof GetFederatedGraphsResponse;
127
+ readonly kind: MethodKind.Unary;
128
+ };
129
+ /**
130
+ * GetFederatedGraphByName returns the federated graph by name.
131
+ *
132
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphByName
133
+ */
134
+ readonly getFederatedGraphByName: {
135
+ readonly name: "GetFederatedGraphByName";
136
+ readonly I: typeof GetFederatedGraphByNameRequest;
137
+ readonly O: typeof GetFederatedGraphByNameResponse;
138
+ readonly kind: MethodKind.Unary;
139
+ };
140
+ /**
141
+ * GetFederatedGraphSDLByName returns the SDL of the federated graph by name.
142
+ *
143
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphSDLByName
144
+ */
145
+ readonly getFederatedGraphSDLByName: {
146
+ readonly name: "GetFederatedGraphSDLByName";
147
+ readonly I: typeof GetFederatedGraphSDLByNameRequest;
148
+ readonly O: typeof GetFederatedGraphSDLByNameResponse;
149
+ readonly kind: MethodKind.Unary;
150
+ };
151
+ /**
152
+ * GetSubgraphs returns the list of subgraphs.
153
+ *
154
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetSubgraphs
155
+ */
156
+ readonly getSubgraphs: {
157
+ readonly name: "GetSubgraphs";
158
+ readonly I: typeof GetSubgraphsRequest;
159
+ readonly O: typeof GetSubgraphsResponse;
160
+ readonly kind: MethodKind.Unary;
161
+ };
162
+ /**
163
+ * GetSubgraphByName returns the subgraph by name.
164
+ *
165
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetSubgraphByName
166
+ */
167
+ readonly getSubgraphByName: {
168
+ readonly name: "GetSubgraphByName";
169
+ readonly I: typeof GetSubgraphByNameRequest;
170
+ readonly O: typeof GetSubgraphByNameResponse;
171
+ readonly kind: MethodKind.Unary;
172
+ };
173
+ /**
174
+ * GetFederatedSubgraphSDLByName returns the SDL of the subgraph by name.
175
+ *
176
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedSubgraphSDLByName
177
+ */
178
+ readonly getFederatedSubgraphSDLByName: {
179
+ readonly name: "GetFederatedSubgraphSDLByName";
180
+ readonly I: typeof GetFederatedSubgraphSDLByNameRequest;
181
+ readonly O: typeof GetFederatedSubgraphSDLByNameResponse;
182
+ readonly kind: MethodKind.Unary;
183
+ };
184
+ /**
185
+ * GetChecksByFederatedGraphName return schema and composition checks that concern a federated graph
186
+ *
187
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetChecksByFederatedGraphName
188
+ */
189
+ readonly getChecksByFederatedGraphName: {
190
+ readonly name: "GetChecksByFederatedGraphName";
191
+ readonly I: typeof GetChecksByFederatedGraphNameRequest;
192
+ readonly O: typeof GetChecksByFederatedGraphNameResponse;
193
+ readonly kind: MethodKind.Unary;
194
+ };
195
+ /**
196
+ * GetCheckDetails returns changes and composition errors recorded for a check
197
+ *
198
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetCheckDetails
199
+ */
200
+ readonly getCheckDetails: {
201
+ readonly name: "GetCheckDetails";
202
+ readonly I: typeof GetCheckDetailsRequest;
203
+ readonly O: typeof GetCheckDetailsResponse;
204
+ readonly kind: MethodKind.Unary;
205
+ };
206
+ /**
207
+ * GetFederatedGraphChangelog returns the changelog of the federated graph.
208
+ *
209
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphChangelog
210
+ */
211
+ readonly getFederatedGraphChangelog: {
212
+ readonly name: "GetFederatedGraphChangelog";
213
+ readonly I: typeof GetFederatedGraphChangelogRequest;
214
+ readonly O: typeof GetFederatedGraphChangelogResponse;
215
+ readonly kind: MethodKind.Unary;
216
+ };
217
+ /**
218
+ * CreateFederatedGraphToken creates a federated graph token that is consumed by the router to authenticate requests.
219
+ *
220
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateFederatedGraphToken
221
+ */
222
+ readonly createFederatedGraphToken: {
223
+ readonly name: "CreateFederatedGraphToken";
224
+ readonly I: typeof CreateFederatedGraphTokenRequest;
225
+ readonly O: typeof CreateFederatedGraphTokenResponse;
226
+ readonly kind: MethodKind.Unary;
227
+ };
228
+ /**
229
+ * GetOrganizationMembers returns the list of organization members
230
+ *
231
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationMembers
232
+ */
233
+ readonly getOrganizationMembers: {
234
+ readonly name: "GetOrganizationMembers";
235
+ readonly I: typeof GetOrganizationMembersRequest;
236
+ readonly O: typeof GetOrganizationMembersResponse;
237
+ readonly kind: MethodKind.Unary;
238
+ };
239
+ /**
240
+ * InviteUser invites an user to join the organization
241
+ *
242
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.InviteUser
243
+ */
244
+ readonly inviteUser: {
245
+ readonly name: "InviteUser";
246
+ readonly I: typeof InviteUserRequest;
247
+ readonly O: typeof InviteUserResponse;
248
+ readonly kind: MethodKind.Unary;
249
+ };
250
+ /**
251
+ * GetAPIKeys returns a list of API keys of the organization
252
+ *
253
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetAPIKeys
254
+ */
255
+ readonly getAPIKeys: {
256
+ readonly name: "GetAPIKeys";
257
+ readonly I: typeof GetAPIKeysRequest;
258
+ readonly O: typeof GetAPIKeysResponse;
259
+ readonly kind: MethodKind.Unary;
260
+ };
261
+ /**
262
+ * CreateAPIKey creates an API key for the organization
263
+ *
264
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateAPIKey
265
+ */
266
+ readonly createAPIKey: {
267
+ readonly name: "CreateAPIKey";
268
+ readonly I: typeof CreateAPIKeyRequest;
269
+ readonly O: typeof CreateAPIKeyResponse;
270
+ readonly kind: MethodKind.Unary;
271
+ };
272
+ /**
273
+ * DeleteAPIKey deletes an API key for the organization
274
+ *
275
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteAPIKey
276
+ */
277
+ readonly deleteAPIKey: {
278
+ readonly name: "DeleteAPIKey";
279
+ readonly I: typeof DeleteAPIKeyRequest;
280
+ readonly O: typeof DeleteAPIKeyResponse;
281
+ readonly kind: MethodKind.Unary;
282
+ };
283
+ /**
284
+ * GetLatestValidRouterConfig returns the router config for the federated graph
285
+ *
286
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetLatestValidRouterConfig
287
+ */
288
+ readonly getLatestValidRouterConfig: {
289
+ readonly name: "GetLatestValidRouterConfig";
290
+ readonly I: typeof GetConfigRequest;
291
+ readonly O: typeof GetConfigResponse;
292
+ readonly kind: MethodKind.Unary;
293
+ };
294
+ /**
295
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetAnalyticsView
296
+ */
297
+ readonly getAnalyticsView: {
298
+ readonly name: "GetAnalyticsView";
299
+ readonly I: typeof GetAnalyticsViewRequest;
300
+ readonly O: typeof GetAnalyticsViewResponse;
301
+ readonly kind: MethodKind.Unary;
302
+ readonly idempotency: MethodIdempotency.NoSideEffects;
303
+ };
304
+ /**
305
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetDashboardAnalyticsView
306
+ */
307
+ readonly getDashboardAnalyticsView: {
308
+ readonly name: "GetDashboardAnalyticsView";
309
+ readonly I: typeof GetDashboardAnalyticsViewRequest;
310
+ readonly O: typeof GetDashboardAnalyticsViewResponse;
311
+ readonly kind: MethodKind.Unary;
312
+ readonly idempotency: MethodIdempotency.NoSideEffects;
313
+ };
314
+ /**
315
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetTrace
316
+ */
317
+ readonly getTrace: {
318
+ readonly name: "GetTrace";
319
+ readonly I: typeof GetTraceRequest;
320
+ readonly O: typeof GetTraceResponse;
321
+ readonly kind: MethodKind.Unary;
322
+ };
323
+ };
324
+ };
@@ -0,0 +1,330 @@
1
+ // https://protobuf.dev/programming-guides/style/
2
+ // @generated by protoc-gen-connect-es v0.13.0 with parameter "target=ts"
3
+ // @generated from file wg/cosmo/platform/v1/platform.proto (package wg.cosmo.platform.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ // @ts-nocheck
6
+ import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse } from "./platform_pb.js";
7
+ import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
8
+ import { GetConfigRequest, GetConfigResponse } from "../../node/v1/node_pb.js";
9
+ /**
10
+ * @generated from service wg.cosmo.platform.v1.PlatformService
11
+ */
12
+ export const PlatformService = {
13
+ typeName: "wg.cosmo.platform.v1.PlatformService",
14
+ methods: {
15
+ /**
16
+ * CreateFederatedGraph creates a federated graph on the control plane.
17
+ *
18
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateFederatedGraph
19
+ */
20
+ createFederatedGraph: {
21
+ name: "CreateFederatedGraph",
22
+ I: CreateFederatedGraphRequest,
23
+ O: CreateFederatedGraphResponse,
24
+ kind: MethodKind.Unary,
25
+ },
26
+ /**
27
+ * CreateFederatedSubgraph creates a federated subgraph on the control plane.
28
+ *
29
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateFederatedSubgraph
30
+ */
31
+ createFederatedSubgraph: {
32
+ name: "CreateFederatedSubgraph",
33
+ I: CreateFederatedSubgraphRequest,
34
+ O: CreateFederatedSubgraphResponse,
35
+ kind: MethodKind.Unary,
36
+ },
37
+ /**
38
+ * PublishFederatedSubgraph pushes the schema of the subgraph to the control plane.
39
+ *
40
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.PublishFederatedSubgraph
41
+ */
42
+ publishFederatedSubgraph: {
43
+ name: "PublishFederatedSubgraph",
44
+ I: PublishFederatedSubgraphRequest,
45
+ O: PublishFederatedSubgraphResponse,
46
+ kind: MethodKind.Unary,
47
+ },
48
+ /**
49
+ * DeleteFederatedGraph deletes a federated graph from the control plane.
50
+ *
51
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteFederatedGraph
52
+ */
53
+ deleteFederatedGraph: {
54
+ name: "DeleteFederatedGraph",
55
+ I: DeleteFederatedGraphRequest,
56
+ O: DeleteFederatedGraphResponse,
57
+ kind: MethodKind.Unary,
58
+ },
59
+ /**
60
+ * DeleteFederatedSubgraph deletes a federated subgraph from the control plane.
61
+ *
62
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteFederatedSubgraph
63
+ */
64
+ deleteFederatedSubgraph: {
65
+ name: "DeleteFederatedSubgraph",
66
+ I: DeleteFederatedSubgraphRequest,
67
+ O: DeleteFederatedSubgraphResponse,
68
+ kind: MethodKind.Unary,
69
+ },
70
+ /**
71
+ * CheckSubgraphSchema checks if the schema is valid and if it can be composed without conflicts with the provided new subgraph schema.
72
+ *
73
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CheckSubgraphSchema
74
+ */
75
+ checkSubgraphSchema: {
76
+ name: "CheckSubgraphSchema",
77
+ I: CheckSubgraphSchemaRequest,
78
+ O: CheckSubgraphSchemaResponse,
79
+ kind: MethodKind.Unary,
80
+ },
81
+ /**
82
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.FixSubgraphSchema
83
+ */
84
+ fixSubgraphSchema: {
85
+ name: "FixSubgraphSchema",
86
+ I: FixSubgraphSchemaRequest,
87
+ O: FixSubgraphSchemaResponse,
88
+ kind: MethodKind.Unary,
89
+ },
90
+ /**
91
+ * UpdateFederatedGraph updates a federated graph with new labels and routing url
92
+ *
93
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateFederatedGraph
94
+ */
95
+ updateFederatedGraph: {
96
+ name: "UpdateFederatedGraph",
97
+ I: UpdateFederatedGraphRequest,
98
+ O: UpdateFederatedGraphResponse,
99
+ kind: MethodKind.Unary,
100
+ },
101
+ /**
102
+ * UpdateSubgraph updates a subgraph with new labels and routing url
103
+ *
104
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateSubgraph
105
+ */
106
+ updateSubgraph: {
107
+ name: "UpdateSubgraph",
108
+ I: UpdateSubgraphRequest,
109
+ O: UpdateSubgraphResponse,
110
+ kind: MethodKind.Unary,
111
+ },
112
+ /**
113
+ * CheckFederatedGraph checks if the federated graph can be composed with the new labels provided.
114
+ *
115
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CheckFederatedGraph
116
+ */
117
+ checkFederatedGraph: {
118
+ name: "CheckFederatedGraph",
119
+ I: CheckFederatedGraphRequest,
120
+ O: CheckFederatedGraphResponse,
121
+ kind: MethodKind.Unary,
122
+ },
123
+ /**
124
+ * GetFederatedGraphs returns the list of federated graphs.
125
+ *
126
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphs
127
+ */
128
+ getFederatedGraphs: {
129
+ name: "GetFederatedGraphs",
130
+ I: GetFederatedGraphsRequest,
131
+ O: GetFederatedGraphsResponse,
132
+ kind: MethodKind.Unary,
133
+ },
134
+ /**
135
+ * GetFederatedGraphByName returns the federated graph by name.
136
+ *
137
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphByName
138
+ */
139
+ getFederatedGraphByName: {
140
+ name: "GetFederatedGraphByName",
141
+ I: GetFederatedGraphByNameRequest,
142
+ O: GetFederatedGraphByNameResponse,
143
+ kind: MethodKind.Unary,
144
+ },
145
+ /**
146
+ * GetFederatedGraphSDLByName returns the SDL of the federated graph by name.
147
+ *
148
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphSDLByName
149
+ */
150
+ getFederatedGraphSDLByName: {
151
+ name: "GetFederatedGraphSDLByName",
152
+ I: GetFederatedGraphSDLByNameRequest,
153
+ O: GetFederatedGraphSDLByNameResponse,
154
+ kind: MethodKind.Unary,
155
+ },
156
+ /**
157
+ * GetSubgraphs returns the list of subgraphs.
158
+ *
159
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetSubgraphs
160
+ */
161
+ getSubgraphs: {
162
+ name: "GetSubgraphs",
163
+ I: GetSubgraphsRequest,
164
+ O: GetSubgraphsResponse,
165
+ kind: MethodKind.Unary,
166
+ },
167
+ /**
168
+ * GetSubgraphByName returns the subgraph by name.
169
+ *
170
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetSubgraphByName
171
+ */
172
+ getSubgraphByName: {
173
+ name: "GetSubgraphByName",
174
+ I: GetSubgraphByNameRequest,
175
+ O: GetSubgraphByNameResponse,
176
+ kind: MethodKind.Unary,
177
+ },
178
+ /**
179
+ * GetFederatedSubgraphSDLByName returns the SDL of the subgraph by name.
180
+ *
181
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedSubgraphSDLByName
182
+ */
183
+ getFederatedSubgraphSDLByName: {
184
+ name: "GetFederatedSubgraphSDLByName",
185
+ I: GetFederatedSubgraphSDLByNameRequest,
186
+ O: GetFederatedSubgraphSDLByNameResponse,
187
+ kind: MethodKind.Unary,
188
+ },
189
+ /**
190
+ * GetChecksByFederatedGraphName return schema and composition checks that concern a federated graph
191
+ *
192
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetChecksByFederatedGraphName
193
+ */
194
+ getChecksByFederatedGraphName: {
195
+ name: "GetChecksByFederatedGraphName",
196
+ I: GetChecksByFederatedGraphNameRequest,
197
+ O: GetChecksByFederatedGraphNameResponse,
198
+ kind: MethodKind.Unary,
199
+ },
200
+ /**
201
+ * GetCheckDetails returns changes and composition errors recorded for a check
202
+ *
203
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetCheckDetails
204
+ */
205
+ getCheckDetails: {
206
+ name: "GetCheckDetails",
207
+ I: GetCheckDetailsRequest,
208
+ O: GetCheckDetailsResponse,
209
+ kind: MethodKind.Unary,
210
+ },
211
+ /**
212
+ * GetFederatedGraphChangelog returns the changelog of the federated graph.
213
+ *
214
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphChangelog
215
+ */
216
+ getFederatedGraphChangelog: {
217
+ name: "GetFederatedGraphChangelog",
218
+ I: GetFederatedGraphChangelogRequest,
219
+ O: GetFederatedGraphChangelogResponse,
220
+ kind: MethodKind.Unary,
221
+ },
222
+ /**
223
+ * CreateFederatedGraphToken creates a federated graph token that is consumed by the router to authenticate requests.
224
+ *
225
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateFederatedGraphToken
226
+ */
227
+ createFederatedGraphToken: {
228
+ name: "CreateFederatedGraphToken",
229
+ I: CreateFederatedGraphTokenRequest,
230
+ O: CreateFederatedGraphTokenResponse,
231
+ kind: MethodKind.Unary,
232
+ },
233
+ /**
234
+ * GetOrganizationMembers returns the list of organization members
235
+ *
236
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationMembers
237
+ */
238
+ getOrganizationMembers: {
239
+ name: "GetOrganizationMembers",
240
+ I: GetOrganizationMembersRequest,
241
+ O: GetOrganizationMembersResponse,
242
+ kind: MethodKind.Unary,
243
+ },
244
+ /**
245
+ * InviteUser invites an user to join the organization
246
+ *
247
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.InviteUser
248
+ */
249
+ inviteUser: {
250
+ name: "InviteUser",
251
+ I: InviteUserRequest,
252
+ O: InviteUserResponse,
253
+ kind: MethodKind.Unary,
254
+ },
255
+ /**
256
+ * GetAPIKeys returns a list of API keys of the organization
257
+ *
258
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetAPIKeys
259
+ */
260
+ getAPIKeys: {
261
+ name: "GetAPIKeys",
262
+ I: GetAPIKeysRequest,
263
+ O: GetAPIKeysResponse,
264
+ kind: MethodKind.Unary,
265
+ },
266
+ /**
267
+ * CreateAPIKey creates an API key for the organization
268
+ *
269
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateAPIKey
270
+ */
271
+ createAPIKey: {
272
+ name: "CreateAPIKey",
273
+ I: CreateAPIKeyRequest,
274
+ O: CreateAPIKeyResponse,
275
+ kind: MethodKind.Unary,
276
+ },
277
+ /**
278
+ * DeleteAPIKey deletes an API key for the organization
279
+ *
280
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteAPIKey
281
+ */
282
+ deleteAPIKey: {
283
+ name: "DeleteAPIKey",
284
+ I: DeleteAPIKeyRequest,
285
+ O: DeleteAPIKeyResponse,
286
+ kind: MethodKind.Unary,
287
+ },
288
+ /**
289
+ * GetLatestValidRouterConfig returns the router config for the federated graph
290
+ *
291
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetLatestValidRouterConfig
292
+ */
293
+ getLatestValidRouterConfig: {
294
+ name: "GetLatestValidRouterConfig",
295
+ I: GetConfigRequest,
296
+ O: GetConfigResponse,
297
+ kind: MethodKind.Unary,
298
+ },
299
+ /**
300
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetAnalyticsView
301
+ */
302
+ getAnalyticsView: {
303
+ name: "GetAnalyticsView",
304
+ I: GetAnalyticsViewRequest,
305
+ O: GetAnalyticsViewResponse,
306
+ kind: MethodKind.Unary,
307
+ idempotency: MethodIdempotency.NoSideEffects,
308
+ },
309
+ /**
310
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetDashboardAnalyticsView
311
+ */
312
+ getDashboardAnalyticsView: {
313
+ name: "GetDashboardAnalyticsView",
314
+ I: GetDashboardAnalyticsViewRequest,
315
+ O: GetDashboardAnalyticsViewResponse,
316
+ kind: MethodKind.Unary,
317
+ idempotency: MethodIdempotency.NoSideEffects,
318
+ },
319
+ /**
320
+ * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetTrace
321
+ */
322
+ getTrace: {
323
+ name: "GetTrace",
324
+ I: GetTraceRequest,
325
+ O: GetTraceResponse,
326
+ kind: MethodKind.Unary,
327
+ },
328
+ }
329
+ };
330
+ //# sourceMappingURL=platform_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"platform_connect.js","sourceRoot":"","sources":["../../../src/wg/cosmo/platform/v1/platform_connect.ts"],"names":[],"mappings":"AAAA,iDAAiD;AAEjD,yEAAyE;AACzE,yGAAyG;AACzG,oBAAoB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