UNPKG

@wundergraph/cosmo-connect

Version:

TypeScript Connect client for WunderGraph Cosmo

1,055 lines (1,054 loc) 81.4 kB
// https://protobuf.dev/programming-guides/style/ // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts" // @generated from file wg/cosmo/platform/v1/platform.proto (package wg.cosmo.platform.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import { AcceptOrDeclineInvitationRequest, AcceptOrDeclineInvitationResponse, AddReadmeRequest, AddReadmeResponse, CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, ComputeCacheWarmerOperationsRequest, ComputeCacheWarmerOperationsResponse, ConfigureCacheWarmerRequest, ConfigureCacheWarmerResponse, ConfigureNamespaceGraphPruningConfigRequest, ConfigureNamespaceGraphPruningConfigResponse, ConfigureNamespaceLintConfigRequest, ConfigureNamespaceLintConfigResponse, ConfigureNamespaceProposalConfigRequest, ConfigureNamespaceProposalConfigResponse, ConfigureSubgraphCheckExtensionsRequest, ConfigureSubgraphCheckExtensionsResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateBillingPortalSessionRequest, CreateBillingPortalSessionResponse, CreateCheckoutSessionRequest, CreateCheckoutSessionResponse, CreateContractRequest, CreateContractResponse, CreateFeatureFlagRequest, CreateFeatureFlagResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, CreateIgnoreOverridesForAllOperationsRequest, CreateIgnoreOverridesForAllOperationsResponse, CreateIntegrationRequest, CreateIntegrationResponse, CreateMonographRequest, CreateMonographResponse, CreateNamespaceRequest, CreateNamespaceResponse, CreateOIDCProviderRequest, CreateOIDCProviderResponse, CreateOperationIgnoreAllOverrideRequest, CreateOperationIgnoreAllOverrideResponse, CreateOperationOverridesRequest, CreateOperationOverridesResponse, CreateOrganizationGroupRequest, CreateOrganizationGroupResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOrganizationWebhookConfigRequest, CreateOrganizationWebhookConfigResponse, CreatePlaygroundScriptRequest, CreatePlaygroundScriptResponse, CreateProposalRequest, CreateProposalResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteCacheWarmerOperationRequest, DeleteCacheWarmerOperationResponse, DeleteFeatureFlagRequest, DeleteFeatureFlagResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, DeleteIntegrationRequest, DeleteIntegrationResponse, DeleteMonographRequest, DeleteMonographResponse, DeleteNamespaceRequest, DeleteNamespaceResponse, DeleteOIDCProviderRequest, DeleteOIDCProviderResponse, DeleteOrganizationGroupRequest, DeleteOrganizationGroupResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteOrganizationWebhookConfigRequest, DeleteOrganizationWebhookConfigResponse, DeletePlaygroundScriptRequest, DeletePlaygroundScriptResponse, DeleteRouterTokenRequest, DeleteRouterTokenResponse, DeleteUserRequest, DeleteUserResponse, EnableFeatureFlagRequest, EnableFeatureFlagResponse, EnableGraphPruningRequest, EnableGraphPruningResponse, EnableLintingForTheNamespaceRequest, EnableLintingForTheNamespaceResponse, EnableProposalsForNamespaceRequest, EnableProposalsForNamespaceResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, ForceCheckSuccessRequest, ForceCheckSuccessResponse, GenerateRouterTokenRequest, GenerateRouterTokenResponse, GetAllOverridesRequest, GetAllOverridesResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetAuditLogsRequest, GetAuditLogsResponse, GetBillingPlansRequest, GetBillingPlansResponse, GetCacheWarmerConfigRequest, GetCacheWarmerConfigResponse, GetCacheWarmerOperationsRequest, GetCacheWarmerOperationsResponse, GetChangelogBySchemaVersionRequest, GetChangelogBySchemaVersionResponse, GetCheckOperationsRequest, GetCheckOperationsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetCheckSummaryRequest, GetCheckSummaryResponse, GetClientsFromAnalyticsRequest, GetClientsFromAnalyticsResponse, GetClientsRequest, GetClientsResponse, GetCompositionDetailsRequest, GetCompositionDetailsResponse, GetCompositionsRequest, GetCompositionsResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFeatureFlagByNameRequest, GetFeatureFlagByNameResponse, GetFeatureFlagsByFederatedGraphRequest, GetFeatureFlagsByFederatedGraphResponse, GetFeatureFlagsRequest, GetFeatureFlagsResponse, GetFeatureSubgraphsByFeatureFlagRequest, GetFeatureSubgraphsByFeatureFlagResponse, GetFeatureSubgraphsRequest, GetFeatureSubgraphsResponse, GetFederatedGraphByIdRequest, GetFederatedGraphByIdResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphsBySubgraphLabelsRequest, GetFederatedGraphsBySubgraphLabelsResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFieldUsageRequest, GetFieldUsageResponse, GetGraphMetricsRequest, GetGraphMetricsResponse, GetInvitationsRequest, GetInvitationsResponse, GetLatestSubgraphSDLRequest, GetLatestSubgraphSDLResponse, GetMetricsErrorRateRequest, GetMetricsErrorRateResponse, GetNamespaceChecksConfigurationRequest, GetNamespaceChecksConfigurationResponse, GetNamespaceGraphPruningConfigRequest, GetNamespaceGraphPruningConfigResponse, GetNamespaceLintConfigRequest, GetNamespaceLintConfigResponse, GetNamespaceProposalConfigRequest, GetNamespaceProposalConfigResponse, GetNamespaceRequest, GetNamespaceResponse, GetNamespacesRequest, GetNamespacesResponse, GetOIDCProviderRequest, GetOIDCProviderResponse, GetOperationClientsRequest, GetOperationClientsResponse, GetOperationContentRequest, GetOperationContentResponse, GetOperationDeprecatedFieldsRequest, GetOperationDeprecatedFieldsResponse, GetOperationOverridesRequest, GetOperationOverridesResponse, GetOperationsRequest, GetOperationsResponse, GetOrganizationBySlugRequest, GetOrganizationBySlugResponse, GetOrganizationGroupMembersRequest, GetOrganizationGroupMembersResponse, GetOrganizationGroupsRequest, GetOrganizationGroupsResponse, GetOrganizationIntegrationsRequest, GetOrganizationIntegrationsResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetOrganizationRequestsCountRequest, GetOrganizationRequestsCountResponse, GetOrganizationWebhookConfigsRequest, GetOrganizationWebhookConfigsResponse, GetOrganizationWebhookHistoryRequest, GetOrganizationWebhookHistoryResponse, GetOrganizationWebhookMetaRequest, GetOrganizationWebhookMetaResponse, GetPendingOrganizationMembersRequest, GetPendingOrganizationMembersResponse, GetPersistedOperationsRequest, GetPersistedOperationsResponse, GetPlaygroundScriptsRequest, GetPlaygroundScriptsResponse, GetProposalChecksRequest, GetProposalChecksResponse, GetProposalRequest, GetProposalResponse, GetProposalsByFederatedGraphRequest, GetProposalsByFederatedGraphResponse, GetProposedSchemaOfCheckedSubgraphRequest, GetProposedSchemaOfCheckedSubgraphResponse, GetRoutersRequest, GetRoutersResponse, GetRouterTokensRequest, GetRouterTokensResponse, GetSdlBySchemaVersionRequest, GetSdlBySchemaVersionResponse, GetSubgraphByIdRequest, GetSubgraphByIdResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphCheckExtensionsConfigRequest, GetSubgraphCheckExtensionsConfigResponse, GetSubgraphMembersRequest, GetSubgraphMembersResponse, GetSubgraphMetricsErrorRateRequest, GetSubgraphMetricsErrorRateResponse, GetSubgraphMetricsRequest, GetSubgraphMetricsResponse, GetSubgraphSDLFromLatestCompositionRequest, GetSubgraphSDLFromLatestCompositionResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, GetUserAccessiblePermissionsRequest, GetUserAccessiblePermissionsResponse, GetUserAccessibleResourcesRequest, GetUserAccessibleResourcesResponse, GetWebhookDeliveryDetailsRequest, GetWebhookDeliveryDetailsResponse, GetWorkspaceRequest, GetWorkspaceResponse, InviteUserRequest, InviteUserResponse, IsGitHubAppInstalledRequest, IsGitHubAppInstalledResponse, IsMemberLimitReachedRequest, IsMemberLimitReachedResponse, LeaveOrganizationRequest, LeaveOrganizationResponse, LinkSubgraphRequest, LinkSubgraphResponse, ListRouterCompatibilityVersionsRequest, ListRouterCompatibilityVersionsResponse, MigrateFromApolloRequest, MigrateFromApolloResponse, MigrateMonographRequest, MigrateMonographResponse, MoveGraphRequest, MoveGraphResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, PublishMonographRequest, PublishMonographResponse, PublishPersistedOperationsRequest, PublishPersistedOperationsResponse, PushCacheWarmerOperationRequest, PushCacheWarmerOperationResponse, RedeliverWebhookRequest, RedeliverWebhookResponse, RemoveInvitationRequest, RemoveInvitationResponse, RemoveOperationIgnoreAllOverrideRequest, RemoveOperationIgnoreAllOverrideResponse, RemoveOperationOverridesRequest, RemoveOperationOverridesResponse, RemoveOrganizationMemberRequest, RemoveOrganizationMemberResponse, RenameNamespaceRequest, RenameNamespaceResponse, RestoreOrganizationRequest, RestoreOrganizationResponse, SetGraphRouterCompatibilityVersionRequest, SetGraphRouterCompatibilityVersionResponse, ToggleChangeOverridesForAllOperationsRequest, ToggleChangeOverridesForAllOperationsResponse, UnlinkSubgraphRequest, UnlinkSubgraphResponse, UpdateAPIKeyRequest, UpdateAPIKeyResponse, UpdateContractRequest, UpdateContractResponse, UpdateFeatureFlagRequest, UpdateFeatureFlagResponse, UpdateFeatureSettingsRequest, UpdateFeatureSettingsResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateIDPMappersRequest, UpdateIDPMappersResponse, UpdateIntegrationConfigRequest, UpdateIntegrationConfigResponse, UpdateMonographRequest, UpdateMonographResponse, UpdateNamespaceChecksConfigurationRequest, UpdateNamespaceChecksConfigurationResponse, UpdateOrganizationDetailsRequest, UpdateOrganizationDetailsResponse, UpdateOrganizationGroupRequest, UpdateOrganizationGroupResponse, UpdateOrganizationWebhookConfigRequest, UpdateOrganizationWebhookConfigResponse, UpdateOrgMemberGroupRequest, UpdateOrgMemberGroupResponse, UpdatePlaygroundScriptRequest, UpdatePlaygroundScriptResponse, UpdateProposalRequest, UpdateProposalResponse, UpdateSubgraphRequest, UpdateSubgraphResponse, UpgradePlanRequest, UpgradePlanResponse, ValidateAndFetchPluginDataRequest, ValidateAndFetchPluginDataResponse, VerifyAPIKeyGraphAccessRequest, VerifyAPIKeyGraphAccessResponse, WhoAmIRequest, WhoAmIResponse } from "./platform_pb.js"; import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf"; /** * @generated from service wg.cosmo.platform.v1.PlatformService */ export const PlatformService = { typeName: "wg.cosmo.platform.v1.PlatformService", methods: { /** * PlaygroundScripts * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreatePlaygroundScript */ createPlaygroundScript: { name: "CreatePlaygroundScript", I: CreatePlaygroundScriptRequest, O: CreatePlaygroundScriptResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeletePlaygroundScript */ deletePlaygroundScript: { name: "DeletePlaygroundScript", I: DeletePlaygroundScriptRequest, O: DeletePlaygroundScriptResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdatePlaygroundScript */ updatePlaygroundScript: { name: "UpdatePlaygroundScript", I: UpdatePlaygroundScriptRequest, O: UpdatePlaygroundScriptResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetPlaygroundScripts */ getPlaygroundScripts: { name: "GetPlaygroundScripts", I: GetPlaygroundScriptsRequest, O: GetPlaygroundScriptsResponse, kind: MethodKind.Unary, }, /** * Namespaces * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateNamespace */ createNamespace: { name: "CreateNamespace", I: CreateNamespaceRequest, O: CreateNamespaceResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteNamespace */ deleteNamespace: { name: "DeleteNamespace", I: DeleteNamespaceRequest, O: DeleteNamespaceResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.RenameNamespace */ renameNamespace: { name: "RenameNamespace", I: RenameNamespaceRequest, O: RenameNamespaceResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetNamespaces */ getNamespaces: { name: "GetNamespaces", I: GetNamespacesRequest, O: GetNamespacesResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetNamespace */ getNamespace: { name: "GetNamespace", I: GetNamespaceRequest, O: GetNamespaceResponse, kind: MethodKind.Unary, }, /** * Workspace * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetWorkspace */ getWorkspace: { name: "GetWorkspace", I: GetWorkspaceRequest, O: GetWorkspaceResponse, kind: MethodKind.Unary, }, /** * Contracts * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateContract */ createContract: { name: "CreateContract", I: CreateContractRequest, O: CreateContractResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateContract */ updateContract: { name: "UpdateContract", I: UpdateContractRequest, O: UpdateContractResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.MoveFederatedGraph */ moveFederatedGraph: { name: "MoveFederatedGraph", I: MoveGraphRequest, O: MoveGraphResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.MoveSubgraph */ moveSubgraph: { name: "MoveSubgraph", I: MoveGraphRequest, O: MoveGraphResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.MoveMonograph */ moveMonograph: { name: "MoveMonograph", I: MoveGraphRequest, O: MoveGraphResponse, kind: MethodKind.Unary, }, /** * CreateMonograph creates a monograph on the control plane. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateMonograph */ createMonograph: { name: "CreateMonograph", I: CreateMonographRequest, O: CreateMonographResponse, kind: MethodKind.Unary, }, /** * PublishMonograph pushes the schema of the monograph to the control plane. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.PublishMonograph */ publishMonograph: { name: "PublishMonograph", I: PublishMonographRequest, O: PublishMonographResponse, kind: MethodKind.Unary, }, /** * DeleteMonograph deletes a monograph from the control plane. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteMonograph */ deleteMonograph: { name: "DeleteMonograph", I: DeleteMonographRequest, O: DeleteMonographResponse, kind: MethodKind.Unary, }, /** * UpdateMonograph updates a monograph with new urls, subscription config and readme * * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateMonograph */ updateMonograph: { name: "UpdateMonograph", I: UpdateMonographRequest, O: UpdateMonographResponse, kind: MethodKind.Unary, }, /** * MigrateMonograph converts a monograph into a federated graph. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.MigrateMonograph */ migrateMonograph: { name: "MigrateMonograph", I: MigrateMonographRequest, O: MigrateMonographResponse, kind: MethodKind.Unary, }, /** * CreateFederatedSubgraph creates a federated subgraph on the control plane. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateFederatedSubgraph */ createFederatedSubgraph: { name: "CreateFederatedSubgraph", I: CreateFederatedSubgraphRequest, O: CreateFederatedSubgraphResponse, kind: MethodKind.Unary, }, /** * PublishFederatedSubgraph pushes the schema of the subgraph to the control plane. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.PublishFederatedSubgraph */ publishFederatedSubgraph: { name: "PublishFederatedSubgraph", I: PublishFederatedSubgraphRequest, O: PublishFederatedSubgraphResponse, kind: MethodKind.Unary, }, /** * CreateFederatedGraph creates a federated graph on the control plane. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateFederatedGraph */ createFederatedGraph: { name: "CreateFederatedGraph", I: CreateFederatedGraphRequest, O: CreateFederatedGraphResponse, kind: MethodKind.Unary, }, /** * DeleteFederatedGraph deletes a federated graph from the control plane. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteFederatedGraph */ deleteFederatedGraph: { name: "DeleteFederatedGraph", I: DeleteFederatedGraphRequest, O: DeleteFederatedGraphResponse, kind: MethodKind.Unary, }, /** * DeleteFederatedSubgraph deletes a federated subgraph from the control plane. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteFederatedSubgraph */ deleteFederatedSubgraph: { name: "DeleteFederatedSubgraph", I: DeleteFederatedSubgraphRequest, O: DeleteFederatedSubgraphResponse, kind: MethodKind.Unary, }, /** * CheckSubgraphSchema checks if the schema is valid and if it can be composed without conflicts with the provided new subgraph schema. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CheckSubgraphSchema */ checkSubgraphSchema: { name: "CheckSubgraphSchema", I: CheckSubgraphSchemaRequest, O: CheckSubgraphSchemaResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetProposedSchemaOfCheckedSubgraph */ getProposedSchemaOfCheckedSubgraph: { name: "GetProposedSchemaOfCheckedSubgraph", I: GetProposedSchemaOfCheckedSubgraphRequest, O: GetProposedSchemaOfCheckedSubgraphResponse, kind: MethodKind.Unary, }, /** * @generated from rpc wg.cosmo.platform.v1.PlatformService.FixSubgraphSchema */ fixSubgraphSchema: { name: "FixSubgraphSchema", I: FixSubgraphSchemaRequest, O: FixSubgraphSchemaResponse, kind: MethodKind.Unary, }, /** * UpdateFederatedGraph updates a federated graph with new labels and routing url * * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateFederatedGraph */ updateFederatedGraph: { name: "UpdateFederatedGraph", I: UpdateFederatedGraphRequest, O: UpdateFederatedGraphResponse, kind: MethodKind.Unary, }, /** * UpdateSubgraph updates a subgraph with new labels and routing url * * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateSubgraph */ updateSubgraph: { name: "UpdateSubgraph", I: UpdateSubgraphRequest, O: UpdateSubgraphResponse, kind: MethodKind.Unary, }, /** * CheckFederatedGraph checks if the federated graph can be composed with the new labels provided. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CheckFederatedGraph */ checkFederatedGraph: { name: "CheckFederatedGraph", I: CheckFederatedGraphRequest, O: CheckFederatedGraphResponse, kind: MethodKind.Unary, }, /** * WhoAmI returns the identity of the user currently logged in. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.WhoAmI */ whoAmI: { name: "WhoAmI", I: WhoAmIRequest, O: WhoAmIResponse, kind: MethodKind.Unary, }, /** * GenerateRouterToken generates a temporary router token to fetch the router config. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GenerateRouterToken */ generateRouterToken: { name: "GenerateRouterToken", I: GenerateRouterTokenRequest, O: GenerateRouterTokenResponse, kind: MethodKind.Unary, }, /** * GetRouterTokens returns the router tokens of a federated graph. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetRouterTokens */ getRouterTokens: { name: "GetRouterTokens", I: GetRouterTokensRequest, O: GetRouterTokensResponse, kind: MethodKind.Unary, }, /** * DeleteRouterToken deletes the router token of a federated graph. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteRouterToken */ deleteRouterToken: { name: "DeleteRouterToken", I: DeleteRouterTokenRequest, O: DeleteRouterTokenResponse, kind: MethodKind.Unary, }, /** * Add persisted operations * * @generated from rpc wg.cosmo.platform.v1.PlatformService.PublishPersistedOperations */ publishPersistedOperations: { name: "PublishPersistedOperations", I: PublishPersistedOperationsRequest, O: PublishPersistedOperationsResponse, kind: MethodKind.Unary, }, /** * GetPersistedOperations returns operations for the registered client id * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetPersistedOperations */ getPersistedOperations: { name: "GetPersistedOperations", I: GetPersistedOperationsRequest, O: GetPersistedOperationsResponse, kind: MethodKind.Unary, }, /** * GetAuditLogs returns the audit logs of the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetAuditLogs */ getAuditLogs: { name: "GetAuditLogs", I: GetAuditLogsRequest, O: GetAuditLogsResponse, kind: MethodKind.Unary, }, /** * GetFederatedGraphs returns the list of federated graphs. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphs */ getFederatedGraphs: { name: "GetFederatedGraphs", I: GetFederatedGraphsRequest, O: GetFederatedGraphsResponse, kind: MethodKind.Unary, }, /** * GetFederatedGraphsBySubgraphLabels returns the list of federated graphs based on the subgraph labels * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphsBySubgraphLabels */ getFederatedGraphsBySubgraphLabels: { name: "GetFederatedGraphsBySubgraphLabels", I: GetFederatedGraphsBySubgraphLabelsRequest, O: GetFederatedGraphsBySubgraphLabelsResponse, kind: MethodKind.Unary, }, /** * GetFederatedGraphByName returns the federated graph by name. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphByName */ getFederatedGraphByName: { name: "GetFederatedGraphByName", I: GetFederatedGraphByNameRequest, O: GetFederatedGraphByNameResponse, kind: MethodKind.Unary, }, /** * GetFederatedGraphSDLByName returns the latest valid SDL of the federated graph by name. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphSDLByName */ getFederatedGraphSDLByName: { name: "GetFederatedGraphSDLByName", I: GetFederatedGraphSDLByNameRequest, O: GetFederatedGraphSDLByNameResponse, kind: MethodKind.Unary, }, /** * GetSubgraphs returns the list of subgraphs. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetSubgraphs */ getSubgraphs: { name: "GetSubgraphs", I: GetSubgraphsRequest, O: GetSubgraphsResponse, kind: MethodKind.Unary, }, /** * GetSubgraphByName returns the subgraph by name. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetSubgraphByName */ getSubgraphByName: { name: "GetSubgraphByName", I: GetSubgraphByNameRequest, O: GetSubgraphByNameResponse, kind: MethodKind.Unary, }, /** * GetSubgraphSDLFromLatestComposition returns the latest valid SDL of the subgraph composed with the federated graph. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetSubgraphSDLFromLatestComposition */ getSubgraphSDLFromLatestComposition: { name: "GetSubgraphSDLFromLatestComposition", I: GetSubgraphSDLFromLatestCompositionRequest, O: GetSubgraphSDLFromLatestCompositionResponse, kind: MethodKind.Unary, }, /** * GetLatestSubgraphSDL returns the latest SDL of the subgraph by name. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetLatestSubgraphSDL */ getLatestSubgraphSDL: { name: "GetLatestSubgraphSDL", I: GetLatestSubgraphSDLRequest, O: GetLatestSubgraphSDLResponse, kind: MethodKind.Unary, }, /** * GetChecksByFederatedGraphName return schema and composition checks that concern a federated graph * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetChecksByFederatedGraphName */ getChecksByFederatedGraphName: { name: "GetChecksByFederatedGraphName", I: GetChecksByFederatedGraphNameRequest, O: GetChecksByFederatedGraphNameResponse, kind: MethodKind.Unary, }, /** * GetCheckSummary returns top level information about a schema check * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetCheckSummary */ getCheckSummary: { name: "GetCheckSummary", I: GetCheckSummaryRequest, O: GetCheckSummaryResponse, kind: MethodKind.Unary, }, /** * GetCheckOperations returns affected operations for a check * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetCheckOperations */ getCheckOperations: { name: "GetCheckOperations", I: GetCheckOperationsRequest, O: GetCheckOperationsResponse, kind: MethodKind.Unary, }, /** * ForceCheckSuccess forces a failed check to be marked as successful * * @generated from rpc wg.cosmo.platform.v1.PlatformService.ForceCheckSuccess */ forceCheckSuccess: { name: "ForceCheckSuccess", I: ForceCheckSuccessRequest, O: ForceCheckSuccessResponse, kind: MethodKind.Unary, }, /** * CreateOperationOverrides marks if the given set of changes as safe for an operation * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateOperationOverrides */ createOperationOverrides: { name: "CreateOperationOverrides", I: CreateOperationOverridesRequest, O: CreateOperationOverridesResponse, kind: MethodKind.Unary, }, /** * RemoveOperationOverride removes a change from the safe-list for an operation * * @generated from rpc wg.cosmo.platform.v1.PlatformService.RemoveOperationOverrides */ removeOperationOverrides: { name: "RemoveOperationOverrides", I: RemoveOperationOverridesRequest, O: RemoveOperationOverridesResponse, kind: MethodKind.Unary, }, /** * CreateOperationIgnoreAllOverride adds an ignore all override for the operation * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateOperationIgnoreAllOverride */ createOperationIgnoreAllOverride: { name: "CreateOperationIgnoreAllOverride", I: CreateOperationIgnoreAllOverrideRequest, O: CreateOperationIgnoreAllOverrideResponse, kind: MethodKind.Unary, }, /** * RemoveOperationIgnoreAllOverride removes the ignore all override for the operation * * @generated from rpc wg.cosmo.platform.v1.PlatformService.RemoveOperationIgnoreAllOverride */ removeOperationIgnoreAllOverride: { name: "RemoveOperationIgnoreAllOverride", I: RemoveOperationIgnoreAllOverrideRequest, O: RemoveOperationIgnoreAllOverrideResponse, kind: MethodKind.Unary, }, /** * GetOperationOverrides retrieves all overrides for an operation hash * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOperationOverrides */ getOperationOverrides: { name: "GetOperationOverrides", I: GetOperationOverridesRequest, O: GetOperationOverridesResponse, kind: MethodKind.Unary, }, /** * GetAllOverrides returns all overrides for operations within a namespace * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetAllOverrides */ getAllOverrides: { name: "GetAllOverrides", I: GetAllOverridesRequest, O: GetAllOverridesResponse, kind: MethodKind.Unary, }, /** * ToggleChangeOverridesForAllOperations marks all impacting changes of a given check either safe or unsafe * * @generated from rpc wg.cosmo.platform.v1.PlatformService.ToggleChangeOverridesForAllOperations */ toggleChangeOverridesForAllOperations: { name: "ToggleChangeOverridesForAllOperations", I: ToggleChangeOverridesForAllOperationsRequest, O: ToggleChangeOverridesForAllOperationsResponse, kind: MethodKind.Unary, }, /** * CreateIgnoreOverridesForAllOperations creates ignore override for all operations of a given check * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateIgnoreOverridesForAllOperations */ createIgnoreOverridesForAllOperations: { name: "CreateIgnoreOverridesForAllOperations", I: CreateIgnoreOverridesForAllOperationsRequest, O: CreateIgnoreOverridesForAllOperationsResponse, kind: MethodKind.Unary, }, /** * GetOperationContent returns the operation body by searching using the hash * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOperationContent */ getOperationContent: { name: "GetOperationContent", I: GetOperationContentRequest, O: GetOperationContentResponse, kind: MethodKind.Unary, }, /** * GetFederatedGraphChangelog returns the changelog of the federated graph. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetFederatedGraphChangelog */ getFederatedGraphChangelog: { name: "GetFederatedGraphChangelog", I: GetFederatedGraphChangelogRequest, O: GetFederatedGraphChangelogResponse, kind: MethodKind.Unary, }, /** * CreateFederatedGraphToken creates a federated graph token that is consumed by the router to authenticate requests. * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateFederatedGraphToken */ createFederatedGraphToken: { name: "CreateFederatedGraphToken", I: CreateFederatedGraphTokenRequest, O: CreateFederatedGraphTokenResponse, kind: MethodKind.Unary, }, /** * GetOrganizationBySlug returns a specific organization by its slug * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationBySlug */ getOrganizationBySlug: { name: "GetOrganizationBySlug", I: GetOrganizationBySlugRequest, O: GetOrganizationBySlugResponse, kind: MethodKind.Unary, }, /** * GetOrganizationMembers returns the list of organization members * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationMembers */ getOrganizationMembers: { name: "GetOrganizationMembers", I: GetOrganizationMembersRequest, O: GetOrganizationMembersResponse, kind: MethodKind.Unary, }, /** * GetOrganizationMembers returns the list of pending organization invites * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetPendingOrganizationMembers */ getPendingOrganizationMembers: { name: "GetPendingOrganizationMembers", I: GetPendingOrganizationMembersRequest, O: GetPendingOrganizationMembersResponse, kind: MethodKind.Unary, }, /** * IsMemberLimitReached returns whether the organization has reached the member limit * * @generated from rpc wg.cosmo.platform.v1.PlatformService.IsMemberLimitReached */ isMemberLimitReached: { name: "IsMemberLimitReached", I: IsMemberLimitReachedRequest, O: IsMemberLimitReachedResponse, kind: MethodKind.Unary, }, /** * InviteUser invites an user to join the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.InviteUser */ inviteUser: { name: "InviteUser", I: InviteUserRequest, O: InviteUserResponse, kind: MethodKind.Unary, }, /** * GetAPIKeys returns a list of API keys of the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetAPIKeys */ getAPIKeys: { name: "GetAPIKeys", I: GetAPIKeysRequest, O: GetAPIKeysResponse, kind: MethodKind.Unary, }, /** * CreateAPIKey creates an API key for the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateAPIKey */ createAPIKey: { name: "CreateAPIKey", I: CreateAPIKeyRequest, O: CreateAPIKeyResponse, kind: MethodKind.Unary, }, /** * UpdateAPIKey updates an API key for the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateAPIKey */ updateAPIKey: { name: "UpdateAPIKey", I: UpdateAPIKeyRequest, O: UpdateAPIKeyResponse, kind: MethodKind.Unary, }, /** * DeleteAPIKey deletes an API key for the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteAPIKey */ deleteAPIKey: { name: "DeleteAPIKey", I: DeleteAPIKeyRequest, O: DeleteAPIKeyResponse, kind: MethodKind.Unary, }, /** * RemoveOrganizationMember removes the user from the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.RemoveOrganizationMember */ removeOrganizationMember: { name: "RemoveOrganizationMember", I: RemoveOrganizationMemberRequest, O: RemoveOrganizationMemberResponse, kind: MethodKind.Unary, }, /** * RemoveInvitation removes the org invitation of the user * * @generated from rpc wg.cosmo.platform.v1.PlatformService.RemoveInvitation */ removeInvitation: { name: "RemoveInvitation", I: RemoveInvitationRequest, O: RemoveInvitationResponse, kind: MethodKind.Unary, }, /** * MigrateFromApollo migrates the graphs from apollo to cosmo * * @generated from rpc wg.cosmo.platform.v1.PlatformService.MigrateFromApollo */ migrateFromApollo: { name: "MigrateFromApollo", I: MigrateFromApolloRequest, O: MigrateFromApolloResponse, kind: MethodKind.Unary, }, /** * Organization Member Group management * CreateOrganizationGroup creates a new organization group * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateOrganizationGroup */ createOrganizationGroup: { name: "CreateOrganizationGroup", I: CreateOrganizationGroupRequest, O: CreateOrganizationGroupResponse, kind: MethodKind.Unary, }, /** * GetOrganizationGroups returns the list of organization groups * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationGroups */ getOrganizationGroups: { name: "GetOrganizationGroups", I: GetOrganizationGroupsRequest, O: GetOrganizationGroupsResponse, kind: MethodKind.Unary, }, /** * GetOrganizationGroupMembers returns the list of members belonging to the provided organization group * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationGroupMembers */ getOrganizationGroupMembers: { name: "GetOrganizationGroupMembers", I: GetOrganizationGroupMembersRequest, O: GetOrganizationGroupMembersResponse, kind: MethodKind.Unary, }, /** * UpdateOrganizationGroup updates the rule list for an organization group * * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateOrganizationGroup */ updateOrganizationGroup: { name: "UpdateOrganizationGroup", I: UpdateOrganizationGroupRequest, O: UpdateOrganizationGroupResponse, kind: MethodKind.Unary, }, /** * DeleteOrganizationGroup deletes an existing organization group * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteOrganizationGroup */ deleteOrganizationGroup: { name: "DeleteOrganizationGroup", I: DeleteOrganizationGroupRequest, O: DeleteOrganizationGroupResponse, kind: MethodKind.Unary, }, /** * CreateOrganizationWebhookConfig create a new webhook config for the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateOrganizationWebhookConfig */ createOrganizationWebhookConfig: { name: "CreateOrganizationWebhookConfig", I: CreateOrganizationWebhookConfigRequest, O: CreateOrganizationWebhookConfigResponse, kind: MethodKind.Unary, }, /** * GetOrganizationWebhookConfigs returns all webhooks for the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationWebhookConfigs */ getOrganizationWebhookConfigs: { name: "GetOrganizationWebhookConfigs", I: GetOrganizationWebhookConfigsRequest, O: GetOrganizationWebhookConfigsResponse, kind: MethodKind.Unary, }, /** * GetOrganizationWebhookMeta returns the meta data for a particular webhook * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationWebhookMeta */ getOrganizationWebhookMeta: { name: "GetOrganizationWebhookMeta", I: GetOrganizationWebhookMetaRequest, O: GetOrganizationWebhookMetaResponse, kind: MethodKind.Unary, }, /** * UpdateOrganizationWebhookConfig updates an existing webhook for the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateOrganizationWebhookConfig */ updateOrganizationWebhookConfig: { name: "UpdateOrganizationWebhookConfig", I: UpdateOrganizationWebhookConfigRequest, O: UpdateOrganizationWebhookConfigResponse, kind: MethodKind.Unary, }, /** * DeleteOrganizationWebhookConfig deletes an organization webhook * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteOrganizationWebhookConfig */ deleteOrganizationWebhookConfig: { name: "DeleteOrganizationWebhookConfig", I: DeleteOrganizationWebhookConfigRequest, O: DeleteOrganizationWebhookConfigResponse, kind: MethodKind.Unary, }, /** * GetOrganizationWebhookHistory retrieves all webhook deliveries for the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationWebhookHistory */ getOrganizationWebhookHistory: { name: "GetOrganizationWebhookHistory", I: GetOrganizationWebhookHistoryRequest, O: GetOrganizationWebhookHistoryResponse, kind: MethodKind.Unary, }, /** * GetWebhookDeliveryDetails retrieves details for a particular webhook * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetWebhookDeliveryDetails */ getWebhookDeliveryDetails: { name: "GetWebhookDeliveryDetails", I: GetWebhookDeliveryDetailsRequest, O: GetWebhookDeliveryDetailsResponse, kind: MethodKind.Unary, }, /** * RedeliverWebhook triggers the delivery of the given webhook once again * * @generated from rpc wg.cosmo.platform.v1.PlatformService.RedeliverWebhook */ redeliverWebhook: { name: "RedeliverWebhook", I: RedeliverWebhookRequest, O: RedeliverWebhookResponse, kind: MethodKind.Unary, }, /** * CreateIntegration create a new integration for the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.CreateIntegration */ createIntegration: { name: "CreateIntegration", I: CreateIntegrationRequest, O: CreateIntegrationResponse, kind: MethodKind.Unary, }, /** * GetOrganizationIntegrations returns all integrations of the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.GetOrganizationIntegrations */ getOrganizationIntegrations: { name: "GetOrganizationIntegrations", I: GetOrganizationIntegrationsRequest, O: GetOrganizationIntegrationsResponse, kind: MethodKind.Unary, }, /** * UpdateIntegrationConfig updates an existing integration of the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateIntegrationConfig */ updateIntegrationConfig: { name: "UpdateIntegrationConfig", I: UpdateIntegrationConfigRequest, O: UpdateIntegrationConfigResponse, kind: MethodKind.Unary, }, /** * DeleteIntegration deletes an organization web integration hook * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteIntegration */ deleteIntegration: { name: "DeleteIntegration", I: DeleteIntegrationRequest, O: DeleteIntegrationResponse, kind: MethodKind.Unary, }, /** * DeleteUser deletes the user * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteUser */ deleteUser: { name: "DeleteUser", I: DeleteUserRequest, O: DeleteUserResponse, kind: MethodKind.Unary, }, /** * DeleteOrganization deletes an organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.DeleteOrganization */ deleteOrganization: { name: "DeleteOrganization", I: DeleteOrganizationRequest, O: DeleteOrganizationResponse, kind: MethodKind.Unary, }, /** * RestoreOrganization restore an organization pending deletion * * @generated from rpc wg.cosmo.platform.v1.PlatformService.RestoreOrganization */ restoreOrganization: { name: "RestoreOrganization", I: RestoreOrganizationRequest, O: RestoreOrganizationResponse, kind: MethodKind.Unary, }, /** * LeaveOrganization removes a member from the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.LeaveOrganization */ leaveOrganization: { name: "LeaveOrganization", I: LeaveOrganizationRequest, O: LeaveOrganizationResponse, kind: MethodKind.Unary, }, /** * UpdateOrganizationDetails updates the name and slug of the organization * * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateOrganizationDetails */ updateOrganizationDetails: { name: "UpdateOrganizationDetails", I: UpdateOrganizationDetailsRequest, O: UpdateOrganizationDetailsResponse, kind: MethodKind.Unary, }, /** * UpdateOrgMemberGroup updates the group of an organization member * * @generated from rpc wg.cosmo.platform.v1.PlatformService.UpdateOrgMemberGroup */ updateOrgMemberGroup: { name: "UpdateOrgMemberGroup", I: UpdateOrgMemberGroupRequest, O: UpdateOrgMemberGroupResponse, kind: MethodKind.Unary, }, /** * IsGitHubAppInstalled checks if the cosmo github app is installed to a repository * * @generated from rpc wg.cosmo.platform.v1.PlatformService.IsGitHubAppInstalled */ isGitHubAppInstalled: { name: "IsGitHubAppInstalled", I: IsGitHubAppInstalledRequest, O: IsGitHubAppInstalledResponse, kind: MethodKind.Unary,