@agents24/node 0.5.19 → 0.5.21
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/compatibility.json +5 -5
- package/dist/bff.d.cts +1 -1
- package/dist/bff.d.ts +1 -1
- package/dist/{client-YEw6vRtg.d.cts → client-CR3usQ8l.d.cts} +270 -2
- package/dist/{client-YEw6vRtg.d.ts → client-CR3usQ8l.d.ts} +270 -2
- package/dist/index.cjs +167 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +167 -1
- package/dist/index.js.map +1 -1
- package/dist/types/client.d.ts +2 -1
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/generated/ingestion-types.d.ts +230 -0
- package/dist/types/generated/ingestion-types.d.ts.map +1 -0
- package/dist/types/generated/ingestionJobs.d.ts +15 -0
- package/dist/types/generated/ingestionJobs.d.ts.map +1 -0
- package/dist/types/generated/integration-namespaces.d.ts +11 -0
- package/dist/types/generated/integration-namespaces.d.ts.map +1 -0
- package/dist/types/generated/knowledgeStores.d.ts +13 -0
- package/dist/types/generated/knowledgeStores.d.ts.map +1 -0
- package/dist/types/generated/manifest.d.ts +1 -1
- package/dist/types/generated/manifest.d.ts.map +1 -1
- package/dist/types/generated/pipelines.d.ts +11 -0
- package/dist/types/generated/pipelines.d.ts.map +1 -0
- package/dist/types/http.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentRef, f as AgentResponse, g as AgentStreamRequest, h as AgentSummary, i as AgentToolsetAttachment, j as AgentUpdateRequest, k as AgentValidationIssue, l as AgentValidationResult, A as Agents24, m as Agents24NodeError, n as Agents24NodeErrorKind, o as Agents24NodeOptions, p as Agents24Options, m as Agents24SDKError, q as Agents24SDKErrorKind, r as Agents24SDKSerializedError, s as ArtifactDevelopmentSession, t as ArtifactDevelopmentSessionAdmission, u as ArtifactDevelopmentSessionPrepareRequest, v as AttachRunRequest, w as AttachmentContentAccessRequest, B as BackendSessionRequestOptions, x as BranchingHint, C as ClearCustomerResourcePolicyAssignmentResult, y as ClientAuthMode, z as ClientDeployment, D as ClientDeploymentListQuery, E as ClientDeploymentListResponse, F as ClientNativeProfile, G as ClientRuntimeNativeProfileInput, H as ClientRuntimeOidcConfig, I as ClientRuntimePolicyInput, J as ClientSessionCredentials, K as ControlPlaneAgentRunRequest, L as ControlPlaneRunEventsResponse, M as ConversationRunRequest, N as ConversationRunResult, O as ConversationRuntimeSelectionRequest, P as ConversationRuntimeSelectionResult, Q as ConversationThreadOptions, R as CreateBackendClientSessionRequest, S as CreateClientDeploymentRequest, T as CustomerIdentityRequest, U as CustomerPrincipalRefRequest, V as CustomerProfile, W as CustomerProfileList, X as CustomerProfilePatch, Y as CustomerProfileSearchOptions, Z as CustomerResourcePolicyAssignment, _ as DelegationAction, $ as DelegationActionRequest, a0 as DelegationEvents, a1 as DelegationHistory, a2 as DelegationHistoryTurn, a3 as DelegationStatus, a4 as DelegationTask, a5 as DelegationTaskList, a6 as EffectiveCustomerResourcePolicyRequest, a7 as EffectiveResourcePolicy, a8 as EmbedAgentAliasResolution, a9 as EmbedAttachmentContentAccessRequest, aa as EmbedCustomerPrincipalResolveRequest, ab as EmbedCustomerPrincipalResolveResponse, ac as EmbedResourcePolicyRequest, ad as EmbedRunCancelOptions, ae as EmbedRunStartRequest, af as EmbedRuntimeBootstrap, ag as EmbedStreamRequest, ah as EmbedThreadMessageEdit, ai as EmbedThreadMessageScope, aj as EmbedThreadMessageSubmit, ak as EmbeddedResponseFeedbackInput, al as FailureCategory, am as FailureView, an as FeedbackRating, ao as FeedbackReason, ap as GraphBuilder, aq as GraphDefinition, ar as GraphEdge, as as GraphHints, at as GraphNode, au as GraphValueRef, av as HitlAction, aw as HitlAnswer, ax as HostedArtifactDraft, ay as HostedArtifactsNamespace, az as
|
|
1
|
+
export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentRef, f as AgentResponse, g as AgentStreamRequest, h as AgentSummary, i as AgentToolsetAttachment, j as AgentUpdateRequest, k as AgentValidationIssue, l as AgentValidationResult, A as Agents24, m as Agents24NodeError, n as Agents24NodeErrorKind, o as Agents24NodeOptions, p as Agents24Options, m as Agents24SDKError, q as Agents24SDKErrorKind, r as Agents24SDKSerializedError, s as ArtifactDevelopmentSession, t as ArtifactDevelopmentSessionAdmission, u as ArtifactDevelopmentSessionPrepareRequest, v as AttachRunRequest, w as AttachmentContentAccessRequest, B as BackendSessionRequestOptions, x as BranchingHint, C as ClearCustomerResourcePolicyAssignmentResult, y as ClientAuthMode, z as ClientDeployment, D as ClientDeploymentListQuery, E as ClientDeploymentListResponse, F as ClientNativeProfile, G as ClientRuntimeNativeProfileInput, H as ClientRuntimeOidcConfig, I as ClientRuntimePolicyInput, J as ClientSessionCredentials, K as ControlPlaneAgentRunRequest, L as ControlPlaneRunEventsResponse, M as ConversationRunRequest, N as ConversationRunResult, O as ConversationRuntimeSelectionRequest, P as ConversationRuntimeSelectionResult, Q as ConversationThreadOptions, R as CreateBackendClientSessionRequest, S as CreateClientDeploymentRequest, T as CustomerIdentityRequest, U as CustomerPrincipalRefRequest, V as CustomerProfile, W as CustomerProfileList, X as CustomerProfilePatch, Y as CustomerProfileSearchOptions, Z as CustomerResourcePolicyAssignment, _ as DelegationAction, $ as DelegationActionRequest, a0 as DelegationEvents, a1 as DelegationHistory, a2 as DelegationHistoryTurn, a3 as DelegationStatus, a4 as DelegationTask, a5 as DelegationTaskList, a6 as EffectiveCustomerResourcePolicyRequest, a7 as EffectiveResourcePolicy, a8 as EmbedAgentAliasResolution, a9 as EmbedAttachmentContentAccessRequest, aa as EmbedCustomerPrincipalResolveRequest, ab as EmbedCustomerPrincipalResolveResponse, ac as EmbedResourcePolicyRequest, ad as EmbedRunCancelOptions, ae as EmbedRunStartRequest, af as EmbedRuntimeBootstrap, ag as EmbedStreamRequest, ah as EmbedThreadMessageEdit, ai as EmbedThreadMessageScope, aj as EmbedThreadMessageSubmit, ak as EmbeddedResponseFeedbackInput, al as FailureCategory, am as FailureView, an as FeedbackRating, ao as FeedbackReason, ap as GraphBuilder, aq as GraphDefinition, ar as GraphEdge, as as GraphHints, at as GraphNode, au as GraphValueRef, av as HitlAction, aw as HitlAnswer, ax as HostedArtifactDraft, ay as HostedArtifactsNamespace, az as IngestionBatch, aA as IngestionBatchListOptions, aB as IngestionBatchPage, aC as IngestionJob, aD as IngestionJobAcknowledgment, aE as IngestionJobGetOptions, aF as IngestionJobListOptions, aG as IngestionJobPage, aH as IngestionJobStart, aI as KnowledgeStore, aJ as KnowledgeStoreChunking, aK as KnowledgeStoreCreate, aL as KnowledgeStoreListOptions, aM as KnowledgeStoreNamespace, aN as KnowledgeStorePage, aO as KnowledgeStoreStats, aP as KnowledgeStoreUpdate, aQ as LatestOrPinnedPolicy, aR as McpAuthStartRequest, aS as McpAuthStartResult, aT as MultiAgentThreadListRequest, aU as MultiAgentThreadSummaryEventOptions, aV as NativePlatform, aW as NodeAuthoringSpec, aX as NodeCatalogItem, aY as NodeCatalogResponse, aZ as NodeSchemaResponse, a_ as PipelineInputField, a$ as PipelineInputSchema, b0 as PipelineInputStep, b1 as PipelineInputUpload, b2 as PipelineListOptions, b3 as PipelinePage, b4 as PipelineSummary, b5 as PortableResourceKind, b6 as PublishedExecutable, b7 as RequestOptions, b8 as ResetResourcePolicyQuotaRequest, b9 as ResourceCallableBinding, ba as ResourceCallableBindingStatus, bb as ResourceCandidateList, bc as ResourceInstallation, bd as ResourceInstallationApplication, be as ResourceInstallationApplyRequest, bf as ResourceInstallationBinding, bg as ResourceInstallationCreateRequest, bh as ResourceInstallationDeploymentRequest, bi as ResourceInstallationLinkRequest, bj as ResourceInstallationList, bk as ResourceInstallationOperation, bl as ResourceInstallationPlan, bm as ResourceInstallationPlanUpload, bn as ResourceInstallationPublication, bo as ResourceInstallationPublishRequest, bp as ResourceInstallationPullAcceptRequest, bq as ResourceInstallationPullChange, br as ResourceInstallationPullPayload, bs as ResourceInstallationPullPlan, bt as ResourceInstallationResourceListOptions, bu as ResourceInstallationSecretStatus, bv as ResourceInstallationSecretsRequest, bw as ResourcePackageArchive, bx as ResourcePackageCandidateOptions, by as ResourcePackageDependency, bz as ResourcePackageDiagnostic, bA as ResourcePackageExportPlan, bB as ResourcePackageExportRequest, bC as ResourcePackageImportPreview, bD as ResourcePackageImportResult, bE as ResourcePackageImportUpload, bF as ResourcePackageUpload, bG as ResourcePackageValidationResult, bH as ResourcePolicyList, bI as ResourcePolicyQuotaSchedule, bJ as ResourcePolicyQuotaScheduleResult, bK as ResourcePolicySubjectRef, bL as ResourcePolicySummary, bM as ResourceSelector, bN as ResourceToolExport, bO as ResponseFeedback, bP as ResponseFeedbackResult, bQ as ResumeRunRequest, bR as RunCancelOptions, bS as RunContextOptions, bT as RunStatus, bU as RunTrace, bV as ServerAttachmentUploadOptions, bW as ServerEmbedAttachmentUploadOptions, bX as SetCustomerResourcePolicyAssignmentRequest, bY as SetResourcePolicyQuotaScheduleRequest, bZ as StartRunResult, b_ as StateVariableDefinition, b$ as StreamRequestOptions, c0 as StreamResult, c1 as ThreadComputerContentAccess, c2 as ThreadComputerFile, c3 as ThreadComputerFileOptions, c4 as ThreadComputerFileText, c5 as ThreadComputerFiles, c6 as ThreadComputerStatus, c7 as ThreadDeleteOptions, c8 as ThreadDetailOptions, c9 as ThreadListOptions, ca as ThreadSummaryEventOptions, cb as TraceContent, cc as TraceError, cd as TraceSpan, ce as TraceSpanKind, cf as TraceSpanStatus, cg as TraceView, ch as UpdateClientDeploymentRequest, ci as WorkflowInputDefinition } from './client-CR3usQ8l.cjs';
|
|
2
2
|
export { ActiveThreadRun, Attachment, AttachmentContentAccess, AttachmentUploadResult, CONTRACT_HASH, ContextCompression, ContextWindow, ContextWindowConfidence, ContextWindowSource, ContextWindowStage, ContextWindowTracker, JsonScalar, JsonValue, ModelTurnEventName, ModelTurnKind, ModelTurnOutcome, ModelTurnPayload, ModelTurnRuntimeEvent, ModelTurnStatus, ProtocolErrorCategory, PublicResponseBlock, RUNTIME_PROTOCOL_VERSION, PublicResponseBlock as ResponseBlock, RunCancelResult, RunContext, RunResumeResult, RuntimeEvent, THREAD_SUMMARY_PROTOCOL_VERSION, ThreadDeleteResult, ThreadDetail, ThreadMessage, ThreadMessageSubmission, ThreadMessagesPage, ThreadSummary, ThreadSummaryEvent, ThreadTurn, ThreadsResponse, ToolInputOverrides, compressionFromContextWindow, createContextWindowTracker, mergeContextWindow, mergeContextWindowUpdate, normalizeContextCompression, normalizeContextWindow, parseRuntimeEvent, parseRuntimeSsePayload, parseThreadSummarySsePayload, validateResponseBlock, validateRuntimeEvent, validateThreadSummaryEvent } from '@agents24/client/protocol';
|
|
3
3
|
|
|
4
|
-
declare const SDK_OPERATION_IDS: readonly ["agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.delete", "agents.get", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.cancel_agent_run", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.upload_agent_attachments", "instructions.publish", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.prepare_development_session", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_trace", "runs.get_tree"];
|
|
4
|
+
declare const SDK_OPERATION_IDS: readonly ["agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.delete", "agents.get", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.cancel_agent_run", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.upload_agent_attachments", "ingestionJobs.cancel", "ingestionJobs.get", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.create", "knowledgeStores.get", "knowledgeStores.list", "knowledgeStores.stats", "knowledgeStores.update", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.prepare_development_session", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_trace", "runs.get_tree"];
|
|
5
5
|
type SDKOperationId = (typeof SDK_OPERATION_IDS)[number];
|
|
6
6
|
|
|
7
7
|
export { type SDKOperationId, SDK_OPERATION_IDS };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentRef, f as AgentResponse, g as AgentStreamRequest, h as AgentSummary, i as AgentToolsetAttachment, j as AgentUpdateRequest, k as AgentValidationIssue, l as AgentValidationResult, A as Agents24, m as Agents24NodeError, n as Agents24NodeErrorKind, o as Agents24NodeOptions, p as Agents24Options, m as Agents24SDKError, q as Agents24SDKErrorKind, r as Agents24SDKSerializedError, s as ArtifactDevelopmentSession, t as ArtifactDevelopmentSessionAdmission, u as ArtifactDevelopmentSessionPrepareRequest, v as AttachRunRequest, w as AttachmentContentAccessRequest, B as BackendSessionRequestOptions, x as BranchingHint, C as ClearCustomerResourcePolicyAssignmentResult, y as ClientAuthMode, z as ClientDeployment, D as ClientDeploymentListQuery, E as ClientDeploymentListResponse, F as ClientNativeProfile, G as ClientRuntimeNativeProfileInput, H as ClientRuntimeOidcConfig, I as ClientRuntimePolicyInput, J as ClientSessionCredentials, K as ControlPlaneAgentRunRequest, L as ControlPlaneRunEventsResponse, M as ConversationRunRequest, N as ConversationRunResult, O as ConversationRuntimeSelectionRequest, P as ConversationRuntimeSelectionResult, Q as ConversationThreadOptions, R as CreateBackendClientSessionRequest, S as CreateClientDeploymentRequest, T as CustomerIdentityRequest, U as CustomerPrincipalRefRequest, V as CustomerProfile, W as CustomerProfileList, X as CustomerProfilePatch, Y as CustomerProfileSearchOptions, Z as CustomerResourcePolicyAssignment, _ as DelegationAction, $ as DelegationActionRequest, a0 as DelegationEvents, a1 as DelegationHistory, a2 as DelegationHistoryTurn, a3 as DelegationStatus, a4 as DelegationTask, a5 as DelegationTaskList, a6 as EffectiveCustomerResourcePolicyRequest, a7 as EffectiveResourcePolicy, a8 as EmbedAgentAliasResolution, a9 as EmbedAttachmentContentAccessRequest, aa as EmbedCustomerPrincipalResolveRequest, ab as EmbedCustomerPrincipalResolveResponse, ac as EmbedResourcePolicyRequest, ad as EmbedRunCancelOptions, ae as EmbedRunStartRequest, af as EmbedRuntimeBootstrap, ag as EmbedStreamRequest, ah as EmbedThreadMessageEdit, ai as EmbedThreadMessageScope, aj as EmbedThreadMessageSubmit, ak as EmbeddedResponseFeedbackInput, al as FailureCategory, am as FailureView, an as FeedbackRating, ao as FeedbackReason, ap as GraphBuilder, aq as GraphDefinition, ar as GraphEdge, as as GraphHints, at as GraphNode, au as GraphValueRef, av as HitlAction, aw as HitlAnswer, ax as HostedArtifactDraft, ay as HostedArtifactsNamespace, az as
|
|
1
|
+
export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentRef, f as AgentResponse, g as AgentStreamRequest, h as AgentSummary, i as AgentToolsetAttachment, j as AgentUpdateRequest, k as AgentValidationIssue, l as AgentValidationResult, A as Agents24, m as Agents24NodeError, n as Agents24NodeErrorKind, o as Agents24NodeOptions, p as Agents24Options, m as Agents24SDKError, q as Agents24SDKErrorKind, r as Agents24SDKSerializedError, s as ArtifactDevelopmentSession, t as ArtifactDevelopmentSessionAdmission, u as ArtifactDevelopmentSessionPrepareRequest, v as AttachRunRequest, w as AttachmentContentAccessRequest, B as BackendSessionRequestOptions, x as BranchingHint, C as ClearCustomerResourcePolicyAssignmentResult, y as ClientAuthMode, z as ClientDeployment, D as ClientDeploymentListQuery, E as ClientDeploymentListResponse, F as ClientNativeProfile, G as ClientRuntimeNativeProfileInput, H as ClientRuntimeOidcConfig, I as ClientRuntimePolicyInput, J as ClientSessionCredentials, K as ControlPlaneAgentRunRequest, L as ControlPlaneRunEventsResponse, M as ConversationRunRequest, N as ConversationRunResult, O as ConversationRuntimeSelectionRequest, P as ConversationRuntimeSelectionResult, Q as ConversationThreadOptions, R as CreateBackendClientSessionRequest, S as CreateClientDeploymentRequest, T as CustomerIdentityRequest, U as CustomerPrincipalRefRequest, V as CustomerProfile, W as CustomerProfileList, X as CustomerProfilePatch, Y as CustomerProfileSearchOptions, Z as CustomerResourcePolicyAssignment, _ as DelegationAction, $ as DelegationActionRequest, a0 as DelegationEvents, a1 as DelegationHistory, a2 as DelegationHistoryTurn, a3 as DelegationStatus, a4 as DelegationTask, a5 as DelegationTaskList, a6 as EffectiveCustomerResourcePolicyRequest, a7 as EffectiveResourcePolicy, a8 as EmbedAgentAliasResolution, a9 as EmbedAttachmentContentAccessRequest, aa as EmbedCustomerPrincipalResolveRequest, ab as EmbedCustomerPrincipalResolveResponse, ac as EmbedResourcePolicyRequest, ad as EmbedRunCancelOptions, ae as EmbedRunStartRequest, af as EmbedRuntimeBootstrap, ag as EmbedStreamRequest, ah as EmbedThreadMessageEdit, ai as EmbedThreadMessageScope, aj as EmbedThreadMessageSubmit, ak as EmbeddedResponseFeedbackInput, al as FailureCategory, am as FailureView, an as FeedbackRating, ao as FeedbackReason, ap as GraphBuilder, aq as GraphDefinition, ar as GraphEdge, as as GraphHints, at as GraphNode, au as GraphValueRef, av as HitlAction, aw as HitlAnswer, ax as HostedArtifactDraft, ay as HostedArtifactsNamespace, az as IngestionBatch, aA as IngestionBatchListOptions, aB as IngestionBatchPage, aC as IngestionJob, aD as IngestionJobAcknowledgment, aE as IngestionJobGetOptions, aF as IngestionJobListOptions, aG as IngestionJobPage, aH as IngestionJobStart, aI as KnowledgeStore, aJ as KnowledgeStoreChunking, aK as KnowledgeStoreCreate, aL as KnowledgeStoreListOptions, aM as KnowledgeStoreNamespace, aN as KnowledgeStorePage, aO as KnowledgeStoreStats, aP as KnowledgeStoreUpdate, aQ as LatestOrPinnedPolicy, aR as McpAuthStartRequest, aS as McpAuthStartResult, aT as MultiAgentThreadListRequest, aU as MultiAgentThreadSummaryEventOptions, aV as NativePlatform, aW as NodeAuthoringSpec, aX as NodeCatalogItem, aY as NodeCatalogResponse, aZ as NodeSchemaResponse, a_ as PipelineInputField, a$ as PipelineInputSchema, b0 as PipelineInputStep, b1 as PipelineInputUpload, b2 as PipelineListOptions, b3 as PipelinePage, b4 as PipelineSummary, b5 as PortableResourceKind, b6 as PublishedExecutable, b7 as RequestOptions, b8 as ResetResourcePolicyQuotaRequest, b9 as ResourceCallableBinding, ba as ResourceCallableBindingStatus, bb as ResourceCandidateList, bc as ResourceInstallation, bd as ResourceInstallationApplication, be as ResourceInstallationApplyRequest, bf as ResourceInstallationBinding, bg as ResourceInstallationCreateRequest, bh as ResourceInstallationDeploymentRequest, bi as ResourceInstallationLinkRequest, bj as ResourceInstallationList, bk as ResourceInstallationOperation, bl as ResourceInstallationPlan, bm as ResourceInstallationPlanUpload, bn as ResourceInstallationPublication, bo as ResourceInstallationPublishRequest, bp as ResourceInstallationPullAcceptRequest, bq as ResourceInstallationPullChange, br as ResourceInstallationPullPayload, bs as ResourceInstallationPullPlan, bt as ResourceInstallationResourceListOptions, bu as ResourceInstallationSecretStatus, bv as ResourceInstallationSecretsRequest, bw as ResourcePackageArchive, bx as ResourcePackageCandidateOptions, by as ResourcePackageDependency, bz as ResourcePackageDiagnostic, bA as ResourcePackageExportPlan, bB as ResourcePackageExportRequest, bC as ResourcePackageImportPreview, bD as ResourcePackageImportResult, bE as ResourcePackageImportUpload, bF as ResourcePackageUpload, bG as ResourcePackageValidationResult, bH as ResourcePolicyList, bI as ResourcePolicyQuotaSchedule, bJ as ResourcePolicyQuotaScheduleResult, bK as ResourcePolicySubjectRef, bL as ResourcePolicySummary, bM as ResourceSelector, bN as ResourceToolExport, bO as ResponseFeedback, bP as ResponseFeedbackResult, bQ as ResumeRunRequest, bR as RunCancelOptions, bS as RunContextOptions, bT as RunStatus, bU as RunTrace, bV as ServerAttachmentUploadOptions, bW as ServerEmbedAttachmentUploadOptions, bX as SetCustomerResourcePolicyAssignmentRequest, bY as SetResourcePolicyQuotaScheduleRequest, bZ as StartRunResult, b_ as StateVariableDefinition, b$ as StreamRequestOptions, c0 as StreamResult, c1 as ThreadComputerContentAccess, c2 as ThreadComputerFile, c3 as ThreadComputerFileOptions, c4 as ThreadComputerFileText, c5 as ThreadComputerFiles, c6 as ThreadComputerStatus, c7 as ThreadDeleteOptions, c8 as ThreadDetailOptions, c9 as ThreadListOptions, ca as ThreadSummaryEventOptions, cb as TraceContent, cc as TraceError, cd as TraceSpan, ce as TraceSpanKind, cf as TraceSpanStatus, cg as TraceView, ch as UpdateClientDeploymentRequest, ci as WorkflowInputDefinition } from './client-CR3usQ8l.js';
|
|
2
2
|
export { ActiveThreadRun, Attachment, AttachmentContentAccess, AttachmentUploadResult, CONTRACT_HASH, ContextCompression, ContextWindow, ContextWindowConfidence, ContextWindowSource, ContextWindowStage, ContextWindowTracker, JsonScalar, JsonValue, ModelTurnEventName, ModelTurnKind, ModelTurnOutcome, ModelTurnPayload, ModelTurnRuntimeEvent, ModelTurnStatus, ProtocolErrorCategory, PublicResponseBlock, RUNTIME_PROTOCOL_VERSION, PublicResponseBlock as ResponseBlock, RunCancelResult, RunContext, RunResumeResult, RuntimeEvent, THREAD_SUMMARY_PROTOCOL_VERSION, ThreadDeleteResult, ThreadDetail, ThreadMessage, ThreadMessageSubmission, ThreadMessagesPage, ThreadSummary, ThreadSummaryEvent, ThreadTurn, ThreadsResponse, ToolInputOverrides, compressionFromContextWindow, createContextWindowTracker, mergeContextWindow, mergeContextWindowUpdate, normalizeContextCompression, normalizeContextWindow, parseRuntimeEvent, parseRuntimeSsePayload, parseThreadSummarySsePayload, validateResponseBlock, validateRuntimeEvent, validateThreadSummaryEvent } from '@agents24/client/protocol';
|
|
3
3
|
|
|
4
|
-
declare const SDK_OPERATION_IDS: readonly ["agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.delete", "agents.get", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.cancel_agent_run", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.upload_agent_attachments", "instructions.publish", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.prepare_development_session", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_trace", "runs.get_tree"];
|
|
4
|
+
declare const SDK_OPERATION_IDS: readonly ["agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.delete", "agents.get", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.cancel_agent_run", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.upload_agent_attachments", "ingestionJobs.cancel", "ingestionJobs.get", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.create", "knowledgeStores.get", "knowledgeStores.list", "knowledgeStores.stats", "knowledgeStores.update", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.prepare_development_session", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_trace", "runs.get_tree"];
|
|
5
5
|
type SDKOperationId = (typeof SDK_OPERATION_IDS)[number];
|
|
6
6
|
|
|
7
7
|
export { type SDKOperationId, SDK_OPERATION_IDS };
|
package/dist/index.js
CHANGED
|
@@ -150,6 +150,7 @@ var Agents24HttpClient = class {
|
|
|
150
150
|
...config.body === void 0 ? {} : { body: JSON.stringify(config.body) }
|
|
151
151
|
}, "Failed to connect to the Agents24 API.");
|
|
152
152
|
await assertOk(response);
|
|
153
|
+
if (response.status === 204) return void 0;
|
|
153
154
|
return await response.json();
|
|
154
155
|
}
|
|
155
156
|
async fetchOrThrow(url, init, message) {
|
|
@@ -1299,8 +1300,155 @@ var CustomerProfilesNamespace = class {
|
|
|
1299
1300
|
}
|
|
1300
1301
|
};
|
|
1301
1302
|
|
|
1303
|
+
// src/generated/pipelines.ts
|
|
1304
|
+
var PipelinesNamespace = class {
|
|
1305
|
+
constructor(http) {
|
|
1306
|
+
this.http = http;
|
|
1307
|
+
}
|
|
1308
|
+
http;
|
|
1309
|
+
list(options = {}) {
|
|
1310
|
+
return this.http.requestJson("/admin/pipelines/visual-pipelines", {
|
|
1311
|
+
query: {
|
|
1312
|
+
skip: options.skip ?? 0,
|
|
1313
|
+
limit: options.limit ?? 20
|
|
1314
|
+
}
|
|
1315
|
+
});
|
|
1316
|
+
}
|
|
1317
|
+
get(pipelineId) {
|
|
1318
|
+
return this.http.requestJson(`/admin/pipelines/visual-pipelines/${encodeURIComponent(pipelineId)}`);
|
|
1319
|
+
}
|
|
1320
|
+
getPublishedExecutable(pipelineId) {
|
|
1321
|
+
return this.http.requestJson(`/admin/pipelines/visual-pipelines/${encodeURIComponent(pipelineId)}/current-executable`);
|
|
1322
|
+
}
|
|
1323
|
+
getInputSchema(executableId) {
|
|
1324
|
+
return this.http.requestJson(`/admin/pipelines/executable-pipelines/${encodeURIComponent(executableId)}/input-schema`);
|
|
1325
|
+
}
|
|
1326
|
+
};
|
|
1327
|
+
|
|
1328
|
+
// src/generated/ingestionJobs.ts
|
|
1329
|
+
var IngestionJobsNamespace = class {
|
|
1330
|
+
constructor(http) {
|
|
1331
|
+
this.http = http;
|
|
1332
|
+
}
|
|
1333
|
+
http;
|
|
1334
|
+
async uploadInput(file, filename) {
|
|
1335
|
+
const formData = new FormData();
|
|
1336
|
+
formData.append("file", file, filename);
|
|
1337
|
+
const response = await this.http.fetchOrThrow(
|
|
1338
|
+
this.http.url("/admin/pipelines/pipeline-inputs/upload"),
|
|
1339
|
+
{ method: "POST", headers: this.http.multipartHeaders(), body: formData },
|
|
1340
|
+
"Failed to upload pipeline input."
|
|
1341
|
+
);
|
|
1342
|
+
await assertOk(response);
|
|
1343
|
+
return await response.json();
|
|
1344
|
+
}
|
|
1345
|
+
start(request, options) {
|
|
1346
|
+
return this.http.requestJson("/admin/pipelines/jobs", {
|
|
1347
|
+
method: "POST",
|
|
1348
|
+
body: request,
|
|
1349
|
+
options,
|
|
1350
|
+
mutation: true
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
list(options = {}) {
|
|
1354
|
+
return this.http.requestJson("/admin/pipelines/jobs", {
|
|
1355
|
+
query: {
|
|
1356
|
+
skip: options.skip ?? 0,
|
|
1357
|
+
limit: options.limit ?? 20,
|
|
1358
|
+
executable_pipeline_id: options.executablePipelineId,
|
|
1359
|
+
visual_pipeline_id: options.visualPipelineId,
|
|
1360
|
+
status: options.status,
|
|
1361
|
+
pipeline_type: options.pipelineType,
|
|
1362
|
+
q: options.q
|
|
1363
|
+
}
|
|
1364
|
+
});
|
|
1365
|
+
}
|
|
1366
|
+
get(jobId, options = {}) {
|
|
1367
|
+
return this.http.requestJson(`/admin/pipelines/jobs/${encodeURIComponent(jobId)}`, {
|
|
1368
|
+
query: {
|
|
1369
|
+
lite: options.lite ?? false,
|
|
1370
|
+
include_batches: options.includeBatches ?? true
|
|
1371
|
+
}
|
|
1372
|
+
});
|
|
1373
|
+
}
|
|
1374
|
+
listBatches(jobId, options = {}) {
|
|
1375
|
+
return this.http.requestJson(`/admin/pipelines/jobs/${encodeURIComponent(jobId)}/batches`, {
|
|
1376
|
+
query: {
|
|
1377
|
+
skip: options.skip ?? 0,
|
|
1378
|
+
limit: options.limit ?? 100
|
|
1379
|
+
}
|
|
1380
|
+
});
|
|
1381
|
+
}
|
|
1382
|
+
resume(jobId, options) {
|
|
1383
|
+
return this.http.requestJson(`/admin/pipelines/jobs/${encodeURIComponent(jobId)}/resume`, {
|
|
1384
|
+
method: "POST",
|
|
1385
|
+
options,
|
|
1386
|
+
mutation: true
|
|
1387
|
+
});
|
|
1388
|
+
}
|
|
1389
|
+
cancel(jobId, options) {
|
|
1390
|
+
return this.http.requestJson(`/admin/pipelines/jobs/${encodeURIComponent(jobId)}/cancel`, {
|
|
1391
|
+
method: "POST",
|
|
1392
|
+
options,
|
|
1393
|
+
mutation: true
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
// src/generated/knowledgeStores.ts
|
|
1399
|
+
var KnowledgeStoresNamespace = class {
|
|
1400
|
+
constructor(http) {
|
|
1401
|
+
this.http = http;
|
|
1402
|
+
}
|
|
1403
|
+
http;
|
|
1404
|
+
list(options = {}) {
|
|
1405
|
+
return this.http.requestJson("/admin/knowledge-stores", {
|
|
1406
|
+
query: {
|
|
1407
|
+
skip: options.skip ?? 0,
|
|
1408
|
+
limit: options.limit ?? 20,
|
|
1409
|
+
view: options.view ?? "summary"
|
|
1410
|
+
}
|
|
1411
|
+
});
|
|
1412
|
+
}
|
|
1413
|
+
create(request) {
|
|
1414
|
+
return this.http.requestJson("/admin/knowledge-stores", {
|
|
1415
|
+
method: "POST",
|
|
1416
|
+
body: request
|
|
1417
|
+
});
|
|
1418
|
+
}
|
|
1419
|
+
get(storeId) {
|
|
1420
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}`);
|
|
1421
|
+
}
|
|
1422
|
+
update(storeId, request) {
|
|
1423
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}`, {
|
|
1424
|
+
method: "PATCH",
|
|
1425
|
+
body: request
|
|
1426
|
+
});
|
|
1427
|
+
}
|
|
1428
|
+
stats(storeId) {
|
|
1429
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/stats`);
|
|
1430
|
+
}
|
|
1431
|
+
archive(storeId) {
|
|
1432
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}`, {
|
|
1433
|
+
method: "DELETE"
|
|
1434
|
+
});
|
|
1435
|
+
}
|
|
1436
|
+
};
|
|
1437
|
+
|
|
1438
|
+
// src/generated/integration-namespaces.ts
|
|
1439
|
+
var GeneratedIntegrationNamespaces = class {
|
|
1440
|
+
pipelines;
|
|
1441
|
+
ingestionJobs;
|
|
1442
|
+
knowledgeStores;
|
|
1443
|
+
constructor(http) {
|
|
1444
|
+
this.pipelines = new PipelinesNamespace(http);
|
|
1445
|
+
this.ingestionJobs = new IngestionJobsNamespace(http);
|
|
1446
|
+
this.knowledgeStores = new KnowledgeStoresNamespace(http);
|
|
1447
|
+
}
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1302
1450
|
// src/client.ts
|
|
1303
|
-
var Agents24 = class {
|
|
1451
|
+
var Agents24 = class extends GeneratedIntegrationNamespaces {
|
|
1304
1452
|
agents;
|
|
1305
1453
|
embed;
|
|
1306
1454
|
runs;
|
|
@@ -1315,6 +1463,7 @@ var Agents24 = class {
|
|
|
1315
1463
|
customerProfiles;
|
|
1316
1464
|
constructor(options) {
|
|
1317
1465
|
const http = new Agents24HttpClient(options);
|
|
1466
|
+
super(http);
|
|
1318
1467
|
this.agents = new AgentsNamespace(http);
|
|
1319
1468
|
this.embed = new EmbedNamespace(http);
|
|
1320
1469
|
this.runs = new RunsNamespace(http);
|
|
@@ -1439,7 +1588,24 @@ var SDK_OPERATION_IDS = [
|
|
|
1439
1588
|
"embed.thread_messages.resume_queue",
|
|
1440
1589
|
"embed.thread_messages.submit",
|
|
1441
1590
|
"embed.upload_agent_attachments",
|
|
1591
|
+
"ingestionJobs.cancel",
|
|
1592
|
+
"ingestionJobs.get",
|
|
1593
|
+
"ingestionJobs.list",
|
|
1594
|
+
"ingestionJobs.list_batches",
|
|
1595
|
+
"ingestionJobs.resume",
|
|
1596
|
+
"ingestionJobs.start",
|
|
1597
|
+
"ingestionJobs.upload_input",
|
|
1442
1598
|
"instructions.publish",
|
|
1599
|
+
"knowledgeStores.archive",
|
|
1600
|
+
"knowledgeStores.create",
|
|
1601
|
+
"knowledgeStores.get",
|
|
1602
|
+
"knowledgeStores.list",
|
|
1603
|
+
"knowledgeStores.stats",
|
|
1604
|
+
"knowledgeStores.update",
|
|
1605
|
+
"pipelines.get",
|
|
1606
|
+
"pipelines.get_input_schema",
|
|
1607
|
+
"pipelines.get_published_executable",
|
|
1608
|
+
"pipelines.list",
|
|
1443
1609
|
"resource_installations.accept_pull",
|
|
1444
1610
|
"resource_installations.apply",
|
|
1445
1611
|
"resource_installations.bind_deployment",
|