@renai-labs/sdk 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/@tanstack/react-query.gen.d.ts +153 -13
- package/dist/generated/@tanstack/react-query.gen.js +209 -1
- package/dist/generated/internal/types.gen.d.ts +59 -1
- package/dist/generated/sdk.gen.d.ts +70 -2
- package/dist/generated/sdk.gen.js +159 -1
- package/dist/generated/types.gen.d.ts +659 -12
- package/dist/generated/zod.gen.d.ts +726 -0
- package/dist/generated/zod.gen.js +254 -11
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type InfiniteData, type UseMutationOptions } from "@tanstack/react-query";
|
|
2
2
|
import { type Options } from "../sdk.gen";
|
|
3
|
-
import type { AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetBySlugData, AgentGetBySlugError, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingDailyUsageData, BillingDailyUsageError, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingUpdatePlanData, BillingUpdatePlanError, BillingUpdatePlanResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, DashboardGetData, DashboardGetError, EmailListData, EmailListError, EmailSetData, EmailSetError, EmailSetResponse, EmailUnsetData, EmailUnsetError, EmailUnsetResponse, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubConnectData, GithubConnectError, GithubConnectResponse, GithubInstallData, GithubInstallError, GithubInstallResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, GoogleConfigDeleteData, GoogleConfigDeleteError, GoogleConfigDeleteResponse, GoogleConfigSaveData, GoogleConfigSaveError, GoogleConfigSaveResponse, GoogleConnectData, GoogleConnectError, GoogleConnectResponse, GoogleDisconnectData, GoogleDisconnectError, GoogleDisconnectResponse, GoogleStatusData, GoogleStatusError, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpOauthConnectData, McpOauthConnectError, McpOauthConnectResponse, McpOauthSessionData, McpOauthSessionError, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodCreateData, PodCreateError, PodCreateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodSandboxTeardownData, PodSandboxTeardownError, PodSandboxTeardownResponse2, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectAgentUpdateData, ProjectAgentUpdateError, ProjectAgentUpdateResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, RegistryTopologyShareGetData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionTracesListData, SessionTracesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetBySlugData, SkillGetBySlugError, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSearchData, SkillSearchError, SkillSearchResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackChannelListData, SlackChannelListError, SlackChannelSetData, SlackChannelSetError, SlackChannelSetResponse, SlackChannelUnsetData, SlackChannelUnsetError, SlackChannelUnsetResponse, SlackInstallData, SlackInstallError, SlackInstallResponse, SlackStatusData, SlackStatusError, SlackUninstallData, SlackUninstallError, SlackUninstallResponse, TelegramChatListData, TelegramChatListError, TelegramChatSetData, TelegramChatSetError, TelegramChatSetResponse, TelegramChatUnsetData, TelegramChatUnsetError, TelegramChatUnsetResponse, TelegramClaimCodeData, TelegramClaimCodeError, TelegramClaimCodeResponse, TelegramLinkCodeData, TelegramLinkCodeError, TelegramLinkCodeResponse, TelegramMeData, TelegramMeError, TelegramUnlinkData, TelegramUnlinkError, TelegramUnlinkResponse, TopologyGetData, TopologyGetError, TopologyShareArchiveData, TopologyShareArchiveError, TopologyShareArchiveResponse, TopologyShareCreateData, TopologyShareCreateError, TopologyShareCreateResponse, TopologyShareListData, TopologyShareListError, TriggerArchiveData, TriggerArchiveError, TriggerArchiveResponse, TriggerCreateData, TriggerCreateError, TriggerCreateResponse, TriggerGetData, TriggerGetError, TriggerListData, TriggerListError, TriggerUpdateData, TriggerUpdateError, TriggerUpdateResponse, VaultArchiveData, VaultArchiveError, VaultArchiveResponse, VaultCreateData, VaultCreateError, VaultCreateResponse, VaultDeleteData, VaultDeleteError, VaultDeleteResponse, VaultGetData, VaultGetError, VaultListData, VaultListError, VaultUpdateData, VaultUpdateError, VaultUpdateResponse, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
|
|
3
|
+
import type { AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCopyToOrgData, AgentCopyToOrgError, AgentCopyToOrgResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetBySlugData, AgentGetBySlugError, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingDailyUsageData, BillingDailyUsageError, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingUpdatePlanData, BillingUpdatePlanError, BillingUpdatePlanResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, DashboardGetData, DashboardGetError, EmailListData, EmailListError, EmailSetData, EmailSetError, EmailSetResponse, EmailUnsetData, EmailUnsetError, EmailUnsetResponse, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubConnectData, GithubConnectError, GithubConnectResponse, GithubInstallData, GithubInstallError, GithubInstallResponse, GithubMappingSetData, GithubMappingSetError, GithubMappingSetResponse, GithubMappingsListData, GithubMappingsListError, GithubMappingUnsetData, GithubMappingUnsetError, GithubMappingUnsetResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, GoogleConfigDeleteData, GoogleConfigDeleteError, GoogleConfigDeleteResponse, GoogleConfigSaveData, GoogleConfigSaveError, GoogleConfigSaveResponse, GoogleConnectData, GoogleConnectError, GoogleConnectResponse, GoogleDisconnectData, GoogleDisconnectError, GoogleDisconnectResponse, GoogleStatusData, GoogleStatusError, LinearInstallData, LinearInstallError, LinearInstallResponse, LinearMappingsCreateData, LinearMappingsCreateError, LinearMappingsCreateResponse, LinearMappingsListData, LinearMappingsListError, LinearMappingsRemoveData, LinearMappingsRemoveError, LinearMappingsRemoveResponse, LinearProjectsData, LinearProjectsError, LinearStatusData, LinearStatusError, LinearUninstallData, LinearUninstallError, LinearUninstallResponse, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCopyToOrgData, McpCopyToOrgError, McpCopyToOrgResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpOauthConnectData, McpOauthConnectError, McpOauthConnectResponse, McpOauthSessionData, McpOauthSessionError, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodCreateData, PodCreateError, PodCreateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodSandboxTeardownData, PodSandboxTeardownError, PodSandboxTeardownResponse2, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectAgentUpdateData, ProjectAgentUpdateError, ProjectAgentUpdateResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, RegistryTopologyShareGetData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionTracesListData, SessionTracesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCopyToOrgData, SkillCopyToOrgError, SkillCopyToOrgResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetBySlugData, SkillGetBySlugError, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSearchData, SkillSearchError, SkillSearchResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackChannelListData, SlackChannelListError, SlackChannelSetData, SlackChannelSetError, SlackChannelSetResponse, SlackChannelUnsetData, SlackChannelUnsetError, SlackChannelUnsetResponse, SlackInstallData, SlackInstallError, SlackInstallResponse, SlackStatusData, SlackStatusError, SlackUninstallData, SlackUninstallError, SlackUninstallResponse, TelegramChatListData, TelegramChatListError, TelegramChatSetData, TelegramChatSetError, TelegramChatSetResponse, TelegramChatUnsetData, TelegramChatUnsetError, TelegramChatUnsetResponse, TelegramClaimCodeData, TelegramClaimCodeError, TelegramClaimCodeResponse, TelegramLinkCodeData, TelegramLinkCodeError, TelegramLinkCodeResponse, TelegramMeData, TelegramMeError, TelegramUnlinkData, TelegramUnlinkError, TelegramUnlinkResponse, TopologyGetData, TopologyGetError, TopologyShareArchiveData, TopologyShareArchiveError, TopologyShareArchiveResponse, TopologyShareCreateData, TopologyShareCreateError, TopologyShareCreateResponse, TopologyShareListData, TopologyShareListError, TriggerArchiveData, TriggerArchiveError, TriggerArchiveResponse, TriggerCreateData, TriggerCreateError, TriggerCreateResponse, TriggerGetData, TriggerGetError, TriggerListData, TriggerListError, TriggerUpdateData, TriggerUpdateError, TriggerUpdateResponse, VaultArchiveData, VaultArchiveError, VaultArchiveResponse, VaultCreateData, VaultCreateError, VaultCreateResponse, VaultDeleteData, VaultDeleteError, VaultDeleteResponse, VaultGetData, VaultGetError, VaultListData, VaultListError, VaultUpdateData, VaultUpdateError, VaultUpdateResponse, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
6
6
|
_id: string;
|
|
@@ -136,6 +136,10 @@ export declare const agentArchiveMutation: (options?: Partial<Options<AgentArchi
|
|
|
136
136
|
* Publish an agent
|
|
137
137
|
*/
|
|
138
138
|
export declare const agentPublishMutation: (options?: Partial<Options<AgentPublishData>>) => UseMutationOptions<AgentPublishResponse, AgentPublishError, Options<AgentPublishData>>;
|
|
139
|
+
/**
|
|
140
|
+
* Copy a private agent into org-wide scope, cloning its private dependencies
|
|
141
|
+
*/
|
|
142
|
+
export declare const agentCopyToOrgMutation: (options?: Partial<Options<AgentCopyToOrgData>>) => UseMutationOptions<AgentCopyToOrgResponse, AgentCopyToOrgError, Options<AgentCopyToOrgData>>;
|
|
139
143
|
/**
|
|
140
144
|
* Deprecate an agent
|
|
141
145
|
*/
|
|
@@ -1002,20 +1006,14 @@ export declare const githubReposQueryKey: (options?: Options<GithubReposData>) =
|
|
|
1002
1006
|
tags?: ReadonlyArray<string>;
|
|
1003
1007
|
}];
|
|
1004
1008
|
/**
|
|
1005
|
-
* Live-fetch repositories
|
|
1009
|
+
* Live-fetch repositories across the org's GitHub App installations
|
|
1006
1010
|
*/
|
|
1007
|
-
export declare const githubReposOptions: (options?: Options<GithubReposData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1008
|
-
fullName: string;
|
|
1009
|
-
}[], GithubReposError, {
|
|
1010
|
-
fullName: string;
|
|
1011
|
-
}[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1011
|
+
export declare const githubReposOptions: (options?: Options<GithubReposData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").GithubRepo[], GithubReposError, import("../types.gen").GithubRepo[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1012
1012
|
_id: string;
|
|
1013
1013
|
_infinite?: boolean;
|
|
1014
1014
|
tags?: ReadonlyArray<string>;
|
|
1015
1015
|
}]>, "queryFn"> & {
|
|
1016
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1017
|
-
fullName: string;
|
|
1018
|
-
}[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1016
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").GithubRepo[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1019
1017
|
_id: string;
|
|
1020
1018
|
_infinite?: boolean;
|
|
1021
1019
|
tags?: ReadonlyArray<string>;
|
|
@@ -1026,12 +1024,46 @@ export declare const githubReposOptions: (options?: Options<GithubReposData>) =>
|
|
|
1026
1024
|
_infinite?: boolean;
|
|
1027
1025
|
tags?: ReadonlyArray<string>;
|
|
1028
1026
|
}] & {
|
|
1029
|
-
[dataTagSymbol]:
|
|
1030
|
-
fullName: string;
|
|
1031
|
-
}[];
|
|
1027
|
+
[dataTagSymbol]: import("../types.gen").GithubRepo[];
|
|
1032
1028
|
[dataTagErrorSymbol]: GithubReposError;
|
|
1033
1029
|
};
|
|
1034
1030
|
};
|
|
1031
|
+
export declare const githubMappingsListQueryKey: (options?: Options<GithubMappingsListData>) => [Pick<Options<GithubMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1032
|
+
_id: string;
|
|
1033
|
+
_infinite?: boolean;
|
|
1034
|
+
tags?: ReadonlyArray<string>;
|
|
1035
|
+
}];
|
|
1036
|
+
/**
|
|
1037
|
+
* List GitHub repo→project channel mappings for the org
|
|
1038
|
+
*/
|
|
1039
|
+
export declare const githubMappingsListOptions: (options?: Options<GithubMappingsListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").GithubRepoMapping[], GithubMappingsListError, import("../types.gen").GithubRepoMapping[], [Pick<Options<GithubMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1040
|
+
_id: string;
|
|
1041
|
+
_infinite?: boolean;
|
|
1042
|
+
tags?: ReadonlyArray<string>;
|
|
1043
|
+
}]>, "queryFn"> & {
|
|
1044
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").GithubRepoMapping[], [Pick<Options<GithubMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1045
|
+
_id: string;
|
|
1046
|
+
_infinite?: boolean;
|
|
1047
|
+
tags?: ReadonlyArray<string>;
|
|
1048
|
+
}], never> | undefined;
|
|
1049
|
+
} & {
|
|
1050
|
+
queryKey: [Pick<Options<GithubMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1051
|
+
_id: string;
|
|
1052
|
+
_infinite?: boolean;
|
|
1053
|
+
tags?: ReadonlyArray<string>;
|
|
1054
|
+
}] & {
|
|
1055
|
+
[dataTagSymbol]: import("../types.gen").GithubRepoMapping[];
|
|
1056
|
+
[dataTagErrorSymbol]: GithubMappingsListError;
|
|
1057
|
+
};
|
|
1058
|
+
};
|
|
1059
|
+
/**
|
|
1060
|
+
* Remove a GitHub repo→project mapping
|
|
1061
|
+
*/
|
|
1062
|
+
export declare const githubMappingUnsetMutation: (options?: Partial<Options<GithubMappingUnsetData>>) => UseMutationOptions<GithubMappingUnsetResponse, GithubMappingUnsetError, Options<GithubMappingUnsetData>>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Map a GitHub repo to a project (PR agent channel)
|
|
1065
|
+
*/
|
|
1066
|
+
export declare const githubMappingSetMutation: (options?: Partial<Options<GithubMappingSetData>>) => UseMutationOptions<GithubMappingSetResponse, GithubMappingSetError, Options<GithubMappingSetData>>;
|
|
1035
1067
|
export declare const googleStatusQueryKey: (options?: Options<GoogleStatusData>) => [Pick<Options<GoogleStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1036
1068
|
_id: string;
|
|
1037
1069
|
_infinite?: boolean;
|
|
@@ -1204,6 +1236,10 @@ export declare const mcpArchiveMutation: (options?: Partial<Options<McpArchiveDa
|
|
|
1204
1236
|
* Publish an MCP
|
|
1205
1237
|
*/
|
|
1206
1238
|
export declare const mcpPublishMutation: (options?: Partial<Options<McpPublishData>>) => UseMutationOptions<McpPublishResponse, McpPublishError, Options<McpPublishData>>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Copy a private MCP into org-wide scope
|
|
1241
|
+
*/
|
|
1242
|
+
export declare const mcpCopyToOrgMutation: (options?: Partial<Options<McpCopyToOrgData>>) => UseMutationOptions<McpCopyToOrgResponse, McpCopyToOrgError, Options<McpCopyToOrgData>>;
|
|
1207
1243
|
/**
|
|
1208
1244
|
* Deprecate an MCP
|
|
1209
1245
|
*/
|
|
@@ -2472,6 +2508,10 @@ export declare const skillUndeprecateMutation: (options?: Partial<Options<SkillU
|
|
|
2472
2508
|
* Copy a skill
|
|
2473
2509
|
*/
|
|
2474
2510
|
export declare const skillCopyMutation: (options?: Partial<Options<SkillCopyData>>) => UseMutationOptions<SkillCopyResponse, SkillCopyError, Options<SkillCopyData>>;
|
|
2511
|
+
/**
|
|
2512
|
+
* Copy a private skill into org-wide scope
|
|
2513
|
+
*/
|
|
2514
|
+
export declare const skillCopyToOrgMutation: (options?: Partial<Options<SkillCopyToOrgData>>) => UseMutationOptions<SkillCopyToOrgResponse, SkillCopyToOrgError, Options<SkillCopyToOrgData>>;
|
|
2475
2515
|
export declare const skillVersionListQueryKey: (options: Options<SkillVersionListData>) => [Pick<Options<SkillVersionListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2476
2516
|
_id: string;
|
|
2477
2517
|
_infinite?: boolean;
|
|
@@ -3092,6 +3132,106 @@ export declare const telegramChatUnsetMutation: (options?: Partial<Options<Teleg
|
|
|
3092
3132
|
* Map a Telegram chat to a project
|
|
3093
3133
|
*/
|
|
3094
3134
|
export declare const telegramChatSetMutation: (options?: Partial<Options<TelegramChatSetData>>) => UseMutationOptions<TelegramChatSetResponse, TelegramChatSetError, Options<TelegramChatSetData>>;
|
|
3135
|
+
/**
|
|
3136
|
+
* Disconnect the caller's org Linear workspace
|
|
3137
|
+
*/
|
|
3138
|
+
export declare const linearUninstallMutation: (options?: Partial<Options<LinearUninstallData>>) => UseMutationOptions<LinearUninstallResponse, LinearUninstallError, Options<LinearUninstallData>>;
|
|
3139
|
+
/**
|
|
3140
|
+
* Begin a Linear workspace install
|
|
3141
|
+
*/
|
|
3142
|
+
export declare const linearInstallMutation: (options?: Partial<Options<LinearInstallData>>) => UseMutationOptions<LinearInstallResponse, LinearInstallError, Options<LinearInstallData>>;
|
|
3143
|
+
export declare const linearStatusQueryKey: (options?: Options<LinearStatusData>) => [Pick<Options<LinearStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3144
|
+
_id: string;
|
|
3145
|
+
_infinite?: boolean;
|
|
3146
|
+
tags?: ReadonlyArray<string>;
|
|
3147
|
+
}];
|
|
3148
|
+
/**
|
|
3149
|
+
* Report whether Linear is installed for the caller's org
|
|
3150
|
+
*/
|
|
3151
|
+
export declare const linearStatusOptions: (options?: Options<LinearStatusData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").LinearStatus, LinearStatusError, import("../types.gen").LinearStatus, [Pick<Options<LinearStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3152
|
+
_id: string;
|
|
3153
|
+
_infinite?: boolean;
|
|
3154
|
+
tags?: ReadonlyArray<string>;
|
|
3155
|
+
}]>, "queryFn"> & {
|
|
3156
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").LinearStatus, [Pick<Options<LinearStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3157
|
+
_id: string;
|
|
3158
|
+
_infinite?: boolean;
|
|
3159
|
+
tags?: ReadonlyArray<string>;
|
|
3160
|
+
}], never> | undefined;
|
|
3161
|
+
} & {
|
|
3162
|
+
queryKey: [Pick<Options<LinearStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3163
|
+
_id: string;
|
|
3164
|
+
_infinite?: boolean;
|
|
3165
|
+
tags?: ReadonlyArray<string>;
|
|
3166
|
+
}] & {
|
|
3167
|
+
[dataTagSymbol]: import("../types.gen").LinearStatus;
|
|
3168
|
+
[dataTagErrorSymbol]: LinearStatusError;
|
|
3169
|
+
};
|
|
3170
|
+
};
|
|
3171
|
+
export declare const linearProjectsQueryKey: (options?: Options<LinearProjectsData>) => [Pick<Options<LinearProjectsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3172
|
+
_id: string;
|
|
3173
|
+
_infinite?: boolean;
|
|
3174
|
+
tags?: ReadonlyArray<string>;
|
|
3175
|
+
}];
|
|
3176
|
+
/**
|
|
3177
|
+
* List the connected Linear workspace's projects
|
|
3178
|
+
*/
|
|
3179
|
+
export declare const linearProjectsOptions: (options?: Options<LinearProjectsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").LinearProject[], LinearProjectsError, import("../types.gen").LinearProject[], [Pick<Options<LinearProjectsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3180
|
+
_id: string;
|
|
3181
|
+
_infinite?: boolean;
|
|
3182
|
+
tags?: ReadonlyArray<string>;
|
|
3183
|
+
}]>, "queryFn"> & {
|
|
3184
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").LinearProject[], [Pick<Options<LinearProjectsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3185
|
+
_id: string;
|
|
3186
|
+
_infinite?: boolean;
|
|
3187
|
+
tags?: ReadonlyArray<string>;
|
|
3188
|
+
}], never> | undefined;
|
|
3189
|
+
} & {
|
|
3190
|
+
queryKey: [Pick<Options<LinearProjectsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3191
|
+
_id: string;
|
|
3192
|
+
_infinite?: boolean;
|
|
3193
|
+
tags?: ReadonlyArray<string>;
|
|
3194
|
+
}] & {
|
|
3195
|
+
[dataTagSymbol]: import("../types.gen").LinearProject[];
|
|
3196
|
+
[dataTagErrorSymbol]: LinearProjectsError;
|
|
3197
|
+
};
|
|
3198
|
+
};
|
|
3199
|
+
export declare const linearMappingsListQueryKey: (options?: Options<LinearMappingsListData>) => [Pick<Options<LinearMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3200
|
+
_id: string;
|
|
3201
|
+
_infinite?: boolean;
|
|
3202
|
+
tags?: ReadonlyArray<string>;
|
|
3203
|
+
}];
|
|
3204
|
+
/**
|
|
3205
|
+
* List Linear project → Ren project mappings
|
|
3206
|
+
*/
|
|
3207
|
+
export declare const linearMappingsListOptions: (options?: Options<LinearMappingsListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").LinearMapping[], LinearMappingsListError, import("../types.gen").LinearMapping[], [Pick<Options<LinearMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3208
|
+
_id: string;
|
|
3209
|
+
_infinite?: boolean;
|
|
3210
|
+
tags?: ReadonlyArray<string>;
|
|
3211
|
+
}]>, "queryFn"> & {
|
|
3212
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").LinearMapping[], [Pick<Options<LinearMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3213
|
+
_id: string;
|
|
3214
|
+
_infinite?: boolean;
|
|
3215
|
+
tags?: ReadonlyArray<string>;
|
|
3216
|
+
}], never> | undefined;
|
|
3217
|
+
} & {
|
|
3218
|
+
queryKey: [Pick<Options<LinearMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3219
|
+
_id: string;
|
|
3220
|
+
_infinite?: boolean;
|
|
3221
|
+
tags?: ReadonlyArray<string>;
|
|
3222
|
+
}] & {
|
|
3223
|
+
[dataTagSymbol]: import("../types.gen").LinearMapping[];
|
|
3224
|
+
[dataTagErrorSymbol]: LinearMappingsListError;
|
|
3225
|
+
};
|
|
3226
|
+
};
|
|
3227
|
+
/**
|
|
3228
|
+
* Map a Linear project to a Ren project
|
|
3229
|
+
*/
|
|
3230
|
+
export declare const linearMappingsCreateMutation: (options?: Partial<Options<LinearMappingsCreateData>>) => UseMutationOptions<LinearMappingsCreateResponse, LinearMappingsCreateError, Options<LinearMappingsCreateData>>;
|
|
3231
|
+
/**
|
|
3232
|
+
* Remove a Linear project mapping
|
|
3233
|
+
*/
|
|
3234
|
+
export declare const linearMappingsRemoveMutation: (options?: Partial<Options<LinearMappingsRemoveData>>) => UseMutationOptions<LinearMappingsRemoveResponse, LinearMappingsRemoveError, Options<LinearMappingsRemoveData>>;
|
|
3095
3235
|
export declare const vaultListQueryKey: (options?: Options<VaultListData>) => [Pick<Options<VaultListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3096
3236
|
_id: string;
|
|
3097
3237
|
_infinite?: boolean;
|
|
@@ -210,6 +210,22 @@ export const agentPublishMutation = (options) => {
|
|
|
210
210
|
};
|
|
211
211
|
return mutationOptions;
|
|
212
212
|
};
|
|
213
|
+
/**
|
|
214
|
+
* Copy a private agent into org-wide scope, cloning its private dependencies
|
|
215
|
+
*/
|
|
216
|
+
export const agentCopyToOrgMutation = (options) => {
|
|
217
|
+
const mutationOptions = {
|
|
218
|
+
mutationFn: async (fnOptions) => {
|
|
219
|
+
const { data } = await RenClient.__registry.get().agent.copyToOrg({
|
|
220
|
+
...options,
|
|
221
|
+
...fnOptions,
|
|
222
|
+
throwOnError: true,
|
|
223
|
+
});
|
|
224
|
+
return data;
|
|
225
|
+
},
|
|
226
|
+
};
|
|
227
|
+
return mutationOptions;
|
|
228
|
+
};
|
|
213
229
|
/**
|
|
214
230
|
* Deprecate an agent
|
|
215
231
|
*/
|
|
@@ -1003,7 +1019,7 @@ export const githubStatusOptions = (options) => queryOptions({
|
|
|
1003
1019
|
});
|
|
1004
1020
|
export const githubReposQueryKey = (options) => createQueryKey("githubRepos", options);
|
|
1005
1021
|
/**
|
|
1006
|
-
* Live-fetch repositories
|
|
1022
|
+
* Live-fetch repositories across the org's GitHub App installations
|
|
1007
1023
|
*/
|
|
1008
1024
|
export const githubReposOptions = (options) => queryOptions({
|
|
1009
1025
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -1017,6 +1033,54 @@ export const githubReposOptions = (options) => queryOptions({
|
|
|
1017
1033
|
},
|
|
1018
1034
|
queryKey: githubReposQueryKey(options),
|
|
1019
1035
|
});
|
|
1036
|
+
export const githubMappingsListQueryKey = (options) => createQueryKey("githubMappingsList", options);
|
|
1037
|
+
/**
|
|
1038
|
+
* List GitHub repo→project channel mappings for the org
|
|
1039
|
+
*/
|
|
1040
|
+
export const githubMappingsListOptions = (options) => queryOptions({
|
|
1041
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1042
|
+
const { data } = await RenClient.__registry.get().github.mappings.list({
|
|
1043
|
+
...options,
|
|
1044
|
+
...queryKey[0],
|
|
1045
|
+
signal,
|
|
1046
|
+
throwOnError: true,
|
|
1047
|
+
});
|
|
1048
|
+
return data;
|
|
1049
|
+
},
|
|
1050
|
+
queryKey: githubMappingsListQueryKey(options),
|
|
1051
|
+
});
|
|
1052
|
+
/**
|
|
1053
|
+
* Remove a GitHub repo→project mapping
|
|
1054
|
+
*/
|
|
1055
|
+
export const githubMappingUnsetMutation = (options) => {
|
|
1056
|
+
const mutationOptions = {
|
|
1057
|
+
mutationFn: async (fnOptions) => {
|
|
1058
|
+
const { data } = await RenClient.__registry.get().github.mapping.unset({
|
|
1059
|
+
...options,
|
|
1060
|
+
...fnOptions,
|
|
1061
|
+
throwOnError: true,
|
|
1062
|
+
});
|
|
1063
|
+
return data;
|
|
1064
|
+
},
|
|
1065
|
+
};
|
|
1066
|
+
return mutationOptions;
|
|
1067
|
+
};
|
|
1068
|
+
/**
|
|
1069
|
+
* Map a GitHub repo to a project (PR agent channel)
|
|
1070
|
+
*/
|
|
1071
|
+
export const githubMappingSetMutation = (options) => {
|
|
1072
|
+
const mutationOptions = {
|
|
1073
|
+
mutationFn: async (fnOptions) => {
|
|
1074
|
+
const { data } = await RenClient.__registry.get().github.mapping.set({
|
|
1075
|
+
...options,
|
|
1076
|
+
...fnOptions,
|
|
1077
|
+
throwOnError: true,
|
|
1078
|
+
});
|
|
1079
|
+
return data;
|
|
1080
|
+
},
|
|
1081
|
+
};
|
|
1082
|
+
return mutationOptions;
|
|
1083
|
+
};
|
|
1020
1084
|
export const googleStatusQueryKey = (options) => createQueryKey("googleStatus", options);
|
|
1021
1085
|
/**
|
|
1022
1086
|
* Report the org's Google Workspace OAuth app configuration
|
|
@@ -1252,6 +1316,22 @@ export const mcpPublishMutation = (options) => {
|
|
|
1252
1316
|
};
|
|
1253
1317
|
return mutationOptions;
|
|
1254
1318
|
};
|
|
1319
|
+
/**
|
|
1320
|
+
* Copy a private MCP into org-wide scope
|
|
1321
|
+
*/
|
|
1322
|
+
export const mcpCopyToOrgMutation = (options) => {
|
|
1323
|
+
const mutationOptions = {
|
|
1324
|
+
mutationFn: async (fnOptions) => {
|
|
1325
|
+
const { data } = await RenClient.__registry.get().mcp.copyToOrg({
|
|
1326
|
+
...options,
|
|
1327
|
+
...fnOptions,
|
|
1328
|
+
throwOnError: true,
|
|
1329
|
+
});
|
|
1330
|
+
return data;
|
|
1331
|
+
},
|
|
1332
|
+
};
|
|
1333
|
+
return mutationOptions;
|
|
1334
|
+
};
|
|
1255
1335
|
/**
|
|
1256
1336
|
* Deprecate an MCP
|
|
1257
1337
|
*/
|
|
@@ -2817,6 +2897,22 @@ export const skillCopyMutation = (options) => {
|
|
|
2817
2897
|
};
|
|
2818
2898
|
return mutationOptions;
|
|
2819
2899
|
};
|
|
2900
|
+
/**
|
|
2901
|
+
* Copy a private skill into org-wide scope
|
|
2902
|
+
*/
|
|
2903
|
+
export const skillCopyToOrgMutation = (options) => {
|
|
2904
|
+
const mutationOptions = {
|
|
2905
|
+
mutationFn: async (fnOptions) => {
|
|
2906
|
+
const { data } = await RenClient.__registry.get().skill.copyToOrg({
|
|
2907
|
+
...options,
|
|
2908
|
+
...fnOptions,
|
|
2909
|
+
throwOnError: true,
|
|
2910
|
+
});
|
|
2911
|
+
return data;
|
|
2912
|
+
},
|
|
2913
|
+
};
|
|
2914
|
+
return mutationOptions;
|
|
2915
|
+
};
|
|
2820
2916
|
export const skillVersionListQueryKey = (options) => createQueryKey("skillVersionList", options);
|
|
2821
2917
|
/**
|
|
2822
2918
|
* List skill versions
|
|
@@ -3485,6 +3581,118 @@ export const telegramChatSetMutation = (options) => {
|
|
|
3485
3581
|
};
|
|
3486
3582
|
return mutationOptions;
|
|
3487
3583
|
};
|
|
3584
|
+
/**
|
|
3585
|
+
* Disconnect the caller's org Linear workspace
|
|
3586
|
+
*/
|
|
3587
|
+
export const linearUninstallMutation = (options) => {
|
|
3588
|
+
const mutationOptions = {
|
|
3589
|
+
mutationFn: async (fnOptions) => {
|
|
3590
|
+
const { data } = await RenClient.__registry.get().linear.uninstall({
|
|
3591
|
+
...options,
|
|
3592
|
+
...fnOptions,
|
|
3593
|
+
throwOnError: true,
|
|
3594
|
+
});
|
|
3595
|
+
return data;
|
|
3596
|
+
},
|
|
3597
|
+
};
|
|
3598
|
+
return mutationOptions;
|
|
3599
|
+
};
|
|
3600
|
+
/**
|
|
3601
|
+
* Begin a Linear workspace install
|
|
3602
|
+
*/
|
|
3603
|
+
export const linearInstallMutation = (options) => {
|
|
3604
|
+
const mutationOptions = {
|
|
3605
|
+
mutationFn: async (fnOptions) => {
|
|
3606
|
+
const { data } = await RenClient.__registry.get().linear.install({
|
|
3607
|
+
...options,
|
|
3608
|
+
...fnOptions,
|
|
3609
|
+
throwOnError: true,
|
|
3610
|
+
});
|
|
3611
|
+
return data;
|
|
3612
|
+
},
|
|
3613
|
+
};
|
|
3614
|
+
return mutationOptions;
|
|
3615
|
+
};
|
|
3616
|
+
export const linearStatusQueryKey = (options) => createQueryKey("linearStatus", options);
|
|
3617
|
+
/**
|
|
3618
|
+
* Report whether Linear is installed for the caller's org
|
|
3619
|
+
*/
|
|
3620
|
+
export const linearStatusOptions = (options) => queryOptions({
|
|
3621
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3622
|
+
const { data } = await RenClient.__registry.get().linear.status({
|
|
3623
|
+
...options,
|
|
3624
|
+
...queryKey[0],
|
|
3625
|
+
signal,
|
|
3626
|
+
throwOnError: true,
|
|
3627
|
+
});
|
|
3628
|
+
return data;
|
|
3629
|
+
},
|
|
3630
|
+
queryKey: linearStatusQueryKey(options),
|
|
3631
|
+
});
|
|
3632
|
+
export const linearProjectsQueryKey = (options) => createQueryKey("linearProjects", options);
|
|
3633
|
+
/**
|
|
3634
|
+
* List the connected Linear workspace's projects
|
|
3635
|
+
*/
|
|
3636
|
+
export const linearProjectsOptions = (options) => queryOptions({
|
|
3637
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3638
|
+
const { data } = await RenClient.__registry.get().linear.projects({
|
|
3639
|
+
...options,
|
|
3640
|
+
...queryKey[0],
|
|
3641
|
+
signal,
|
|
3642
|
+
throwOnError: true,
|
|
3643
|
+
});
|
|
3644
|
+
return data;
|
|
3645
|
+
},
|
|
3646
|
+
queryKey: linearProjectsQueryKey(options),
|
|
3647
|
+
});
|
|
3648
|
+
export const linearMappingsListQueryKey = (options) => createQueryKey("linearMappingsList", options);
|
|
3649
|
+
/**
|
|
3650
|
+
* List Linear project → Ren project mappings
|
|
3651
|
+
*/
|
|
3652
|
+
export const linearMappingsListOptions = (options) => queryOptions({
|
|
3653
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3654
|
+
const { data } = await RenClient.__registry.get().linear.mappings.list({
|
|
3655
|
+
...options,
|
|
3656
|
+
...queryKey[0],
|
|
3657
|
+
signal,
|
|
3658
|
+
throwOnError: true,
|
|
3659
|
+
});
|
|
3660
|
+
return data;
|
|
3661
|
+
},
|
|
3662
|
+
queryKey: linearMappingsListQueryKey(options),
|
|
3663
|
+
});
|
|
3664
|
+
/**
|
|
3665
|
+
* Map a Linear project to a Ren project
|
|
3666
|
+
*/
|
|
3667
|
+
export const linearMappingsCreateMutation = (options) => {
|
|
3668
|
+
const mutationOptions = {
|
|
3669
|
+
mutationFn: async (fnOptions) => {
|
|
3670
|
+
const { data } = await RenClient.__registry.get().linear.mappings.create({
|
|
3671
|
+
...options,
|
|
3672
|
+
...fnOptions,
|
|
3673
|
+
throwOnError: true,
|
|
3674
|
+
});
|
|
3675
|
+
return data;
|
|
3676
|
+
},
|
|
3677
|
+
};
|
|
3678
|
+
return mutationOptions;
|
|
3679
|
+
};
|
|
3680
|
+
/**
|
|
3681
|
+
* Remove a Linear project mapping
|
|
3682
|
+
*/
|
|
3683
|
+
export const linearMappingsRemoveMutation = (options) => {
|
|
3684
|
+
const mutationOptions = {
|
|
3685
|
+
mutationFn: async (fnOptions) => {
|
|
3686
|
+
const { data } = await RenClient.__registry.get().linear.mappings.remove({
|
|
3687
|
+
...options,
|
|
3688
|
+
...fnOptions,
|
|
3689
|
+
throwOnError: true,
|
|
3690
|
+
});
|
|
3691
|
+
return data;
|
|
3692
|
+
},
|
|
3693
|
+
};
|
|
3694
|
+
return mutationOptions;
|
|
3695
|
+
};
|
|
3488
3696
|
export const vaultListQueryKey = (options) => createQueryKey("vaultList", options);
|
|
3489
3697
|
/**
|
|
3490
3698
|
* List vaults
|
|
@@ -190,7 +190,7 @@ export type McpPublicView = {
|
|
|
190
190
|
repository: Repository | null;
|
|
191
191
|
tools: Array<string>;
|
|
192
192
|
prompts: Array<string>;
|
|
193
|
-
auth: "none" | "oauth" | "api_key" | "basic";
|
|
193
|
+
auth: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
|
|
194
194
|
env: {
|
|
195
195
|
[key: string]: string;
|
|
196
196
|
};
|
|
@@ -345,6 +345,15 @@ export type CredentialOauthCallbackData = {
|
|
|
345
345
|
};
|
|
346
346
|
url: "/api/vaults/oauth/callback";
|
|
347
347
|
};
|
|
348
|
+
export type ComposioOauthCallbackData = {
|
|
349
|
+
body?: never;
|
|
350
|
+
path?: never;
|
|
351
|
+
query: {
|
|
352
|
+
state: string;
|
|
353
|
+
status?: string;
|
|
354
|
+
};
|
|
355
|
+
url: "/api/composio/oauth/callback";
|
|
356
|
+
};
|
|
348
357
|
export type GithubOauthCallbackData = {
|
|
349
358
|
body?: never;
|
|
350
359
|
path?: never;
|
|
@@ -1734,3 +1743,52 @@ export type SandboxEmailReplyCurrentResponses = {
|
|
|
1734
1743
|
};
|
|
1735
1744
|
};
|
|
1736
1745
|
export type SandboxEmailReplyCurrentResponse = SandboxEmailReplyCurrentResponses[keyof SandboxEmailReplyCurrentResponses];
|
|
1746
|
+
export type SandboxLinearReplyCurrentData = {
|
|
1747
|
+
body?: {
|
|
1748
|
+
sessionId: string;
|
|
1749
|
+
text: string;
|
|
1750
|
+
attachments?: Array<{
|
|
1751
|
+
filename: string;
|
|
1752
|
+
contentBase64: string;
|
|
1753
|
+
}>;
|
|
1754
|
+
};
|
|
1755
|
+
path?: never;
|
|
1756
|
+
query?: never;
|
|
1757
|
+
url: "/api/sandbox/linear/reply-current";
|
|
1758
|
+
};
|
|
1759
|
+
export type SandboxLinearReplyCurrentErrors = {
|
|
1760
|
+
/**
|
|
1761
|
+
* Bad request
|
|
1762
|
+
*/
|
|
1763
|
+
400: {
|
|
1764
|
+
error: string;
|
|
1765
|
+
};
|
|
1766
|
+
/**
|
|
1767
|
+
* Unauthorized
|
|
1768
|
+
*/
|
|
1769
|
+
401: {
|
|
1770
|
+
error: string;
|
|
1771
|
+
};
|
|
1772
|
+
/**
|
|
1773
|
+
* Forbidden
|
|
1774
|
+
*/
|
|
1775
|
+
403: {
|
|
1776
|
+
error: string;
|
|
1777
|
+
};
|
|
1778
|
+
/**
|
|
1779
|
+
* Not found
|
|
1780
|
+
*/
|
|
1781
|
+
404: {
|
|
1782
|
+
error: string;
|
|
1783
|
+
};
|
|
1784
|
+
};
|
|
1785
|
+
export type SandboxLinearReplyCurrentError = SandboxLinearReplyCurrentErrors[keyof SandboxLinearReplyCurrentErrors];
|
|
1786
|
+
export type SandboxLinearReplyCurrentResponses = {
|
|
1787
|
+
/**
|
|
1788
|
+
* OK
|
|
1789
|
+
*/
|
|
1790
|
+
200: {
|
|
1791
|
+
ok: true;
|
|
1792
|
+
};
|
|
1793
|
+
};
|
|
1794
|
+
export type SandboxLinearReplyCurrentResponse = SandboxLinearReplyCurrentResponses[keyof SandboxLinearReplyCurrentResponses];
|