@renai-labs/sdk 0.1.1 → 0.1.2
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 +286 -2
- package/dist/generated/@tanstack/react-query.gen.js +476 -1
- package/dist/generated/sdk.gen.d.ts +130 -2
- package/dist/generated/sdk.gen.js +315 -1
- package/dist/generated/types.gen.d.ts +2622 -1286
- package/dist/generated/zod.gen.d.ts +4085 -258
- package/dist/generated/zod.gen.js +513 -9
- 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, AgentGetBySlugData, AgentGetBySlugErrors, AgentGetBySlugResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, 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, 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, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpSearchData, McpSearchErrors, McpSearchResponses, 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, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, ReplayArchiveData, ReplayArchiveErrors, ReplayArchiveResponses, ReplayCreateData, ReplayCreateErrors, ReplayCreateResponses, ReplayGetData, ReplayGetErrors, ReplayGetResponses, ReplayListData, ReplayListErrors, ReplayListResponses, ReplayShareData, ReplayShareErrors, ReplayShareResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillSearchData, SkillSearchErrors, SkillSearchResponses, 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, 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, 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";
|
|
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
|
|
@@ -72,9 +72,59 @@ export declare class Agent extends HeyApiClient {
|
|
|
72
72
|
* Archive an agent
|
|
73
73
|
*/
|
|
74
74
|
archive<ThrowOnError extends boolean = false>(options: Options<AgentArchiveData, ThrowOnError>): import("./client").RequestResult<AgentArchiveResponses, AgentArchiveErrors, ThrowOnError, "fields">;
|
|
75
|
+
/**
|
|
76
|
+
* Publish an agent
|
|
77
|
+
*/
|
|
78
|
+
publish<ThrowOnError extends boolean = false>(options: Options<AgentPublishData, ThrowOnError>): import("./client").RequestResult<AgentPublishResponses, AgentPublishErrors, ThrowOnError, "fields">;
|
|
79
|
+
/**
|
|
80
|
+
* Deprecate an agent
|
|
81
|
+
*/
|
|
82
|
+
deprecate<ThrowOnError extends boolean = false>(options: Options<AgentDeprecateData, ThrowOnError>): import("./client").RequestResult<AgentDeprecateResponses, AgentDeprecateErrors, ThrowOnError, "fields">;
|
|
83
|
+
/**
|
|
84
|
+
* Undeprecate an agent
|
|
85
|
+
*/
|
|
86
|
+
undeprecate<ThrowOnError extends boolean = false>(options: Options<AgentUndeprecateData, ThrowOnError>): import("./client").RequestResult<AgentUndeprecateResponses, AgentUndeprecateErrors, ThrowOnError, "fields">;
|
|
75
87
|
private _version?;
|
|
76
88
|
get version(): Version;
|
|
77
89
|
}
|
|
90
|
+
export declare class Blueprint extends HeyApiClient {
|
|
91
|
+
/**
|
|
92
|
+
* List blueprints
|
|
93
|
+
*/
|
|
94
|
+
list<ThrowOnError extends boolean = false>(options?: Options<BlueprintListData, ThrowOnError>): import("./client").RequestResult<BlueprintListResponses, BlueprintListErrors, ThrowOnError, "fields">;
|
|
95
|
+
/**
|
|
96
|
+
* Create a blueprint
|
|
97
|
+
*/
|
|
98
|
+
create<ThrowOnError extends boolean = false>(options?: Options<BlueprintCreateData, ThrowOnError>): import("./client").RequestResult<BlueprintCreateResponses, BlueprintCreateErrors, ThrowOnError, "fields">;
|
|
99
|
+
/**
|
|
100
|
+
* Install a blueprint into a pod
|
|
101
|
+
*/
|
|
102
|
+
install<ThrowOnError extends boolean = false>(options?: Options<BlueprintInstallData, ThrowOnError>): import("./client").RequestResult<BlueprintInstallResponses, BlueprintInstallErrors, ThrowOnError, "fields">;
|
|
103
|
+
/**
|
|
104
|
+
* Get a blueprint
|
|
105
|
+
*/
|
|
106
|
+
get<ThrowOnError extends boolean = false>(options: Options<BlueprintGetData, ThrowOnError>): import("./client").RequestResult<BlueprintGetResponses, BlueprintGetErrors, ThrowOnError, "fields">;
|
|
107
|
+
/**
|
|
108
|
+
* Update a blueprint
|
|
109
|
+
*/
|
|
110
|
+
update<ThrowOnError extends boolean = false>(options: Options<BlueprintUpdateData, ThrowOnError>): import("./client").RequestResult<BlueprintUpdateResponses, BlueprintUpdateErrors, ThrowOnError, "fields">;
|
|
111
|
+
/**
|
|
112
|
+
* Publish a blueprint
|
|
113
|
+
*/
|
|
114
|
+
publish<ThrowOnError extends boolean = false>(options: Options<BlueprintPublishData, ThrowOnError>): import("./client").RequestResult<BlueprintPublishResponses, BlueprintPublishErrors, ThrowOnError, "fields">;
|
|
115
|
+
/**
|
|
116
|
+
* Deprecate a blueprint
|
|
117
|
+
*/
|
|
118
|
+
deprecate<ThrowOnError extends boolean = false>(options: Options<BlueprintDeprecateData, ThrowOnError>): import("./client").RequestResult<BlueprintDeprecateResponses, BlueprintDeprecateErrors, ThrowOnError, "fields">;
|
|
119
|
+
/**
|
|
120
|
+
* Undeprecate a blueprint
|
|
121
|
+
*/
|
|
122
|
+
undeprecate<ThrowOnError extends boolean = false>(options: Options<BlueprintUndeprecateData, ThrowOnError>): import("./client").RequestResult<BlueprintUndeprecateResponses, BlueprintUndeprecateErrors, ThrowOnError, "fields">;
|
|
123
|
+
/**
|
|
124
|
+
* Archive a blueprint
|
|
125
|
+
*/
|
|
126
|
+
archive<ThrowOnError extends boolean = false>(options: Options<BlueprintArchiveData, ThrowOnError>): import("./client").RequestResult<BlueprintArchiveResponses, BlueprintArchiveErrors, ThrowOnError, "fields">;
|
|
127
|
+
}
|
|
78
128
|
export declare class Billing extends HeyApiClient {
|
|
79
129
|
/**
|
|
80
130
|
* Get organization billing summary
|
|
@@ -244,6 +294,18 @@ export declare class Mcp extends HeyApiClient {
|
|
|
244
294
|
* Archive an MCP
|
|
245
295
|
*/
|
|
246
296
|
archive<ThrowOnError extends boolean = false>(options: Options<McpArchiveData, ThrowOnError>): import("./client").RequestResult<McpArchiveResponses, McpArchiveErrors, ThrowOnError, "fields">;
|
|
297
|
+
/**
|
|
298
|
+
* Publish an MCP
|
|
299
|
+
*/
|
|
300
|
+
publish<ThrowOnError extends boolean = false>(options: Options<McpPublishData, ThrowOnError>): import("./client").RequestResult<McpPublishResponses, McpPublishErrors, ThrowOnError, "fields">;
|
|
301
|
+
/**
|
|
302
|
+
* Deprecate an MCP
|
|
303
|
+
*/
|
|
304
|
+
deprecate<ThrowOnError extends boolean = false>(options: Options<McpDeprecateData, ThrowOnError>): import("./client").RequestResult<McpDeprecateResponses, McpDeprecateErrors, ThrowOnError, "fields">;
|
|
305
|
+
/**
|
|
306
|
+
* Undeprecate an MCP
|
|
307
|
+
*/
|
|
308
|
+
undeprecate<ThrowOnError extends boolean = false>(options: Options<McpUndeprecateData, ThrowOnError>): import("./client").RequestResult<McpUndeprecateResponses, McpUndeprecateErrors, ThrowOnError, "fields">;
|
|
247
309
|
private _oauth?;
|
|
248
310
|
get oauth(): Oauth;
|
|
249
311
|
}
|
|
@@ -315,7 +377,7 @@ export declare class Onboarding extends HeyApiClient {
|
|
|
315
377
|
/**
|
|
316
378
|
* Set up personal organization
|
|
317
379
|
*
|
|
318
|
-
* Creates a personal organization for the authenticated user. Use when a new user has no membership yet — e.g. after skipping a pending invitation. Idempotent: returns the existing organization if the user already belongs to one.
|
|
380
|
+
* Creates a personal organization for the authenticated user. Use when a new user has no membership yet — e.g. after skipping a pending invitation. Idempotent: returns the existing organization if the user already belongs to one. Name, slug, and logo are derived from the user's profile and email domain.
|
|
319
381
|
*/
|
|
320
382
|
setupPersonalOrg<ThrowOnError extends boolean = false>(options?: Options<OnboardingSetupPersonalOrgData, ThrowOnError>): import("./client").RequestResult<OnboardingSetupPersonalOrgResponses, OnboardingSetupPersonalOrgErrors, ThrowOnError, "fields">;
|
|
321
383
|
}
|
|
@@ -473,6 +535,24 @@ export declare class Project extends HeyApiClient {
|
|
|
473
535
|
private _memoryStore?;
|
|
474
536
|
get memoryStore(): MemoryStore2;
|
|
475
537
|
}
|
|
538
|
+
export declare class Publisher extends HeyApiClient {
|
|
539
|
+
/**
|
|
540
|
+
* Get the caller's accessible publishers
|
|
541
|
+
*/
|
|
542
|
+
me<ThrowOnError extends boolean = false>(options?: Options<PublisherMeData, ThrowOnError>): import("./client").RequestResult<PublisherMeResponses, PublisherMeErrors, ThrowOnError, "fields">;
|
|
543
|
+
/**
|
|
544
|
+
* Claim the caller's org publisher handle
|
|
545
|
+
*/
|
|
546
|
+
claimOrg<ThrowOnError extends boolean = false>(options?: Options<PublisherClaimOrgData, ThrowOnError>): import("./client").RequestResult<PublisherClaimOrgResponses, PublisherClaimOrgErrors, ThrowOnError, "fields">;
|
|
547
|
+
/**
|
|
548
|
+
* Get a publisher
|
|
549
|
+
*/
|
|
550
|
+
get<ThrowOnError extends boolean = false>(options: Options<PublisherGetData, ThrowOnError>): import("./client").RequestResult<PublisherGetResponses, PublisherGetErrors, ThrowOnError, "fields">;
|
|
551
|
+
/**
|
|
552
|
+
* Update publisher metadata
|
|
553
|
+
*/
|
|
554
|
+
update<ThrowOnError extends boolean = false>(options: Options<PublisherUpdateData, ThrowOnError>): import("./client").RequestResult<PublisherUpdateResponses, PublisherUpdateErrors, ThrowOnError, "fields">;
|
|
555
|
+
}
|
|
476
556
|
export declare class Replay extends HeyApiClient {
|
|
477
557
|
/**
|
|
478
558
|
* List replays
|
|
@@ -486,15 +566,37 @@ export declare class Replay extends HeyApiClient {
|
|
|
486
566
|
* Get a replay
|
|
487
567
|
*/
|
|
488
568
|
get<ThrowOnError extends boolean = false>(options: Options<ReplayGetData, ThrowOnError>): import("./client").RequestResult<ReplayGetResponses, ReplayGetErrors, ThrowOnError, "fields">;
|
|
569
|
+
/**
|
|
570
|
+
* Update a replay
|
|
571
|
+
*/
|
|
572
|
+
update<ThrowOnError extends boolean = false>(options: Options<ReplayUpdateData, ThrowOnError>): import("./client").RequestResult<ReplayUpdateResponses, ReplayUpdateErrors, ThrowOnError, "fields">;
|
|
489
573
|
/**
|
|
490
574
|
* Archive a replay
|
|
491
575
|
*/
|
|
492
576
|
archive<ThrowOnError extends boolean = false>(options: Options<ReplayArchiveData, ThrowOnError>): import("./client").RequestResult<ReplayArchiveResponses, ReplayArchiveErrors, ThrowOnError, "fields">;
|
|
577
|
+
/**
|
|
578
|
+
* Publish a replay
|
|
579
|
+
*/
|
|
580
|
+
publish<ThrowOnError extends boolean = false>(options: Options<ReplayPublishData, ThrowOnError>): import("./client").RequestResult<ReplayPublishResponses, ReplayPublishErrors, ThrowOnError, "fields">;
|
|
581
|
+
/**
|
|
582
|
+
* Deprecate a replay
|
|
583
|
+
*/
|
|
584
|
+
deprecate<ThrowOnError extends boolean = false>(options: Options<ReplayDeprecateData, ThrowOnError>): import("./client").RequestResult<ReplayDeprecateResponses, ReplayDeprecateErrors, ThrowOnError, "fields">;
|
|
585
|
+
/**
|
|
586
|
+
* Undeprecate a replay
|
|
587
|
+
*/
|
|
588
|
+
undeprecate<ThrowOnError extends boolean = false>(options: Options<ReplayUndeprecateData, ThrowOnError>): import("./client").RequestResult<ReplayUndeprecateResponses, ReplayUndeprecateErrors, ThrowOnError, "fields">;
|
|
493
589
|
/**
|
|
494
590
|
* Share a chat session as a public replay
|
|
495
591
|
*/
|
|
496
592
|
share<ThrowOnError extends boolean = false>(options?: Options<ReplayShareData, ThrowOnError>): import("./client").RequestResult<ReplayShareResponses, ReplayShareErrors, ThrowOnError, "fields">;
|
|
497
593
|
}
|
|
594
|
+
export declare class Messages extends HeyApiClient {
|
|
595
|
+
/**
|
|
596
|
+
* List a session's messages
|
|
597
|
+
*/
|
|
598
|
+
list<ThrowOnError extends boolean = false>(options: Options<SessionMessagesListData, ThrowOnError>): import("./client").RequestResult<SessionMessagesListResponses, SessionMessagesListErrors, ThrowOnError, "fields">;
|
|
599
|
+
}
|
|
498
600
|
export declare class Files3 extends HeyApiClient {
|
|
499
601
|
/**
|
|
500
602
|
* Presign an upload URL for a file destined for the session's pod volume
|
|
@@ -530,6 +632,8 @@ export declare class Session extends HeyApiClient {
|
|
|
530
632
|
* Archive a session
|
|
531
633
|
*/
|
|
532
634
|
archive<ThrowOnError extends boolean = false>(options: Options<SessionArchiveData, ThrowOnError>): import("./client").RequestResult<SessionArchiveResponses, SessionArchiveErrors, ThrowOnError, "fields">;
|
|
635
|
+
private _messages?;
|
|
636
|
+
get messages(): Messages;
|
|
533
637
|
private _files?;
|
|
534
638
|
get files(): Files3;
|
|
535
639
|
}
|
|
@@ -584,6 +688,18 @@ export declare class Skill extends HeyApiClient {
|
|
|
584
688
|
* Archive a skill
|
|
585
689
|
*/
|
|
586
690
|
archive<ThrowOnError extends boolean = false>(options: Options<SkillArchiveData, ThrowOnError>): import("./client").RequestResult<SkillArchiveResponses, SkillArchiveErrors, ThrowOnError, "fields">;
|
|
691
|
+
/**
|
|
692
|
+
* Publish a skill
|
|
693
|
+
*/
|
|
694
|
+
publish<ThrowOnError extends boolean = false>(options: Options<SkillPublishData, ThrowOnError>): import("./client").RequestResult<SkillPublishResponses, SkillPublishErrors, ThrowOnError, "fields">;
|
|
695
|
+
/**
|
|
696
|
+
* Deprecate a skill
|
|
697
|
+
*/
|
|
698
|
+
deprecate<ThrowOnError extends boolean = false>(options: Options<SkillDeprecateData, ThrowOnError>): import("./client").RequestResult<SkillDeprecateResponses, SkillDeprecateErrors, ThrowOnError, "fields">;
|
|
699
|
+
/**
|
|
700
|
+
* Undeprecate a skill
|
|
701
|
+
*/
|
|
702
|
+
undeprecate<ThrowOnError extends boolean = false>(options: Options<SkillUndeprecateData, ThrowOnError>): import("./client").RequestResult<SkillUndeprecateResponses, SkillUndeprecateErrors, ThrowOnError, "fields">;
|
|
587
703
|
/**
|
|
588
704
|
* Copy a skill
|
|
589
705
|
*/
|
|
@@ -757,6 +873,12 @@ export declare class Replay2 extends HeyApiClient {
|
|
|
757
873
|
private _files?;
|
|
758
874
|
get files(): Files4;
|
|
759
875
|
}
|
|
876
|
+
export declare class Blueprint2 extends HeyApiClient {
|
|
877
|
+
/**
|
|
878
|
+
* Get a public blueprint by slug
|
|
879
|
+
*/
|
|
880
|
+
get<ThrowOnError extends boolean = false>(options: Options<RegistryBlueprintGetData, ThrowOnError>): import("./client").RequestResult<RegistryBlueprintGetResponses, RegistryBlueprintGetErrors, ThrowOnError, "fields">;
|
|
881
|
+
}
|
|
760
882
|
export declare class Registry extends HeyApiClient {
|
|
761
883
|
private _agent?;
|
|
762
884
|
get agent(): Agent3;
|
|
@@ -766,6 +888,8 @@ export declare class Registry extends HeyApiClient {
|
|
|
766
888
|
get mcp(): Mcp2;
|
|
767
889
|
private _replay?;
|
|
768
890
|
get replay(): Replay2;
|
|
891
|
+
private _blueprint?;
|
|
892
|
+
get blueprint(): Blueprint2;
|
|
769
893
|
}
|
|
770
894
|
export declare class RenClient extends HeyApiClient {
|
|
771
895
|
static readonly __registry: HeyApiRegistry<RenClient>;
|
|
@@ -775,6 +899,8 @@ export declare class RenClient extends HeyApiClient {
|
|
|
775
899
|
});
|
|
776
900
|
private _agent?;
|
|
777
901
|
get agent(): Agent;
|
|
902
|
+
private _blueprint?;
|
|
903
|
+
get blueprint(): Blueprint;
|
|
778
904
|
private _billing?;
|
|
779
905
|
get billing(): Billing;
|
|
780
906
|
private _dashboard?;
|
|
@@ -801,6 +927,8 @@ export declare class RenClient extends HeyApiClient {
|
|
|
801
927
|
get pod(): Pod;
|
|
802
928
|
private _project?;
|
|
803
929
|
get project(): Project;
|
|
930
|
+
private _publisher?;
|
|
931
|
+
get publisher(): Publisher;
|
|
804
932
|
private _replay?;
|
|
805
933
|
get replay(): Replay;
|
|
806
934
|
private _session?;
|
|
@@ -139,11 +139,138 @@ export class Agent extends HeyApiClient {
|
|
|
139
139
|
...options,
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* Publish an agent
|
|
144
|
+
*/
|
|
145
|
+
publish(options) {
|
|
146
|
+
return (options.client ?? this.client).post({
|
|
147
|
+
url: "/api/agents/{id}/publish",
|
|
148
|
+
...options,
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Deprecate an agent
|
|
153
|
+
*/
|
|
154
|
+
deprecate(options) {
|
|
155
|
+
return (options.client ?? this.client).post({
|
|
156
|
+
url: "/api/agents/{id}/deprecate",
|
|
157
|
+
...options,
|
|
158
|
+
headers: {
|
|
159
|
+
"Content-Type": "application/json",
|
|
160
|
+
...options.headers,
|
|
161
|
+
},
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Undeprecate an agent
|
|
166
|
+
*/
|
|
167
|
+
undeprecate(options) {
|
|
168
|
+
return (options.client ?? this.client).post({
|
|
169
|
+
url: "/api/agents/{id}/undeprecate",
|
|
170
|
+
...options,
|
|
171
|
+
});
|
|
172
|
+
}
|
|
142
173
|
_version;
|
|
143
174
|
get version() {
|
|
144
175
|
return (this._version ??= new Version({ client: this.client }));
|
|
145
176
|
}
|
|
146
177
|
}
|
|
178
|
+
export class Blueprint extends HeyApiClient {
|
|
179
|
+
/**
|
|
180
|
+
* List blueprints
|
|
181
|
+
*/
|
|
182
|
+
list(options) {
|
|
183
|
+
return (options?.client ?? this.client).get({
|
|
184
|
+
url: "/api/blueprints",
|
|
185
|
+
...options,
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Create a blueprint
|
|
190
|
+
*/
|
|
191
|
+
create(options) {
|
|
192
|
+
return (options?.client ?? this.client).post({
|
|
193
|
+
url: "/api/blueprints",
|
|
194
|
+
...options,
|
|
195
|
+
headers: {
|
|
196
|
+
"Content-Type": "application/json",
|
|
197
|
+
...options?.headers,
|
|
198
|
+
},
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Install a blueprint into a pod
|
|
203
|
+
*/
|
|
204
|
+
install(options) {
|
|
205
|
+
return (options?.client ?? this.client).post({
|
|
206
|
+
url: "/api/blueprints/install",
|
|
207
|
+
...options,
|
|
208
|
+
headers: {
|
|
209
|
+
"Content-Type": "application/json",
|
|
210
|
+
...options?.headers,
|
|
211
|
+
},
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Get a blueprint
|
|
216
|
+
*/
|
|
217
|
+
get(options) {
|
|
218
|
+
return (options.client ?? this.client).get({
|
|
219
|
+
url: "/api/blueprints/{id}",
|
|
220
|
+
...options,
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Update a blueprint
|
|
225
|
+
*/
|
|
226
|
+
update(options) {
|
|
227
|
+
return (options.client ?? this.client).patch({
|
|
228
|
+
url: "/api/blueprints/{id}",
|
|
229
|
+
...options,
|
|
230
|
+
headers: {
|
|
231
|
+
"Content-Type": "application/json",
|
|
232
|
+
...options.headers,
|
|
233
|
+
},
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Publish a blueprint
|
|
238
|
+
*/
|
|
239
|
+
publish(options) {
|
|
240
|
+
return (options.client ?? this.client).post({
|
|
241
|
+
url: "/api/blueprints/{id}/publish",
|
|
242
|
+
...options,
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Deprecate a blueprint
|
|
247
|
+
*/
|
|
248
|
+
deprecate(options) {
|
|
249
|
+
return (options.client ?? this.client).post({
|
|
250
|
+
url: "/api/blueprints/{id}/deprecate",
|
|
251
|
+
...options,
|
|
252
|
+
headers: {
|
|
253
|
+
"Content-Type": "application/json",
|
|
254
|
+
...options.headers,
|
|
255
|
+
},
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Undeprecate a blueprint
|
|
260
|
+
*/
|
|
261
|
+
undeprecate(options) {
|
|
262
|
+
return (options.client ?? this.client).post({ url: "/api/blueprints/{id}/undeprecate", ...options });
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Archive a blueprint
|
|
266
|
+
*/
|
|
267
|
+
archive(options) {
|
|
268
|
+
return (options.client ?? this.client).post({
|
|
269
|
+
url: "/api/blueprints/{id}/archive",
|
|
270
|
+
...options,
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
}
|
|
147
274
|
export class Billing extends HeyApiClient {
|
|
148
275
|
/**
|
|
149
276
|
* Get organization billing summary
|
|
@@ -522,6 +649,37 @@ export class Mcp extends HeyApiClient {
|
|
|
522
649
|
...options,
|
|
523
650
|
});
|
|
524
651
|
}
|
|
652
|
+
/**
|
|
653
|
+
* Publish an MCP
|
|
654
|
+
*/
|
|
655
|
+
publish(options) {
|
|
656
|
+
return (options.client ?? this.client).post({
|
|
657
|
+
url: "/api/mcps/{id}/publish",
|
|
658
|
+
...options,
|
|
659
|
+
});
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* Deprecate an MCP
|
|
663
|
+
*/
|
|
664
|
+
deprecate(options) {
|
|
665
|
+
return (options.client ?? this.client).post({
|
|
666
|
+
url: "/api/mcps/{id}/deprecate",
|
|
667
|
+
...options,
|
|
668
|
+
headers: {
|
|
669
|
+
"Content-Type": "application/json",
|
|
670
|
+
...options.headers,
|
|
671
|
+
},
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* Undeprecate an MCP
|
|
676
|
+
*/
|
|
677
|
+
undeprecate(options) {
|
|
678
|
+
return (options.client ?? this.client).post({
|
|
679
|
+
url: "/api/mcps/{id}/undeprecate",
|
|
680
|
+
...options,
|
|
681
|
+
});
|
|
682
|
+
}
|
|
525
683
|
_oauth;
|
|
526
684
|
get oauth() {
|
|
527
685
|
return (this._oauth ??= new Oauth({ client: this.client }));
|
|
@@ -673,7 +831,7 @@ export class Onboarding extends HeyApiClient {
|
|
|
673
831
|
/**
|
|
674
832
|
* Set up personal organization
|
|
675
833
|
*
|
|
676
|
-
* Creates a personal organization for the authenticated user. Use when a new user has no membership yet — e.g. after skipping a pending invitation. Idempotent: returns the existing organization if the user already belongs to one.
|
|
834
|
+
* Creates a personal organization for the authenticated user. Use when a new user has no membership yet — e.g. after skipping a pending invitation. Idempotent: returns the existing organization if the user already belongs to one. Name, slug, and logo are derived from the user's profile and email domain.
|
|
677
835
|
*/
|
|
678
836
|
setupPersonalOrg(options) {
|
|
679
837
|
return (options?.client ?? this.client).post({ url: "/api/onboarding/setup-personal-org", ...options });
|
|
@@ -1023,6 +1181,52 @@ export class Project extends HeyApiClient {
|
|
|
1023
1181
|
return (this._memoryStore ??= new MemoryStore2({ client: this.client }));
|
|
1024
1182
|
}
|
|
1025
1183
|
}
|
|
1184
|
+
export class Publisher extends HeyApiClient {
|
|
1185
|
+
/**
|
|
1186
|
+
* Get the caller's accessible publishers
|
|
1187
|
+
*/
|
|
1188
|
+
me(options) {
|
|
1189
|
+
return (options?.client ?? this.client).get({
|
|
1190
|
+
url: "/api/publishers/me",
|
|
1191
|
+
...options,
|
|
1192
|
+
});
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* Claim the caller's org publisher handle
|
|
1196
|
+
*/
|
|
1197
|
+
claimOrg(options) {
|
|
1198
|
+
return (options?.client ?? this.client).post({
|
|
1199
|
+
url: "/api/publishers/org",
|
|
1200
|
+
...options,
|
|
1201
|
+
headers: {
|
|
1202
|
+
"Content-Type": "application/json",
|
|
1203
|
+
...options?.headers,
|
|
1204
|
+
},
|
|
1205
|
+
});
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
* Get a publisher
|
|
1209
|
+
*/
|
|
1210
|
+
get(options) {
|
|
1211
|
+
return (options.client ?? this.client).get({
|
|
1212
|
+
url: "/api/publishers/{id}",
|
|
1213
|
+
...options,
|
|
1214
|
+
});
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* Update publisher metadata
|
|
1218
|
+
*/
|
|
1219
|
+
update(options) {
|
|
1220
|
+
return (options.client ?? this.client).patch({
|
|
1221
|
+
url: "/api/publishers/{id}",
|
|
1222
|
+
...options,
|
|
1223
|
+
headers: {
|
|
1224
|
+
"Content-Type": "application/json",
|
|
1225
|
+
...options.headers,
|
|
1226
|
+
},
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1026
1230
|
export class Replay extends HeyApiClient {
|
|
1027
1231
|
/**
|
|
1028
1232
|
* List replays
|
|
@@ -1055,6 +1259,19 @@ export class Replay extends HeyApiClient {
|
|
|
1055
1259
|
...options,
|
|
1056
1260
|
});
|
|
1057
1261
|
}
|
|
1262
|
+
/**
|
|
1263
|
+
* Update a replay
|
|
1264
|
+
*/
|
|
1265
|
+
update(options) {
|
|
1266
|
+
return (options.client ?? this.client).patch({
|
|
1267
|
+
url: "/api/replays/{id}",
|
|
1268
|
+
...options,
|
|
1269
|
+
headers: {
|
|
1270
|
+
"Content-Type": "application/json",
|
|
1271
|
+
...options.headers,
|
|
1272
|
+
},
|
|
1273
|
+
});
|
|
1274
|
+
}
|
|
1058
1275
|
/**
|
|
1059
1276
|
* Archive a replay
|
|
1060
1277
|
*/
|
|
@@ -1064,6 +1281,37 @@ export class Replay extends HeyApiClient {
|
|
|
1064
1281
|
...options,
|
|
1065
1282
|
});
|
|
1066
1283
|
}
|
|
1284
|
+
/**
|
|
1285
|
+
* Publish a replay
|
|
1286
|
+
*/
|
|
1287
|
+
publish(options) {
|
|
1288
|
+
return (options.client ?? this.client).post({
|
|
1289
|
+
url: "/api/replays/{id}/publish",
|
|
1290
|
+
...options,
|
|
1291
|
+
});
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* Deprecate a replay
|
|
1295
|
+
*/
|
|
1296
|
+
deprecate(options) {
|
|
1297
|
+
return (options.client ?? this.client).post({
|
|
1298
|
+
url: "/api/replays/{id}/deprecate",
|
|
1299
|
+
...options,
|
|
1300
|
+
headers: {
|
|
1301
|
+
"Content-Type": "application/json",
|
|
1302
|
+
...options.headers,
|
|
1303
|
+
},
|
|
1304
|
+
});
|
|
1305
|
+
}
|
|
1306
|
+
/**
|
|
1307
|
+
* Undeprecate a replay
|
|
1308
|
+
*/
|
|
1309
|
+
undeprecate(options) {
|
|
1310
|
+
return (options.client ?? this.client).post({
|
|
1311
|
+
url: "/api/replays/{id}/undeprecate",
|
|
1312
|
+
...options,
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1067
1315
|
/**
|
|
1068
1316
|
* Share a chat session as a public replay
|
|
1069
1317
|
*/
|
|
@@ -1078,6 +1326,17 @@ export class Replay extends HeyApiClient {
|
|
|
1078
1326
|
});
|
|
1079
1327
|
}
|
|
1080
1328
|
}
|
|
1329
|
+
export class Messages extends HeyApiClient {
|
|
1330
|
+
/**
|
|
1331
|
+
* List a session's messages
|
|
1332
|
+
*/
|
|
1333
|
+
list(options) {
|
|
1334
|
+
return (options.client ?? this.client).get({
|
|
1335
|
+
url: "/api/sessions/{id}/messages",
|
|
1336
|
+
...options,
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1081
1340
|
export class Files3 extends HeyApiClient {
|
|
1082
1341
|
/**
|
|
1083
1342
|
* Presign an upload URL for a file destined for the session's pod volume
|
|
@@ -1166,6 +1425,10 @@ export class Session extends HeyApiClient {
|
|
|
1166
1425
|
...options,
|
|
1167
1426
|
});
|
|
1168
1427
|
}
|
|
1428
|
+
_messages;
|
|
1429
|
+
get messages() {
|
|
1430
|
+
return (this._messages ??= new Messages({ client: this.client }));
|
|
1431
|
+
}
|
|
1169
1432
|
_files;
|
|
1170
1433
|
get files() {
|
|
1171
1434
|
return (this._files ??= new Files3({ client: this.client }));
|
|
@@ -1300,6 +1563,37 @@ export class Skill extends HeyApiClient {
|
|
|
1300
1563
|
...options,
|
|
1301
1564
|
});
|
|
1302
1565
|
}
|
|
1566
|
+
/**
|
|
1567
|
+
* Publish a skill
|
|
1568
|
+
*/
|
|
1569
|
+
publish(options) {
|
|
1570
|
+
return (options.client ?? this.client).post({
|
|
1571
|
+
url: "/api/skills/{id}/publish",
|
|
1572
|
+
...options,
|
|
1573
|
+
});
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* Deprecate a skill
|
|
1577
|
+
*/
|
|
1578
|
+
deprecate(options) {
|
|
1579
|
+
return (options.client ?? this.client).post({
|
|
1580
|
+
url: "/api/skills/{id}/deprecate",
|
|
1581
|
+
...options,
|
|
1582
|
+
headers: {
|
|
1583
|
+
"Content-Type": "application/json",
|
|
1584
|
+
...options.headers,
|
|
1585
|
+
},
|
|
1586
|
+
});
|
|
1587
|
+
}
|
|
1588
|
+
/**
|
|
1589
|
+
* Undeprecate a skill
|
|
1590
|
+
*/
|
|
1591
|
+
undeprecate(options) {
|
|
1592
|
+
return (options.client ?? this.client).post({
|
|
1593
|
+
url: "/api/skills/{id}/undeprecate",
|
|
1594
|
+
...options,
|
|
1595
|
+
});
|
|
1596
|
+
}
|
|
1303
1597
|
/**
|
|
1304
1598
|
* Copy a skill
|
|
1305
1599
|
*/
|
|
@@ -1702,6 +1996,14 @@ export class Replay2 extends HeyApiClient {
|
|
|
1702
1996
|
return (this._files ??= new Files4({ client: this.client }));
|
|
1703
1997
|
}
|
|
1704
1998
|
}
|
|
1999
|
+
export class Blueprint2 extends HeyApiClient {
|
|
2000
|
+
/**
|
|
2001
|
+
* Get a public blueprint by slug
|
|
2002
|
+
*/
|
|
2003
|
+
get(options) {
|
|
2004
|
+
return (options.client ?? this.client).get({ url: "/api/registry/blueprints/{slug}", ...options });
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
1705
2007
|
export class Registry extends HeyApiClient {
|
|
1706
2008
|
_agent;
|
|
1707
2009
|
get agent() {
|
|
@@ -1719,6 +2021,10 @@ export class Registry extends HeyApiClient {
|
|
|
1719
2021
|
get replay() {
|
|
1720
2022
|
return (this._replay ??= new Replay2({ client: this.client }));
|
|
1721
2023
|
}
|
|
2024
|
+
_blueprint;
|
|
2025
|
+
get blueprint() {
|
|
2026
|
+
return (this._blueprint ??= new Blueprint2({ client: this.client }));
|
|
2027
|
+
}
|
|
1722
2028
|
}
|
|
1723
2029
|
export class RenClient extends HeyApiClient {
|
|
1724
2030
|
static __registry = new HeyApiRegistry();
|
|
@@ -1730,6 +2036,10 @@ export class RenClient extends HeyApiClient {
|
|
|
1730
2036
|
get agent() {
|
|
1731
2037
|
return (this._agent ??= new Agent({ client: this.client }));
|
|
1732
2038
|
}
|
|
2039
|
+
_blueprint;
|
|
2040
|
+
get blueprint() {
|
|
2041
|
+
return (this._blueprint ??= new Blueprint({ client: this.client }));
|
|
2042
|
+
}
|
|
1733
2043
|
_billing;
|
|
1734
2044
|
get billing() {
|
|
1735
2045
|
return (this._billing ??= new Billing({ client: this.client }));
|
|
@@ -1782,6 +2092,10 @@ export class RenClient extends HeyApiClient {
|
|
|
1782
2092
|
get project() {
|
|
1783
2093
|
return (this._project ??= new Project({ client: this.client }));
|
|
1784
2094
|
}
|
|
2095
|
+
_publisher;
|
|
2096
|
+
get publisher() {
|
|
2097
|
+
return (this._publisher ??= new Publisher({ client: this.client }));
|
|
2098
|
+
}
|
|
1785
2099
|
_replay;
|
|
1786
2100
|
get replay() {
|
|
1787
2101
|
return (this._replay ??= new Replay({ client: this.client }));
|