@wundergraph/cosmo-connect 0.17.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
  // https://protobuf.dev/programming-guides/style/
2
2
  import { Message, proto3, protoInt64 } 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
  */
@@ -987,35 +988,39 @@ export class GetFederatedGraphsRequest extends Message {
987
988
  */
988
989
  export class FederatedGraph extends Message {
989
990
  /**
990
- * @generated from field: string name = 1;
991
+ * @generated from field: string id = 1;
992
+ */
993
+ id = "";
994
+ /**
995
+ * @generated from field: string name = 2;
991
996
  */
992
997
  name = "";
993
998
  /**
994
- * @generated from field: string routingURL = 2;
999
+ * @generated from field: string routingURL = 3;
995
1000
  */
996
1001
  routingURL = "";
997
1002
  /**
998
- * @generated from field: repeated string label_matchers = 3;
1003
+ * @generated from field: repeated string label_matchers = 4;
999
1004
  */
1000
1005
  labelMatchers = [];
1001
1006
  /**
1002
- * @generated from field: string lastUpdatedAt = 4;
1007
+ * @generated from field: string lastUpdatedAt = 5;
1003
1008
  */
1004
1009
  lastUpdatedAt = "";
1005
1010
  /**
1006
- * @generated from field: bool isComposable = 5;
1011
+ * @generated from field: bool isComposable = 6;
1007
1012
  */
1008
1013
  isComposable = false;
1009
1014
  /**
1010
- * @generated from field: string compositionErrors = 6;
1015
+ * @generated from field: string compositionErrors = 7;
1011
1016
  */
1012
1017
  compositionErrors = "";
1013
1018
  /**
1014
- * @generated from field: int32 connectedSubgraphs = 7;
1019
+ * @generated from field: int32 connectedSubgraphs = 8;
1015
1020
  */
1016
1021
  connectedSubgraphs = 0;
1017
1022
  /**
1018
- * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 8;
1023
+ * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 9;
1019
1024
  */
1020
1025
  requestSeries = [];
1021
1026
  constructor(data) {
@@ -1025,14 +1030,15 @@ export class FederatedGraph extends Message {
1025
1030
  static runtime = proto3;
1026
1031
  static typeName = "wg.cosmo.platform.v1.FederatedGraph";
1027
1032
  static fields = proto3.util.newFieldList(() => [
1028
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1029
- { no: 2, name: "routingURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1030
- { no: 3, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1031
- { no: 4, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1032
- { no: 5, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1033
- { no: 6, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1034
- { no: 7, name: "connectedSubgraphs", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1035
- { no: 8, name: "requestSeries", kind: "message", T: RequestSeriesItem, repeated: true },
1033
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1034
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1035
+ { no: 3, name: "routingURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1036
+ { no: 4, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1037
+ { no: 5, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1038
+ { no: 6, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1039
+ { no: 7, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1040
+ { no: 8, name: "connectedSubgraphs", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1041
+ { no: 9, name: "requestSeries", kind: "message", T: RequestSeriesItem, repeated: true },
1036
1042
  ]);
1037
1043
  static fromBinary(bytes, options) {
1038
1044
  return new FederatedGraph().fromBinary(bytes, options);
@@ -3673,6 +3679,181 @@ export class WhoAmIResponse extends Message {
3673
3679
  return proto3.util.equals(WhoAmIResponse, a, b);
3674
3680
  }
3675
3681
  }
3682
+ /**
3683
+ * @generated from message wg.cosmo.platform.v1.RouterToken
3684
+ */
3685
+ export class RouterToken extends Message {
3686
+ /**
3687
+ * @generated from field: string id = 1;
3688
+ */
3689
+ id = "";
3690
+ /**
3691
+ * @generated from field: string name = 2;
3692
+ */
3693
+ name = "";
3694
+ /**
3695
+ * @generated from field: string token = 3;
3696
+ */
3697
+ token = "";
3698
+ /**
3699
+ * @generated from field: string createdAt = 4;
3700
+ */
3701
+ createdAt = "";
3702
+ constructor(data) {
3703
+ super();
3704
+ proto3.util.initPartial(data, this);
3705
+ }
3706
+ static runtime = proto3;
3707
+ static typeName = "wg.cosmo.platform.v1.RouterToken";
3708
+ static fields = proto3.util.newFieldList(() => [
3709
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3710
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3711
+ { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3712
+ { no: 4, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3713
+ ]);
3714
+ static fromBinary(bytes, options) {
3715
+ return new RouterToken().fromBinary(bytes, options);
3716
+ }
3717
+ static fromJson(jsonValue, options) {
3718
+ return new RouterToken().fromJson(jsonValue, options);
3719
+ }
3720
+ static fromJsonString(jsonString, options) {
3721
+ return new RouterToken().fromJsonString(jsonString, options);
3722
+ }
3723
+ static equals(a, b) {
3724
+ return proto3.util.equals(RouterToken, a, b);
3725
+ }
3726
+ }
3727
+ /**
3728
+ * @generated from message wg.cosmo.platform.v1.GetRouterTokensRequest
3729
+ */
3730
+ export class GetRouterTokensRequest extends Message {
3731
+ /**
3732
+ * @generated from field: string fedGraphName = 1;
3733
+ */
3734
+ fedGraphName = "";
3735
+ constructor(data) {
3736
+ super();
3737
+ proto3.util.initPartial(data, this);
3738
+ }
3739
+ static runtime = proto3;
3740
+ static typeName = "wg.cosmo.platform.v1.GetRouterTokensRequest";
3741
+ static fields = proto3.util.newFieldList(() => [
3742
+ { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3743
+ ]);
3744
+ static fromBinary(bytes, options) {
3745
+ return new GetRouterTokensRequest().fromBinary(bytes, options);
3746
+ }
3747
+ static fromJson(jsonValue, options) {
3748
+ return new GetRouterTokensRequest().fromJson(jsonValue, options);
3749
+ }
3750
+ static fromJsonString(jsonString, options) {
3751
+ return new GetRouterTokensRequest().fromJsonString(jsonString, options);
3752
+ }
3753
+ static equals(a, b) {
3754
+ return proto3.util.equals(GetRouterTokensRequest, a, b);
3755
+ }
3756
+ }
3757
+ /**
3758
+ * @generated from message wg.cosmo.platform.v1.GetRouterTokensResponse
3759
+ */
3760
+ export class GetRouterTokensResponse extends Message {
3761
+ /**
3762
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3763
+ */
3764
+ response;
3765
+ /**
3766
+ * @generated from field: repeated wg.cosmo.platform.v1.RouterToken tokens = 2;
3767
+ */
3768
+ tokens = [];
3769
+ constructor(data) {
3770
+ super();
3771
+ proto3.util.initPartial(data, this);
3772
+ }
3773
+ static runtime = proto3;
3774
+ static typeName = "wg.cosmo.platform.v1.GetRouterTokensResponse";
3775
+ static fields = proto3.util.newFieldList(() => [
3776
+ { no: 1, name: "response", kind: "message", T: Response },
3777
+ { no: 2, name: "tokens", kind: "message", T: RouterToken, repeated: true },
3778
+ ]);
3779
+ static fromBinary(bytes, options) {
3780
+ return new GetRouterTokensResponse().fromBinary(bytes, options);
3781
+ }
3782
+ static fromJson(jsonValue, options) {
3783
+ return new GetRouterTokensResponse().fromJson(jsonValue, options);
3784
+ }
3785
+ static fromJsonString(jsonString, options) {
3786
+ return new GetRouterTokensResponse().fromJsonString(jsonString, options);
3787
+ }
3788
+ static equals(a, b) {
3789
+ return proto3.util.equals(GetRouterTokensResponse, a, b);
3790
+ }
3791
+ }
3792
+ /**
3793
+ * @generated from message wg.cosmo.platform.v1.DeleteRouterTokenRequest
3794
+ */
3795
+ export class DeleteRouterTokenRequest extends Message {
3796
+ /**
3797
+ * @generated from field: string tokenName = 1;
3798
+ */
3799
+ tokenName = "";
3800
+ /**
3801
+ * @generated from field: string fedGraphName = 2;
3802
+ */
3803
+ fedGraphName = "";
3804
+ constructor(data) {
3805
+ super();
3806
+ proto3.util.initPartial(data, this);
3807
+ }
3808
+ static runtime = proto3;
3809
+ static typeName = "wg.cosmo.platform.v1.DeleteRouterTokenRequest";
3810
+ static fields = proto3.util.newFieldList(() => [
3811
+ { no: 1, name: "tokenName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3812
+ { no: 2, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3813
+ ]);
3814
+ static fromBinary(bytes, options) {
3815
+ return new DeleteRouterTokenRequest().fromBinary(bytes, options);
3816
+ }
3817
+ static fromJson(jsonValue, options) {
3818
+ return new DeleteRouterTokenRequest().fromJson(jsonValue, options);
3819
+ }
3820
+ static fromJsonString(jsonString, options) {
3821
+ return new DeleteRouterTokenRequest().fromJsonString(jsonString, options);
3822
+ }
3823
+ static equals(a, b) {
3824
+ return proto3.util.equals(DeleteRouterTokenRequest, a, b);
3825
+ }
3826
+ }
3827
+ /**
3828
+ * @generated from message wg.cosmo.platform.v1.DeleteRouterTokenResponse
3829
+ */
3830
+ export class DeleteRouterTokenResponse extends Message {
3831
+ /**
3832
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3833
+ */
3834
+ response;
3835
+ constructor(data) {
3836
+ super();
3837
+ proto3.util.initPartial(data, this);
3838
+ }
3839
+ static runtime = proto3;
3840
+ static typeName = "wg.cosmo.platform.v1.DeleteRouterTokenResponse";
3841
+ static fields = proto3.util.newFieldList(() => [
3842
+ { no: 1, name: "response", kind: "message", T: Response },
3843
+ ]);
3844
+ static fromBinary(bytes, options) {
3845
+ return new DeleteRouterTokenResponse().fromBinary(bytes, options);
3846
+ }
3847
+ static fromJson(jsonValue, options) {
3848
+ return new DeleteRouterTokenResponse().fromJson(jsonValue, options);
3849
+ }
3850
+ static fromJsonString(jsonString, options) {
3851
+ return new DeleteRouterTokenResponse().fromJsonString(jsonString, options);
3852
+ }
3853
+ static equals(a, b) {
3854
+ return proto3.util.equals(DeleteRouterTokenResponse, a, b);
3855
+ }
3856
+ }
3676
3857
  /**
3677
3858
  * @generated from message wg.cosmo.platform.v1.Header
3678
3859
  */
@@ -3724,6 +3905,10 @@ export class CreateOrganizationWebhookConfigRequest extends Message {
3724
3905
  * @generated from field: repeated string events = 3;
3725
3906
  */
3726
3907
  events = [];
3908
+ /**
3909
+ * @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 4;
3910
+ */
3911
+ eventsMeta = [];
3727
3912
  constructor(data) {
3728
3913
  super();
3729
3914
  proto3.util.initPartial(data, this);
@@ -3734,6 +3919,7 @@ export class CreateOrganizationWebhookConfigRequest extends Message {
3734
3919
  { no: 1, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3735
3920
  { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3736
3921
  { no: 3, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3922
+ { no: 4, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
3737
3923
  ]);
3738
3924
  static fromBinary(bytes, options) {
3739
3925
  return new CreateOrganizationWebhookConfigRequest().fromBinary(bytes, options);
@@ -3877,6 +4063,71 @@ export class GetOrganizationWebhookConfigsResponse_Config extends Message {
3877
4063
  return proto3.util.equals(GetOrganizationWebhookConfigsResponse_Config, a, b);
3878
4064
  }
3879
4065
  }
4066
+ /**
4067
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest
4068
+ */
4069
+ export class GetOrganizationWebhookMetaRequest extends Message {
4070
+ /**
4071
+ * @generated from field: string id = 1;
4072
+ */
4073
+ id = "";
4074
+ constructor(data) {
4075
+ super();
4076
+ proto3.util.initPartial(data, this);
4077
+ }
4078
+ static runtime = proto3;
4079
+ static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest";
4080
+ static fields = proto3.util.newFieldList(() => [
4081
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4082
+ ]);
4083
+ static fromBinary(bytes, options) {
4084
+ return new GetOrganizationWebhookMetaRequest().fromBinary(bytes, options);
4085
+ }
4086
+ static fromJson(jsonValue, options) {
4087
+ return new GetOrganizationWebhookMetaRequest().fromJson(jsonValue, options);
4088
+ }
4089
+ static fromJsonString(jsonString, options) {
4090
+ return new GetOrganizationWebhookMetaRequest().fromJsonString(jsonString, options);
4091
+ }
4092
+ static equals(a, b) {
4093
+ return proto3.util.equals(GetOrganizationWebhookMetaRequest, a, b);
4094
+ }
4095
+ }
4096
+ /**
4097
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse
4098
+ */
4099
+ export class GetOrganizationWebhookMetaResponse extends Message {
4100
+ /**
4101
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4102
+ */
4103
+ response;
4104
+ /**
4105
+ * @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 2;
4106
+ */
4107
+ eventsMeta = [];
4108
+ constructor(data) {
4109
+ super();
4110
+ proto3.util.initPartial(data, this);
4111
+ }
4112
+ static runtime = proto3;
4113
+ static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse";
4114
+ static fields = proto3.util.newFieldList(() => [
4115
+ { no: 1, name: "response", kind: "message", T: Response },
4116
+ { no: 2, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
4117
+ ]);
4118
+ static fromBinary(bytes, options) {
4119
+ return new GetOrganizationWebhookMetaResponse().fromBinary(bytes, options);
4120
+ }
4121
+ static fromJson(jsonValue, options) {
4122
+ return new GetOrganizationWebhookMetaResponse().fromJson(jsonValue, options);
4123
+ }
4124
+ static fromJsonString(jsonString, options) {
4125
+ return new GetOrganizationWebhookMetaResponse().fromJsonString(jsonString, options);
4126
+ }
4127
+ static equals(a, b) {
4128
+ return proto3.util.equals(GetOrganizationWebhookMetaResponse, a, b);
4129
+ }
4130
+ }
3880
4131
  /**
3881
4132
  * @generated from message wg.cosmo.platform.v1.UpdateOrganizationWebhookConfigRequest
3882
4133
  */
@@ -3898,7 +4149,11 @@ export class UpdateOrganizationWebhookConfigRequest extends Message {
3898
4149
  */
3899
4150
  events = [];
3900
4151
  /**
3901
- * @generated from field: bool shouldUpdateKey = 5;
4152
+ * @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 5;
4153
+ */
4154
+ eventsMeta = [];
4155
+ /**
4156
+ * @generated from field: bool should_update_key = 6;
3902
4157
  */
3903
4158
  shouldUpdateKey = false;
3904
4159
  constructor(data) {
@@ -3912,7 +4167,8 @@ export class UpdateOrganizationWebhookConfigRequest extends Message {
3912
4167
  { no: 2, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3913
4168
  { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3914
4169
  { no: 4, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3915
- { no: 5, name: "shouldUpdateKey", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
4170
+ { no: 5, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
4171
+ { no: 6, name: "should_update_key", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3916
4172
  ]);
3917
4173
  static fromBinary(bytes, options) {
3918
4174
  return new UpdateOrganizationWebhookConfigRequest().fromBinary(bytes, options);