@renai-labs/sdk 0.1.16 → 0.1.18
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 +142 -14
- package/dist/generated/@tanstack/react-query.gen.js +162 -2
- package/dist/generated/internal/types.gen.d.ts +59 -1
- package/dist/generated/sdk.gen.d.ts +59 -3
- package/dist/generated/sdk.gen.js +121 -2
- package/dist/generated/types.gen.d.ts +487 -12
- package/dist/generated/zod.gen.d.ts +508 -0
- package/dist/generated/zod.gen.js +214 -11
- 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, EmailListData, EmailListErrors, EmailListResponses, EmailSetData, EmailSetErrors, EmailSetResponses, EmailUnsetData, EmailUnsetErrors, EmailUnsetResponses, 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, GoogleConfigDeleteData, GoogleConfigDeleteErrors, GoogleConfigDeleteResponses, GoogleConfigSaveData, GoogleConfigSaveErrors, GoogleConfigSaveResponses, GoogleConnectData, GoogleConnectErrors, GoogleConnectResponses, GoogleDisconnectData, GoogleDisconnectErrors, GoogleDisconnectResponses, GoogleStatusData, GoogleStatusErrors, GoogleStatusResponses, 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, PodSandboxTeardownData, PodSandboxTeardownErrors, PodSandboxTeardownResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectAgentUpdateData, ProjectAgentUpdateErrors, ProjectAgentUpdateResponses, 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, RegistryTopologyShareGetData, RegistryTopologyShareGetErrors, RegistryTopologyShareGetResponses, 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, SessionTracesListData, SessionTracesListErrors, SessionTracesListResponses, 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, TelegramChatListData, TelegramChatListErrors, TelegramChatListResponses, TelegramChatSetData, TelegramChatSetErrors, TelegramChatSetResponses, TelegramChatUnsetData, TelegramChatUnsetErrors, TelegramChatUnsetResponses, TelegramClaimCodeData, TelegramClaimCodeErrors, TelegramClaimCodeResponses, TelegramLinkCodeData, TelegramLinkCodeErrors, TelegramLinkCodeResponses, TelegramMeData, TelegramMeErrors, TelegramMeResponses, TelegramUnlinkData, TelegramUnlinkErrors, TelegramUnlinkResponses, TopologyGetData, TopologyGetErrors, TopologyGetResponses, TopologyShareArchiveData, TopologyShareArchiveErrors, TopologyShareArchiveResponses, TopologyShareCreateData, TopologyShareCreateErrors, TopologyShareCreateResponses, TopologyShareListData, TopologyShareListErrors, TopologyShareListResponses, 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, EmailListData, EmailListErrors, EmailListResponses, EmailSetData, EmailSetErrors, EmailSetResponses, EmailUnsetData, EmailUnsetErrors, EmailUnsetResponses, 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, GithubMappingSetData, GithubMappingSetErrors, GithubMappingSetResponses, GithubMappingsListData, GithubMappingsListErrors, GithubMappingsListResponses, GithubMappingUnsetData, GithubMappingUnsetErrors, GithubMappingUnsetResponses, GithubReposData, GithubReposErrors, GithubReposResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, GithubUninstallData, GithubUninstallErrors, GithubUninstallResponses, GoogleConfigDeleteData, GoogleConfigDeleteErrors, GoogleConfigDeleteResponses, GoogleConfigSaveData, GoogleConfigSaveErrors, GoogleConfigSaveResponses, GoogleConnectData, GoogleConnectErrors, GoogleConnectResponses, GoogleDisconnectData, GoogleDisconnectErrors, GoogleDisconnectResponses, GoogleStatusData, GoogleStatusErrors, GoogleStatusResponses, LinearInstallData, LinearInstallErrors, LinearInstallResponses, LinearMappingsCreateData, LinearMappingsCreateErrors, LinearMappingsCreateResponses, LinearMappingsListData, LinearMappingsListErrors, LinearMappingsListResponses, LinearMappingsRemoveData, LinearMappingsRemoveErrors, LinearMappingsRemoveResponses, LinearProjectsData, LinearProjectsErrors, LinearProjectsResponses, LinearStatusData, LinearStatusErrors, LinearStatusResponses, LinearUninstallData, LinearUninstallErrors, LinearUninstallResponses, 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, PodSandboxTeardownData, PodSandboxTeardownErrors, PodSandboxTeardownResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectAgentUpdateData, ProjectAgentUpdateErrors, ProjectAgentUpdateResponses, 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, RegistryTopologyShareGetData, RegistryTopologyShareGetErrors, RegistryTopologyShareGetResponses, 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, SessionTracesListData, SessionTracesListErrors, SessionTracesListResponses, 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, TelegramChatListData, TelegramChatListErrors, TelegramChatListResponses, TelegramChatSetData, TelegramChatSetErrors, TelegramChatSetResponses, TelegramChatUnsetData, TelegramChatUnsetErrors, TelegramChatUnsetResponses, TelegramClaimCodeData, TelegramClaimCodeErrors, TelegramClaimCodeResponses, TelegramLinkCodeData, TelegramLinkCodeErrors, TelegramLinkCodeResponses, TelegramMeData, TelegramMeErrors, TelegramMeResponses, TelegramUnlinkData, TelegramUnlinkErrors, TelegramUnlinkResponses, TopologyGetData, TopologyGetErrors, TopologyGetResponses, TopologyShareArchiveData, TopologyShareArchiveErrors, TopologyShareArchiveResponses, TopologyShareCreateData, TopologyShareCreateErrors, TopologyShareCreateResponses, TopologyShareListData, TopologyShareListErrors, TopologyShareListResponses, 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,6 +225,22 @@ export declare class FileStore extends HeyApiClient {
|
|
|
225
225
|
private _files?;
|
|
226
226
|
get files(): Files;
|
|
227
227
|
}
|
|
228
|
+
export declare class Mappings extends HeyApiClient {
|
|
229
|
+
/**
|
|
230
|
+
* List GitHub repo→project channel mappings for the org
|
|
231
|
+
*/
|
|
232
|
+
list<ThrowOnError extends boolean = false>(options?: Options<GithubMappingsListData, ThrowOnError>): import("./client").RequestResult<GithubMappingsListResponses, GithubMappingsListErrors, ThrowOnError, "fields">;
|
|
233
|
+
}
|
|
234
|
+
export declare class Mapping extends HeyApiClient {
|
|
235
|
+
/**
|
|
236
|
+
* Remove a GitHub repo→project mapping
|
|
237
|
+
*/
|
|
238
|
+
unset<ThrowOnError extends boolean = false>(options: Options<GithubMappingUnsetData, ThrowOnError>): import("./client").RequestResult<GithubMappingUnsetResponses, GithubMappingUnsetErrors, ThrowOnError, "fields">;
|
|
239
|
+
/**
|
|
240
|
+
* Map a GitHub repo to a project (PR agent channel)
|
|
241
|
+
*/
|
|
242
|
+
set<ThrowOnError extends boolean = false>(options: Options<GithubMappingSetData, ThrowOnError>): import("./client").RequestResult<GithubMappingSetResponses, GithubMappingSetErrors, ThrowOnError, "fields">;
|
|
243
|
+
}
|
|
228
244
|
export declare class Github extends HeyApiClient {
|
|
229
245
|
/**
|
|
230
246
|
* Disconnect the org's GitHub App installation
|
|
@@ -243,9 +259,13 @@ export declare class Github extends HeyApiClient {
|
|
|
243
259
|
*/
|
|
244
260
|
status<ThrowOnError extends boolean = false>(options?: Options<GithubStatusData, ThrowOnError>): import("./client").RequestResult<GithubStatusResponses, GithubStatusErrors, ThrowOnError, "fields">;
|
|
245
261
|
/**
|
|
246
|
-
* Live-fetch repositories
|
|
262
|
+
* Live-fetch repositories across the org's GitHub App installations
|
|
247
263
|
*/
|
|
248
264
|
repos<ThrowOnError extends boolean = false>(options?: Options<GithubReposData, ThrowOnError>): import("./client").RequestResult<GithubReposResponses, GithubReposErrors, ThrowOnError, "fields">;
|
|
265
|
+
private _mappings?;
|
|
266
|
+
get mappings(): Mappings;
|
|
267
|
+
private _mapping?;
|
|
268
|
+
get mapping(): Mapping;
|
|
249
269
|
}
|
|
250
270
|
export declare class Config extends HeyApiClient {
|
|
251
271
|
/**
|
|
@@ -663,7 +683,7 @@ export declare class Session extends HeyApiClient {
|
|
|
663
683
|
/**
|
|
664
684
|
* Get the OpenCode URL for a session
|
|
665
685
|
*
|
|
666
|
-
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected)
|
|
686
|
+
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) web-UI deep link; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverUrl` is the bare server origin — pass it to `opencode attach <serverUrl> --session <id>` (its URL arg is the SDK base, so a deep link would break). `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
|
|
667
687
|
*/
|
|
668
688
|
url<ThrowOnError extends boolean = false>(options: Options<SessionUrlData, ThrowOnError>): import("./client").RequestResult<SessionUrlResponses, SessionUrlErrors, ThrowOnError, "fields">;
|
|
669
689
|
/**
|
|
@@ -893,6 +913,40 @@ export declare class Telegram extends HeyApiClient {
|
|
|
893
913
|
private _chat?;
|
|
894
914
|
get chat(): Chat;
|
|
895
915
|
}
|
|
916
|
+
export declare class Mappings2 extends HeyApiClient {
|
|
917
|
+
/**
|
|
918
|
+
* List Linear project → Ren project mappings
|
|
919
|
+
*/
|
|
920
|
+
list<ThrowOnError extends boolean = false>(options?: Options<LinearMappingsListData, ThrowOnError>): import("./client").RequestResult<LinearMappingsListResponses, LinearMappingsListErrors, ThrowOnError, "fields">;
|
|
921
|
+
/**
|
|
922
|
+
* Map a Linear project to a Ren project
|
|
923
|
+
*/
|
|
924
|
+
create<ThrowOnError extends boolean = false>(options?: Options<LinearMappingsCreateData, ThrowOnError>): import("./client").RequestResult<LinearMappingsCreateResponses, LinearMappingsCreateErrors, ThrowOnError, "fields">;
|
|
925
|
+
/**
|
|
926
|
+
* Remove a Linear project mapping
|
|
927
|
+
*/
|
|
928
|
+
remove<ThrowOnError extends boolean = false>(options: Options<LinearMappingsRemoveData, ThrowOnError>): import("./client").RequestResult<LinearMappingsRemoveResponses, LinearMappingsRemoveErrors, ThrowOnError, "fields">;
|
|
929
|
+
}
|
|
930
|
+
export declare class Linear extends HeyApiClient {
|
|
931
|
+
/**
|
|
932
|
+
* Disconnect the caller's org Linear workspace
|
|
933
|
+
*/
|
|
934
|
+
uninstall<ThrowOnError extends boolean = false>(options?: Options<LinearUninstallData, ThrowOnError>): import("./client").RequestResult<LinearUninstallResponses, LinearUninstallErrors, ThrowOnError, "fields">;
|
|
935
|
+
/**
|
|
936
|
+
* Begin a Linear workspace install
|
|
937
|
+
*/
|
|
938
|
+
install<ThrowOnError extends boolean = false>(options?: Options<LinearInstallData, ThrowOnError>): import("./client").RequestResult<LinearInstallResponses, LinearInstallErrors, ThrowOnError, "fields">;
|
|
939
|
+
/**
|
|
940
|
+
* Report whether Linear is installed for the caller's org
|
|
941
|
+
*/
|
|
942
|
+
status<ThrowOnError extends boolean = false>(options?: Options<LinearStatusData, ThrowOnError>): import("./client").RequestResult<LinearStatusResponses, LinearStatusErrors, ThrowOnError, "fields">;
|
|
943
|
+
/**
|
|
944
|
+
* List the connected Linear workspace's projects
|
|
945
|
+
*/
|
|
946
|
+
projects<ThrowOnError extends boolean = false>(options?: Options<LinearProjectsData, ThrowOnError>): import("./client").RequestResult<LinearProjectsResponses, LinearProjectsErrors, ThrowOnError, "fields">;
|
|
947
|
+
private _mappings?;
|
|
948
|
+
get mappings(): Mappings2;
|
|
949
|
+
}
|
|
896
950
|
export declare class Vault2 extends HeyApiClient {
|
|
897
951
|
/**
|
|
898
952
|
* List vaults
|
|
@@ -1107,6 +1161,8 @@ export declare class RenClient extends HeyApiClient {
|
|
|
1107
1161
|
get email(): Email;
|
|
1108
1162
|
private _telegram?;
|
|
1109
1163
|
get telegram(): Telegram;
|
|
1164
|
+
private _linear?;
|
|
1165
|
+
get linear(): Linear;
|
|
1110
1166
|
private _vault?;
|
|
1111
1167
|
get vault(): Vault2;
|
|
1112
1168
|
private _credential?;
|
|
@@ -502,6 +502,41 @@ export class FileStore extends HeyApiClient {
|
|
|
502
502
|
return (this._files ??= new Files({ client: this.client }));
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
+
export class Mappings extends HeyApiClient {
|
|
506
|
+
/**
|
|
507
|
+
* List GitHub repo→project channel mappings for the org
|
|
508
|
+
*/
|
|
509
|
+
list(options) {
|
|
510
|
+
return (options?.client ?? this.client).get({
|
|
511
|
+
url: "/api/github/mappings",
|
|
512
|
+
...options,
|
|
513
|
+
});
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
export class Mapping extends HeyApiClient {
|
|
517
|
+
/**
|
|
518
|
+
* Remove a GitHub repo→project mapping
|
|
519
|
+
*/
|
|
520
|
+
unset(options) {
|
|
521
|
+
return (options.client ?? this.client).delete({
|
|
522
|
+
url: "/api/github/repos/{repoId}/mapping",
|
|
523
|
+
...options,
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Map a GitHub repo to a project (PR agent channel)
|
|
528
|
+
*/
|
|
529
|
+
set(options) {
|
|
530
|
+
return (options.client ?? this.client).put({
|
|
531
|
+
url: "/api/github/repos/{repoId}/mapping",
|
|
532
|
+
...options,
|
|
533
|
+
headers: {
|
|
534
|
+
"Content-Type": "application/json",
|
|
535
|
+
...options.headers,
|
|
536
|
+
},
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
}
|
|
505
540
|
export class Github extends HeyApiClient {
|
|
506
541
|
/**
|
|
507
542
|
* Disconnect the org's GitHub App installation
|
|
@@ -540,7 +575,7 @@ export class Github extends HeyApiClient {
|
|
|
540
575
|
});
|
|
541
576
|
}
|
|
542
577
|
/**
|
|
543
|
-
* Live-fetch repositories
|
|
578
|
+
* Live-fetch repositories across the org's GitHub App installations
|
|
544
579
|
*/
|
|
545
580
|
repos(options) {
|
|
546
581
|
return (options?.client ?? this.client).get({
|
|
@@ -548,6 +583,14 @@ export class Github extends HeyApiClient {
|
|
|
548
583
|
...options,
|
|
549
584
|
});
|
|
550
585
|
}
|
|
586
|
+
_mappings;
|
|
587
|
+
get mappings() {
|
|
588
|
+
return (this._mappings ??= new Mappings({ client: this.client }));
|
|
589
|
+
}
|
|
590
|
+
_mapping;
|
|
591
|
+
get mapping() {
|
|
592
|
+
return (this._mapping ??= new Mapping({ client: this.client }));
|
|
593
|
+
}
|
|
551
594
|
}
|
|
552
595
|
export class Config extends HeyApiClient {
|
|
553
596
|
/**
|
|
@@ -1504,7 +1547,7 @@ export class Session extends HeyApiClient {
|
|
|
1504
1547
|
/**
|
|
1505
1548
|
* Get the OpenCode URL for a session
|
|
1506
1549
|
*
|
|
1507
|
-
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected)
|
|
1550
|
+
* Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) web-UI deep link; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverUrl` is the bare server origin — pass it to `opencode attach <serverUrl> --session <id>` (its URL arg is the SDK base, so a deep link would break). `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
|
|
1508
1551
|
*/
|
|
1509
1552
|
url(options) {
|
|
1510
1553
|
return (options.client ?? this.client).get({
|
|
@@ -2048,6 +2091,78 @@ export class Telegram extends HeyApiClient {
|
|
|
2048
2091
|
return (this._chat ??= new Chat({ client: this.client }));
|
|
2049
2092
|
}
|
|
2050
2093
|
}
|
|
2094
|
+
export class Mappings2 extends HeyApiClient {
|
|
2095
|
+
/**
|
|
2096
|
+
* List Linear project → Ren project mappings
|
|
2097
|
+
*/
|
|
2098
|
+
list(options) {
|
|
2099
|
+
return (options?.client ?? this.client).get({
|
|
2100
|
+
url: "/api/linear/mappings",
|
|
2101
|
+
...options,
|
|
2102
|
+
});
|
|
2103
|
+
}
|
|
2104
|
+
/**
|
|
2105
|
+
* Map a Linear project to a Ren project
|
|
2106
|
+
*/
|
|
2107
|
+
create(options) {
|
|
2108
|
+
return (options?.client ?? this.client).post({
|
|
2109
|
+
url: "/api/linear/mappings",
|
|
2110
|
+
...options,
|
|
2111
|
+
headers: {
|
|
2112
|
+
"Content-Type": "application/json",
|
|
2113
|
+
...options?.headers,
|
|
2114
|
+
},
|
|
2115
|
+
});
|
|
2116
|
+
}
|
|
2117
|
+
/**
|
|
2118
|
+
* Remove a Linear project mapping
|
|
2119
|
+
*/
|
|
2120
|
+
remove(options) {
|
|
2121
|
+
return (options.client ?? this.client).delete({ url: "/api/linear/mappings/{triggerId}", ...options });
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
2124
|
+
export class Linear extends HeyApiClient {
|
|
2125
|
+
/**
|
|
2126
|
+
* Disconnect the caller's org Linear workspace
|
|
2127
|
+
*/
|
|
2128
|
+
uninstall(options) {
|
|
2129
|
+
return (options?.client ?? this.client).delete({
|
|
2130
|
+
url: "/api/linear/install",
|
|
2131
|
+
...options,
|
|
2132
|
+
});
|
|
2133
|
+
}
|
|
2134
|
+
/**
|
|
2135
|
+
* Begin a Linear workspace install
|
|
2136
|
+
*/
|
|
2137
|
+
install(options) {
|
|
2138
|
+
return (options?.client ?? this.client).post({
|
|
2139
|
+
url: "/api/linear/install",
|
|
2140
|
+
...options,
|
|
2141
|
+
});
|
|
2142
|
+
}
|
|
2143
|
+
/**
|
|
2144
|
+
* Report whether Linear is installed for the caller's org
|
|
2145
|
+
*/
|
|
2146
|
+
status(options) {
|
|
2147
|
+
return (options?.client ?? this.client).get({
|
|
2148
|
+
url: "/api/linear/status",
|
|
2149
|
+
...options,
|
|
2150
|
+
});
|
|
2151
|
+
}
|
|
2152
|
+
/**
|
|
2153
|
+
* List the connected Linear workspace's projects
|
|
2154
|
+
*/
|
|
2155
|
+
projects(options) {
|
|
2156
|
+
return (options?.client ?? this.client).get({
|
|
2157
|
+
url: "/api/linear/projects",
|
|
2158
|
+
...options,
|
|
2159
|
+
});
|
|
2160
|
+
}
|
|
2161
|
+
_mappings;
|
|
2162
|
+
get mappings() {
|
|
2163
|
+
return (this._mappings ??= new Mappings2({ client: this.client }));
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2051
2166
|
export class Vault2 extends HeyApiClient {
|
|
2052
2167
|
/**
|
|
2053
2168
|
* List vaults
|
|
@@ -2484,6 +2599,10 @@ export class RenClient extends HeyApiClient {
|
|
|
2484
2599
|
get telegram() {
|
|
2485
2600
|
return (this._telegram ??= new Telegram({ client: this.client }));
|
|
2486
2601
|
}
|
|
2602
|
+
_linear;
|
|
2603
|
+
get linear() {
|
|
2604
|
+
return (this._linear ??= new Linear({ client: this.client }));
|
|
2605
|
+
}
|
|
2487
2606
|
_vault;
|
|
2488
2607
|
get vault() {
|
|
2489
2608
|
return (this._vault ??= new Vault2({ client: this.client }));
|