@wundergraph/cosmo-connect 0.13.0 → 0.15.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.
@@ -1659,6 +1659,10 @@ export class GetFederatedGraphChangelogRequest extends Message {
1659
1659
  * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 2;
1660
1660
  */
1661
1661
  pagination;
1662
+ /**
1663
+ * @generated from field: wg.cosmo.platform.v1.DateRange date_range = 3;
1664
+ */
1665
+ dateRange;
1662
1666
  constructor(data) {
1663
1667
  super();
1664
1668
  proto3.util.initPartial(data, this);
@@ -1668,6 +1672,7 @@ export class GetFederatedGraphChangelogRequest extends Message {
1668
1672
  static fields = proto3.util.newFieldList(() => [
1669
1673
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1670
1674
  { no: 2, name: "pagination", kind: "message", T: Pagination },
1675
+ { no: 3, name: "date_range", kind: "message", T: DateRange },
1671
1676
  ]);
1672
1677
  static fromBinary(bytes, options) {
1673
1678
  return new GetFederatedGraphChangelogRequest().fromBinary(bytes, options);
@@ -2117,7 +2122,7 @@ export class Pagination extends Message {
2117
2122
  */
2118
2123
  export class AnalyticsConfig extends Message {
2119
2124
  /**
2120
- * @generated from field: wg.cosmo.platform.v1.AnalyticsDateRange date_range = 1;
2125
+ * @generated from field: wg.cosmo.platform.v1.DateRange date_range = 1;
2121
2126
  */
2122
2127
  dateRange;
2123
2128
  /**
@@ -2135,7 +2140,7 @@ export class AnalyticsConfig extends Message {
2135
2140
  static runtime = proto3;
2136
2141
  static typeName = "wg.cosmo.platform.v1.AnalyticsConfig";
2137
2142
  static fields = proto3.util.newFieldList(() => [
2138
- { no: 1, name: "date_range", kind: "message", T: AnalyticsDateRange },
2143
+ { no: 1, name: "date_range", kind: "message", T: DateRange },
2139
2144
  { no: 2, name: "filters", kind: "message", T: AnalyticsFilter, repeated: true },
2140
2145
  { no: 3, name: "pagination", kind: "message", T: Pagination },
2141
2146
  ]);
@@ -2199,9 +2204,9 @@ export class AnalyticsFilter extends Message {
2199
2204
  }
2200
2205
  }
2201
2206
  /**
2202
- * @generated from message wg.cosmo.platform.v1.AnalyticsDateRange
2207
+ * @generated from message wg.cosmo.platform.v1.DateRange
2203
2208
  */
2204
- export class AnalyticsDateRange extends Message {
2209
+ export class DateRange extends Message {
2205
2210
  /**
2206
2211
  * The start date of the date range in ISO 8601 format.
2207
2212
  *
@@ -2219,22 +2224,22 @@ export class AnalyticsDateRange extends Message {
2219
2224
  proto3.util.initPartial(data, this);
2220
2225
  }
2221
2226
  static runtime = proto3;
2222
- static typeName = "wg.cosmo.platform.v1.AnalyticsDateRange";
2227
+ static typeName = "wg.cosmo.platform.v1.DateRange";
2223
2228
  static fields = proto3.util.newFieldList(() => [
2224
2229
  { no: 1, name: "start", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2225
2230
  { no: 2, name: "end", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2226
2231
  ]);
2227
2232
  static fromBinary(bytes, options) {
2228
- return new AnalyticsDateRange().fromBinary(bytes, options);
2233
+ return new DateRange().fromBinary(bytes, options);
2229
2234
  }
2230
2235
  static fromJson(jsonValue, options) {
2231
- return new AnalyticsDateRange().fromJson(jsonValue, options);
2236
+ return new DateRange().fromJson(jsonValue, options);
2232
2237
  }
2233
2238
  static fromJsonString(jsonString, options) {
2234
- return new AnalyticsDateRange().fromJsonString(jsonString, options);
2239
+ return new DateRange().fromJsonString(jsonString, options);
2235
2240
  }
2236
2241
  static equals(a, b) {
2237
- return proto3.util.equals(AnalyticsDateRange, a, b);
2242
+ return proto3.util.equals(DateRange, a, b);
2238
2243
  }
2239
2244
  }
2240
2245
  /**
@@ -3947,4 +3952,342 @@ export class DeleteOrganizationWebhookConfigResponse extends Message {
3947
3952
  return proto3.util.equals(DeleteOrganizationWebhookConfigResponse, a, b);
3948
3953
  }
3949
3954
  }
3955
+ /**
3956
+ * *
3957
+ * MetricsDashboard
3958
+ *
3959
+ * @generated from message wg.cosmo.platform.v1.GetMetricsDashboardRequest
3960
+ */
3961
+ export class GetMetricsDashboardRequest extends Message {
3962
+ /**
3963
+ * @generated from field: string federatedGraphName = 1;
3964
+ */
3965
+ federatedGraphName = "";
3966
+ /**
3967
+ * @generated from field: int32 range = 2;
3968
+ */
3969
+ range = 0;
3970
+ constructor(data) {
3971
+ super();
3972
+ proto3.util.initPartial(data, this);
3973
+ }
3974
+ static runtime = proto3;
3975
+ static typeName = "wg.cosmo.platform.v1.GetMetricsDashboardRequest";
3976
+ static fields = proto3.util.newFieldList(() => [
3977
+ { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3978
+ { no: 2, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
3979
+ ]);
3980
+ static fromBinary(bytes, options) {
3981
+ return new GetMetricsDashboardRequest().fromBinary(bytes, options);
3982
+ }
3983
+ static fromJson(jsonValue, options) {
3984
+ return new GetMetricsDashboardRequest().fromJson(jsonValue, options);
3985
+ }
3986
+ static fromJsonString(jsonString, options) {
3987
+ return new GetMetricsDashboardRequest().fromJsonString(jsonString, options);
3988
+ }
3989
+ static equals(a, b) {
3990
+ return proto3.util.equals(GetMetricsDashboardRequest, a, b);
3991
+ }
3992
+ }
3993
+ /**
3994
+ * @generated from message wg.cosmo.platform.v1.GetMetricsDashboardResponse
3995
+ */
3996
+ export class GetMetricsDashboardResponse extends Message {
3997
+ /**
3998
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3999
+ */
4000
+ response;
4001
+ /**
4002
+ * @generated from field: wg.cosmo.platform.v1.MetricsDashboardMetric requests = 2;
4003
+ */
4004
+ requests;
4005
+ /**
4006
+ * @generated from field: wg.cosmo.platform.v1.MetricsDashboardMetric latency = 3;
4007
+ */
4008
+ latency;
4009
+ /**
4010
+ * @generated from field: wg.cosmo.platform.v1.MetricsDashboardMetric errors = 4;
4011
+ */
4012
+ errors;
4013
+ /**
4014
+ * @generated from field: optional string json = 5;
4015
+ */
4016
+ json;
4017
+ constructor(data) {
4018
+ super();
4019
+ proto3.util.initPartial(data, this);
4020
+ }
4021
+ static runtime = proto3;
4022
+ static typeName = "wg.cosmo.platform.v1.GetMetricsDashboardResponse";
4023
+ static fields = proto3.util.newFieldList(() => [
4024
+ { no: 1, name: "response", kind: "message", T: Response },
4025
+ { no: 2, name: "requests", kind: "message", T: MetricsDashboardMetric },
4026
+ { no: 3, name: "latency", kind: "message", T: MetricsDashboardMetric },
4027
+ { no: 4, name: "errors", kind: "message", T: MetricsDashboardMetric },
4028
+ { no: 5, name: "json", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
4029
+ ]);
4030
+ static fromBinary(bytes, options) {
4031
+ return new GetMetricsDashboardResponse().fromBinary(bytes, options);
4032
+ }
4033
+ static fromJson(jsonValue, options) {
4034
+ return new GetMetricsDashboardResponse().fromJson(jsonValue, options);
4035
+ }
4036
+ static fromJsonString(jsonString, options) {
4037
+ return new GetMetricsDashboardResponse().fromJsonString(jsonString, options);
4038
+ }
4039
+ static equals(a, b) {
4040
+ return proto3.util.equals(GetMetricsDashboardResponse, a, b);
4041
+ }
4042
+ }
4043
+ /**
4044
+ * @generated from message wg.cosmo.platform.v1.MetricsDashboardMetric
4045
+ */
4046
+ export class MetricsDashboardMetric extends Message {
4047
+ /**
4048
+ * @generated from field: string value = 1;
4049
+ */
4050
+ value = "";
4051
+ /**
4052
+ * @generated from field: optional string previousValue = 2;
4053
+ */
4054
+ previousValue;
4055
+ /**
4056
+ * @generated from field: repeated wg.cosmo.platform.v1.MetricsTopItem top = 3;
4057
+ */
4058
+ top = [];
4059
+ /**
4060
+ * @generated from field: repeated wg.cosmo.platform.v1.MetricsSeriesItem series = 4;
4061
+ */
4062
+ series = [];
4063
+ constructor(data) {
4064
+ super();
4065
+ proto3.util.initPartial(data, this);
4066
+ }
4067
+ static runtime = proto3;
4068
+ static typeName = "wg.cosmo.platform.v1.MetricsDashboardMetric";
4069
+ static fields = proto3.util.newFieldList(() => [
4070
+ { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4071
+ { no: 2, name: "previousValue", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
4072
+ { no: 3, name: "top", kind: "message", T: MetricsTopItem, repeated: true },
4073
+ { no: 4, name: "series", kind: "message", T: MetricsSeriesItem, repeated: true },
4074
+ ]);
4075
+ static fromBinary(bytes, options) {
4076
+ return new MetricsDashboardMetric().fromBinary(bytes, options);
4077
+ }
4078
+ static fromJson(jsonValue, options) {
4079
+ return new MetricsDashboardMetric().fromJson(jsonValue, options);
4080
+ }
4081
+ static fromJsonString(jsonString, options) {
4082
+ return new MetricsDashboardMetric().fromJsonString(jsonString, options);
4083
+ }
4084
+ static equals(a, b) {
4085
+ return proto3.util.equals(MetricsDashboardMetric, a, b);
4086
+ }
4087
+ }
4088
+ /**
4089
+ * @generated from message wg.cosmo.platform.v1.MetricsTopItem
4090
+ */
4091
+ export class MetricsTopItem extends Message {
4092
+ /**
4093
+ * @generated from field: string name = 1;
4094
+ */
4095
+ name = "";
4096
+ /**
4097
+ * @generated from field: string value = 2;
4098
+ */
4099
+ value = "";
4100
+ constructor(data) {
4101
+ super();
4102
+ proto3.util.initPartial(data, this);
4103
+ }
4104
+ static runtime = proto3;
4105
+ static typeName = "wg.cosmo.platform.v1.MetricsTopItem";
4106
+ static fields = proto3.util.newFieldList(() => [
4107
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4108
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4109
+ ]);
4110
+ static fromBinary(bytes, options) {
4111
+ return new MetricsTopItem().fromBinary(bytes, options);
4112
+ }
4113
+ static fromJson(jsonValue, options) {
4114
+ return new MetricsTopItem().fromJson(jsonValue, options);
4115
+ }
4116
+ static fromJsonString(jsonString, options) {
4117
+ return new MetricsTopItem().fromJsonString(jsonString, options);
4118
+ }
4119
+ static equals(a, b) {
4120
+ return proto3.util.equals(MetricsTopItem, a, b);
4121
+ }
4122
+ }
4123
+ /**
4124
+ * @generated from message wg.cosmo.platform.v1.MetricsSeriesItem
4125
+ */
4126
+ export class MetricsSeriesItem extends Message {
4127
+ /**
4128
+ * @generated from field: string timestamp = 1;
4129
+ */
4130
+ timestamp = "";
4131
+ /**
4132
+ * @generated from field: string value = 2;
4133
+ */
4134
+ value = "";
4135
+ /**
4136
+ * @generated from field: optional string previousValue = 3;
4137
+ */
4138
+ previousValue;
4139
+ constructor(data) {
4140
+ super();
4141
+ proto3.util.initPartial(data, this);
4142
+ }
4143
+ static runtime = proto3;
4144
+ static typeName = "wg.cosmo.platform.v1.MetricsSeriesItem";
4145
+ static fields = proto3.util.newFieldList(() => [
4146
+ { no: 1, name: "timestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4147
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4148
+ { no: 3, name: "previousValue", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
4149
+ ]);
4150
+ static fromBinary(bytes, options) {
4151
+ return new MetricsSeriesItem().fromBinary(bytes, options);
4152
+ }
4153
+ static fromJson(jsonValue, options) {
4154
+ return new MetricsSeriesItem().fromJson(jsonValue, options);
4155
+ }
4156
+ static fromJsonString(jsonString, options) {
4157
+ return new MetricsSeriesItem().fromJsonString(jsonString, options);
4158
+ }
4159
+ static equals(a, b) {
4160
+ return proto3.util.equals(MetricsSeriesItem, a, b);
4161
+ }
4162
+ }
4163
+ /**
4164
+ * @generated from message wg.cosmo.platform.v1.MetricsDashboard
4165
+ */
4166
+ export class MetricsDashboard extends Message {
4167
+ /**
4168
+ * @generated from field: string name = 1;
4169
+ */
4170
+ name = "";
4171
+ /**
4172
+ * @generated from field: string title = 2;
4173
+ */
4174
+ title = "";
4175
+ /**
4176
+ * @generated from field: string type = 3;
4177
+ */
4178
+ type = "";
4179
+ /**
4180
+ * @generated from field: optional wg.cosmo.platform.v1.Unit unit = 4;
4181
+ */
4182
+ unit;
4183
+ /**
4184
+ * @generated from field: optional bool is_hidden = 5;
4185
+ */
4186
+ isHidden;
4187
+ /**
4188
+ * @generated from field: optional bool is_cta = 6;
4189
+ */
4190
+ isCta;
4191
+ constructor(data) {
4192
+ super();
4193
+ proto3.util.initPartial(data, this);
4194
+ }
4195
+ static runtime = proto3;
4196
+ static typeName = "wg.cosmo.platform.v1.MetricsDashboard";
4197
+ static fields = proto3.util.newFieldList(() => [
4198
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4199
+ { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4200
+ { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4201
+ { no: 4, name: "unit", kind: "enum", T: proto3.getEnumType(Unit), opt: true },
4202
+ { no: 5, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
4203
+ { no: 6, name: "is_cta", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
4204
+ ]);
4205
+ static fromBinary(bytes, options) {
4206
+ return new MetricsDashboard().fromBinary(bytes, options);
4207
+ }
4208
+ static fromJson(jsonValue, options) {
4209
+ return new MetricsDashboard().fromJson(jsonValue, options);
4210
+ }
4211
+ static fromJsonString(jsonString, options) {
4212
+ return new MetricsDashboard().fromJsonString(jsonString, options);
4213
+ }
4214
+ static equals(a, b) {
4215
+ return proto3.util.equals(MetricsDashboard, a, b);
4216
+ }
4217
+ }
4218
+ /**
4219
+ * @generated from message wg.cosmo.platform.v1.GetMetricsErrorRateRequest
4220
+ */
4221
+ export class GetMetricsErrorRateRequest extends Message {
4222
+ /**
4223
+ * @generated from field: string federatedGraphName = 1;
4224
+ */
4225
+ federatedGraphName = "";
4226
+ /**
4227
+ * @generated from field: int32 range = 2;
4228
+ */
4229
+ range = 0;
4230
+ constructor(data) {
4231
+ super();
4232
+ proto3.util.initPartial(data, this);
4233
+ }
4234
+ static runtime = proto3;
4235
+ static typeName = "wg.cosmo.platform.v1.GetMetricsErrorRateRequest";
4236
+ static fields = proto3.util.newFieldList(() => [
4237
+ { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4238
+ { no: 2, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
4239
+ ]);
4240
+ static fromBinary(bytes, options) {
4241
+ return new GetMetricsErrorRateRequest().fromBinary(bytes, options);
4242
+ }
4243
+ static fromJson(jsonValue, options) {
4244
+ return new GetMetricsErrorRateRequest().fromJson(jsonValue, options);
4245
+ }
4246
+ static fromJsonString(jsonString, options) {
4247
+ return new GetMetricsErrorRateRequest().fromJsonString(jsonString, options);
4248
+ }
4249
+ static equals(a, b) {
4250
+ return proto3.util.equals(GetMetricsErrorRateRequest, a, b);
4251
+ }
4252
+ }
4253
+ /**
4254
+ * @generated from message wg.cosmo.platform.v1.GetMetricsErrorRateResponse
4255
+ */
4256
+ export class GetMetricsErrorRateResponse extends Message {
4257
+ /**
4258
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4259
+ */
4260
+ response;
4261
+ /**
4262
+ * @generated from field: repeated wg.cosmo.platform.v1.MetricsSeriesItem series = 2;
4263
+ */
4264
+ series = [];
4265
+ /**
4266
+ * @generated from field: repeated wg.cosmo.platform.v1.MetricsSeriesItem errorSeries = 3;
4267
+ */
4268
+ errorSeries = [];
4269
+ constructor(data) {
4270
+ super();
4271
+ proto3.util.initPartial(data, this);
4272
+ }
4273
+ static runtime = proto3;
4274
+ static typeName = "wg.cosmo.platform.v1.GetMetricsErrorRateResponse";
4275
+ static fields = proto3.util.newFieldList(() => [
4276
+ { no: 1, name: "response", kind: "message", T: Response },
4277
+ { no: 2, name: "series", kind: "message", T: MetricsSeriesItem, repeated: true },
4278
+ { no: 3, name: "errorSeries", kind: "message", T: MetricsSeriesItem, repeated: true },
4279
+ ]);
4280
+ static fromBinary(bytes, options) {
4281
+ return new GetMetricsErrorRateResponse().fromBinary(bytes, options);
4282
+ }
4283
+ static fromJson(jsonValue, options) {
4284
+ return new GetMetricsErrorRateResponse().fromJson(jsonValue, options);
4285
+ }
4286
+ static fromJsonString(jsonString, options) {
4287
+ return new GetMetricsErrorRateResponse().fromJsonString(jsonString, options);
4288
+ }
4289
+ static equals(a, b) {
4290
+ return proto3.util.equals(GetMetricsErrorRateResponse, a, b);
4291
+ }
4292
+ }
3950
4293
  //# sourceMappingURL=platform_pb.js.map