@wundergraph/cosmo-connect 0.16.0 → 0.18.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.
@@ -1,6 +1,7 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
3
  import { EnumStatusCode } from "../../common/common_pb.js";
4
+ import { EventMeta } from "../../webhooks/events_pb.js";
4
5
  /**
5
6
  * @generated from enum wg.cosmo.platform.v1.AnalyticsViewGroupName
6
7
  */
@@ -248,6 +249,35 @@ export declare class PublishFederatedSubgraphResponse extends Message<PublishFed
248
249
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishFederatedSubgraphResponse;
249
250
  static equals(a: PublishFederatedSubgraphResponse | PlainMessage<PublishFederatedSubgraphResponse> | undefined, b: PublishFederatedSubgraphResponse | PlainMessage<PublishFederatedSubgraphResponse> | undefined): boolean;
250
251
  }
252
+ /**
253
+ * @generated from message wg.cosmo.platform.v1.GitInfo
254
+ */
255
+ export declare class GitInfo extends Message<GitInfo> {
256
+ /**
257
+ * @generated from field: string commit_sha = 1;
258
+ */
259
+ commitSha: string;
260
+ /**
261
+ * @generated from field: string account_id = 2;
262
+ */
263
+ accountId: string;
264
+ /**
265
+ * @generated from field: string owner_slug = 3;
266
+ */
267
+ ownerSlug: string;
268
+ /**
269
+ * @generated from field: string repository_slug = 4;
270
+ */
271
+ repositorySlug: string;
272
+ constructor(data?: PartialMessage<GitInfo>);
273
+ static readonly runtime: typeof proto3;
274
+ static readonly typeName = "wg.cosmo.platform.v1.GitInfo";
275
+ static readonly fields: FieldList;
276
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GitInfo;
277
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GitInfo;
278
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GitInfo;
279
+ static equals(a: GitInfo | PlainMessage<GitInfo> | undefined, b: GitInfo | PlainMessage<GitInfo> | undefined): boolean;
280
+ }
251
281
  /**
252
282
  * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemaRequest
253
283
  */
@@ -264,6 +294,10 @@ export declare class CheckSubgraphSchemaRequest extends Message<CheckSubgraphSch
264
294
  * @generated from field: bytes schema = 2;
265
295
  */
266
296
  schema: Uint8Array;
297
+ /**
298
+ * @generated from field: wg.cosmo.platform.v1.GitInfo gitInfo = 3;
299
+ */
300
+ gitInfo?: GitInfo;
267
301
  constructor(data?: PartialMessage<CheckSubgraphSchemaRequest>);
268
302
  static readonly runtime: typeof proto3;
269
303
  static readonly typeName = "wg.cosmo.platform.v1.CheckSubgraphSchemaRequest";
@@ -608,35 +642,39 @@ export declare class GetFederatedGraphsRequest extends Message<GetFederatedGraph
608
642
  */
609
643
  export declare class FederatedGraph extends Message<FederatedGraph> {
610
644
  /**
611
- * @generated from field: string name = 1;
645
+ * @generated from field: string id = 1;
646
+ */
647
+ id: string;
648
+ /**
649
+ * @generated from field: string name = 2;
612
650
  */
613
651
  name: string;
614
652
  /**
615
- * @generated from field: string routingURL = 2;
653
+ * @generated from field: string routingURL = 3;
616
654
  */
617
655
  routingURL: string;
618
656
  /**
619
- * @generated from field: repeated string label_matchers = 3;
657
+ * @generated from field: repeated string label_matchers = 4;
620
658
  */
621
659
  labelMatchers: string[];
622
660
  /**
623
- * @generated from field: string lastUpdatedAt = 4;
661
+ * @generated from field: string lastUpdatedAt = 5;
624
662
  */
625
663
  lastUpdatedAt: string;
626
664
  /**
627
- * @generated from field: bool isComposable = 5;
665
+ * @generated from field: bool isComposable = 6;
628
666
  */
629
667
  isComposable: boolean;
630
668
  /**
631
- * @generated from field: string compositionErrors = 6;
669
+ * @generated from field: string compositionErrors = 7;
632
670
  */
633
671
  compositionErrors: string;
634
672
  /**
635
- * @generated from field: int32 connectedSubgraphs = 7;
673
+ * @generated from field: int32 connectedSubgraphs = 8;
636
674
  */
637
675
  connectedSubgraphs: number;
638
676
  /**
639
- * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 8;
677
+ * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 9;
640
678
  */
641
679
  requestSeries: RequestSeriesItem[];
642
680
  constructor(data?: PartialMessage<FederatedGraph>);
@@ -965,6 +1003,10 @@ export declare class SchemaCheck extends Message<SchemaCheck> {
965
1003
  * @generated from field: optional string proposedSubgraphSchemaSDL = 7;
966
1004
  */
967
1005
  proposedSubgraphSchemaSDL?: string;
1006
+ /**
1007
+ * @generated from field: bool isForcedSuccess = 8;
1008
+ */
1009
+ isForcedSuccess: boolean;
968
1010
  constructor(data?: PartialMessage<SchemaCheck>);
969
1011
  static readonly runtime: typeof proto3;
970
1012
  static readonly typeName = "wg.cosmo.platform.v1.SchemaCheck";
@@ -1040,6 +1082,10 @@ export declare class GetCheckDetailsResponse extends Message<GetCheckDetailsResp
1040
1082
  * @generated from field: repeated string compositionErrors = 3;
1041
1083
  */
1042
1084
  compositionErrors: string[];
1085
+ /**
1086
+ * @generated from field: wg.cosmo.platform.v1.SchemaCheck check = 4;
1087
+ */
1088
+ check?: SchemaCheck;
1043
1089
  constructor(data?: PartialMessage<GetCheckDetailsResponse>);
1044
1090
  static readonly runtime: typeof proto3;
1045
1091
  static readonly typeName = "wg.cosmo.platform.v1.GetCheckDetailsResponse";
@@ -2297,6 +2343,111 @@ export declare class WhoAmIResponse extends Message<WhoAmIResponse> {
2297
2343
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WhoAmIResponse;
2298
2344
  static equals(a: WhoAmIResponse | PlainMessage<WhoAmIResponse> | undefined, b: WhoAmIResponse | PlainMessage<WhoAmIResponse> | undefined): boolean;
2299
2345
  }
2346
+ /**
2347
+ * @generated from message wg.cosmo.platform.v1.RouterToken
2348
+ */
2349
+ export declare class RouterToken extends Message<RouterToken> {
2350
+ /**
2351
+ * @generated from field: string id = 1;
2352
+ */
2353
+ id: string;
2354
+ /**
2355
+ * @generated from field: string name = 2;
2356
+ */
2357
+ name: string;
2358
+ /**
2359
+ * @generated from field: string token = 3;
2360
+ */
2361
+ token: string;
2362
+ /**
2363
+ * @generated from field: string createdAt = 4;
2364
+ */
2365
+ createdAt: string;
2366
+ constructor(data?: PartialMessage<RouterToken>);
2367
+ static readonly runtime: typeof proto3;
2368
+ static readonly typeName = "wg.cosmo.platform.v1.RouterToken";
2369
+ static readonly fields: FieldList;
2370
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RouterToken;
2371
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RouterToken;
2372
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RouterToken;
2373
+ static equals(a: RouterToken | PlainMessage<RouterToken> | undefined, b: RouterToken | PlainMessage<RouterToken> | undefined): boolean;
2374
+ }
2375
+ /**
2376
+ * @generated from message wg.cosmo.platform.v1.GetRouterTokensRequest
2377
+ */
2378
+ export declare class GetRouterTokensRequest extends Message<GetRouterTokensRequest> {
2379
+ /**
2380
+ * @generated from field: string fedGraphName = 1;
2381
+ */
2382
+ fedGraphName: string;
2383
+ constructor(data?: PartialMessage<GetRouterTokensRequest>);
2384
+ static readonly runtime: typeof proto3;
2385
+ static readonly typeName = "wg.cosmo.platform.v1.GetRouterTokensRequest";
2386
+ static readonly fields: FieldList;
2387
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRouterTokensRequest;
2388
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRouterTokensRequest;
2389
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRouterTokensRequest;
2390
+ static equals(a: GetRouterTokensRequest | PlainMessage<GetRouterTokensRequest> | undefined, b: GetRouterTokensRequest | PlainMessage<GetRouterTokensRequest> | undefined): boolean;
2391
+ }
2392
+ /**
2393
+ * @generated from message wg.cosmo.platform.v1.GetRouterTokensResponse
2394
+ */
2395
+ export declare class GetRouterTokensResponse extends Message<GetRouterTokensResponse> {
2396
+ /**
2397
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2398
+ */
2399
+ response?: Response;
2400
+ /**
2401
+ * @generated from field: repeated wg.cosmo.platform.v1.RouterToken tokens = 2;
2402
+ */
2403
+ tokens: RouterToken[];
2404
+ constructor(data?: PartialMessage<GetRouterTokensResponse>);
2405
+ static readonly runtime: typeof proto3;
2406
+ static readonly typeName = "wg.cosmo.platform.v1.GetRouterTokensResponse";
2407
+ static readonly fields: FieldList;
2408
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRouterTokensResponse;
2409
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRouterTokensResponse;
2410
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRouterTokensResponse;
2411
+ static equals(a: GetRouterTokensResponse | PlainMessage<GetRouterTokensResponse> | undefined, b: GetRouterTokensResponse | PlainMessage<GetRouterTokensResponse> | undefined): boolean;
2412
+ }
2413
+ /**
2414
+ * @generated from message wg.cosmo.platform.v1.DeleteRouterTokenRequest
2415
+ */
2416
+ export declare class DeleteRouterTokenRequest extends Message<DeleteRouterTokenRequest> {
2417
+ /**
2418
+ * @generated from field: string tokenName = 1;
2419
+ */
2420
+ tokenName: string;
2421
+ /**
2422
+ * @generated from field: string fedGraphName = 2;
2423
+ */
2424
+ fedGraphName: string;
2425
+ constructor(data?: PartialMessage<DeleteRouterTokenRequest>);
2426
+ static readonly runtime: typeof proto3;
2427
+ static readonly typeName = "wg.cosmo.platform.v1.DeleteRouterTokenRequest";
2428
+ static readonly fields: FieldList;
2429
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteRouterTokenRequest;
2430
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteRouterTokenRequest;
2431
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteRouterTokenRequest;
2432
+ static equals(a: DeleteRouterTokenRequest | PlainMessage<DeleteRouterTokenRequest> | undefined, b: DeleteRouterTokenRequest | PlainMessage<DeleteRouterTokenRequest> | undefined): boolean;
2433
+ }
2434
+ /**
2435
+ * @generated from message wg.cosmo.platform.v1.DeleteRouterTokenResponse
2436
+ */
2437
+ export declare class DeleteRouterTokenResponse extends Message<DeleteRouterTokenResponse> {
2438
+ /**
2439
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2440
+ */
2441
+ response?: Response;
2442
+ constructor(data?: PartialMessage<DeleteRouterTokenResponse>);
2443
+ static readonly runtime: typeof proto3;
2444
+ static readonly typeName = "wg.cosmo.platform.v1.DeleteRouterTokenResponse";
2445
+ static readonly fields: FieldList;
2446
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteRouterTokenResponse;
2447
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteRouterTokenResponse;
2448
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteRouterTokenResponse;
2449
+ static equals(a: DeleteRouterTokenResponse | PlainMessage<DeleteRouterTokenResponse> | undefined, b: DeleteRouterTokenResponse | PlainMessage<DeleteRouterTokenResponse> | undefined): boolean;
2450
+ }
2300
2451
  /**
2301
2452
  * @generated from message wg.cosmo.platform.v1.Header
2302
2453
  */
@@ -2334,6 +2485,10 @@ export declare class CreateOrganizationWebhookConfigRequest extends Message<Crea
2334
2485
  * @generated from field: repeated string events = 3;
2335
2486
  */
2336
2487
  events: string[];
2488
+ /**
2489
+ * @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 4;
2490
+ */
2491
+ eventsMeta: EventMeta[];
2337
2492
  constructor(data?: PartialMessage<CreateOrganizationWebhookConfigRequest>);
2338
2493
  static readonly runtime: typeof proto3;
2339
2494
  static readonly typeName = "wg.cosmo.platform.v1.CreateOrganizationWebhookConfigRequest";
@@ -2419,6 +2574,44 @@ export declare class GetOrganizationWebhookConfigsResponse_Config extends Messag
2419
2574
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationWebhookConfigsResponse_Config;
2420
2575
  static equals(a: GetOrganizationWebhookConfigsResponse_Config | PlainMessage<GetOrganizationWebhookConfigsResponse_Config> | undefined, b: GetOrganizationWebhookConfigsResponse_Config | PlainMessage<GetOrganizationWebhookConfigsResponse_Config> | undefined): boolean;
2421
2576
  }
2577
+ /**
2578
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest
2579
+ */
2580
+ export declare class GetOrganizationWebhookMetaRequest extends Message<GetOrganizationWebhookMetaRequest> {
2581
+ /**
2582
+ * @generated from field: string id = 1;
2583
+ */
2584
+ id: string;
2585
+ constructor(data?: PartialMessage<GetOrganizationWebhookMetaRequest>);
2586
+ static readonly runtime: typeof proto3;
2587
+ static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest";
2588
+ static readonly fields: FieldList;
2589
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationWebhookMetaRequest;
2590
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationWebhookMetaRequest;
2591
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationWebhookMetaRequest;
2592
+ static equals(a: GetOrganizationWebhookMetaRequest | PlainMessage<GetOrganizationWebhookMetaRequest> | undefined, b: GetOrganizationWebhookMetaRequest | PlainMessage<GetOrganizationWebhookMetaRequest> | undefined): boolean;
2593
+ }
2594
+ /**
2595
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse
2596
+ */
2597
+ export declare class GetOrganizationWebhookMetaResponse extends Message<GetOrganizationWebhookMetaResponse> {
2598
+ /**
2599
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2600
+ */
2601
+ response?: Response;
2602
+ /**
2603
+ * @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 2;
2604
+ */
2605
+ eventsMeta: EventMeta[];
2606
+ constructor(data?: PartialMessage<GetOrganizationWebhookMetaResponse>);
2607
+ static readonly runtime: typeof proto3;
2608
+ static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse";
2609
+ static readonly fields: FieldList;
2610
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationWebhookMetaResponse;
2611
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationWebhookMetaResponse;
2612
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationWebhookMetaResponse;
2613
+ static equals(a: GetOrganizationWebhookMetaResponse | PlainMessage<GetOrganizationWebhookMetaResponse> | undefined, b: GetOrganizationWebhookMetaResponse | PlainMessage<GetOrganizationWebhookMetaResponse> | undefined): boolean;
2614
+ }
2422
2615
  /**
2423
2616
  * @generated from message wg.cosmo.platform.v1.UpdateOrganizationWebhookConfigRequest
2424
2617
  */
@@ -2440,7 +2633,11 @@ export declare class UpdateOrganizationWebhookConfigRequest extends Message<Upda
2440
2633
  */
2441
2634
  events: string[];
2442
2635
  /**
2443
- * @generated from field: bool shouldUpdateKey = 5;
2636
+ * @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 5;
2637
+ */
2638
+ eventsMeta: EventMeta[];
2639
+ /**
2640
+ * @generated from field: bool should_update_key = 6;
2444
2641
  */
2445
2642
  shouldUpdateKey: boolean;
2446
2643
  constructor(data?: PartialMessage<UpdateOrganizationWebhookConfigRequest>);
@@ -2904,3 +3101,41 @@ export declare class GetMetricsErrorRateResponse extends Message<GetMetricsError
2904
3101
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMetricsErrorRateResponse;
2905
3102
  static equals(a: GetMetricsErrorRateResponse | PlainMessage<GetMetricsErrorRateResponse> | undefined, b: GetMetricsErrorRateResponse | PlainMessage<GetMetricsErrorRateResponse> | undefined): boolean;
2906
3103
  }
3104
+ /**
3105
+ * @generated from message wg.cosmo.platform.v1.ForceCheckSuccessRequest
3106
+ */
3107
+ export declare class ForceCheckSuccessRequest extends Message<ForceCheckSuccessRequest> {
3108
+ /**
3109
+ * @generated from field: string check_id = 1;
3110
+ */
3111
+ checkId: string;
3112
+ /**
3113
+ * @generated from field: string graph_name = 2;
3114
+ */
3115
+ graphName: string;
3116
+ constructor(data?: PartialMessage<ForceCheckSuccessRequest>);
3117
+ static readonly runtime: typeof proto3;
3118
+ static readonly typeName = "wg.cosmo.platform.v1.ForceCheckSuccessRequest";
3119
+ static readonly fields: FieldList;
3120
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ForceCheckSuccessRequest;
3121
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ForceCheckSuccessRequest;
3122
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ForceCheckSuccessRequest;
3123
+ static equals(a: ForceCheckSuccessRequest | PlainMessage<ForceCheckSuccessRequest> | undefined, b: ForceCheckSuccessRequest | PlainMessage<ForceCheckSuccessRequest> | undefined): boolean;
3124
+ }
3125
+ /**
3126
+ * @generated from message wg.cosmo.platform.v1.ForceCheckSuccessResponse
3127
+ */
3128
+ export declare class ForceCheckSuccessResponse extends Message<ForceCheckSuccessResponse> {
3129
+ /**
3130
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3131
+ */
3132
+ response?: Response;
3133
+ constructor(data?: PartialMessage<ForceCheckSuccessResponse>);
3134
+ static readonly runtime: typeof proto3;
3135
+ static readonly typeName = "wg.cosmo.platform.v1.ForceCheckSuccessResponse";
3136
+ static readonly fields: FieldList;
3137
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ForceCheckSuccessResponse;
3138
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ForceCheckSuccessResponse;
3139
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ForceCheckSuccessResponse;
3140
+ static equals(a: ForceCheckSuccessResponse | PlainMessage<ForceCheckSuccessResponse> | undefined, b: ForceCheckSuccessResponse | PlainMessage<ForceCheckSuccessResponse> | undefined): boolean;
3141
+ }