@wundergraph/cosmo-connect 0.34.0 → 0.36.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.
@@ -1840,6 +1840,41 @@ export class GetCheckSummaryRequest extends Message {
1840
1840
  return proto3.util.equals(GetCheckSummaryRequest, a, b);
1841
1841
  }
1842
1842
  }
1843
+ /**
1844
+ * @generated from message wg.cosmo.platform.v1.ChangeCounts
1845
+ */
1846
+ export class ChangeCounts extends Message {
1847
+ /**
1848
+ * @generated from field: int32 additions = 1;
1849
+ */
1850
+ additions = 0;
1851
+ /**
1852
+ * @generated from field: int32 deletions = 2;
1853
+ */
1854
+ deletions = 0;
1855
+ constructor(data) {
1856
+ super();
1857
+ proto3.util.initPartial(data, this);
1858
+ }
1859
+ static runtime = proto3;
1860
+ static typeName = "wg.cosmo.platform.v1.ChangeCounts";
1861
+ static fields = proto3.util.newFieldList(() => [
1862
+ { no: 1, name: "additions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1863
+ { no: 2, name: "deletions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1864
+ ]);
1865
+ static fromBinary(bytes, options) {
1866
+ return new ChangeCounts().fromBinary(bytes, options);
1867
+ }
1868
+ static fromJson(jsonValue, options) {
1869
+ return new ChangeCounts().fromJson(jsonValue, options);
1870
+ }
1871
+ static fromJsonString(jsonString, options) {
1872
+ return new ChangeCounts().fromJsonString(jsonString, options);
1873
+ }
1874
+ static equals(a, b) {
1875
+ return proto3.util.equals(ChangeCounts, a, b);
1876
+ }
1877
+ }
1843
1878
  /**
1844
1879
  * @generated from message wg.cosmo.platform.v1.GetCheckSummaryResponse
1845
1880
  */
@@ -1861,9 +1896,17 @@ export class GetCheckSummaryResponse extends Message {
1861
1896
  */
1862
1897
  proposedSubgraphSchemaSDL;
1863
1898
  /**
1864
- * @generated from field: wg.cosmo.platform.v1.GetCheckSummaryResponse.ChangeCounts changeCounts = 5;
1899
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange changes = 6;
1865
1900
  */
1866
- changeCounts;
1901
+ changes = [];
1902
+ /**
1903
+ * @generated from field: repeated string compositionErrors = 7;
1904
+ */
1905
+ compositionErrors = [];
1906
+ /**
1907
+ * @generated from field: int32 traffic_check_days = 8;
1908
+ */
1909
+ trafficCheckDays = 0;
1867
1910
  constructor(data) {
1868
1911
  super();
1869
1912
  proto3.util.initPartial(data, this);
@@ -1875,7 +1918,9 @@ export class GetCheckSummaryResponse extends Message {
1875
1918
  { no: 2, name: "check", kind: "message", T: SchemaCheck },
1876
1919
  { no: 3, name: "affected_graphs", kind: "message", T: GetCheckSummaryResponse_AffectedGraph, repeated: true },
1877
1920
  { no: 4, name: "proposedSubgraphSchemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1878
- { no: 5, name: "changeCounts", kind: "message", T: GetCheckSummaryResponse_ChangeCounts },
1921
+ { no: 6, name: "changes", kind: "message", T: SchemaChange, repeated: true },
1922
+ { no: 7, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1923
+ { no: 8, name: "traffic_check_days", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1879
1924
  ]);
1880
1925
  static fromBinary(bytes, options) {
1881
1926
  return new GetCheckSummaryResponse().fromBinary(bytes, options);
@@ -1890,41 +1935,6 @@ export class GetCheckSummaryResponse extends Message {
1890
1935
  return proto3.util.equals(GetCheckSummaryResponse, a, b);
1891
1936
  }
1892
1937
  }
1893
- /**
1894
- * @generated from message wg.cosmo.platform.v1.GetCheckSummaryResponse.ChangeCounts
1895
- */
1896
- export class GetCheckSummaryResponse_ChangeCounts extends Message {
1897
- /**
1898
- * @generated from field: int32 additions = 1;
1899
- */
1900
- additions = 0;
1901
- /**
1902
- * @generated from field: int32 deletions = 2;
1903
- */
1904
- deletions = 0;
1905
- constructor(data) {
1906
- super();
1907
- proto3.util.initPartial(data, this);
1908
- }
1909
- static runtime = proto3;
1910
- static typeName = "wg.cosmo.platform.v1.GetCheckSummaryResponse.ChangeCounts";
1911
- static fields = proto3.util.newFieldList(() => [
1912
- { no: 1, name: "additions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1913
- { no: 2, name: "deletions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1914
- ]);
1915
- static fromBinary(bytes, options) {
1916
- return new GetCheckSummaryResponse_ChangeCounts().fromBinary(bytes, options);
1917
- }
1918
- static fromJson(jsonValue, options) {
1919
- return new GetCheckSummaryResponse_ChangeCounts().fromJson(jsonValue, options);
1920
- }
1921
- static fromJsonString(jsonString, options) {
1922
- return new GetCheckSummaryResponse_ChangeCounts().fromJsonString(jsonString, options);
1923
- }
1924
- static equals(a, b) {
1925
- return proto3.util.equals(GetCheckSummaryResponse_ChangeCounts, a, b);
1926
- }
1927
- }
1928
1938
  /**
1929
1939
  * @generated from message wg.cosmo.platform.v1.GetCheckSummaryResponse.AffectedGraph
1930
1940
  */
@@ -4641,6 +4651,10 @@ export class PublishedOperation extends Message {
4641
4651
  * @generated from field: wg.cosmo.platform.v1.PublishedOperationStatus status = 3;
4642
4652
  */
4643
4653
  status = PublishedOperationStatus.UP_TO_DATE;
4654
+ /**
4655
+ * @generated from field: repeated string operationNames = 4;
4656
+ */
4657
+ operationNames = [];
4644
4658
  constructor(data) {
4645
4659
  super();
4646
4660
  proto3.util.initPartial(data, this);
@@ -4651,6 +4665,7 @@ export class PublishedOperation extends Message {
4651
4665
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4652
4666
  { no: 2, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4653
4667
  { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(PublishedOperationStatus) },
4668
+ { no: 4, name: "operationNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
4654
4669
  ]);
4655
4670
  static fromBinary(bytes, options) {
4656
4671
  return new PublishedOperation().fromBinary(bytes, options);
@@ -4700,6 +4715,126 @@ export class PublishPersistedOperationsResponse extends Message {
4700
4715
  return proto3.util.equals(PublishPersistedOperationsResponse, a, b);
4701
4716
  }
4702
4717
  }
4718
+ /**
4719
+ * @generated from message wg.cosmo.platform.v1.GetPersistedOperationsRequest
4720
+ */
4721
+ export class GetPersistedOperationsRequest extends Message {
4722
+ /**
4723
+ * @generated from field: string federated_graph_name = 1;
4724
+ */
4725
+ federatedGraphName = "";
4726
+ /**
4727
+ * @generated from field: string client_id = 2;
4728
+ */
4729
+ clientId = "";
4730
+ constructor(data) {
4731
+ super();
4732
+ proto3.util.initPartial(data, this);
4733
+ }
4734
+ static runtime = proto3;
4735
+ static typeName = "wg.cosmo.platform.v1.GetPersistedOperationsRequest";
4736
+ static fields = proto3.util.newFieldList(() => [
4737
+ { no: 1, name: "federated_graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4738
+ { no: 2, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4739
+ ]);
4740
+ static fromBinary(bytes, options) {
4741
+ return new GetPersistedOperationsRequest().fromBinary(bytes, options);
4742
+ }
4743
+ static fromJson(jsonValue, options) {
4744
+ return new GetPersistedOperationsRequest().fromJson(jsonValue, options);
4745
+ }
4746
+ static fromJsonString(jsonString, options) {
4747
+ return new GetPersistedOperationsRequest().fromJsonString(jsonString, options);
4748
+ }
4749
+ static equals(a, b) {
4750
+ return proto3.util.equals(GetPersistedOperationsRequest, a, b);
4751
+ }
4752
+ }
4753
+ /**
4754
+ * @generated from message wg.cosmo.platform.v1.GetPersistedOperationsResponse
4755
+ */
4756
+ export class GetPersistedOperationsResponse extends Message {
4757
+ /**
4758
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4759
+ */
4760
+ response;
4761
+ /**
4762
+ * @generated from field: repeated wg.cosmo.platform.v1.GetPersistedOperationsResponse.Operation operations = 2;
4763
+ */
4764
+ operations = [];
4765
+ constructor(data) {
4766
+ super();
4767
+ proto3.util.initPartial(data, this);
4768
+ }
4769
+ static runtime = proto3;
4770
+ static typeName = "wg.cosmo.platform.v1.GetPersistedOperationsResponse";
4771
+ static fields = proto3.util.newFieldList(() => [
4772
+ { no: 1, name: "response", kind: "message", T: Response },
4773
+ { no: 2, name: "operations", kind: "message", T: GetPersistedOperationsResponse_Operation, repeated: true },
4774
+ ]);
4775
+ static fromBinary(bytes, options) {
4776
+ return new GetPersistedOperationsResponse().fromBinary(bytes, options);
4777
+ }
4778
+ static fromJson(jsonValue, options) {
4779
+ return new GetPersistedOperationsResponse().fromJson(jsonValue, options);
4780
+ }
4781
+ static fromJsonString(jsonString, options) {
4782
+ return new GetPersistedOperationsResponse().fromJsonString(jsonString, options);
4783
+ }
4784
+ static equals(a, b) {
4785
+ return proto3.util.equals(GetPersistedOperationsResponse, a, b);
4786
+ }
4787
+ }
4788
+ /**
4789
+ * @generated from message wg.cosmo.platform.v1.GetPersistedOperationsResponse.Operation
4790
+ */
4791
+ export class GetPersistedOperationsResponse_Operation extends Message {
4792
+ /**
4793
+ * @generated from field: string id = 1;
4794
+ */
4795
+ id = "";
4796
+ /**
4797
+ * @generated from field: string contents = 2;
4798
+ */
4799
+ contents = "";
4800
+ /**
4801
+ * @generated from field: string created_at = 3;
4802
+ */
4803
+ createdAt = "";
4804
+ /**
4805
+ * @generated from field: string last_updated_at = 4;
4806
+ */
4807
+ lastUpdatedAt = "";
4808
+ /**
4809
+ * @generated from field: repeated string operation_names = 5;
4810
+ */
4811
+ operationNames = [];
4812
+ constructor(data) {
4813
+ super();
4814
+ proto3.util.initPartial(data, this);
4815
+ }
4816
+ static runtime = proto3;
4817
+ static typeName = "wg.cosmo.platform.v1.GetPersistedOperationsResponse.Operation";
4818
+ static fields = proto3.util.newFieldList(() => [
4819
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4820
+ { no: 2, name: "contents", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4821
+ { no: 3, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4822
+ { no: 4, name: "last_updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4823
+ { no: 5, name: "operation_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
4824
+ ]);
4825
+ static fromBinary(bytes, options) {
4826
+ return new GetPersistedOperationsResponse_Operation().fromBinary(bytes, options);
4827
+ }
4828
+ static fromJson(jsonValue, options) {
4829
+ return new GetPersistedOperationsResponse_Operation().fromJson(jsonValue, options);
4830
+ }
4831
+ static fromJsonString(jsonString, options) {
4832
+ return new GetPersistedOperationsResponse_Operation().fromJsonString(jsonString, options);
4833
+ }
4834
+ static equals(a, b) {
4835
+ return proto3.util.equals(GetPersistedOperationsResponse_Operation, a, b);
4836
+ }
4837
+ }
4703
4838
  /**
4704
4839
  * @generated from message wg.cosmo.platform.v1.Header
4705
4840
  */
@@ -5937,6 +6072,10 @@ export class MetricsTopItem extends Message {
5937
6072
  * @generated from field: string value = 3;
5938
6073
  */
5939
6074
  value = "";
6075
+ /**
6076
+ * @generated from field: bool isPersisted = 4;
6077
+ */
6078
+ isPersisted = false;
5940
6079
  constructor(data) {
5941
6080
  super();
5942
6081
  proto3.util.initPartial(data, this);
@@ -5947,6 +6086,7 @@ export class MetricsTopItem extends Message {
5947
6086
  { no: 1, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5948
6087
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5949
6088
  { no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6089
+ { no: 4, name: "isPersisted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
5950
6090
  ]);
5951
6091
  static fromBinary(bytes, options) {
5952
6092
  return new MetricsTopItem().fromBinary(bytes, options);
@@ -6634,9 +6774,9 @@ export class GetOrganizationRequestsCountResponse extends Message {
6634
6774
  }
6635
6775
  }
6636
6776
  /**
6637
- * @generated from message wg.cosmo.platform.v1.Organization
6777
+ * @generated from message wg.cosmo.platform.v1.OrganizationInvite
6638
6778
  */
6639
- export class Organization extends Message {
6779
+ export class OrganizationInvite extends Message {
6640
6780
  /**
6641
6781
  * @generated from field: string id = 1;
6642
6782
  */
@@ -6657,30 +6797,35 @@ export class Organization extends Message {
6657
6797
  * @generated from field: string createdAt = 5;
6658
6798
  */
6659
6799
  createdAt = "";
6800
+ /**
6801
+ * @generated from field: optional string invitedBy = 6;
6802
+ */
6803
+ invitedBy;
6660
6804
  constructor(data) {
6661
6805
  super();
6662
6806
  proto3.util.initPartial(data, this);
6663
6807
  }
6664
6808
  static runtime = proto3;
6665
- static typeName = "wg.cosmo.platform.v1.Organization";
6809
+ static typeName = "wg.cosmo.platform.v1.OrganizationInvite";
6666
6810
  static fields = proto3.util.newFieldList(() => [
6667
6811
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6668
6812
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6669
6813
  { no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6670
6814
  { no: 4, name: "creatorUserId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6671
6815
  { no: 5, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6816
+ { no: 6, name: "invitedBy", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
6672
6817
  ]);
6673
6818
  static fromBinary(bytes, options) {
6674
- return new Organization().fromBinary(bytes, options);
6819
+ return new OrganizationInvite().fromBinary(bytes, options);
6675
6820
  }
6676
6821
  static fromJson(jsonValue, options) {
6677
- return new Organization().fromJson(jsonValue, options);
6822
+ return new OrganizationInvite().fromJson(jsonValue, options);
6678
6823
  }
6679
6824
  static fromJsonString(jsonString, options) {
6680
- return new Organization().fromJsonString(jsonString, options);
6825
+ return new OrganizationInvite().fromJsonString(jsonString, options);
6681
6826
  }
6682
6827
  static equals(a, b) {
6683
- return proto3.util.equals(Organization, a, b);
6828
+ return proto3.util.equals(OrganizationInvite, a, b);
6684
6829
  }
6685
6830
  }
6686
6831
  /**
@@ -6716,7 +6861,7 @@ export class GetInvitationsResponse extends Message {
6716
6861
  */
6717
6862
  response;
6718
6863
  /**
6719
- * @generated from field: repeated wg.cosmo.platform.v1.Organization invitations = 2;
6864
+ * @generated from field: repeated wg.cosmo.platform.v1.OrganizationInvite invitations = 2;
6720
6865
  */
6721
6866
  invitations = [];
6722
6867
  constructor(data) {
@@ -6727,7 +6872,7 @@ export class GetInvitationsResponse extends Message {
6727
6872
  static typeName = "wg.cosmo.platform.v1.GetInvitationsResponse";
6728
6873
  static fields = proto3.util.newFieldList(() => [
6729
6874
  { no: 1, name: "response", kind: "message", T: Response },
6730
- { no: 2, name: "invitations", kind: "message", T: Organization, repeated: true },
6875
+ { no: 2, name: "invitations", kind: "message", T: OrganizationInvite, repeated: true },
6731
6876
  ]);
6732
6877
  static fromBinary(bytes, options) {
6733
6878
  return new GetInvitationsResponse().fromBinary(bytes, options);
@@ -6807,6 +6952,401 @@ export class AcceptOrDeclineInvitationResponse extends Message {
6807
6952
  return proto3.util.equals(AcceptOrDeclineInvitationResponse, a, b);
6808
6953
  }
6809
6954
  }
6955
+ /**
6956
+ * @generated from message wg.cosmo.platform.v1.GraphComposition
6957
+ */
6958
+ export class GraphComposition extends Message {
6959
+ /**
6960
+ * @generated from field: string id = 1;
6961
+ */
6962
+ id = "";
6963
+ /**
6964
+ * @generated from field: string schemaVersionId = 2;
6965
+ */
6966
+ schemaVersionId = "";
6967
+ /**
6968
+ * @generated from field: string createdAt = 3;
6969
+ */
6970
+ createdAt = "";
6971
+ /**
6972
+ * @generated from field: bool isComposable = 4;
6973
+ */
6974
+ isComposable = false;
6975
+ /**
6976
+ * @generated from field: optional string compositionErrors = 5;
6977
+ */
6978
+ compositionErrors;
6979
+ /**
6980
+ * @generated from field: optional string createdBy = 6;
6981
+ */
6982
+ createdBy;
6983
+ /**
6984
+ * @generated from field: bool isLatestValid = 7;
6985
+ */
6986
+ isLatestValid = false;
6987
+ constructor(data) {
6988
+ super();
6989
+ proto3.util.initPartial(data, this);
6990
+ }
6991
+ static runtime = proto3;
6992
+ static typeName = "wg.cosmo.platform.v1.GraphComposition";
6993
+ static fields = proto3.util.newFieldList(() => [
6994
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6995
+ { no: 2, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6996
+ { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6997
+ { no: 4, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
6998
+ { no: 5, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
6999
+ { no: 6, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
7000
+ { no: 7, name: "isLatestValid", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
7001
+ ]);
7002
+ static fromBinary(bytes, options) {
7003
+ return new GraphComposition().fromBinary(bytes, options);
7004
+ }
7005
+ static fromJson(jsonValue, options) {
7006
+ return new GraphComposition().fromJson(jsonValue, options);
7007
+ }
7008
+ static fromJsonString(jsonString, options) {
7009
+ return new GraphComposition().fromJsonString(jsonString, options);
7010
+ }
7011
+ static equals(a, b) {
7012
+ return proto3.util.equals(GraphComposition, a, b);
7013
+ }
7014
+ }
7015
+ /**
7016
+ * @generated from message wg.cosmo.platform.v1.GraphCompositionSubgraph
7017
+ */
7018
+ export class GraphCompositionSubgraph extends Message {
7019
+ /**
7020
+ * @generated from field: string id = 1;
7021
+ */
7022
+ id = "";
7023
+ /**
7024
+ * @generated from field: string schemaVersionId = 2;
7025
+ */
7026
+ schemaVersionId = "";
7027
+ /**
7028
+ * @generated from field: string name = 3;
7029
+ */
7030
+ name = "";
7031
+ constructor(data) {
7032
+ super();
7033
+ proto3.util.initPartial(data, this);
7034
+ }
7035
+ static runtime = proto3;
7036
+ static typeName = "wg.cosmo.platform.v1.GraphCompositionSubgraph";
7037
+ static fields = proto3.util.newFieldList(() => [
7038
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7039
+ { no: 2, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7040
+ { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7041
+ ]);
7042
+ static fromBinary(bytes, options) {
7043
+ return new GraphCompositionSubgraph().fromBinary(bytes, options);
7044
+ }
7045
+ static fromJson(jsonValue, options) {
7046
+ return new GraphCompositionSubgraph().fromJson(jsonValue, options);
7047
+ }
7048
+ static fromJsonString(jsonString, options) {
7049
+ return new GraphCompositionSubgraph().fromJsonString(jsonString, options);
7050
+ }
7051
+ static equals(a, b) {
7052
+ return proto3.util.equals(GraphCompositionSubgraph, a, b);
7053
+ }
7054
+ }
7055
+ /**
7056
+ * @generated from message wg.cosmo.platform.v1.GetCompositionsRequest
7057
+ */
7058
+ export class GetCompositionsRequest extends Message {
7059
+ /**
7060
+ * @generated from field: string fedGraphName = 1;
7061
+ */
7062
+ fedGraphName = "";
7063
+ /**
7064
+ * @generated from field: int32 limit = 2;
7065
+ */
7066
+ limit = 0;
7067
+ /**
7068
+ * @generated from field: int32 offset = 3;
7069
+ */
7070
+ offset = 0;
7071
+ /**
7072
+ * @generated from field: string startDate = 4;
7073
+ */
7074
+ startDate = "";
7075
+ /**
7076
+ * @generated from field: string endDate = 5;
7077
+ */
7078
+ endDate = "";
7079
+ constructor(data) {
7080
+ super();
7081
+ proto3.util.initPartial(data, this);
7082
+ }
7083
+ static runtime = proto3;
7084
+ static typeName = "wg.cosmo.platform.v1.GetCompositionsRequest";
7085
+ static fields = proto3.util.newFieldList(() => [
7086
+ { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7087
+ { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
7088
+ { no: 3, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
7089
+ { no: 4, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7090
+ { no: 5, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7091
+ ]);
7092
+ static fromBinary(bytes, options) {
7093
+ return new GetCompositionsRequest().fromBinary(bytes, options);
7094
+ }
7095
+ static fromJson(jsonValue, options) {
7096
+ return new GetCompositionsRequest().fromJson(jsonValue, options);
7097
+ }
7098
+ static fromJsonString(jsonString, options) {
7099
+ return new GetCompositionsRequest().fromJsonString(jsonString, options);
7100
+ }
7101
+ static equals(a, b) {
7102
+ return proto3.util.equals(GetCompositionsRequest, a, b);
7103
+ }
7104
+ }
7105
+ /**
7106
+ * @generated from message wg.cosmo.platform.v1.GetCompositionsResponse
7107
+ */
7108
+ export class GetCompositionsResponse extends Message {
7109
+ /**
7110
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
7111
+ */
7112
+ response;
7113
+ /**
7114
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphComposition compositions = 2;
7115
+ */
7116
+ compositions = [];
7117
+ constructor(data) {
7118
+ super();
7119
+ proto3.util.initPartial(data, this);
7120
+ }
7121
+ static runtime = proto3;
7122
+ static typeName = "wg.cosmo.platform.v1.GetCompositionsResponse";
7123
+ static fields = proto3.util.newFieldList(() => [
7124
+ { no: 1, name: "response", kind: "message", T: Response },
7125
+ { no: 2, name: "compositions", kind: "message", T: GraphComposition, repeated: true },
7126
+ ]);
7127
+ static fromBinary(bytes, options) {
7128
+ return new GetCompositionsResponse().fromBinary(bytes, options);
7129
+ }
7130
+ static fromJson(jsonValue, options) {
7131
+ return new GetCompositionsResponse().fromJson(jsonValue, options);
7132
+ }
7133
+ static fromJsonString(jsonString, options) {
7134
+ return new GetCompositionsResponse().fromJsonString(jsonString, options);
7135
+ }
7136
+ static equals(a, b) {
7137
+ return proto3.util.equals(GetCompositionsResponse, a, b);
7138
+ }
7139
+ }
7140
+ /**
7141
+ * @generated from message wg.cosmo.platform.v1.GetCompositionDetailsRequest
7142
+ */
7143
+ export class GetCompositionDetailsRequest extends Message {
7144
+ /**
7145
+ * @generated from field: string compositionId = 1;
7146
+ */
7147
+ compositionId = "";
7148
+ constructor(data) {
7149
+ super();
7150
+ proto3.util.initPartial(data, this);
7151
+ }
7152
+ static runtime = proto3;
7153
+ static typeName = "wg.cosmo.platform.v1.GetCompositionDetailsRequest";
7154
+ static fields = proto3.util.newFieldList(() => [
7155
+ { no: 1, name: "compositionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7156
+ ]);
7157
+ static fromBinary(bytes, options) {
7158
+ return new GetCompositionDetailsRequest().fromBinary(bytes, options);
7159
+ }
7160
+ static fromJson(jsonValue, options) {
7161
+ return new GetCompositionDetailsRequest().fromJson(jsonValue, options);
7162
+ }
7163
+ static fromJsonString(jsonString, options) {
7164
+ return new GetCompositionDetailsRequest().fromJsonString(jsonString, options);
7165
+ }
7166
+ static equals(a, b) {
7167
+ return proto3.util.equals(GetCompositionDetailsRequest, a, b);
7168
+ }
7169
+ }
7170
+ /**
7171
+ * @generated from message wg.cosmo.platform.v1.GetCompositionDetailsResponse
7172
+ */
7173
+ export class GetCompositionDetailsResponse extends Message {
7174
+ /**
7175
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
7176
+ */
7177
+ response;
7178
+ /**
7179
+ * @generated from field: wg.cosmo.platform.v1.GraphComposition composition = 2;
7180
+ */
7181
+ composition;
7182
+ /**
7183
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphCompositionSubgraph compositionSubgraphs = 3;
7184
+ */
7185
+ compositionSubgraphs = [];
7186
+ /**
7187
+ * @generated from field: wg.cosmo.platform.v1.ChangeCounts changeCounts = 4;
7188
+ */
7189
+ changeCounts;
7190
+ constructor(data) {
7191
+ super();
7192
+ proto3.util.initPartial(data, this);
7193
+ }
7194
+ static runtime = proto3;
7195
+ static typeName = "wg.cosmo.platform.v1.GetCompositionDetailsResponse";
7196
+ static fields = proto3.util.newFieldList(() => [
7197
+ { no: 1, name: "response", kind: "message", T: Response },
7198
+ { no: 2, name: "composition", kind: "message", T: GraphComposition },
7199
+ { no: 3, name: "compositionSubgraphs", kind: "message", T: GraphCompositionSubgraph, repeated: true },
7200
+ { no: 4, name: "changeCounts", kind: "message", T: ChangeCounts },
7201
+ ]);
7202
+ static fromBinary(bytes, options) {
7203
+ return new GetCompositionDetailsResponse().fromBinary(bytes, options);
7204
+ }
7205
+ static fromJson(jsonValue, options) {
7206
+ return new GetCompositionDetailsResponse().fromJson(jsonValue, options);
7207
+ }
7208
+ static fromJsonString(jsonString, options) {
7209
+ return new GetCompositionDetailsResponse().fromJsonString(jsonString, options);
7210
+ }
7211
+ static equals(a, b) {
7212
+ return proto3.util.equals(GetCompositionDetailsResponse, a, b);
7213
+ }
7214
+ }
7215
+ /**
7216
+ * @generated from message wg.cosmo.platform.v1.GetSdlBySchemaVersionRequest
7217
+ */
7218
+ export class GetSdlBySchemaVersionRequest extends Message {
7219
+ /**
7220
+ * @generated from field: string schemaVersionId = 1;
7221
+ */
7222
+ schemaVersionId = "";
7223
+ /**
7224
+ * @generated from field: string graphName = 2;
7225
+ */
7226
+ graphName = "";
7227
+ constructor(data) {
7228
+ super();
7229
+ proto3.util.initPartial(data, this);
7230
+ }
7231
+ static runtime = proto3;
7232
+ static typeName = "wg.cosmo.platform.v1.GetSdlBySchemaVersionRequest";
7233
+ static fields = proto3.util.newFieldList(() => [
7234
+ { no: 1, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7235
+ { no: 2, name: "graphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7236
+ ]);
7237
+ static fromBinary(bytes, options) {
7238
+ return new GetSdlBySchemaVersionRequest().fromBinary(bytes, options);
7239
+ }
7240
+ static fromJson(jsonValue, options) {
7241
+ return new GetSdlBySchemaVersionRequest().fromJson(jsonValue, options);
7242
+ }
7243
+ static fromJsonString(jsonString, options) {
7244
+ return new GetSdlBySchemaVersionRequest().fromJsonString(jsonString, options);
7245
+ }
7246
+ static equals(a, b) {
7247
+ return proto3.util.equals(GetSdlBySchemaVersionRequest, a, b);
7248
+ }
7249
+ }
7250
+ /**
7251
+ * @generated from message wg.cosmo.platform.v1.GetSdlBySchemaVersionResponse
7252
+ */
7253
+ export class GetSdlBySchemaVersionResponse extends Message {
7254
+ /**
7255
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
7256
+ */
7257
+ response;
7258
+ /**
7259
+ * @generated from field: string sdl = 2;
7260
+ */
7261
+ sdl = "";
7262
+ constructor(data) {
7263
+ super();
7264
+ proto3.util.initPartial(data, this);
7265
+ }
7266
+ static runtime = proto3;
7267
+ static typeName = "wg.cosmo.platform.v1.GetSdlBySchemaVersionResponse";
7268
+ static fields = proto3.util.newFieldList(() => [
7269
+ { no: 1, name: "response", kind: "message", T: Response },
7270
+ { no: 2, name: "sdl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7271
+ ]);
7272
+ static fromBinary(bytes, options) {
7273
+ return new GetSdlBySchemaVersionResponse().fromBinary(bytes, options);
7274
+ }
7275
+ static fromJson(jsonValue, options) {
7276
+ return new GetSdlBySchemaVersionResponse().fromJson(jsonValue, options);
7277
+ }
7278
+ static fromJsonString(jsonString, options) {
7279
+ return new GetSdlBySchemaVersionResponse().fromJsonString(jsonString, options);
7280
+ }
7281
+ static equals(a, b) {
7282
+ return proto3.util.equals(GetSdlBySchemaVersionResponse, a, b);
7283
+ }
7284
+ }
7285
+ /**
7286
+ * @generated from message wg.cosmo.platform.v1.GetChangelogBySchemaVersionRequest
7287
+ */
7288
+ export class GetChangelogBySchemaVersionRequest extends Message {
7289
+ /**
7290
+ * @generated from field: string schemaVersionId = 1;
7291
+ */
7292
+ schemaVersionId = "";
7293
+ constructor(data) {
7294
+ super();
7295
+ proto3.util.initPartial(data, this);
7296
+ }
7297
+ static runtime = proto3;
7298
+ static typeName = "wg.cosmo.platform.v1.GetChangelogBySchemaVersionRequest";
7299
+ static fields = proto3.util.newFieldList(() => [
7300
+ { no: 1, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7301
+ ]);
7302
+ static fromBinary(bytes, options) {
7303
+ return new GetChangelogBySchemaVersionRequest().fromBinary(bytes, options);
7304
+ }
7305
+ static fromJson(jsonValue, options) {
7306
+ return new GetChangelogBySchemaVersionRequest().fromJson(jsonValue, options);
7307
+ }
7308
+ static fromJsonString(jsonString, options) {
7309
+ return new GetChangelogBySchemaVersionRequest().fromJsonString(jsonString, options);
7310
+ }
7311
+ static equals(a, b) {
7312
+ return proto3.util.equals(GetChangelogBySchemaVersionRequest, a, b);
7313
+ }
7314
+ }
7315
+ /**
7316
+ * @generated from message wg.cosmo.platform.v1.GetChangelogBySchemaVersionResponse
7317
+ */
7318
+ export class GetChangelogBySchemaVersionResponse extends Message {
7319
+ /**
7320
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
7321
+ */
7322
+ response;
7323
+ /**
7324
+ * @generated from field: wg.cosmo.platform.v1.FederatedGraphChangelogOutput changelog = 2;
7325
+ */
7326
+ changelog;
7327
+ constructor(data) {
7328
+ super();
7329
+ proto3.util.initPartial(data, this);
7330
+ }
7331
+ static runtime = proto3;
7332
+ static typeName = "wg.cosmo.platform.v1.GetChangelogBySchemaVersionResponse";
7333
+ static fields = proto3.util.newFieldList(() => [
7334
+ { no: 1, name: "response", kind: "message", T: Response },
7335
+ { no: 2, name: "changelog", kind: "message", T: FederatedGraphChangelogOutput },
7336
+ ]);
7337
+ static fromBinary(bytes, options) {
7338
+ return new GetChangelogBySchemaVersionResponse().fromBinary(bytes, options);
7339
+ }
7340
+ static fromJson(jsonValue, options) {
7341
+ return new GetChangelogBySchemaVersionResponse().fromJson(jsonValue, options);
7342
+ }
7343
+ static fromJsonString(jsonString, options) {
7344
+ return new GetChangelogBySchemaVersionResponse().fromJsonString(jsonString, options);
7345
+ }
7346
+ static equals(a, b) {
7347
+ return proto3.util.equals(GetChangelogBySchemaVersionResponse, a, b);
7348
+ }
7349
+ }
6810
7350
  /**
6811
7351
  * @generated from message wg.cosmo.platform.v1.ClientInfo
6812
7352
  */