@renai-labs/sdk 0.1.4 → 0.1.5

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.
@@ -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, 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, 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";
4
4
  export type QueryKey<TOptions extends Options> = [
5
5
  Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
6
6
  _id: string;
@@ -2764,6 +2764,42 @@ export declare const slackStatusOptions: (options?: Options<SlackStatusData>) =>
2764
2764
  * Disconnect a Slack workspace installation
2765
2765
  */
2766
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"> & {
2768
+ _id: string;
2769
+ _infinite?: boolean;
2770
+ tags?: ReadonlyArray<string>;
2771
+ }];
2772
+ /**
2773
+ * List Slack channels for an installation
2774
+ */
2775
+ export declare const slackInstallationChannelListOptions: (options: Options<SlackInstallationChannelListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SlackChannel[], SlackInstallationChannelListError, import("../types.gen").SlackChannel[], [Pick<Options<SlackInstallationChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2776
+ _id: string;
2777
+ _infinite?: boolean;
2778
+ tags?: ReadonlyArray<string>;
2779
+ }]>, "queryFn"> & {
2780
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SlackChannel[], [Pick<Options<SlackInstallationChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2781
+ _id: string;
2782
+ _infinite?: boolean;
2783
+ tags?: ReadonlyArray<string>;
2784
+ }], never> | undefined;
2785
+ } & {
2786
+ queryKey: [Pick<Options<SlackInstallationChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2787
+ _id: string;
2788
+ _infinite?: boolean;
2789
+ tags?: ReadonlyArray<string>;
2790
+ }] & {
2791
+ [dataTagSymbol]: import("../types.gen").SlackChannel[];
2792
+ [dataTagErrorSymbol]: SlackInstallationChannelListError;
2793
+ };
2794
+ };
2795
+ /**
2796
+ * Remove a Slack channel mapping from an installation
2797
+ */
2798
+ export declare const slackInstallationChannelRemoveMutation: (options?: Partial<Options<SlackInstallationChannelRemoveData>>) => UseMutationOptions<SlackInstallationChannelRemoveResponse, SlackInstallationChannelRemoveError, Options<SlackInstallationChannelRemoveData>>;
2799
+ /**
2800
+ * Map a Slack channel to a project for an installation
2801
+ */
2802
+ export declare const slackInstallationChannelSetMutation: (options?: Partial<Options<SlackInstallationChannelSetData>>) => UseMutationOptions<SlackInstallationChannelSetResponse, SlackInstallationChannelSetError, Options<SlackInstallationChannelSetData>>;
2767
2803
  export declare const vaultListQueryKey: (options?: Options<VaultListData>) => [Pick<Options<VaultListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2768
2804
  _id: string;
2769
2805
  _infinite?: boolean;
@@ -3007,6 +3007,54 @@ export const slackInstallationRemoveMutation = (options) => {
3007
3007
  };
3008
3008
  return mutationOptions;
3009
3009
  };
3010
+ export const slackInstallationChannelListQueryKey = (options) => createQueryKey("slackInstallationChannelList", options);
3011
+ /**
3012
+ * List Slack channels for an installation
3013
+ */
3014
+ export const slackInstallationChannelListOptions = (options) => queryOptions({
3015
+ queryFn: async ({ queryKey, signal }) => {
3016
+ const { data } = await RenClient.__registry.get().slack.installation.channel.list({
3017
+ ...options,
3018
+ ...queryKey[0],
3019
+ signal,
3020
+ throwOnError: true,
3021
+ });
3022
+ return data;
3023
+ },
3024
+ queryKey: slackInstallationChannelListQueryKey(options),
3025
+ });
3026
+ /**
3027
+ * Remove a Slack channel mapping from an installation
3028
+ */
3029
+ export const slackInstallationChannelRemoveMutation = (options) => {
3030
+ const mutationOptions = {
3031
+ mutationFn: async (fnOptions) => {
3032
+ const { data } = await RenClient.__registry.get().slack.installation.channel.remove({
3033
+ ...options,
3034
+ ...fnOptions,
3035
+ throwOnError: true,
3036
+ });
3037
+ return data;
3038
+ },
3039
+ };
3040
+ return mutationOptions;
3041
+ };
3042
+ /**
3043
+ * Map a Slack channel to a project for an installation
3044
+ */
3045
+ export const slackInstallationChannelSetMutation = (options) => {
3046
+ const mutationOptions = {
3047
+ mutationFn: async (fnOptions) => {
3048
+ const { data } = await RenClient.__registry.get().slack.installation.channel.set({
3049
+ ...options,
3050
+ ...fnOptions,
3051
+ throwOnError: true,
3052
+ });
3053
+ return data;
3054
+ },
3055
+ };
3056
+ return mutationOptions;
3057
+ };
3010
3058
  export const vaultListQueryKey = (options) => createQueryKey("vaultList", options);
3011
3059
  /**
3012
3060
  * List vaults
@@ -14,7 +14,7 @@ export type OpencodeEvent = {
14
14
  export type OpencodeSessionSyncEntry = {
15
15
  sessionId: string;
16
16
  workspaceId: string | null;
17
- projectId: string;
17
+ projectSlug: string;
18
18
  directory: string;
19
19
  latestSeq: number;
20
20
  };
@@ -867,7 +867,7 @@ export type SandboxSessionUpdateData = {
867
867
  [key: string]: unknown;
868
868
  };
869
869
  } | null;
870
- currentProjectAgentId?: string;
870
+ currentAgentSlug?: string;
871
871
  };
872
872
  path: {
873
873
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { type Client, type Options as Options2, type TDataShape } from "./client";
2
- import type { AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetBySlugData, AgentGetBySlugErrors, AgentGetBySlugResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingDailyUsageData, BillingDailyUsageErrors, BillingDailyUsageResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingUpdatePlanData, BillingUpdatePlanErrors, BillingUpdatePlanResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialArchiveData, CredentialArchiveErrors, CredentialArchiveResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialOauthStartData, CredentialOauthStartErrors, CredentialOauthStartResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentCreateData, EnvironmentCreateErrors, EnvironmentCreateResponses, EnvironmentDeleteData, EnvironmentDeleteErrors, EnvironmentDeleteResponses, EnvironmentGetData, EnvironmentGetErrors, EnvironmentGetResponses, EnvironmentListData, EnvironmentListErrors, EnvironmentListResponses, EnvironmentUpdateData, EnvironmentUpdateErrors, EnvironmentUpdateResponses, FileStoreArchiveData, FileStoreArchiveErrors, FileStoreArchiveResponses, FileStoreCreateData, FileStoreCreateErrors, FileStoreCreateResponses, FileStoreFilesDeleteData, FileStoreFilesDeleteErrors, FileStoreFilesDeleteResponses, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadErrors, FileStoreFilesFinalizeUploadResponses, FileStoreFilesListData, FileStoreFilesListErrors, FileStoreFilesListResponses, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadErrors, FileStoreFilesPresignDownloadResponses, FileStoreFilesStartUploadData, FileStoreFilesStartUploadErrors, FileStoreFilesStartUploadResponses, FileStoreGetData, FileStoreGetErrors, FileStoreGetResponses, FileStoreListData, FileStoreListErrors, FileStoreListResponses, FileStoreUpdateData, FileStoreUpdateErrors, FileStoreUpdateResponses, GithubInstallationListData, GithubInstallationListErrors, GithubInstallationListResponses, GithubInstallationRefreshData, GithubInstallationRefreshErrors, GithubInstallationRefreshResponses, GithubInstallationRemoveData, GithubInstallationRemoveErrors, GithubInstallationRemoveResponses, GithubInstallationReposListData, GithubInstallationReposListErrors, GithubInstallationReposListResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodGetData, PodGetErrors, PodGetResponses, PodListData, PodListErrors, PodListResponses, PodMemberAddData, PodMemberAddErrors, PodMemberAddResponses, PodMemberListData, PodMemberListErrors, PodMemberListResponses, PodMemberRemoveData, PodMemberRemoveErrors, PodMemberRemoveResponses, PodSandboxProvisionData, PodSandboxProvisionErrors, PodSandboxProvisionResponses, PodSandboxStatusData, PodSandboxStatusErrors, PodSandboxStatusResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadErrors, RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedGetData, RegistryReplaySharedGetErrors, RegistryReplaySharedGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, ReplayArchiveData, ReplayArchiveErrors, ReplayArchiveResponses, ReplayCreateData, ReplayCreateErrors, ReplayCreateResponses, ReplayDeprecateData, ReplayDeprecateErrors, ReplayDeprecateResponses, ReplayGetData, ReplayGetErrors, ReplayGetResponses, ReplayListData, ReplayListErrors, ReplayListResponses, ReplayPublishData, ReplayPublishErrors, ReplayPublishResponses, ReplayShareData, ReplayShareErrors, ReplayShareResponses, ReplayUndeprecateData, ReplayUndeprecateErrors, ReplayUndeprecateResponses, ReplayUpdateData, ReplayUpdateErrors, ReplayUpdateResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSearchData, SkillSearchErrors, SkillSearchResponses, SkillUndeprecateData, SkillUndeprecateErrors, SkillUndeprecateResponses, SkillUpdateData, SkillUpdateErrors, SkillUpdateResponses, SkillVersionArchiveData, SkillVersionArchiveErrors, SkillVersionArchiveResponses, SkillVersionCreateData, SkillVersionCreateErrors, SkillVersionCreateResponses, SkillVersionDataData, SkillVersionDataErrors, SkillVersionDataResponses, SkillVersionGetData, SkillVersionGetErrors, SkillVersionGetResponses, SkillVersionListData, SkillVersionListErrors, SkillVersionListResponses, SlackInstallationRemoveData, SlackInstallationRemoveErrors, SlackInstallationRemoveResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, TriggerArchiveData, TriggerArchiveErrors, TriggerArchiveResponses, TriggerCreateData, TriggerCreateErrors, TriggerCreateResponses, TriggerGetData, TriggerGetErrors, TriggerGetResponses, TriggerListData, TriggerListErrors, TriggerListResponses, TriggerUpdateData, TriggerUpdateErrors, TriggerUpdateResponses, VaultArchiveData, VaultArchiveErrors, VaultArchiveResponses, VaultCreateData, VaultCreateErrors, VaultCreateResponses, VaultDeleteData, VaultDeleteErrors, VaultDeleteResponses, VaultGetData, VaultGetErrors, VaultGetResponses, VaultListData, VaultListErrors, VaultListResponses, VaultUpdateData, VaultUpdateErrors, VaultUpdateResponses, WebhookTriggerArchiveData, WebhookTriggerArchiveErrors, WebhookTriggerArchiveResponses, WebhookTriggerCreateData, WebhookTriggerCreateErrors, WebhookTriggerCreateResponses, WebhookTriggerGetData, WebhookTriggerGetErrors, WebhookTriggerGetResponses, WebhookTriggerListData, WebhookTriggerListErrors, WebhookTriggerListResponses, WebhookTriggerUpdateData, WebhookTriggerUpdateErrors, WebhookTriggerUpdateResponses } from "./types.gen";
2
+ import type { AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetBySlugData, AgentGetBySlugErrors, AgentGetBySlugResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingDailyUsageData, BillingDailyUsageErrors, BillingDailyUsageResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingUpdatePlanData, BillingUpdatePlanErrors, BillingUpdatePlanResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialArchiveData, CredentialArchiveErrors, CredentialArchiveResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialOauthStartData, CredentialOauthStartErrors, CredentialOauthStartResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentCreateData, EnvironmentCreateErrors, EnvironmentCreateResponses, EnvironmentDeleteData, EnvironmentDeleteErrors, EnvironmentDeleteResponses, EnvironmentGetData, EnvironmentGetErrors, EnvironmentGetResponses, EnvironmentListData, EnvironmentListErrors, EnvironmentListResponses, EnvironmentUpdateData, EnvironmentUpdateErrors, EnvironmentUpdateResponses, FileStoreArchiveData, FileStoreArchiveErrors, FileStoreArchiveResponses, FileStoreCreateData, FileStoreCreateErrors, FileStoreCreateResponses, FileStoreFilesDeleteData, FileStoreFilesDeleteErrors, FileStoreFilesDeleteResponses, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadErrors, FileStoreFilesFinalizeUploadResponses, FileStoreFilesListData, FileStoreFilesListErrors, FileStoreFilesListResponses, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadErrors, FileStoreFilesPresignDownloadResponses, FileStoreFilesStartUploadData, FileStoreFilesStartUploadErrors, FileStoreFilesStartUploadResponses, FileStoreGetData, FileStoreGetErrors, FileStoreGetResponses, FileStoreListData, FileStoreListErrors, FileStoreListResponses, FileStoreUpdateData, FileStoreUpdateErrors, FileStoreUpdateResponses, GithubInstallationListData, GithubInstallationListErrors, GithubInstallationListResponses, GithubInstallationRefreshData, GithubInstallationRefreshErrors, GithubInstallationRefreshResponses, GithubInstallationRemoveData, GithubInstallationRemoveErrors, GithubInstallationRemoveResponses, GithubInstallationReposListData, GithubInstallationReposListErrors, GithubInstallationReposListResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodGetData, PodGetErrors, PodGetResponses, PodListData, PodListErrors, PodListResponses, PodMemberAddData, PodMemberAddErrors, PodMemberAddResponses, PodMemberListData, PodMemberListErrors, PodMemberListResponses, PodMemberRemoveData, PodMemberRemoveErrors, PodMemberRemoveResponses, PodSandboxProvisionData, PodSandboxProvisionErrors, PodSandboxProvisionResponses, PodSandboxStatusData, PodSandboxStatusErrors, PodSandboxStatusResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadErrors, RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedGetData, RegistryReplaySharedGetErrors, RegistryReplaySharedGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, ReplayArchiveData, ReplayArchiveErrors, ReplayArchiveResponses, ReplayCreateData, ReplayCreateErrors, ReplayCreateResponses, ReplayDeprecateData, ReplayDeprecateErrors, ReplayDeprecateResponses, ReplayGetData, ReplayGetErrors, ReplayGetResponses, ReplayListData, ReplayListErrors, ReplayListResponses, ReplayPublishData, ReplayPublishErrors, ReplayPublishResponses, ReplayShareData, ReplayShareErrors, ReplayShareResponses, ReplayUndeprecateData, ReplayUndeprecateErrors, ReplayUndeprecateResponses, ReplayUpdateData, ReplayUpdateErrors, ReplayUpdateResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSearchData, SkillSearchErrors, SkillSearchResponses, SkillUndeprecateData, SkillUndeprecateErrors, SkillUndeprecateResponses, SkillUpdateData, SkillUpdateErrors, SkillUpdateResponses, SkillVersionArchiveData, SkillVersionArchiveErrors, SkillVersionArchiveResponses, SkillVersionCreateData, SkillVersionCreateErrors, SkillVersionCreateResponses, SkillVersionDataData, SkillVersionDataErrors, SkillVersionDataResponses, SkillVersionGetData, SkillVersionGetErrors, SkillVersionGetResponses, SkillVersionListData, SkillVersionListErrors, SkillVersionListResponses, SlackInstallationChannelListData, SlackInstallationChannelListErrors, SlackInstallationChannelListResponses, SlackInstallationChannelRemoveData, SlackInstallationChannelRemoveErrors, SlackInstallationChannelRemoveResponses, SlackInstallationChannelSetData, SlackInstallationChannelSetErrors, SlackInstallationChannelSetResponses, SlackInstallationRemoveData, SlackInstallationRemoveErrors, SlackInstallationRemoveResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, TriggerArchiveData, TriggerArchiveErrors, TriggerArchiveResponses, TriggerCreateData, TriggerCreateErrors, TriggerCreateResponses, TriggerGetData, TriggerGetErrors, TriggerGetResponses, TriggerListData, TriggerListErrors, TriggerListResponses, TriggerUpdateData, TriggerUpdateErrors, TriggerUpdateResponses, VaultArchiveData, VaultArchiveErrors, VaultArchiveResponses, VaultCreateData, VaultCreateErrors, VaultCreateResponses, VaultDeleteData, VaultDeleteErrors, VaultDeleteResponses, VaultGetData, VaultGetErrors, VaultGetResponses, VaultListData, VaultListErrors, VaultListResponses, VaultUpdateData, VaultUpdateErrors, VaultUpdateResponses, WebhookTriggerArchiveData, WebhookTriggerArchiveErrors, WebhookTriggerArchiveResponses, WebhookTriggerCreateData, WebhookTriggerCreateErrors, WebhookTriggerCreateResponses, WebhookTriggerGetData, WebhookTriggerGetErrors, WebhookTriggerGetResponses, WebhookTriggerListData, WebhookTriggerListErrors, WebhookTriggerListResponses, WebhookTriggerUpdateData, WebhookTriggerUpdateErrors, WebhookTriggerUpdateResponses } from "./types.gen";
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -755,11 +755,27 @@ export declare class WebhookTrigger extends HeyApiClient {
755
755
  */
756
756
  archive<ThrowOnError extends boolean = false>(options: Options<WebhookTriggerArchiveData, ThrowOnError>): import("./client").RequestResult<WebhookTriggerArchiveResponses, WebhookTriggerArchiveErrors, ThrowOnError, "fields">;
757
757
  }
758
+ export declare class Channel extends HeyApiClient {
759
+ /**
760
+ * List Slack channels for an installation
761
+ */
762
+ list<ThrowOnError extends boolean = false>(options: Options<SlackInstallationChannelListData, ThrowOnError>): import("./client").RequestResult<SlackInstallationChannelListResponses, SlackInstallationChannelListErrors, ThrowOnError, "fields">;
763
+ /**
764
+ * Remove a Slack channel mapping from an installation
765
+ */
766
+ remove<ThrowOnError extends boolean = false>(options: Options<SlackInstallationChannelRemoveData, ThrowOnError>): import("./client").RequestResult<SlackInstallationChannelRemoveResponses, SlackInstallationChannelRemoveErrors, ThrowOnError, "fields">;
767
+ /**
768
+ * Map a Slack channel to a project for an installation
769
+ */
770
+ set<ThrowOnError extends boolean = false>(options: Options<SlackInstallationChannelSetData, ThrowOnError>): import("./client").RequestResult<SlackInstallationChannelSetResponses, SlackInstallationChannelSetErrors, ThrowOnError, "fields">;
771
+ }
758
772
  export declare class Installation2 extends HeyApiClient {
759
773
  /**
760
774
  * Disconnect a Slack workspace installation
761
775
  */
762
776
  remove<ThrowOnError extends boolean = false>(options: Options<SlackInstallationRemoveData, ThrowOnError>): import("./client").RequestResult<SlackInstallationRemoveResponses, SlackInstallationRemoveErrors, ThrowOnError, "fields">;
777
+ private _channel?;
778
+ get channel(): Channel;
763
779
  }
764
780
  export declare class Slack extends HeyApiClient {
765
781
  /**
@@ -1739,6 +1739,33 @@ export class WebhookTrigger extends HeyApiClient {
1739
1739
  });
1740
1740
  }
1741
1741
  }
1742
+ export class Channel extends HeyApiClient {
1743
+ /**
1744
+ * List Slack channels for an installation
1745
+ */
1746
+ list(options) {
1747
+ return (options.client ?? this.client).get({ url: "/api/slack/installations/{id}/channels", ...options });
1748
+ }
1749
+ /**
1750
+ * Remove a Slack channel mapping from an installation
1751
+ */
1752
+ remove(options) {
1753
+ return (options.client ?? this.client).delete({ url: "/api/slack/installations/{id}/channels/{channelId}", ...options });
1754
+ }
1755
+ /**
1756
+ * Map a Slack channel to a project for an installation
1757
+ */
1758
+ set(options) {
1759
+ return (options.client ?? this.client).put({
1760
+ url: "/api/slack/installations/{id}/channels/{channelId}",
1761
+ ...options,
1762
+ headers: {
1763
+ "Content-Type": "application/json",
1764
+ ...options.headers,
1765
+ },
1766
+ });
1767
+ }
1768
+ }
1742
1769
  export class Installation2 extends HeyApiClient {
1743
1770
  /**
1744
1771
  * Disconnect a Slack workspace installation
@@ -1746,6 +1773,10 @@ export class Installation2 extends HeyApiClient {
1746
1773
  remove(options) {
1747
1774
  return (options.client ?? this.client).delete({ url: "/api/slack/installations/{id}", ...options });
1748
1775
  }
1776
+ _channel;
1777
+ get channel() {
1778
+ return (this._channel ??= new Channel({ client: this.client }));
1779
+ }
1749
1780
  }
1750
1781
  export class Slack extends HeyApiClient {
1751
1782
  /**
@@ -254,6 +254,10 @@ export type Vault = {
254
254
  updatedAt: string;
255
255
  archivedAt: string | null;
256
256
  };
257
+ export type SlackChannel = {
258
+ id: string;
259
+ name: string;
260
+ };
257
261
  export type SlackStatus = {
258
262
  hasInstallation: boolean;
259
263
  installations: Array<SlackInstallationResponse>;
@@ -266,6 +270,14 @@ export type SlackInstallationResponse = {
266
270
  teamName: string | null;
267
271
  botUserId: string;
268
272
  scope: string;
273
+ channelMappings: {
274
+ [key: string]: {
275
+ channelName: string | null;
276
+ projectId: string;
277
+ defaultProjectAgentId: string | null;
278
+ fallbackSenderUserId: string | null;
279
+ };
280
+ };
269
281
  createdAt: string;
270
282
  updatedAt: string;
271
283
  archivedAt: string | null;
@@ -279,7 +291,7 @@ export type WebhookTrigger = {
279
291
  projectId: string;
280
292
  projectAgentId: string;
281
293
  senderUserId: string;
282
- provider: "slack" | "generic";
294
+ provider: "generic";
283
295
  providerInstallId: string | null;
284
296
  scopeFilter: {
285
297
  channelId?: string;
@@ -364,7 +376,7 @@ export type SessionFilesPresignUploadResponse = {
364
376
  uploadUrl: string;
365
377
  sandboxPath: string;
366
378
  podVolume: {
367
- projectId: string;
379
+ projectSlug: string;
368
380
  sessionId: string;
369
381
  kind: "outputs" | "uploads";
370
382
  filename: string;
@@ -6235,7 +6247,7 @@ export type SessionUpdateData = {
6235
6247
  [key: string]: unknown;
6236
6248
  };
6237
6249
  } | null;
6238
- currentProjectAgentId?: string;
6250
+ currentAgentSlug?: string;
6239
6251
  };
6240
6252
  path: {
6241
6253
  id: string;
@@ -7570,7 +7582,7 @@ export type WebhookTriggerCreateData = {
7570
7582
  projectId: string;
7571
7583
  projectAgentId: string;
7572
7584
  senderUserId: string;
7573
- provider: "slack" | "generic";
7585
+ provider: "generic";
7574
7586
  providerInstallId: string | null;
7575
7587
  scopeFilter: {
7576
7588
  channelId?: string;
@@ -7834,6 +7846,142 @@ export type SlackInstallationRemoveResponses = {
7834
7846
  204: void;
7835
7847
  };
7836
7848
  export type SlackInstallationRemoveResponse = SlackInstallationRemoveResponses[keyof SlackInstallationRemoveResponses];
7849
+ export type SlackInstallationChannelListData = {
7850
+ body?: never;
7851
+ path: {
7852
+ id: string;
7853
+ };
7854
+ query?: {
7855
+ /**
7856
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
7857
+ */
7858
+ scope?: "user";
7859
+ };
7860
+ url: "/api/slack/installations/{id}/channels";
7861
+ };
7862
+ export type SlackInstallationChannelListErrors = {
7863
+ /**
7864
+ * Unauthorized
7865
+ */
7866
+ 401: {
7867
+ error: string;
7868
+ };
7869
+ /**
7870
+ * Forbidden
7871
+ */
7872
+ 403: {
7873
+ error: string;
7874
+ };
7875
+ /**
7876
+ * Not found
7877
+ */
7878
+ 404: {
7879
+ error: string;
7880
+ };
7881
+ };
7882
+ export type SlackInstallationChannelListError = SlackInstallationChannelListErrors[keyof SlackInstallationChannelListErrors];
7883
+ export type SlackInstallationChannelListResponses = {
7884
+ /**
7885
+ * Channels visible to the Ren bot
7886
+ */
7887
+ 200: Array<SlackChannel>;
7888
+ };
7889
+ export type SlackInstallationChannelListResponse = SlackInstallationChannelListResponses[keyof SlackInstallationChannelListResponses];
7890
+ export type SlackInstallationChannelRemoveData = {
7891
+ body?: never;
7892
+ path: {
7893
+ id: string;
7894
+ channelId: string;
7895
+ };
7896
+ query?: {
7897
+ /**
7898
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
7899
+ */
7900
+ scope?: "user";
7901
+ };
7902
+ url: "/api/slack/installations/{id}/channels/{channelId}";
7903
+ };
7904
+ export type SlackInstallationChannelRemoveErrors = {
7905
+ /**
7906
+ * Unauthorized
7907
+ */
7908
+ 401: {
7909
+ error: string;
7910
+ };
7911
+ /**
7912
+ * Forbidden
7913
+ */
7914
+ 403: {
7915
+ error: string;
7916
+ };
7917
+ /**
7918
+ * Not found
7919
+ */
7920
+ 404: {
7921
+ error: string;
7922
+ };
7923
+ };
7924
+ export type SlackInstallationChannelRemoveError = SlackInstallationChannelRemoveErrors[keyof SlackInstallationChannelRemoveErrors];
7925
+ export type SlackInstallationChannelRemoveResponses = {
7926
+ /**
7927
+ * Updated installation
7928
+ */
7929
+ 200: SlackInstallationResponse;
7930
+ };
7931
+ export type SlackInstallationChannelRemoveResponse = SlackInstallationChannelRemoveResponses[keyof SlackInstallationChannelRemoveResponses];
7932
+ export type SlackInstallationChannelSetData = {
7933
+ body?: {
7934
+ channelName: string | null;
7935
+ projectId: string;
7936
+ defaultProjectAgentId: string | null;
7937
+ fallbackSenderUserId: string | null;
7938
+ };
7939
+ path: {
7940
+ id: string;
7941
+ channelId: string;
7942
+ };
7943
+ query?: {
7944
+ /**
7945
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
7946
+ */
7947
+ scope?: "user";
7948
+ };
7949
+ url: "/api/slack/installations/{id}/channels/{channelId}";
7950
+ };
7951
+ export type SlackInstallationChannelSetErrors = {
7952
+ /**
7953
+ * Bad request
7954
+ */
7955
+ 400: {
7956
+ error: string;
7957
+ };
7958
+ /**
7959
+ * Unauthorized
7960
+ */
7961
+ 401: {
7962
+ error: string;
7963
+ };
7964
+ /**
7965
+ * Forbidden
7966
+ */
7967
+ 403: {
7968
+ error: string;
7969
+ };
7970
+ /**
7971
+ * Not found
7972
+ */
7973
+ 404: {
7974
+ error: string;
7975
+ };
7976
+ };
7977
+ export type SlackInstallationChannelSetError = SlackInstallationChannelSetErrors[keyof SlackInstallationChannelSetErrors];
7978
+ export type SlackInstallationChannelSetResponses = {
7979
+ /**
7980
+ * Updated installation
7981
+ */
7982
+ 200: SlackInstallationResponse;
7983
+ };
7984
+ export type SlackInstallationChannelSetResponse = SlackInstallationChannelSetResponses[keyof SlackInstallationChannelSetResponses];
7837
7985
  export type VaultListData = {
7838
7986
  body?: never;
7839
7987
  path?: never;
@@ -813,6 +813,10 @@ export declare const zVault: z.ZodObject<{
813
813
  updatedAt: z.ZodISODateTime;
814
814
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
815
815
  }, z.core.$strip>;
816
+ export declare const zSlackChannel: z.ZodObject<{
817
+ id: z.ZodString;
818
+ name: z.ZodString;
819
+ }, z.core.$strip>;
816
820
  export declare const zSlackInstallationResponse: z.ZodObject<{
817
821
  id: z.ZodString;
818
822
  orgId: z.ZodString;
@@ -821,6 +825,12 @@ export declare const zSlackInstallationResponse: z.ZodObject<{
821
825
  teamName: z.ZodNullable<z.ZodString>;
822
826
  botUserId: z.ZodString;
823
827
  scope: z.ZodString;
828
+ channelMappings: z.ZodRecord<z.ZodString, z.ZodObject<{
829
+ channelName: z.ZodNullable<z.ZodString>;
830
+ projectId: z.ZodString;
831
+ defaultProjectAgentId: z.ZodNullable<z.ZodString>;
832
+ fallbackSenderUserId: z.ZodNullable<z.ZodString>;
833
+ }, z.core.$strip>>;
824
834
  createdAt: z.ZodISODateTime;
825
835
  updatedAt: z.ZodISODateTime;
826
836
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -835,6 +845,12 @@ export declare const zSlackStatus: z.ZodObject<{
835
845
  teamName: z.ZodNullable<z.ZodString>;
836
846
  botUserId: z.ZodString;
837
847
  scope: z.ZodString;
848
+ channelMappings: z.ZodRecord<z.ZodString, z.ZodObject<{
849
+ channelName: z.ZodNullable<z.ZodString>;
850
+ projectId: z.ZodString;
851
+ defaultProjectAgentId: z.ZodNullable<z.ZodString>;
852
+ fallbackSenderUserId: z.ZodNullable<z.ZodString>;
853
+ }, z.core.$strip>>;
838
854
  createdAt: z.ZodISODateTime;
839
855
  updatedAt: z.ZodISODateTime;
840
856
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -846,7 +862,6 @@ export declare const zWebhookTrigger: z.ZodObject<{
846
862
  projectAgentId: z.ZodString;
847
863
  senderUserId: z.ZodString;
848
864
  provider: z.ZodEnum<{
849
- slack: "slack";
850
865
  generic: "generic";
851
866
  }>;
852
867
  providerInstallId: z.ZodNullable<z.ZodString>;
@@ -866,7 +881,6 @@ export declare const zWebhookTriggerCreateResult: z.ZodObject<{
866
881
  projectAgentId: z.ZodString;
867
882
  senderUserId: z.ZodString;
868
883
  provider: z.ZodEnum<{
869
- slack: "slack";
870
884
  generic: "generic";
871
885
  }>;
872
886
  providerInstallId: z.ZodNullable<z.ZodString>;
@@ -972,7 +986,7 @@ export declare const zSessionFilesPresignUploadResponse: z.ZodObject<{
972
986
  uploadUrl: z.ZodString;
973
987
  sandboxPath: z.ZodString;
974
988
  podVolume: z.ZodObject<{
975
- projectId: z.ZodString;
989
+ projectSlug: z.ZodString;
976
990
  sessionId: z.ZodString;
977
991
  kind: z.ZodEnum<{
978
992
  outputs: "outputs";
@@ -9756,7 +9770,7 @@ export declare const zSessionUpdateBody: z.ZodObject<{
9756
9770
  message: z.ZodString;
9757
9771
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9758
9772
  }, z.core.$strip>>>;
9759
- currentProjectAgentId: z.ZodOptional<z.ZodString>;
9773
+ currentAgentSlug: z.ZodOptional<z.ZodString>;
9760
9774
  }, z.core.$strip>;
9761
9775
  export declare const zSessionUpdatePath: z.ZodObject<{
9762
9776
  id: z.ZodString;
@@ -9979,7 +9993,7 @@ export declare const zSessionFilesPresignUploadResponse2: z.ZodObject<{
9979
9993
  uploadUrl: z.ZodString;
9980
9994
  sandboxPath: z.ZodString;
9981
9995
  podVolume: z.ZodObject<{
9982
- projectId: z.ZodString;
9996
+ projectSlug: z.ZodString;
9983
9997
  sessionId: z.ZodString;
9984
9998
  kind: z.ZodEnum<{
9985
9999
  outputs: "outputs";
@@ -10882,7 +10896,6 @@ export declare const zWebhookTriggerListResponse: z.ZodArray<z.ZodObject<{
10882
10896
  projectAgentId: z.ZodString;
10883
10897
  senderUserId: z.ZodString;
10884
10898
  provider: z.ZodEnum<{
10885
- slack: "slack";
10886
10899
  generic: "generic";
10887
10900
  }>;
10888
10901
  providerInstallId: z.ZodNullable<z.ZodString>;
@@ -10900,7 +10913,6 @@ export declare const zWebhookTriggerCreateBody: z.ZodObject<{
10900
10913
  projectAgentId: z.ZodString;
10901
10914
  senderUserId: z.ZodString;
10902
10915
  provider: z.ZodEnum<{
10903
- slack: "slack";
10904
10916
  generic: "generic";
10905
10917
  }>;
10906
10918
  providerInstallId: z.ZodNullable<z.ZodString>;
@@ -10924,7 +10936,6 @@ export declare const zWebhookTriggerCreateResponse: z.ZodObject<{
10924
10936
  projectAgentId: z.ZodString;
10925
10937
  senderUserId: z.ZodString;
10926
10938
  provider: z.ZodEnum<{
10927
- slack: "slack";
10928
10939
  generic: "generic";
10929
10940
  }>;
10930
10941
  providerInstallId: z.ZodNullable<z.ZodString>;
@@ -10957,7 +10968,6 @@ export declare const zWebhookTriggerGetResponse: z.ZodObject<{
10957
10968
  projectAgentId: z.ZodString;
10958
10969
  senderUserId: z.ZodString;
10959
10970
  provider: z.ZodEnum<{
10960
- slack: "slack";
10961
10971
  generic: "generic";
10962
10972
  }>;
10963
10973
  providerInstallId: z.ZodNullable<z.ZodString>;
@@ -10996,7 +11006,6 @@ export declare const zWebhookTriggerUpdateResponse: z.ZodObject<{
10996
11006
  projectAgentId: z.ZodString;
10997
11007
  senderUserId: z.ZodString;
10998
11008
  provider: z.ZodEnum<{
10999
- slack: "slack";
11000
11009
  generic: "generic";
11001
11010
  }>;
11002
11011
  providerInstallId: z.ZodNullable<z.ZodString>;
@@ -11029,7 +11038,6 @@ export declare const zWebhookTriggerArchiveResponse: z.ZodObject<{
11029
11038
  projectAgentId: z.ZodString;
11030
11039
  senderUserId: z.ZodString;
11031
11040
  provider: z.ZodEnum<{
11032
- slack: "slack";
11033
11041
  generic: "generic";
11034
11042
  }>;
11035
11043
  providerInstallId: z.ZodNullable<z.ZodString>;
@@ -11060,6 +11068,12 @@ export declare const zSlackStatusResponse: z.ZodObject<{
11060
11068
  teamName: z.ZodNullable<z.ZodString>;
11061
11069
  botUserId: z.ZodString;
11062
11070
  scope: z.ZodString;
11071
+ channelMappings: z.ZodRecord<z.ZodString, z.ZodObject<{
11072
+ channelName: z.ZodNullable<z.ZodString>;
11073
+ projectId: z.ZodString;
11074
+ defaultProjectAgentId: z.ZodNullable<z.ZodString>;
11075
+ fallbackSenderUserId: z.ZodNullable<z.ZodString>;
11076
+ }, z.core.$strip>>;
11063
11077
  createdAt: z.ZodISODateTime;
11064
11078
  updatedAt: z.ZodISODateTime;
11065
11079
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -11077,6 +11091,87 @@ export declare const zSlackInstallationRemoveQuery: z.ZodObject<{
11077
11091
  * Removed
11078
11092
  */
11079
11093
  export declare const zSlackInstallationRemoveResponse: z.ZodVoid;
11094
+ export declare const zSlackInstallationChannelListPath: z.ZodObject<{
11095
+ id: z.ZodString;
11096
+ }, z.core.$strip>;
11097
+ export declare const zSlackInstallationChannelListQuery: z.ZodObject<{
11098
+ scope: z.ZodOptional<z.ZodEnum<{
11099
+ user: "user";
11100
+ }>>;
11101
+ }, z.core.$strip>;
11102
+ /**
11103
+ * Channels visible to the Ren bot
11104
+ */
11105
+ export declare const zSlackInstallationChannelListResponse: z.ZodArray<z.ZodObject<{
11106
+ id: z.ZodString;
11107
+ name: z.ZodString;
11108
+ }, z.core.$strip>>;
11109
+ export declare const zSlackInstallationChannelRemovePath: z.ZodObject<{
11110
+ id: z.ZodString;
11111
+ channelId: z.ZodString;
11112
+ }, z.core.$strip>;
11113
+ export declare const zSlackInstallationChannelRemoveQuery: z.ZodObject<{
11114
+ scope: z.ZodOptional<z.ZodEnum<{
11115
+ user: "user";
11116
+ }>>;
11117
+ }, z.core.$strip>;
11118
+ /**
11119
+ * Updated installation
11120
+ */
11121
+ export declare const zSlackInstallationChannelRemoveResponse: z.ZodObject<{
11122
+ id: z.ZodString;
11123
+ orgId: z.ZodString;
11124
+ installedById: z.ZodString;
11125
+ teamId: z.ZodString;
11126
+ teamName: z.ZodNullable<z.ZodString>;
11127
+ botUserId: z.ZodString;
11128
+ scope: z.ZodString;
11129
+ channelMappings: z.ZodRecord<z.ZodString, z.ZodObject<{
11130
+ channelName: z.ZodNullable<z.ZodString>;
11131
+ projectId: z.ZodString;
11132
+ defaultProjectAgentId: z.ZodNullable<z.ZodString>;
11133
+ fallbackSenderUserId: z.ZodNullable<z.ZodString>;
11134
+ }, z.core.$strip>>;
11135
+ createdAt: z.ZodISODateTime;
11136
+ updatedAt: z.ZodISODateTime;
11137
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
11138
+ }, z.core.$strip>;
11139
+ export declare const zSlackInstallationChannelSetBody: z.ZodObject<{
11140
+ channelName: z.ZodNullable<z.ZodString>;
11141
+ projectId: z.ZodString;
11142
+ defaultProjectAgentId: z.ZodNullable<z.ZodString>;
11143
+ fallbackSenderUserId: z.ZodNullable<z.ZodString>;
11144
+ }, z.core.$strip>;
11145
+ export declare const zSlackInstallationChannelSetPath: z.ZodObject<{
11146
+ id: z.ZodString;
11147
+ channelId: z.ZodString;
11148
+ }, z.core.$strip>;
11149
+ export declare const zSlackInstallationChannelSetQuery: z.ZodObject<{
11150
+ scope: z.ZodOptional<z.ZodEnum<{
11151
+ user: "user";
11152
+ }>>;
11153
+ }, z.core.$strip>;
11154
+ /**
11155
+ * Updated installation
11156
+ */
11157
+ export declare const zSlackInstallationChannelSetResponse: z.ZodObject<{
11158
+ id: z.ZodString;
11159
+ orgId: z.ZodString;
11160
+ installedById: z.ZodString;
11161
+ teamId: z.ZodString;
11162
+ teamName: z.ZodNullable<z.ZodString>;
11163
+ botUserId: z.ZodString;
11164
+ scope: z.ZodString;
11165
+ channelMappings: z.ZodRecord<z.ZodString, z.ZodObject<{
11166
+ channelName: z.ZodNullable<z.ZodString>;
11167
+ projectId: z.ZodString;
11168
+ defaultProjectAgentId: z.ZodNullable<z.ZodString>;
11169
+ fallbackSenderUserId: z.ZodNullable<z.ZodString>;
11170
+ }, z.core.$strip>>;
11171
+ createdAt: z.ZodISODateTime;
11172
+ updatedAt: z.ZodISODateTime;
11173
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
11174
+ }, z.core.$strip>;
11080
11175
  export declare const zVaultListQuery: z.ZodObject<{
11081
11176
  scope: z.ZodOptional<z.ZodEnum<{
11082
11177
  user: "user";
@@ -261,6 +261,10 @@ export const zVault = z.object({
261
261
  .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/)
262
262
  .nullable(),
263
263
  });
264
+ export const zSlackChannel = z.object({
265
+ id: z.string(),
266
+ name: z.string(),
267
+ });
264
268
  export const zSlackInstallationResponse = z.object({
265
269
  id: z.string(),
266
270
  orgId: z.string(),
@@ -269,6 +273,12 @@ export const zSlackInstallationResponse = z.object({
269
273
  teamName: z.string().nullable(),
270
274
  botUserId: z.string(),
271
275
  scope: z.string(),
276
+ channelMappings: z.record(z.string(), z.object({
277
+ channelName: z.string().nullable(),
278
+ projectId: z.string(),
279
+ defaultProjectAgentId: z.string().nullable(),
280
+ fallbackSenderUserId: z.string().nullable(),
281
+ })),
272
282
  createdAt: z.iso
273
283
  .datetime()
274
284
  .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/),
@@ -289,7 +299,7 @@ export const zWebhookTrigger = z.object({
289
299
  projectId: z.string(),
290
300
  projectAgentId: z.string(),
291
301
  senderUserId: z.string(),
292
- provider: z.enum(["slack", "generic"]),
302
+ provider: z.enum(["generic"]),
293
303
  providerInstallId: z.string().nullable(),
294
304
  scopeFilter: z
295
305
  .object({
@@ -421,7 +431,7 @@ export const zSessionFilesPresignUploadResponse = z.object({
421
431
  uploadUrl: z.string(),
422
432
  sandboxPath: z.string(),
423
433
  podVolume: z.object({
424
- projectId: z.string(),
434
+ projectSlug: z.string(),
425
435
  sessionId: z.string(),
426
436
  kind: z.enum(["outputs", "uploads"]),
427
437
  filename: z.string(),
@@ -2674,7 +2684,7 @@ export const zSessionUpdateBody = z.object({
2674
2684
  details: z.record(z.string(), z.unknown()).optional(),
2675
2685
  })
2676
2686
  .nullish(),
2677
- currentProjectAgentId: z.string().optional(),
2687
+ currentAgentSlug: z.string().optional(),
2678
2688
  });
2679
2689
  export const zSessionUpdatePath = z.object({
2680
2690
  id: z.string().min(1),
@@ -3059,7 +3069,7 @@ export const zWebhookTriggerCreateBody = z.object({
3059
3069
  projectId: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
3060
3070
  projectAgentId: z.string(),
3061
3071
  senderUserId: z.string(),
3062
- provider: z.enum(["slack", "generic"]),
3072
+ provider: z.enum(["generic"]),
3063
3073
  providerInstallId: z.string().nullable(),
3064
3074
  scopeFilter: z
3065
3075
  .object({
@@ -3137,6 +3147,44 @@ export const zSlackInstallationRemoveQuery = z.object({
3137
3147
  * Removed
3138
3148
  */
3139
3149
  export const zSlackInstallationRemoveResponse = z.void();
3150
+ export const zSlackInstallationChannelListPath = z.object({
3151
+ id: z.string().regex(/^sli_[0-9A-HJKMNP-TV-Z]{26}$/),
3152
+ });
3153
+ export const zSlackInstallationChannelListQuery = z.object({
3154
+ scope: z.enum(["user"]).optional(),
3155
+ });
3156
+ /**
3157
+ * Channels visible to the Ren bot
3158
+ */
3159
+ export const zSlackInstallationChannelListResponse = z.array(zSlackChannel);
3160
+ export const zSlackInstallationChannelRemovePath = z.object({
3161
+ id: z.string().regex(/^sli_[0-9A-HJKMNP-TV-Z]{26}$/),
3162
+ channelId: z.string().min(1),
3163
+ });
3164
+ export const zSlackInstallationChannelRemoveQuery = z.object({
3165
+ scope: z.enum(["user"]).optional(),
3166
+ });
3167
+ /**
3168
+ * Updated installation
3169
+ */
3170
+ export const zSlackInstallationChannelRemoveResponse = zSlackInstallationResponse;
3171
+ export const zSlackInstallationChannelSetBody = z.object({
3172
+ channelName: z.string().nullable(),
3173
+ projectId: z.string(),
3174
+ defaultProjectAgentId: z.string().nullable(),
3175
+ fallbackSenderUserId: z.string().nullable(),
3176
+ });
3177
+ export const zSlackInstallationChannelSetPath = z.object({
3178
+ id: z.string().regex(/^sli_[0-9A-HJKMNP-TV-Z]{26}$/),
3179
+ channelId: z.string().min(1),
3180
+ });
3181
+ export const zSlackInstallationChannelSetQuery = z.object({
3182
+ scope: z.enum(["user"]).optional(),
3183
+ });
3184
+ /**
3185
+ * Updated installation
3186
+ */
3187
+ export const zSlackInstallationChannelSetResponse = zSlackInstallationResponse;
3140
3188
  export const zVaultListQuery = z.object({
3141
3189
  scope: z.enum(["user"]).optional(),
3142
3190
  limit: z.number().gte(1).lte(1000).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@renai-labs/sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "TypeScript SDK for the Ren API, generated from OpenAPI.",
5
5
  "license": "MIT",
6
6
  "author": "Ren Labs, Inc.",