@wundergraph/cosmo-connect 0.151.0 → 0.154.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.
Files changed (35) hide show
  1. package/dist/common/common_pb.d.ts +17 -0
  2. package/dist/common/common_pb.js +18 -38
  3. package/dist/common/common_pb.js.map +1 -1
  4. package/dist/graphqlmetrics/v1/graphqlmetrics-GraphQLMetricsService_connectquery.d.ts +8 -20
  5. package/dist/graphqlmetrics/v1/graphqlmetrics-GraphQLMetricsService_connectquery.js +4 -24
  6. package/dist/graphqlmetrics/v1/graphqlmetrics-GraphQLMetricsService_connectquery.js.map +1 -1
  7. package/dist/graphqlmetrics/v1/graphqlmetrics_pb.d.ts +141 -151
  8. package/dist/graphqlmetrics/v1/graphqlmetrics_pb.js +67 -590
  9. package/dist/graphqlmetrics/v1/graphqlmetrics_pb.js.map +1 -1
  10. package/dist/node/v1/node-NodeService_connectquery.d.ts +4 -11
  11. package/dist/node/v1/node-NodeService_connectquery.js +3 -14
  12. package/dist/node/v1/node-NodeService_connectquery.js.map +1 -1
  13. package/dist/node/v1/node_pb.d.ts +863 -881
  14. package/dist/node/v1/node_pb.js +396 -2917
  15. package/dist/node/v1/node_pb.js.map +1 -1
  16. package/dist/notifications/events_pb.d.ts +74 -71
  17. package/dist/notifications/events_pb.js +27 -112
  18. package/dist/notifications/events_pb.js.map +1 -1
  19. package/dist/platform/v1/platform-PlatformService_connectquery.d.ts +776 -1755
  20. package/dist/platform/v1/platform-PlatformService_connectquery.js +196 -1951
  21. package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
  22. package/dist/platform/v1/platform_pb.d.ts +10470 -10034
  23. package/dist/platform/v1/platform_pb.js +2826 -21931
  24. package/dist/platform/v1/platform_pb.js.map +1 -1
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +5 -5
  27. package/dist/graphqlmetrics/v1/graphqlmetrics_connect.d.ts +0 -30
  28. package/dist/graphqlmetrics/v1/graphqlmetrics_connect.js +0 -36
  29. package/dist/graphqlmetrics/v1/graphqlmetrics_connect.js.map +0 -1
  30. package/dist/node/v1/node_connect.d.ts +0 -19
  31. package/dist/node/v1/node_connect.js +0 -24
  32. package/dist/node/v1/node_connect.js.map +0 -1
  33. package/dist/platform/v1/platform_connect.d.ts +0 -2105
  34. package/dist/platform/v1/platform_connect.js +0 -2111
  35. package/dist/platform/v1/platform_connect.js.map +0 -1
@@ -1,26 +1,13 @@
1
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
- import { Message, proto3 } from "@bufbuild/protobuf";
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
3
  /**
4
- * @generated from enum wg.cosmo.graphqlmetrics.v1.OperationType
4
+ * Describes the file wg/cosmo/graphqlmetrics/v1/graphqlmetrics.proto.
5
5
  */
6
- export declare enum OperationType {
7
- /**
8
- * @generated from enum value: QUERY = 0;
9
- */
10
- QUERY = 0,
11
- /**
12
- * @generated from enum value: MUTATION = 1;
13
- */
14
- MUTATION = 1,
15
- /**
16
- * @generated from enum value: SUBSCRIPTION = 2;
17
- */
18
- SUBSCRIPTION = 2
19
- }
6
+ export declare const file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics: GenFile;
20
7
  /**
21
8
  * @generated from message wg.cosmo.graphqlmetrics.v1.RequestInfo
22
9
  */
23
- export declare class RequestInfo extends Message<RequestInfo> {
10
+ export type RequestInfo = Message<"wg.cosmo.graphqlmetrics.v1.RequestInfo"> & {
24
11
  /**
25
12
  * @generated from field: int32 StatusCode = 1;
26
13
  */
@@ -29,19 +16,16 @@ export declare class RequestInfo extends Message<RequestInfo> {
29
16
  * @generated from field: bool error = 2;
30
17
  */
31
18
  error: boolean;
32
- constructor(data?: PartialMessage<RequestInfo>);
33
- static readonly runtime: typeof proto3;
34
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.RequestInfo";
35
- static readonly fields: FieldList;
36
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RequestInfo;
37
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RequestInfo;
38
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RequestInfo;
39
- static equals(a: RequestInfo | PlainMessage<RequestInfo> | undefined, b: RequestInfo | PlainMessage<RequestInfo> | undefined): boolean;
40
- }
19
+ };
20
+ /**
21
+ * Describes the message wg.cosmo.graphqlmetrics.v1.RequestInfo.
22
+ * Use `create(RequestInfoSchema)` to create a new message.
23
+ */
24
+ export declare const RequestInfoSchema: GenMessage<RequestInfo>;
41
25
  /**
42
26
  * @generated from message wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo
43
27
  */
44
- export declare class SchemaUsageInfo extends Message<SchemaUsageInfo> {
28
+ export type SchemaUsageInfo = Message<"wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo"> & {
45
29
  /**
46
30
  * RequestDocument is the fully normalized GraphQL request document
47
31
  *
@@ -59,25 +43,25 @@ export declare class SchemaUsageInfo extends Message<SchemaUsageInfo> {
59
43
  *
60
44
  * @generated from field: wg.cosmo.graphqlmetrics.v1.OperationInfo OperationInfo = 3;
61
45
  */
62
- OperationInfo?: OperationInfo;
46
+ OperationInfo?: OperationInfo | undefined;
63
47
  /**
64
48
  * SchemaInfo is the schema info
65
49
  *
66
50
  * @generated from field: wg.cosmo.graphqlmetrics.v1.SchemaInfo SchemaInfo = 4;
67
51
  */
68
- SchemaInfo?: SchemaInfo;
52
+ SchemaInfo?: SchemaInfo | undefined;
69
53
  /**
70
54
  * ClientInfo is the client info
71
55
  *
72
56
  * @generated from field: wg.cosmo.graphqlmetrics.v1.ClientInfo ClientInfo = 5;
73
57
  */
74
- ClientInfo?: ClientInfo;
58
+ ClientInfo?: ClientInfo | undefined;
75
59
  /**
76
60
  * RequestInfo is the request info
77
61
  *
78
62
  * @generated from field: wg.cosmo.graphqlmetrics.v1.RequestInfo RequestInfo = 6;
79
63
  */
80
- RequestInfo?: RequestInfo;
64
+ RequestInfo?: RequestInfo | undefined;
81
65
  /**
82
66
  * Attributes is a map of attributes that can be used to filter the metrics
83
67
  *
@@ -98,40 +82,34 @@ export declare class SchemaUsageInfo extends Message<SchemaUsageInfo> {
98
82
  * @generated from field: repeated wg.cosmo.graphqlmetrics.v1.InputUsageInfo InputMetrics = 9;
99
83
  */
100
84
  InputMetrics: InputUsageInfo[];
101
- constructor(data?: PartialMessage<SchemaUsageInfo>);
102
- static readonly runtime: typeof proto3;
103
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo";
104
- static readonly fields: FieldList;
105
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SchemaUsageInfo;
106
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SchemaUsageInfo;
107
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SchemaUsageInfo;
108
- static equals(a: SchemaUsageInfo | PlainMessage<SchemaUsageInfo> | undefined, b: SchemaUsageInfo | PlainMessage<SchemaUsageInfo> | undefined): boolean;
109
- }
85
+ };
86
+ /**
87
+ * Describes the message wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo.
88
+ * Use `create(SchemaUsageInfoSchema)` to create a new message.
89
+ */
90
+ export declare const SchemaUsageInfoSchema: GenMessage<SchemaUsageInfo>;
110
91
  /**
111
92
  * @generated from message wg.cosmo.graphqlmetrics.v1.SchemaUsageInfoAggregation
112
93
  */
113
- export declare class SchemaUsageInfoAggregation extends Message<SchemaUsageInfoAggregation> {
94
+ export type SchemaUsageInfoAggregation = Message<"wg.cosmo.graphqlmetrics.v1.SchemaUsageInfoAggregation"> & {
114
95
  /**
115
96
  * @generated from field: wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo SchemaUsage = 1;
116
97
  */
117
- SchemaUsage?: SchemaUsageInfo;
98
+ SchemaUsage?: SchemaUsageInfo | undefined;
118
99
  /**
119
100
  * @generated from field: uint64 RequestCount = 2;
120
101
  */
121
102
  RequestCount: bigint;
122
- constructor(data?: PartialMessage<SchemaUsageInfoAggregation>);
123
- static readonly runtime: typeof proto3;
124
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.SchemaUsageInfoAggregation";
125
- static readonly fields: FieldList;
126
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SchemaUsageInfoAggregation;
127
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SchemaUsageInfoAggregation;
128
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SchemaUsageInfoAggregation;
129
- static equals(a: SchemaUsageInfoAggregation | PlainMessage<SchemaUsageInfoAggregation> | undefined, b: SchemaUsageInfoAggregation | PlainMessage<SchemaUsageInfoAggregation> | undefined): boolean;
130
- }
103
+ };
104
+ /**
105
+ * Describes the message wg.cosmo.graphqlmetrics.v1.SchemaUsageInfoAggregation.
106
+ * Use `create(SchemaUsageInfoAggregationSchema)` to create a new message.
107
+ */
108
+ export declare const SchemaUsageInfoAggregationSchema: GenMessage<SchemaUsageInfoAggregation>;
131
109
  /**
132
110
  * @generated from message wg.cosmo.graphqlmetrics.v1.ClientInfo
133
111
  */
134
- export declare class ClientInfo extends Message<ClientInfo> {
112
+ export type ClientInfo = Message<"wg.cosmo.graphqlmetrics.v1.ClientInfo"> & {
135
113
  /**
136
114
  * Name is the GraphQL client name obtained from the request header
137
115
  *
@@ -144,19 +122,16 @@ export declare class ClientInfo extends Message<ClientInfo> {
144
122
  * @generated from field: string Version = 2;
145
123
  */
146
124
  Version: string;
147
- constructor(data?: PartialMessage<ClientInfo>);
148
- static readonly runtime: typeof proto3;
149
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.ClientInfo";
150
- static readonly fields: FieldList;
151
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientInfo;
152
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientInfo;
153
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientInfo;
154
- static equals(a: ClientInfo | PlainMessage<ClientInfo> | undefined, b: ClientInfo | PlainMessage<ClientInfo> | undefined): boolean;
155
- }
125
+ };
126
+ /**
127
+ * Describes the message wg.cosmo.graphqlmetrics.v1.ClientInfo.
128
+ * Use `create(ClientInfoSchema)` to create a new message.
129
+ */
130
+ export declare const ClientInfoSchema: GenMessage<ClientInfo>;
156
131
  /**
157
132
  * @generated from message wg.cosmo.graphqlmetrics.v1.OperationInfo
158
133
  */
159
- export declare class OperationInfo extends Message<OperationInfo> {
134
+ export type OperationInfo = Message<"wg.cosmo.graphqlmetrics.v1.OperationInfo"> & {
160
135
  /**
161
136
  * Hash is the hash of the request document and the operation name
162
137
  *
@@ -175,40 +150,34 @@ export declare class OperationInfo extends Message<OperationInfo> {
175
150
  * @generated from field: wg.cosmo.graphqlmetrics.v1.OperationType Type = 3;
176
151
  */
177
152
  Type: OperationType;
178
- constructor(data?: PartialMessage<OperationInfo>);
179
- static readonly runtime: typeof proto3;
180
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.OperationInfo";
181
- static readonly fields: FieldList;
182
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OperationInfo;
183
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OperationInfo;
184
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OperationInfo;
185
- static equals(a: OperationInfo | PlainMessage<OperationInfo> | undefined, b: OperationInfo | PlainMessage<OperationInfo> | undefined): boolean;
186
- }
153
+ };
154
+ /**
155
+ * Describes the message wg.cosmo.graphqlmetrics.v1.OperationInfo.
156
+ * Use `create(OperationInfoSchema)` to create a new message.
157
+ */
158
+ export declare const OperationInfoSchema: GenMessage<OperationInfo>;
187
159
  /**
188
160
  * FederatedGraphID and OrganizationID are transport over JWT
189
161
  *
190
162
  * @generated from message wg.cosmo.graphqlmetrics.v1.SchemaInfo
191
163
  */
192
- export declare class SchemaInfo extends Message<SchemaInfo> {
164
+ export type SchemaInfo = Message<"wg.cosmo.graphqlmetrics.v1.SchemaInfo"> & {
193
165
  /**
194
166
  * Version is the schema version
195
167
  *
196
168
  * @generated from field: string Version = 3;
197
169
  */
198
170
  Version: string;
199
- constructor(data?: PartialMessage<SchemaInfo>);
200
- static readonly runtime: typeof proto3;
201
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.SchemaInfo";
202
- static readonly fields: FieldList;
203
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SchemaInfo;
204
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SchemaInfo;
205
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SchemaInfo;
206
- static equals(a: SchemaInfo | PlainMessage<SchemaInfo> | undefined, b: SchemaInfo | PlainMessage<SchemaInfo> | undefined): boolean;
207
- }
171
+ };
172
+ /**
173
+ * Describes the message wg.cosmo.graphqlmetrics.v1.SchemaInfo.
174
+ * Use `create(SchemaInfoSchema)` to create a new message.
175
+ */
176
+ export declare const SchemaInfoSchema: GenMessage<SchemaInfo>;
208
177
  /**
209
178
  * @generated from message wg.cosmo.graphqlmetrics.v1.TypeFieldUsageInfo
210
179
  */
211
- export declare class TypeFieldUsageInfo extends Message<TypeFieldUsageInfo> {
180
+ export type TypeFieldUsageInfo = Message<"wg.cosmo.graphqlmetrics.v1.TypeFieldUsageInfo"> & {
212
181
  /**
213
182
  * Path is the path to the field in the request document but without the root type query, mutation, or subscription
214
183
  *
@@ -245,19 +214,16 @@ export declare class TypeFieldUsageInfo extends Message<TypeFieldUsageInfo> {
245
214
  * @generated from field: bool IndirectInterfaceField = 6;
246
215
  */
247
216
  IndirectInterfaceField: boolean;
248
- constructor(data?: PartialMessage<TypeFieldUsageInfo>);
249
- static readonly runtime: typeof proto3;
250
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.TypeFieldUsageInfo";
251
- static readonly fields: FieldList;
252
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TypeFieldUsageInfo;
253
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TypeFieldUsageInfo;
254
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypeFieldUsageInfo;
255
- static equals(a: TypeFieldUsageInfo | PlainMessage<TypeFieldUsageInfo> | undefined, b: TypeFieldUsageInfo | PlainMessage<TypeFieldUsageInfo> | undefined): boolean;
256
- }
217
+ };
218
+ /**
219
+ * Describes the message wg.cosmo.graphqlmetrics.v1.TypeFieldUsageInfo.
220
+ * Use `create(TypeFieldUsageInfoSchema)` to create a new message.
221
+ */
222
+ export declare const TypeFieldUsageInfoSchema: GenMessage<TypeFieldUsageInfo>;
257
223
  /**
258
224
  * @generated from message wg.cosmo.graphqlmetrics.v1.ArgumentUsageInfo
259
225
  */
260
- export declare class ArgumentUsageInfo extends Message<ArgumentUsageInfo> {
226
+ export type ArgumentUsageInfo = Message<"wg.cosmo.graphqlmetrics.v1.ArgumentUsageInfo"> & {
261
227
  /**
262
228
  * Path is the path to the field in the request document but without the root type query, mutation, or subscription
263
229
  *
@@ -295,19 +261,16 @@ export declare class ArgumentUsageInfo extends Message<ArgumentUsageInfo> {
295
261
  * @generated from field: bool IsNull = 6;
296
262
  */
297
263
  IsNull: boolean;
298
- constructor(data?: PartialMessage<ArgumentUsageInfo>);
299
- static readonly runtime: typeof proto3;
300
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.ArgumentUsageInfo";
301
- static readonly fields: FieldList;
302
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ArgumentUsageInfo;
303
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ArgumentUsageInfo;
304
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ArgumentUsageInfo;
305
- static equals(a: ArgumentUsageInfo | PlainMessage<ArgumentUsageInfo> | undefined, b: ArgumentUsageInfo | PlainMessage<ArgumentUsageInfo> | undefined): boolean;
306
- }
264
+ };
265
+ /**
266
+ * Describes the message wg.cosmo.graphqlmetrics.v1.ArgumentUsageInfo.
267
+ * Use `create(ArgumentUsageInfoSchema)` to create a new message.
268
+ */
269
+ export declare const ArgumentUsageInfoSchema: GenMessage<ArgumentUsageInfo>;
307
270
  /**
308
271
  * @generated from message wg.cosmo.graphqlmetrics.v1.InputUsageInfo
309
272
  */
310
- export declare class InputUsageInfo extends Message<InputUsageInfo> {
273
+ export type InputUsageInfo = Message<"wg.cosmo.graphqlmetrics.v1.InputUsageInfo"> & {
311
274
  /**
312
275
  * Path is the path to the field in the request document but without the root type query, mutation, or subscription
313
276
  *
@@ -351,72 +314,99 @@ export declare class InputUsageInfo extends Message<InputUsageInfo> {
351
314
  * @generated from field: bool IsNull = 7;
352
315
  */
353
316
  IsNull: boolean;
354
- constructor(data?: PartialMessage<InputUsageInfo>);
355
- static readonly runtime: typeof proto3;
356
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.InputUsageInfo";
357
- static readonly fields: FieldList;
358
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputUsageInfo;
359
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputUsageInfo;
360
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputUsageInfo;
361
- static equals(a: InputUsageInfo | PlainMessage<InputUsageInfo> | undefined, b: InputUsageInfo | PlainMessage<InputUsageInfo> | undefined): boolean;
362
- }
317
+ };
318
+ /**
319
+ * Describes the message wg.cosmo.graphqlmetrics.v1.InputUsageInfo.
320
+ * Use `create(InputUsageInfoSchema)` to create a new message.
321
+ */
322
+ export declare const InputUsageInfoSchema: GenMessage<InputUsageInfo>;
363
323
  /**
364
324
  * @generated from message wg.cosmo.graphqlmetrics.v1.PublishGraphQLRequestMetricsRequest
365
325
  */
366
- export declare class PublishGraphQLRequestMetricsRequest extends Message<PublishGraphQLRequestMetricsRequest> {
326
+ export type PublishGraphQLRequestMetricsRequest = Message<"wg.cosmo.graphqlmetrics.v1.PublishGraphQLRequestMetricsRequest"> & {
367
327
  /**
368
328
  * @generated from field: repeated wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo SchemaUsage = 1;
369
329
  */
370
330
  SchemaUsage: SchemaUsageInfo[];
371
- constructor(data?: PartialMessage<PublishGraphQLRequestMetricsRequest>);
372
- static readonly runtime: typeof proto3;
373
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.PublishGraphQLRequestMetricsRequest";
374
- static readonly fields: FieldList;
375
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishGraphQLRequestMetricsRequest;
376
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishGraphQLRequestMetricsRequest;
377
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishGraphQLRequestMetricsRequest;
378
- static equals(a: PublishGraphQLRequestMetricsRequest | PlainMessage<PublishGraphQLRequestMetricsRequest> | undefined, b: PublishGraphQLRequestMetricsRequest | PlainMessage<PublishGraphQLRequestMetricsRequest> | undefined): boolean;
379
- }
331
+ };
332
+ /**
333
+ * Describes the message wg.cosmo.graphqlmetrics.v1.PublishGraphQLRequestMetricsRequest.
334
+ * Use `create(PublishGraphQLRequestMetricsRequestSchema)` to create a new message.
335
+ */
336
+ export declare const PublishGraphQLRequestMetricsRequestSchema: GenMessage<PublishGraphQLRequestMetricsRequest>;
380
337
  /**
381
338
  * @generated from message wg.cosmo.graphqlmetrics.v1.PublishOperationCoverageReportResponse
382
339
  */
383
- export declare class PublishOperationCoverageReportResponse extends Message<PublishOperationCoverageReportResponse> {
384
- constructor(data?: PartialMessage<PublishOperationCoverageReportResponse>);
385
- static readonly runtime: typeof proto3;
386
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.PublishOperationCoverageReportResponse";
387
- static readonly fields: FieldList;
388
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishOperationCoverageReportResponse;
389
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishOperationCoverageReportResponse;
390
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishOperationCoverageReportResponse;
391
- static equals(a: PublishOperationCoverageReportResponse | PlainMessage<PublishOperationCoverageReportResponse> | undefined, b: PublishOperationCoverageReportResponse | PlainMessage<PublishOperationCoverageReportResponse> | undefined): boolean;
392
- }
340
+ export type PublishOperationCoverageReportResponse = Message<"wg.cosmo.graphqlmetrics.v1.PublishOperationCoverageReportResponse"> & {};
341
+ /**
342
+ * Describes the message wg.cosmo.graphqlmetrics.v1.PublishOperationCoverageReportResponse.
343
+ * Use `create(PublishOperationCoverageReportResponseSchema)` to create a new message.
344
+ */
345
+ export declare const PublishOperationCoverageReportResponseSchema: GenMessage<PublishOperationCoverageReportResponse>;
393
346
  /**
394
347
  * @generated from message wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsRequest
395
348
  */
396
- export declare class PublishAggregatedGraphQLRequestMetricsRequest extends Message<PublishAggregatedGraphQLRequestMetricsRequest> {
349
+ export type PublishAggregatedGraphQLRequestMetricsRequest = Message<"wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsRequest"> & {
397
350
  /**
398
351
  * @generated from field: repeated wg.cosmo.graphqlmetrics.v1.SchemaUsageInfoAggregation Aggregation = 1;
399
352
  */
400
353
  Aggregation: SchemaUsageInfoAggregation[];
401
- constructor(data?: PartialMessage<PublishAggregatedGraphQLRequestMetricsRequest>);
402
- static readonly runtime: typeof proto3;
403
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsRequest";
404
- static readonly fields: FieldList;
405
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishAggregatedGraphQLRequestMetricsRequest;
406
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishAggregatedGraphQLRequestMetricsRequest;
407
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishAggregatedGraphQLRequestMetricsRequest;
408
- static equals(a: PublishAggregatedGraphQLRequestMetricsRequest | PlainMessage<PublishAggregatedGraphQLRequestMetricsRequest> | undefined, b: PublishAggregatedGraphQLRequestMetricsRequest | PlainMessage<PublishAggregatedGraphQLRequestMetricsRequest> | undefined): boolean;
409
- }
354
+ };
355
+ /**
356
+ * Describes the message wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsRequest.
357
+ * Use `create(PublishAggregatedGraphQLRequestMetricsRequestSchema)` to create a new message.
358
+ */
359
+ export declare const PublishAggregatedGraphQLRequestMetricsRequestSchema: GenMessage<PublishAggregatedGraphQLRequestMetricsRequest>;
410
360
  /**
411
361
  * @generated from message wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsResponse
412
362
  */
413
- export declare class PublishAggregatedGraphQLRequestMetricsResponse extends Message<PublishAggregatedGraphQLRequestMetricsResponse> {
414
- constructor(data?: PartialMessage<PublishAggregatedGraphQLRequestMetricsResponse>);
415
- static readonly runtime: typeof proto3;
416
- static readonly typeName = "wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsResponse";
417
- static readonly fields: FieldList;
418
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishAggregatedGraphQLRequestMetricsResponse;
419
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishAggregatedGraphQLRequestMetricsResponse;
420
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishAggregatedGraphQLRequestMetricsResponse;
421
- static equals(a: PublishAggregatedGraphQLRequestMetricsResponse | PlainMessage<PublishAggregatedGraphQLRequestMetricsResponse> | undefined, b: PublishAggregatedGraphQLRequestMetricsResponse | PlainMessage<PublishAggregatedGraphQLRequestMetricsResponse> | undefined): boolean;
363
+ export type PublishAggregatedGraphQLRequestMetricsResponse = Message<"wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsResponse"> & {};
364
+ /**
365
+ * Describes the message wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsResponse.
366
+ * Use `create(PublishAggregatedGraphQLRequestMetricsResponseSchema)` to create a new message.
367
+ */
368
+ export declare const PublishAggregatedGraphQLRequestMetricsResponseSchema: GenMessage<PublishAggregatedGraphQLRequestMetricsResponse>;
369
+ /**
370
+ * @generated from enum wg.cosmo.graphqlmetrics.v1.OperationType
371
+ */
372
+ export declare enum OperationType {
373
+ /**
374
+ * @generated from enum value: QUERY = 0;
375
+ */
376
+ QUERY = 0,
377
+ /**
378
+ * @generated from enum value: MUTATION = 1;
379
+ */
380
+ MUTATION = 1,
381
+ /**
382
+ * @generated from enum value: SUBSCRIPTION = 2;
383
+ */
384
+ SUBSCRIPTION = 2
422
385
  }
386
+ /**
387
+ * Describes the enum wg.cosmo.graphqlmetrics.v1.OperationType.
388
+ */
389
+ export declare const OperationTypeSchema: GenEnum<OperationType>;
390
+ /**
391
+ * @generated from service wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService
392
+ */
393
+ export declare const GraphQLMetricsService: GenService<{
394
+ /**
395
+ * PublishGraphQLMetrics publishes the GraphQL metrics to the metrics service
396
+ *
397
+ * @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishGraphQLMetrics
398
+ */
399
+ publishGraphQLMetrics: {
400
+ methodKind: "unary";
401
+ input: typeof PublishGraphQLRequestMetricsRequestSchema;
402
+ output: typeof PublishOperationCoverageReportResponseSchema;
403
+ };
404
+ /**
405
+ * @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishAggregatedGraphQLMetrics
406
+ */
407
+ publishAggregatedGraphQLMetrics: {
408
+ methodKind: "unary";
409
+ input: typeof PublishAggregatedGraphQLRequestMetricsRequestSchema;
410
+ output: typeof PublishAggregatedGraphQLRequestMetricsResponseSchema;
411
+ };
412
+ }>;