@renai-labs/sdk 0.1.26 → 0.1.27
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 +29 -1
- package/dist/generated/@tanstack/react-query.gen.js +16 -0
- package/dist/generated/sdk.gen.d.ts +5 -1
- package/dist/generated/sdk.gen.js +6 -0
- package/dist/generated/types.gen.d.ts +109 -2
- package/dist/generated/zod.gen.d.ts +159 -0
- package/dist/generated/zod.gen.js +76 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type InfiniteData, type UseMutationOptions } from "@tanstack/react-query";
|
|
2
2
|
import { type Options } from "../sdk.gen";
|
|
3
|
-
import type { ActivationDismissData, ActivationDismissError, ActivationDismissResponse, ActivationGetData, ActivationGetError, AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPromoteData, AgentPromoteError, AgentPromoteResponse, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, ArtifactArchiveData, ArtifactArchiveError, ArtifactArchiveResponse, ArtifactCreateData, ArtifactCreateError, ArtifactCreateResponse, ArtifactGetData, ArtifactGetError, ArtifactListData, ArtifactListError, ArtifactUpdateData, ArtifactUpdateError, ArtifactUpdateResponse, BillingCancelData, BillingCancelError, BillingCancelResponse, BillingChangePlanData, BillingChangePlanError, BillingChangePlanResponse, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingPlansData, BillingPlansError, BillingPortalData, BillingPortalError, BillingSubscribeData, BillingSubscribeError, BillingSubscribeResponse, BillingUsageData, BillingUsageError, BlueprintAddData, BlueprintAddError, BlueprintAddResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintPushData, BlueprintPushError, BlueprintPushResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthConnectData, CredentialOauthConnectError, CredentialOauthConnectResponse, CredentialOauthSessionData, CredentialOauthSessionError, CredentialTransferData, CredentialTransferError, CredentialTransferResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, CronTriggerArchiveData, CronTriggerArchiveError, CronTriggerArchiveResponse, CronTriggerCreateData, CronTriggerCreateError, CronTriggerCreateResponse, CronTriggerGetData, CronTriggerGetError, CronTriggerListData, CronTriggerListError, CronTriggerUpdateData, CronTriggerUpdateError, CronTriggerUpdateResponse, DashboardGetData, DashboardGetError, EmailListData, EmailListError, EmailSetData, EmailSetError, EmailSetResponse, EmailUnsetData, EmailUnsetError, EmailUnsetResponse, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentBuildListData, EnvironmentBuildListError, EnvironmentBuildStartData, EnvironmentBuildStartError, EnvironmentBuildStartResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreFilesWriteContentData, FileStoreFilesWriteContentError, FileStoreFilesWriteContentResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubConnectData, GithubConnectError, GithubConnectResponse, GithubInstallData, GithubInstallError, GithubInstallResponse, GithubMappingSetData, GithubMappingSetError, GithubMappingSetResponse, GithubMappingsListData, GithubMappingsListError, GithubMappingUnsetData, GithubMappingUnsetError, GithubMappingUnsetResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, GoogleConfigDeleteData, GoogleConfigDeleteError, GoogleConfigDeleteResponse, GoogleConfigSaveData, GoogleConfigSaveError, GoogleConfigSaveResponse, GoogleConnectData, GoogleConnectError, GoogleConnectResponse, GoogleDisconnectData, GoogleDisconnectError, GoogleDisconnectResponse, GoogleStatusData, GoogleStatusError, InferenceHarnessesCodexCatalogData, InferenceHarnessesCodexCatalogError, InferenceKeysCreateData, InferenceKeysCreateError, InferenceKeysCreateResponse, InferenceKeysListData, InferenceKeysListError, InferenceKeysRevokeData, InferenceKeysRevokeError, InferenceKeysRevokeResponse, InferenceSubscriptionsCodexDevicePollData, InferenceSubscriptionsCodexDevicePollError, InferenceSubscriptionsCodexDeviceStartData, InferenceSubscriptionsCodexDeviceStartError, InferenceSubscriptionsCodexDeviceStartResponse, InferenceSubscriptionsConnectCodexData, InferenceSubscriptionsConnectCodexError, InferenceSubscriptionsConnectCodexResponse, InferenceSubscriptionsListData, InferenceSubscriptionsListError, InferenceSubscriptionsOauthCompleteData, InferenceSubscriptionsOauthCompleteError, InferenceSubscriptionsOauthCompleteResponse, InferenceSubscriptionsOauthStartData, InferenceSubscriptionsOauthStartError, InferenceSubscriptionsOauthStartResponse, InferenceSubscriptionsRemoveData, InferenceSubscriptionsRemoveError, InferenceSubscriptionsRemoveResponse, InferenceSubscriptionsRenameData, InferenceSubscriptionsRenameError, InferenceSubscriptionsRenameResponse, InvitationPreviewData, LinearInstallData, LinearInstallError, LinearInstallResponse, LinearMappingsCreateData, LinearMappingsCreateError, LinearMappingsCreateResponse, LinearMappingsListData, LinearMappingsListError, LinearMappingsRemoveData, LinearMappingsRemoveError, LinearMappingsRemoveResponse, LinearProjectsData, LinearProjectsError, LinearStatusData, LinearStatusError, LinearUninstallData, LinearUninstallError, LinearUninstallResponse, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpPromoteData, McpPromoteError, McpPromoteResponse, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeCompleteOnboardingData, MeCompleteOnboardingError, MeCompleteOnboardingResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreFilesWriteContentData, MemoryStoreFilesWriteContentError, MemoryStoreFilesWriteContentResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, MeUpdatePersonaData, MeUpdatePersonaError, MeUpdatePersonaResponse, ModelListData, OauthAppCreateData, OauthAppCreateError, OauthAppCreateResponse, OauthAppDeleteData, OauthAppDeleteError, OauthAppDeleteResponse, OauthAppListData, OauthAppListError, OauthAppRedirectUriData, OauthAppRedirectUriError, OauthAppUpdateData, OauthAppUpdateError, OauthAppUpdateResponse, OauthAppUsageData, OauthAppUsageError, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, OrganizationLogoUploadData, OrganizationLogoUploadError, OrganizationLogoUploadResponse, OrgGetData, OrgGetError, OrgUpdateData, OrgUpdateError, OrgUpdateResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodAuthRequirementsData, PodAuthRequirementsError, PodCreateData, PodCreateError, PodCreateResponse, PodCredentialListData, PodCredentialListError, PodDatabaseArchiveData, PodDatabaseArchiveError, PodDatabaseArchiveResponse, PodDatabaseCreateData, PodDatabaseCreateError, PodDatabaseCreateResponse, PodDatabaseGetData, PodDatabaseGetError, PodDatabaseListData, PodDatabaseListError, PodDatabaseUpdateData, PodDatabaseUpdateError, PodDatabaseUpdateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodSandboxTeardownData, PodSandboxTeardownError, PodSandboxTeardownResponse2, PodUpdateData, PodUpdateError, PodUpdateResponse, PodUsageData, PodUsageError, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectAgentUpdateData, ProjectAgentUpdateError, ProjectAgentUpdateResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMcpAddData, ProjectMcpAddError, ProjectMcpAddResponse, ProjectMcpListData, ProjectMcpListError, ProjectMcpRemoveData, ProjectMcpRemoveError, ProjectMcpRemoveResponse, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectSkillAddData, ProjectSkillAddError, ProjectSkillAddResponse, ProjectSkillListData, ProjectSkillListError, ProjectSkillRemoveData, ProjectSkillRemoveError, ProjectSkillRemoveResponse, ProjectSkillResolutionData, ProjectSkillResolutionError, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, ProjectUsageData, ProjectUsageError, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryBlueprintListData, RegistryMcpGetData, RegistryMcpListData, RegistryPublisherAgentsData, RegistryPublisherBlueprintsData, RegistryPublisherGetData, RegistryPublisherMcpsData, RegistryPublisherSkillsData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, RegistryTopologyShareGetData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, ResourceIconUploadData, ResourceIconUploadError, ResourceIconUploadResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionCreateStatusData, SessionCreateStatusError, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionTracesListData, SessionTracesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SessionUsageData, SessionUsageError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPromoteData, SkillPromoteError, SkillPromoteResponse, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSourceUpdateData, SkillSourceUpdateError, SkillSourceUpdateResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackChannelListData, SlackChannelListError, SlackChannelSetData, SlackChannelSetError, SlackChannelSetResponse, SlackChannelUnsetData, SlackChannelUnsetError, SlackChannelUnsetResponse, SlackInstallData, SlackInstallError, SlackInstallResponse, SlackOnboardingResolveData, SlackOnboardingResolveError, SlackStatusData, SlackStatusError, SlackUninstallData, SlackUninstallError, SlackUninstallResponse, TaskArchiveData, TaskArchiveError, TaskArchiveResponse, TaskCreateData, TaskCreateError, TaskCreateResponse, TaskGetData, TaskGetError, TaskListData, TaskListError, TaskUpdateData, TaskUpdateError, TaskUpdateResponse, TelegramChatListData, TelegramChatListError, TelegramChatSetData, TelegramChatSetError, TelegramChatSetResponse, TelegramChatUnsetData, TelegramChatUnsetError, TelegramChatUnsetResponse, TelegramClaimCodeData, TelegramClaimCodeError, TelegramClaimCodeResponse, TelegramLinkCodeData, TelegramLinkCodeError, TelegramLinkCodeResponse, TelegramMeData, TelegramMeError, TelegramUnlinkData, TelegramUnlinkError, TelegramUnlinkResponse, TopologyGetData, TopologyGetError, TopologyShareArchiveData, TopologyShareArchiveError, TopologyShareArchiveResponse, TopologyShareCreateData, TopologyShareCreateError, TopologyShareCreateResponse, TopologyShareListData, TopologyShareListError, VaultGetData, VaultGetError, VaultListData, VaultListError, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
|
|
3
|
+
import type { ActivationDismissData, ActivationDismissError, ActivationDismissResponse, ActivationGetData, ActivationGetError, AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPromoteData, AgentPromoteError, AgentPromoteResponse, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, ArtifactArchiveData, ArtifactArchiveError, ArtifactArchiveResponse, ArtifactCreateData, ArtifactCreateError, ArtifactCreateResponse, ArtifactGetData, ArtifactGetError, ArtifactListData, ArtifactListError, ArtifactUpdateData, ArtifactUpdateError, ArtifactUpdateResponse, BillingCancelData, BillingCancelError, BillingCancelResponse, BillingChangePlanData, BillingChangePlanError, BillingChangePlanResponse, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingPlansData, BillingPlansError, BillingPortalData, BillingPortalError, BillingSubscribeData, BillingSubscribeError, BillingSubscribeResponse, BillingUsageData, BillingUsageError, BlueprintAddData, BlueprintAddError, BlueprintAddResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintPushData, BlueprintPushError, BlueprintPushResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthConnectData, CredentialOauthConnectError, CredentialOauthConnectResponse, CredentialOauthSessionData, CredentialOauthSessionError, CredentialTransferData, CredentialTransferError, CredentialTransferResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, CronTriggerArchiveData, CronTriggerArchiveError, CronTriggerArchiveResponse, CronTriggerCreateData, CronTriggerCreateError, CronTriggerCreateResponse, CronTriggerGetData, CronTriggerGetError, CronTriggerListData, CronTriggerListError, CronTriggerUpdateData, CronTriggerUpdateError, CronTriggerUpdateResponse, DashboardGetData, DashboardGetError, EmailListData, EmailListError, EmailSetData, EmailSetError, EmailSetResponse, EmailUnsetData, EmailUnsetError, EmailUnsetResponse, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentBuildListData, EnvironmentBuildListError, EnvironmentBuildStartData, EnvironmentBuildStartError, EnvironmentBuildStartResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreFilesWriteContentData, FileStoreFilesWriteContentError, FileStoreFilesWriteContentResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubConnectData, GithubConnectError, GithubConnectResponse, GithubInstallData, GithubInstallError, GithubInstallResponse, GithubMappingSetData, GithubMappingSetError, GithubMappingSetResponse, GithubMappingsListData, GithubMappingsListError, GithubMappingUnsetData, GithubMappingUnsetError, GithubMappingUnsetResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, GoogleConfigDeleteData, GoogleConfigDeleteError, GoogleConfigDeleteResponse, GoogleConfigSaveData, GoogleConfigSaveError, GoogleConfigSaveResponse, GoogleConnectData, GoogleConnectError, GoogleConnectResponse, GoogleDisconnectData, GoogleDisconnectError, GoogleDisconnectResponse, GoogleStatusData, GoogleStatusError, InferenceHarnessesCodexCatalogData, InferenceHarnessesCodexCatalogError, InferenceKeysCreateData, InferenceKeysCreateError, InferenceKeysCreateResponse, InferenceKeysListData, InferenceKeysListError, InferenceKeysRevokeData, InferenceKeysRevokeError, InferenceKeysRevokeResponse, InferenceSubscriptionsBudgetData, InferenceSubscriptionsBudgetError, InferenceSubscriptionsCodexDevicePollData, InferenceSubscriptionsCodexDevicePollError, InferenceSubscriptionsCodexDeviceStartData, InferenceSubscriptionsCodexDeviceStartError, InferenceSubscriptionsCodexDeviceStartResponse, InferenceSubscriptionsConnectCodexData, InferenceSubscriptionsConnectCodexError, InferenceSubscriptionsConnectCodexResponse, InferenceSubscriptionsListData, InferenceSubscriptionsListError, InferenceSubscriptionsOauthCompleteData, InferenceSubscriptionsOauthCompleteError, InferenceSubscriptionsOauthCompleteResponse, InferenceSubscriptionsOauthStartData, InferenceSubscriptionsOauthStartError, InferenceSubscriptionsOauthStartResponse, InferenceSubscriptionsRemoveData, InferenceSubscriptionsRemoveError, InferenceSubscriptionsRemoveResponse, InferenceSubscriptionsRenameData, InferenceSubscriptionsRenameError, InferenceSubscriptionsRenameResponse, InvitationPreviewData, LinearInstallData, LinearInstallError, LinearInstallResponse, LinearMappingsCreateData, LinearMappingsCreateError, LinearMappingsCreateResponse, LinearMappingsListData, LinearMappingsListError, LinearMappingsRemoveData, LinearMappingsRemoveError, LinearMappingsRemoveResponse, LinearProjectsData, LinearProjectsError, LinearStatusData, LinearStatusError, LinearUninstallData, LinearUninstallError, LinearUninstallResponse, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpPromoteData, McpPromoteError, McpPromoteResponse, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeCompleteOnboardingData, MeCompleteOnboardingError, MeCompleteOnboardingResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreFilesWriteContentData, MemoryStoreFilesWriteContentError, MemoryStoreFilesWriteContentResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, MeUpdatePersonaData, MeUpdatePersonaError, MeUpdatePersonaResponse, ModelListData, OauthAppCreateData, OauthAppCreateError, OauthAppCreateResponse, OauthAppDeleteData, OauthAppDeleteError, OauthAppDeleteResponse, OauthAppListData, OauthAppListError, OauthAppRedirectUriData, OauthAppRedirectUriError, OauthAppUpdateData, OauthAppUpdateError, OauthAppUpdateResponse, OauthAppUsageData, OauthAppUsageError, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, OrganizationLogoUploadData, OrganizationLogoUploadError, OrganizationLogoUploadResponse, OrgGetData, OrgGetError, OrgUpdateData, OrgUpdateError, OrgUpdateResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodAuthRequirementsData, PodAuthRequirementsError, PodCreateData, PodCreateError, PodCreateResponse, PodCredentialListData, PodCredentialListError, PodDatabaseArchiveData, PodDatabaseArchiveError, PodDatabaseArchiveResponse, PodDatabaseCreateData, PodDatabaseCreateError, PodDatabaseCreateResponse, PodDatabaseGetData, PodDatabaseGetError, PodDatabaseListData, PodDatabaseListError, PodDatabaseUpdateData, PodDatabaseUpdateError, PodDatabaseUpdateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodSandboxTeardownData, PodSandboxTeardownError, PodSandboxTeardownResponse2, PodUpdateData, PodUpdateError, PodUpdateResponse, PodUsageData, PodUsageError, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectAgentUpdateData, ProjectAgentUpdateError, ProjectAgentUpdateResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMcpAddData, ProjectMcpAddError, ProjectMcpAddResponse, ProjectMcpListData, ProjectMcpListError, ProjectMcpRemoveData, ProjectMcpRemoveError, ProjectMcpRemoveResponse, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectSkillAddData, ProjectSkillAddError, ProjectSkillAddResponse, ProjectSkillListData, ProjectSkillListError, ProjectSkillRemoveData, ProjectSkillRemoveError, ProjectSkillRemoveResponse, ProjectSkillResolutionData, ProjectSkillResolutionError, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, ProjectUsageData, ProjectUsageError, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryBlueprintListData, RegistryMcpGetData, RegistryMcpListData, RegistryPublisherAgentsData, RegistryPublisherBlueprintsData, RegistryPublisherGetData, RegistryPublisherMcpsData, RegistryPublisherSkillsData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, RegistryTopologyShareGetData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, ResourceIconUploadData, ResourceIconUploadError, ResourceIconUploadResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionCreateStatusData, SessionCreateStatusError, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionTracesListData, SessionTracesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SessionUsageData, SessionUsageError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPromoteData, SkillPromoteError, SkillPromoteResponse, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSourceUpdateData, SkillSourceUpdateError, SkillSourceUpdateResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackChannelListData, SlackChannelListError, SlackChannelSetData, SlackChannelSetError, SlackChannelSetResponse, SlackChannelUnsetData, SlackChannelUnsetError, SlackChannelUnsetResponse, SlackInstallData, SlackInstallError, SlackInstallResponse, SlackOnboardingResolveData, SlackOnboardingResolveError, SlackStatusData, SlackStatusError, SlackUninstallData, SlackUninstallError, SlackUninstallResponse, TaskArchiveData, TaskArchiveError, TaskArchiveResponse, TaskCreateData, TaskCreateError, TaskCreateResponse, TaskGetData, TaskGetError, TaskListData, TaskListError, TaskUpdateData, TaskUpdateError, TaskUpdateResponse, TelegramChatListData, TelegramChatListError, TelegramChatSetData, TelegramChatSetError, TelegramChatSetResponse, TelegramChatUnsetData, TelegramChatUnsetError, TelegramChatUnsetResponse, TelegramClaimCodeData, TelegramClaimCodeError, TelegramClaimCodeResponse, TelegramLinkCodeData, TelegramLinkCodeError, TelegramLinkCodeResponse, TelegramMeData, TelegramMeError, TelegramUnlinkData, TelegramUnlinkError, TelegramUnlinkResponse, TopologyGetData, TopologyGetError, TopologyShareArchiveData, TopologyShareArchiveError, TopologyShareArchiveResponse, TopologyShareCreateData, TopologyShareCreateError, TopologyShareCreateResponse, TopologyShareListData, TopologyShareListError, VaultGetData, VaultGetError, VaultListData, VaultListError, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
6
6
|
_id: string;
|
|
@@ -1428,6 +1428,34 @@ export declare const inferenceSubscriptionsListOptions: (options?: Options<Infer
|
|
|
1428
1428
|
[dataTagErrorSymbol]: InferenceSubscriptionsListError;
|
|
1429
1429
|
};
|
|
1430
1430
|
};
|
|
1431
|
+
export declare const inferenceSubscriptionsBudgetQueryKey: (options?: Options<InferenceSubscriptionsBudgetData>) => [Pick<Options<InferenceSubscriptionsBudgetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1432
|
+
_id: string;
|
|
1433
|
+
_infinite?: boolean;
|
|
1434
|
+
tags?: ReadonlyArray<string>;
|
|
1435
|
+
}];
|
|
1436
|
+
/**
|
|
1437
|
+
* Estimate pooled subscription capacity
|
|
1438
|
+
*/
|
|
1439
|
+
export declare const inferenceSubscriptionsBudgetOptions: (options?: Options<InferenceSubscriptionsBudgetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").InferenceUsageBudgetEstimate, InferenceSubscriptionsBudgetError, import("../types.gen").InferenceUsageBudgetEstimate, [Pick<Options<InferenceSubscriptionsBudgetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1440
|
+
_id: string;
|
|
1441
|
+
_infinite?: boolean;
|
|
1442
|
+
tags?: ReadonlyArray<string>;
|
|
1443
|
+
}]>, "queryFn"> & {
|
|
1444
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").InferenceUsageBudgetEstimate, [Pick<Options<InferenceSubscriptionsBudgetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1445
|
+
_id: string;
|
|
1446
|
+
_infinite?: boolean;
|
|
1447
|
+
tags?: ReadonlyArray<string>;
|
|
1448
|
+
}], never> | undefined;
|
|
1449
|
+
} & {
|
|
1450
|
+
queryKey: [Pick<Options<InferenceSubscriptionsBudgetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1451
|
+
_id: string;
|
|
1452
|
+
_infinite?: boolean;
|
|
1453
|
+
tags?: ReadonlyArray<string>;
|
|
1454
|
+
}] & {
|
|
1455
|
+
[dataTagSymbol]: import("../types.gen").InferenceUsageBudgetEstimate;
|
|
1456
|
+
[dataTagErrorSymbol]: InferenceSubscriptionsBudgetError;
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1431
1459
|
/**
|
|
1432
1460
|
* Begin connecting an Anthropic subscription over OAuth
|
|
1433
1461
|
*/
|
|
@@ -1395,6 +1395,22 @@ export const inferenceSubscriptionsListOptions = (options) => queryOptions({
|
|
|
1395
1395
|
},
|
|
1396
1396
|
queryKey: inferenceSubscriptionsListQueryKey(options),
|
|
1397
1397
|
});
|
|
1398
|
+
export const inferenceSubscriptionsBudgetQueryKey = (options) => createQueryKey("inferenceSubscriptionsBudget", options);
|
|
1399
|
+
/**
|
|
1400
|
+
* Estimate pooled subscription capacity
|
|
1401
|
+
*/
|
|
1402
|
+
export const inferenceSubscriptionsBudgetOptions = (options) => queryOptions({
|
|
1403
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1404
|
+
const { data } = await RenClient.__registry.get().inference.subscriptions.budget({
|
|
1405
|
+
...options,
|
|
1406
|
+
...queryKey[0],
|
|
1407
|
+
signal,
|
|
1408
|
+
throwOnError: true,
|
|
1409
|
+
});
|
|
1410
|
+
return data;
|
|
1411
|
+
},
|
|
1412
|
+
queryKey: inferenceSubscriptionsBudgetQueryKey(options),
|
|
1413
|
+
});
|
|
1398
1414
|
/**
|
|
1399
1415
|
* Begin connecting an Anthropic subscription over OAuth
|
|
1400
1416
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client";
|
|
2
|
-
import type { ActivationDismissData, ActivationDismissErrors, ActivationDismissResponses, ActivationGetData, ActivationGetErrors, ActivationGetResponses, AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPromoteData, AgentPromoteErrors, AgentPromoteResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, ArtifactArchiveData, ArtifactArchiveErrors, ArtifactArchiveResponses, ArtifactCreateData, ArtifactCreateErrors, ArtifactCreateResponses, ArtifactGetData, ArtifactGetErrors, ArtifactGetResponses, ArtifactListData, ArtifactListErrors, ArtifactListResponses, ArtifactUpdateData, ArtifactUpdateErrors, ArtifactUpdateResponses, BillingCancelData, BillingCancelErrors, BillingCancelResponses, BillingChangePlanData, BillingChangePlanErrors, BillingChangePlanResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingPlansData, BillingPlansErrors, BillingPlansResponses, BillingPortalData, BillingPortalErrors, BillingPortalResponses, BillingSubscribeData, BillingSubscribeErrors, BillingSubscribeResponses, BillingUsageData, BillingUsageErrors, BillingUsageResponses, BlueprintAddData, BlueprintAddErrors, BlueprintAddResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintPushData, BlueprintPushErrors, BlueprintPushResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthConnectData, CredentialOauthConnectErrors, CredentialOauthConnectResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialTransferData, CredentialTransferErrors, CredentialTransferResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, CronTriggerArchiveData, CronTriggerArchiveErrors, CronTriggerArchiveResponses, CronTriggerCreateData, CronTriggerCreateErrors, CronTriggerCreateResponses, CronTriggerGetData, CronTriggerGetErrors, CronTriggerGetResponses, CronTriggerListData, CronTriggerListErrors, CronTriggerListResponses, CronTriggerUpdateData, CronTriggerUpdateErrors, CronTriggerUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EmailListData, EmailListErrors, EmailListResponses, EmailSetData, EmailSetErrors, EmailSetResponses, EmailUnsetData, EmailUnsetErrors, EmailUnsetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentBuildListData, EnvironmentBuildListErrors, EnvironmentBuildListResponses, EnvironmentBuildStartData, EnvironmentBuildStartErrors, EnvironmentBuildStartResponses, 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, FileStoreFilesWriteContentData, FileStoreFilesWriteContentErrors, FileStoreFilesWriteContentResponses, 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, InferenceHarnessesCodexCatalogData, InferenceHarnessesCodexCatalogErrors, InferenceHarnessesCodexCatalogResponses, InferenceKeysCreateData, InferenceKeysCreateErrors, InferenceKeysCreateResponses, InferenceKeysListData, InferenceKeysListErrors, InferenceKeysListResponses, InferenceKeysRevokeData, InferenceKeysRevokeErrors, InferenceKeysRevokeResponses, InferenceSubscriptionsCodexDevicePollData, InferenceSubscriptionsCodexDevicePollErrors, InferenceSubscriptionsCodexDevicePollResponses, InferenceSubscriptionsCodexDeviceStartData, InferenceSubscriptionsCodexDeviceStartErrors, InferenceSubscriptionsCodexDeviceStartResponses, InferenceSubscriptionsConnectCodexData, InferenceSubscriptionsConnectCodexErrors, InferenceSubscriptionsConnectCodexResponses, InferenceSubscriptionsListData, InferenceSubscriptionsListErrors, InferenceSubscriptionsListResponses, InferenceSubscriptionsOauthCompleteData, InferenceSubscriptionsOauthCompleteErrors, InferenceSubscriptionsOauthCompleteResponses, InferenceSubscriptionsOauthStartData, InferenceSubscriptionsOauthStartErrors, InferenceSubscriptionsOauthStartResponses, InferenceSubscriptionsRemoveData, InferenceSubscriptionsRemoveErrors, InferenceSubscriptionsRemoveResponses, InferenceSubscriptionsRenameData, InferenceSubscriptionsRenameErrors, InferenceSubscriptionsRenameResponses, InvitationPreviewData, InvitationPreviewResponses, 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, McpPromoteData, McpPromoteErrors, McpPromoteResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeCompleteOnboardingData, MeCompleteOnboardingErrors, MeCompleteOnboardingResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreFilesWriteContentData, MemoryStoreFilesWriteContentErrors, MemoryStoreFilesWriteContentResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, MeUpdatePersonaData, MeUpdatePersonaErrors, MeUpdatePersonaResponses, ModelListData, ModelListResponses, OauthAppCreateData, OauthAppCreateErrors, OauthAppCreateResponses, OauthAppDeleteData, OauthAppDeleteErrors, OauthAppDeleteResponses, OauthAppListData, OauthAppListErrors, OauthAppListResponses, OauthAppRedirectUriData, OauthAppRedirectUriErrors, OauthAppRedirectUriResponses, OauthAppUpdateData, OauthAppUpdateErrors, OauthAppUpdateResponses, OauthAppUsageData, OauthAppUsageErrors, OauthAppUsageResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, OrganizationLogoUploadData, OrganizationLogoUploadErrors, OrganizationLogoUploadResponses, OrgGetData, OrgGetErrors, OrgGetResponses, OrgUpdateData, OrgUpdateErrors, OrgUpdateResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodAuthRequirementsData, PodAuthRequirementsErrors, PodAuthRequirementsResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodCredentialListData, PodCredentialListErrors, PodCredentialListResponses, PodDatabaseArchiveData, PodDatabaseArchiveErrors, PodDatabaseArchiveResponses, PodDatabaseCreateData, PodDatabaseCreateErrors, PodDatabaseCreateResponses, PodDatabaseGetData, PodDatabaseGetErrors, PodDatabaseGetResponses, PodDatabaseListData, PodDatabaseListErrors, PodDatabaseListResponses, PodDatabaseUpdateData, PodDatabaseUpdateErrors, PodDatabaseUpdateResponses, 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, PodUsageData, PodUsageErrors, PodUsageResponses, 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, ProjectMcpAddData, ProjectMcpAddErrors, ProjectMcpAddResponses, ProjectMcpListData, ProjectMcpListErrors, ProjectMcpListResponses, ProjectMcpRemoveData, ProjectMcpRemoveErrors, ProjectMcpRemoveResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectSkillAddData, ProjectSkillAddErrors, ProjectSkillAddResponses, ProjectSkillListData, ProjectSkillListErrors, ProjectSkillListResponses, ProjectSkillRemoveData, ProjectSkillRemoveErrors, ProjectSkillRemoveResponses, ProjectSkillResolutionData, ProjectSkillResolutionErrors, ProjectSkillResolutionResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, ProjectUsageData, ProjectUsageErrors, ProjectUsageResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryBlueprintListData, RegistryBlueprintListErrors, RegistryBlueprintListResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryPublisherAgentsData, RegistryPublisherAgentsErrors, RegistryPublisherAgentsResponses, RegistryPublisherBlueprintsData, RegistryPublisherBlueprintsErrors, RegistryPublisherBlueprintsResponses, RegistryPublisherGetData, RegistryPublisherGetErrors, RegistryPublisherGetResponses, RegistryPublisherMcpsData, RegistryPublisherMcpsErrors, RegistryPublisherMcpsResponses, RegistryPublisherSkillsData, RegistryPublisherSkillsErrors, RegistryPublisherSkillsResponses, 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, ResourceIconUploadData, ResourceIconUploadErrors, ResourceIconUploadResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionCreateStatusData, SessionCreateStatusErrors, SessionCreateStatusResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionTracesListData, SessionTracesListErrors, SessionTracesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SessionUsageData, SessionUsageErrors, SessionUsageResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPromoteData, SkillPromoteErrors, SkillPromoteResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSourceUpdateData, SkillSourceUpdateErrors, SkillSourceUpdateResponses, 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, SlackOnboardingResolveData, SlackOnboardingResolveErrors, SlackOnboardingResolveResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, SlackUninstallData, SlackUninstallErrors, SlackUninstallResponses, TaskArchiveData, TaskArchiveErrors, TaskArchiveResponses, TaskCreateData, TaskCreateErrors, TaskCreateResponses, TaskGetData, TaskGetErrors, TaskGetResponses, TaskListData, TaskListErrors, TaskListResponses, TaskUpdateData, TaskUpdateErrors, TaskUpdateResponses, 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, VaultGetData, VaultGetErrors, VaultGetResponses, VaultListData, VaultListErrors, VaultListResponses, WebhookTriggerArchiveData, WebhookTriggerArchiveErrors, WebhookTriggerArchiveResponses, WebhookTriggerCreateData, WebhookTriggerCreateErrors, WebhookTriggerCreateResponses, WebhookTriggerGetData, WebhookTriggerGetErrors, WebhookTriggerGetResponses, WebhookTriggerListData, WebhookTriggerListErrors, WebhookTriggerListResponses, WebhookTriggerUpdateData, WebhookTriggerUpdateErrors, WebhookTriggerUpdateResponses } from "./types.gen";
|
|
2
|
+
import type { ActivationDismissData, ActivationDismissErrors, ActivationDismissResponses, ActivationGetData, ActivationGetErrors, ActivationGetResponses, AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPromoteData, AgentPromoteErrors, AgentPromoteResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, ArtifactArchiveData, ArtifactArchiveErrors, ArtifactArchiveResponses, ArtifactCreateData, ArtifactCreateErrors, ArtifactCreateResponses, ArtifactGetData, ArtifactGetErrors, ArtifactGetResponses, ArtifactListData, ArtifactListErrors, ArtifactListResponses, ArtifactUpdateData, ArtifactUpdateErrors, ArtifactUpdateResponses, BillingCancelData, BillingCancelErrors, BillingCancelResponses, BillingChangePlanData, BillingChangePlanErrors, BillingChangePlanResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingPlansData, BillingPlansErrors, BillingPlansResponses, BillingPortalData, BillingPortalErrors, BillingPortalResponses, BillingSubscribeData, BillingSubscribeErrors, BillingSubscribeResponses, BillingUsageData, BillingUsageErrors, BillingUsageResponses, BlueprintAddData, BlueprintAddErrors, BlueprintAddResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintPushData, BlueprintPushErrors, BlueprintPushResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthConnectData, CredentialOauthConnectErrors, CredentialOauthConnectResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialTransferData, CredentialTransferErrors, CredentialTransferResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, CronTriggerArchiveData, CronTriggerArchiveErrors, CronTriggerArchiveResponses, CronTriggerCreateData, CronTriggerCreateErrors, CronTriggerCreateResponses, CronTriggerGetData, CronTriggerGetErrors, CronTriggerGetResponses, CronTriggerListData, CronTriggerListErrors, CronTriggerListResponses, CronTriggerUpdateData, CronTriggerUpdateErrors, CronTriggerUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EmailListData, EmailListErrors, EmailListResponses, EmailSetData, EmailSetErrors, EmailSetResponses, EmailUnsetData, EmailUnsetErrors, EmailUnsetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentBuildListData, EnvironmentBuildListErrors, EnvironmentBuildListResponses, EnvironmentBuildStartData, EnvironmentBuildStartErrors, EnvironmentBuildStartResponses, 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, FileStoreFilesWriteContentData, FileStoreFilesWriteContentErrors, FileStoreFilesWriteContentResponses, 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, InferenceHarnessesCodexCatalogData, InferenceHarnessesCodexCatalogErrors, InferenceHarnessesCodexCatalogResponses, InferenceKeysCreateData, InferenceKeysCreateErrors, InferenceKeysCreateResponses, InferenceKeysListData, InferenceKeysListErrors, InferenceKeysListResponses, InferenceKeysRevokeData, InferenceKeysRevokeErrors, InferenceKeysRevokeResponses, InferenceSubscriptionsBudgetData, InferenceSubscriptionsBudgetErrors, InferenceSubscriptionsBudgetResponses, InferenceSubscriptionsCodexDevicePollData, InferenceSubscriptionsCodexDevicePollErrors, InferenceSubscriptionsCodexDevicePollResponses, InferenceSubscriptionsCodexDeviceStartData, InferenceSubscriptionsCodexDeviceStartErrors, InferenceSubscriptionsCodexDeviceStartResponses, InferenceSubscriptionsConnectCodexData, InferenceSubscriptionsConnectCodexErrors, InferenceSubscriptionsConnectCodexResponses, InferenceSubscriptionsListData, InferenceSubscriptionsListErrors, InferenceSubscriptionsListResponses, InferenceSubscriptionsOauthCompleteData, InferenceSubscriptionsOauthCompleteErrors, InferenceSubscriptionsOauthCompleteResponses, InferenceSubscriptionsOauthStartData, InferenceSubscriptionsOauthStartErrors, InferenceSubscriptionsOauthStartResponses, InferenceSubscriptionsRemoveData, InferenceSubscriptionsRemoveErrors, InferenceSubscriptionsRemoveResponses, InferenceSubscriptionsRenameData, InferenceSubscriptionsRenameErrors, InferenceSubscriptionsRenameResponses, InvitationPreviewData, InvitationPreviewResponses, 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, McpPromoteData, McpPromoteErrors, McpPromoteResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeCompleteOnboardingData, MeCompleteOnboardingErrors, MeCompleteOnboardingResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreFilesWriteContentData, MemoryStoreFilesWriteContentErrors, MemoryStoreFilesWriteContentResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, MeUpdatePersonaData, MeUpdatePersonaErrors, MeUpdatePersonaResponses, ModelListData, ModelListResponses, OauthAppCreateData, OauthAppCreateErrors, OauthAppCreateResponses, OauthAppDeleteData, OauthAppDeleteErrors, OauthAppDeleteResponses, OauthAppListData, OauthAppListErrors, OauthAppListResponses, OauthAppRedirectUriData, OauthAppRedirectUriErrors, OauthAppRedirectUriResponses, OauthAppUpdateData, OauthAppUpdateErrors, OauthAppUpdateResponses, OauthAppUsageData, OauthAppUsageErrors, OauthAppUsageResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, OrganizationLogoUploadData, OrganizationLogoUploadErrors, OrganizationLogoUploadResponses, OrgGetData, OrgGetErrors, OrgGetResponses, OrgUpdateData, OrgUpdateErrors, OrgUpdateResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodAuthRequirementsData, PodAuthRequirementsErrors, PodAuthRequirementsResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodCredentialListData, PodCredentialListErrors, PodCredentialListResponses, PodDatabaseArchiveData, PodDatabaseArchiveErrors, PodDatabaseArchiveResponses, PodDatabaseCreateData, PodDatabaseCreateErrors, PodDatabaseCreateResponses, PodDatabaseGetData, PodDatabaseGetErrors, PodDatabaseGetResponses, PodDatabaseListData, PodDatabaseListErrors, PodDatabaseListResponses, PodDatabaseUpdateData, PodDatabaseUpdateErrors, PodDatabaseUpdateResponses, 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, PodUsageData, PodUsageErrors, PodUsageResponses, 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, ProjectMcpAddData, ProjectMcpAddErrors, ProjectMcpAddResponses, ProjectMcpListData, ProjectMcpListErrors, ProjectMcpListResponses, ProjectMcpRemoveData, ProjectMcpRemoveErrors, ProjectMcpRemoveResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectSkillAddData, ProjectSkillAddErrors, ProjectSkillAddResponses, ProjectSkillListData, ProjectSkillListErrors, ProjectSkillListResponses, ProjectSkillRemoveData, ProjectSkillRemoveErrors, ProjectSkillRemoveResponses, ProjectSkillResolutionData, ProjectSkillResolutionErrors, ProjectSkillResolutionResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, ProjectUsageData, ProjectUsageErrors, ProjectUsageResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryBlueprintListData, RegistryBlueprintListErrors, RegistryBlueprintListResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryPublisherAgentsData, RegistryPublisherAgentsErrors, RegistryPublisherAgentsResponses, RegistryPublisherBlueprintsData, RegistryPublisherBlueprintsErrors, RegistryPublisherBlueprintsResponses, RegistryPublisherGetData, RegistryPublisherGetErrors, RegistryPublisherGetResponses, RegistryPublisherMcpsData, RegistryPublisherMcpsErrors, RegistryPublisherMcpsResponses, RegistryPublisherSkillsData, RegistryPublisherSkillsErrors, RegistryPublisherSkillsResponses, 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, ResourceIconUploadData, ResourceIconUploadErrors, ResourceIconUploadResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionCreateStatusData, SessionCreateStatusErrors, SessionCreateStatusResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionTracesListData, SessionTracesListErrors, SessionTracesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SessionUsageData, SessionUsageErrors, SessionUsageResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPromoteData, SkillPromoteErrors, SkillPromoteResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSourceUpdateData, SkillSourceUpdateErrors, SkillSourceUpdateResponses, 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, SlackOnboardingResolveData, SlackOnboardingResolveErrors, SlackOnboardingResolveResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, SlackUninstallData, SlackUninstallErrors, SlackUninstallResponses, TaskArchiveData, TaskArchiveErrors, TaskArchiveResponses, TaskCreateData, TaskCreateErrors, TaskCreateResponses, TaskGetData, TaskGetErrors, TaskGetResponses, TaskListData, TaskListErrors, TaskListResponses, TaskUpdateData, TaskUpdateErrors, TaskUpdateResponses, 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, VaultGetData, VaultGetErrors, VaultGetResponses, VaultListData, VaultListErrors, VaultListResponses, 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
|
|
@@ -388,6 +388,10 @@ export declare class Subscriptions extends HeyApiClient {
|
|
|
388
388
|
* List organization subscription seats
|
|
389
389
|
*/
|
|
390
390
|
list<ThrowOnError extends boolean = false>(options?: Options<InferenceSubscriptionsListData, ThrowOnError>): import("./client").RequestResult<InferenceSubscriptionsListResponses, InferenceSubscriptionsListErrors, ThrowOnError, "fields">;
|
|
391
|
+
/**
|
|
392
|
+
* Estimate pooled subscription capacity
|
|
393
|
+
*/
|
|
394
|
+
budget<ThrowOnError extends boolean = false>(options?: Options<InferenceSubscriptionsBudgetData, ThrowOnError>): import("./client").RequestResult<InferenceSubscriptionsBudgetResponses, InferenceSubscriptionsBudgetErrors, ThrowOnError, "fields">;
|
|
391
395
|
/**
|
|
392
396
|
* Connect a Codex subscription with a workspace access token
|
|
393
397
|
*/
|
|
@@ -829,6 +829,12 @@ export class Subscriptions extends HeyApiClient {
|
|
|
829
829
|
list(options) {
|
|
830
830
|
return (options?.client ?? this.client).get({ url: "/api/inference/subscriptions", ...options });
|
|
831
831
|
}
|
|
832
|
+
/**
|
|
833
|
+
* Estimate pooled subscription capacity
|
|
834
|
+
*/
|
|
835
|
+
budget(options) {
|
|
836
|
+
return (options?.client ?? this.client).get({ url: "/api/inference/subscriptions/budget", ...options });
|
|
837
|
+
}
|
|
832
838
|
/**
|
|
833
839
|
* Connect a Codex subscription with a workspace access token
|
|
834
840
|
*/
|
|
@@ -1990,6 +1990,7 @@ export type InferenceProviderUsage = {
|
|
|
1990
1990
|
resetsAt: string | null;
|
|
1991
1991
|
models?: Array<string>;
|
|
1992
1992
|
family?: "opus" | "sonnet" | "fable" | "haiku" | null;
|
|
1993
|
+
label?: string | null;
|
|
1993
1994
|
source?: "oauth_endpoint" | "response_header";
|
|
1994
1995
|
observedAt?: string | null;
|
|
1995
1996
|
}>;
|
|
@@ -2003,6 +2004,7 @@ export type InferenceProviderUsage = {
|
|
|
2003
2004
|
creditsAvailable?: boolean | null;
|
|
2004
2005
|
creditsUnlimited?: boolean | null;
|
|
2005
2006
|
safetyBufferingFasterModel?: string | null;
|
|
2007
|
+
polledAt?: string | null;
|
|
2006
2008
|
observedAt: string;
|
|
2007
2009
|
};
|
|
2008
2010
|
export type InferenceSeatHealth = "connected" | "exhausted" | "transient" | "needs_reauth" | "blocked" | "refresh_uncertain" | "disabled";
|
|
@@ -2051,6 +2053,73 @@ export type InferenceOauthStart = {
|
|
|
2051
2053
|
authorizeUrl: string;
|
|
2052
2054
|
expiresAt: string;
|
|
2053
2055
|
};
|
|
2056
|
+
export type InferenceUsageBudgetEstimate = {
|
|
2057
|
+
unit: "normalized_provider_budget";
|
|
2058
|
+
granularityMinutes: number;
|
|
2059
|
+
reliableUntil: string;
|
|
2060
|
+
points: Array<{
|
|
2061
|
+
capacity: number;
|
|
2062
|
+
knownCapacity: number;
|
|
2063
|
+
remaining: number;
|
|
2064
|
+
remainingRatio: number | null;
|
|
2065
|
+
unknownPlans: number;
|
|
2066
|
+
at: string;
|
|
2067
|
+
byProvider: {
|
|
2068
|
+
anthropic: {
|
|
2069
|
+
capacity: number;
|
|
2070
|
+
knownCapacity: number;
|
|
2071
|
+
remaining: number;
|
|
2072
|
+
remainingRatio: number | null;
|
|
2073
|
+
unknownPlans: number;
|
|
2074
|
+
byClass: {
|
|
2075
|
+
"5h": {
|
|
2076
|
+
capacity: number;
|
|
2077
|
+
knownCapacity: number;
|
|
2078
|
+
remaining: number;
|
|
2079
|
+
remainingRatio: number | null;
|
|
2080
|
+
unknownPlans: number;
|
|
2081
|
+
unlimitedCapacity: number;
|
|
2082
|
+
};
|
|
2083
|
+
"7d": {
|
|
2084
|
+
capacity: number;
|
|
2085
|
+
knownCapacity: number;
|
|
2086
|
+
remaining: number;
|
|
2087
|
+
remainingRatio: number | null;
|
|
2088
|
+
unknownPlans: number;
|
|
2089
|
+
unlimitedCapacity: number;
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
elasticPlans: number;
|
|
2093
|
+
};
|
|
2094
|
+
openai: {
|
|
2095
|
+
capacity: number;
|
|
2096
|
+
knownCapacity: number;
|
|
2097
|
+
remaining: number;
|
|
2098
|
+
remainingRatio: number | null;
|
|
2099
|
+
unknownPlans: number;
|
|
2100
|
+
byClass: {
|
|
2101
|
+
"5h": {
|
|
2102
|
+
capacity: number;
|
|
2103
|
+
knownCapacity: number;
|
|
2104
|
+
remaining: number;
|
|
2105
|
+
remainingRatio: number | null;
|
|
2106
|
+
unknownPlans: number;
|
|
2107
|
+
unlimitedCapacity: number;
|
|
2108
|
+
};
|
|
2109
|
+
"7d": {
|
|
2110
|
+
capacity: number;
|
|
2111
|
+
knownCapacity: number;
|
|
2112
|
+
remaining: number;
|
|
2113
|
+
remainingRatio: number | null;
|
|
2114
|
+
unknownPlans: number;
|
|
2115
|
+
unlimitedCapacity: number;
|
|
2116
|
+
};
|
|
2117
|
+
};
|
|
2118
|
+
elasticPlans: number;
|
|
2119
|
+
};
|
|
2120
|
+
};
|
|
2121
|
+
}>;
|
|
2122
|
+
};
|
|
2054
2123
|
export type GoogleWorkspaceOAuthStartResult = {
|
|
2055
2124
|
url: string;
|
|
2056
2125
|
};
|
|
@@ -6163,6 +6232,44 @@ export type InferenceSubscriptionsListResponses = {
|
|
|
6163
6232
|
200: Array<InferenceSubscriptionSeat>;
|
|
6164
6233
|
};
|
|
6165
6234
|
export type InferenceSubscriptionsListResponse = InferenceSubscriptionsListResponses[keyof InferenceSubscriptionsListResponses];
|
|
6235
|
+
export type InferenceSubscriptionsBudgetData = {
|
|
6236
|
+
body?: never;
|
|
6237
|
+
path?: never;
|
|
6238
|
+
query?: {
|
|
6239
|
+
horizon?: "5h" | "7d";
|
|
6240
|
+
};
|
|
6241
|
+
url: "/api/inference/subscriptions/budget";
|
|
6242
|
+
};
|
|
6243
|
+
export type InferenceSubscriptionsBudgetErrors = {
|
|
6244
|
+
/**
|
|
6245
|
+
* Unauthorized
|
|
6246
|
+
*/
|
|
6247
|
+
401: {
|
|
6248
|
+
error: string;
|
|
6249
|
+
/**
|
|
6250
|
+
* Stable discriminator for errors a client branches on.
|
|
6251
|
+
*/
|
|
6252
|
+
code?: "mcp_duplicate_url" | "insufficient_credits" | "inference_key_revoke_pending" | "oauth_session_expired" | "oauth_session_busy" | "oauth_exchange_unreachable" | "oauth_session_failed" | "codex_device_auth_disabled";
|
|
6253
|
+
};
|
|
6254
|
+
/**
|
|
6255
|
+
* Forbidden
|
|
6256
|
+
*/
|
|
6257
|
+
403: {
|
|
6258
|
+
error: string;
|
|
6259
|
+
/**
|
|
6260
|
+
* Stable discriminator for errors a client branches on.
|
|
6261
|
+
*/
|
|
6262
|
+
code?: "mcp_duplicate_url" | "insufficient_credits" | "inference_key_revoke_pending" | "oauth_session_expired" | "oauth_session_busy" | "oauth_exchange_unreachable" | "oauth_session_failed" | "codex_device_auth_disabled";
|
|
6263
|
+
};
|
|
6264
|
+
};
|
|
6265
|
+
export type InferenceSubscriptionsBudgetError = InferenceSubscriptionsBudgetErrors[keyof InferenceSubscriptionsBudgetErrors];
|
|
6266
|
+
export type InferenceSubscriptionsBudgetResponses = {
|
|
6267
|
+
/**
|
|
6268
|
+
* Remaining capacity through the requested horizon or last known reset
|
|
6269
|
+
*/
|
|
6270
|
+
200: InferenceUsageBudgetEstimate;
|
|
6271
|
+
};
|
|
6272
|
+
export type InferenceSubscriptionsBudgetResponse = InferenceSubscriptionsBudgetResponses[keyof InferenceSubscriptionsBudgetResponses];
|
|
6166
6273
|
export type InferenceSubscriptionsOauthStartData = {
|
|
6167
6274
|
body?: InferenceOauthStartInput;
|
|
6168
6275
|
path?: never;
|
|
@@ -13970,7 +14077,7 @@ export type TaskCreateData = {
|
|
|
13970
14077
|
*/
|
|
13971
14078
|
priority?: "low" | "medium" | "high" | null;
|
|
13972
14079
|
/**
|
|
13973
|
-
* Free-form categories
|
|
14080
|
+
* Free-form categories plus native `ren-improve` and `ren-fix` categories. Other `ren-*` labels are reserved. Trimmed, lowercased and deduped on write; at most 16 labels, each 1-64 characters.
|
|
13974
14081
|
*/
|
|
13975
14082
|
labels?: Array<string>;
|
|
13976
14083
|
/**
|
|
@@ -14176,7 +14283,7 @@ export type TaskUpdateData = {
|
|
|
14176
14283
|
*/
|
|
14177
14284
|
priority?: "low" | "medium" | "high" | null;
|
|
14178
14285
|
/**
|
|
14179
|
-
* Free-form categories
|
|
14286
|
+
* Free-form categories plus native `ren-improve` and `ren-fix` categories. Other `ren-*` labels are reserved. Trimmed, lowercased and deduped on write; at most 16 labels, each 1-64 characters.
|
|
14180
14287
|
*/
|
|
14181
14288
|
labels?: Array<string>;
|
|
14182
14289
|
/**
|
|
@@ -4199,6 +4199,7 @@ export declare const zInferenceProviderUsage: z.ZodObject<{
|
|
|
4199
4199
|
fable: "fable";
|
|
4200
4200
|
haiku: "haiku";
|
|
4201
4201
|
}>>>>;
|
|
4202
|
+
label: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4202
4203
|
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4203
4204
|
oauth_endpoint: "oauth_endpoint";
|
|
4204
4205
|
response_header: "response_header";
|
|
@@ -4215,6 +4216,7 @@ export declare const zInferenceProviderUsage: z.ZodObject<{
|
|
|
4215
4216
|
creditsAvailable: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
4216
4217
|
creditsUnlimited: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
4217
4218
|
safetyBufferingFasterModel: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4219
|
+
polledAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4218
4220
|
observedAt: z.ZodString;
|
|
4219
4221
|
}, z.core.$strip>;
|
|
4220
4222
|
export declare const zInferenceSeatHealth: z.ZodEnum<{
|
|
@@ -4277,6 +4279,7 @@ export declare const zInferenceSubscriptionSeat: z.ZodObject<{
|
|
|
4277
4279
|
fable: "fable";
|
|
4278
4280
|
haiku: "haiku";
|
|
4279
4281
|
}>>>>;
|
|
4282
|
+
label: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4280
4283
|
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4281
4284
|
oauth_endpoint: "oauth_endpoint";
|
|
4282
4285
|
response_header: "response_header";
|
|
@@ -4293,6 +4296,7 @@ export declare const zInferenceSubscriptionSeat: z.ZodObject<{
|
|
|
4293
4296
|
creditsAvailable: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
4294
4297
|
creditsUnlimited: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
4295
4298
|
safetyBufferingFasterModel: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4299
|
+
polledAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4296
4300
|
observedAt: z.ZodString;
|
|
4297
4301
|
}, z.core.$strip>>;
|
|
4298
4302
|
lastSelectedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4352,6 +4356,7 @@ export declare const zInferenceCodexDeviceStatus: z.ZodObject<{
|
|
|
4352
4356
|
fable: "fable";
|
|
4353
4357
|
haiku: "haiku";
|
|
4354
4358
|
}>>>>;
|
|
4359
|
+
label: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4355
4360
|
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4356
4361
|
oauth_endpoint: "oauth_endpoint";
|
|
4357
4362
|
response_header: "response_header";
|
|
@@ -4368,6 +4373,7 @@ export declare const zInferenceCodexDeviceStatus: z.ZodObject<{
|
|
|
4368
4373
|
creditsAvailable: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
4369
4374
|
creditsUnlimited: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
4370
4375
|
safetyBufferingFasterModel: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4376
|
+
polledAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4371
4377
|
observedAt: z.ZodString;
|
|
4372
4378
|
}, z.core.$strip>>;
|
|
4373
4379
|
lastSelectedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4397,6 +4403,73 @@ export declare const zInferenceOauthStart: z.ZodObject<{
|
|
|
4397
4403
|
authorizeUrl: z.ZodURL;
|
|
4398
4404
|
expiresAt: z.ZodString;
|
|
4399
4405
|
}, z.core.$strip>;
|
|
4406
|
+
export declare const zInferenceUsageBudgetEstimate: z.ZodObject<{
|
|
4407
|
+
unit: z.ZodLiteral<"normalized_provider_budget">;
|
|
4408
|
+
granularityMinutes: z.ZodInt;
|
|
4409
|
+
reliableUntil: z.ZodString;
|
|
4410
|
+
points: z.ZodArray<z.ZodObject<{
|
|
4411
|
+
capacity: z.ZodNumber;
|
|
4412
|
+
knownCapacity: z.ZodNumber;
|
|
4413
|
+
remaining: z.ZodNumber;
|
|
4414
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
4415
|
+
unknownPlans: z.ZodInt;
|
|
4416
|
+
at: z.ZodString;
|
|
4417
|
+
byProvider: z.ZodObject<{
|
|
4418
|
+
anthropic: z.ZodObject<{
|
|
4419
|
+
capacity: z.ZodNumber;
|
|
4420
|
+
knownCapacity: z.ZodNumber;
|
|
4421
|
+
remaining: z.ZodNumber;
|
|
4422
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
4423
|
+
unknownPlans: z.ZodInt;
|
|
4424
|
+
byClass: z.ZodObject<{
|
|
4425
|
+
"5h": z.ZodObject<{
|
|
4426
|
+
capacity: z.ZodNumber;
|
|
4427
|
+
knownCapacity: z.ZodNumber;
|
|
4428
|
+
remaining: z.ZodNumber;
|
|
4429
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
4430
|
+
unknownPlans: z.ZodInt;
|
|
4431
|
+
unlimitedCapacity: z.ZodNumber;
|
|
4432
|
+
}, z.core.$strip>;
|
|
4433
|
+
"7d": z.ZodObject<{
|
|
4434
|
+
capacity: z.ZodNumber;
|
|
4435
|
+
knownCapacity: z.ZodNumber;
|
|
4436
|
+
remaining: z.ZodNumber;
|
|
4437
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
4438
|
+
unknownPlans: z.ZodInt;
|
|
4439
|
+
unlimitedCapacity: z.ZodNumber;
|
|
4440
|
+
}, z.core.$strip>;
|
|
4441
|
+
}, z.core.$strip>;
|
|
4442
|
+
elasticPlans: z.ZodInt;
|
|
4443
|
+
}, z.core.$strip>;
|
|
4444
|
+
openai: z.ZodObject<{
|
|
4445
|
+
capacity: z.ZodNumber;
|
|
4446
|
+
knownCapacity: z.ZodNumber;
|
|
4447
|
+
remaining: z.ZodNumber;
|
|
4448
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
4449
|
+
unknownPlans: z.ZodInt;
|
|
4450
|
+
byClass: z.ZodObject<{
|
|
4451
|
+
"5h": z.ZodObject<{
|
|
4452
|
+
capacity: z.ZodNumber;
|
|
4453
|
+
knownCapacity: z.ZodNumber;
|
|
4454
|
+
remaining: z.ZodNumber;
|
|
4455
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
4456
|
+
unknownPlans: z.ZodInt;
|
|
4457
|
+
unlimitedCapacity: z.ZodNumber;
|
|
4458
|
+
}, z.core.$strip>;
|
|
4459
|
+
"7d": z.ZodObject<{
|
|
4460
|
+
capacity: z.ZodNumber;
|
|
4461
|
+
knownCapacity: z.ZodNumber;
|
|
4462
|
+
remaining: z.ZodNumber;
|
|
4463
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
4464
|
+
unknownPlans: z.ZodInt;
|
|
4465
|
+
unlimitedCapacity: z.ZodNumber;
|
|
4466
|
+
}, z.core.$strip>;
|
|
4467
|
+
}, z.core.$strip>;
|
|
4468
|
+
elasticPlans: z.ZodInt;
|
|
4469
|
+
}, z.core.$strip>;
|
|
4470
|
+
}, z.core.$strip>;
|
|
4471
|
+
}, z.core.$strip>>;
|
|
4472
|
+
}, z.core.$strip>;
|
|
4400
4473
|
export declare const zGoogleWorkspaceOAuthStartResult: z.ZodObject<{
|
|
4401
4474
|
url: z.ZodURL;
|
|
4402
4475
|
}, z.core.$strip>;
|
|
@@ -12226,6 +12299,7 @@ export declare const zInferenceSubscriptionsListResponse: z.ZodArray<z.ZodObject
|
|
|
12226
12299
|
fable: "fable";
|
|
12227
12300
|
haiku: "haiku";
|
|
12228
12301
|
}>>>>;
|
|
12302
|
+
label: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12229
12303
|
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12230
12304
|
oauth_endpoint: "oauth_endpoint";
|
|
12231
12305
|
response_header: "response_header";
|
|
@@ -12242,11 +12316,88 @@ export declare const zInferenceSubscriptionsListResponse: z.ZodArray<z.ZodObject
|
|
|
12242
12316
|
creditsAvailable: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12243
12317
|
creditsUnlimited: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12244
12318
|
safetyBufferingFasterModel: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12319
|
+
polledAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12245
12320
|
observedAt: z.ZodString;
|
|
12246
12321
|
}, z.core.$strip>>;
|
|
12247
12322
|
lastSelectedAt: z.ZodNullable<z.ZodString>;
|
|
12248
12323
|
connectedAt: z.ZodString;
|
|
12249
12324
|
}, z.core.$strip>>;
|
|
12325
|
+
export declare const zInferenceSubscriptionsBudgetQuery: z.ZodObject<{
|
|
12326
|
+
horizon: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12327
|
+
"7d": "7d";
|
|
12328
|
+
"5h": "5h";
|
|
12329
|
+
}>>>;
|
|
12330
|
+
}, z.core.$strip>;
|
|
12331
|
+
/**
|
|
12332
|
+
* Remaining capacity through the requested horizon or last known reset
|
|
12333
|
+
*/
|
|
12334
|
+
export declare const zInferenceSubscriptionsBudgetResponse: z.ZodObject<{
|
|
12335
|
+
unit: z.ZodLiteral<"normalized_provider_budget">;
|
|
12336
|
+
granularityMinutes: z.ZodInt;
|
|
12337
|
+
reliableUntil: z.ZodString;
|
|
12338
|
+
points: z.ZodArray<z.ZodObject<{
|
|
12339
|
+
capacity: z.ZodNumber;
|
|
12340
|
+
knownCapacity: z.ZodNumber;
|
|
12341
|
+
remaining: z.ZodNumber;
|
|
12342
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
12343
|
+
unknownPlans: z.ZodInt;
|
|
12344
|
+
at: z.ZodString;
|
|
12345
|
+
byProvider: z.ZodObject<{
|
|
12346
|
+
anthropic: z.ZodObject<{
|
|
12347
|
+
capacity: z.ZodNumber;
|
|
12348
|
+
knownCapacity: z.ZodNumber;
|
|
12349
|
+
remaining: z.ZodNumber;
|
|
12350
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
12351
|
+
unknownPlans: z.ZodInt;
|
|
12352
|
+
byClass: z.ZodObject<{
|
|
12353
|
+
"5h": z.ZodObject<{
|
|
12354
|
+
capacity: z.ZodNumber;
|
|
12355
|
+
knownCapacity: z.ZodNumber;
|
|
12356
|
+
remaining: z.ZodNumber;
|
|
12357
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
12358
|
+
unknownPlans: z.ZodInt;
|
|
12359
|
+
unlimitedCapacity: z.ZodNumber;
|
|
12360
|
+
}, z.core.$strip>;
|
|
12361
|
+
"7d": z.ZodObject<{
|
|
12362
|
+
capacity: z.ZodNumber;
|
|
12363
|
+
knownCapacity: z.ZodNumber;
|
|
12364
|
+
remaining: z.ZodNumber;
|
|
12365
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
12366
|
+
unknownPlans: z.ZodInt;
|
|
12367
|
+
unlimitedCapacity: z.ZodNumber;
|
|
12368
|
+
}, z.core.$strip>;
|
|
12369
|
+
}, z.core.$strip>;
|
|
12370
|
+
elasticPlans: z.ZodInt;
|
|
12371
|
+
}, z.core.$strip>;
|
|
12372
|
+
openai: z.ZodObject<{
|
|
12373
|
+
capacity: z.ZodNumber;
|
|
12374
|
+
knownCapacity: z.ZodNumber;
|
|
12375
|
+
remaining: z.ZodNumber;
|
|
12376
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
12377
|
+
unknownPlans: z.ZodInt;
|
|
12378
|
+
byClass: z.ZodObject<{
|
|
12379
|
+
"5h": z.ZodObject<{
|
|
12380
|
+
capacity: z.ZodNumber;
|
|
12381
|
+
knownCapacity: z.ZodNumber;
|
|
12382
|
+
remaining: z.ZodNumber;
|
|
12383
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
12384
|
+
unknownPlans: z.ZodInt;
|
|
12385
|
+
unlimitedCapacity: z.ZodNumber;
|
|
12386
|
+
}, z.core.$strip>;
|
|
12387
|
+
"7d": z.ZodObject<{
|
|
12388
|
+
capacity: z.ZodNumber;
|
|
12389
|
+
knownCapacity: z.ZodNumber;
|
|
12390
|
+
remaining: z.ZodNumber;
|
|
12391
|
+
remainingRatio: z.ZodNullable<z.ZodNumber>;
|
|
12392
|
+
unknownPlans: z.ZodInt;
|
|
12393
|
+
unlimitedCapacity: z.ZodNumber;
|
|
12394
|
+
}, z.core.$strip>;
|
|
12395
|
+
}, z.core.$strip>;
|
|
12396
|
+
elasticPlans: z.ZodInt;
|
|
12397
|
+
}, z.core.$strip>;
|
|
12398
|
+
}, z.core.$strip>;
|
|
12399
|
+
}, z.core.$strip>>;
|
|
12400
|
+
}, z.core.$strip>;
|
|
12250
12401
|
export declare const zInferenceSubscriptionsOauthStartBody: z.ZodObject<{
|
|
12251
12402
|
label: z.ZodOptional<z.ZodString>;
|
|
12252
12403
|
}, z.core.$strip>;
|
|
@@ -12312,6 +12463,7 @@ export declare const zInferenceSubscriptionsOauthCompleteResponse: z.ZodObject<{
|
|
|
12312
12463
|
fable: "fable";
|
|
12313
12464
|
haiku: "haiku";
|
|
12314
12465
|
}>>>>;
|
|
12466
|
+
label: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12315
12467
|
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12316
12468
|
oauth_endpoint: "oauth_endpoint";
|
|
12317
12469
|
response_header: "response_header";
|
|
@@ -12328,6 +12480,7 @@ export declare const zInferenceSubscriptionsOauthCompleteResponse: z.ZodObject<{
|
|
|
12328
12480
|
creditsAvailable: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12329
12481
|
creditsUnlimited: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12330
12482
|
safetyBufferingFasterModel: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12483
|
+
polledAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12331
12484
|
observedAt: z.ZodString;
|
|
12332
12485
|
}, z.core.$strip>>;
|
|
12333
12486
|
lastSelectedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -12406,6 +12559,7 @@ export declare const zInferenceSubscriptionsCodexDevicePollResponse: z.ZodObject
|
|
|
12406
12559
|
fable: "fable";
|
|
12407
12560
|
haiku: "haiku";
|
|
12408
12561
|
}>>>>;
|
|
12562
|
+
label: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12409
12563
|
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12410
12564
|
oauth_endpoint: "oauth_endpoint";
|
|
12411
12565
|
response_header: "response_header";
|
|
@@ -12422,6 +12576,7 @@ export declare const zInferenceSubscriptionsCodexDevicePollResponse: z.ZodObject
|
|
|
12422
12576
|
creditsAvailable: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12423
12577
|
creditsUnlimited: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12424
12578
|
safetyBufferingFasterModel: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12579
|
+
polledAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12425
12580
|
observedAt: z.ZodString;
|
|
12426
12581
|
}, z.core.$strip>>;
|
|
12427
12582
|
lastSelectedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -12496,6 +12651,7 @@ export declare const zInferenceSubscriptionsConnectCodexResponse: z.ZodObject<{
|
|
|
12496
12651
|
fable: "fable";
|
|
12497
12652
|
haiku: "haiku";
|
|
12498
12653
|
}>>>>;
|
|
12654
|
+
label: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12499
12655
|
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12500
12656
|
oauth_endpoint: "oauth_endpoint";
|
|
12501
12657
|
response_header: "response_header";
|
|
@@ -12512,6 +12668,7 @@ export declare const zInferenceSubscriptionsConnectCodexResponse: z.ZodObject<{
|
|
|
12512
12668
|
creditsAvailable: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12513
12669
|
creditsUnlimited: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12514
12670
|
safetyBufferingFasterModel: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12671
|
+
polledAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12515
12672
|
observedAt: z.ZodString;
|
|
12516
12673
|
}, z.core.$strip>>;
|
|
12517
12674
|
lastSelectedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -12580,6 +12737,7 @@ export declare const zInferenceSubscriptionsRenameResponse: z.ZodObject<{
|
|
|
12580
12737
|
fable: "fable";
|
|
12581
12738
|
haiku: "haiku";
|
|
12582
12739
|
}>>>>;
|
|
12740
|
+
label: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12583
12741
|
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12584
12742
|
oauth_endpoint: "oauth_endpoint";
|
|
12585
12743
|
response_header: "response_header";
|
|
@@ -12596,6 +12754,7 @@ export declare const zInferenceSubscriptionsRenameResponse: z.ZodObject<{
|
|
|
12596
12754
|
creditsAvailable: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12597
12755
|
creditsUnlimited: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
12598
12756
|
safetyBufferingFasterModel: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12757
|
+
polledAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12599
12758
|
observedAt: z.ZodString;
|
|
12600
12759
|
}, z.core.$strip>>;
|
|
12601
12760
|
lastSelectedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2189,6 +2189,7 @@ export const zInferenceProviderUsage = z.object({
|
|
|
2189
2189
|
resetsAt: z.string().nullable(),
|
|
2190
2190
|
models: z.array(z.string()).optional().default([]),
|
|
2191
2191
|
family: z.enum(["opus", "sonnet", "fable", "haiku"]).nullish().default(null),
|
|
2192
|
+
label: z.string().nullish().default(null),
|
|
2192
2193
|
source: z.enum(["oauth_endpoint", "response_header"]).optional().default("response_header"),
|
|
2193
2194
|
observedAt: z.string().nullish().default(null),
|
|
2194
2195
|
})),
|
|
@@ -2202,6 +2203,7 @@ export const zInferenceProviderUsage = z.object({
|
|
|
2202
2203
|
creditsAvailable: z.boolean().nullish().default(null),
|
|
2203
2204
|
creditsUnlimited: z.boolean().nullish().default(null),
|
|
2204
2205
|
safetyBufferingFasterModel: z.string().nullish().default(null),
|
|
2206
|
+
polledAt: z.string().nullish().default(null),
|
|
2205
2207
|
observedAt: z.string(),
|
|
2206
2208
|
});
|
|
2207
2209
|
export const zInferenceSeatHealth = z.enum([
|
|
@@ -2265,6 +2267,73 @@ export const zInferenceOauthStart = z.object({
|
|
|
2265
2267
|
authorizeUrl: z.url(),
|
|
2266
2268
|
expiresAt: z.string(),
|
|
2267
2269
|
});
|
|
2270
|
+
export const zInferenceUsageBudgetEstimate = z.object({
|
|
2271
|
+
unit: z.literal("normalized_provider_budget"),
|
|
2272
|
+
granularityMinutes: z.int().gt(0).lte(9007199254740991),
|
|
2273
|
+
reliableUntil: z.string(),
|
|
2274
|
+
points: z.array(z.object({
|
|
2275
|
+
capacity: z.number().gte(0),
|
|
2276
|
+
knownCapacity: z.number().gte(0),
|
|
2277
|
+
remaining: z.number().gte(0),
|
|
2278
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2279
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2280
|
+
at: z.string(),
|
|
2281
|
+
byProvider: z.object({
|
|
2282
|
+
anthropic: z.object({
|
|
2283
|
+
capacity: z.number().gte(0),
|
|
2284
|
+
knownCapacity: z.number().gte(0),
|
|
2285
|
+
remaining: z.number().gte(0),
|
|
2286
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2287
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2288
|
+
byClass: z.object({
|
|
2289
|
+
"5h": z.object({
|
|
2290
|
+
capacity: z.number().gte(0),
|
|
2291
|
+
knownCapacity: z.number().gte(0),
|
|
2292
|
+
remaining: z.number().gte(0),
|
|
2293
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2294
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2295
|
+
unlimitedCapacity: z.number().gte(0),
|
|
2296
|
+
}),
|
|
2297
|
+
"7d": z.object({
|
|
2298
|
+
capacity: z.number().gte(0),
|
|
2299
|
+
knownCapacity: z.number().gte(0),
|
|
2300
|
+
remaining: z.number().gte(0),
|
|
2301
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2302
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2303
|
+
unlimitedCapacity: z.number().gte(0),
|
|
2304
|
+
}),
|
|
2305
|
+
}),
|
|
2306
|
+
elasticPlans: z.int().gte(0).lte(9007199254740991),
|
|
2307
|
+
}),
|
|
2308
|
+
openai: z.object({
|
|
2309
|
+
capacity: z.number().gte(0),
|
|
2310
|
+
knownCapacity: z.number().gte(0),
|
|
2311
|
+
remaining: z.number().gte(0),
|
|
2312
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2313
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2314
|
+
byClass: z.object({
|
|
2315
|
+
"5h": z.object({
|
|
2316
|
+
capacity: z.number().gte(0),
|
|
2317
|
+
knownCapacity: z.number().gte(0),
|
|
2318
|
+
remaining: z.number().gte(0),
|
|
2319
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2320
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2321
|
+
unlimitedCapacity: z.number().gte(0),
|
|
2322
|
+
}),
|
|
2323
|
+
"7d": z.object({
|
|
2324
|
+
capacity: z.number().gte(0),
|
|
2325
|
+
knownCapacity: z.number().gte(0),
|
|
2326
|
+
remaining: z.number().gte(0),
|
|
2327
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2328
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2329
|
+
unlimitedCapacity: z.number().gte(0),
|
|
2330
|
+
}),
|
|
2331
|
+
}),
|
|
2332
|
+
elasticPlans: z.int().gte(0).lte(9007199254740991),
|
|
2333
|
+
}),
|
|
2334
|
+
}),
|
|
2335
|
+
})),
|
|
2336
|
+
});
|
|
2268
2337
|
export const zGoogleWorkspaceOAuthStartResult = z.object({
|
|
2269
2338
|
url: z.url(),
|
|
2270
2339
|
});
|
|
@@ -3592,6 +3661,13 @@ export const zGoogleConnectResponse = zGoogleWorkspaceOAuthStartResult;
|
|
|
3592
3661
|
* Seat health and provider usage
|
|
3593
3662
|
*/
|
|
3594
3663
|
export const zInferenceSubscriptionsListResponse = z.array(zInferenceSubscriptionSeat);
|
|
3664
|
+
export const zInferenceSubscriptionsBudgetQuery = z.object({
|
|
3665
|
+
horizon: z.enum(["5h", "7d"]).optional().default("5h"),
|
|
3666
|
+
});
|
|
3667
|
+
/**
|
|
3668
|
+
* Remaining capacity through the requested horizon or last known reset
|
|
3669
|
+
*/
|
|
3670
|
+
export const zInferenceSubscriptionsBudgetResponse = zInferenceUsageBudgetEstimate;
|
|
3595
3671
|
export const zInferenceSubscriptionsOauthStartBody = zInferenceOauthStartInput;
|
|
3596
3672
|
/**
|
|
3597
3673
|
* Where to authorize, and when this attempt stops being valid
|