@renai-labs/sdk 0.1.5 → 0.1.7
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 +43 -59
- package/dist/generated/@tanstack/react-query.gen.js +111 -79
- package/dist/generated/internal/types.gen.d.ts +2 -60
- package/dist/generated/sdk.gen.d.ts +31 -35
- package/dist/generated/sdk.gen.js +71 -46
- package/dist/generated/types.gen.d.ts +188 -116
- package/dist/generated/zod.gen.d.ts +138 -137
- package/dist/generated/zod.gen.js +68 -55
- 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, 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, GithubInstallationListData, GithubInstallationListError, GithubInstallationRefreshData, GithubInstallationRefreshError, GithubInstallationRefreshResponse, GithubInstallationRemoveData, GithubInstallationRemoveError, GithubInstallationRemoveResponse, GithubInstallationReposListData, GithubInstallationReposListError, GithubStatusData, GithubStatusError, 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, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, 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, 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, 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, SlackInstallationChannelListData, SlackInstallationChannelListError, SlackInstallationChannelRemoveData, SlackInstallationChannelRemoveError, SlackInstallationChannelRemoveResponse, SlackInstallationChannelSetData, SlackInstallationChannelSetError, SlackInstallationChannelSetResponse, SlackInstallationRemoveData, SlackInstallationRemoveError, SlackInstallationRemoveResponse, SlackStatusData, SlackStatusError, 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, 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, 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, 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, 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, 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, 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, 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;
|
|
@@ -956,6 +956,18 @@ export declare const fileStoreFilesStartUploadMutation: (options?: Partial<Optio
|
|
|
956
956
|
* Finalize an upload
|
|
957
957
|
*/
|
|
958
958
|
export declare const fileStoreFilesFinalizeUploadMutation: (options?: Partial<Options<FileStoreFilesFinalizeUploadData>>) => UseMutationOptions<FileStoreFilesFinalizeUploadResponse, FileStoreFilesFinalizeUploadError, Options<FileStoreFilesFinalizeUploadData>>;
|
|
959
|
+
/**
|
|
960
|
+
* Disconnect the org's GitHub App installation
|
|
961
|
+
*/
|
|
962
|
+
export declare const githubUninstallMutation: (options?: Partial<Options<GithubUninstallData>>) => UseMutationOptions<GithubUninstallResponse, GithubUninstallError, Options<GithubUninstallData>>;
|
|
963
|
+
/**
|
|
964
|
+
* Begin installing the GitHub App for the caller's org
|
|
965
|
+
*/
|
|
966
|
+
export declare const githubInstallMutation: (options?: Partial<Options<GithubInstallData>>) => UseMutationOptions<GithubInstallResponse, GithubInstallError, Options<GithubInstallData>>;
|
|
967
|
+
/**
|
|
968
|
+
* Begin connecting the caller's personal GitHub account
|
|
969
|
+
*/
|
|
970
|
+
export declare const githubConnectMutation: (options?: Partial<Options<GithubConnectData>>) => UseMutationOptions<GithubConnectResponse, GithubConnectError, Options<GithubConnectData>>;
|
|
959
971
|
export declare const githubStatusQueryKey: (options?: Options<GithubStatusData>) => [Pick<Options<GithubStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
960
972
|
_id: string;
|
|
961
973
|
_infinite?: boolean;
|
|
@@ -984,60 +996,32 @@ export declare const githubStatusOptions: (options?: Options<GithubStatusData>)
|
|
|
984
996
|
[dataTagErrorSymbol]: GithubStatusError;
|
|
985
997
|
};
|
|
986
998
|
};
|
|
987
|
-
export declare const
|
|
999
|
+
export declare const githubReposQueryKey: (options?: Options<GithubReposData>) => [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
988
1000
|
_id: string;
|
|
989
1001
|
_infinite?: boolean;
|
|
990
1002
|
tags?: ReadonlyArray<string>;
|
|
991
1003
|
}];
|
|
992
1004
|
/**
|
|
993
|
-
*
|
|
1005
|
+
* Live-fetch repositories accessible to the org's GitHub App installation
|
|
994
1006
|
*/
|
|
995
|
-
export declare const
|
|
996
|
-
_id: string;
|
|
997
|
-
_infinite?: boolean;
|
|
998
|
-
tags?: ReadonlyArray<string>;
|
|
999
|
-
}]>, "queryFn"> & {
|
|
1000
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").GithubInstallationResponse[], [Pick<Options<GithubInstallationListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1001
|
-
_id: string;
|
|
1002
|
-
_infinite?: boolean;
|
|
1003
|
-
tags?: ReadonlyArray<string>;
|
|
1004
|
-
}], never> | undefined;
|
|
1005
|
-
} & {
|
|
1006
|
-
queryKey: [Pick<Options<GithubInstallationListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1007
|
-
_id: string;
|
|
1008
|
-
_infinite?: boolean;
|
|
1009
|
-
tags?: ReadonlyArray<string>;
|
|
1010
|
-
}] & {
|
|
1011
|
-
[dataTagSymbol]: import("../types.gen").GithubInstallationResponse[];
|
|
1012
|
-
[dataTagErrorSymbol]: GithubInstallationListError;
|
|
1013
|
-
};
|
|
1014
|
-
};
|
|
1015
|
-
export declare const githubInstallationReposListQueryKey: (options: Options<GithubInstallationReposListData>) => [Pick<Options<GithubInstallationReposListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1016
|
-
_id: string;
|
|
1017
|
-
_infinite?: boolean;
|
|
1018
|
-
tags?: ReadonlyArray<string>;
|
|
1019
|
-
}];
|
|
1020
|
-
/**
|
|
1021
|
-
* Live-fetch repositories accessible to a GitHub App installation
|
|
1022
|
-
*/
|
|
1023
|
-
export declare const githubInstallationReposListOptions: (options: Options<GithubInstallationReposListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1007
|
+
export declare const githubReposOptions: (options?: Options<GithubReposData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1024
1008
|
fullName: string;
|
|
1025
|
-
}[],
|
|
1009
|
+
}[], GithubReposError, {
|
|
1026
1010
|
fullName: string;
|
|
1027
|
-
}[], [Pick<Options<
|
|
1011
|
+
}[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1028
1012
|
_id: string;
|
|
1029
1013
|
_infinite?: boolean;
|
|
1030
1014
|
tags?: ReadonlyArray<string>;
|
|
1031
1015
|
}]>, "queryFn"> & {
|
|
1032
1016
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1033
1017
|
fullName: string;
|
|
1034
|
-
}[], [Pick<Options<
|
|
1018
|
+
}[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1035
1019
|
_id: string;
|
|
1036
1020
|
_infinite?: boolean;
|
|
1037
1021
|
tags?: ReadonlyArray<string>;
|
|
1038
1022
|
}], never> | undefined;
|
|
1039
1023
|
} & {
|
|
1040
|
-
queryKey: [Pick<Options<
|
|
1024
|
+
queryKey: [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1041
1025
|
_id: string;
|
|
1042
1026
|
_infinite?: boolean;
|
|
1043
1027
|
tags?: ReadonlyArray<string>;
|
|
@@ -1045,17 +1029,9 @@ export declare const githubInstallationReposListOptions: (options: Options<Githu
|
|
|
1045
1029
|
[dataTagSymbol]: {
|
|
1046
1030
|
fullName: string;
|
|
1047
1031
|
}[];
|
|
1048
|
-
[dataTagErrorSymbol]:
|
|
1032
|
+
[dataTagErrorSymbol]: GithubReposError;
|
|
1049
1033
|
};
|
|
1050
1034
|
};
|
|
1051
|
-
/**
|
|
1052
|
-
* Re-fetch the installation's selected repositories from GitHub
|
|
1053
|
-
*/
|
|
1054
|
-
export declare const githubInstallationRefreshMutation: (options?: Partial<Options<GithubInstallationRefreshData>>) => UseMutationOptions<GithubInstallationRefreshResponse, GithubInstallationRefreshError, Options<GithubInstallationRefreshData>>;
|
|
1055
|
-
/**
|
|
1056
|
-
* Disconnect a GitHub App installation
|
|
1057
|
-
*/
|
|
1058
|
-
export declare const githubInstallationRemoveMutation: (options?: Partial<Options<GithubInstallationRemoveData>>) => UseMutationOptions<GithubInstallationRemoveResponse, GithubInstallationRemoveError, Options<GithubInstallationRemoveData>>;
|
|
1059
1035
|
export declare const mcpListQueryKey: (options?: Options<McpListData>) => [Pick<Options<McpListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1060
1036
|
_id: string;
|
|
1061
1037
|
_infinite?: boolean;
|
|
@@ -1812,6 +1788,10 @@ export declare const projectAgentAddMutation: (options?: Partial<Options<Project
|
|
|
1812
1788
|
* Detach an agent from a project
|
|
1813
1789
|
*/
|
|
1814
1790
|
export declare const projectAgentRemoveMutation: (options?: Partial<Options<ProjectAgentRemoveData>>) => UseMutationOptions<ProjectAgentRemoveResponse, ProjectAgentRemoveError, Options<ProjectAgentRemoveData>>;
|
|
1791
|
+
/**
|
|
1792
|
+
* Update an agent's membership in a project
|
|
1793
|
+
*/
|
|
1794
|
+
export declare const projectAgentUpdateMutation: (options?: Partial<Options<ProjectAgentUpdateData>>) => UseMutationOptions<ProjectAgentUpdateResponse, ProjectAgentUpdateError, Options<ProjectAgentUpdateData>>;
|
|
1815
1795
|
export declare const projectFileStoreListQueryKey: (options: Options<ProjectFileStoreListData>) => [Pick<Options<ProjectFileStoreListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1816
1796
|
_id: string;
|
|
1817
1797
|
_infinite?: boolean;
|
|
@@ -2732,6 +2712,14 @@ export declare const webhookTriggerUpdateMutation: (options?: Partial<Options<We
|
|
|
2732
2712
|
* Archive a webhook trigger
|
|
2733
2713
|
*/
|
|
2734
2714
|
export declare const webhookTriggerArchiveMutation: (options?: Partial<Options<WebhookTriggerArchiveData>>) => UseMutationOptions<WebhookTriggerArchiveResponse, WebhookTriggerArchiveError, Options<WebhookTriggerArchiveData>>;
|
|
2715
|
+
/**
|
|
2716
|
+
* Disconnect the caller's org Slack workspace
|
|
2717
|
+
*/
|
|
2718
|
+
export declare const slackUninstallMutation: (options?: Partial<Options<SlackUninstallData>>) => UseMutationOptions<SlackUninstallResponse, SlackUninstallError, Options<SlackUninstallData>>;
|
|
2719
|
+
/**
|
|
2720
|
+
* Begin a Slack workspace install
|
|
2721
|
+
*/
|
|
2722
|
+
export declare const slackInstallMutation: (options?: Partial<Options<SlackInstallData>>) => UseMutationOptions<SlackInstallResponse, SlackInstallError, Options<SlackInstallData>>;
|
|
2735
2723
|
export declare const slackStatusQueryKey: (options?: Options<SlackStatusData>) => [Pick<Options<SlackStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2736
2724
|
_id: string;
|
|
2737
2725
|
_infinite?: boolean;
|
|
@@ -2760,46 +2748,42 @@ export declare const slackStatusOptions: (options?: Options<SlackStatusData>) =>
|
|
|
2760
2748
|
[dataTagErrorSymbol]: SlackStatusError;
|
|
2761
2749
|
};
|
|
2762
2750
|
};
|
|
2763
|
-
|
|
2764
|
-
* Disconnect a Slack workspace installation
|
|
2765
|
-
*/
|
|
2766
|
-
export declare const slackInstallationRemoveMutation: (options?: Partial<Options<SlackInstallationRemoveData>>) => UseMutationOptions<SlackInstallationRemoveResponse, SlackInstallationRemoveError, Options<SlackInstallationRemoveData>>;
|
|
2767
|
-
export declare const slackInstallationChannelListQueryKey: (options: Options<SlackInstallationChannelListData>) => [Pick<Options<SlackInstallationChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2751
|
+
export declare const slackChannelListQueryKey: (options?: Options<SlackChannelListData>) => [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2768
2752
|
_id: string;
|
|
2769
2753
|
_infinite?: boolean;
|
|
2770
2754
|
tags?: ReadonlyArray<string>;
|
|
2771
2755
|
}];
|
|
2772
2756
|
/**
|
|
2773
|
-
* List Slack channels
|
|
2757
|
+
* List Slack channels with their current project mapping
|
|
2774
2758
|
*/
|
|
2775
|
-
export declare const
|
|
2759
|
+
export declare const slackChannelListOptions: (options?: Options<SlackChannelListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SlackChannel[], SlackChannelListError, import("../types.gen").SlackChannel[], [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2776
2760
|
_id: string;
|
|
2777
2761
|
_infinite?: boolean;
|
|
2778
2762
|
tags?: ReadonlyArray<string>;
|
|
2779
2763
|
}]>, "queryFn"> & {
|
|
2780
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SlackChannel[], [Pick<Options<
|
|
2764
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SlackChannel[], [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2781
2765
|
_id: string;
|
|
2782
2766
|
_infinite?: boolean;
|
|
2783
2767
|
tags?: ReadonlyArray<string>;
|
|
2784
2768
|
}], never> | undefined;
|
|
2785
2769
|
} & {
|
|
2786
|
-
queryKey: [Pick<Options<
|
|
2770
|
+
queryKey: [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2787
2771
|
_id: string;
|
|
2788
2772
|
_infinite?: boolean;
|
|
2789
2773
|
tags?: ReadonlyArray<string>;
|
|
2790
2774
|
}] & {
|
|
2791
2775
|
[dataTagSymbol]: import("../types.gen").SlackChannel[];
|
|
2792
|
-
[dataTagErrorSymbol]:
|
|
2776
|
+
[dataTagErrorSymbol]: SlackChannelListError;
|
|
2793
2777
|
};
|
|
2794
2778
|
};
|
|
2795
2779
|
/**
|
|
2796
|
-
*
|
|
2780
|
+
* Unset a Slack channel's project mapping
|
|
2797
2781
|
*/
|
|
2798
|
-
export declare const
|
|
2782
|
+
export declare const slackChannelUnsetMutation: (options?: Partial<Options<SlackChannelUnsetData>>) => UseMutationOptions<SlackChannelUnsetResponse, SlackChannelUnsetError, Options<SlackChannelUnsetData>>;
|
|
2799
2783
|
/**
|
|
2800
|
-
* Map a Slack channel to a project
|
|
2784
|
+
* Map a Slack channel to a project
|
|
2801
2785
|
*/
|
|
2802
|
-
export declare const
|
|
2786
|
+
export declare const slackChannelSetMutation: (options?: Partial<Options<SlackChannelSetData>>) => UseMutationOptions<SlackChannelSetResponse, SlackChannelSetError, Options<SlackChannelSetData>>;
|
|
2803
2787
|
export declare const vaultListQueryKey: (options?: Options<VaultListData>) => [Pick<Options<VaultListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2804
2788
|
_id: string;
|
|
2805
2789
|
_infinite?: boolean;
|
|
@@ -937,61 +937,29 @@ export const fileStoreFilesFinalizeUploadMutation = (options) => {
|
|
|
937
937
|
};
|
|
938
938
|
return mutationOptions;
|
|
939
939
|
};
|
|
940
|
-
export const githubStatusQueryKey = (options) => createQueryKey("githubStatus", options);
|
|
941
|
-
/**
|
|
942
|
-
* Report whether GitHub install + user OAuth are configured for the caller
|
|
943
|
-
*/
|
|
944
|
-
export const githubStatusOptions = (options) => queryOptions({
|
|
945
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
946
|
-
const { data } = await RenClient.__registry.get().github.status({
|
|
947
|
-
...options,
|
|
948
|
-
...queryKey[0],
|
|
949
|
-
signal,
|
|
950
|
-
throwOnError: true,
|
|
951
|
-
});
|
|
952
|
-
return data;
|
|
953
|
-
},
|
|
954
|
-
queryKey: githubStatusQueryKey(options),
|
|
955
|
-
});
|
|
956
|
-
export const githubInstallationListQueryKey = (options) => createQueryKey("githubInstallationList", options);
|
|
957
940
|
/**
|
|
958
|
-
*
|
|
941
|
+
* Disconnect the org's GitHub App installation
|
|
959
942
|
*/
|
|
960
|
-
export const
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* Live-fetch repositories accessible to a GitHub App installation
|
|
975
|
-
*/
|
|
976
|
-
export const githubInstallationReposListOptions = (options) => queryOptions({
|
|
977
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
978
|
-
const { data } = await RenClient.__registry.get().github.installation.repos.list({
|
|
979
|
-
...options,
|
|
980
|
-
...queryKey[0],
|
|
981
|
-
signal,
|
|
982
|
-
throwOnError: true,
|
|
983
|
-
});
|
|
984
|
-
return data;
|
|
985
|
-
},
|
|
986
|
-
queryKey: githubInstallationReposListQueryKey(options),
|
|
987
|
-
});
|
|
943
|
+
export const githubUninstallMutation = (options) => {
|
|
944
|
+
const mutationOptions = {
|
|
945
|
+
mutationFn: async (fnOptions) => {
|
|
946
|
+
const { data } = await RenClient.__registry.get().github.uninstall({
|
|
947
|
+
...options,
|
|
948
|
+
...fnOptions,
|
|
949
|
+
throwOnError: true,
|
|
950
|
+
});
|
|
951
|
+
return data;
|
|
952
|
+
},
|
|
953
|
+
};
|
|
954
|
+
return mutationOptions;
|
|
955
|
+
};
|
|
988
956
|
/**
|
|
989
|
-
*
|
|
957
|
+
* Begin installing the GitHub App for the caller's org
|
|
990
958
|
*/
|
|
991
|
-
export const
|
|
959
|
+
export const githubInstallMutation = (options) => {
|
|
992
960
|
const mutationOptions = {
|
|
993
961
|
mutationFn: async (fnOptions) => {
|
|
994
|
-
const { data } = await RenClient.__registry.get().github.
|
|
962
|
+
const { data } = await RenClient.__registry.get().github.install({
|
|
995
963
|
...options,
|
|
996
964
|
...fnOptions,
|
|
997
965
|
throwOnError: true,
|
|
@@ -1002,12 +970,12 @@ export const githubInstallationRefreshMutation = (options) => {
|
|
|
1002
970
|
return mutationOptions;
|
|
1003
971
|
};
|
|
1004
972
|
/**
|
|
1005
|
-
*
|
|
973
|
+
* Begin connecting the caller's personal GitHub account
|
|
1006
974
|
*/
|
|
1007
|
-
export const
|
|
975
|
+
export const githubConnectMutation = (options) => {
|
|
1008
976
|
const mutationOptions = {
|
|
1009
977
|
mutationFn: async (fnOptions) => {
|
|
1010
|
-
const { data } = await RenClient.__registry.get().github.
|
|
978
|
+
const { data } = await RenClient.__registry.get().github.connect({
|
|
1011
979
|
...options,
|
|
1012
980
|
...fnOptions,
|
|
1013
981
|
throwOnError: true,
|
|
@@ -1017,6 +985,38 @@ export const githubInstallationRemoveMutation = (options) => {
|
|
|
1017
985
|
};
|
|
1018
986
|
return mutationOptions;
|
|
1019
987
|
};
|
|
988
|
+
export const githubStatusQueryKey = (options) => createQueryKey("githubStatus", options);
|
|
989
|
+
/**
|
|
990
|
+
* Report whether GitHub install + user OAuth are configured for the caller
|
|
991
|
+
*/
|
|
992
|
+
export const githubStatusOptions = (options) => queryOptions({
|
|
993
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
994
|
+
const { data } = await RenClient.__registry.get().github.status({
|
|
995
|
+
...options,
|
|
996
|
+
...queryKey[0],
|
|
997
|
+
signal,
|
|
998
|
+
throwOnError: true,
|
|
999
|
+
});
|
|
1000
|
+
return data;
|
|
1001
|
+
},
|
|
1002
|
+
queryKey: githubStatusQueryKey(options),
|
|
1003
|
+
});
|
|
1004
|
+
export const githubReposQueryKey = (options) => createQueryKey("githubRepos", options);
|
|
1005
|
+
/**
|
|
1006
|
+
* Live-fetch repositories accessible to the org's GitHub App installation
|
|
1007
|
+
*/
|
|
1008
|
+
export const githubReposOptions = (options) => queryOptions({
|
|
1009
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1010
|
+
const { data } = await RenClient.__registry.get().github.repos({
|
|
1011
|
+
...options,
|
|
1012
|
+
...queryKey[0],
|
|
1013
|
+
signal,
|
|
1014
|
+
throwOnError: true,
|
|
1015
|
+
});
|
|
1016
|
+
return data;
|
|
1017
|
+
},
|
|
1018
|
+
queryKey: githubReposQueryKey(options),
|
|
1019
|
+
});
|
|
1020
1020
|
export const mcpListQueryKey = (options) => createQueryKey("mcpList", options);
|
|
1021
1021
|
/**
|
|
1022
1022
|
* List MCPs
|
|
@@ -1917,6 +1917,22 @@ export const projectAgentRemoveMutation = (options) => {
|
|
|
1917
1917
|
};
|
|
1918
1918
|
return mutationOptions;
|
|
1919
1919
|
};
|
|
1920
|
+
/**
|
|
1921
|
+
* Update an agent's membership in a project
|
|
1922
|
+
*/
|
|
1923
|
+
export const projectAgentUpdateMutation = (options) => {
|
|
1924
|
+
const mutationOptions = {
|
|
1925
|
+
mutationFn: async (fnOptions) => {
|
|
1926
|
+
const { data } = await RenClient.__registry.get().project.agent.update({
|
|
1927
|
+
...options,
|
|
1928
|
+
...fnOptions,
|
|
1929
|
+
throwOnError: true,
|
|
1930
|
+
});
|
|
1931
|
+
return data;
|
|
1932
|
+
},
|
|
1933
|
+
};
|
|
1934
|
+
return mutationOptions;
|
|
1935
|
+
};
|
|
1920
1936
|
export const projectFileStoreListQueryKey = (options) => createQueryKey("projectFileStoreList", options);
|
|
1921
1937
|
/**
|
|
1922
1938
|
* List file stores attached to a project
|
|
@@ -2975,6 +2991,38 @@ export const webhookTriggerArchiveMutation = (options) => {
|
|
|
2975
2991
|
};
|
|
2976
2992
|
return mutationOptions;
|
|
2977
2993
|
};
|
|
2994
|
+
/**
|
|
2995
|
+
* Disconnect the caller's org Slack workspace
|
|
2996
|
+
*/
|
|
2997
|
+
export const slackUninstallMutation = (options) => {
|
|
2998
|
+
const mutationOptions = {
|
|
2999
|
+
mutationFn: async (fnOptions) => {
|
|
3000
|
+
const { data } = await RenClient.__registry.get().slack.uninstall({
|
|
3001
|
+
...options,
|
|
3002
|
+
...fnOptions,
|
|
3003
|
+
throwOnError: true,
|
|
3004
|
+
});
|
|
3005
|
+
return data;
|
|
3006
|
+
},
|
|
3007
|
+
};
|
|
3008
|
+
return mutationOptions;
|
|
3009
|
+
};
|
|
3010
|
+
/**
|
|
3011
|
+
* Begin a Slack workspace install
|
|
3012
|
+
*/
|
|
3013
|
+
export const slackInstallMutation = (options) => {
|
|
3014
|
+
const mutationOptions = {
|
|
3015
|
+
mutationFn: async (fnOptions) => {
|
|
3016
|
+
const { data } = await RenClient.__registry.get().slack.install({
|
|
3017
|
+
...options,
|
|
3018
|
+
...fnOptions,
|
|
3019
|
+
throwOnError: true,
|
|
3020
|
+
});
|
|
3021
|
+
return data;
|
|
3022
|
+
},
|
|
3023
|
+
};
|
|
3024
|
+
return mutationOptions;
|
|
3025
|
+
};
|
|
2978
3026
|
export const slackStatusQueryKey = (options) => createQueryKey("slackStatus", options);
|
|
2979
3027
|
/**
|
|
2980
3028
|
* Report whether Slack is installed for the caller's org
|
|
@@ -2991,29 +3039,13 @@ export const slackStatusOptions = (options) => queryOptions({
|
|
|
2991
3039
|
},
|
|
2992
3040
|
queryKey: slackStatusQueryKey(options),
|
|
2993
3041
|
});
|
|
3042
|
+
export const slackChannelListQueryKey = (options) => createQueryKey("slackChannelList", options);
|
|
2994
3043
|
/**
|
|
2995
|
-
*
|
|
2996
|
-
*/
|
|
2997
|
-
export const slackInstallationRemoveMutation = (options) => {
|
|
2998
|
-
const mutationOptions = {
|
|
2999
|
-
mutationFn: async (fnOptions) => {
|
|
3000
|
-
const { data } = await RenClient.__registry.get().slack.installation.remove({
|
|
3001
|
-
...options,
|
|
3002
|
-
...fnOptions,
|
|
3003
|
-
throwOnError: true,
|
|
3004
|
-
});
|
|
3005
|
-
return data;
|
|
3006
|
-
},
|
|
3007
|
-
};
|
|
3008
|
-
return mutationOptions;
|
|
3009
|
-
};
|
|
3010
|
-
export const slackInstallationChannelListQueryKey = (options) => createQueryKey("slackInstallationChannelList", options);
|
|
3011
|
-
/**
|
|
3012
|
-
* List Slack channels for an installation
|
|
3044
|
+
* List Slack channels with their current project mapping
|
|
3013
3045
|
*/
|
|
3014
|
-
export const
|
|
3046
|
+
export const slackChannelListOptions = (options) => queryOptions({
|
|
3015
3047
|
queryFn: async ({ queryKey, signal }) => {
|
|
3016
|
-
const { data } = await RenClient.__registry.get().slack.
|
|
3048
|
+
const { data } = await RenClient.__registry.get().slack.channel.list({
|
|
3017
3049
|
...options,
|
|
3018
3050
|
...queryKey[0],
|
|
3019
3051
|
signal,
|
|
@@ -3021,15 +3053,15 @@ export const slackInstallationChannelListOptions = (options) => queryOptions({
|
|
|
3021
3053
|
});
|
|
3022
3054
|
return data;
|
|
3023
3055
|
},
|
|
3024
|
-
queryKey:
|
|
3056
|
+
queryKey: slackChannelListQueryKey(options),
|
|
3025
3057
|
});
|
|
3026
3058
|
/**
|
|
3027
|
-
*
|
|
3059
|
+
* Unset a Slack channel's project mapping
|
|
3028
3060
|
*/
|
|
3029
|
-
export const
|
|
3061
|
+
export const slackChannelUnsetMutation = (options) => {
|
|
3030
3062
|
const mutationOptions = {
|
|
3031
3063
|
mutationFn: async (fnOptions) => {
|
|
3032
|
-
const { data } = await RenClient.__registry.get().slack.
|
|
3064
|
+
const { data } = await RenClient.__registry.get().slack.channel.unset({
|
|
3033
3065
|
...options,
|
|
3034
3066
|
...fnOptions,
|
|
3035
3067
|
throwOnError: true,
|
|
@@ -3040,12 +3072,12 @@ export const slackInstallationChannelRemoveMutation = (options) => {
|
|
|
3040
3072
|
return mutationOptions;
|
|
3041
3073
|
};
|
|
3042
3074
|
/**
|
|
3043
|
-
* Map a Slack channel to a project
|
|
3075
|
+
* Map a Slack channel to a project
|
|
3044
3076
|
*/
|
|
3045
|
-
export const
|
|
3077
|
+
export const slackChannelSetMutation = (options) => {
|
|
3046
3078
|
const mutationOptions = {
|
|
3047
3079
|
mutationFn: async (fnOptions) => {
|
|
3048
|
-
const { data } = await RenClient.__registry.get().slack.
|
|
3080
|
+
const { data } = await RenClient.__registry.get().slack.channel.set({
|
|
3049
3081
|
...options,
|
|
3050
3082
|
...fnOptions,
|
|
3051
3083
|
throwOnError: true,
|
|
@@ -259,6 +259,8 @@ export type AgentLatestVersion = {
|
|
|
259
259
|
agentId: string;
|
|
260
260
|
version: string;
|
|
261
261
|
description: string | null;
|
|
262
|
+
prompt: string | null;
|
|
263
|
+
model: string | null;
|
|
262
264
|
skills: Array<{
|
|
263
265
|
skillId: string;
|
|
264
266
|
skillVersionId?: string | null;
|
|
@@ -323,10 +325,6 @@ export type OpencodeSession = {
|
|
|
323
325
|
compactingAt: string | null;
|
|
324
326
|
};
|
|
325
327
|
export type OAuthCallbackInput = string;
|
|
326
|
-
/**
|
|
327
|
-
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
328
|
-
*/
|
|
329
|
-
export type ScopeQuery = "user";
|
|
330
328
|
export type HealthCheckData = {
|
|
331
329
|
body?: never;
|
|
332
330
|
path?: never;
|
|
@@ -361,62 +359,6 @@ export type GithubOauthCallbackData = {
|
|
|
361
359
|
};
|
|
362
360
|
url: "/api/github/oauth/callback";
|
|
363
361
|
};
|
|
364
|
-
export type GithubFlowStartData = {
|
|
365
|
-
body?: never;
|
|
366
|
-
path: {
|
|
367
|
-
flow: "install" | "connect";
|
|
368
|
-
};
|
|
369
|
-
query?: {
|
|
370
|
-
/**
|
|
371
|
-
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
372
|
-
*/
|
|
373
|
-
scope?: "user";
|
|
374
|
-
returnTo?: string;
|
|
375
|
-
};
|
|
376
|
-
url: "/api/github/{flow}/start";
|
|
377
|
-
};
|
|
378
|
-
export type GithubFlowStartErrors = {
|
|
379
|
-
/**
|
|
380
|
-
* Unauthorized
|
|
381
|
-
*/
|
|
382
|
-
401: {
|
|
383
|
-
error: string;
|
|
384
|
-
};
|
|
385
|
-
/**
|
|
386
|
-
* Forbidden
|
|
387
|
-
*/
|
|
388
|
-
403: {
|
|
389
|
-
error: string;
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
export type GithubFlowStartError = GithubFlowStartErrors[keyof GithubFlowStartErrors];
|
|
393
|
-
export type SlackInstallStartData = {
|
|
394
|
-
body?: never;
|
|
395
|
-
path?: never;
|
|
396
|
-
query?: {
|
|
397
|
-
/**
|
|
398
|
-
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
399
|
-
*/
|
|
400
|
-
scope?: "user";
|
|
401
|
-
returnTo?: string;
|
|
402
|
-
};
|
|
403
|
-
url: "/api/slack/install";
|
|
404
|
-
};
|
|
405
|
-
export type SlackInstallStartErrors = {
|
|
406
|
-
/**
|
|
407
|
-
* Unauthorized
|
|
408
|
-
*/
|
|
409
|
-
401: {
|
|
410
|
-
error: string;
|
|
411
|
-
};
|
|
412
|
-
/**
|
|
413
|
-
* Forbidden
|
|
414
|
-
*/
|
|
415
|
-
403: {
|
|
416
|
-
error: string;
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
export type SlackInstallStartError = SlackInstallStartErrors[keyof SlackInstallStartErrors];
|
|
420
362
|
export type RegistryAgentGetBySlugData = {
|
|
421
363
|
body?: never;
|
|
422
364
|
path: {
|