@wundergraph/cosmo-connect 0.145.0 → 0.146.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.
@@ -260,6 +260,64 @@ proto3.util.setEnumType(ExpiresAt, "wg.cosmo.platform.v1.ExpiresAt", [
260
260
  { no: 2, name: "SIX_MONTHS" },
261
261
  { no: 3, name: "ONE_YEAR" },
262
262
  ]);
263
+ /**
264
+ * @generated from enum wg.cosmo.platform.v1.LoginMethodType
265
+ */
266
+ export var LoginMethodType;
267
+ (function (LoginMethodType) {
268
+ /**
269
+ * @generated from enum value: LOGIN_METHOD_TYPE_UNSPECIFIED = 0;
270
+ */
271
+ LoginMethodType[LoginMethodType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
272
+ /**
273
+ * @generated from enum value: LOGIN_METHOD_TYPE_SSO = 1;
274
+ */
275
+ LoginMethodType[LoginMethodType["SSO"] = 1] = "SSO";
276
+ /**
277
+ * @generated from enum value: LOGIN_METHOD_TYPE_PASSWORD = 2;
278
+ */
279
+ LoginMethodType[LoginMethodType["PASSWORD"] = 2] = "PASSWORD";
280
+ /**
281
+ * @generated from enum value: LOGIN_METHOD_TYPE_API_KEY = 3;
282
+ */
283
+ LoginMethodType[LoginMethodType["API_KEY"] = 3] = "API_KEY";
284
+ /**
285
+ * @generated from enum value: LOGIN_METHOD_TYPE_SOCIAL = 4;
286
+ */
287
+ LoginMethodType[LoginMethodType["SOCIAL"] = 4] = "SOCIAL";
288
+ })(LoginMethodType || (LoginMethodType = {}));
289
+ // Retrieve enum metadata with: proto3.getEnumType(LoginMethodType)
290
+ proto3.util.setEnumType(LoginMethodType, "wg.cosmo.platform.v1.LoginMethodType", [
291
+ { no: 0, name: "LOGIN_METHOD_TYPE_UNSPECIFIED" },
292
+ { no: 1, name: "LOGIN_METHOD_TYPE_SSO" },
293
+ { no: 2, name: "LOGIN_METHOD_TYPE_PASSWORD" },
294
+ { no: 3, name: "LOGIN_METHOD_TYPE_API_KEY" },
295
+ { no: 4, name: "LOGIN_METHOD_TYPE_SOCIAL" },
296
+ ]);
297
+ /**
298
+ * @generated from enum wg.cosmo.platform.v1.SocialLoginProvider
299
+ */
300
+ export var SocialLoginProvider;
301
+ (function (SocialLoginProvider) {
302
+ /**
303
+ * @generated from enum value: SOCIAL_LOGIN_PROVIDER_UNSPECIFIED = 0;
304
+ */
305
+ SocialLoginProvider[SocialLoginProvider["UNSPECIFIED"] = 0] = "UNSPECIFIED";
306
+ /**
307
+ * @generated from enum value: SOCIAL_LOGIN_PROVIDER_GOOGLE = 1;
308
+ */
309
+ SocialLoginProvider[SocialLoginProvider["GOOGLE"] = 1] = "GOOGLE";
310
+ /**
311
+ * @generated from enum value: SOCIAL_LOGIN_PROVIDER_GITHUB = 2;
312
+ */
313
+ SocialLoginProvider[SocialLoginProvider["GITHUB"] = 2] = "GITHUB";
314
+ })(SocialLoginProvider || (SocialLoginProvider = {}));
315
+ // Retrieve enum metadata with: proto3.getEnumType(SocialLoginProvider)
316
+ proto3.util.setEnumType(SocialLoginProvider, "wg.cosmo.platform.v1.SocialLoginProvider", [
317
+ { no: 0, name: "SOCIAL_LOGIN_PROVIDER_UNSPECIFIED" },
318
+ { no: 1, name: "SOCIAL_LOGIN_PROVIDER_GOOGLE" },
319
+ { no: 2, name: "SOCIAL_LOGIN_PROVIDER_GITHUB" },
320
+ ]);
263
321
  /**
264
322
  * @generated from enum wg.cosmo.platform.v1.PublishedOperationStatus
265
323
  */
@@ -7714,6 +7772,10 @@ export class WhoAmIResponse extends Message {
7714
7772
  * @generated from field: string organizationId = 5;
7715
7773
  */
7716
7774
  organizationId = "";
7775
+ /**
7776
+ * @generated from field: wg.cosmo.platform.v1.LoginMethod login_method = 6;
7777
+ */
7778
+ loginMethod;
7717
7779
  constructor(data) {
7718
7780
  super();
7719
7781
  proto3.util.initPartial(data, this);
@@ -7726,6 +7788,7 @@ export class WhoAmIResponse extends Message {
7726
7788
  { no: 3, name: "userEmail", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
7727
7789
  { no: 4, name: "organizationSlug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7728
7790
  { no: 5, name: "organizationId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7791
+ { no: 6, name: "login_method", kind: "message", T: LoginMethod },
7729
7792
  ]);
7730
7793
  static fromBinary(bytes, options) {
7731
7794
  return new WhoAmIResponse().fromBinary(bytes, options);
@@ -7740,6 +7803,60 @@ export class WhoAmIResponse extends Message {
7740
7803
  return proto3.util.equals(WhoAmIResponse, a, b);
7741
7804
  }
7742
7805
  }
7806
+ /**
7807
+ * @generated from message wg.cosmo.platform.v1.LoginMethod
7808
+ */
7809
+ export class LoginMethod extends Message {
7810
+ /**
7811
+ * @generated from field: wg.cosmo.platform.v1.LoginMethodType type = 1;
7812
+ */
7813
+ type = LoginMethodType.UNSPECIFIED;
7814
+ /**
7815
+ * Only populated when type = LOGIN_METHOD_TYPE_SSO.
7816
+ *
7817
+ * @generated from field: string sso_provider_id = 2;
7818
+ */
7819
+ ssoProviderId = "";
7820
+ /**
7821
+ * @generated from field: string sso_provider_name = 3;
7822
+ */
7823
+ ssoProviderName = "";
7824
+ /**
7825
+ * @generated from field: string sso_alias = 4;
7826
+ */
7827
+ ssoAlias = "";
7828
+ /**
7829
+ * Only populated when type = LOGIN_METHOD_TYPE_SOCIAL.
7830
+ *
7831
+ * @generated from field: wg.cosmo.platform.v1.SocialLoginProvider social_provider = 5;
7832
+ */
7833
+ socialProvider = SocialLoginProvider.UNSPECIFIED;
7834
+ constructor(data) {
7835
+ super();
7836
+ proto3.util.initPartial(data, this);
7837
+ }
7838
+ static runtime = proto3;
7839
+ static typeName = "wg.cosmo.platform.v1.LoginMethod";
7840
+ static fields = proto3.util.newFieldList(() => [
7841
+ { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(LoginMethodType) },
7842
+ { no: 2, name: "sso_provider_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7843
+ { no: 3, name: "sso_provider_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7844
+ { no: 4, name: "sso_alias", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7845
+ { no: 5, name: "social_provider", kind: "enum", T: proto3.getEnumType(SocialLoginProvider) },
7846
+ ]);
7847
+ static fromBinary(bytes, options) {
7848
+ return new LoginMethod().fromBinary(bytes, options);
7849
+ }
7850
+ static fromJson(jsonValue, options) {
7851
+ return new LoginMethod().fromJson(jsonValue, options);
7852
+ }
7853
+ static fromJsonString(jsonString, options) {
7854
+ return new LoginMethod().fromJsonString(jsonString, options);
7855
+ }
7856
+ static equals(a, b) {
7857
+ return proto3.util.equals(LoginMethod, a, b);
7858
+ }
7859
+ }
7743
7860
  /**
7744
7861
  * @generated from message wg.cosmo.platform.v1.RouterToken
7745
7862
  */
@@ -11790,17 +11907,147 @@ export class CreateOIDCProviderResponse extends Message {
11790
11907
  return proto3.util.equals(CreateOIDCProviderResponse, a, b);
11791
11908
  }
11792
11909
  }
11910
+ /**
11911
+ * @generated from message wg.cosmo.platform.v1.OIDCProvider
11912
+ */
11913
+ export class OIDCProvider extends Message {
11914
+ /**
11915
+ * @generated from field: string id = 1;
11916
+ */
11917
+ id = "";
11918
+ /**
11919
+ * @generated from field: string name = 2;
11920
+ */
11921
+ name = "";
11922
+ /**
11923
+ * @generated from field: string alias = 3;
11924
+ */
11925
+ alias = "";
11926
+ /**
11927
+ * @generated from field: string endpoint = 4;
11928
+ */
11929
+ endpoint = "";
11930
+ /**
11931
+ * @generated from field: string login_url = 5;
11932
+ */
11933
+ loginUrl = "";
11934
+ /**
11935
+ * @generated from field: string sign_in_redirect_url = 6;
11936
+ */
11937
+ signInRedirectUrl = "";
11938
+ /**
11939
+ * @generated from field: string sign_out_redirect_url = 7;
11940
+ */
11941
+ signOutRedirectUrl = "";
11942
+ /**
11943
+ * @generated from field: string createdAt = 8;
11944
+ */
11945
+ createdAt = "";
11946
+ constructor(data) {
11947
+ super();
11948
+ proto3.util.initPartial(data, this);
11949
+ }
11950
+ static runtime = proto3;
11951
+ static typeName = "wg.cosmo.platform.v1.OIDCProvider";
11952
+ static fields = proto3.util.newFieldList(() => [
11953
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11954
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11955
+ { no: 3, name: "alias", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11956
+ { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11957
+ { no: 5, name: "login_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11958
+ { no: 6, name: "sign_in_redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11959
+ { no: 7, name: "sign_out_redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11960
+ { no: 8, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11961
+ ]);
11962
+ static fromBinary(bytes, options) {
11963
+ return new OIDCProvider().fromBinary(bytes, options);
11964
+ }
11965
+ static fromJson(jsonValue, options) {
11966
+ return new OIDCProvider().fromJson(jsonValue, options);
11967
+ }
11968
+ static fromJsonString(jsonString, options) {
11969
+ return new OIDCProvider().fromJsonString(jsonString, options);
11970
+ }
11971
+ static equals(a, b) {
11972
+ return proto3.util.equals(OIDCProvider, a, b);
11973
+ }
11974
+ }
11975
+ /**
11976
+ * @generated from message wg.cosmo.platform.v1.ListOIDCProvidersRequest
11977
+ */
11978
+ export class ListOIDCProvidersRequest extends Message {
11979
+ constructor(data) {
11980
+ super();
11981
+ proto3.util.initPartial(data, this);
11982
+ }
11983
+ static runtime = proto3;
11984
+ static typeName = "wg.cosmo.platform.v1.ListOIDCProvidersRequest";
11985
+ static fields = proto3.util.newFieldList(() => []);
11986
+ static fromBinary(bytes, options) {
11987
+ return new ListOIDCProvidersRequest().fromBinary(bytes, options);
11988
+ }
11989
+ static fromJson(jsonValue, options) {
11990
+ return new ListOIDCProvidersRequest().fromJson(jsonValue, options);
11991
+ }
11992
+ static fromJsonString(jsonString, options) {
11993
+ return new ListOIDCProvidersRequest().fromJsonString(jsonString, options);
11994
+ }
11995
+ static equals(a, b) {
11996
+ return proto3.util.equals(ListOIDCProvidersRequest, a, b);
11997
+ }
11998
+ }
11999
+ /**
12000
+ * @generated from message wg.cosmo.platform.v1.ListOIDCProvidersResponse
12001
+ */
12002
+ export class ListOIDCProvidersResponse extends Message {
12003
+ /**
12004
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12005
+ */
12006
+ response;
12007
+ /**
12008
+ * @generated from field: repeated wg.cosmo.platform.v1.OIDCProvider providers = 2;
12009
+ */
12010
+ providers = [];
12011
+ constructor(data) {
12012
+ super();
12013
+ proto3.util.initPartial(data, this);
12014
+ }
12015
+ static runtime = proto3;
12016
+ static typeName = "wg.cosmo.platform.v1.ListOIDCProvidersResponse";
12017
+ static fields = proto3.util.newFieldList(() => [
12018
+ { no: 1, name: "response", kind: "message", T: Response },
12019
+ { no: 2, name: "providers", kind: "message", T: OIDCProvider, repeated: true },
12020
+ ]);
12021
+ static fromBinary(bytes, options) {
12022
+ return new ListOIDCProvidersResponse().fromBinary(bytes, options);
12023
+ }
12024
+ static fromJson(jsonValue, options) {
12025
+ return new ListOIDCProvidersResponse().fromJson(jsonValue, options);
12026
+ }
12027
+ static fromJsonString(jsonString, options) {
12028
+ return new ListOIDCProvidersResponse().fromJsonString(jsonString, options);
12029
+ }
12030
+ static equals(a, b) {
12031
+ return proto3.util.equals(ListOIDCProvidersResponse, a, b);
12032
+ }
12033
+ }
11793
12034
  /**
11794
12035
  * @generated from message wg.cosmo.platform.v1.GetOIDCProviderRequest
11795
12036
  */
11796
12037
  export class GetOIDCProviderRequest extends Message {
12038
+ /**
12039
+ * @generated from field: string id = 1;
12040
+ */
12041
+ id = "";
11797
12042
  constructor(data) {
11798
12043
  super();
11799
12044
  proto3.util.initPartial(data, this);
11800
12045
  }
11801
12046
  static runtime = proto3;
11802
12047
  static typeName = "wg.cosmo.platform.v1.GetOIDCProviderRequest";
11803
- static fields = proto3.util.newFieldList(() => []);
12048
+ static fields = proto3.util.newFieldList(() => [
12049
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12050
+ ]);
11804
12051
  static fromBinary(bytes, options) {
11805
12052
  return new GetOIDCProviderRequest().fromBinary(bytes, options);
11806
12053
  }
@@ -11878,13 +12125,19 @@ export class GetOIDCProviderResponse extends Message {
11878
12125
  * @generated from message wg.cosmo.platform.v1.DeleteOIDCProviderRequest
11879
12126
  */
11880
12127
  export class DeleteOIDCProviderRequest extends Message {
12128
+ /**
12129
+ * @generated from field: string id = 1;
12130
+ */
12131
+ id = "";
11881
12132
  constructor(data) {
11882
12133
  super();
11883
12134
  proto3.util.initPartial(data, this);
11884
12135
  }
11885
12136
  static runtime = proto3;
11886
12137
  static typeName = "wg.cosmo.platform.v1.DeleteOIDCProviderRequest";
11887
- static fields = proto3.util.newFieldList(() => []);
12138
+ static fields = proto3.util.newFieldList(() => [
12139
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12140
+ ]);
11888
12141
  static fromBinary(bytes, options) {
11889
12142
  return new DeleteOIDCProviderRequest().fromBinary(bytes, options);
11890
12143
  }
@@ -11936,6 +12189,10 @@ export class UpdateIDPMappersRequest extends Message {
11936
12189
  * @generated from field: repeated wg.cosmo.platform.v1.GroupMapper mappers = 1;
11937
12190
  */
11938
12191
  mappers = [];
12192
+ /**
12193
+ * @generated from field: string id = 2;
12194
+ */
12195
+ id = "";
11939
12196
  constructor(data) {
11940
12197
  super();
11941
12198
  proto3.util.initPartial(data, this);
@@ -11944,6 +12201,7 @@ export class UpdateIDPMappersRequest extends Message {
11944
12201
  static typeName = "wg.cosmo.platform.v1.UpdateIDPMappersRequest";
11945
12202
  static fields = proto3.util.newFieldList(() => [
11946
12203
  { no: 1, name: "mappers", kind: "message", T: GroupMapper, repeated: true },
12204
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11947
12205
  ]);
11948
12206
  static fromBinary(bytes, options) {
11949
12207
  return new UpdateIDPMappersRequest().fromBinary(bytes, options);
@@ -19495,6 +19753,178 @@ export class GetNamespaceProposalConfigResponse extends Message {
19495
19753
  return proto3.util.equals(GetNamespaceProposalConfigResponse, a, b);
19496
19754
  }
19497
19755
  }
19756
+ /**
19757
+ * @generated from message wg.cosmo.platform.v1.NamespaceSSOMapping
19758
+ */
19759
+ export class NamespaceSSOMapping extends Message {
19760
+ /**
19761
+ * @generated from field: string namespace_id = 1;
19762
+ */
19763
+ namespaceId = "";
19764
+ /**
19765
+ * @generated from field: repeated string allowed_sso_provider_ids = 2;
19766
+ */
19767
+ allowedSsoProviderIds = [];
19768
+ /**
19769
+ * @generated from field: bool allow_password_login = 3;
19770
+ */
19771
+ allowPasswordLogin = false;
19772
+ /**
19773
+ * @generated from field: bool allow_google_login = 4;
19774
+ */
19775
+ allowGoogleLogin = false;
19776
+ /**
19777
+ * @generated from field: bool allow_github_login = 5;
19778
+ */
19779
+ allowGithubLogin = false;
19780
+ constructor(data) {
19781
+ super();
19782
+ proto3.util.initPartial(data, this);
19783
+ }
19784
+ static runtime = proto3;
19785
+ static typeName = "wg.cosmo.platform.v1.NamespaceSSOMapping";
19786
+ static fields = proto3.util.newFieldList(() => [
19787
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19788
+ { no: 2, name: "allowed_sso_provider_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
19789
+ { no: 3, name: "allow_password_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
19790
+ { no: 4, name: "allow_google_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
19791
+ { no: 5, name: "allow_github_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
19792
+ ]);
19793
+ static fromBinary(bytes, options) {
19794
+ return new NamespaceSSOMapping().fromBinary(bytes, options);
19795
+ }
19796
+ static fromJson(jsonValue, options) {
19797
+ return new NamespaceSSOMapping().fromJson(jsonValue, options);
19798
+ }
19799
+ static fromJsonString(jsonString, options) {
19800
+ return new NamespaceSSOMapping().fromJsonString(jsonString, options);
19801
+ }
19802
+ static equals(a, b) {
19803
+ return proto3.util.equals(NamespaceSSOMapping, a, b);
19804
+ }
19805
+ }
19806
+ /**
19807
+ * @generated from message wg.cosmo.platform.v1.UpdateNamespaceSSOMappingsRequest
19808
+ */
19809
+ export class UpdateNamespaceSSOMappingsRequest extends Message {
19810
+ /**
19811
+ * @generated from field: repeated wg.cosmo.platform.v1.NamespaceSSOMapping mappings = 1;
19812
+ */
19813
+ mappings = [];
19814
+ constructor(data) {
19815
+ super();
19816
+ proto3.util.initPartial(data, this);
19817
+ }
19818
+ static runtime = proto3;
19819
+ static typeName = "wg.cosmo.platform.v1.UpdateNamespaceSSOMappingsRequest";
19820
+ static fields = proto3.util.newFieldList(() => [
19821
+ { no: 1, name: "mappings", kind: "message", T: NamespaceSSOMapping, repeated: true },
19822
+ ]);
19823
+ static fromBinary(bytes, options) {
19824
+ return new UpdateNamespaceSSOMappingsRequest().fromBinary(bytes, options);
19825
+ }
19826
+ static fromJson(jsonValue, options) {
19827
+ return new UpdateNamespaceSSOMappingsRequest().fromJson(jsonValue, options);
19828
+ }
19829
+ static fromJsonString(jsonString, options) {
19830
+ return new UpdateNamespaceSSOMappingsRequest().fromJsonString(jsonString, options);
19831
+ }
19832
+ static equals(a, b) {
19833
+ return proto3.util.equals(UpdateNamespaceSSOMappingsRequest, a, b);
19834
+ }
19835
+ }
19836
+ /**
19837
+ * @generated from message wg.cosmo.platform.v1.UpdateNamespaceSSOMappingsResponse
19838
+ */
19839
+ export class UpdateNamespaceSSOMappingsResponse extends Message {
19840
+ /**
19841
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
19842
+ */
19843
+ response;
19844
+ constructor(data) {
19845
+ super();
19846
+ proto3.util.initPartial(data, this);
19847
+ }
19848
+ static runtime = proto3;
19849
+ static typeName = "wg.cosmo.platform.v1.UpdateNamespaceSSOMappingsResponse";
19850
+ static fields = proto3.util.newFieldList(() => [
19851
+ { no: 1, name: "response", kind: "message", T: Response },
19852
+ ]);
19853
+ static fromBinary(bytes, options) {
19854
+ return new UpdateNamespaceSSOMappingsResponse().fromBinary(bytes, options);
19855
+ }
19856
+ static fromJson(jsonValue, options) {
19857
+ return new UpdateNamespaceSSOMappingsResponse().fromJson(jsonValue, options);
19858
+ }
19859
+ static fromJsonString(jsonString, options) {
19860
+ return new UpdateNamespaceSSOMappingsResponse().fromJsonString(jsonString, options);
19861
+ }
19862
+ static equals(a, b) {
19863
+ return proto3.util.equals(UpdateNamespaceSSOMappingsResponse, a, b);
19864
+ }
19865
+ }
19866
+ /**
19867
+ * @generated from message wg.cosmo.platform.v1.ListNamespaceSSOMappingsRequest
19868
+ */
19869
+ export class ListNamespaceSSOMappingsRequest extends Message {
19870
+ constructor(data) {
19871
+ super();
19872
+ proto3.util.initPartial(data, this);
19873
+ }
19874
+ static runtime = proto3;
19875
+ static typeName = "wg.cosmo.platform.v1.ListNamespaceSSOMappingsRequest";
19876
+ static fields = proto3.util.newFieldList(() => []);
19877
+ static fromBinary(bytes, options) {
19878
+ return new ListNamespaceSSOMappingsRequest().fromBinary(bytes, options);
19879
+ }
19880
+ static fromJson(jsonValue, options) {
19881
+ return new ListNamespaceSSOMappingsRequest().fromJson(jsonValue, options);
19882
+ }
19883
+ static fromJsonString(jsonString, options) {
19884
+ return new ListNamespaceSSOMappingsRequest().fromJsonString(jsonString, options);
19885
+ }
19886
+ static equals(a, b) {
19887
+ return proto3.util.equals(ListNamespaceSSOMappingsRequest, a, b);
19888
+ }
19889
+ }
19890
+ /**
19891
+ * @generated from message wg.cosmo.platform.v1.ListNamespaceSSOMappingsResponse
19892
+ */
19893
+ export class ListNamespaceSSOMappingsResponse extends Message {
19894
+ /**
19895
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
19896
+ */
19897
+ response;
19898
+ /**
19899
+ * One entry per namespace that is restricted to specific login methods.
19900
+ * Namespaces with no mapping (default-open) are omitted.
19901
+ *
19902
+ * @generated from field: repeated wg.cosmo.platform.v1.NamespaceSSOMapping mappings = 2;
19903
+ */
19904
+ mappings = [];
19905
+ constructor(data) {
19906
+ super();
19907
+ proto3.util.initPartial(data, this);
19908
+ }
19909
+ static runtime = proto3;
19910
+ static typeName = "wg.cosmo.platform.v1.ListNamespaceSSOMappingsResponse";
19911
+ static fields = proto3.util.newFieldList(() => [
19912
+ { no: 1, name: "response", kind: "message", T: Response },
19913
+ { no: 2, name: "mappings", kind: "message", T: NamespaceSSOMapping, repeated: true },
19914
+ ]);
19915
+ static fromBinary(bytes, options) {
19916
+ return new ListNamespaceSSOMappingsResponse().fromBinary(bytes, options);
19917
+ }
19918
+ static fromJson(jsonValue, options) {
19919
+ return new ListNamespaceSSOMappingsResponse().fromJson(jsonValue, options);
19920
+ }
19921
+ static fromJsonString(jsonString, options) {
19922
+ return new ListNamespaceSSOMappingsResponse().fromJsonString(jsonString, options);
19923
+ }
19924
+ static equals(a, b) {
19925
+ return proto3.util.equals(ListNamespaceSSOMappingsResponse, a, b);
19926
+ }
19927
+ }
19498
19928
  /**
19499
19929
  * @generated from message wg.cosmo.platform.v1.GetOperationsRequest
19500
19930
  */