@wundergraph/cosmo-connect 0.14.0 → 0.16.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
  /**
@@ -2772,13 +2777,13 @@ export class CreateFederatedGraphTokenResponse extends Message {
2772
2777
  }
2773
2778
  }
2774
2779
  /**
2775
- * @generated from message wg.cosmo.platform.v1.User
2780
+ * @generated from message wg.cosmo.platform.v1.OrgMember
2776
2781
  */
2777
- export class User extends Message {
2782
+ export class OrgMember extends Message {
2778
2783
  /**
2779
- * @generated from field: string id = 1;
2784
+ * @generated from field: string userID = 1;
2780
2785
  */
2781
- id = "";
2786
+ userID = "";
2782
2787
  /**
2783
2788
  * @generated from field: string email = 2;
2784
2789
  */
@@ -2791,29 +2796,34 @@ export class User extends Message {
2791
2796
  * @generated from field: repeated string roles = 4;
2792
2797
  */
2793
2798
  roles = [];
2799
+ /**
2800
+ * @generated from field: string orgMemberID = 5;
2801
+ */
2802
+ orgMemberID = "";
2794
2803
  constructor(data) {
2795
2804
  super();
2796
2805
  proto3.util.initPartial(data, this);
2797
2806
  }
2798
2807
  static runtime = proto3;
2799
- static typeName = "wg.cosmo.platform.v1.User";
2808
+ static typeName = "wg.cosmo.platform.v1.OrgMember";
2800
2809
  static fields = proto3.util.newFieldList(() => [
2801
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2810
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2802
2811
  { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2803
2812
  { no: 3, name: "acceptedInvite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2804
2813
  { no: 4, name: "roles", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
2814
+ { no: 5, name: "orgMemberID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2805
2815
  ]);
2806
2816
  static fromBinary(bytes, options) {
2807
- return new User().fromBinary(bytes, options);
2817
+ return new OrgMember().fromBinary(bytes, options);
2808
2818
  }
2809
2819
  static fromJson(jsonValue, options) {
2810
- return new User().fromJson(jsonValue, options);
2820
+ return new OrgMember().fromJson(jsonValue, options);
2811
2821
  }
2812
2822
  static fromJsonString(jsonString, options) {
2813
- return new User().fromJsonString(jsonString, options);
2823
+ return new OrgMember().fromJsonString(jsonString, options);
2814
2824
  }
2815
2825
  static equals(a, b) {
2816
- return proto3.util.equals(User, a, b);
2826
+ return proto3.util.equals(OrgMember, a, b);
2817
2827
  }
2818
2828
  }
2819
2829
  /**
@@ -2849,7 +2859,7 @@ export class GetOrganizationMembersResponse extends Message {
2849
2859
  */
2850
2860
  response;
2851
2861
  /**
2852
- * @generated from field: repeated wg.cosmo.platform.v1.User members = 2;
2862
+ * @generated from field: repeated wg.cosmo.platform.v1.OrgMember members = 2;
2853
2863
  */
2854
2864
  members = [];
2855
2865
  constructor(data) {
@@ -2860,7 +2870,7 @@ export class GetOrganizationMembersResponse extends Message {
2860
2870
  static typeName = "wg.cosmo.platform.v1.GetOrganizationMembersResponse";
2861
2871
  static fields = proto3.util.newFieldList(() => [
2862
2872
  { no: 1, name: "response", kind: "message", T: Response },
2863
- { no: 2, name: "members", kind: "message", T: User, repeated: true },
2873
+ { no: 2, name: "members", kind: "message", T: OrgMember, repeated: true },
2864
2874
  ]);
2865
2875
  static fromBinary(bytes, options) {
2866
2876
  return new GetOrganizationMembersResponse().fromBinary(bytes, options);
@@ -3947,6 +3957,326 @@ export class DeleteOrganizationWebhookConfigResponse extends Message {
3947
3957
  return proto3.util.equals(DeleteOrganizationWebhookConfigResponse, a, b);
3948
3958
  }
3949
3959
  }
3960
+ /**
3961
+ * @generated from message wg.cosmo.platform.v1.DeleteOrganizationRequest
3962
+ */
3963
+ export class DeleteOrganizationRequest extends Message {
3964
+ /**
3965
+ * @generated from field: string userID = 1;
3966
+ */
3967
+ userID = "";
3968
+ constructor(data) {
3969
+ super();
3970
+ proto3.util.initPartial(data, this);
3971
+ }
3972
+ static runtime = proto3;
3973
+ static typeName = "wg.cosmo.platform.v1.DeleteOrganizationRequest";
3974
+ static fields = proto3.util.newFieldList(() => [
3975
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3976
+ ]);
3977
+ static fromBinary(bytes, options) {
3978
+ return new DeleteOrganizationRequest().fromBinary(bytes, options);
3979
+ }
3980
+ static fromJson(jsonValue, options) {
3981
+ return new DeleteOrganizationRequest().fromJson(jsonValue, options);
3982
+ }
3983
+ static fromJsonString(jsonString, options) {
3984
+ return new DeleteOrganizationRequest().fromJsonString(jsonString, options);
3985
+ }
3986
+ static equals(a, b) {
3987
+ return proto3.util.equals(DeleteOrganizationRequest, a, b);
3988
+ }
3989
+ }
3990
+ /**
3991
+ * @generated from message wg.cosmo.platform.v1.DeleteOrganizationResponse
3992
+ */
3993
+ export class DeleteOrganizationResponse extends Message {
3994
+ /**
3995
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3996
+ */
3997
+ response;
3998
+ constructor(data) {
3999
+ super();
4000
+ proto3.util.initPartial(data, this);
4001
+ }
4002
+ static runtime = proto3;
4003
+ static typeName = "wg.cosmo.platform.v1.DeleteOrganizationResponse";
4004
+ static fields = proto3.util.newFieldList(() => [
4005
+ { no: 1, name: "response", kind: "message", T: Response },
4006
+ ]);
4007
+ static fromBinary(bytes, options) {
4008
+ return new DeleteOrganizationResponse().fromBinary(bytes, options);
4009
+ }
4010
+ static fromJson(jsonValue, options) {
4011
+ return new DeleteOrganizationResponse().fromJson(jsonValue, options);
4012
+ }
4013
+ static fromJsonString(jsonString, options) {
4014
+ return new DeleteOrganizationResponse().fromJsonString(jsonString, options);
4015
+ }
4016
+ static equals(a, b) {
4017
+ return proto3.util.equals(DeleteOrganizationResponse, a, b);
4018
+ }
4019
+ }
4020
+ /**
4021
+ * @generated from message wg.cosmo.platform.v1.LeaveOrganizationRequest
4022
+ */
4023
+ export class LeaveOrganizationRequest extends Message {
4024
+ /**
4025
+ * @generated from field: string userID = 1;
4026
+ */
4027
+ userID = "";
4028
+ constructor(data) {
4029
+ super();
4030
+ proto3.util.initPartial(data, this);
4031
+ }
4032
+ static runtime = proto3;
4033
+ static typeName = "wg.cosmo.platform.v1.LeaveOrganizationRequest";
4034
+ static fields = proto3.util.newFieldList(() => [
4035
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4036
+ ]);
4037
+ static fromBinary(bytes, options) {
4038
+ return new LeaveOrganizationRequest().fromBinary(bytes, options);
4039
+ }
4040
+ static fromJson(jsonValue, options) {
4041
+ return new LeaveOrganizationRequest().fromJson(jsonValue, options);
4042
+ }
4043
+ static fromJsonString(jsonString, options) {
4044
+ return new LeaveOrganizationRequest().fromJsonString(jsonString, options);
4045
+ }
4046
+ static equals(a, b) {
4047
+ return proto3.util.equals(LeaveOrganizationRequest, a, b);
4048
+ }
4049
+ }
4050
+ /**
4051
+ * @generated from message wg.cosmo.platform.v1.LeaveOrganizationResponse
4052
+ */
4053
+ export class LeaveOrganizationResponse extends Message {
4054
+ /**
4055
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4056
+ */
4057
+ response;
4058
+ constructor(data) {
4059
+ super();
4060
+ proto3.util.initPartial(data, this);
4061
+ }
4062
+ static runtime = proto3;
4063
+ static typeName = "wg.cosmo.platform.v1.LeaveOrganizationResponse";
4064
+ static fields = proto3.util.newFieldList(() => [
4065
+ { no: 1, name: "response", kind: "message", T: Response },
4066
+ ]);
4067
+ static fromBinary(bytes, options) {
4068
+ return new LeaveOrganizationResponse().fromBinary(bytes, options);
4069
+ }
4070
+ static fromJson(jsonValue, options) {
4071
+ return new LeaveOrganizationResponse().fromJson(jsonValue, options);
4072
+ }
4073
+ static fromJsonString(jsonString, options) {
4074
+ return new LeaveOrganizationResponse().fromJsonString(jsonString, options);
4075
+ }
4076
+ static equals(a, b) {
4077
+ return proto3.util.equals(LeaveOrganizationResponse, a, b);
4078
+ }
4079
+ }
4080
+ /**
4081
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationNameRequest
4082
+ */
4083
+ export class UpdateOrganizationNameRequest extends Message {
4084
+ /**
4085
+ * @generated from field: string userID = 1;
4086
+ */
4087
+ userID = "";
4088
+ /**
4089
+ * @generated from field: string organizationName = 2;
4090
+ */
4091
+ organizationName = "";
4092
+ constructor(data) {
4093
+ super();
4094
+ proto3.util.initPartial(data, this);
4095
+ }
4096
+ static runtime = proto3;
4097
+ static typeName = "wg.cosmo.platform.v1.UpdateOrganizationNameRequest";
4098
+ static fields = proto3.util.newFieldList(() => [
4099
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4100
+ { no: 2, name: "organizationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4101
+ ]);
4102
+ static fromBinary(bytes, options) {
4103
+ return new UpdateOrganizationNameRequest().fromBinary(bytes, options);
4104
+ }
4105
+ static fromJson(jsonValue, options) {
4106
+ return new UpdateOrganizationNameRequest().fromJson(jsonValue, options);
4107
+ }
4108
+ static fromJsonString(jsonString, options) {
4109
+ return new UpdateOrganizationNameRequest().fromJsonString(jsonString, options);
4110
+ }
4111
+ static equals(a, b) {
4112
+ return proto3.util.equals(UpdateOrganizationNameRequest, a, b);
4113
+ }
4114
+ }
4115
+ /**
4116
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationNameResponse
4117
+ */
4118
+ export class UpdateOrganizationNameResponse extends Message {
4119
+ /**
4120
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4121
+ */
4122
+ response;
4123
+ constructor(data) {
4124
+ super();
4125
+ proto3.util.initPartial(data, this);
4126
+ }
4127
+ static runtime = proto3;
4128
+ static typeName = "wg.cosmo.platform.v1.UpdateOrganizationNameResponse";
4129
+ static fields = proto3.util.newFieldList(() => [
4130
+ { no: 1, name: "response", kind: "message", T: Response },
4131
+ ]);
4132
+ static fromBinary(bytes, options) {
4133
+ return new UpdateOrganizationNameResponse().fromBinary(bytes, options);
4134
+ }
4135
+ static fromJson(jsonValue, options) {
4136
+ return new UpdateOrganizationNameResponse().fromJson(jsonValue, options);
4137
+ }
4138
+ static fromJsonString(jsonString, options) {
4139
+ return new UpdateOrganizationNameResponse().fromJsonString(jsonString, options);
4140
+ }
4141
+ static equals(a, b) {
4142
+ return proto3.util.equals(UpdateOrganizationNameResponse, a, b);
4143
+ }
4144
+ }
4145
+ /**
4146
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationSlugRequest
4147
+ */
4148
+ export class UpdateOrganizationSlugRequest extends Message {
4149
+ /**
4150
+ * @generated from field: string userID = 1;
4151
+ */
4152
+ userID = "";
4153
+ /**
4154
+ * @generated from field: string organizationSlug = 2;
4155
+ */
4156
+ organizationSlug = "";
4157
+ constructor(data) {
4158
+ super();
4159
+ proto3.util.initPartial(data, this);
4160
+ }
4161
+ static runtime = proto3;
4162
+ static typeName = "wg.cosmo.platform.v1.UpdateOrganizationSlugRequest";
4163
+ static fields = proto3.util.newFieldList(() => [
4164
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4165
+ { no: 2, name: "organizationSlug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4166
+ ]);
4167
+ static fromBinary(bytes, options) {
4168
+ return new UpdateOrganizationSlugRequest().fromBinary(bytes, options);
4169
+ }
4170
+ static fromJson(jsonValue, options) {
4171
+ return new UpdateOrganizationSlugRequest().fromJson(jsonValue, options);
4172
+ }
4173
+ static fromJsonString(jsonString, options) {
4174
+ return new UpdateOrganizationSlugRequest().fromJsonString(jsonString, options);
4175
+ }
4176
+ static equals(a, b) {
4177
+ return proto3.util.equals(UpdateOrganizationSlugRequest, a, b);
4178
+ }
4179
+ }
4180
+ /**
4181
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationSlugResponse
4182
+ */
4183
+ export class UpdateOrganizationSlugResponse extends Message {
4184
+ /**
4185
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4186
+ */
4187
+ response;
4188
+ constructor(data) {
4189
+ super();
4190
+ proto3.util.initPartial(data, this);
4191
+ }
4192
+ static runtime = proto3;
4193
+ static typeName = "wg.cosmo.platform.v1.UpdateOrganizationSlugResponse";
4194
+ static fields = proto3.util.newFieldList(() => [
4195
+ { no: 1, name: "response", kind: "message", T: Response },
4196
+ ]);
4197
+ static fromBinary(bytes, options) {
4198
+ return new UpdateOrganizationSlugResponse().fromBinary(bytes, options);
4199
+ }
4200
+ static fromJson(jsonValue, options) {
4201
+ return new UpdateOrganizationSlugResponse().fromJson(jsonValue, options);
4202
+ }
4203
+ static fromJsonString(jsonString, options) {
4204
+ return new UpdateOrganizationSlugResponse().fromJsonString(jsonString, options);
4205
+ }
4206
+ static equals(a, b) {
4207
+ return proto3.util.equals(UpdateOrganizationSlugResponse, a, b);
4208
+ }
4209
+ }
4210
+ /**
4211
+ * @generated from message wg.cosmo.platform.v1.UpdateOrgMemberRoleRequest
4212
+ */
4213
+ export class UpdateOrgMemberRoleRequest extends Message {
4214
+ /**
4215
+ * @generated from field: string userID = 1;
4216
+ */
4217
+ userID = "";
4218
+ /**
4219
+ * @generated from field: string orgMemberUserID = 2;
4220
+ */
4221
+ orgMemberUserID = "";
4222
+ /**
4223
+ * @generated from field: string role = 3;
4224
+ */
4225
+ role = "";
4226
+ constructor(data) {
4227
+ super();
4228
+ proto3.util.initPartial(data, this);
4229
+ }
4230
+ static runtime = proto3;
4231
+ static typeName = "wg.cosmo.platform.v1.UpdateOrgMemberRoleRequest";
4232
+ static fields = proto3.util.newFieldList(() => [
4233
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4234
+ { no: 2, name: "orgMemberUserID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4235
+ { no: 3, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4236
+ ]);
4237
+ static fromBinary(bytes, options) {
4238
+ return new UpdateOrgMemberRoleRequest().fromBinary(bytes, options);
4239
+ }
4240
+ static fromJson(jsonValue, options) {
4241
+ return new UpdateOrgMemberRoleRequest().fromJson(jsonValue, options);
4242
+ }
4243
+ static fromJsonString(jsonString, options) {
4244
+ return new UpdateOrgMemberRoleRequest().fromJsonString(jsonString, options);
4245
+ }
4246
+ static equals(a, b) {
4247
+ return proto3.util.equals(UpdateOrgMemberRoleRequest, a, b);
4248
+ }
4249
+ }
4250
+ /**
4251
+ * @generated from message wg.cosmo.platform.v1.UpdateOrgMemberRoleResponse
4252
+ */
4253
+ export class UpdateOrgMemberRoleResponse extends Message {
4254
+ /**
4255
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4256
+ */
4257
+ response;
4258
+ constructor(data) {
4259
+ super();
4260
+ proto3.util.initPartial(data, this);
4261
+ }
4262
+ static runtime = proto3;
4263
+ static typeName = "wg.cosmo.platform.v1.UpdateOrgMemberRoleResponse";
4264
+ static fields = proto3.util.newFieldList(() => [
4265
+ { no: 1, name: "response", kind: "message", T: Response },
4266
+ ]);
4267
+ static fromBinary(bytes, options) {
4268
+ return new UpdateOrgMemberRoleResponse().fromBinary(bytes, options);
4269
+ }
4270
+ static fromJson(jsonValue, options) {
4271
+ return new UpdateOrgMemberRoleResponse().fromJson(jsonValue, options);
4272
+ }
4273
+ static fromJsonString(jsonString, options) {
4274
+ return new UpdateOrgMemberRoleResponse().fromJsonString(jsonString, options);
4275
+ }
4276
+ static equals(a, b) {
4277
+ return proto3.util.equals(UpdateOrgMemberRoleResponse, a, b);
4278
+ }
4279
+ }
3950
4280
  /**
3951
4281
  * *
3952
4282
  * MetricsDashboard