@wundergraph/cosmo-connect 0.72.0 → 0.72.2

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.
@@ -1249,6 +1249,10 @@ export declare class FederatedGraph extends Message<FederatedGraph> {
1249
1249
  * @generated from field: optional wg.cosmo.platform.v1.Contract contract = 15;
1250
1250
  */
1251
1251
  contract?: Contract;
1252
+ /**
1253
+ * @generated from field: optional string admission_webhook_url = 16;
1254
+ */
1255
+ admissionWebhookUrl?: string;
1252
1256
  constructor(data?: PartialMessage<FederatedGraph>);
1253
1257
  static readonly runtime: typeof proto3;
1254
1258
  static readonly typeName = "wg.cosmo.platform.v1.FederatedGraph";
@@ -1337,6 +1341,10 @@ export declare class GetSubgraphsRequest extends Message<GetSubgraphsRequest> {
1337
1341
  * @generated from field: string namespace = 3;
1338
1342
  */
1339
1343
  namespace: string;
1344
+ /**
1345
+ * @generated from field: optional string query = 4;
1346
+ */
1347
+ query?: string;
1340
1348
  constructor(data?: PartialMessage<GetSubgraphsRequest>);
1341
1349
  static readonly runtime: typeof proto3;
1342
1350
  static readonly typeName = "wg.cosmo.platform.v1.GetSubgraphsRequest";
@@ -1419,6 +1427,10 @@ export declare class GetSubgraphsResponse extends Message<GetSubgraphsResponse>
1419
1427
  * @generated from field: repeated wg.cosmo.platform.v1.Subgraph graphs = 2;
1420
1428
  */
1421
1429
  graphs: Subgraph[];
1430
+ /**
1431
+ * @generated from field: int32 count = 3;
1432
+ */
1433
+ count: number;
1422
1434
  constructor(data?: PartialMessage<GetSubgraphsResponse>);
1423
1435
  static readonly runtime: typeof proto3;
1424
1436
  static readonly typeName = "wg.cosmo.platform.v1.GetSubgraphsResponse";
@@ -3108,10 +3120,64 @@ export declare class PendingOrgInvitation extends Message<PendingOrgInvitation>
3108
3120
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PendingOrgInvitation;
3109
3121
  static equals(a: PendingOrgInvitation | PlainMessage<PendingOrgInvitation> | undefined, b: PendingOrgInvitation | PlainMessage<PendingOrgInvitation> | undefined): boolean;
3110
3122
  }
3123
+ /**
3124
+ * @generated from message wg.cosmo.platform.v1.GetPendingOrganizationMembersRequest
3125
+ */
3126
+ export declare class GetPendingOrganizationMembersRequest extends Message<GetPendingOrganizationMembersRequest> {
3127
+ /**
3128
+ * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 1;
3129
+ */
3130
+ pagination?: Pagination;
3131
+ /**
3132
+ * @generated from field: optional string search = 2;
3133
+ */
3134
+ search?: string;
3135
+ constructor(data?: PartialMessage<GetPendingOrganizationMembersRequest>);
3136
+ static readonly runtime: typeof proto3;
3137
+ static readonly typeName = "wg.cosmo.platform.v1.GetPendingOrganizationMembersRequest";
3138
+ static readonly fields: FieldList;
3139
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPendingOrganizationMembersRequest;
3140
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPendingOrganizationMembersRequest;
3141
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPendingOrganizationMembersRequest;
3142
+ static equals(a: GetPendingOrganizationMembersRequest | PlainMessage<GetPendingOrganizationMembersRequest> | undefined, b: GetPendingOrganizationMembersRequest | PlainMessage<GetPendingOrganizationMembersRequest> | undefined): boolean;
3143
+ }
3144
+ /**
3145
+ * @generated from message wg.cosmo.platform.v1.GetPendingOrganizationMembersResponse
3146
+ */
3147
+ export declare class GetPendingOrganizationMembersResponse extends Message<GetPendingOrganizationMembersResponse> {
3148
+ /**
3149
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3150
+ */
3151
+ response?: Response;
3152
+ /**
3153
+ * @generated from field: repeated wg.cosmo.platform.v1.PendingOrgInvitation pendingInvitations = 2;
3154
+ */
3155
+ pendingInvitations: PendingOrgInvitation[];
3156
+ /**
3157
+ * @generated from field: int32 total_count = 3;
3158
+ */
3159
+ totalCount: number;
3160
+ constructor(data?: PartialMessage<GetPendingOrganizationMembersResponse>);
3161
+ static readonly runtime: typeof proto3;
3162
+ static readonly typeName = "wg.cosmo.platform.v1.GetPendingOrganizationMembersResponse";
3163
+ static readonly fields: FieldList;
3164
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPendingOrganizationMembersResponse;
3165
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPendingOrganizationMembersResponse;
3166
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPendingOrganizationMembersResponse;
3167
+ static equals(a: GetPendingOrganizationMembersResponse | PlainMessage<GetPendingOrganizationMembersResponse> | undefined, b: GetPendingOrganizationMembersResponse | PlainMessage<GetPendingOrganizationMembersResponse> | undefined): boolean;
3168
+ }
3111
3169
  /**
3112
3170
  * @generated from message wg.cosmo.platform.v1.GetOrganizationMembersRequest
3113
3171
  */
3114
3172
  export declare class GetOrganizationMembersRequest extends Message<GetOrganizationMembersRequest> {
3173
+ /**
3174
+ * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 1;
3175
+ */
3176
+ pagination?: Pagination;
3177
+ /**
3178
+ * @generated from field: optional string search = 2;
3179
+ */
3180
+ search?: string;
3115
3181
  constructor(data?: PartialMessage<GetOrganizationMembersRequest>);
3116
3182
  static readonly runtime: typeof proto3;
3117
3183
  static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationMembersRequest";
@@ -3134,9 +3200,9 @@ export declare class GetOrganizationMembersResponse extends Message<GetOrganizat
3134
3200
  */
3135
3201
  members: OrgMember[];
3136
3202
  /**
3137
- * @generated from field: repeated wg.cosmo.platform.v1.PendingOrgInvitation pendingInvitations = 3;
3203
+ * @generated from field: int32 total_count = 3;
3138
3204
  */
3139
- pendingInvitations: PendingOrgInvitation[];
3205
+ totalCount: number;
3140
3206
  constructor(data?: PartialMessage<GetOrganizationMembersResponse>);
3141
3207
  static readonly runtime: typeof proto3;
3142
3208
  static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationMembersResponse";
@@ -8023,3 +8089,41 @@ export declare class UpdateContractResponse extends Message<UpdateContractRespon
8023
8089
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateContractResponse;
8024
8090
  static equals(a: UpdateContractResponse | PlainMessage<UpdateContractResponse> | undefined, b: UpdateContractResponse | PlainMessage<UpdateContractResponse> | undefined): boolean;
8025
8091
  }
8092
+ /**
8093
+ * @generated from message wg.cosmo.platform.v1.IsMemberLimitReachedRequest
8094
+ */
8095
+ export declare class IsMemberLimitReachedRequest extends Message<IsMemberLimitReachedRequest> {
8096
+ constructor(data?: PartialMessage<IsMemberLimitReachedRequest>);
8097
+ static readonly runtime: typeof proto3;
8098
+ static readonly typeName = "wg.cosmo.platform.v1.IsMemberLimitReachedRequest";
8099
+ static readonly fields: FieldList;
8100
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsMemberLimitReachedRequest;
8101
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsMemberLimitReachedRequest;
8102
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsMemberLimitReachedRequest;
8103
+ static equals(a: IsMemberLimitReachedRequest | PlainMessage<IsMemberLimitReachedRequest> | undefined, b: IsMemberLimitReachedRequest | PlainMessage<IsMemberLimitReachedRequest> | undefined): boolean;
8104
+ }
8105
+ /**
8106
+ * @generated from message wg.cosmo.platform.v1.IsMemberLimitReachedResponse
8107
+ */
8108
+ export declare class IsMemberLimitReachedResponse extends Message<IsMemberLimitReachedResponse> {
8109
+ /**
8110
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
8111
+ */
8112
+ response?: Response;
8113
+ /**
8114
+ * @generated from field: bool limit_reached = 2;
8115
+ */
8116
+ limitReached: boolean;
8117
+ /**
8118
+ * @generated from field: int32 member_count = 3;
8119
+ */
8120
+ memberCount: number;
8121
+ constructor(data?: PartialMessage<IsMemberLimitReachedResponse>);
8122
+ static readonly runtime: typeof proto3;
8123
+ static readonly typeName = "wg.cosmo.platform.v1.IsMemberLimitReachedResponse";
8124
+ static readonly fields: FieldList;
8125
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsMemberLimitReachedResponse;
8126
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsMemberLimitReachedResponse;
8127
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsMemberLimitReachedResponse;
8128
+ static equals(a: IsMemberLimitReachedResponse | PlainMessage<IsMemberLimitReachedResponse> | undefined, b: IsMemberLimitReachedResponse | PlainMessage<IsMemberLimitReachedResponse> | undefined): boolean;
8129
+ }
@@ -1844,6 +1844,10 @@ export class FederatedGraph extends Message {
1844
1844
  * @generated from field: optional wg.cosmo.platform.v1.Contract contract = 15;
1845
1845
  */
1846
1846
  contract;
1847
+ /**
1848
+ * @generated from field: optional string admission_webhook_url = 16;
1849
+ */
1850
+ admissionWebhookUrl;
1847
1851
  constructor(data) {
1848
1852
  super();
1849
1853
  proto3.util.initPartial(data, this);
@@ -1866,6 +1870,7 @@ export class FederatedGraph extends Message {
1866
1870
  { no: 13, name: "compositionId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1867
1871
  { no: 14, name: "supports_federation", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1868
1872
  { no: 15, name: "contract", kind: "message", T: Contract, opt: true },
1873
+ { no: 16, name: "admission_webhook_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1869
1874
  ]);
1870
1875
  static fromBinary(bytes, options) {
1871
1876
  return new FederatedGraph().fromBinary(bytes, options);
@@ -2001,6 +2006,10 @@ export class GetSubgraphsRequest extends Message {
2001
2006
  * @generated from field: string namespace = 3;
2002
2007
  */
2003
2008
  namespace = "";
2009
+ /**
2010
+ * @generated from field: optional string query = 4;
2011
+ */
2012
+ query;
2004
2013
  constructor(data) {
2005
2014
  super();
2006
2015
  proto3.util.initPartial(data, this);
@@ -2011,6 +2020,7 @@ export class GetSubgraphsRequest extends Message {
2011
2020
  { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2012
2021
  { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2013
2022
  { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2023
+ { no: 4, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2014
2024
  ]);
2015
2025
  static fromBinary(bytes, options) {
2016
2026
  return new GetSubgraphsRequest().fromBinary(bytes, options);
@@ -2122,6 +2132,10 @@ export class GetSubgraphsResponse extends Message {
2122
2132
  * @generated from field: repeated wg.cosmo.platform.v1.Subgraph graphs = 2;
2123
2133
  */
2124
2134
  graphs = [];
2135
+ /**
2136
+ * @generated from field: int32 count = 3;
2137
+ */
2138
+ count = 0;
2125
2139
  constructor(data) {
2126
2140
  super();
2127
2141
  proto3.util.initPartial(data, this);
@@ -2131,6 +2145,7 @@ export class GetSubgraphsResponse extends Message {
2131
2145
  static fields = proto3.util.newFieldList(() => [
2132
2146
  { no: 1, name: "response", kind: "message", T: Response },
2133
2147
  { no: 2, name: "graphs", kind: "message", T: Subgraph, repeated: true },
2148
+ { no: 3, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2134
2149
  ]);
2135
2150
  static fromBinary(bytes, options) {
2136
2151
  return new GetSubgraphsResponse().fromBinary(bytes, options);
@@ -4723,17 +4738,103 @@ export class PendingOrgInvitation extends Message {
4723
4738
  return proto3.util.equals(PendingOrgInvitation, a, b);
4724
4739
  }
4725
4740
  }
4741
+ /**
4742
+ * @generated from message wg.cosmo.platform.v1.GetPendingOrganizationMembersRequest
4743
+ */
4744
+ export class GetPendingOrganizationMembersRequest extends Message {
4745
+ /**
4746
+ * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 1;
4747
+ */
4748
+ pagination;
4749
+ /**
4750
+ * @generated from field: optional string search = 2;
4751
+ */
4752
+ search;
4753
+ constructor(data) {
4754
+ super();
4755
+ proto3.util.initPartial(data, this);
4756
+ }
4757
+ static runtime = proto3;
4758
+ static typeName = "wg.cosmo.platform.v1.GetPendingOrganizationMembersRequest";
4759
+ static fields = proto3.util.newFieldList(() => [
4760
+ { no: 1, name: "pagination", kind: "message", T: Pagination },
4761
+ { no: 2, name: "search", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
4762
+ ]);
4763
+ static fromBinary(bytes, options) {
4764
+ return new GetPendingOrganizationMembersRequest().fromBinary(bytes, options);
4765
+ }
4766
+ static fromJson(jsonValue, options) {
4767
+ return new GetPendingOrganizationMembersRequest().fromJson(jsonValue, options);
4768
+ }
4769
+ static fromJsonString(jsonString, options) {
4770
+ return new GetPendingOrganizationMembersRequest().fromJsonString(jsonString, options);
4771
+ }
4772
+ static equals(a, b) {
4773
+ return proto3.util.equals(GetPendingOrganizationMembersRequest, a, b);
4774
+ }
4775
+ }
4776
+ /**
4777
+ * @generated from message wg.cosmo.platform.v1.GetPendingOrganizationMembersResponse
4778
+ */
4779
+ export class GetPendingOrganizationMembersResponse extends Message {
4780
+ /**
4781
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4782
+ */
4783
+ response;
4784
+ /**
4785
+ * @generated from field: repeated wg.cosmo.platform.v1.PendingOrgInvitation pendingInvitations = 2;
4786
+ */
4787
+ pendingInvitations = [];
4788
+ /**
4789
+ * @generated from field: int32 total_count = 3;
4790
+ */
4791
+ totalCount = 0;
4792
+ constructor(data) {
4793
+ super();
4794
+ proto3.util.initPartial(data, this);
4795
+ }
4796
+ static runtime = proto3;
4797
+ static typeName = "wg.cosmo.platform.v1.GetPendingOrganizationMembersResponse";
4798
+ static fields = proto3.util.newFieldList(() => [
4799
+ { no: 1, name: "response", kind: "message", T: Response },
4800
+ { no: 2, name: "pendingInvitations", kind: "message", T: PendingOrgInvitation, repeated: true },
4801
+ { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
4802
+ ]);
4803
+ static fromBinary(bytes, options) {
4804
+ return new GetPendingOrganizationMembersResponse().fromBinary(bytes, options);
4805
+ }
4806
+ static fromJson(jsonValue, options) {
4807
+ return new GetPendingOrganizationMembersResponse().fromJson(jsonValue, options);
4808
+ }
4809
+ static fromJsonString(jsonString, options) {
4810
+ return new GetPendingOrganizationMembersResponse().fromJsonString(jsonString, options);
4811
+ }
4812
+ static equals(a, b) {
4813
+ return proto3.util.equals(GetPendingOrganizationMembersResponse, a, b);
4814
+ }
4815
+ }
4726
4816
  /**
4727
4817
  * @generated from message wg.cosmo.platform.v1.GetOrganizationMembersRequest
4728
4818
  */
4729
4819
  export class GetOrganizationMembersRequest extends Message {
4820
+ /**
4821
+ * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 1;
4822
+ */
4823
+ pagination;
4824
+ /**
4825
+ * @generated from field: optional string search = 2;
4826
+ */
4827
+ search;
4730
4828
  constructor(data) {
4731
4829
  super();
4732
4830
  proto3.util.initPartial(data, this);
4733
4831
  }
4734
4832
  static runtime = proto3;
4735
4833
  static typeName = "wg.cosmo.platform.v1.GetOrganizationMembersRequest";
4736
- static fields = proto3.util.newFieldList(() => []);
4834
+ static fields = proto3.util.newFieldList(() => [
4835
+ { no: 1, name: "pagination", kind: "message", T: Pagination },
4836
+ { no: 2, name: "search", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
4837
+ ]);
4737
4838
  static fromBinary(bytes, options) {
4738
4839
  return new GetOrganizationMembersRequest().fromBinary(bytes, options);
4739
4840
  }
@@ -4760,9 +4861,9 @@ export class GetOrganizationMembersResponse extends Message {
4760
4861
  */
4761
4862
  members = [];
4762
4863
  /**
4763
- * @generated from field: repeated wg.cosmo.platform.v1.PendingOrgInvitation pendingInvitations = 3;
4864
+ * @generated from field: int32 total_count = 3;
4764
4865
  */
4765
- pendingInvitations = [];
4866
+ totalCount = 0;
4766
4867
  constructor(data) {
4767
4868
  super();
4768
4869
  proto3.util.initPartial(data, this);
@@ -4772,7 +4873,7 @@ export class GetOrganizationMembersResponse extends Message {
4772
4873
  static fields = proto3.util.newFieldList(() => [
4773
4874
  { no: 1, name: "response", kind: "message", T: Response },
4774
4875
  { no: 2, name: "members", kind: "message", T: OrgMember, repeated: true },
4775
- { no: 3, name: "pendingInvitations", kind: "message", T: PendingOrgInvitation, repeated: true },
4876
+ { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
4776
4877
  ]);
4777
4878
  static fromBinary(bytes, options) {
4778
4879
  return new GetOrganizationMembersResponse().fromBinary(bytes, options);
@@ -12675,4 +12776,68 @@ export class UpdateContractResponse extends Message {
12675
12776
  return proto3.util.equals(UpdateContractResponse, a, b);
12676
12777
  }
12677
12778
  }
12779
+ /**
12780
+ * @generated from message wg.cosmo.platform.v1.IsMemberLimitReachedRequest
12781
+ */
12782
+ export class IsMemberLimitReachedRequest extends Message {
12783
+ constructor(data) {
12784
+ super();
12785
+ proto3.util.initPartial(data, this);
12786
+ }
12787
+ static runtime = proto3;
12788
+ static typeName = "wg.cosmo.platform.v1.IsMemberLimitReachedRequest";
12789
+ static fields = proto3.util.newFieldList(() => []);
12790
+ static fromBinary(bytes, options) {
12791
+ return new IsMemberLimitReachedRequest().fromBinary(bytes, options);
12792
+ }
12793
+ static fromJson(jsonValue, options) {
12794
+ return new IsMemberLimitReachedRequest().fromJson(jsonValue, options);
12795
+ }
12796
+ static fromJsonString(jsonString, options) {
12797
+ return new IsMemberLimitReachedRequest().fromJsonString(jsonString, options);
12798
+ }
12799
+ static equals(a, b) {
12800
+ return proto3.util.equals(IsMemberLimitReachedRequest, a, b);
12801
+ }
12802
+ }
12803
+ /**
12804
+ * @generated from message wg.cosmo.platform.v1.IsMemberLimitReachedResponse
12805
+ */
12806
+ export class IsMemberLimitReachedResponse extends Message {
12807
+ /**
12808
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12809
+ */
12810
+ response;
12811
+ /**
12812
+ * @generated from field: bool limit_reached = 2;
12813
+ */
12814
+ limitReached = false;
12815
+ /**
12816
+ * @generated from field: int32 member_count = 3;
12817
+ */
12818
+ memberCount = 0;
12819
+ constructor(data) {
12820
+ super();
12821
+ proto3.util.initPartial(data, this);
12822
+ }
12823
+ static runtime = proto3;
12824
+ static typeName = "wg.cosmo.platform.v1.IsMemberLimitReachedResponse";
12825
+ static fields = proto3.util.newFieldList(() => [
12826
+ { no: 1, name: "response", kind: "message", T: Response },
12827
+ { no: 2, name: "limit_reached", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
12828
+ { no: 3, name: "member_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
12829
+ ]);
12830
+ static fromBinary(bytes, options) {
12831
+ return new IsMemberLimitReachedResponse().fromBinary(bytes, options);
12832
+ }
12833
+ static fromJson(jsonValue, options) {
12834
+ return new IsMemberLimitReachedResponse().fromJson(jsonValue, options);
12835
+ }
12836
+ static fromJsonString(jsonString, options) {
12837
+ return new IsMemberLimitReachedResponse().fromJsonString(jsonString, options);
12838
+ }
12839
+ static equals(a, b) {
12840
+ return proto3.util.equals(IsMemberLimitReachedResponse, a, b);
12841
+ }
12842
+ }
12678
12843
  //# sourceMappingURL=platform_pb.js.map