@wundergraph/cosmo-connect 0.146.0 → 0.149.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.
- package/dist/platform/v1/platform-PlatformService_connectquery.d.ts +61 -15
- package/dist/platform/v1/platform-PlatformService_connectquery.js +61 -15
- package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
- package/dist/platform/v1/platform_connect.d.ts +47 -13
- package/dist/platform/v1/platform_connect.js +47 -13
- package/dist/platform/v1/platform_connect.js.map +1 -1
- package/dist/platform/v1/platform_pb.d.ts +285 -46
- package/dist/platform/v1/platform_pb.js +404 -42
- package/dist/platform/v1/platform_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -916,6 +916,155 @@ export class SubgraphPublishStats extends Message {
|
|
|
916
916
|
return proto3.util.equals(SubgraphPublishStats, a, b);
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
|
+
/**
|
|
920
|
+
* A single subgraph entry to publish as part of a batch publish request.
|
|
921
|
+
*
|
|
922
|
+
* @generated from message wg.cosmo.platform.v1.PublishSubgraph
|
|
923
|
+
*/
|
|
924
|
+
export class PublishSubgraph extends Message {
|
|
925
|
+
/**
|
|
926
|
+
* The name of the subgraph to publish.
|
|
927
|
+
*
|
|
928
|
+
* @generated from field: string name = 1;
|
|
929
|
+
*/
|
|
930
|
+
name = "";
|
|
931
|
+
/**
|
|
932
|
+
* The schema to publish for the subgraph.
|
|
933
|
+
*
|
|
934
|
+
* @generated from field: string schema = 2;
|
|
935
|
+
*/
|
|
936
|
+
schema = "";
|
|
937
|
+
constructor(data) {
|
|
938
|
+
super();
|
|
939
|
+
proto3.util.initPartial(data, this);
|
|
940
|
+
}
|
|
941
|
+
static runtime = proto3;
|
|
942
|
+
static typeName = "wg.cosmo.platform.v1.PublishSubgraph";
|
|
943
|
+
static fields = proto3.util.newFieldList(() => [
|
|
944
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
945
|
+
{ no: 2, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
946
|
+
]);
|
|
947
|
+
static fromBinary(bytes, options) {
|
|
948
|
+
return new PublishSubgraph().fromBinary(bytes, options);
|
|
949
|
+
}
|
|
950
|
+
static fromJson(jsonValue, options) {
|
|
951
|
+
return new PublishSubgraph().fromJson(jsonValue, options);
|
|
952
|
+
}
|
|
953
|
+
static fromJsonString(jsonString, options) {
|
|
954
|
+
return new PublishSubgraph().fromJsonString(jsonString, options);
|
|
955
|
+
}
|
|
956
|
+
static equals(a, b) {
|
|
957
|
+
return proto3.util.equals(PublishSubgraph, a, b);
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
/**
|
|
961
|
+
* @generated from message wg.cosmo.platform.v1.PublishFederatedSubgraphsRequest
|
|
962
|
+
*/
|
|
963
|
+
export class PublishFederatedSubgraphsRequest extends Message {
|
|
964
|
+
/**
|
|
965
|
+
* The namespace all the subgraphs belong to.
|
|
966
|
+
*
|
|
967
|
+
* @generated from field: string namespace = 1;
|
|
968
|
+
*/
|
|
969
|
+
namespace = "";
|
|
970
|
+
/**
|
|
971
|
+
* The subgraphs to publish. Each must already exist in the namespace. Feature subgraphs are detected automatically.
|
|
972
|
+
*
|
|
973
|
+
* @generated from field: repeated wg.cosmo.platform.v1.PublishSubgraph subgraphs = 2;
|
|
974
|
+
*/
|
|
975
|
+
subgraphs = [];
|
|
976
|
+
/**
|
|
977
|
+
* @generated from field: optional bool disable_resolvability_validation = 3;
|
|
978
|
+
*/
|
|
979
|
+
disableResolvabilityValidation;
|
|
980
|
+
/**
|
|
981
|
+
* Optional limit for the number of errors/warnings returned.
|
|
982
|
+
*
|
|
983
|
+
* @generated from field: optional int32 limit = 4;
|
|
984
|
+
*/
|
|
985
|
+
limit;
|
|
986
|
+
constructor(data) {
|
|
987
|
+
super();
|
|
988
|
+
proto3.util.initPartial(data, this);
|
|
989
|
+
}
|
|
990
|
+
static runtime = proto3;
|
|
991
|
+
static typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphsRequest";
|
|
992
|
+
static fields = proto3.util.newFieldList(() => [
|
|
993
|
+
{ no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
994
|
+
{ no: 2, name: "subgraphs", kind: "message", T: PublishSubgraph, repeated: true },
|
|
995
|
+
{ no: 3, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
996
|
+
{ no: 4, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
997
|
+
]);
|
|
998
|
+
static fromBinary(bytes, options) {
|
|
999
|
+
return new PublishFederatedSubgraphsRequest().fromBinary(bytes, options);
|
|
1000
|
+
}
|
|
1001
|
+
static fromJson(jsonValue, options) {
|
|
1002
|
+
return new PublishFederatedSubgraphsRequest().fromJson(jsonValue, options);
|
|
1003
|
+
}
|
|
1004
|
+
static fromJsonString(jsonString, options) {
|
|
1005
|
+
return new PublishFederatedSubgraphsRequest().fromJsonString(jsonString, options);
|
|
1006
|
+
}
|
|
1007
|
+
static equals(a, b) {
|
|
1008
|
+
return proto3.util.equals(PublishFederatedSubgraphsRequest, a, b);
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
/**
|
|
1012
|
+
* @generated from message wg.cosmo.platform.v1.PublishFederatedSubgraphsResponse
|
|
1013
|
+
*/
|
|
1014
|
+
export class PublishFederatedSubgraphsResponse extends Message {
|
|
1015
|
+
/**
|
|
1016
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
1017
|
+
*/
|
|
1018
|
+
response;
|
|
1019
|
+
/**
|
|
1020
|
+
* @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
|
|
1021
|
+
*/
|
|
1022
|
+
compositionErrors = [];
|
|
1023
|
+
/**
|
|
1024
|
+
* @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
|
|
1025
|
+
*/
|
|
1026
|
+
deploymentErrors = [];
|
|
1027
|
+
/**
|
|
1028
|
+
* @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
|
|
1029
|
+
*/
|
|
1030
|
+
compositionWarnings = [];
|
|
1031
|
+
/**
|
|
1032
|
+
* @generated from field: optional wg.cosmo.platform.v1.SubgraphPublishStats counts = 5;
|
|
1033
|
+
*/
|
|
1034
|
+
counts;
|
|
1035
|
+
/**
|
|
1036
|
+
* The names of the subgraphs whose schema actually changed as a result of this batch publish.
|
|
1037
|
+
*
|
|
1038
|
+
* @generated from field: repeated string updatedSubgraphNames = 6;
|
|
1039
|
+
*/
|
|
1040
|
+
updatedSubgraphNames = [];
|
|
1041
|
+
constructor(data) {
|
|
1042
|
+
super();
|
|
1043
|
+
proto3.util.initPartial(data, this);
|
|
1044
|
+
}
|
|
1045
|
+
static runtime = proto3;
|
|
1046
|
+
static typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphsResponse";
|
|
1047
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1048
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
1049
|
+
{ no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
|
|
1050
|
+
{ no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
|
|
1051
|
+
{ no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
|
|
1052
|
+
{ no: 5, name: "counts", kind: "message", T: SubgraphPublishStats, opt: true },
|
|
1053
|
+
{ no: 6, name: "updatedSubgraphNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1054
|
+
]);
|
|
1055
|
+
static fromBinary(bytes, options) {
|
|
1056
|
+
return new PublishFederatedSubgraphsResponse().fromBinary(bytes, options);
|
|
1057
|
+
}
|
|
1058
|
+
static fromJson(jsonValue, options) {
|
|
1059
|
+
return new PublishFederatedSubgraphsResponse().fromJson(jsonValue, options);
|
|
1060
|
+
}
|
|
1061
|
+
static fromJsonString(jsonString, options) {
|
|
1062
|
+
return new PublishFederatedSubgraphsResponse().fromJsonString(jsonString, options);
|
|
1063
|
+
}
|
|
1064
|
+
static equals(a, b) {
|
|
1065
|
+
return proto3.util.equals(PublishFederatedSubgraphsResponse, a, b);
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
919
1068
|
/**
|
|
920
1069
|
* @generated from message wg.cosmo.platform.v1.GitInfo
|
|
921
1070
|
*/
|
|
@@ -11829,9 +11978,9 @@ export class CreateOIDCProviderRequest extends Message {
|
|
|
11829
11978
|
*/
|
|
11830
11979
|
clientID = "";
|
|
11831
11980
|
/**
|
|
11832
|
-
* @generated from field: string
|
|
11981
|
+
* @generated from field: string clientSecret = 4;
|
|
11833
11982
|
*/
|
|
11834
|
-
|
|
11983
|
+
clientSecret = "";
|
|
11835
11984
|
/**
|
|
11836
11985
|
* @generated from field: repeated wg.cosmo.platform.v1.GroupMapper mappers = 5;
|
|
11837
11986
|
*/
|
|
@@ -11846,7 +11995,7 @@ export class CreateOIDCProviderRequest extends Message {
|
|
|
11846
11995
|
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11847
11996
|
{ no: 2, name: "discoveryEndpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11848
11997
|
{ no: 3, name: "clientID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11849
|
-
{ no: 4, name: "
|
|
11998
|
+
{ no: 4, name: "clientSecret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11850
11999
|
{ no: 5, name: "mappers", kind: "message", T: GroupMapper, repeated: true },
|
|
11851
12000
|
]);
|
|
11852
12001
|
static fromBinary(bytes, options) {
|
|
@@ -15849,6 +15998,10 @@ export class UpdateFeatureFlagResponse extends Message {
|
|
|
15849
15998
|
* @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
|
|
15850
15999
|
*/
|
|
15851
16000
|
compositionWarnings = [];
|
|
16001
|
+
/**
|
|
16002
|
+
* @generated from field: optional bool has_changed = 5;
|
|
16003
|
+
*/
|
|
16004
|
+
hasChanged;
|
|
15852
16005
|
constructor(data) {
|
|
15853
16006
|
super();
|
|
15854
16007
|
proto3.util.initPartial(data, this);
|
|
@@ -15860,6 +16013,7 @@ export class UpdateFeatureFlagResponse extends Message {
|
|
|
15860
16013
|
{ no: 2, name: "composition_errors", kind: "message", T: CompositionError, repeated: true },
|
|
15861
16014
|
{ no: 3, name: "deployment_errors", kind: "message", T: DeploymentError, repeated: true },
|
|
15862
16015
|
{ no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
|
|
16016
|
+
{ no: 5, name: "has_changed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
15863
16017
|
]);
|
|
15864
16018
|
static fromBinary(bytes, options) {
|
|
15865
16019
|
return new UpdateFeatureFlagResponse().fromBinary(bytes, options);
|
|
@@ -19754,9 +19908,9 @@ export class GetNamespaceProposalConfigResponse extends Message {
|
|
|
19754
19908
|
}
|
|
19755
19909
|
}
|
|
19756
19910
|
/**
|
|
19757
|
-
* @generated from message wg.cosmo.platform.v1.
|
|
19911
|
+
* @generated from message wg.cosmo.platform.v1.NamespaceLoginMethodMapping
|
|
19758
19912
|
*/
|
|
19759
|
-
export class
|
|
19913
|
+
export class NamespaceLoginMethodMapping extends Message {
|
|
19760
19914
|
/**
|
|
19761
19915
|
* @generated from field: string namespace_id = 1;
|
|
19762
19916
|
*/
|
|
@@ -19782,7 +19936,7 @@ export class NamespaceSSOMapping extends Message {
|
|
|
19782
19936
|
proto3.util.initPartial(data, this);
|
|
19783
19937
|
}
|
|
19784
19938
|
static runtime = proto3;
|
|
19785
|
-
static typeName = "wg.cosmo.platform.v1.
|
|
19939
|
+
static typeName = "wg.cosmo.platform.v1.NamespaceLoginMethodMapping";
|
|
19786
19940
|
static fields = proto3.util.newFieldList(() => [
|
|
19787
19941
|
{ no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19788
19942
|
{ no: 2, name: "allowed_sso_provider_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
@@ -19791,24 +19945,24 @@ export class NamespaceSSOMapping extends Message {
|
|
|
19791
19945
|
{ no: 5, name: "allow_github_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
19792
19946
|
]);
|
|
19793
19947
|
static fromBinary(bytes, options) {
|
|
19794
|
-
return new
|
|
19948
|
+
return new NamespaceLoginMethodMapping().fromBinary(bytes, options);
|
|
19795
19949
|
}
|
|
19796
19950
|
static fromJson(jsonValue, options) {
|
|
19797
|
-
return new
|
|
19951
|
+
return new NamespaceLoginMethodMapping().fromJson(jsonValue, options);
|
|
19798
19952
|
}
|
|
19799
19953
|
static fromJsonString(jsonString, options) {
|
|
19800
|
-
return new
|
|
19954
|
+
return new NamespaceLoginMethodMapping().fromJsonString(jsonString, options);
|
|
19801
19955
|
}
|
|
19802
19956
|
static equals(a, b) {
|
|
19803
|
-
return proto3.util.equals(
|
|
19957
|
+
return proto3.util.equals(NamespaceLoginMethodMapping, a, b);
|
|
19804
19958
|
}
|
|
19805
19959
|
}
|
|
19806
19960
|
/**
|
|
19807
|
-
* @generated from message wg.cosmo.platform.v1.
|
|
19961
|
+
* @generated from message wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsRequest
|
|
19808
19962
|
*/
|
|
19809
|
-
export class
|
|
19963
|
+
export class UpdateNamespaceLoginMethodsRequest extends Message {
|
|
19810
19964
|
/**
|
|
19811
|
-
* @generated from field: repeated wg.cosmo.platform.v1.
|
|
19965
|
+
* @generated from field: repeated wg.cosmo.platform.v1.NamespaceLoginMethodMapping mappings = 1;
|
|
19812
19966
|
*/
|
|
19813
19967
|
mappings = [];
|
|
19814
19968
|
constructor(data) {
|
|
@@ -19816,27 +19970,27 @@ export class UpdateNamespaceSSOMappingsRequest extends Message {
|
|
|
19816
19970
|
proto3.util.initPartial(data, this);
|
|
19817
19971
|
}
|
|
19818
19972
|
static runtime = proto3;
|
|
19819
|
-
static typeName = "wg.cosmo.platform.v1.
|
|
19973
|
+
static typeName = "wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsRequest";
|
|
19820
19974
|
static fields = proto3.util.newFieldList(() => [
|
|
19821
|
-
{ no: 1, name: "mappings", kind: "message", T:
|
|
19975
|
+
{ no: 1, name: "mappings", kind: "message", T: NamespaceLoginMethodMapping, repeated: true },
|
|
19822
19976
|
]);
|
|
19823
19977
|
static fromBinary(bytes, options) {
|
|
19824
|
-
return new
|
|
19978
|
+
return new UpdateNamespaceLoginMethodsRequest().fromBinary(bytes, options);
|
|
19825
19979
|
}
|
|
19826
19980
|
static fromJson(jsonValue, options) {
|
|
19827
|
-
return new
|
|
19981
|
+
return new UpdateNamespaceLoginMethodsRequest().fromJson(jsonValue, options);
|
|
19828
19982
|
}
|
|
19829
19983
|
static fromJsonString(jsonString, options) {
|
|
19830
|
-
return new
|
|
19984
|
+
return new UpdateNamespaceLoginMethodsRequest().fromJsonString(jsonString, options);
|
|
19831
19985
|
}
|
|
19832
19986
|
static equals(a, b) {
|
|
19833
|
-
return proto3.util.equals(
|
|
19987
|
+
return proto3.util.equals(UpdateNamespaceLoginMethodsRequest, a, b);
|
|
19834
19988
|
}
|
|
19835
19989
|
}
|
|
19836
19990
|
/**
|
|
19837
|
-
* @generated from message wg.cosmo.platform.v1.
|
|
19991
|
+
* @generated from message wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsResponse
|
|
19838
19992
|
*/
|
|
19839
|
-
export class
|
|
19993
|
+
export class UpdateNamespaceLoginMethodsResponse extends Message {
|
|
19840
19994
|
/**
|
|
19841
19995
|
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
19842
19996
|
*/
|
|
@@ -19846,51 +20000,51 @@ export class UpdateNamespaceSSOMappingsResponse extends Message {
|
|
|
19846
20000
|
proto3.util.initPartial(data, this);
|
|
19847
20001
|
}
|
|
19848
20002
|
static runtime = proto3;
|
|
19849
|
-
static typeName = "wg.cosmo.platform.v1.
|
|
20003
|
+
static typeName = "wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsResponse";
|
|
19850
20004
|
static fields = proto3.util.newFieldList(() => [
|
|
19851
20005
|
{ no: 1, name: "response", kind: "message", T: Response },
|
|
19852
20006
|
]);
|
|
19853
20007
|
static fromBinary(bytes, options) {
|
|
19854
|
-
return new
|
|
20008
|
+
return new UpdateNamespaceLoginMethodsResponse().fromBinary(bytes, options);
|
|
19855
20009
|
}
|
|
19856
20010
|
static fromJson(jsonValue, options) {
|
|
19857
|
-
return new
|
|
20011
|
+
return new UpdateNamespaceLoginMethodsResponse().fromJson(jsonValue, options);
|
|
19858
20012
|
}
|
|
19859
20013
|
static fromJsonString(jsonString, options) {
|
|
19860
|
-
return new
|
|
20014
|
+
return new UpdateNamespaceLoginMethodsResponse().fromJsonString(jsonString, options);
|
|
19861
20015
|
}
|
|
19862
20016
|
static equals(a, b) {
|
|
19863
|
-
return proto3.util.equals(
|
|
20017
|
+
return proto3.util.equals(UpdateNamespaceLoginMethodsResponse, a, b);
|
|
19864
20018
|
}
|
|
19865
20019
|
}
|
|
19866
20020
|
/**
|
|
19867
|
-
* @generated from message wg.cosmo.platform.v1.
|
|
20021
|
+
* @generated from message wg.cosmo.platform.v1.ListNamespaceLoginMethodsRequest
|
|
19868
20022
|
*/
|
|
19869
|
-
export class
|
|
20023
|
+
export class ListNamespaceLoginMethodsRequest extends Message {
|
|
19870
20024
|
constructor(data) {
|
|
19871
20025
|
super();
|
|
19872
20026
|
proto3.util.initPartial(data, this);
|
|
19873
20027
|
}
|
|
19874
20028
|
static runtime = proto3;
|
|
19875
|
-
static typeName = "wg.cosmo.platform.v1.
|
|
20029
|
+
static typeName = "wg.cosmo.platform.v1.ListNamespaceLoginMethodsRequest";
|
|
19876
20030
|
static fields = proto3.util.newFieldList(() => []);
|
|
19877
20031
|
static fromBinary(bytes, options) {
|
|
19878
|
-
return new
|
|
20032
|
+
return new ListNamespaceLoginMethodsRequest().fromBinary(bytes, options);
|
|
19879
20033
|
}
|
|
19880
20034
|
static fromJson(jsonValue, options) {
|
|
19881
|
-
return new
|
|
20035
|
+
return new ListNamespaceLoginMethodsRequest().fromJson(jsonValue, options);
|
|
19882
20036
|
}
|
|
19883
20037
|
static fromJsonString(jsonString, options) {
|
|
19884
|
-
return new
|
|
20038
|
+
return new ListNamespaceLoginMethodsRequest().fromJsonString(jsonString, options);
|
|
19885
20039
|
}
|
|
19886
20040
|
static equals(a, b) {
|
|
19887
|
-
return proto3.util.equals(
|
|
20041
|
+
return proto3.util.equals(ListNamespaceLoginMethodsRequest, a, b);
|
|
19888
20042
|
}
|
|
19889
20043
|
}
|
|
19890
20044
|
/**
|
|
19891
|
-
* @generated from message wg.cosmo.platform.v1.
|
|
20045
|
+
* @generated from message wg.cosmo.platform.v1.ListNamespaceLoginMethodsResponse
|
|
19892
20046
|
*/
|
|
19893
|
-
export class
|
|
20047
|
+
export class ListNamespaceLoginMethodsResponse extends Message {
|
|
19894
20048
|
/**
|
|
19895
20049
|
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
19896
20050
|
*/
|
|
@@ -19899,7 +20053,7 @@ export class ListNamespaceSSOMappingsResponse extends Message {
|
|
|
19899
20053
|
* One entry per namespace that is restricted to specific login methods.
|
|
19900
20054
|
* Namespaces with no mapping (default-open) are omitted.
|
|
19901
20055
|
*
|
|
19902
|
-
* @generated from field: repeated wg.cosmo.platform.v1.
|
|
20056
|
+
* @generated from field: repeated wg.cosmo.platform.v1.NamespaceLoginMethodMapping mappings = 2;
|
|
19903
20057
|
*/
|
|
19904
20058
|
mappings = [];
|
|
19905
20059
|
constructor(data) {
|
|
@@ -19907,22 +20061,230 @@ export class ListNamespaceSSOMappingsResponse extends Message {
|
|
|
19907
20061
|
proto3.util.initPartial(data, this);
|
|
19908
20062
|
}
|
|
19909
20063
|
static runtime = proto3;
|
|
19910
|
-
static typeName = "wg.cosmo.platform.v1.
|
|
20064
|
+
static typeName = "wg.cosmo.platform.v1.ListNamespaceLoginMethodsResponse";
|
|
20065
|
+
static fields = proto3.util.newFieldList(() => [
|
|
20066
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
20067
|
+
{ no: 2, name: "mappings", kind: "message", T: NamespaceLoginMethodMapping, repeated: true },
|
|
20068
|
+
]);
|
|
20069
|
+
static fromBinary(bytes, options) {
|
|
20070
|
+
return new ListNamespaceLoginMethodsResponse().fromBinary(bytes, options);
|
|
20071
|
+
}
|
|
20072
|
+
static fromJson(jsonValue, options) {
|
|
20073
|
+
return new ListNamespaceLoginMethodsResponse().fromJson(jsonValue, options);
|
|
20074
|
+
}
|
|
20075
|
+
static fromJsonString(jsonString, options) {
|
|
20076
|
+
return new ListNamespaceLoginMethodsResponse().fromJsonString(jsonString, options);
|
|
20077
|
+
}
|
|
20078
|
+
static equals(a, b) {
|
|
20079
|
+
return proto3.util.equals(ListNamespaceLoginMethodsResponse, a, b);
|
|
20080
|
+
}
|
|
20081
|
+
}
|
|
20082
|
+
/**
|
|
20083
|
+
* @generated from message wg.cosmo.platform.v1.OrganizationLoginMethods
|
|
20084
|
+
*/
|
|
20085
|
+
export class OrganizationLoginMethods extends Message {
|
|
20086
|
+
/**
|
|
20087
|
+
* @generated from field: repeated string allowed_sso_provider_ids = 1;
|
|
20088
|
+
*/
|
|
20089
|
+
allowedSsoProviderIds = [];
|
|
20090
|
+
/**
|
|
20091
|
+
* @generated from field: bool allow_password_login = 2;
|
|
20092
|
+
*/
|
|
20093
|
+
allowPasswordLogin = false;
|
|
20094
|
+
/**
|
|
20095
|
+
* @generated from field: bool allow_google_login = 3;
|
|
20096
|
+
*/
|
|
20097
|
+
allowGoogleLogin = false;
|
|
20098
|
+
/**
|
|
20099
|
+
* @generated from field: bool allow_github_login = 4;
|
|
20100
|
+
*/
|
|
20101
|
+
allowGithubLogin = false;
|
|
20102
|
+
/**
|
|
20103
|
+
* Output only. False when the org has no restriction configured (all methods allowed).
|
|
20104
|
+
*
|
|
20105
|
+
* @generated from field: bool is_restricted = 5;
|
|
20106
|
+
*/
|
|
20107
|
+
isRestricted = false;
|
|
20108
|
+
constructor(data) {
|
|
20109
|
+
super();
|
|
20110
|
+
proto3.util.initPartial(data, this);
|
|
20111
|
+
}
|
|
20112
|
+
static runtime = proto3;
|
|
20113
|
+
static typeName = "wg.cosmo.platform.v1.OrganizationLoginMethods";
|
|
20114
|
+
static fields = proto3.util.newFieldList(() => [
|
|
20115
|
+
{ no: 1, name: "allowed_sso_provider_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
20116
|
+
{ no: 2, name: "allow_password_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20117
|
+
{ no: 3, name: "allow_google_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20118
|
+
{ no: 4, name: "allow_github_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20119
|
+
{ no: 5, name: "is_restricted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20120
|
+
]);
|
|
20121
|
+
static fromBinary(bytes, options) {
|
|
20122
|
+
return new OrganizationLoginMethods().fromBinary(bytes, options);
|
|
20123
|
+
}
|
|
20124
|
+
static fromJson(jsonValue, options) {
|
|
20125
|
+
return new OrganizationLoginMethods().fromJson(jsonValue, options);
|
|
20126
|
+
}
|
|
20127
|
+
static fromJsonString(jsonString, options) {
|
|
20128
|
+
return new OrganizationLoginMethods().fromJsonString(jsonString, options);
|
|
20129
|
+
}
|
|
20130
|
+
static equals(a, b) {
|
|
20131
|
+
return proto3.util.equals(OrganizationLoginMethods, a, b);
|
|
20132
|
+
}
|
|
20133
|
+
}
|
|
20134
|
+
/**
|
|
20135
|
+
* @generated from message wg.cosmo.platform.v1.GetOrganizationLoginMethodsRequest
|
|
20136
|
+
*/
|
|
20137
|
+
export class GetOrganizationLoginMethodsRequest extends Message {
|
|
20138
|
+
constructor(data) {
|
|
20139
|
+
super();
|
|
20140
|
+
proto3.util.initPartial(data, this);
|
|
20141
|
+
}
|
|
20142
|
+
static runtime = proto3;
|
|
20143
|
+
static typeName = "wg.cosmo.platform.v1.GetOrganizationLoginMethodsRequest";
|
|
20144
|
+
static fields = proto3.util.newFieldList(() => []);
|
|
20145
|
+
static fromBinary(bytes, options) {
|
|
20146
|
+
return new GetOrganizationLoginMethodsRequest().fromBinary(bytes, options);
|
|
20147
|
+
}
|
|
20148
|
+
static fromJson(jsonValue, options) {
|
|
20149
|
+
return new GetOrganizationLoginMethodsRequest().fromJson(jsonValue, options);
|
|
20150
|
+
}
|
|
20151
|
+
static fromJsonString(jsonString, options) {
|
|
20152
|
+
return new GetOrganizationLoginMethodsRequest().fromJsonString(jsonString, options);
|
|
20153
|
+
}
|
|
20154
|
+
static equals(a, b) {
|
|
20155
|
+
return proto3.util.equals(GetOrganizationLoginMethodsRequest, a, b);
|
|
20156
|
+
}
|
|
20157
|
+
}
|
|
20158
|
+
/**
|
|
20159
|
+
* @generated from message wg.cosmo.platform.v1.GetOrganizationLoginMethodsResponse
|
|
20160
|
+
*/
|
|
20161
|
+
export class GetOrganizationLoginMethodsResponse extends Message {
|
|
20162
|
+
/**
|
|
20163
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
20164
|
+
*/
|
|
20165
|
+
response;
|
|
20166
|
+
/**
|
|
20167
|
+
* @generated from field: wg.cosmo.platform.v1.OrganizationLoginMethods login_methods = 2;
|
|
20168
|
+
*/
|
|
20169
|
+
loginMethods;
|
|
20170
|
+
constructor(data) {
|
|
20171
|
+
super();
|
|
20172
|
+
proto3.util.initPartial(data, this);
|
|
20173
|
+
}
|
|
20174
|
+
static runtime = proto3;
|
|
20175
|
+
static typeName = "wg.cosmo.platform.v1.GetOrganizationLoginMethodsResponse";
|
|
20176
|
+
static fields = proto3.util.newFieldList(() => [
|
|
20177
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
20178
|
+
{ no: 2, name: "login_methods", kind: "message", T: OrganizationLoginMethods },
|
|
20179
|
+
]);
|
|
20180
|
+
static fromBinary(bytes, options) {
|
|
20181
|
+
return new GetOrganizationLoginMethodsResponse().fromBinary(bytes, options);
|
|
20182
|
+
}
|
|
20183
|
+
static fromJson(jsonValue, options) {
|
|
20184
|
+
return new GetOrganizationLoginMethodsResponse().fromJson(jsonValue, options);
|
|
20185
|
+
}
|
|
20186
|
+
static fromJsonString(jsonString, options) {
|
|
20187
|
+
return new GetOrganizationLoginMethodsResponse().fromJsonString(jsonString, options);
|
|
20188
|
+
}
|
|
20189
|
+
static equals(a, b) {
|
|
20190
|
+
return proto3.util.equals(GetOrganizationLoginMethodsResponse, a, b);
|
|
20191
|
+
}
|
|
20192
|
+
}
|
|
20193
|
+
/**
|
|
20194
|
+
* @generated from message wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsRequest
|
|
20195
|
+
*/
|
|
20196
|
+
export class UpdateOrganizationLoginMethodsRequest extends Message {
|
|
20197
|
+
/**
|
|
20198
|
+
* @generated from field: repeated string allowed_sso_provider_ids = 1;
|
|
20199
|
+
*/
|
|
20200
|
+
allowedSsoProviderIds = [];
|
|
20201
|
+
/**
|
|
20202
|
+
* @generated from field: bool allow_password_login = 2;
|
|
20203
|
+
*/
|
|
20204
|
+
allowPasswordLogin = false;
|
|
20205
|
+
/**
|
|
20206
|
+
* @generated from field: bool allow_google_login = 3;
|
|
20207
|
+
*/
|
|
20208
|
+
allowGoogleLogin = false;
|
|
20209
|
+
/**
|
|
20210
|
+
* @generated from field: bool allow_github_login = 4;
|
|
20211
|
+
*/
|
|
20212
|
+
allowGithubLogin = false;
|
|
20213
|
+
/**
|
|
20214
|
+
* Set true to confirm that namespace mappings may be altered by this change.
|
|
20215
|
+
* Left false (a preview), if the change would strip methods from existing
|
|
20216
|
+
* namespace mappings the server returns requires_confirmation and makes no changes.
|
|
20217
|
+
*
|
|
20218
|
+
* @generated from field: bool confirm_namespace_changes = 5;
|
|
20219
|
+
*/
|
|
20220
|
+
confirmNamespaceChanges = false;
|
|
20221
|
+
constructor(data) {
|
|
20222
|
+
super();
|
|
20223
|
+
proto3.util.initPartial(data, this);
|
|
20224
|
+
}
|
|
20225
|
+
static runtime = proto3;
|
|
20226
|
+
static typeName = "wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsRequest";
|
|
20227
|
+
static fields = proto3.util.newFieldList(() => [
|
|
20228
|
+
{ no: 1, name: "allowed_sso_provider_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
20229
|
+
{ no: 2, name: "allow_password_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20230
|
+
{ no: 3, name: "allow_google_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20231
|
+
{ no: 4, name: "allow_github_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20232
|
+
{ no: 5, name: "confirm_namespace_changes", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20233
|
+
]);
|
|
20234
|
+
static fromBinary(bytes, options) {
|
|
20235
|
+
return new UpdateOrganizationLoginMethodsRequest().fromBinary(bytes, options);
|
|
20236
|
+
}
|
|
20237
|
+
static fromJson(jsonValue, options) {
|
|
20238
|
+
return new UpdateOrganizationLoginMethodsRequest().fromJson(jsonValue, options);
|
|
20239
|
+
}
|
|
20240
|
+
static fromJsonString(jsonString, options) {
|
|
20241
|
+
return new UpdateOrganizationLoginMethodsRequest().fromJsonString(jsonString, options);
|
|
20242
|
+
}
|
|
20243
|
+
static equals(a, b) {
|
|
20244
|
+
return proto3.util.equals(UpdateOrganizationLoginMethodsRequest, a, b);
|
|
20245
|
+
}
|
|
20246
|
+
}
|
|
20247
|
+
/**
|
|
20248
|
+
* @generated from message wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsResponse
|
|
20249
|
+
*/
|
|
20250
|
+
export class UpdateOrganizationLoginMethodsResponse extends Message {
|
|
20251
|
+
/**
|
|
20252
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
20253
|
+
*/
|
|
20254
|
+
response;
|
|
20255
|
+
/**
|
|
20256
|
+
* True when the change needs confirmation because it would alter namespace
|
|
20257
|
+
* mappings listed in affected_namespaces. No changes were made in this case.
|
|
20258
|
+
*
|
|
20259
|
+
* @generated from field: bool requires_confirmation = 2;
|
|
20260
|
+
*/
|
|
20261
|
+
requiresConfirmation = false;
|
|
20262
|
+
/**
|
|
20263
|
+
* @generated from field: repeated wg.cosmo.platform.v1.Namespace affected_namespaces = 3;
|
|
20264
|
+
*/
|
|
20265
|
+
affectedNamespaces = [];
|
|
20266
|
+
constructor(data) {
|
|
20267
|
+
super();
|
|
20268
|
+
proto3.util.initPartial(data, this);
|
|
20269
|
+
}
|
|
20270
|
+
static runtime = proto3;
|
|
20271
|
+
static typeName = "wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsResponse";
|
|
19911
20272
|
static fields = proto3.util.newFieldList(() => [
|
|
19912
20273
|
{ no: 1, name: "response", kind: "message", T: Response },
|
|
19913
|
-
{ no: 2, name: "
|
|
20274
|
+
{ no: 2, name: "requires_confirmation", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20275
|
+
{ no: 3, name: "affected_namespaces", kind: "message", T: Namespace, repeated: true },
|
|
19914
20276
|
]);
|
|
19915
20277
|
static fromBinary(bytes, options) {
|
|
19916
|
-
return new
|
|
20278
|
+
return new UpdateOrganizationLoginMethodsResponse().fromBinary(bytes, options);
|
|
19917
20279
|
}
|
|
19918
20280
|
static fromJson(jsonValue, options) {
|
|
19919
|
-
return new
|
|
20281
|
+
return new UpdateOrganizationLoginMethodsResponse().fromJson(jsonValue, options);
|
|
19920
20282
|
}
|
|
19921
20283
|
static fromJsonString(jsonString, options) {
|
|
19922
|
-
return new
|
|
20284
|
+
return new UpdateOrganizationLoginMethodsResponse().fromJsonString(jsonString, options);
|
|
19923
20285
|
}
|
|
19924
20286
|
static equals(a, b) {
|
|
19925
|
-
return proto3.util.equals(
|
|
20287
|
+
return proto3.util.equals(UpdateOrganizationLoginMethodsResponse, a, b);
|
|
19926
20288
|
}
|
|
19927
20289
|
}
|
|
19928
20290
|
/**
|