@renai-labs/sdk 0.1.4 → 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 +63 -47
- package/dist/generated/@tanstack/react-query.gen.js +119 -55
- package/dist/generated/internal/types.gen.d.ts +2 -62
- package/dist/generated/sdk.gen.d.ts +33 -25
- package/dist/generated/sdk.gen.js +77 -34
- package/dist/generated/types.gen.d.ts +243 -76
- package/dist/generated/zod.gen.d.ts +132 -95
- package/dist/generated/zod.gen.js +79 -35
- package/package.json +1 -1
|
@@ -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, GithubConnectData, GithubConnectErrors, GithubConnectResponses, GithubInstallData, GithubInstallErrors, GithubInstallResponses, GithubReposData, GithubReposErrors, GithubReposResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, GithubUninstallData, GithubUninstallErrors, GithubUninstallResponses, 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, SlackChannelListData, SlackChannelListErrors, SlackChannelListResponses, SlackChannelSetData, SlackChannelSetErrors, SlackChannelSetResponses, SlackChannelUnsetData, SlackChannelUnsetErrors, SlackChannelUnsetResponses, SlackInstallData, SlackInstallErrors, SlackInstallResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, SlackUninstallData, SlackUninstallErrors, SlackUninstallResponses, 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
|
|
@@ -225,35 +225,27 @@ export declare class FileStore extends HeyApiClient {
|
|
|
225
225
|
private _files?;
|
|
226
226
|
get files(): Files;
|
|
227
227
|
}
|
|
228
|
-
export declare class
|
|
229
|
-
/**
|
|
230
|
-
* Live-fetch repositories accessible to a GitHub App installation
|
|
231
|
-
*/
|
|
232
|
-
list<ThrowOnError extends boolean = false>(options: Options<GithubInstallationReposListData, ThrowOnError>): import("./client").RequestResult<GithubInstallationReposListResponses, GithubInstallationReposListErrors, ThrowOnError, "fields">;
|
|
233
|
-
}
|
|
234
|
-
export declare class Installation extends HeyApiClient {
|
|
228
|
+
export declare class Github extends HeyApiClient {
|
|
235
229
|
/**
|
|
236
|
-
*
|
|
230
|
+
* Disconnect the org's GitHub App installation
|
|
237
231
|
*/
|
|
238
|
-
|
|
232
|
+
uninstall<ThrowOnError extends boolean = false>(options?: Options<GithubUninstallData, ThrowOnError>): import("./client").RequestResult<GithubUninstallResponses, GithubUninstallErrors, ThrowOnError, "fields">;
|
|
239
233
|
/**
|
|
240
|
-
*
|
|
234
|
+
* Begin installing the GitHub App for the caller's org
|
|
241
235
|
*/
|
|
242
|
-
|
|
236
|
+
install<ThrowOnError extends boolean = false>(options?: Options<GithubInstallData, ThrowOnError>): import("./client").RequestResult<GithubInstallResponses, GithubInstallErrors, ThrowOnError, "fields">;
|
|
243
237
|
/**
|
|
244
|
-
*
|
|
238
|
+
* Begin connecting the caller's personal GitHub account
|
|
245
239
|
*/
|
|
246
|
-
|
|
247
|
-
private _repos?;
|
|
248
|
-
get repos(): Repos;
|
|
249
|
-
}
|
|
250
|
-
export declare class Github extends HeyApiClient {
|
|
240
|
+
connect<ThrowOnError extends boolean = false>(options?: Options<GithubConnectData, ThrowOnError>): import("./client").RequestResult<GithubConnectResponses, GithubConnectErrors, ThrowOnError, "fields">;
|
|
251
241
|
/**
|
|
252
242
|
* Report whether GitHub install + user OAuth are configured for the caller
|
|
253
243
|
*/
|
|
254
244
|
status<ThrowOnError extends boolean = false>(options?: Options<GithubStatusData, ThrowOnError>): import("./client").RequestResult<GithubStatusResponses, GithubStatusErrors, ThrowOnError, "fields">;
|
|
255
|
-
|
|
256
|
-
|
|
245
|
+
/**
|
|
246
|
+
* Live-fetch repositories accessible to the org's GitHub App installation
|
|
247
|
+
*/
|
|
248
|
+
repos<ThrowOnError extends boolean = false>(options?: Options<GithubReposData, ThrowOnError>): import("./client").RequestResult<GithubReposResponses, GithubReposErrors, ThrowOnError, "fields">;
|
|
257
249
|
}
|
|
258
250
|
export declare class Oauth extends HeyApiClient {
|
|
259
251
|
/**
|
|
@@ -755,19 +747,35 @@ export declare class WebhookTrigger extends HeyApiClient {
|
|
|
755
747
|
*/
|
|
756
748
|
archive<ThrowOnError extends boolean = false>(options: Options<WebhookTriggerArchiveData, ThrowOnError>): import("./client").RequestResult<WebhookTriggerArchiveResponses, WebhookTriggerArchiveErrors, ThrowOnError, "fields">;
|
|
757
749
|
}
|
|
758
|
-
export declare class
|
|
750
|
+
export declare class Channel extends HeyApiClient {
|
|
759
751
|
/**
|
|
760
|
-
*
|
|
752
|
+
* List Slack channels with their current project mapping
|
|
761
753
|
*/
|
|
762
|
-
|
|
754
|
+
list<ThrowOnError extends boolean = false>(options?: Options<SlackChannelListData, ThrowOnError>): import("./client").RequestResult<SlackChannelListResponses, SlackChannelListErrors, ThrowOnError, "fields">;
|
|
755
|
+
/**
|
|
756
|
+
* Unset a Slack channel's project mapping
|
|
757
|
+
*/
|
|
758
|
+
unset<ThrowOnError extends boolean = false>(options: Options<SlackChannelUnsetData, ThrowOnError>): import("./client").RequestResult<SlackChannelUnsetResponses, SlackChannelUnsetErrors, ThrowOnError, "fields">;
|
|
759
|
+
/**
|
|
760
|
+
* Map a Slack channel to a project
|
|
761
|
+
*/
|
|
762
|
+
set<ThrowOnError extends boolean = false>(options: Options<SlackChannelSetData, ThrowOnError>): import("./client").RequestResult<SlackChannelSetResponses, SlackChannelSetErrors, ThrowOnError, "fields">;
|
|
763
763
|
}
|
|
764
764
|
export declare class Slack extends HeyApiClient {
|
|
765
|
+
/**
|
|
766
|
+
* Disconnect the caller's org Slack workspace
|
|
767
|
+
*/
|
|
768
|
+
uninstall<ThrowOnError extends boolean = false>(options?: Options<SlackUninstallData, ThrowOnError>): import("./client").RequestResult<SlackUninstallResponses, SlackUninstallErrors, ThrowOnError, "fields">;
|
|
769
|
+
/**
|
|
770
|
+
* Begin a Slack workspace install
|
|
771
|
+
*/
|
|
772
|
+
install<ThrowOnError extends boolean = false>(options?: Options<SlackInstallData, ThrowOnError>): import("./client").RequestResult<SlackInstallResponses, SlackInstallErrors, ThrowOnError, "fields">;
|
|
765
773
|
/**
|
|
766
774
|
* Report whether Slack is installed for the caller's org
|
|
767
775
|
*/
|
|
768
776
|
status<ThrowOnError extends boolean = false>(options?: Options<SlackStatusData, ThrowOnError>): import("./client").RequestResult<SlackStatusResponses, SlackStatusErrors, ThrowOnError, "fields">;
|
|
769
|
-
private
|
|
770
|
-
get
|
|
777
|
+
private _channel?;
|
|
778
|
+
get channel(): Channel;
|
|
771
779
|
}
|
|
772
780
|
export declare class Vault2 extends HeyApiClient {
|
|
773
781
|
/**
|
|
@@ -502,39 +502,34 @@ export class FileStore extends HeyApiClient {
|
|
|
502
502
|
return (this._files ??= new Files({ client: this.client }));
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
export class
|
|
506
|
-
/**
|
|
507
|
-
* Live-fetch repositories accessible to a GitHub App installation
|
|
508
|
-
*/
|
|
509
|
-
list(options) {
|
|
510
|
-
return (options.client ?? this.client).get({ url: "/api/github/installations/{id}/repos", ...options });
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
export class Installation extends HeyApiClient {
|
|
505
|
+
export class Github extends HeyApiClient {
|
|
514
506
|
/**
|
|
515
|
-
*
|
|
507
|
+
* Disconnect the org's GitHub App installation
|
|
516
508
|
*/
|
|
517
|
-
|
|
518
|
-
return (options?.client ?? this.client).
|
|
509
|
+
uninstall(options) {
|
|
510
|
+
return (options?.client ?? this.client).delete({
|
|
511
|
+
url: "/api/github/install",
|
|
512
|
+
...options,
|
|
513
|
+
});
|
|
519
514
|
}
|
|
520
515
|
/**
|
|
521
|
-
*
|
|
516
|
+
* Begin installing the GitHub App for the caller's org
|
|
522
517
|
*/
|
|
523
|
-
|
|
524
|
-
return (options
|
|
518
|
+
install(options) {
|
|
519
|
+
return (options?.client ?? this.client).post({
|
|
520
|
+
url: "/api/github/install",
|
|
521
|
+
...options,
|
|
522
|
+
});
|
|
525
523
|
}
|
|
526
524
|
/**
|
|
527
|
-
*
|
|
525
|
+
* Begin connecting the caller's personal GitHub account
|
|
528
526
|
*/
|
|
529
|
-
|
|
530
|
-
return (options
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
return (this._repos ??= new Repos({ client: this.client }));
|
|
527
|
+
connect(options) {
|
|
528
|
+
return (options?.client ?? this.client).post({
|
|
529
|
+
url: "/api/github/connect",
|
|
530
|
+
...options,
|
|
531
|
+
});
|
|
535
532
|
}
|
|
536
|
-
}
|
|
537
|
-
export class Github extends HeyApiClient {
|
|
538
533
|
/**
|
|
539
534
|
* Report whether GitHub install + user OAuth are configured for the caller
|
|
540
535
|
*/
|
|
@@ -544,9 +539,14 @@ export class Github extends HeyApiClient {
|
|
|
544
539
|
...options,
|
|
545
540
|
});
|
|
546
541
|
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
542
|
+
/**
|
|
543
|
+
* Live-fetch repositories accessible to the org's GitHub App installation
|
|
544
|
+
*/
|
|
545
|
+
repos(options) {
|
|
546
|
+
return (options?.client ?? this.client).get({
|
|
547
|
+
url: "/api/github/repos",
|
|
548
|
+
...options,
|
|
549
|
+
});
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
export class Oauth extends HeyApiClient {
|
|
@@ -1739,15 +1739,58 @@ export class WebhookTrigger extends HeyApiClient {
|
|
|
1739
1739
|
});
|
|
1740
1740
|
}
|
|
1741
1741
|
}
|
|
1742
|
-
export class
|
|
1742
|
+
export class Channel extends HeyApiClient {
|
|
1743
1743
|
/**
|
|
1744
|
-
*
|
|
1744
|
+
* List Slack channels with their current project mapping
|
|
1745
1745
|
*/
|
|
1746
|
-
|
|
1747
|
-
return (options
|
|
1746
|
+
list(options) {
|
|
1747
|
+
return (options?.client ?? this.client).get({
|
|
1748
|
+
url: "/api/slack/channels",
|
|
1749
|
+
...options,
|
|
1750
|
+
});
|
|
1751
|
+
}
|
|
1752
|
+
/**
|
|
1753
|
+
* Unset a Slack channel's project mapping
|
|
1754
|
+
*/
|
|
1755
|
+
unset(options) {
|
|
1756
|
+
return (options.client ?? this.client).delete({
|
|
1757
|
+
url: "/api/slack/channels/{channelId}",
|
|
1758
|
+
...options,
|
|
1759
|
+
});
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
* Map a Slack channel to a project
|
|
1763
|
+
*/
|
|
1764
|
+
set(options) {
|
|
1765
|
+
return (options.client ?? this.client).put({
|
|
1766
|
+
url: "/api/slack/channels/{channelId}",
|
|
1767
|
+
...options,
|
|
1768
|
+
headers: {
|
|
1769
|
+
"Content-Type": "application/json",
|
|
1770
|
+
...options.headers,
|
|
1771
|
+
},
|
|
1772
|
+
});
|
|
1748
1773
|
}
|
|
1749
1774
|
}
|
|
1750
1775
|
export class Slack extends HeyApiClient {
|
|
1776
|
+
/**
|
|
1777
|
+
* Disconnect the caller's org Slack workspace
|
|
1778
|
+
*/
|
|
1779
|
+
uninstall(options) {
|
|
1780
|
+
return (options?.client ?? this.client).delete({
|
|
1781
|
+
url: "/api/slack/install",
|
|
1782
|
+
...options,
|
|
1783
|
+
});
|
|
1784
|
+
}
|
|
1785
|
+
/**
|
|
1786
|
+
* Begin a Slack workspace install
|
|
1787
|
+
*/
|
|
1788
|
+
install(options) {
|
|
1789
|
+
return (options?.client ?? this.client).post({
|
|
1790
|
+
url: "/api/slack/install",
|
|
1791
|
+
...options,
|
|
1792
|
+
});
|
|
1793
|
+
}
|
|
1751
1794
|
/**
|
|
1752
1795
|
* Report whether Slack is installed for the caller's org
|
|
1753
1796
|
*/
|
|
@@ -1757,9 +1800,9 @@ export class Slack extends HeyApiClient {
|
|
|
1757
1800
|
...options,
|
|
1758
1801
|
});
|
|
1759
1802
|
}
|
|
1760
|
-
|
|
1761
|
-
get
|
|
1762
|
-
return (this.
|
|
1803
|
+
_channel;
|
|
1804
|
+
get channel() {
|
|
1805
|
+
return (this._channel ??= new Channel({ client: this.client }));
|
|
1763
1806
|
}
|
|
1764
1807
|
}
|
|
1765
1808
|
export class Vault2 extends HeyApiClient {
|