@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,765 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ import { EnumStatusCode } from "../../common_pb.js";
4
+ /**
5
+ * @generated from enum wg.cosmo.node.v1.ArgumentRenderConfiguration
6
+ */
7
+ export declare enum ArgumentRenderConfiguration {
8
+ /**
9
+ * @generated from enum value: RENDER_ARGUMENT_DEFAULT = 0;
10
+ */
11
+ RENDER_ARGUMENT_DEFAULT = 0,
12
+ /**
13
+ * @generated from enum value: RENDER_ARGUMENT_AS_GRAPHQL_VALUE = 1;
14
+ */
15
+ RENDER_ARGUMENT_AS_GRAPHQL_VALUE = 1,
16
+ /**
17
+ * @generated from enum value: RENDER_ARGUMENT_AS_ARRAY_CSV = 2;
18
+ */
19
+ RENDER_ARGUMENT_AS_ARRAY_CSV = 2
20
+ }
21
+ /**
22
+ * @generated from enum wg.cosmo.node.v1.ArgumentSource
23
+ */
24
+ export declare enum ArgumentSource {
25
+ /**
26
+ * @generated from enum value: OBJECT_FIELD = 0;
27
+ */
28
+ OBJECT_FIELD = 0,
29
+ /**
30
+ * @generated from enum value: FIELD_ARGUMENT = 1;
31
+ */
32
+ FIELD_ARGUMENT = 1
33
+ }
34
+ /**
35
+ * @generated from enum wg.cosmo.node.v1.DataSourceKind
36
+ */
37
+ export declare enum DataSourceKind {
38
+ /**
39
+ * @generated from enum value: STATIC = 0;
40
+ */
41
+ STATIC = 0,
42
+ /**
43
+ * @generated from enum value: GRAPHQL = 1;
44
+ */
45
+ GRAPHQL = 1
46
+ }
47
+ /**
48
+ * @generated from enum wg.cosmo.node.v1.ConfigurationVariableKind
49
+ */
50
+ export declare enum ConfigurationVariableKind {
51
+ /**
52
+ * @generated from enum value: STATIC_CONFIGURATION_VARIABLE = 0;
53
+ */
54
+ STATIC_CONFIGURATION_VARIABLE = 0,
55
+ /**
56
+ * @generated from enum value: ENV_CONFIGURATION_VARIABLE = 1;
57
+ */
58
+ ENV_CONFIGURATION_VARIABLE = 1,
59
+ /**
60
+ * @generated from enum value: PLACEHOLDER_CONFIGURATION_VARIABLE = 2;
61
+ */
62
+ PLACEHOLDER_CONFIGURATION_VARIABLE = 2
63
+ }
64
+ /**
65
+ * @generated from enum wg.cosmo.node.v1.HTTPMethod
66
+ */
67
+ export declare enum HTTPMethod {
68
+ /**
69
+ * @generated from enum value: GET = 0;
70
+ */
71
+ GET = 0,
72
+ /**
73
+ * @generated from enum value: POST = 1;
74
+ */
75
+ POST = 1,
76
+ /**
77
+ * @generated from enum value: PUT = 2;
78
+ */
79
+ PUT = 2,
80
+ /**
81
+ * @generated from enum value: DELETE = 3;
82
+ */
83
+ DELETE = 3,
84
+ /**
85
+ * @generated from enum value: OPTIONS = 4;
86
+ */
87
+ OPTIONS = 4
88
+ }
89
+ /**
90
+ * @generated from message wg.cosmo.node.v1.RouterConfig
91
+ */
92
+ export declare class RouterConfig extends Message<RouterConfig> {
93
+ /**
94
+ * @generated from field: wg.cosmo.node.v1.EngineConfiguration engine_config = 1;
95
+ */
96
+ engineConfig?: EngineConfiguration;
97
+ /**
98
+ * @generated from field: string version = 2;
99
+ */
100
+ version: string;
101
+ constructor(data?: PartialMessage<RouterConfig>);
102
+ static readonly runtime: typeof proto3;
103
+ static readonly typeName = "wg.cosmo.node.v1.RouterConfig";
104
+ static readonly fields: FieldList;
105
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RouterConfig;
106
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RouterConfig;
107
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RouterConfig;
108
+ static equals(a: RouterConfig | PlainMessage<RouterConfig> | undefined, b: RouterConfig | PlainMessage<RouterConfig> | undefined): boolean;
109
+ }
110
+ /**
111
+ * @generated from message wg.cosmo.node.v1.Response
112
+ */
113
+ export declare class Response extends Message<Response> {
114
+ /**
115
+ * @generated from field: wg.cosmo.common.EnumStatusCode code = 1;
116
+ */
117
+ code: EnumStatusCode;
118
+ /**
119
+ * details is an optional field which can be used to provide more details about the error.
120
+ *
121
+ * @generated from field: optional string details = 2;
122
+ */
123
+ details?: string;
124
+ constructor(data?: PartialMessage<Response>);
125
+ static readonly runtime: typeof proto3;
126
+ static readonly typeName = "wg.cosmo.node.v1.Response";
127
+ static readonly fields: FieldList;
128
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Response;
129
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Response;
130
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Response;
131
+ static equals(a: Response | PlainMessage<Response> | undefined, b: Response | PlainMessage<Response> | undefined): boolean;
132
+ }
133
+ /**
134
+ * @generated from message wg.cosmo.node.v1.ResponseStatus
135
+ */
136
+ export declare class ResponseStatus extends Message<ResponseStatus> {
137
+ /**
138
+ * @generated from field: int32 code = 1;
139
+ */
140
+ code: number;
141
+ /**
142
+ * @generated from field: string message = 2;
143
+ */
144
+ message: string;
145
+ constructor(data?: PartialMessage<ResponseStatus>);
146
+ static readonly runtime: typeof proto3;
147
+ static readonly typeName = "wg.cosmo.node.v1.ResponseStatus";
148
+ static readonly fields: FieldList;
149
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResponseStatus;
150
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResponseStatus;
151
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResponseStatus;
152
+ static equals(a: ResponseStatus | PlainMessage<ResponseStatus> | undefined, b: ResponseStatus | PlainMessage<ResponseStatus> | undefined): boolean;
153
+ }
154
+ /**
155
+ * @generated from message wg.cosmo.node.v1.GetConfigRequest
156
+ */
157
+ export declare class GetConfigRequest extends Message<GetConfigRequest> {
158
+ /**
159
+ * The FQDN of the graph to get the config for e.g. "wg.production"
160
+ *
161
+ * @generated from field: string graph_name = 1;
162
+ */
163
+ graphName: string;
164
+ constructor(data?: PartialMessage<GetConfigRequest>);
165
+ static readonly runtime: typeof proto3;
166
+ static readonly typeName = "wg.cosmo.node.v1.GetConfigRequest";
167
+ static readonly fields: FieldList;
168
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConfigRequest;
169
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConfigRequest;
170
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConfigRequest;
171
+ static equals(a: GetConfigRequest | PlainMessage<GetConfigRequest> | undefined, b: GetConfigRequest | PlainMessage<GetConfigRequest> | undefined): boolean;
172
+ }
173
+ /**
174
+ * @generated from message wg.cosmo.node.v1.GetConfigResponse
175
+ */
176
+ export declare class GetConfigResponse extends Message<GetConfigResponse> {
177
+ /**
178
+ * @generated from field: wg.cosmo.node.v1.Response response = 1;
179
+ */
180
+ response?: Response;
181
+ /**
182
+ * @generated from field: optional wg.cosmo.node.v1.RouterConfig config = 2;
183
+ */
184
+ config?: RouterConfig;
185
+ constructor(data?: PartialMessage<GetConfigResponse>);
186
+ static readonly runtime: typeof proto3;
187
+ static readonly typeName = "wg.cosmo.node.v1.GetConfigResponse";
188
+ static readonly fields: FieldList;
189
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConfigResponse;
190
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConfigResponse;
191
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConfigResponse;
192
+ static equals(a: GetConfigResponse | PlainMessage<GetConfigResponse> | undefined, b: GetConfigResponse | PlainMessage<GetConfigResponse> | undefined): boolean;
193
+ }
194
+ /**
195
+ * @generated from message wg.cosmo.node.v1.EngineConfiguration
196
+ */
197
+ export declare class EngineConfiguration extends Message<EngineConfiguration> {
198
+ /**
199
+ * @generated from field: int64 defaultFlushInterval = 1;
200
+ */
201
+ defaultFlushInterval: bigint;
202
+ /**
203
+ * @generated from field: repeated wg.cosmo.node.v1.DataSourceConfiguration datasource_configurations = 2;
204
+ */
205
+ datasourceConfigurations: DataSourceConfiguration[];
206
+ /**
207
+ * @generated from field: repeated wg.cosmo.node.v1.FieldConfiguration field_configurations = 3;
208
+ */
209
+ fieldConfigurations: FieldConfiguration[];
210
+ /**
211
+ * @generated from field: string graphqlSchema = 4;
212
+ */
213
+ graphqlSchema: string;
214
+ /**
215
+ * @generated from field: repeated wg.cosmo.node.v1.TypeConfiguration type_configurations = 5;
216
+ */
217
+ typeConfigurations: TypeConfiguration[];
218
+ /**
219
+ * @generated from field: map<string, string> string_storage = 6;
220
+ */
221
+ stringStorage: {
222
+ [key: string]: string;
223
+ };
224
+ constructor(data?: PartialMessage<EngineConfiguration>);
225
+ static readonly runtime: typeof proto3;
226
+ static readonly typeName = "wg.cosmo.node.v1.EngineConfiguration";
227
+ static readonly fields: FieldList;
228
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EngineConfiguration;
229
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EngineConfiguration;
230
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EngineConfiguration;
231
+ static equals(a: EngineConfiguration | PlainMessage<EngineConfiguration> | undefined, b: EngineConfiguration | PlainMessage<EngineConfiguration> | undefined): boolean;
232
+ }
233
+ /**
234
+ * @generated from message wg.cosmo.node.v1.DataSourceConfiguration
235
+ */
236
+ export declare class DataSourceConfiguration extends Message<DataSourceConfiguration> {
237
+ /**
238
+ * @generated from field: wg.cosmo.node.v1.DataSourceKind kind = 1;
239
+ */
240
+ kind: DataSourceKind;
241
+ /**
242
+ * @generated from field: repeated wg.cosmo.node.v1.TypeField root_nodes = 2;
243
+ */
244
+ rootNodes: TypeField[];
245
+ /**
246
+ * @generated from field: repeated wg.cosmo.node.v1.TypeField child_nodes = 3;
247
+ */
248
+ childNodes: TypeField[];
249
+ /**
250
+ * @generated from field: bool override_field_path_from_alias = 4;
251
+ */
252
+ overrideFieldPathFromAlias: boolean;
253
+ /**
254
+ * @generated from field: wg.cosmo.node.v1.DataSourceCustom_GraphQL custom_graphql = 5;
255
+ */
256
+ customGraphql?: DataSourceCustom_GraphQL;
257
+ /**
258
+ * @generated from field: wg.cosmo.node.v1.DataSourceCustom_Static custom_static = 6;
259
+ */
260
+ customStatic?: DataSourceCustom_Static;
261
+ /**
262
+ * @generated from field: repeated wg.cosmo.node.v1.DirectiveConfiguration directives = 7;
263
+ */
264
+ directives: DirectiveConfiguration[];
265
+ /**
266
+ * @generated from field: int64 request_timeout_seconds = 8;
267
+ */
268
+ requestTimeoutSeconds: bigint;
269
+ /**
270
+ * @generated from field: string id = 9;
271
+ */
272
+ id: string;
273
+ /**
274
+ * @generated from field: repeated wg.cosmo.node.v1.RequiredField required_fields = 10;
275
+ */
276
+ requiredFields: RequiredField[];
277
+ constructor(data?: PartialMessage<DataSourceConfiguration>);
278
+ static readonly runtime: typeof proto3;
279
+ static readonly typeName = "wg.cosmo.node.v1.DataSourceConfiguration";
280
+ static readonly fields: FieldList;
281
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataSourceConfiguration;
282
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataSourceConfiguration;
283
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataSourceConfiguration;
284
+ static equals(a: DataSourceConfiguration | PlainMessage<DataSourceConfiguration> | undefined, b: DataSourceConfiguration | PlainMessage<DataSourceConfiguration> | undefined): boolean;
285
+ }
286
+ /**
287
+ * @generated from message wg.cosmo.node.v1.FieldConfiguration
288
+ */
289
+ export declare class FieldConfiguration extends Message<FieldConfiguration> {
290
+ /**
291
+ * @generated from field: string type_name = 1;
292
+ */
293
+ typeName: string;
294
+ /**
295
+ * @generated from field: string field_name = 2;
296
+ */
297
+ fieldName: string;
298
+ /**
299
+ * @generated from field: bool disable_default_field_mapping = 3;
300
+ */
301
+ disableDefaultFieldMapping: boolean;
302
+ /**
303
+ * @generated from field: repeated string path = 4;
304
+ */
305
+ path: string[];
306
+ /**
307
+ * @generated from field: repeated wg.cosmo.node.v1.ArgumentConfiguration arguments_configuration = 6;
308
+ */
309
+ argumentsConfiguration: ArgumentConfiguration[];
310
+ /**
311
+ * @generated from field: bool unescape_response_json = 7;
312
+ */
313
+ unescapeResponseJson: boolean;
314
+ constructor(data?: PartialMessage<FieldConfiguration>);
315
+ static readonly runtime: typeof proto3;
316
+ static readonly typeName = "wg.cosmo.node.v1.FieldConfiguration";
317
+ static readonly fields: FieldList;
318
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldConfiguration;
319
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldConfiguration;
320
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldConfiguration;
321
+ static equals(a: FieldConfiguration | PlainMessage<FieldConfiguration> | undefined, b: FieldConfiguration | PlainMessage<FieldConfiguration> | undefined): boolean;
322
+ }
323
+ /**
324
+ * @generated from message wg.cosmo.node.v1.ArgumentConfiguration
325
+ */
326
+ export declare class ArgumentConfiguration extends Message<ArgumentConfiguration> {
327
+ /**
328
+ * @generated from field: string name = 1;
329
+ */
330
+ name: string;
331
+ /**
332
+ * @generated from field: wg.cosmo.node.v1.ArgumentSource source_type = 2;
333
+ */
334
+ sourceType: ArgumentSource;
335
+ /**
336
+ * @generated from field: repeated string source_path = 3;
337
+ */
338
+ sourcePath: string[];
339
+ /**
340
+ * @generated from field: wg.cosmo.node.v1.ArgumentRenderConfiguration render_configuration = 4;
341
+ */
342
+ renderConfiguration: ArgumentRenderConfiguration;
343
+ /**
344
+ * @generated from field: string rename_type_to = 5;
345
+ */
346
+ renameTypeTo: string;
347
+ constructor(data?: PartialMessage<ArgumentConfiguration>);
348
+ static readonly runtime: typeof proto3;
349
+ static readonly typeName = "wg.cosmo.node.v1.ArgumentConfiguration";
350
+ static readonly fields: FieldList;
351
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ArgumentConfiguration;
352
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ArgumentConfiguration;
353
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ArgumentConfiguration;
354
+ static equals(a: ArgumentConfiguration | PlainMessage<ArgumentConfiguration> | undefined, b: ArgumentConfiguration | PlainMessage<ArgumentConfiguration> | undefined): boolean;
355
+ }
356
+ /**
357
+ * @generated from message wg.cosmo.node.v1.TypeConfiguration
358
+ */
359
+ export declare class TypeConfiguration extends Message<TypeConfiguration> {
360
+ /**
361
+ * @generated from field: string type_name = 1;
362
+ */
363
+ typeName: string;
364
+ /**
365
+ * @generated from field: string rename_to = 2;
366
+ */
367
+ renameTo: string;
368
+ constructor(data?: PartialMessage<TypeConfiguration>);
369
+ static readonly runtime: typeof proto3;
370
+ static readonly typeName = "wg.cosmo.node.v1.TypeConfiguration";
371
+ static readonly fields: FieldList;
372
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TypeConfiguration;
373
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TypeConfiguration;
374
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypeConfiguration;
375
+ static equals(a: TypeConfiguration | PlainMessage<TypeConfiguration> | undefined, b: TypeConfiguration | PlainMessage<TypeConfiguration> | undefined): boolean;
376
+ }
377
+ /**
378
+ * @generated from message wg.cosmo.node.v1.TypeField
379
+ */
380
+ export declare class TypeField extends Message<TypeField> {
381
+ /**
382
+ * @generated from field: string type_name = 1;
383
+ */
384
+ typeName: string;
385
+ /**
386
+ * @generated from field: repeated string field_names = 2;
387
+ */
388
+ fieldNames: string[];
389
+ constructor(data?: PartialMessage<TypeField>);
390
+ static readonly runtime: typeof proto3;
391
+ static readonly typeName = "wg.cosmo.node.v1.TypeField";
392
+ static readonly fields: FieldList;
393
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TypeField;
394
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TypeField;
395
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypeField;
396
+ static equals(a: TypeField | PlainMessage<TypeField> | undefined, b: TypeField | PlainMessage<TypeField> | undefined): boolean;
397
+ }
398
+ /**
399
+ * @generated from message wg.cosmo.node.v1.RequiredField
400
+ */
401
+ export declare class RequiredField extends Message<RequiredField> {
402
+ /**
403
+ * @generated from field: string type_name = 1;
404
+ */
405
+ typeName: string;
406
+ /**
407
+ * @generated from field: string field_name = 2;
408
+ */
409
+ fieldName: string;
410
+ /**
411
+ * @generated from field: string selection_set = 3;
412
+ */
413
+ selectionSet: string;
414
+ constructor(data?: PartialMessage<RequiredField>);
415
+ static readonly runtime: typeof proto3;
416
+ static readonly typeName = "wg.cosmo.node.v1.RequiredField";
417
+ static readonly fields: FieldList;
418
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RequiredField;
419
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RequiredField;
420
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RequiredField;
421
+ static equals(a: RequiredField | PlainMessage<RequiredField> | undefined, b: RequiredField | PlainMessage<RequiredField> | undefined): boolean;
422
+ }
423
+ /**
424
+ * @generated from message wg.cosmo.node.v1.FetchConfiguration
425
+ */
426
+ export declare class FetchConfiguration extends Message<FetchConfiguration> {
427
+ /**
428
+ * You should either configure url OR a combination of baseURL and path
429
+ * If url resolves to a non empty string, it takes precedence over baseURL and path
430
+ * If url resolves to an empty string, the url will be configured as "{{baseURL}}{{path}}"
431
+ *
432
+ * @generated from field: wg.cosmo.node.v1.ConfigurationVariable url = 1;
433
+ */
434
+ url?: ConfigurationVariable;
435
+ /**
436
+ * @generated from field: wg.cosmo.node.v1.HTTPMethod method = 2;
437
+ */
438
+ method: HTTPMethod;
439
+ /**
440
+ * @generated from field: map<string, wg.cosmo.node.v1.HTTPHeader> header = 3;
441
+ */
442
+ header: {
443
+ [key: string]: HTTPHeader;
444
+ };
445
+ /**
446
+ * @generated from field: wg.cosmo.node.v1.ConfigurationVariable body = 4;
447
+ */
448
+ body?: ConfigurationVariable;
449
+ /**
450
+ * @generated from field: repeated wg.cosmo.node.v1.URLQueryConfiguration query = 5;
451
+ */
452
+ query: URLQueryConfiguration[];
453
+ /**
454
+ * urlEncodeBody defines whether the body should be URL encoded or not
455
+ * by default, the body will be JSON encoded
456
+ * setting urlEncodeBody to true will render the body empty,
457
+ * the Header Content-Type will be set to application/x-www-form-urlencoded,
458
+ * and the body will be URL encoded and set as the URL Query String
459
+ *
460
+ * @generated from field: bool url_encode_body = 7;
461
+ */
462
+ urlEncodeBody: boolean;
463
+ /**
464
+ * @generated from field: wg.cosmo.node.v1.MTLSConfiguration mtls = 8;
465
+ */
466
+ mtls?: MTLSConfiguration;
467
+ /**
468
+ * @generated from field: wg.cosmo.node.v1.ConfigurationVariable base_url = 9;
469
+ */
470
+ baseUrl?: ConfigurationVariable;
471
+ /**
472
+ * @generated from field: wg.cosmo.node.v1.ConfigurationVariable path = 10;
473
+ */
474
+ path?: ConfigurationVariable;
475
+ /**
476
+ * @generated from field: optional wg.cosmo.node.v1.ConfigurationVariable http_proxy_url = 11;
477
+ */
478
+ httpProxyUrl?: ConfigurationVariable;
479
+ constructor(data?: PartialMessage<FetchConfiguration>);
480
+ static readonly runtime: typeof proto3;
481
+ static readonly typeName = "wg.cosmo.node.v1.FetchConfiguration";
482
+ static readonly fields: FieldList;
483
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FetchConfiguration;
484
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FetchConfiguration;
485
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FetchConfiguration;
486
+ static equals(a: FetchConfiguration | PlainMessage<FetchConfiguration> | undefined, b: FetchConfiguration | PlainMessage<FetchConfiguration> | undefined): boolean;
487
+ }
488
+ /**
489
+ * @generated from message wg.cosmo.node.v1.StatusCodeTypeMapping
490
+ */
491
+ export declare class StatusCodeTypeMapping extends Message<StatusCodeTypeMapping> {
492
+ /**
493
+ * @generated from field: int64 status_code = 1;
494
+ */
495
+ statusCode: bigint;
496
+ /**
497
+ * @generated from field: string type_name = 2;
498
+ */
499
+ typeName: string;
500
+ /**
501
+ * @generated from field: bool inject_status_code_into_body = 3;
502
+ */
503
+ injectStatusCodeIntoBody: boolean;
504
+ constructor(data?: PartialMessage<StatusCodeTypeMapping>);
505
+ static readonly runtime: typeof proto3;
506
+ static readonly typeName = "wg.cosmo.node.v1.StatusCodeTypeMapping";
507
+ static readonly fields: FieldList;
508
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StatusCodeTypeMapping;
509
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StatusCodeTypeMapping;
510
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StatusCodeTypeMapping;
511
+ static equals(a: StatusCodeTypeMapping | PlainMessage<StatusCodeTypeMapping> | undefined, b: StatusCodeTypeMapping | PlainMessage<StatusCodeTypeMapping> | undefined): boolean;
512
+ }
513
+ /**
514
+ * @generated from message wg.cosmo.node.v1.DataSourceCustom_GraphQL
515
+ */
516
+ export declare class DataSourceCustom_GraphQL extends Message<DataSourceCustom_GraphQL> {
517
+ /**
518
+ * @generated from field: wg.cosmo.node.v1.FetchConfiguration fetch = 1;
519
+ */
520
+ fetch?: FetchConfiguration;
521
+ /**
522
+ * @generated from field: wg.cosmo.node.v1.GraphQLSubscriptionConfiguration subscription = 2;
523
+ */
524
+ subscription?: GraphQLSubscriptionConfiguration;
525
+ /**
526
+ * @generated from field: wg.cosmo.node.v1.GraphQLFederationConfiguration federation = 3;
527
+ */
528
+ federation?: GraphQLFederationConfiguration;
529
+ /**
530
+ * @generated from field: wg.cosmo.node.v1.InternedString upstream_schema = 4;
531
+ */
532
+ upstreamSchema?: InternedString;
533
+ /**
534
+ * @generated from field: repeated wg.cosmo.node.v1.SingleTypeField custom_scalar_type_fields = 6;
535
+ */
536
+ customScalarTypeFields: SingleTypeField[];
537
+ constructor(data?: PartialMessage<DataSourceCustom_GraphQL>);
538
+ static readonly runtime: typeof proto3;
539
+ static readonly typeName = "wg.cosmo.node.v1.DataSourceCustom_GraphQL";
540
+ static readonly fields: FieldList;
541
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataSourceCustom_GraphQL;
542
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataSourceCustom_GraphQL;
543
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataSourceCustom_GraphQL;
544
+ static equals(a: DataSourceCustom_GraphQL | PlainMessage<DataSourceCustom_GraphQL> | undefined, b: DataSourceCustom_GraphQL | PlainMessage<DataSourceCustom_GraphQL> | undefined): boolean;
545
+ }
546
+ /**
547
+ * @generated from message wg.cosmo.node.v1.DataSourceCustom_Static
548
+ */
549
+ export declare class DataSourceCustom_Static extends Message<DataSourceCustom_Static> {
550
+ /**
551
+ * @generated from field: wg.cosmo.node.v1.ConfigurationVariable data = 1;
552
+ */
553
+ data?: ConfigurationVariable;
554
+ constructor(data?: PartialMessage<DataSourceCustom_Static>);
555
+ static readonly runtime: typeof proto3;
556
+ static readonly typeName = "wg.cosmo.node.v1.DataSourceCustom_Static";
557
+ static readonly fields: FieldList;
558
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataSourceCustom_Static;
559
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataSourceCustom_Static;
560
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataSourceCustom_Static;
561
+ static equals(a: DataSourceCustom_Static | PlainMessage<DataSourceCustom_Static> | undefined, b: DataSourceCustom_Static | PlainMessage<DataSourceCustom_Static> | undefined): boolean;
562
+ }
563
+ /**
564
+ * @generated from message wg.cosmo.node.v1.ConfigurationVariable
565
+ */
566
+ export declare class ConfigurationVariable extends Message<ConfigurationVariable> {
567
+ /**
568
+ * @generated from field: wg.cosmo.node.v1.ConfigurationVariableKind kind = 1;
569
+ */
570
+ kind: ConfigurationVariableKind;
571
+ /**
572
+ * @generated from field: string static_variable_content = 2;
573
+ */
574
+ staticVariableContent: string;
575
+ /**
576
+ * @generated from field: string environment_variable_name = 3;
577
+ */
578
+ environmentVariableName: string;
579
+ /**
580
+ * @generated from field: string environment_variable_default_value = 4;
581
+ */
582
+ environmentVariableDefaultValue: string;
583
+ /**
584
+ * @generated from field: string placeholder_variable_name = 5;
585
+ */
586
+ placeholderVariableName: string;
587
+ constructor(data?: PartialMessage<ConfigurationVariable>);
588
+ static readonly runtime: typeof proto3;
589
+ static readonly typeName = "wg.cosmo.node.v1.ConfigurationVariable";
590
+ static readonly fields: FieldList;
591
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConfigurationVariable;
592
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConfigurationVariable;
593
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConfigurationVariable;
594
+ static equals(a: ConfigurationVariable | PlainMessage<ConfigurationVariable> | undefined, b: ConfigurationVariable | PlainMessage<ConfigurationVariable> | undefined): boolean;
595
+ }
596
+ /**
597
+ * @generated from message wg.cosmo.node.v1.DirectiveConfiguration
598
+ */
599
+ export declare class DirectiveConfiguration extends Message<DirectiveConfiguration> {
600
+ /**
601
+ * @generated from field: string directive_name = 1;
602
+ */
603
+ directiveName: string;
604
+ /**
605
+ * @generated from field: string rename_to = 2;
606
+ */
607
+ renameTo: string;
608
+ constructor(data?: PartialMessage<DirectiveConfiguration>);
609
+ static readonly runtime: typeof proto3;
610
+ static readonly typeName = "wg.cosmo.node.v1.DirectiveConfiguration";
611
+ static readonly fields: FieldList;
612
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectiveConfiguration;
613
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectiveConfiguration;
614
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectiveConfiguration;
615
+ static equals(a: DirectiveConfiguration | PlainMessage<DirectiveConfiguration> | undefined, b: DirectiveConfiguration | PlainMessage<DirectiveConfiguration> | undefined): boolean;
616
+ }
617
+ /**
618
+ * @generated from message wg.cosmo.node.v1.URLQueryConfiguration
619
+ */
620
+ export declare class URLQueryConfiguration extends Message<URLQueryConfiguration> {
621
+ /**
622
+ * @generated from field: string name = 1;
623
+ */
624
+ name: string;
625
+ /**
626
+ * @generated from field: string value = 2;
627
+ */
628
+ value: string;
629
+ constructor(data?: PartialMessage<URLQueryConfiguration>);
630
+ static readonly runtime: typeof proto3;
631
+ static readonly typeName = "wg.cosmo.node.v1.URLQueryConfiguration";
632
+ static readonly fields: FieldList;
633
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): URLQueryConfiguration;
634
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): URLQueryConfiguration;
635
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): URLQueryConfiguration;
636
+ static equals(a: URLQueryConfiguration | PlainMessage<URLQueryConfiguration> | undefined, b: URLQueryConfiguration | PlainMessage<URLQueryConfiguration> | undefined): boolean;
637
+ }
638
+ /**
639
+ * @generated from message wg.cosmo.node.v1.HTTPHeader
640
+ */
641
+ export declare class HTTPHeader extends Message<HTTPHeader> {
642
+ /**
643
+ * @generated from field: repeated wg.cosmo.node.v1.ConfigurationVariable values = 1;
644
+ */
645
+ values: ConfigurationVariable[];
646
+ constructor(data?: PartialMessage<HTTPHeader>);
647
+ static readonly runtime: typeof proto3;
648
+ static readonly typeName = "wg.cosmo.node.v1.HTTPHeader";
649
+ static readonly fields: FieldList;
650
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HTTPHeader;
651
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HTTPHeader;
652
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HTTPHeader;
653
+ static equals(a: HTTPHeader | PlainMessage<HTTPHeader> | undefined, b: HTTPHeader | PlainMessage<HTTPHeader> | undefined): boolean;
654
+ }
655
+ /**
656
+ * @generated from message wg.cosmo.node.v1.MTLSConfiguration
657
+ */
658
+ export declare class MTLSConfiguration extends Message<MTLSConfiguration> {
659
+ /**
660
+ * @generated from field: wg.cosmo.node.v1.ConfigurationVariable key = 1;
661
+ */
662
+ key?: ConfigurationVariable;
663
+ /**
664
+ * @generated from field: wg.cosmo.node.v1.ConfigurationVariable cert = 2;
665
+ */
666
+ cert?: ConfigurationVariable;
667
+ /**
668
+ * @generated from field: bool insecureSkipVerify = 3;
669
+ */
670
+ insecureSkipVerify: boolean;
671
+ constructor(data?: PartialMessage<MTLSConfiguration>);
672
+ static readonly runtime: typeof proto3;
673
+ static readonly typeName = "wg.cosmo.node.v1.MTLSConfiguration";
674
+ static readonly fields: FieldList;
675
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MTLSConfiguration;
676
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MTLSConfiguration;
677
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MTLSConfiguration;
678
+ static equals(a: MTLSConfiguration | PlainMessage<MTLSConfiguration> | undefined, b: MTLSConfiguration | PlainMessage<MTLSConfiguration> | undefined): boolean;
679
+ }
680
+ /**
681
+ * @generated from message wg.cosmo.node.v1.GraphQLSubscriptionConfiguration
682
+ */
683
+ export declare class GraphQLSubscriptionConfiguration extends Message<GraphQLSubscriptionConfiguration> {
684
+ /**
685
+ * @generated from field: bool enabled = 1;
686
+ */
687
+ enabled: boolean;
688
+ /**
689
+ * @generated from field: wg.cosmo.node.v1.ConfigurationVariable url = 2;
690
+ */
691
+ url?: ConfigurationVariable;
692
+ /**
693
+ * @generated from field: bool useSSE = 3;
694
+ */
695
+ useSSE: boolean;
696
+ constructor(data?: PartialMessage<GraphQLSubscriptionConfiguration>);
697
+ static readonly runtime: typeof proto3;
698
+ static readonly typeName = "wg.cosmo.node.v1.GraphQLSubscriptionConfiguration";
699
+ static readonly fields: FieldList;
700
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GraphQLSubscriptionConfiguration;
701
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GraphQLSubscriptionConfiguration;
702
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GraphQLSubscriptionConfiguration;
703
+ static equals(a: GraphQLSubscriptionConfiguration | PlainMessage<GraphQLSubscriptionConfiguration> | undefined, b: GraphQLSubscriptionConfiguration | PlainMessage<GraphQLSubscriptionConfiguration> | undefined): boolean;
704
+ }
705
+ /**
706
+ * @generated from message wg.cosmo.node.v1.GraphQLFederationConfiguration
707
+ */
708
+ export declare class GraphQLFederationConfiguration extends Message<GraphQLFederationConfiguration> {
709
+ /**
710
+ * @generated from field: bool enabled = 1;
711
+ */
712
+ enabled: boolean;
713
+ /**
714
+ * @generated from field: string serviceSdl = 2;
715
+ */
716
+ serviceSdl: string;
717
+ constructor(data?: PartialMessage<GraphQLFederationConfiguration>);
718
+ static readonly runtime: typeof proto3;
719
+ static readonly typeName = "wg.cosmo.node.v1.GraphQLFederationConfiguration";
720
+ static readonly fields: FieldList;
721
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GraphQLFederationConfiguration;
722
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GraphQLFederationConfiguration;
723
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GraphQLFederationConfiguration;
724
+ static equals(a: GraphQLFederationConfiguration | PlainMessage<GraphQLFederationConfiguration> | undefined, b: GraphQLFederationConfiguration | PlainMessage<GraphQLFederationConfiguration> | undefined): boolean;
725
+ }
726
+ /**
727
+ * @generated from message wg.cosmo.node.v1.InternedString
728
+ */
729
+ export declare class InternedString extends Message<InternedString> {
730
+ /**
731
+ * key to index into EngineConfiguration.stringStorage
732
+ *
733
+ * @generated from field: string key = 1;
734
+ */
735
+ key: string;
736
+ constructor(data?: PartialMessage<InternedString>);
737
+ static readonly runtime: typeof proto3;
738
+ static readonly typeName = "wg.cosmo.node.v1.InternedString";
739
+ static readonly fields: FieldList;
740
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternedString;
741
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternedString;
742
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternedString;
743
+ static equals(a: InternedString | PlainMessage<InternedString> | undefined, b: InternedString | PlainMessage<InternedString> | undefined): boolean;
744
+ }
745
+ /**
746
+ * @generated from message wg.cosmo.node.v1.SingleTypeField
747
+ */
748
+ export declare class SingleTypeField extends Message<SingleTypeField> {
749
+ /**
750
+ * @generated from field: string type_name = 1;
751
+ */
752
+ typeName: string;
753
+ /**
754
+ * @generated from field: string field_name = 2;
755
+ */
756
+ fieldName: string;
757
+ constructor(data?: PartialMessage<SingleTypeField>);
758
+ static readonly runtime: typeof proto3;
759
+ static readonly typeName = "wg.cosmo.node.v1.SingleTypeField";
760
+ static readonly fields: FieldList;
761
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SingleTypeField;
762
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SingleTypeField;
763
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SingleTypeField;
764
+ static equals(a: SingleTypeField | PlainMessage<SingleTypeField> | undefined, b: SingleTypeField | PlainMessage<SingleTypeField> | undefined): boolean;
765
+ }