@wundergraph/cosmo-connect 0.145.0 → 0.148.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.
@@ -193,6 +193,48 @@ export declare enum ExpiresAt {
193
193
  */
194
194
  ONE_YEAR = 3
195
195
  }
196
+ /**
197
+ * @generated from enum wg.cosmo.platform.v1.LoginMethodType
198
+ */
199
+ export declare enum LoginMethodType {
200
+ /**
201
+ * @generated from enum value: LOGIN_METHOD_TYPE_UNSPECIFIED = 0;
202
+ */
203
+ UNSPECIFIED = 0,
204
+ /**
205
+ * @generated from enum value: LOGIN_METHOD_TYPE_SSO = 1;
206
+ */
207
+ SSO = 1,
208
+ /**
209
+ * @generated from enum value: LOGIN_METHOD_TYPE_PASSWORD = 2;
210
+ */
211
+ PASSWORD = 2,
212
+ /**
213
+ * @generated from enum value: LOGIN_METHOD_TYPE_API_KEY = 3;
214
+ */
215
+ API_KEY = 3,
216
+ /**
217
+ * @generated from enum value: LOGIN_METHOD_TYPE_SOCIAL = 4;
218
+ */
219
+ SOCIAL = 4
220
+ }
221
+ /**
222
+ * @generated from enum wg.cosmo.platform.v1.SocialLoginProvider
223
+ */
224
+ export declare enum SocialLoginProvider {
225
+ /**
226
+ * @generated from enum value: SOCIAL_LOGIN_PROVIDER_UNSPECIFIED = 0;
227
+ */
228
+ UNSPECIFIED = 0,
229
+ /**
230
+ * @generated from enum value: SOCIAL_LOGIN_PROVIDER_GOOGLE = 1;
231
+ */
232
+ GOOGLE = 1,
233
+ /**
234
+ * @generated from enum value: SOCIAL_LOGIN_PROVIDER_GITHUB = 2;
235
+ */
236
+ GITHUB = 2
237
+ }
196
238
  /**
197
239
  * @generated from enum wg.cosmo.platform.v1.PublishedOperationStatus
198
240
  */
@@ -597,6 +639,107 @@ export declare class SubgraphPublishStats extends Message<SubgraphPublishStats>
597
639
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubgraphPublishStats;
598
640
  static equals(a: SubgraphPublishStats | PlainMessage<SubgraphPublishStats> | undefined, b: SubgraphPublishStats | PlainMessage<SubgraphPublishStats> | undefined): boolean;
599
641
  }
642
+ /**
643
+ * A single subgraph entry to publish as part of a batch publish request.
644
+ *
645
+ * @generated from message wg.cosmo.platform.v1.PublishSubgraph
646
+ */
647
+ export declare class PublishSubgraph extends Message<PublishSubgraph> {
648
+ /**
649
+ * The name of the subgraph to publish.
650
+ *
651
+ * @generated from field: string name = 1;
652
+ */
653
+ name: string;
654
+ /**
655
+ * The schema to publish for the subgraph.
656
+ *
657
+ * @generated from field: string schema = 2;
658
+ */
659
+ schema: string;
660
+ constructor(data?: PartialMessage<PublishSubgraph>);
661
+ static readonly runtime: typeof proto3;
662
+ static readonly typeName = "wg.cosmo.platform.v1.PublishSubgraph";
663
+ static readonly fields: FieldList;
664
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishSubgraph;
665
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishSubgraph;
666
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSubgraph;
667
+ static equals(a: PublishSubgraph | PlainMessage<PublishSubgraph> | undefined, b: PublishSubgraph | PlainMessage<PublishSubgraph> | undefined): boolean;
668
+ }
669
+ /**
670
+ * @generated from message wg.cosmo.platform.v1.PublishFederatedSubgraphsRequest
671
+ */
672
+ export declare class PublishFederatedSubgraphsRequest extends Message<PublishFederatedSubgraphsRequest> {
673
+ /**
674
+ * The namespace all the subgraphs belong to.
675
+ *
676
+ * @generated from field: string namespace = 1;
677
+ */
678
+ namespace: string;
679
+ /**
680
+ * The subgraphs to publish. Each must already exist in the namespace. Feature subgraphs are detected automatically.
681
+ *
682
+ * @generated from field: repeated wg.cosmo.platform.v1.PublishSubgraph subgraphs = 2;
683
+ */
684
+ subgraphs: PublishSubgraph[];
685
+ /**
686
+ * @generated from field: optional bool disable_resolvability_validation = 3;
687
+ */
688
+ disableResolvabilityValidation?: boolean;
689
+ /**
690
+ * Optional limit for the number of errors/warnings returned.
691
+ *
692
+ * @generated from field: optional int32 limit = 4;
693
+ */
694
+ limit?: number;
695
+ constructor(data?: PartialMessage<PublishFederatedSubgraphsRequest>);
696
+ static readonly runtime: typeof proto3;
697
+ static readonly typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphsRequest";
698
+ static readonly fields: FieldList;
699
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishFederatedSubgraphsRequest;
700
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishFederatedSubgraphsRequest;
701
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishFederatedSubgraphsRequest;
702
+ static equals(a: PublishFederatedSubgraphsRequest | PlainMessage<PublishFederatedSubgraphsRequest> | undefined, b: PublishFederatedSubgraphsRequest | PlainMessage<PublishFederatedSubgraphsRequest> | undefined): boolean;
703
+ }
704
+ /**
705
+ * @generated from message wg.cosmo.platform.v1.PublishFederatedSubgraphsResponse
706
+ */
707
+ export declare class PublishFederatedSubgraphsResponse extends Message<PublishFederatedSubgraphsResponse> {
708
+ /**
709
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
710
+ */
711
+ response?: Response;
712
+ /**
713
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
714
+ */
715
+ compositionErrors: CompositionError[];
716
+ /**
717
+ * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
718
+ */
719
+ deploymentErrors: DeploymentError[];
720
+ /**
721
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
722
+ */
723
+ compositionWarnings: CompositionWarning[];
724
+ /**
725
+ * @generated from field: optional wg.cosmo.platform.v1.SubgraphPublishStats counts = 5;
726
+ */
727
+ counts?: SubgraphPublishStats;
728
+ /**
729
+ * The names of the subgraphs whose schema actually changed as a result of this batch publish.
730
+ *
731
+ * @generated from field: repeated string updatedSubgraphNames = 6;
732
+ */
733
+ updatedSubgraphNames: string[];
734
+ constructor(data?: PartialMessage<PublishFederatedSubgraphsResponse>);
735
+ static readonly runtime: typeof proto3;
736
+ static readonly typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphsResponse";
737
+ static readonly fields: FieldList;
738
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishFederatedSubgraphsResponse;
739
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishFederatedSubgraphsResponse;
740
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishFederatedSubgraphsResponse;
741
+ static equals(a: PublishFederatedSubgraphsResponse | PlainMessage<PublishFederatedSubgraphsResponse> | undefined, b: PublishFederatedSubgraphsResponse | PlainMessage<PublishFederatedSubgraphsResponse> | undefined): boolean;
742
+ }
600
743
  /**
601
744
  * @generated from message wg.cosmo.platform.v1.GitInfo
602
745
  */
@@ -5094,6 +5237,10 @@ export declare class WhoAmIResponse extends Message<WhoAmIResponse> {
5094
5237
  * @generated from field: string organizationId = 5;
5095
5238
  */
5096
5239
  organizationId: string;
5240
+ /**
5241
+ * @generated from field: wg.cosmo.platform.v1.LoginMethod login_method = 6;
5242
+ */
5243
+ loginMethod?: LoginMethod;
5097
5244
  constructor(data?: PartialMessage<WhoAmIResponse>);
5098
5245
  static readonly runtime: typeof proto3;
5099
5246
  static readonly typeName = "wg.cosmo.platform.v1.WhoAmIResponse";
@@ -5103,6 +5250,43 @@ export declare class WhoAmIResponse extends Message<WhoAmIResponse> {
5103
5250
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WhoAmIResponse;
5104
5251
  static equals(a: WhoAmIResponse | PlainMessage<WhoAmIResponse> | undefined, b: WhoAmIResponse | PlainMessage<WhoAmIResponse> | undefined): boolean;
5105
5252
  }
5253
+ /**
5254
+ * @generated from message wg.cosmo.platform.v1.LoginMethod
5255
+ */
5256
+ export declare class LoginMethod extends Message<LoginMethod> {
5257
+ /**
5258
+ * @generated from field: wg.cosmo.platform.v1.LoginMethodType type = 1;
5259
+ */
5260
+ type: LoginMethodType;
5261
+ /**
5262
+ * Only populated when type = LOGIN_METHOD_TYPE_SSO.
5263
+ *
5264
+ * @generated from field: string sso_provider_id = 2;
5265
+ */
5266
+ ssoProviderId: string;
5267
+ /**
5268
+ * @generated from field: string sso_provider_name = 3;
5269
+ */
5270
+ ssoProviderName: string;
5271
+ /**
5272
+ * @generated from field: string sso_alias = 4;
5273
+ */
5274
+ ssoAlias: string;
5275
+ /**
5276
+ * Only populated when type = LOGIN_METHOD_TYPE_SOCIAL.
5277
+ *
5278
+ * @generated from field: wg.cosmo.platform.v1.SocialLoginProvider social_provider = 5;
5279
+ */
5280
+ socialProvider: SocialLoginProvider;
5281
+ constructor(data?: PartialMessage<LoginMethod>);
5282
+ static readonly runtime: typeof proto3;
5283
+ static readonly typeName = "wg.cosmo.platform.v1.LoginMethod";
5284
+ static readonly fields: FieldList;
5285
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoginMethod;
5286
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoginMethod;
5287
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginMethod;
5288
+ static equals(a: LoginMethod | PlainMessage<LoginMethod> | undefined, b: LoginMethod | PlainMessage<LoginMethod> | undefined): boolean;
5289
+ }
5106
5290
  /**
5107
5291
  * @generated from message wg.cosmo.platform.v1.RouterToken
5108
5292
  */
@@ -7571,9 +7755,9 @@ export declare class CreateOIDCProviderRequest extends Message<CreateOIDCProvide
7571
7755
  */
7572
7756
  clientID: string;
7573
7757
  /**
7574
- * @generated from field: string clientSecrect = 4;
7758
+ * @generated from field: string clientSecret = 4;
7575
7759
  */
7576
- clientSecrect: string;
7760
+ clientSecret: string;
7577
7761
  /**
7578
7762
  * @generated from field: repeated wg.cosmo.platform.v1.GroupMapper mappers = 5;
7579
7763
  */
@@ -7616,10 +7800,93 @@ export declare class CreateOIDCProviderResponse extends Message<CreateOIDCProvid
7616
7800
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOIDCProviderResponse;
7617
7801
  static equals(a: CreateOIDCProviderResponse | PlainMessage<CreateOIDCProviderResponse> | undefined, b: CreateOIDCProviderResponse | PlainMessage<CreateOIDCProviderResponse> | undefined): boolean;
7618
7802
  }
7803
+ /**
7804
+ * @generated from message wg.cosmo.platform.v1.OIDCProvider
7805
+ */
7806
+ export declare class OIDCProvider extends Message<OIDCProvider> {
7807
+ /**
7808
+ * @generated from field: string id = 1;
7809
+ */
7810
+ id: string;
7811
+ /**
7812
+ * @generated from field: string name = 2;
7813
+ */
7814
+ name: string;
7815
+ /**
7816
+ * @generated from field: string alias = 3;
7817
+ */
7818
+ alias: string;
7819
+ /**
7820
+ * @generated from field: string endpoint = 4;
7821
+ */
7822
+ endpoint: string;
7823
+ /**
7824
+ * @generated from field: string login_url = 5;
7825
+ */
7826
+ loginUrl: string;
7827
+ /**
7828
+ * @generated from field: string sign_in_redirect_url = 6;
7829
+ */
7830
+ signInRedirectUrl: string;
7831
+ /**
7832
+ * @generated from field: string sign_out_redirect_url = 7;
7833
+ */
7834
+ signOutRedirectUrl: string;
7835
+ /**
7836
+ * @generated from field: string createdAt = 8;
7837
+ */
7838
+ createdAt: string;
7839
+ constructor(data?: PartialMessage<OIDCProvider>);
7840
+ static readonly runtime: typeof proto3;
7841
+ static readonly typeName = "wg.cosmo.platform.v1.OIDCProvider";
7842
+ static readonly fields: FieldList;
7843
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OIDCProvider;
7844
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OIDCProvider;
7845
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OIDCProvider;
7846
+ static equals(a: OIDCProvider | PlainMessage<OIDCProvider> | undefined, b: OIDCProvider | PlainMessage<OIDCProvider> | undefined): boolean;
7847
+ }
7848
+ /**
7849
+ * @generated from message wg.cosmo.platform.v1.ListOIDCProvidersRequest
7850
+ */
7851
+ export declare class ListOIDCProvidersRequest extends Message<ListOIDCProvidersRequest> {
7852
+ constructor(data?: PartialMessage<ListOIDCProvidersRequest>);
7853
+ static readonly runtime: typeof proto3;
7854
+ static readonly typeName = "wg.cosmo.platform.v1.ListOIDCProvidersRequest";
7855
+ static readonly fields: FieldList;
7856
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOIDCProvidersRequest;
7857
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOIDCProvidersRequest;
7858
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOIDCProvidersRequest;
7859
+ static equals(a: ListOIDCProvidersRequest | PlainMessage<ListOIDCProvidersRequest> | undefined, b: ListOIDCProvidersRequest | PlainMessage<ListOIDCProvidersRequest> | undefined): boolean;
7860
+ }
7861
+ /**
7862
+ * @generated from message wg.cosmo.platform.v1.ListOIDCProvidersResponse
7863
+ */
7864
+ export declare class ListOIDCProvidersResponse extends Message<ListOIDCProvidersResponse> {
7865
+ /**
7866
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
7867
+ */
7868
+ response?: Response;
7869
+ /**
7870
+ * @generated from field: repeated wg.cosmo.platform.v1.OIDCProvider providers = 2;
7871
+ */
7872
+ providers: OIDCProvider[];
7873
+ constructor(data?: PartialMessage<ListOIDCProvidersResponse>);
7874
+ static readonly runtime: typeof proto3;
7875
+ static readonly typeName = "wg.cosmo.platform.v1.ListOIDCProvidersResponse";
7876
+ static readonly fields: FieldList;
7877
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOIDCProvidersResponse;
7878
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOIDCProvidersResponse;
7879
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOIDCProvidersResponse;
7880
+ static equals(a: ListOIDCProvidersResponse | PlainMessage<ListOIDCProvidersResponse> | undefined, b: ListOIDCProvidersResponse | PlainMessage<ListOIDCProvidersResponse> | undefined): boolean;
7881
+ }
7619
7882
  /**
7620
7883
  * @generated from message wg.cosmo.platform.v1.GetOIDCProviderRequest
7621
7884
  */
7622
7885
  export declare class GetOIDCProviderRequest extends Message<GetOIDCProviderRequest> {
7886
+ /**
7887
+ * @generated from field: string id = 1;
7888
+ */
7889
+ id: string;
7623
7890
  constructor(data?: PartialMessage<GetOIDCProviderRequest>);
7624
7891
  static readonly runtime: typeof proto3;
7625
7892
  static readonly typeName = "wg.cosmo.platform.v1.GetOIDCProviderRequest";
@@ -7674,6 +7941,10 @@ export declare class GetOIDCProviderResponse extends Message<GetOIDCProviderResp
7674
7941
  * @generated from message wg.cosmo.platform.v1.DeleteOIDCProviderRequest
7675
7942
  */
7676
7943
  export declare class DeleteOIDCProviderRequest extends Message<DeleteOIDCProviderRequest> {
7944
+ /**
7945
+ * @generated from field: string id = 1;
7946
+ */
7947
+ id: string;
7677
7948
  constructor(data?: PartialMessage<DeleteOIDCProviderRequest>);
7678
7949
  static readonly runtime: typeof proto3;
7679
7950
  static readonly typeName = "wg.cosmo.platform.v1.DeleteOIDCProviderRequest";
@@ -7708,6 +7979,10 @@ export declare class UpdateIDPMappersRequest extends Message<UpdateIDPMappersReq
7708
7979
  * @generated from field: repeated wg.cosmo.platform.v1.GroupMapper mappers = 1;
7709
7980
  */
7710
7981
  mappers: GroupMapper[];
7982
+ /**
7983
+ * @generated from field: string id = 2;
7984
+ */
7985
+ id: string;
7711
7986
  constructor(data?: PartialMessage<UpdateIDPMappersRequest>);
7712
7987
  static readonly runtime: typeof proto3;
7713
7988
  static readonly typeName = "wg.cosmo.platform.v1.UpdateIDPMappersRequest";
@@ -12504,6 +12779,244 @@ export declare class GetNamespaceProposalConfigResponse extends Message<GetNames
12504
12779
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNamespaceProposalConfigResponse;
12505
12780
  static equals(a: GetNamespaceProposalConfigResponse | PlainMessage<GetNamespaceProposalConfigResponse> | undefined, b: GetNamespaceProposalConfigResponse | PlainMessage<GetNamespaceProposalConfigResponse> | undefined): boolean;
12506
12781
  }
12782
+ /**
12783
+ * @generated from message wg.cosmo.platform.v1.NamespaceLoginMethodMapping
12784
+ */
12785
+ export declare class NamespaceLoginMethodMapping extends Message<NamespaceLoginMethodMapping> {
12786
+ /**
12787
+ * @generated from field: string namespace_id = 1;
12788
+ */
12789
+ namespaceId: string;
12790
+ /**
12791
+ * @generated from field: repeated string allowed_sso_provider_ids = 2;
12792
+ */
12793
+ allowedSsoProviderIds: string[];
12794
+ /**
12795
+ * @generated from field: bool allow_password_login = 3;
12796
+ */
12797
+ allowPasswordLogin: boolean;
12798
+ /**
12799
+ * @generated from field: bool allow_google_login = 4;
12800
+ */
12801
+ allowGoogleLogin: boolean;
12802
+ /**
12803
+ * @generated from field: bool allow_github_login = 5;
12804
+ */
12805
+ allowGithubLogin: boolean;
12806
+ constructor(data?: PartialMessage<NamespaceLoginMethodMapping>);
12807
+ static readonly runtime: typeof proto3;
12808
+ static readonly typeName = "wg.cosmo.platform.v1.NamespaceLoginMethodMapping";
12809
+ static readonly fields: FieldList;
12810
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NamespaceLoginMethodMapping;
12811
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NamespaceLoginMethodMapping;
12812
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NamespaceLoginMethodMapping;
12813
+ static equals(a: NamespaceLoginMethodMapping | PlainMessage<NamespaceLoginMethodMapping> | undefined, b: NamespaceLoginMethodMapping | PlainMessage<NamespaceLoginMethodMapping> | undefined): boolean;
12814
+ }
12815
+ /**
12816
+ * @generated from message wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsRequest
12817
+ */
12818
+ export declare class UpdateNamespaceLoginMethodsRequest extends Message<UpdateNamespaceLoginMethodsRequest> {
12819
+ /**
12820
+ * @generated from field: repeated wg.cosmo.platform.v1.NamespaceLoginMethodMapping mappings = 1;
12821
+ */
12822
+ mappings: NamespaceLoginMethodMapping[];
12823
+ constructor(data?: PartialMessage<UpdateNamespaceLoginMethodsRequest>);
12824
+ static readonly runtime: typeof proto3;
12825
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsRequest";
12826
+ static readonly fields: FieldList;
12827
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateNamespaceLoginMethodsRequest;
12828
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateNamespaceLoginMethodsRequest;
12829
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateNamespaceLoginMethodsRequest;
12830
+ static equals(a: UpdateNamespaceLoginMethodsRequest | PlainMessage<UpdateNamespaceLoginMethodsRequest> | undefined, b: UpdateNamespaceLoginMethodsRequest | PlainMessage<UpdateNamespaceLoginMethodsRequest> | undefined): boolean;
12831
+ }
12832
+ /**
12833
+ * @generated from message wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsResponse
12834
+ */
12835
+ export declare class UpdateNamespaceLoginMethodsResponse extends Message<UpdateNamespaceLoginMethodsResponse> {
12836
+ /**
12837
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12838
+ */
12839
+ response?: Response;
12840
+ constructor(data?: PartialMessage<UpdateNamespaceLoginMethodsResponse>);
12841
+ static readonly runtime: typeof proto3;
12842
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsResponse";
12843
+ static readonly fields: FieldList;
12844
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateNamespaceLoginMethodsResponse;
12845
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateNamespaceLoginMethodsResponse;
12846
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateNamespaceLoginMethodsResponse;
12847
+ static equals(a: UpdateNamespaceLoginMethodsResponse | PlainMessage<UpdateNamespaceLoginMethodsResponse> | undefined, b: UpdateNamespaceLoginMethodsResponse | PlainMessage<UpdateNamespaceLoginMethodsResponse> | undefined): boolean;
12848
+ }
12849
+ /**
12850
+ * @generated from message wg.cosmo.platform.v1.ListNamespaceLoginMethodsRequest
12851
+ */
12852
+ export declare class ListNamespaceLoginMethodsRequest extends Message<ListNamespaceLoginMethodsRequest> {
12853
+ constructor(data?: PartialMessage<ListNamespaceLoginMethodsRequest>);
12854
+ static readonly runtime: typeof proto3;
12855
+ static readonly typeName = "wg.cosmo.platform.v1.ListNamespaceLoginMethodsRequest";
12856
+ static readonly fields: FieldList;
12857
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListNamespaceLoginMethodsRequest;
12858
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListNamespaceLoginMethodsRequest;
12859
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListNamespaceLoginMethodsRequest;
12860
+ static equals(a: ListNamespaceLoginMethodsRequest | PlainMessage<ListNamespaceLoginMethodsRequest> | undefined, b: ListNamespaceLoginMethodsRequest | PlainMessage<ListNamespaceLoginMethodsRequest> | undefined): boolean;
12861
+ }
12862
+ /**
12863
+ * @generated from message wg.cosmo.platform.v1.ListNamespaceLoginMethodsResponse
12864
+ */
12865
+ export declare class ListNamespaceLoginMethodsResponse extends Message<ListNamespaceLoginMethodsResponse> {
12866
+ /**
12867
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12868
+ */
12869
+ response?: Response;
12870
+ /**
12871
+ * One entry per namespace that is restricted to specific login methods.
12872
+ * Namespaces with no mapping (default-open) are omitted.
12873
+ *
12874
+ * @generated from field: repeated wg.cosmo.platform.v1.NamespaceLoginMethodMapping mappings = 2;
12875
+ */
12876
+ mappings: NamespaceLoginMethodMapping[];
12877
+ constructor(data?: PartialMessage<ListNamespaceLoginMethodsResponse>);
12878
+ static readonly runtime: typeof proto3;
12879
+ static readonly typeName = "wg.cosmo.platform.v1.ListNamespaceLoginMethodsResponse";
12880
+ static readonly fields: FieldList;
12881
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListNamespaceLoginMethodsResponse;
12882
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListNamespaceLoginMethodsResponse;
12883
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListNamespaceLoginMethodsResponse;
12884
+ static equals(a: ListNamespaceLoginMethodsResponse | PlainMessage<ListNamespaceLoginMethodsResponse> | undefined, b: ListNamespaceLoginMethodsResponse | PlainMessage<ListNamespaceLoginMethodsResponse> | undefined): boolean;
12885
+ }
12886
+ /**
12887
+ * @generated from message wg.cosmo.platform.v1.OrganizationLoginMethods
12888
+ */
12889
+ export declare class OrganizationLoginMethods extends Message<OrganizationLoginMethods> {
12890
+ /**
12891
+ * @generated from field: repeated string allowed_sso_provider_ids = 1;
12892
+ */
12893
+ allowedSsoProviderIds: string[];
12894
+ /**
12895
+ * @generated from field: bool allow_password_login = 2;
12896
+ */
12897
+ allowPasswordLogin: boolean;
12898
+ /**
12899
+ * @generated from field: bool allow_google_login = 3;
12900
+ */
12901
+ allowGoogleLogin: boolean;
12902
+ /**
12903
+ * @generated from field: bool allow_github_login = 4;
12904
+ */
12905
+ allowGithubLogin: boolean;
12906
+ /**
12907
+ * Output only. False when the org has no restriction configured (all methods allowed).
12908
+ *
12909
+ * @generated from field: bool is_restricted = 5;
12910
+ */
12911
+ isRestricted: boolean;
12912
+ constructor(data?: PartialMessage<OrganizationLoginMethods>);
12913
+ static readonly runtime: typeof proto3;
12914
+ static readonly typeName = "wg.cosmo.platform.v1.OrganizationLoginMethods";
12915
+ static readonly fields: FieldList;
12916
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OrganizationLoginMethods;
12917
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OrganizationLoginMethods;
12918
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OrganizationLoginMethods;
12919
+ static equals(a: OrganizationLoginMethods | PlainMessage<OrganizationLoginMethods> | undefined, b: OrganizationLoginMethods | PlainMessage<OrganizationLoginMethods> | undefined): boolean;
12920
+ }
12921
+ /**
12922
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationLoginMethodsRequest
12923
+ */
12924
+ export declare class GetOrganizationLoginMethodsRequest extends Message<GetOrganizationLoginMethodsRequest> {
12925
+ constructor(data?: PartialMessage<GetOrganizationLoginMethodsRequest>);
12926
+ static readonly runtime: typeof proto3;
12927
+ static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationLoginMethodsRequest";
12928
+ static readonly fields: FieldList;
12929
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationLoginMethodsRequest;
12930
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationLoginMethodsRequest;
12931
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationLoginMethodsRequest;
12932
+ static equals(a: GetOrganizationLoginMethodsRequest | PlainMessage<GetOrganizationLoginMethodsRequest> | undefined, b: GetOrganizationLoginMethodsRequest | PlainMessage<GetOrganizationLoginMethodsRequest> | undefined): boolean;
12933
+ }
12934
+ /**
12935
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationLoginMethodsResponse
12936
+ */
12937
+ export declare class GetOrganizationLoginMethodsResponse extends Message<GetOrganizationLoginMethodsResponse> {
12938
+ /**
12939
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12940
+ */
12941
+ response?: Response;
12942
+ /**
12943
+ * @generated from field: wg.cosmo.platform.v1.OrganizationLoginMethods login_methods = 2;
12944
+ */
12945
+ loginMethods?: OrganizationLoginMethods;
12946
+ constructor(data?: PartialMessage<GetOrganizationLoginMethodsResponse>);
12947
+ static readonly runtime: typeof proto3;
12948
+ static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationLoginMethodsResponse";
12949
+ static readonly fields: FieldList;
12950
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationLoginMethodsResponse;
12951
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationLoginMethodsResponse;
12952
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationLoginMethodsResponse;
12953
+ static equals(a: GetOrganizationLoginMethodsResponse | PlainMessage<GetOrganizationLoginMethodsResponse> | undefined, b: GetOrganizationLoginMethodsResponse | PlainMessage<GetOrganizationLoginMethodsResponse> | undefined): boolean;
12954
+ }
12955
+ /**
12956
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsRequest
12957
+ */
12958
+ export declare class UpdateOrganizationLoginMethodsRequest extends Message<UpdateOrganizationLoginMethodsRequest> {
12959
+ /**
12960
+ * @generated from field: repeated string allowed_sso_provider_ids = 1;
12961
+ */
12962
+ allowedSsoProviderIds: string[];
12963
+ /**
12964
+ * @generated from field: bool allow_password_login = 2;
12965
+ */
12966
+ allowPasswordLogin: boolean;
12967
+ /**
12968
+ * @generated from field: bool allow_google_login = 3;
12969
+ */
12970
+ allowGoogleLogin: boolean;
12971
+ /**
12972
+ * @generated from field: bool allow_github_login = 4;
12973
+ */
12974
+ allowGithubLogin: boolean;
12975
+ /**
12976
+ * Set true to confirm that namespace mappings may be altered by this change.
12977
+ * Left false (a preview), if the change would strip methods from existing
12978
+ * namespace mappings the server returns requires_confirmation and makes no changes.
12979
+ *
12980
+ * @generated from field: bool confirm_namespace_changes = 5;
12981
+ */
12982
+ confirmNamespaceChanges: boolean;
12983
+ constructor(data?: PartialMessage<UpdateOrganizationLoginMethodsRequest>);
12984
+ static readonly runtime: typeof proto3;
12985
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsRequest";
12986
+ static readonly fields: FieldList;
12987
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationLoginMethodsRequest;
12988
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationLoginMethodsRequest;
12989
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationLoginMethodsRequest;
12990
+ static equals(a: UpdateOrganizationLoginMethodsRequest | PlainMessage<UpdateOrganizationLoginMethodsRequest> | undefined, b: UpdateOrganizationLoginMethodsRequest | PlainMessage<UpdateOrganizationLoginMethodsRequest> | undefined): boolean;
12991
+ }
12992
+ /**
12993
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsResponse
12994
+ */
12995
+ export declare class UpdateOrganizationLoginMethodsResponse extends Message<UpdateOrganizationLoginMethodsResponse> {
12996
+ /**
12997
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12998
+ */
12999
+ response?: Response;
13000
+ /**
13001
+ * True when the change needs confirmation because it would alter namespace
13002
+ * mappings listed in affected_namespaces. No changes were made in this case.
13003
+ *
13004
+ * @generated from field: bool requires_confirmation = 2;
13005
+ */
13006
+ requiresConfirmation: boolean;
13007
+ /**
13008
+ * @generated from field: repeated wg.cosmo.platform.v1.Namespace affected_namespaces = 3;
13009
+ */
13010
+ affectedNamespaces: Namespace[];
13011
+ constructor(data?: PartialMessage<UpdateOrganizationLoginMethodsResponse>);
13012
+ static readonly runtime: typeof proto3;
13013
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsResponse";
13014
+ static readonly fields: FieldList;
13015
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationLoginMethodsResponse;
13016
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationLoginMethodsResponse;
13017
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationLoginMethodsResponse;
13018
+ static equals(a: UpdateOrganizationLoginMethodsResponse | PlainMessage<UpdateOrganizationLoginMethodsResponse> | undefined, b: UpdateOrganizationLoginMethodsResponse | PlainMessage<UpdateOrganizationLoginMethodsResponse> | undefined): boolean;
13019
+ }
12507
13020
  /**
12508
13021
  * @generated from message wg.cosmo.platform.v1.GetOperationsRequest
12509
13022
  */