@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.
@@ -639,6 +639,107 @@ export declare class SubgraphPublishStats extends Message<SubgraphPublishStats>
639
639
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubgraphPublishStats;
640
640
  static equals(a: SubgraphPublishStats | PlainMessage<SubgraphPublishStats> | undefined, b: SubgraphPublishStats | PlainMessage<SubgraphPublishStats> | undefined): boolean;
641
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
+ }
642
743
  /**
643
744
  * @generated from message wg.cosmo.platform.v1.GitInfo
644
745
  */
@@ -7654,9 +7755,9 @@ export declare class CreateOIDCProviderRequest extends Message<CreateOIDCProvide
7654
7755
  */
7655
7756
  clientID: string;
7656
7757
  /**
7657
- * @generated from field: string clientSecrect = 4;
7758
+ * @generated from field: string clientSecret = 4;
7658
7759
  */
7659
- clientSecrect: string;
7760
+ clientSecret: string;
7660
7761
  /**
7661
7762
  * @generated from field: repeated wg.cosmo.platform.v1.GroupMapper mappers = 5;
7662
7763
  */
@@ -10177,6 +10278,10 @@ export declare class UpdateFeatureFlagResponse extends Message<UpdateFeatureFlag
10177
10278
  * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
10178
10279
  */
10179
10280
  compositionWarnings: CompositionWarning[];
10281
+ /**
10282
+ * @generated from field: optional bool has_changed = 5;
10283
+ */
10284
+ hasChanged?: boolean;
10180
10285
  constructor(data?: PartialMessage<UpdateFeatureFlagResponse>);
10181
10286
  static readonly runtime: typeof proto3;
10182
10287
  static readonly typeName = "wg.cosmo.platform.v1.UpdateFeatureFlagResponse";
@@ -12679,9 +12784,9 @@ export declare class GetNamespaceProposalConfigResponse extends Message<GetNames
12679
12784
  static equals(a: GetNamespaceProposalConfigResponse | PlainMessage<GetNamespaceProposalConfigResponse> | undefined, b: GetNamespaceProposalConfigResponse | PlainMessage<GetNamespaceProposalConfigResponse> | undefined): boolean;
12680
12785
  }
12681
12786
  /**
12682
- * @generated from message wg.cosmo.platform.v1.NamespaceSSOMapping
12787
+ * @generated from message wg.cosmo.platform.v1.NamespaceLoginMethodMapping
12683
12788
  */
12684
- export declare class NamespaceSSOMapping extends Message<NamespaceSSOMapping> {
12789
+ export declare class NamespaceLoginMethodMapping extends Message<NamespaceLoginMethodMapping> {
12685
12790
  /**
12686
12791
  * @generated from field: string namespace_id = 1;
12687
12792
  */
@@ -12702,66 +12807,66 @@ export declare class NamespaceSSOMapping extends Message<NamespaceSSOMapping> {
12702
12807
  * @generated from field: bool allow_github_login = 5;
12703
12808
  */
12704
12809
  allowGithubLogin: boolean;
12705
- constructor(data?: PartialMessage<NamespaceSSOMapping>);
12810
+ constructor(data?: PartialMessage<NamespaceLoginMethodMapping>);
12706
12811
  static readonly runtime: typeof proto3;
12707
- static readonly typeName = "wg.cosmo.platform.v1.NamespaceSSOMapping";
12812
+ static readonly typeName = "wg.cosmo.platform.v1.NamespaceLoginMethodMapping";
12708
12813
  static readonly fields: FieldList;
12709
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NamespaceSSOMapping;
12710
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NamespaceSSOMapping;
12711
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NamespaceSSOMapping;
12712
- static equals(a: NamespaceSSOMapping | PlainMessage<NamespaceSSOMapping> | undefined, b: NamespaceSSOMapping | PlainMessage<NamespaceSSOMapping> | undefined): boolean;
12814
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NamespaceLoginMethodMapping;
12815
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NamespaceLoginMethodMapping;
12816
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NamespaceLoginMethodMapping;
12817
+ static equals(a: NamespaceLoginMethodMapping | PlainMessage<NamespaceLoginMethodMapping> | undefined, b: NamespaceLoginMethodMapping | PlainMessage<NamespaceLoginMethodMapping> | undefined): boolean;
12713
12818
  }
12714
12819
  /**
12715
- * @generated from message wg.cosmo.platform.v1.UpdateNamespaceSSOMappingsRequest
12820
+ * @generated from message wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsRequest
12716
12821
  */
12717
- export declare class UpdateNamespaceSSOMappingsRequest extends Message<UpdateNamespaceSSOMappingsRequest> {
12822
+ export declare class UpdateNamespaceLoginMethodsRequest extends Message<UpdateNamespaceLoginMethodsRequest> {
12718
12823
  /**
12719
- * @generated from field: repeated wg.cosmo.platform.v1.NamespaceSSOMapping mappings = 1;
12824
+ * @generated from field: repeated wg.cosmo.platform.v1.NamespaceLoginMethodMapping mappings = 1;
12720
12825
  */
12721
- mappings: NamespaceSSOMapping[];
12722
- constructor(data?: PartialMessage<UpdateNamespaceSSOMappingsRequest>);
12826
+ mappings: NamespaceLoginMethodMapping[];
12827
+ constructor(data?: PartialMessage<UpdateNamespaceLoginMethodsRequest>);
12723
12828
  static readonly runtime: typeof proto3;
12724
- static readonly typeName = "wg.cosmo.platform.v1.UpdateNamespaceSSOMappingsRequest";
12829
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsRequest";
12725
12830
  static readonly fields: FieldList;
12726
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateNamespaceSSOMappingsRequest;
12727
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateNamespaceSSOMappingsRequest;
12728
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateNamespaceSSOMappingsRequest;
12729
- static equals(a: UpdateNamespaceSSOMappingsRequest | PlainMessage<UpdateNamespaceSSOMappingsRequest> | undefined, b: UpdateNamespaceSSOMappingsRequest | PlainMessage<UpdateNamespaceSSOMappingsRequest> | undefined): boolean;
12831
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateNamespaceLoginMethodsRequest;
12832
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateNamespaceLoginMethodsRequest;
12833
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateNamespaceLoginMethodsRequest;
12834
+ static equals(a: UpdateNamespaceLoginMethodsRequest | PlainMessage<UpdateNamespaceLoginMethodsRequest> | undefined, b: UpdateNamespaceLoginMethodsRequest | PlainMessage<UpdateNamespaceLoginMethodsRequest> | undefined): boolean;
12730
12835
  }
12731
12836
  /**
12732
- * @generated from message wg.cosmo.platform.v1.UpdateNamespaceSSOMappingsResponse
12837
+ * @generated from message wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsResponse
12733
12838
  */
12734
- export declare class UpdateNamespaceSSOMappingsResponse extends Message<UpdateNamespaceSSOMappingsResponse> {
12839
+ export declare class UpdateNamespaceLoginMethodsResponse extends Message<UpdateNamespaceLoginMethodsResponse> {
12735
12840
  /**
12736
12841
  * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12737
12842
  */
12738
12843
  response?: Response;
12739
- constructor(data?: PartialMessage<UpdateNamespaceSSOMappingsResponse>);
12844
+ constructor(data?: PartialMessage<UpdateNamespaceLoginMethodsResponse>);
12740
12845
  static readonly runtime: typeof proto3;
12741
- static readonly typeName = "wg.cosmo.platform.v1.UpdateNamespaceSSOMappingsResponse";
12846
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateNamespaceLoginMethodsResponse";
12742
12847
  static readonly fields: FieldList;
12743
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateNamespaceSSOMappingsResponse;
12744
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateNamespaceSSOMappingsResponse;
12745
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateNamespaceSSOMappingsResponse;
12746
- static equals(a: UpdateNamespaceSSOMappingsResponse | PlainMessage<UpdateNamespaceSSOMappingsResponse> | undefined, b: UpdateNamespaceSSOMappingsResponse | PlainMessage<UpdateNamespaceSSOMappingsResponse> | undefined): boolean;
12848
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateNamespaceLoginMethodsResponse;
12849
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateNamespaceLoginMethodsResponse;
12850
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateNamespaceLoginMethodsResponse;
12851
+ static equals(a: UpdateNamespaceLoginMethodsResponse | PlainMessage<UpdateNamespaceLoginMethodsResponse> | undefined, b: UpdateNamespaceLoginMethodsResponse | PlainMessage<UpdateNamespaceLoginMethodsResponse> | undefined): boolean;
12747
12852
  }
12748
12853
  /**
12749
- * @generated from message wg.cosmo.platform.v1.ListNamespaceSSOMappingsRequest
12854
+ * @generated from message wg.cosmo.platform.v1.ListNamespaceLoginMethodsRequest
12750
12855
  */
12751
- export declare class ListNamespaceSSOMappingsRequest extends Message<ListNamespaceSSOMappingsRequest> {
12752
- constructor(data?: PartialMessage<ListNamespaceSSOMappingsRequest>);
12856
+ export declare class ListNamespaceLoginMethodsRequest extends Message<ListNamespaceLoginMethodsRequest> {
12857
+ constructor(data?: PartialMessage<ListNamespaceLoginMethodsRequest>);
12753
12858
  static readonly runtime: typeof proto3;
12754
- static readonly typeName = "wg.cosmo.platform.v1.ListNamespaceSSOMappingsRequest";
12859
+ static readonly typeName = "wg.cosmo.platform.v1.ListNamespaceLoginMethodsRequest";
12755
12860
  static readonly fields: FieldList;
12756
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListNamespaceSSOMappingsRequest;
12757
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListNamespaceSSOMappingsRequest;
12758
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListNamespaceSSOMappingsRequest;
12759
- static equals(a: ListNamespaceSSOMappingsRequest | PlainMessage<ListNamespaceSSOMappingsRequest> | undefined, b: ListNamespaceSSOMappingsRequest | PlainMessage<ListNamespaceSSOMappingsRequest> | undefined): boolean;
12861
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListNamespaceLoginMethodsRequest;
12862
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListNamespaceLoginMethodsRequest;
12863
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListNamespaceLoginMethodsRequest;
12864
+ static equals(a: ListNamespaceLoginMethodsRequest | PlainMessage<ListNamespaceLoginMethodsRequest> | undefined, b: ListNamespaceLoginMethodsRequest | PlainMessage<ListNamespaceLoginMethodsRequest> | undefined): boolean;
12760
12865
  }
12761
12866
  /**
12762
- * @generated from message wg.cosmo.platform.v1.ListNamespaceSSOMappingsResponse
12867
+ * @generated from message wg.cosmo.platform.v1.ListNamespaceLoginMethodsResponse
12763
12868
  */
12764
- export declare class ListNamespaceSSOMappingsResponse extends Message<ListNamespaceSSOMappingsResponse> {
12869
+ export declare class ListNamespaceLoginMethodsResponse extends Message<ListNamespaceLoginMethodsResponse> {
12765
12870
  /**
12766
12871
  * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12767
12872
  */
@@ -12770,17 +12875,151 @@ export declare class ListNamespaceSSOMappingsResponse extends Message<ListNamesp
12770
12875
  * One entry per namespace that is restricted to specific login methods.
12771
12876
  * Namespaces with no mapping (default-open) are omitted.
12772
12877
  *
12773
- * @generated from field: repeated wg.cosmo.platform.v1.NamespaceSSOMapping mappings = 2;
12878
+ * @generated from field: repeated wg.cosmo.platform.v1.NamespaceLoginMethodMapping mappings = 2;
12879
+ */
12880
+ mappings: NamespaceLoginMethodMapping[];
12881
+ constructor(data?: PartialMessage<ListNamespaceLoginMethodsResponse>);
12882
+ static readonly runtime: typeof proto3;
12883
+ static readonly typeName = "wg.cosmo.platform.v1.ListNamespaceLoginMethodsResponse";
12884
+ static readonly fields: FieldList;
12885
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListNamespaceLoginMethodsResponse;
12886
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListNamespaceLoginMethodsResponse;
12887
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListNamespaceLoginMethodsResponse;
12888
+ static equals(a: ListNamespaceLoginMethodsResponse | PlainMessage<ListNamespaceLoginMethodsResponse> | undefined, b: ListNamespaceLoginMethodsResponse | PlainMessage<ListNamespaceLoginMethodsResponse> | undefined): boolean;
12889
+ }
12890
+ /**
12891
+ * @generated from message wg.cosmo.platform.v1.OrganizationLoginMethods
12892
+ */
12893
+ export declare class OrganizationLoginMethods extends Message<OrganizationLoginMethods> {
12894
+ /**
12895
+ * @generated from field: repeated string allowed_sso_provider_ids = 1;
12896
+ */
12897
+ allowedSsoProviderIds: string[];
12898
+ /**
12899
+ * @generated from field: bool allow_password_login = 2;
12900
+ */
12901
+ allowPasswordLogin: boolean;
12902
+ /**
12903
+ * @generated from field: bool allow_google_login = 3;
12904
+ */
12905
+ allowGoogleLogin: boolean;
12906
+ /**
12907
+ * @generated from field: bool allow_github_login = 4;
12908
+ */
12909
+ allowGithubLogin: boolean;
12910
+ /**
12911
+ * Output only. False when the org has no restriction configured (all methods allowed).
12912
+ *
12913
+ * @generated from field: bool is_restricted = 5;
12914
+ */
12915
+ isRestricted: boolean;
12916
+ constructor(data?: PartialMessage<OrganizationLoginMethods>);
12917
+ static readonly runtime: typeof proto3;
12918
+ static readonly typeName = "wg.cosmo.platform.v1.OrganizationLoginMethods";
12919
+ static readonly fields: FieldList;
12920
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OrganizationLoginMethods;
12921
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OrganizationLoginMethods;
12922
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OrganizationLoginMethods;
12923
+ static equals(a: OrganizationLoginMethods | PlainMessage<OrganizationLoginMethods> | undefined, b: OrganizationLoginMethods | PlainMessage<OrganizationLoginMethods> | undefined): boolean;
12924
+ }
12925
+ /**
12926
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationLoginMethodsRequest
12927
+ */
12928
+ export declare class GetOrganizationLoginMethodsRequest extends Message<GetOrganizationLoginMethodsRequest> {
12929
+ constructor(data?: PartialMessage<GetOrganizationLoginMethodsRequest>);
12930
+ static readonly runtime: typeof proto3;
12931
+ static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationLoginMethodsRequest";
12932
+ static readonly fields: FieldList;
12933
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationLoginMethodsRequest;
12934
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationLoginMethodsRequest;
12935
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationLoginMethodsRequest;
12936
+ static equals(a: GetOrganizationLoginMethodsRequest | PlainMessage<GetOrganizationLoginMethodsRequest> | undefined, b: GetOrganizationLoginMethodsRequest | PlainMessage<GetOrganizationLoginMethodsRequest> | undefined): boolean;
12937
+ }
12938
+ /**
12939
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationLoginMethodsResponse
12940
+ */
12941
+ export declare class GetOrganizationLoginMethodsResponse extends Message<GetOrganizationLoginMethodsResponse> {
12942
+ /**
12943
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12944
+ */
12945
+ response?: Response;
12946
+ /**
12947
+ * @generated from field: wg.cosmo.platform.v1.OrganizationLoginMethods login_methods = 2;
12948
+ */
12949
+ loginMethods?: OrganizationLoginMethods;
12950
+ constructor(data?: PartialMessage<GetOrganizationLoginMethodsResponse>);
12951
+ static readonly runtime: typeof proto3;
12952
+ static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationLoginMethodsResponse";
12953
+ static readonly fields: FieldList;
12954
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationLoginMethodsResponse;
12955
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationLoginMethodsResponse;
12956
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationLoginMethodsResponse;
12957
+ static equals(a: GetOrganizationLoginMethodsResponse | PlainMessage<GetOrganizationLoginMethodsResponse> | undefined, b: GetOrganizationLoginMethodsResponse | PlainMessage<GetOrganizationLoginMethodsResponse> | undefined): boolean;
12958
+ }
12959
+ /**
12960
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsRequest
12961
+ */
12962
+ export declare class UpdateOrganizationLoginMethodsRequest extends Message<UpdateOrganizationLoginMethodsRequest> {
12963
+ /**
12964
+ * @generated from field: repeated string allowed_sso_provider_ids = 1;
12965
+ */
12966
+ allowedSsoProviderIds: string[];
12967
+ /**
12968
+ * @generated from field: bool allow_password_login = 2;
12969
+ */
12970
+ allowPasswordLogin: boolean;
12971
+ /**
12972
+ * @generated from field: bool allow_google_login = 3;
12973
+ */
12974
+ allowGoogleLogin: boolean;
12975
+ /**
12976
+ * @generated from field: bool allow_github_login = 4;
12977
+ */
12978
+ allowGithubLogin: boolean;
12979
+ /**
12980
+ * Set true to confirm that namespace mappings may be altered by this change.
12981
+ * Left false (a preview), if the change would strip methods from existing
12982
+ * namespace mappings the server returns requires_confirmation and makes no changes.
12983
+ *
12984
+ * @generated from field: bool confirm_namespace_changes = 5;
12985
+ */
12986
+ confirmNamespaceChanges: boolean;
12987
+ constructor(data?: PartialMessage<UpdateOrganizationLoginMethodsRequest>);
12988
+ static readonly runtime: typeof proto3;
12989
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsRequest";
12990
+ static readonly fields: FieldList;
12991
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationLoginMethodsRequest;
12992
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationLoginMethodsRequest;
12993
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationLoginMethodsRequest;
12994
+ static equals(a: UpdateOrganizationLoginMethodsRequest | PlainMessage<UpdateOrganizationLoginMethodsRequest> | undefined, b: UpdateOrganizationLoginMethodsRequest | PlainMessage<UpdateOrganizationLoginMethodsRequest> | undefined): boolean;
12995
+ }
12996
+ /**
12997
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsResponse
12998
+ */
12999
+ export declare class UpdateOrganizationLoginMethodsResponse extends Message<UpdateOrganizationLoginMethodsResponse> {
13000
+ /**
13001
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13002
+ */
13003
+ response?: Response;
13004
+ /**
13005
+ * True when the change needs confirmation because it would alter namespace
13006
+ * mappings listed in affected_namespaces. No changes were made in this case.
13007
+ *
13008
+ * @generated from field: bool requires_confirmation = 2;
13009
+ */
13010
+ requiresConfirmation: boolean;
13011
+ /**
13012
+ * @generated from field: repeated wg.cosmo.platform.v1.Namespace affected_namespaces = 3;
12774
13013
  */
12775
- mappings: NamespaceSSOMapping[];
12776
- constructor(data?: PartialMessage<ListNamespaceSSOMappingsResponse>);
13014
+ affectedNamespaces: Namespace[];
13015
+ constructor(data?: PartialMessage<UpdateOrganizationLoginMethodsResponse>);
12777
13016
  static readonly runtime: typeof proto3;
12778
- static readonly typeName = "wg.cosmo.platform.v1.ListNamespaceSSOMappingsResponse";
13017
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrganizationLoginMethodsResponse";
12779
13018
  static readonly fields: FieldList;
12780
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListNamespaceSSOMappingsResponse;
12781
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListNamespaceSSOMappingsResponse;
12782
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListNamespaceSSOMappingsResponse;
12783
- static equals(a: ListNamespaceSSOMappingsResponse | PlainMessage<ListNamespaceSSOMappingsResponse> | undefined, b: ListNamespaceSSOMappingsResponse | PlainMessage<ListNamespaceSSOMappingsResponse> | undefined): boolean;
13019
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationLoginMethodsResponse;
13020
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationLoginMethodsResponse;
13021
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationLoginMethodsResponse;
13022
+ static equals(a: UpdateOrganizationLoginMethodsResponse | PlainMessage<UpdateOrganizationLoginMethodsResponse> | undefined, b: UpdateOrganizationLoginMethodsResponse | PlainMessage<UpdateOrganizationLoginMethodsResponse> | undefined): boolean;
12784
13023
  }
12785
13024
  /**
12786
13025
  * @generated from message wg.cosmo.platform.v1.GetOperationsRequest