@renai-labs/sdk 0.1.5 → 0.1.6
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 +39 -59
- package/dist/generated/@tanstack/react-query.gen.js +95 -79
- package/dist/generated/internal/types.gen.d.ts +0 -60
- package/dist/generated/sdk.gen.d.ts +27 -35
- package/dist/generated/sdk.gen.js +58 -46
- package/dist/generated/types.gen.d.ts +135 -116
- package/dist/generated/zod.gen.d.ts +79 -137
- package/dist/generated/zod.gen.js +51 -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, 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;
|
|
@@ -2732,6 +2708,14 @@ export declare const webhookTriggerUpdateMutation: (options?: Partial<Options<We
|
|
|
2732
2708
|
* Archive a webhook trigger
|
|
2733
2709
|
*/
|
|
2734
2710
|
export declare const webhookTriggerArchiveMutation: (options?: Partial<Options<WebhookTriggerArchiveData>>) => UseMutationOptions<WebhookTriggerArchiveResponse, WebhookTriggerArchiveError, Options<WebhookTriggerArchiveData>>;
|
|
2711
|
+
/**
|
|
2712
|
+
* Disconnect the caller's org Slack workspace
|
|
2713
|
+
*/
|
|
2714
|
+
export declare const slackUninstallMutation: (options?: Partial<Options<SlackUninstallData>>) => UseMutationOptions<SlackUninstallResponse, SlackUninstallError, Options<SlackUninstallData>>;
|
|
2715
|
+
/**
|
|
2716
|
+
* Begin a Slack workspace install
|
|
2717
|
+
*/
|
|
2718
|
+
export declare const slackInstallMutation: (options?: Partial<Options<SlackInstallData>>) => UseMutationOptions<SlackInstallResponse, SlackInstallError, Options<SlackInstallData>>;
|
|
2735
2719
|
export declare const slackStatusQueryKey: (options?: Options<SlackStatusData>) => [Pick<Options<SlackStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2736
2720
|
_id: string;
|
|
2737
2721
|
_infinite?: boolean;
|
|
@@ -2760,46 +2744,42 @@ export declare const slackStatusOptions: (options?: Options<SlackStatusData>) =>
|
|
|
2760
2744
|
[dataTagErrorSymbol]: SlackStatusError;
|
|
2761
2745
|
};
|
|
2762
2746
|
};
|
|
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"> & {
|
|
2747
|
+
export declare const slackChannelListQueryKey: (options?: Options<SlackChannelListData>) => [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2768
2748
|
_id: string;
|
|
2769
2749
|
_infinite?: boolean;
|
|
2770
2750
|
tags?: ReadonlyArray<string>;
|
|
2771
2751
|
}];
|
|
2772
2752
|
/**
|
|
2773
|
-
* List Slack channels
|
|
2753
|
+
* List Slack channels with their current project mapping
|
|
2774
2754
|
*/
|
|
2775
|
-
export declare const
|
|
2755
|
+
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
2756
|
_id: string;
|
|
2777
2757
|
_infinite?: boolean;
|
|
2778
2758
|
tags?: ReadonlyArray<string>;
|
|
2779
2759
|
}]>, "queryFn"> & {
|
|
2780
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SlackChannel[], [Pick<Options<
|
|
2760
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SlackChannel[], [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2781
2761
|
_id: string;
|
|
2782
2762
|
_infinite?: boolean;
|
|
2783
2763
|
tags?: ReadonlyArray<string>;
|
|
2784
2764
|
}], never> | undefined;
|
|
2785
2765
|
} & {
|
|
2786
|
-
queryKey: [Pick<Options<
|
|
2766
|
+
queryKey: [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2787
2767
|
_id: string;
|
|
2788
2768
|
_infinite?: boolean;
|
|
2789
2769
|
tags?: ReadonlyArray<string>;
|
|
2790
2770
|
}] & {
|
|
2791
2771
|
[dataTagSymbol]: import("../types.gen").SlackChannel[];
|
|
2792
|
-
[dataTagErrorSymbol]:
|
|
2772
|
+
[dataTagErrorSymbol]: SlackChannelListError;
|
|
2793
2773
|
};
|
|
2794
2774
|
};
|
|
2795
2775
|
/**
|
|
2796
|
-
*
|
|
2776
|
+
* Unset a Slack channel's project mapping
|
|
2797
2777
|
*/
|
|
2798
|
-
export declare const
|
|
2778
|
+
export declare const slackChannelUnsetMutation: (options?: Partial<Options<SlackChannelUnsetData>>) => UseMutationOptions<SlackChannelUnsetResponse, SlackChannelUnsetError, Options<SlackChannelUnsetData>>;
|
|
2799
2779
|
/**
|
|
2800
|
-
* Map a Slack channel to a project
|
|
2780
|
+
* Map a Slack channel to a project
|
|
2801
2781
|
*/
|
|
2802
|
-
export declare const
|
|
2782
|
+
export declare const slackChannelSetMutation: (options?: Partial<Options<SlackChannelSetData>>) => UseMutationOptions<SlackChannelSetResponse, SlackChannelSetError, Options<SlackChannelSetData>>;
|
|
2803
2783
|
export declare const vaultListQueryKey: (options?: Options<VaultListData>) => [Pick<Options<VaultListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2804
2784
|
_id: string;
|
|
2805
2785
|
_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
940
|
/**
|
|
942
|
-
*
|
|
941
|
+
* Disconnect the org's GitHub App installation
|
|
943
942
|
*/
|
|
944
|
-
export const
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* List GitHub App installations for the caller's org
|
|
959
|
-
*/
|
|
960
|
-
export const githubInstallationListOptions = (options) => queryOptions({
|
|
961
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
962
|
-
const { data } = await RenClient.__registry.get().github.installation.list({
|
|
963
|
-
...options,
|
|
964
|
-
...queryKey[0],
|
|
965
|
-
signal,
|
|
966
|
-
throwOnError: true,
|
|
967
|
-
});
|
|
968
|
-
return data;
|
|
969
|
-
},
|
|
970
|
-
queryKey: githubInstallationListQueryKey(options),
|
|
971
|
-
});
|
|
972
|
-
export const githubInstallationReposListQueryKey = (options) => createQueryKey("githubInstallationReposList", options);
|
|
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
|
|
@@ -2975,6 +2975,38 @@ export const webhookTriggerArchiveMutation = (options) => {
|
|
|
2975
2975
|
};
|
|
2976
2976
|
return mutationOptions;
|
|
2977
2977
|
};
|
|
2978
|
+
/**
|
|
2979
|
+
* Disconnect the caller's org Slack workspace
|
|
2980
|
+
*/
|
|
2981
|
+
export const slackUninstallMutation = (options) => {
|
|
2982
|
+
const mutationOptions = {
|
|
2983
|
+
mutationFn: async (fnOptions) => {
|
|
2984
|
+
const { data } = await RenClient.__registry.get().slack.uninstall({
|
|
2985
|
+
...options,
|
|
2986
|
+
...fnOptions,
|
|
2987
|
+
throwOnError: true,
|
|
2988
|
+
});
|
|
2989
|
+
return data;
|
|
2990
|
+
},
|
|
2991
|
+
};
|
|
2992
|
+
return mutationOptions;
|
|
2993
|
+
};
|
|
2994
|
+
/**
|
|
2995
|
+
* Begin a Slack workspace install
|
|
2996
|
+
*/
|
|
2997
|
+
export const slackInstallMutation = (options) => {
|
|
2998
|
+
const mutationOptions = {
|
|
2999
|
+
mutationFn: async (fnOptions) => {
|
|
3000
|
+
const { data } = await RenClient.__registry.get().slack.install({
|
|
3001
|
+
...options,
|
|
3002
|
+
...fnOptions,
|
|
3003
|
+
throwOnError: true,
|
|
3004
|
+
});
|
|
3005
|
+
return data;
|
|
3006
|
+
},
|
|
3007
|
+
};
|
|
3008
|
+
return mutationOptions;
|
|
3009
|
+
};
|
|
2978
3010
|
export const slackStatusQueryKey = (options) => createQueryKey("slackStatus", options);
|
|
2979
3011
|
/**
|
|
2980
3012
|
* Report whether Slack is installed for the caller's org
|
|
@@ -2991,29 +3023,13 @@ export const slackStatusOptions = (options) => queryOptions({
|
|
|
2991
3023
|
},
|
|
2992
3024
|
queryKey: slackStatusQueryKey(options),
|
|
2993
3025
|
});
|
|
3026
|
+
export const slackChannelListQueryKey = (options) => createQueryKey("slackChannelList", options);
|
|
2994
3027
|
/**
|
|
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
|
|
3028
|
+
* List Slack channels with their current project mapping
|
|
3013
3029
|
*/
|
|
3014
|
-
export const
|
|
3030
|
+
export const slackChannelListOptions = (options) => queryOptions({
|
|
3015
3031
|
queryFn: async ({ queryKey, signal }) => {
|
|
3016
|
-
const { data } = await RenClient.__registry.get().slack.
|
|
3032
|
+
const { data } = await RenClient.__registry.get().slack.channel.list({
|
|
3017
3033
|
...options,
|
|
3018
3034
|
...queryKey[0],
|
|
3019
3035
|
signal,
|
|
@@ -3021,15 +3037,15 @@ export const slackInstallationChannelListOptions = (options) => queryOptions({
|
|
|
3021
3037
|
});
|
|
3022
3038
|
return data;
|
|
3023
3039
|
},
|
|
3024
|
-
queryKey:
|
|
3040
|
+
queryKey: slackChannelListQueryKey(options),
|
|
3025
3041
|
});
|
|
3026
3042
|
/**
|
|
3027
|
-
*
|
|
3043
|
+
* Unset a Slack channel's project mapping
|
|
3028
3044
|
*/
|
|
3029
|
-
export const
|
|
3045
|
+
export const slackChannelUnsetMutation = (options) => {
|
|
3030
3046
|
const mutationOptions = {
|
|
3031
3047
|
mutationFn: async (fnOptions) => {
|
|
3032
|
-
const { data } = await RenClient.__registry.get().slack.
|
|
3048
|
+
const { data } = await RenClient.__registry.get().slack.channel.unset({
|
|
3033
3049
|
...options,
|
|
3034
3050
|
...fnOptions,
|
|
3035
3051
|
throwOnError: true,
|
|
@@ -3040,12 +3056,12 @@ export const slackInstallationChannelRemoveMutation = (options) => {
|
|
|
3040
3056
|
return mutationOptions;
|
|
3041
3057
|
};
|
|
3042
3058
|
/**
|
|
3043
|
-
* Map a Slack channel to a project
|
|
3059
|
+
* Map a Slack channel to a project
|
|
3044
3060
|
*/
|
|
3045
|
-
export const
|
|
3061
|
+
export const slackChannelSetMutation = (options) => {
|
|
3046
3062
|
const mutationOptions = {
|
|
3047
3063
|
mutationFn: async (fnOptions) => {
|
|
3048
|
-
const { data } = await RenClient.__registry.get().slack.
|
|
3064
|
+
const { data } = await RenClient.__registry.get().slack.channel.set({
|
|
3049
3065
|
...options,
|
|
3050
3066
|
...fnOptions,
|
|
3051
3067
|
throwOnError: true,
|
|
@@ -323,10 +323,6 @@ export type OpencodeSession = {
|
|
|
323
323
|
compactingAt: string | null;
|
|
324
324
|
};
|
|
325
325
|
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
326
|
export type HealthCheckData = {
|
|
331
327
|
body?: never;
|
|
332
328
|
path?: never;
|
|
@@ -361,62 +357,6 @@ export type GithubOauthCallbackData = {
|
|
|
361
357
|
};
|
|
362
358
|
url: "/api/github/oauth/callback";
|
|
363
359
|
};
|
|
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
360
|
export type RegistryAgentGetBySlugData = {
|
|
421
361
|
body?: never;
|
|
422
362
|
path: {
|