@wundergraph/cosmo-connect 0.17.0 → 0.19.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
  */
@@ -641,35 +642,39 @@ export declare class GetFederatedGraphsRequest extends Message<GetFederatedGraph
641
642
  */
642
643
  export declare class FederatedGraph extends Message<FederatedGraph> {
643
644
  /**
644
- * @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;
645
650
  */
646
651
  name: string;
647
652
  /**
648
- * @generated from field: string routingURL = 2;
653
+ * @generated from field: string routingURL = 3;
649
654
  */
650
655
  routingURL: string;
651
656
  /**
652
- * @generated from field: repeated string label_matchers = 3;
657
+ * @generated from field: repeated string label_matchers = 4;
653
658
  */
654
659
  labelMatchers: string[];
655
660
  /**
656
- * @generated from field: string lastUpdatedAt = 4;
661
+ * @generated from field: string lastUpdatedAt = 5;
657
662
  */
658
663
  lastUpdatedAt: string;
659
664
  /**
660
- * @generated from field: bool isComposable = 5;
665
+ * @generated from field: bool isComposable = 6;
661
666
  */
662
667
  isComposable: boolean;
663
668
  /**
664
- * @generated from field: string compositionErrors = 6;
669
+ * @generated from field: string compositionErrors = 7;
665
670
  */
666
671
  compositionErrors: string;
667
672
  /**
668
- * @generated from field: int32 connectedSubgraphs = 7;
673
+ * @generated from field: int32 connectedSubgraphs = 8;
669
674
  */
670
675
  connectedSubgraphs: number;
671
676
  /**
672
- * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 8;
677
+ * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 9;
673
678
  */
674
679
  requestSeries: RequestSeriesItem[];
675
680
  constructor(data?: PartialMessage<FederatedGraph>);
@@ -810,6 +815,10 @@ export declare class GetFederatedGraphByNameResponse extends Message<GetFederate
810
815
  * @generated from field: repeated wg.cosmo.platform.v1.Subgraph subgraphs = 3;
811
816
  */
812
817
  subgraphs: Subgraph[];
818
+ /**
819
+ * @generated from field: string graphToken = 4;
820
+ */
821
+ graphToken: string;
813
822
  constructor(data?: PartialMessage<GetFederatedGraphByNameResponse>);
814
823
  static readonly runtime: typeof proto3;
815
824
  static readonly typeName = "wg.cosmo.platform.v1.GetFederatedGraphByNameResponse";
@@ -1382,6 +1391,27 @@ export declare class Pagination extends Message<Pagination> {
1382
1391
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pagination;
1383
1392
  static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
1384
1393
  }
1394
+ /**
1395
+ * @generated from message wg.cosmo.platform.v1.Sort
1396
+ */
1397
+ export declare class Sort extends Message<Sort> {
1398
+ /**
1399
+ * @generated from field: string id = 1;
1400
+ */
1401
+ id: string;
1402
+ /**
1403
+ * @generated from field: bool desc = 2;
1404
+ */
1405
+ desc: boolean;
1406
+ constructor(data?: PartialMessage<Sort>);
1407
+ static readonly runtime: typeof proto3;
1408
+ static readonly typeName = "wg.cosmo.platform.v1.Sort";
1409
+ static readonly fields: FieldList;
1410
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Sort;
1411
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Sort;
1412
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Sort;
1413
+ static equals(a: Sort | PlainMessage<Sort> | undefined, b: Sort | PlainMessage<Sort> | undefined): boolean;
1414
+ }
1385
1415
  /**
1386
1416
  * @generated from message wg.cosmo.platform.v1.AnalyticsConfig
1387
1417
  */
@@ -1398,6 +1428,10 @@ export declare class AnalyticsConfig extends Message<AnalyticsConfig> {
1398
1428
  * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 3;
1399
1429
  */
1400
1430
  pagination?: Pagination;
1431
+ /**
1432
+ * @generated from field: optional wg.cosmo.platform.v1.Sort sort = 4;
1433
+ */
1434
+ sort?: Sort;
1401
1435
  constructor(data?: PartialMessage<AnalyticsConfig>);
1402
1436
  static readonly runtime: typeof proto3;
1403
1437
  static readonly typeName = "wg.cosmo.platform.v1.AnalyticsConfig";
@@ -2338,6 +2372,111 @@ export declare class WhoAmIResponse extends Message<WhoAmIResponse> {
2338
2372
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WhoAmIResponse;
2339
2373
  static equals(a: WhoAmIResponse | PlainMessage<WhoAmIResponse> | undefined, b: WhoAmIResponse | PlainMessage<WhoAmIResponse> | undefined): boolean;
2340
2374
  }
2375
+ /**
2376
+ * @generated from message wg.cosmo.platform.v1.RouterToken
2377
+ */
2378
+ export declare class RouterToken extends Message<RouterToken> {
2379
+ /**
2380
+ * @generated from field: string id = 1;
2381
+ */
2382
+ id: string;
2383
+ /**
2384
+ * @generated from field: string name = 2;
2385
+ */
2386
+ name: string;
2387
+ /**
2388
+ * @generated from field: string token = 3;
2389
+ */
2390
+ token: string;
2391
+ /**
2392
+ * @generated from field: string createdAt = 4;
2393
+ */
2394
+ createdAt: string;
2395
+ constructor(data?: PartialMessage<RouterToken>);
2396
+ static readonly runtime: typeof proto3;
2397
+ static readonly typeName = "wg.cosmo.platform.v1.RouterToken";
2398
+ static readonly fields: FieldList;
2399
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RouterToken;
2400
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RouterToken;
2401
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RouterToken;
2402
+ static equals(a: RouterToken | PlainMessage<RouterToken> | undefined, b: RouterToken | PlainMessage<RouterToken> | undefined): boolean;
2403
+ }
2404
+ /**
2405
+ * @generated from message wg.cosmo.platform.v1.GetRouterTokensRequest
2406
+ */
2407
+ export declare class GetRouterTokensRequest extends Message<GetRouterTokensRequest> {
2408
+ /**
2409
+ * @generated from field: string fedGraphName = 1;
2410
+ */
2411
+ fedGraphName: string;
2412
+ constructor(data?: PartialMessage<GetRouterTokensRequest>);
2413
+ static readonly runtime: typeof proto3;
2414
+ static readonly typeName = "wg.cosmo.platform.v1.GetRouterTokensRequest";
2415
+ static readonly fields: FieldList;
2416
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRouterTokensRequest;
2417
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRouterTokensRequest;
2418
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRouterTokensRequest;
2419
+ static equals(a: GetRouterTokensRequest | PlainMessage<GetRouterTokensRequest> | undefined, b: GetRouterTokensRequest | PlainMessage<GetRouterTokensRequest> | undefined): boolean;
2420
+ }
2421
+ /**
2422
+ * @generated from message wg.cosmo.platform.v1.GetRouterTokensResponse
2423
+ */
2424
+ export declare class GetRouterTokensResponse extends Message<GetRouterTokensResponse> {
2425
+ /**
2426
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2427
+ */
2428
+ response?: Response;
2429
+ /**
2430
+ * @generated from field: repeated wg.cosmo.platform.v1.RouterToken tokens = 2;
2431
+ */
2432
+ tokens: RouterToken[];
2433
+ constructor(data?: PartialMessage<GetRouterTokensResponse>);
2434
+ static readonly runtime: typeof proto3;
2435
+ static readonly typeName = "wg.cosmo.platform.v1.GetRouterTokensResponse";
2436
+ static readonly fields: FieldList;
2437
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRouterTokensResponse;
2438
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRouterTokensResponse;
2439
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRouterTokensResponse;
2440
+ static equals(a: GetRouterTokensResponse | PlainMessage<GetRouterTokensResponse> | undefined, b: GetRouterTokensResponse | PlainMessage<GetRouterTokensResponse> | undefined): boolean;
2441
+ }
2442
+ /**
2443
+ * @generated from message wg.cosmo.platform.v1.DeleteRouterTokenRequest
2444
+ */
2445
+ export declare class DeleteRouterTokenRequest extends Message<DeleteRouterTokenRequest> {
2446
+ /**
2447
+ * @generated from field: string tokenName = 1;
2448
+ */
2449
+ tokenName: string;
2450
+ /**
2451
+ * @generated from field: string fedGraphName = 2;
2452
+ */
2453
+ fedGraphName: string;
2454
+ constructor(data?: PartialMessage<DeleteRouterTokenRequest>);
2455
+ static readonly runtime: typeof proto3;
2456
+ static readonly typeName = "wg.cosmo.platform.v1.DeleteRouterTokenRequest";
2457
+ static readonly fields: FieldList;
2458
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteRouterTokenRequest;
2459
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteRouterTokenRequest;
2460
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteRouterTokenRequest;
2461
+ static equals(a: DeleteRouterTokenRequest | PlainMessage<DeleteRouterTokenRequest> | undefined, b: DeleteRouterTokenRequest | PlainMessage<DeleteRouterTokenRequest> | undefined): boolean;
2462
+ }
2463
+ /**
2464
+ * @generated from message wg.cosmo.platform.v1.DeleteRouterTokenResponse
2465
+ */
2466
+ export declare class DeleteRouterTokenResponse extends Message<DeleteRouterTokenResponse> {
2467
+ /**
2468
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2469
+ */
2470
+ response?: Response;
2471
+ constructor(data?: PartialMessage<DeleteRouterTokenResponse>);
2472
+ static readonly runtime: typeof proto3;
2473
+ static readonly typeName = "wg.cosmo.platform.v1.DeleteRouterTokenResponse";
2474
+ static readonly fields: FieldList;
2475
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteRouterTokenResponse;
2476
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteRouterTokenResponse;
2477
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteRouterTokenResponse;
2478
+ static equals(a: DeleteRouterTokenResponse | PlainMessage<DeleteRouterTokenResponse> | undefined, b: DeleteRouterTokenResponse | PlainMessage<DeleteRouterTokenResponse> | undefined): boolean;
2479
+ }
2341
2480
  /**
2342
2481
  * @generated from message wg.cosmo.platform.v1.Header
2343
2482
  */
@@ -2375,6 +2514,10 @@ export declare class CreateOrganizationWebhookConfigRequest extends Message<Crea
2375
2514
  * @generated from field: repeated string events = 3;
2376
2515
  */
2377
2516
  events: string[];
2517
+ /**
2518
+ * @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 4;
2519
+ */
2520
+ eventsMeta: EventMeta[];
2378
2521
  constructor(data?: PartialMessage<CreateOrganizationWebhookConfigRequest>);
2379
2522
  static readonly runtime: typeof proto3;
2380
2523
  static readonly typeName = "wg.cosmo.platform.v1.CreateOrganizationWebhookConfigRequest";
@@ -2460,6 +2603,44 @@ export declare class GetOrganizationWebhookConfigsResponse_Config extends Messag
2460
2603
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationWebhookConfigsResponse_Config;
2461
2604
  static equals(a: GetOrganizationWebhookConfigsResponse_Config | PlainMessage<GetOrganizationWebhookConfigsResponse_Config> | undefined, b: GetOrganizationWebhookConfigsResponse_Config | PlainMessage<GetOrganizationWebhookConfigsResponse_Config> | undefined): boolean;
2462
2605
  }
2606
+ /**
2607
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest
2608
+ */
2609
+ export declare class GetOrganizationWebhookMetaRequest extends Message<GetOrganizationWebhookMetaRequest> {
2610
+ /**
2611
+ * @generated from field: string id = 1;
2612
+ */
2613
+ id: string;
2614
+ constructor(data?: PartialMessage<GetOrganizationWebhookMetaRequest>);
2615
+ static readonly runtime: typeof proto3;
2616
+ static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest";
2617
+ static readonly fields: FieldList;
2618
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationWebhookMetaRequest;
2619
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationWebhookMetaRequest;
2620
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationWebhookMetaRequest;
2621
+ static equals(a: GetOrganizationWebhookMetaRequest | PlainMessage<GetOrganizationWebhookMetaRequest> | undefined, b: GetOrganizationWebhookMetaRequest | PlainMessage<GetOrganizationWebhookMetaRequest> | undefined): boolean;
2622
+ }
2623
+ /**
2624
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse
2625
+ */
2626
+ export declare class GetOrganizationWebhookMetaResponse extends Message<GetOrganizationWebhookMetaResponse> {
2627
+ /**
2628
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2629
+ */
2630
+ response?: Response;
2631
+ /**
2632
+ * @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 2;
2633
+ */
2634
+ eventsMeta: EventMeta[];
2635
+ constructor(data?: PartialMessage<GetOrganizationWebhookMetaResponse>);
2636
+ static readonly runtime: typeof proto3;
2637
+ static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse";
2638
+ static readonly fields: FieldList;
2639
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationWebhookMetaResponse;
2640
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationWebhookMetaResponse;
2641
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationWebhookMetaResponse;
2642
+ static equals(a: GetOrganizationWebhookMetaResponse | PlainMessage<GetOrganizationWebhookMetaResponse> | undefined, b: GetOrganizationWebhookMetaResponse | PlainMessage<GetOrganizationWebhookMetaResponse> | undefined): boolean;
2643
+ }
2463
2644
  /**
2464
2645
  * @generated from message wg.cosmo.platform.v1.UpdateOrganizationWebhookConfigRequest
2465
2646
  */
@@ -2481,7 +2662,11 @@ export declare class UpdateOrganizationWebhookConfigRequest extends Message<Upda
2481
2662
  */
2482
2663
  events: string[];
2483
2664
  /**
2484
- * @generated from field: bool shouldUpdateKey = 5;
2665
+ * @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 5;
2666
+ */
2667
+ eventsMeta: EventMeta[];
2668
+ /**
2669
+ * @generated from field: bool should_update_key = 6;
2485
2670
  */
2486
2671
  shouldUpdateKey: boolean;
2487
2672
  constructor(data?: PartialMessage<UpdateOrganizationWebhookConfigRequest>);
@@ -2929,13 +3114,9 @@ export declare class GetMetricsErrorRateResponse extends Message<GetMetricsError
2929
3114
  */
2930
3115
  response?: Response;
2931
3116
  /**
2932
- * @generated from field: repeated wg.cosmo.platform.v1.MetricsSeriesItem series = 2;
2933
- */
2934
- series: MetricsSeriesItem[];
2935
- /**
2936
- * @generated from field: repeated wg.cosmo.platform.v1.MetricsSeriesItem errorSeries = 3;
3117
+ * @generated from field: repeated wg.cosmo.platform.v1.MetricsErrorRateSeriesItem series = 2;
2937
3118
  */
2938
- errorSeries: MetricsSeriesItem[];
3119
+ series: MetricsErrorRateSeriesItem[];
2939
3120
  constructor(data?: PartialMessage<GetMetricsErrorRateResponse>);
2940
3121
  static readonly runtime: typeof proto3;
2941
3122
  static readonly typeName = "wg.cosmo.platform.v1.GetMetricsErrorRateResponse";
@@ -2945,6 +3126,31 @@ export declare class GetMetricsErrorRateResponse extends Message<GetMetricsError
2945
3126
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMetricsErrorRateResponse;
2946
3127
  static equals(a: GetMetricsErrorRateResponse | PlainMessage<GetMetricsErrorRateResponse> | undefined, b: GetMetricsErrorRateResponse | PlainMessage<GetMetricsErrorRateResponse> | undefined): boolean;
2947
3128
  }
3129
+ /**
3130
+ * @generated from message wg.cosmo.platform.v1.MetricsErrorRateSeriesItem
3131
+ */
3132
+ export declare class MetricsErrorRateSeriesItem extends Message<MetricsErrorRateSeriesItem> {
3133
+ /**
3134
+ * @generated from field: string timestamp = 1;
3135
+ */
3136
+ timestamp: string;
3137
+ /**
3138
+ * @generated from field: float requestRate = 2;
3139
+ */
3140
+ requestRate: number;
3141
+ /**
3142
+ * @generated from field: float errorRate = 3;
3143
+ */
3144
+ errorRate: number;
3145
+ constructor(data?: PartialMessage<MetricsErrorRateSeriesItem>);
3146
+ static readonly runtime: typeof proto3;
3147
+ static readonly typeName = "wg.cosmo.platform.v1.MetricsErrorRateSeriesItem";
3148
+ static readonly fields: FieldList;
3149
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsErrorRateSeriesItem;
3150
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsErrorRateSeriesItem;
3151
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsErrorRateSeriesItem;
3152
+ static equals(a: MetricsErrorRateSeriesItem | PlainMessage<MetricsErrorRateSeriesItem> | undefined, b: MetricsErrorRateSeriesItem | PlainMessage<MetricsErrorRateSeriesItem> | undefined): boolean;
3153
+ }
2948
3154
  /**
2949
3155
  * @generated from message wg.cosmo.platform.v1.ForceCheckSuccessRequest
2950
3156
  */