asteroid-odyssey 1.7.17 → 1.7.59
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/index.d.mts +53 -9
- package/dist/index.d.ts +53 -9
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -394,6 +394,12 @@ type AgentsAgentExecutionOptions = {
|
|
|
394
394
|
softTimeoutMins?: number;
|
|
395
395
|
};
|
|
396
396
|
type AgentsAgentSortField = 'name' | 'created_at';
|
|
397
|
+
type AgentsAgentUpdateRequest = {
|
|
398
|
+
/**
|
|
399
|
+
* New name for the agent.
|
|
400
|
+
*/
|
|
401
|
+
name?: string;
|
|
402
|
+
};
|
|
397
403
|
type AgentsContextUserContextResponse = {
|
|
398
404
|
userId: CommonUuid;
|
|
399
405
|
email: string;
|
|
@@ -1694,7 +1700,6 @@ type AgentsGraphModelsNodesNode = {
|
|
|
1694
1700
|
name: string;
|
|
1695
1701
|
type: AgentsGraphModelsNodesNodeType;
|
|
1696
1702
|
properties: AgentsGraphModelsNodesNodePropertiesUnion;
|
|
1697
|
-
task?: string;
|
|
1698
1703
|
position?: AgentsGraphModelsNodesPosition;
|
|
1699
1704
|
/**
|
|
1700
1705
|
* Deprecated: field is no longer populated and will be removed.
|
|
@@ -1741,14 +1746,11 @@ type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties = {
|
|
|
1741
1746
|
type AgentsGraphModelsNodesPropertiesIrisProperties = {
|
|
1742
1747
|
type: 'iris';
|
|
1743
1748
|
instructions: string;
|
|
1744
|
-
tools: Array<string>;
|
|
1745
1749
|
capabilities?: AgentsGraphModelsNodesPropertiesNodeCapabilities;
|
|
1746
1750
|
snapshot_compression: boolean;
|
|
1747
1751
|
compression_strategies?: Array<string>;
|
|
1748
1752
|
temperature: number;
|
|
1749
|
-
batch_actions: boolean;
|
|
1750
1753
|
playwright_script_properties?: AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties;
|
|
1751
|
-
learn_and_compile?: boolean;
|
|
1752
1754
|
input_schema?: {
|
|
1753
1755
|
[key: string]: unknown;
|
|
1754
1756
|
};
|
|
@@ -2949,10 +2951,6 @@ type AgentsWorkflowWorkflowSnapshot = {
|
|
|
2949
2951
|
* The settings for this workflow
|
|
2950
2952
|
*/
|
|
2951
2953
|
settings: AgentsGraphModelsSettings;
|
|
2952
|
-
/**
|
|
2953
|
-
* The task description
|
|
2954
|
-
*/
|
|
2955
|
-
task?: string;
|
|
2956
2954
|
/**
|
|
2957
2955
|
* The workflow graph
|
|
2958
2956
|
*/
|
|
@@ -4102,6 +4100,46 @@ type AgentByIdDeleteResponses = {
|
|
|
4102
4100
|
204: void;
|
|
4103
4101
|
};
|
|
4104
4102
|
type AgentByIdDeleteResponse = AgentByIdDeleteResponses[keyof AgentByIdDeleteResponses];
|
|
4103
|
+
type AgentByIdUpdateData = {
|
|
4104
|
+
body: AgentsAgentUpdateRequest;
|
|
4105
|
+
path: {
|
|
4106
|
+
/**
|
|
4107
|
+
* The ID of the agent
|
|
4108
|
+
*/
|
|
4109
|
+
agentId: CommonUuid;
|
|
4110
|
+
};
|
|
4111
|
+
query?: never;
|
|
4112
|
+
url: '/agents/{agentId}';
|
|
4113
|
+
};
|
|
4114
|
+
type AgentByIdUpdateErrors = {
|
|
4115
|
+
/**
|
|
4116
|
+
* The server could not understand the request due to invalid syntax.
|
|
4117
|
+
*/
|
|
4118
|
+
400: CommonBadRequestErrorBody;
|
|
4119
|
+
/**
|
|
4120
|
+
* Access is unauthorized.
|
|
4121
|
+
*/
|
|
4122
|
+
401: CommonUnauthorizedErrorBody;
|
|
4123
|
+
/**
|
|
4124
|
+
* Access is forbidden.
|
|
4125
|
+
*/
|
|
4126
|
+
403: CommonForbiddenErrorBody;
|
|
4127
|
+
/**
|
|
4128
|
+
* The server cannot find the requested resource.
|
|
4129
|
+
*/
|
|
4130
|
+
404: CommonNotFoundErrorBody;
|
|
4131
|
+
/**
|
|
4132
|
+
* Server error
|
|
4133
|
+
*/
|
|
4134
|
+
500: CommonInternalServerErrorBody;
|
|
4135
|
+
};
|
|
4136
|
+
type AgentByIdUpdateError = AgentByIdUpdateErrors[keyof AgentByIdUpdateErrors];
|
|
4137
|
+
type AgentByIdUpdateResponses = {
|
|
4138
|
+
/**
|
|
4139
|
+
* The request has succeeded.
|
|
4140
|
+
*/
|
|
4141
|
+
200: unknown;
|
|
4142
|
+
};
|
|
4105
4143
|
type AgentExecutePostData = {
|
|
4106
4144
|
/**
|
|
4107
4145
|
* Execution request parameters
|
|
@@ -5500,6 +5538,12 @@ declare const availableToolsList: <ThrowOnError extends boolean = false>(options
|
|
|
5500
5538
|
* Deletes an agent. Only allowed when all executions are in terminal status (completed, cancelled, or failed).
|
|
5501
5539
|
*/
|
|
5502
5540
|
declare const agentByIdDelete: <ThrowOnError extends boolean = false>(options: Options<AgentByIdDeleteData, ThrowOnError>) => RequestResult<AgentByIdDeleteResponses, AgentByIdDeleteErrors, ThrowOnError, "fields">;
|
|
5541
|
+
/**
|
|
5542
|
+
* Update agent
|
|
5543
|
+
*
|
|
5544
|
+
* Update mutable agent fields.
|
|
5545
|
+
*/
|
|
5546
|
+
declare const agentByIdUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentByIdUpdateData, ThrowOnError>) => RequestResult<AgentByIdUpdateResponses, AgentByIdUpdateErrors, ThrowOnError, "fields">;
|
|
5503
5547
|
/**
|
|
5504
5548
|
* Execute an agent
|
|
5505
5549
|
*
|
|
@@ -5729,4 +5773,4 @@ declare const schemaValidationValidate: <ThrowOnError extends boolean = false>(o
|
|
|
5729
5773
|
*/
|
|
5730
5774
|
declare const tempFilesStage: <ThrowOnError extends boolean = false>(options: Options<TempFilesStageData, ThrowOnError>) => RequestResult<TempFilesStageResponses, TempFilesStageErrors, ThrowOnError, "fields">;
|
|
5731
5775
|
|
|
5732
|
-
export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentSharedFileDownloadRedirectData, type AgentSharedFileDownloadRedirectError, type AgentSharedFileDownloadRedirectErrors, type AgentSharedFilesDeleteAllData, type AgentSharedFilesDeleteAllError, type AgentSharedFilesDeleteAllErrors, type AgentSharedFilesDeleteAllResponse, type AgentSharedFilesDeleteAllResponses, type AgentSharedFilesDeleteData, type AgentSharedFilesDeleteError, type AgentSharedFilesDeleteErrors, type AgentSharedFilesDeleteResponse, type AgentSharedFilesDeleteResponses, type AgentSharedFilesFreezeData, type AgentSharedFilesFreezeError, type AgentSharedFilesFreezeErrors, type AgentSharedFilesFreezeResponse, type AgentSharedFilesFreezeResponses, type AgentSharedFilesGetData, type AgentSharedFilesGetError, type AgentSharedFilesGetErrors, type AgentSharedFilesGetResponse, type AgentSharedFilesGetResponses, type AgentSharedFilesUpdateData, type AgentSharedFilesUpdateError, type AgentSharedFilesUpdateErrors, type AgentSharedFilesUpdateResponse, type AgentSharedFilesUpdateResponses, type AgentSharedFilesUploadData, type AgentSharedFilesUploadError, type AgentSharedFilesUploadErrors, type AgentSharedFilesUploadResponse, type AgentSharedFilesUploadResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentWorkflowsSyncExecutionData, type AgentWorkflowsSyncExecutionError, type AgentWorkflowsSyncExecutionErrors, type AgentWorkflowsSyncExecutionResponse, type AgentWorkflowsSyncExecutionResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateRequest, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionActivityWorkflowUpdatedPayload, type AgentsExecutionAdvisorCompletedDetails, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionPausedPayload, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionRulesDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchStatus, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTransitionDetails, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateType, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWorkflowUpdate, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesSetFrozenRequest, type AgentsFilesSharedFile, type AgentsFilesSharedFileUploadResponse, type AgentsFilesSharedFilesResponse, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsLlmProvider, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsSettings, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsGraphModelsTypeInputMethod, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearch, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowRequest, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentTemplate, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsTemplateConfig, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowSyncExecutionRequest, type AgentsWorkflowSyncExecutionResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowSnapshot, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, type Version, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentCreate, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentSharedFileDownloadRedirect, agentSharedFilesDelete, agentSharedFilesDeleteAll, agentSharedFilesFreeze, agentSharedFilesGet, agentSharedFilesUpdate, agentSharedFilesUpload, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsSyncExecution, availableToolsList, client, contextGet, docsSearchSearch, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage };
|
|
5776
|
+
export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentByIdUpdateData, type AgentByIdUpdateError, type AgentByIdUpdateErrors, type AgentByIdUpdateResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentSharedFileDownloadRedirectData, type AgentSharedFileDownloadRedirectError, type AgentSharedFileDownloadRedirectErrors, type AgentSharedFilesDeleteAllData, type AgentSharedFilesDeleteAllError, type AgentSharedFilesDeleteAllErrors, type AgentSharedFilesDeleteAllResponse, type AgentSharedFilesDeleteAllResponses, type AgentSharedFilesDeleteData, type AgentSharedFilesDeleteError, type AgentSharedFilesDeleteErrors, type AgentSharedFilesDeleteResponse, type AgentSharedFilesDeleteResponses, type AgentSharedFilesFreezeData, type AgentSharedFilesFreezeError, type AgentSharedFilesFreezeErrors, type AgentSharedFilesFreezeResponse, type AgentSharedFilesFreezeResponses, type AgentSharedFilesGetData, type AgentSharedFilesGetError, type AgentSharedFilesGetErrors, type AgentSharedFilesGetResponse, type AgentSharedFilesGetResponses, type AgentSharedFilesUpdateData, type AgentSharedFilesUpdateError, type AgentSharedFilesUpdateErrors, type AgentSharedFilesUpdateResponse, type AgentSharedFilesUpdateResponses, type AgentSharedFilesUploadData, type AgentSharedFilesUploadError, type AgentSharedFilesUploadErrors, type AgentSharedFilesUploadResponse, type AgentSharedFilesUploadResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentWorkflowsSyncExecutionData, type AgentWorkflowsSyncExecutionError, type AgentWorkflowsSyncExecutionErrors, type AgentWorkflowsSyncExecutionResponse, type AgentWorkflowsSyncExecutionResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateRequest, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentUpdateRequest, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionActivityWorkflowUpdatedPayload, type AgentsExecutionAdvisorCompletedDetails, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionPausedPayload, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionRulesDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchStatus, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTransitionDetails, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateType, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWorkflowUpdate, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesSetFrozenRequest, type AgentsFilesSharedFile, type AgentsFilesSharedFileUploadResponse, type AgentsFilesSharedFilesResponse, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsLlmProvider, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsSettings, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsGraphModelsTypeInputMethod, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearch, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowRequest, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentTemplate, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsTemplateConfig, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowSyncExecutionRequest, type AgentsWorkflowSyncExecutionResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowSnapshot, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, type Version, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentSharedFileDownloadRedirect, agentSharedFilesDelete, agentSharedFilesDeleteAll, agentSharedFilesFreeze, agentSharedFilesGet, agentSharedFilesUpdate, agentSharedFilesUpload, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsSyncExecution, availableToolsList, client, contextGet, docsSearchSearch, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage };
|
package/dist/index.d.ts
CHANGED
|
@@ -394,6 +394,12 @@ type AgentsAgentExecutionOptions = {
|
|
|
394
394
|
softTimeoutMins?: number;
|
|
395
395
|
};
|
|
396
396
|
type AgentsAgentSortField = 'name' | 'created_at';
|
|
397
|
+
type AgentsAgentUpdateRequest = {
|
|
398
|
+
/**
|
|
399
|
+
* New name for the agent.
|
|
400
|
+
*/
|
|
401
|
+
name?: string;
|
|
402
|
+
};
|
|
397
403
|
type AgentsContextUserContextResponse = {
|
|
398
404
|
userId: CommonUuid;
|
|
399
405
|
email: string;
|
|
@@ -1694,7 +1700,6 @@ type AgentsGraphModelsNodesNode = {
|
|
|
1694
1700
|
name: string;
|
|
1695
1701
|
type: AgentsGraphModelsNodesNodeType;
|
|
1696
1702
|
properties: AgentsGraphModelsNodesNodePropertiesUnion;
|
|
1697
|
-
task?: string;
|
|
1698
1703
|
position?: AgentsGraphModelsNodesPosition;
|
|
1699
1704
|
/**
|
|
1700
1705
|
* Deprecated: field is no longer populated and will be removed.
|
|
@@ -1741,14 +1746,11 @@ type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties = {
|
|
|
1741
1746
|
type AgentsGraphModelsNodesPropertiesIrisProperties = {
|
|
1742
1747
|
type: 'iris';
|
|
1743
1748
|
instructions: string;
|
|
1744
|
-
tools: Array<string>;
|
|
1745
1749
|
capabilities?: AgentsGraphModelsNodesPropertiesNodeCapabilities;
|
|
1746
1750
|
snapshot_compression: boolean;
|
|
1747
1751
|
compression_strategies?: Array<string>;
|
|
1748
1752
|
temperature: number;
|
|
1749
|
-
batch_actions: boolean;
|
|
1750
1753
|
playwright_script_properties?: AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties;
|
|
1751
|
-
learn_and_compile?: boolean;
|
|
1752
1754
|
input_schema?: {
|
|
1753
1755
|
[key: string]: unknown;
|
|
1754
1756
|
};
|
|
@@ -2949,10 +2951,6 @@ type AgentsWorkflowWorkflowSnapshot = {
|
|
|
2949
2951
|
* The settings for this workflow
|
|
2950
2952
|
*/
|
|
2951
2953
|
settings: AgentsGraphModelsSettings;
|
|
2952
|
-
/**
|
|
2953
|
-
* The task description
|
|
2954
|
-
*/
|
|
2955
|
-
task?: string;
|
|
2956
2954
|
/**
|
|
2957
2955
|
* The workflow graph
|
|
2958
2956
|
*/
|
|
@@ -4102,6 +4100,46 @@ type AgentByIdDeleteResponses = {
|
|
|
4102
4100
|
204: void;
|
|
4103
4101
|
};
|
|
4104
4102
|
type AgentByIdDeleteResponse = AgentByIdDeleteResponses[keyof AgentByIdDeleteResponses];
|
|
4103
|
+
type AgentByIdUpdateData = {
|
|
4104
|
+
body: AgentsAgentUpdateRequest;
|
|
4105
|
+
path: {
|
|
4106
|
+
/**
|
|
4107
|
+
* The ID of the agent
|
|
4108
|
+
*/
|
|
4109
|
+
agentId: CommonUuid;
|
|
4110
|
+
};
|
|
4111
|
+
query?: never;
|
|
4112
|
+
url: '/agents/{agentId}';
|
|
4113
|
+
};
|
|
4114
|
+
type AgentByIdUpdateErrors = {
|
|
4115
|
+
/**
|
|
4116
|
+
* The server could not understand the request due to invalid syntax.
|
|
4117
|
+
*/
|
|
4118
|
+
400: CommonBadRequestErrorBody;
|
|
4119
|
+
/**
|
|
4120
|
+
* Access is unauthorized.
|
|
4121
|
+
*/
|
|
4122
|
+
401: CommonUnauthorizedErrorBody;
|
|
4123
|
+
/**
|
|
4124
|
+
* Access is forbidden.
|
|
4125
|
+
*/
|
|
4126
|
+
403: CommonForbiddenErrorBody;
|
|
4127
|
+
/**
|
|
4128
|
+
* The server cannot find the requested resource.
|
|
4129
|
+
*/
|
|
4130
|
+
404: CommonNotFoundErrorBody;
|
|
4131
|
+
/**
|
|
4132
|
+
* Server error
|
|
4133
|
+
*/
|
|
4134
|
+
500: CommonInternalServerErrorBody;
|
|
4135
|
+
};
|
|
4136
|
+
type AgentByIdUpdateError = AgentByIdUpdateErrors[keyof AgentByIdUpdateErrors];
|
|
4137
|
+
type AgentByIdUpdateResponses = {
|
|
4138
|
+
/**
|
|
4139
|
+
* The request has succeeded.
|
|
4140
|
+
*/
|
|
4141
|
+
200: unknown;
|
|
4142
|
+
};
|
|
4105
4143
|
type AgentExecutePostData = {
|
|
4106
4144
|
/**
|
|
4107
4145
|
* Execution request parameters
|
|
@@ -5500,6 +5538,12 @@ declare const availableToolsList: <ThrowOnError extends boolean = false>(options
|
|
|
5500
5538
|
* Deletes an agent. Only allowed when all executions are in terminal status (completed, cancelled, or failed).
|
|
5501
5539
|
*/
|
|
5502
5540
|
declare const agentByIdDelete: <ThrowOnError extends boolean = false>(options: Options<AgentByIdDeleteData, ThrowOnError>) => RequestResult<AgentByIdDeleteResponses, AgentByIdDeleteErrors, ThrowOnError, "fields">;
|
|
5541
|
+
/**
|
|
5542
|
+
* Update agent
|
|
5543
|
+
*
|
|
5544
|
+
* Update mutable agent fields.
|
|
5545
|
+
*/
|
|
5546
|
+
declare const agentByIdUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentByIdUpdateData, ThrowOnError>) => RequestResult<AgentByIdUpdateResponses, AgentByIdUpdateErrors, ThrowOnError, "fields">;
|
|
5503
5547
|
/**
|
|
5504
5548
|
* Execute an agent
|
|
5505
5549
|
*
|
|
@@ -5729,4 +5773,4 @@ declare const schemaValidationValidate: <ThrowOnError extends boolean = false>(o
|
|
|
5729
5773
|
*/
|
|
5730
5774
|
declare const tempFilesStage: <ThrowOnError extends boolean = false>(options: Options<TempFilesStageData, ThrowOnError>) => RequestResult<TempFilesStageResponses, TempFilesStageErrors, ThrowOnError, "fields">;
|
|
5731
5775
|
|
|
5732
|
-
export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentSharedFileDownloadRedirectData, type AgentSharedFileDownloadRedirectError, type AgentSharedFileDownloadRedirectErrors, type AgentSharedFilesDeleteAllData, type AgentSharedFilesDeleteAllError, type AgentSharedFilesDeleteAllErrors, type AgentSharedFilesDeleteAllResponse, type AgentSharedFilesDeleteAllResponses, type AgentSharedFilesDeleteData, type AgentSharedFilesDeleteError, type AgentSharedFilesDeleteErrors, type AgentSharedFilesDeleteResponse, type AgentSharedFilesDeleteResponses, type AgentSharedFilesFreezeData, type AgentSharedFilesFreezeError, type AgentSharedFilesFreezeErrors, type AgentSharedFilesFreezeResponse, type AgentSharedFilesFreezeResponses, type AgentSharedFilesGetData, type AgentSharedFilesGetError, type AgentSharedFilesGetErrors, type AgentSharedFilesGetResponse, type AgentSharedFilesGetResponses, type AgentSharedFilesUpdateData, type AgentSharedFilesUpdateError, type AgentSharedFilesUpdateErrors, type AgentSharedFilesUpdateResponse, type AgentSharedFilesUpdateResponses, type AgentSharedFilesUploadData, type AgentSharedFilesUploadError, type AgentSharedFilesUploadErrors, type AgentSharedFilesUploadResponse, type AgentSharedFilesUploadResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentWorkflowsSyncExecutionData, type AgentWorkflowsSyncExecutionError, type AgentWorkflowsSyncExecutionErrors, type AgentWorkflowsSyncExecutionResponse, type AgentWorkflowsSyncExecutionResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateRequest, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionActivityWorkflowUpdatedPayload, type AgentsExecutionAdvisorCompletedDetails, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionPausedPayload, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionRulesDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchStatus, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTransitionDetails, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateType, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWorkflowUpdate, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesSetFrozenRequest, type AgentsFilesSharedFile, type AgentsFilesSharedFileUploadResponse, type AgentsFilesSharedFilesResponse, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsLlmProvider, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsSettings, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsGraphModelsTypeInputMethod, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearch, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowRequest, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentTemplate, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsTemplateConfig, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowSyncExecutionRequest, type AgentsWorkflowSyncExecutionResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowSnapshot, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, type Version, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentCreate, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentSharedFileDownloadRedirect, agentSharedFilesDelete, agentSharedFilesDeleteAll, agentSharedFilesFreeze, agentSharedFilesGet, agentSharedFilesUpdate, agentSharedFilesUpload, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsSyncExecution, availableToolsList, client, contextGet, docsSearchSearch, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage };
|
|
5776
|
+
export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentByIdUpdateData, type AgentByIdUpdateError, type AgentByIdUpdateErrors, type AgentByIdUpdateResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentSharedFileDownloadRedirectData, type AgentSharedFileDownloadRedirectError, type AgentSharedFileDownloadRedirectErrors, type AgentSharedFilesDeleteAllData, type AgentSharedFilesDeleteAllError, type AgentSharedFilesDeleteAllErrors, type AgentSharedFilesDeleteAllResponse, type AgentSharedFilesDeleteAllResponses, type AgentSharedFilesDeleteData, type AgentSharedFilesDeleteError, type AgentSharedFilesDeleteErrors, type AgentSharedFilesDeleteResponse, type AgentSharedFilesDeleteResponses, type AgentSharedFilesFreezeData, type AgentSharedFilesFreezeError, type AgentSharedFilesFreezeErrors, type AgentSharedFilesFreezeResponse, type AgentSharedFilesFreezeResponses, type AgentSharedFilesGetData, type AgentSharedFilesGetError, type AgentSharedFilesGetErrors, type AgentSharedFilesGetResponse, type AgentSharedFilesGetResponses, type AgentSharedFilesUpdateData, type AgentSharedFilesUpdateError, type AgentSharedFilesUpdateErrors, type AgentSharedFilesUpdateResponse, type AgentSharedFilesUpdateResponses, type AgentSharedFilesUploadData, type AgentSharedFilesUploadError, type AgentSharedFilesUploadErrors, type AgentSharedFilesUploadResponse, type AgentSharedFilesUploadResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentWorkflowsSyncExecutionData, type AgentWorkflowsSyncExecutionError, type AgentWorkflowsSyncExecutionErrors, type AgentWorkflowsSyncExecutionResponse, type AgentWorkflowsSyncExecutionResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateRequest, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentUpdateRequest, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionActivityWorkflowUpdatedPayload, type AgentsExecutionAdvisorCompletedDetails, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionPausedPayload, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionRulesDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchStatus, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTransitionDetails, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateType, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWorkflowUpdate, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesSetFrozenRequest, type AgentsFilesSharedFile, type AgentsFilesSharedFileUploadResponse, type AgentsFilesSharedFilesResponse, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsLlmProvider, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsSettings, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsGraphModelsTypeInputMethod, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearch, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowRequest, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentTemplate, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsTemplateConfig, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowSyncExecutionRequest, type AgentsWorkflowSyncExecutionResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowSnapshot, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, type Version, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentSharedFileDownloadRedirect, agentSharedFilesDelete, agentSharedFilesDeleteAll, agentSharedFilesFreeze, agentSharedFilesGet, agentSharedFilesUpdate, agentSharedFilesUpload, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsSyncExecution, availableToolsList, client, contextGet, docsSearchSearch, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage };
|
package/dist/index.js
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
|
|
5
5
|
`);b=M.pop()??"";for(let re of M){let oe=re.split(`
|
|
6
6
|
`),G=[],B;for(let h of oe)if(h.startsWith("data:"))G.push(h.replace(/^data:\s*/,""));else if(h.startsWith("event:"))B=h.replace(/^event:\s*/,"");else if(h.startsWith("id:"))f=h.replace(/^id:\s*/,"");else if(h.startsWith("retry:")){let N=Number.parseInt(h.replace(/^retry:\s*/,""),10);Number.isNaN(N)||(p=N);}let S,j=!1;if(G.length){let h=G.join(`
|
|
7
|
-
`);try{S=JSON.parse(h),j=!0;}catch{S=h;}}j&&(i&&await i(S),n&&(S=await n(S))),r?.({data:S,event:B,id:f,retry:p}),G.length&&(yield S);}}}finally{w.removeEventListener("abort",q),y.releaseLock();}break}catch(P){if(t?.(P),l!==void 0&&E>=l)break;let m=Math.min(p*2**(E-1),a??3e4);await O(m);}}}()}};var se=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},ne=e=>{switch(e){case "form":return ",";case "pipeDelimited":return "|";case "spaceDelimited":return "%20";default:return ","}},ie=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},W=({allowReserved:e,explode:t,name:r,style:n,value:i})=>{if(!t){let a=(e?i:i.map(c=>encodeURIComponent(c))).join(ne(n));switch(n){case "label":return `.${a}`;case "matrix":return `;${r}=${a}`;case "simple":return a;default:return `${r}=${a}`}}let d=se(n),l=i.map(a=>n==="label"||n==="simple"?e?a:encodeURIComponent(a):D({allowReserved:e,name:r,value:a})).join(d);return n==="label"||n==="matrix"?d+l:l},D=({allowReserved:e,name:t,value:r})=>{if(r==null)return "";if(typeof r=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return `${t}=${e?r:encodeURIComponent(r)}`},I=({allowReserved:e,explode:t,name:r,style:n,value:i,valueOnly:d})=>{if(i instanceof Date)return d?i.toISOString():`${r}=${i.toISOString()}`;if(n!=="deepObject"&&!t){let c=[];Object.entries(i).forEach(([s,f])=>{c=[...c,s,e?f:encodeURIComponent(f)];});let g=c.join(",");switch(n){case "form":return `${r}=${g}`;case "label":return `.${g}`;case "matrix":return `;${r}=${g}`;default:return g}}let l=ie(n),a=Object.entries(i).map(([c,g])=>D({allowReserved:e,name:n==="deepObject"?`${r}[${c}]`:c,value:g})).join(l);return n==="label"||n==="matrix"?l+a:a};var ae=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,n=t.match(ae);if(n)for(let i of n){let d=false,l=i.substring(1,i.length-1),a="simple";l.endsWith("*")&&(d=true,l=l.substring(0,l.length-1)),l.startsWith(".")?(l=l.substring(1),a="label"):l.startsWith(";")&&(l=l.substring(1),a="matrix");let c=e[l];if(c==null)continue;if(Array.isArray(c)){r=r.replace(i,W({explode:d,name:l,style:a,value:c}));continue}if(typeof c=="object"){r=r.replace(i,I({explode:d,name:l,style:a,value:c,valueOnly:true}));continue}if(a==="matrix"){r=r.replace(i,`;${D({name:l,value:c})}`);continue}let g=encodeURIComponent(a==="label"?`.${c}`:c);r=r.replace(i,g);}return r},H=({baseUrl:e,path:t,query:r,querySerializer:n,url:i})=>{let d=i.startsWith("/")?i:`/${i}`,l=(e??"")+d;t&&(l=le({path:t,url:l}));let a=r?n(r):"";return a.startsWith("?")&&(a=a.substring(1)),a&&(l+=`?${a}`),l};function $(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return "serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var Q=async(e,t)=>{let r=typeof t=="function"?await t(e):t;if(r)return e.scheme==="bearer"?`Bearer ${r}`:e.scheme==="basic"?`Basic ${btoa(r)}`:r};var J=({parameters:e={},...t}={})=>n=>{let i=[];if(n&&typeof n=="object")for(let d in n){let l=n[d];if(l==null)continue;let a=e[d]||t;if(Array.isArray(l)){let c=W({allowReserved:a.allowReserved,explode:true,name:d,style:"form",value:l,...a.array});c&&i.push(c);}else if(typeof l=="object"){let c=I({allowReserved:a.allowReserved,explode:true,name:d,style:"deepObject",value:l,...a.object});c&&i.push(c);}else {let c=D({allowReserved:a.allowReserved,name:d,value:l});c&&i.push(c);}}return i.join("&")},_=e=>{if(!e)return "stream";let t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return "json";if(t==="multipart/form-data")return "formData";if(["application/","audio/","image/","video/"].some(r=>t.startsWith(r)))return "blob";if(t.startsWith("text/"))return "text"}},ce=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false,Y=async({security:e,...t})=>{for(let r of e){if(ce(t,r.name))continue;let n=await Q(r,t.auth);if(!n)continue;let i=r.name??"Authorization";switch(r.in){case "query":t.query||(t.query={}),t.query[i]=n;break;case "cookie":t.headers.append("Cookie",`${i}=${n}`);break;default:t.headers.set(i,n);break}}},U=e=>H({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),K=(e,t)=>{let r={...e,...t};return r.baseUrl?.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=v(e.headers,t.headers),r},de=e=>{let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t},v=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let n=r instanceof Headers?de(r):Object.entries(r);for(let[i,d]of n)if(d===null)t.delete(i);else if(Array.isArray(d))for(let l of d)t.append(i,l);else d!==void 0&&t.set(i,typeof d=="object"?JSON.stringify(d):d);}return t},T=class{fns=[];clear(){this.fns=[];}eject(t){let r=this.getInterceptorIndex(t);this.fns[r]&&(this.fns[r]=null);}exists(t){let r=this.getInterceptorIndex(t);return !!this.fns[r]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,r){let n=this.getInterceptorIndex(t);return this.fns[n]?(this.fns[n]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new T,request:new T,response:new T}),pe=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),ge={"Content-Type":"application/json"},k=(e={})=>({...L,headers:ge,parseAs:"auto",querySerializer:pe,...e});var z=(e={})=>{let t=K(k(),e),r=()=>({...t}),n=g=>(t=K(t,g),r()),i=Z(),d=async g=>{let s={...t,...g,fetch:g.fetch??t.fetch??globalThis.fetch,headers:v(t.headers,g.headers),serializedBody:void 0};s.security&&await Y({...s,security:s.security}),s.requestValidator&&await s.requestValidator(s),s.body!==void 0&&s.bodySerializer&&(s.serializedBody=s.bodySerializer(s.body)),(s.body===void 0||s.serializedBody==="")&&s.headers.delete("Content-Type");let f=U(s);return {opts:s,url:f}},l=async g=>{let{opts:s,url:f}=await d(g),O={redirect:"follow",...s,body:$(s)},x=new Request(f,O);for(let A of i.request.fns)A&&(x=await A(x,s));let F=s.fetch,p;try{p=await F(x);}catch(A){let u=A;for(let y of i.error.fns)y&&(u=await y(A,void 0,x,s));if(u=u||{},s.throwOnError)throw u;return s.responseStyle==="data"?void 0:{error:u,request:x,response:void 0}}for(let A of i.response.fns)A&&(p=await A(p,x,s));let E={request:x,response:p};if(p.ok){let A=(s.parseAs==="auto"?_(p.headers.get("Content-Type")):s.parseAs)??"json";if(p.status===204||p.headers.get("Content-Length")==="0"){let y;switch(A){case "arrayBuffer":case "blob":case "text":y=await p[A]();break;case "formData":y=new FormData;break;case "stream":y=p.body;break;default:y={};break}return s.responseStyle==="data"?y:{data:y,...E}}let u;switch(A){case "arrayBuffer":case "blob":case "formData":case "json":case "text":u=await p[A]();break;case "stream":return s.responseStyle==="data"?p.body:{data:p.body,...E}}return A==="json"&&(s.responseValidator&&await s.responseValidator(u),s.responseTransformer&&(u=await s.responseTransformer(u))),s.responseStyle==="data"?u:{data:u,...E}}let w=await p.text(),C;try{C=JSON.parse(w);}catch{}let P=C??w,m=P;for(let A of i.error.fns)A&&(m=await A(P,p,x,s));if(m=m||{},s.throwOnError)throw m;return s.responseStyle==="data"?void 0:{error:m,...E}},a=g=>s=>l({...s,method:g}),c=g=>async s=>{let{opts:f,url:O}=await d(s);return V({...f,body:f.body,headers:f.headers,method:g,onRequest:async(x,F)=>{let p=new Request(x,F);for(let E of i.request.fns)E&&(p=await E(p,f));return p},url:O})};return {buildUrl:U,connect:a("CONNECT"),delete:a("DELETE"),get:a("GET"),getConfig:r,head:a("HEAD"),interceptors:i,options:a("OPTIONS"),patch:a("PATCH"),post:a("POST"),put:a("PUT"),request:l,setConfig:n,sse:{connect:c("CONNECT"),delete:c("DELETE"),get:c("GET"),head:c("HEAD"),options:c("OPTIONS"),patch:c("PATCH"),post:c("POST"),put:c("PUT"),trace:c("TRACE")},trace:a("TRACE")}};var o=z(k({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var Ae=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),ue=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),Ee=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),ye=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),he=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),me=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Se=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),De=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),Oe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),be=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),ke=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ge=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),We=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents",...e}),Ie=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),Ue=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ke=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files",...e}),ze=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files",...e,headers:{"Content-Type":null,...e.headers}}),qe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/delete-all",...e}),Me=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}",...e}),Be=e=>(e.client??o).put({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}",...e,headers:{"Content-Type":null,...e.headers}}),je=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}/download",...e}),Ne=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}/freeze",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),Ve=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),He=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),$e=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Qe=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Je=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),_e=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),Ye=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/sync-execution",...e,headers:{"Content-Type":"application/json",...e.headers}}),et=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/context",...e}),tt=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions",...e}),ot=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),st=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),nt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),it=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),at=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),lt=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),ct=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),dt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),gt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),At=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),ut=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),ft=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),Et=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}});
|
|
8
|
-
exports.adminCustomerActivityList=Ae;exports.adminCustomerActivityNotableList=ue;exports.adminCustomerActivityWindowStatsList=fe;exports.agentByIdDelete=Le;exports.agentCreate=
|
|
7
|
+
`);try{S=JSON.parse(h),j=!0;}catch{S=h;}}j&&(i&&await i(S),n&&(S=await n(S))),r?.({data:S,event:B,id:f,retry:p}),G.length&&(yield S);}}}finally{w.removeEventListener("abort",q),y.releaseLock();}break}catch(P){if(t?.(P),l!==void 0&&E>=l)break;let m=Math.min(p*2**(E-1),a??3e4);await O(m);}}}()}};var se=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},ne=e=>{switch(e){case "form":return ",";case "pipeDelimited":return "|";case "spaceDelimited":return "%20";default:return ","}},ie=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},I=({allowReserved:e,explode:t,name:r,style:n,value:i})=>{if(!t){let a=(e?i:i.map(c=>encodeURIComponent(c))).join(ne(n));switch(n){case "label":return `.${a}`;case "matrix":return `;${r}=${a}`;case "simple":return a;default:return `${r}=${a}`}}let d=se(n),l=i.map(a=>n==="label"||n==="simple"?e?a:encodeURIComponent(a):D({allowReserved:e,name:r,value:a})).join(d);return n==="label"||n==="matrix"?d+l:l},D=({allowReserved:e,name:t,value:r})=>{if(r==null)return "";if(typeof r=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return `${t}=${e?r:encodeURIComponent(r)}`},W=({allowReserved:e,explode:t,name:r,style:n,value:i,valueOnly:d})=>{if(i instanceof Date)return d?i.toISOString():`${r}=${i.toISOString()}`;if(n!=="deepObject"&&!t){let c=[];Object.entries(i).forEach(([s,f])=>{c=[...c,s,e?f:encodeURIComponent(f)];});let g=c.join(",");switch(n){case "form":return `${r}=${g}`;case "label":return `.${g}`;case "matrix":return `;${r}=${g}`;default:return g}}let l=ie(n),a=Object.entries(i).map(([c,g])=>D({allowReserved:e,name:n==="deepObject"?`${r}[${c}]`:c,value:g})).join(l);return n==="label"||n==="matrix"?l+a:a};var ae=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,n=t.match(ae);if(n)for(let i of n){let d=false,l=i.substring(1,i.length-1),a="simple";l.endsWith("*")&&(d=true,l=l.substring(0,l.length-1)),l.startsWith(".")?(l=l.substring(1),a="label"):l.startsWith(";")&&(l=l.substring(1),a="matrix");let c=e[l];if(c==null)continue;if(Array.isArray(c)){r=r.replace(i,I({explode:d,name:l,style:a,value:c}));continue}if(typeof c=="object"){r=r.replace(i,W({explode:d,name:l,style:a,value:c,valueOnly:true}));continue}if(a==="matrix"){r=r.replace(i,`;${D({name:l,value:c})}`);continue}let g=encodeURIComponent(a==="label"?`.${c}`:c);r=r.replace(i,g);}return r},H=({baseUrl:e,path:t,query:r,querySerializer:n,url:i})=>{let d=i.startsWith("/")?i:`/${i}`,l=(e??"")+d;t&&(l=le({path:t,url:l}));let a=r?n(r):"";return a.startsWith("?")&&(a=a.substring(1)),a&&(l+=`?${a}`),l};function $(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return "serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var Q=async(e,t)=>{let r=typeof t=="function"?await t(e):t;if(r)return e.scheme==="bearer"?`Bearer ${r}`:e.scheme==="basic"?`Basic ${btoa(r)}`:r};var J=({parameters:e={},...t}={})=>n=>{let i=[];if(n&&typeof n=="object")for(let d in n){let l=n[d];if(l==null)continue;let a=e[d]||t;if(Array.isArray(l)){let c=I({allowReserved:a.allowReserved,explode:true,name:d,style:"form",value:l,...a.array});c&&i.push(c);}else if(typeof l=="object"){let c=W({allowReserved:a.allowReserved,explode:true,name:d,style:"deepObject",value:l,...a.object});c&&i.push(c);}else {let c=D({allowReserved:a.allowReserved,name:d,value:l});c&&i.push(c);}}return i.join("&")},_=e=>{if(!e)return "stream";let t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return "json";if(t==="multipart/form-data")return "formData";if(["application/","audio/","image/","video/"].some(r=>t.startsWith(r)))return "blob";if(t.startsWith("text/"))return "text"}},ce=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false,Y=async({security:e,...t})=>{for(let r of e){if(ce(t,r.name))continue;let n=await Q(r,t.auth);if(!n)continue;let i=r.name??"Authorization";switch(r.in){case "query":t.query||(t.query={}),t.query[i]=n;break;case "cookie":t.headers.append("Cookie",`${i}=${n}`);break;default:t.headers.set(i,n);break}}},U=e=>H({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),K=(e,t)=>{let r={...e,...t};return r.baseUrl?.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=v(e.headers,t.headers),r},de=e=>{let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t},v=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let n=r instanceof Headers?de(r):Object.entries(r);for(let[i,d]of n)if(d===null)t.delete(i);else if(Array.isArray(d))for(let l of d)t.append(i,l);else d!==void 0&&t.set(i,typeof d=="object"?JSON.stringify(d):d);}return t},T=class{fns=[];clear(){this.fns=[];}eject(t){let r=this.getInterceptorIndex(t);this.fns[r]&&(this.fns[r]=null);}exists(t){let r=this.getInterceptorIndex(t);return !!this.fns[r]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,r){let n=this.getInterceptorIndex(t);return this.fns[n]?(this.fns[n]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new T,request:new T,response:new T}),pe=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),ge={"Content-Type":"application/json"},k=(e={})=>({...L,headers:ge,parseAs:"auto",querySerializer:pe,...e});var z=(e={})=>{let t=K(k(),e),r=()=>({...t}),n=g=>(t=K(t,g),r()),i=Z(),d=async g=>{let s={...t,...g,fetch:g.fetch??t.fetch??globalThis.fetch,headers:v(t.headers,g.headers),serializedBody:void 0};s.security&&await Y({...s,security:s.security}),s.requestValidator&&await s.requestValidator(s),s.body!==void 0&&s.bodySerializer&&(s.serializedBody=s.bodySerializer(s.body)),(s.body===void 0||s.serializedBody==="")&&s.headers.delete("Content-Type");let f=U(s);return {opts:s,url:f}},l=async g=>{let{opts:s,url:f}=await d(g),O={redirect:"follow",...s,body:$(s)},x=new Request(f,O);for(let A of i.request.fns)A&&(x=await A(x,s));let F=s.fetch,p;try{p=await F(x);}catch(A){let u=A;for(let y of i.error.fns)y&&(u=await y(A,void 0,x,s));if(u=u||{},s.throwOnError)throw u;return s.responseStyle==="data"?void 0:{error:u,request:x,response:void 0}}for(let A of i.response.fns)A&&(p=await A(p,x,s));let E={request:x,response:p};if(p.ok){let A=(s.parseAs==="auto"?_(p.headers.get("Content-Type")):s.parseAs)??"json";if(p.status===204||p.headers.get("Content-Length")==="0"){let y;switch(A){case "arrayBuffer":case "blob":case "text":y=await p[A]();break;case "formData":y=new FormData;break;case "stream":y=p.body;break;default:y={};break}return s.responseStyle==="data"?y:{data:y,...E}}let u;switch(A){case "arrayBuffer":case "blob":case "formData":case "json":case "text":u=await p[A]();break;case "stream":return s.responseStyle==="data"?p.body:{data:p.body,...E}}return A==="json"&&(s.responseValidator&&await s.responseValidator(u),s.responseTransformer&&(u=await s.responseTransformer(u))),s.responseStyle==="data"?u:{data:u,...E}}let w=await p.text(),C;try{C=JSON.parse(w);}catch{}let P=C??w,m=P;for(let A of i.error.fns)A&&(m=await A(P,p,x,s));if(m=m||{},s.throwOnError)throw m;return s.responseStyle==="data"?void 0:{error:m,...E}},a=g=>s=>l({...s,method:g}),c=g=>async s=>{let{opts:f,url:O}=await d(s);return V({...f,body:f.body,headers:f.headers,method:g,onRequest:async(x,F)=>{let p=new Request(x,F);for(let E of i.request.fns)E&&(p=await E(p,f));return p},url:O})};return {buildUrl:U,connect:a("CONNECT"),delete:a("DELETE"),get:a("GET"),getConfig:r,head:a("HEAD"),interceptors:i,options:a("OPTIONS"),patch:a("PATCH"),post:a("POST"),put:a("PUT"),request:l,setConfig:n,sse:{connect:c("CONNECT"),delete:c("DELETE"),get:c("GET"),head:c("HEAD"),options:c("OPTIONS"),patch:c("PATCH"),post:c("POST"),put:c("PUT"),trace:c("TRACE")},trace:a("TRACE")}};var o=z(k({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var Ae=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),ue=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),Ee=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),ye=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),he=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),me=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Se=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),De=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),Oe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),be=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),ke=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ge=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),Ie=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents",...e}),We=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),Ue=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ke=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),ze=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files",...e}),qe=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files",...e,headers:{"Content-Type":null,...e.headers}}),Me=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/delete-all",...e}),Be=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}",...e}),je=e=>(e.client??o).put({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}",...e,headers:{"Content-Type":null,...e.headers}}),Ne=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}/download",...e}),Xe=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}/freeze",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),He=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),$e=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Qe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Je=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),_e=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),Ye=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),et=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/sync-execution",...e,headers:{"Content-Type":"application/json",...e.headers}}),tt=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/context",...e}),rt=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),ot=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions",...e}),st=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),nt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),it=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),at=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),lt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),ct=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),dt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),gt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),At=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),ft=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),Et=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}});
|
|
8
|
+
exports.adminCustomerActivityList=Ae;exports.adminCustomerActivityNotableList=ue;exports.adminCustomerActivityWindowStatsList=fe;exports.agentByIdDelete=Le;exports.agentByIdUpdate=Ue;exports.agentCreate=We;exports.agentExecutePost=Ke;exports.agentList=Ie;exports.agentProfileClearBrowserCache=Te;exports.agentProfileDelete=Oe;exports.agentProfileDuplicate=ke;exports.agentProfileGet=Ce;exports.agentProfileGetInboxEmail=Ge;exports.agentProfileGetInboxEmails=Fe;exports.agentProfilePoolDelete=xe;exports.agentProfilePoolGet=he;exports.agentProfilePoolMembersAdd=Se;exports.agentProfilePoolMembersList=Pe;exports.agentProfilePoolMembersRemove=we;exports.agentProfilePoolUpdate=me;exports.agentProfilePoolsCreate=ye;exports.agentProfilePoolsList=Ee;exports.agentProfileUpdate=be;exports.agentProfilesCreate=De;exports.agentProfilesList=Re;exports.agentSharedFileDownloadRedirect=Ne;exports.agentSharedFilesDelete=Be;exports.agentSharedFilesDeleteAll=Me;exports.agentSharedFilesFreeze=Xe;exports.agentSharedFilesGet=ze;exports.agentSharedFilesUpdate=je;exports.agentSharedFilesUpload=qe;exports.agentWorkflowsCreate=He;exports.agentWorkflowsDeleteWorkflow=$e;exports.agentWorkflowsExecute=Je;exports.agentWorkflowsGet=Qe;exports.agentWorkflowsGetInputs=_e;exports.agentWorkflowsGetOutputSchemas=Ye;exports.agentWorkflowsList=Ve;exports.agentWorkflowsPublish=Ze;exports.agentWorkflowsSyncExecution=et;exports.availableToolsList=ve;exports.client=o;exports.contextGet=tt;exports.docsSearchSearch=rt;exports.executionActivitiesGet=nt;exports.executionAgentFileDownloadRedirect=at;exports.executionAgentFilesGet=it;exports.executionContextFileDownloadRedirect=dt;exports.executionContextFilesGet=lt;exports.executionContextFilesUpload=ct;exports.executionDebugFileDownloadRedirect=pt;exports.executionFileDownloadRedirect=At;exports.executionFilesGet=gt;exports.executionGet=st;exports.executionRecordingRedirect=ut;exports.executionStatusUpdate=ft;exports.executionUserMessagesAdd=Et;exports.executionsList=ot;exports.schemaValidationValidate=yt;exports.tempFilesStage=xt;
|
package/dist/index.mjs
CHANGED
|
@@ -4,5 +4,5 @@ var X=(e,t,r)=>{typeof r=="string"||r instanceof Blob?e.append(t,r):r instanceof
|
|
|
4
4
|
|
|
5
5
|
`);b=M.pop()??"";for(let re of M){let oe=re.split(`
|
|
6
6
|
`),G=[],B;for(let h of oe)if(h.startsWith("data:"))G.push(h.replace(/^data:\s*/,""));else if(h.startsWith("event:"))B=h.replace(/^event:\s*/,"");else if(h.startsWith("id:"))f=h.replace(/^id:\s*/,"");else if(h.startsWith("retry:")){let N=Number.parseInt(h.replace(/^retry:\s*/,""),10);Number.isNaN(N)||(p=N);}let S,j=!1;if(G.length){let h=G.join(`
|
|
7
|
-
`);try{S=JSON.parse(h),j=!0;}catch{S=h;}}j&&(i&&await i(S),n&&(S=await n(S))),r?.({data:S,event:B,id:f,retry:p}),G.length&&(yield S);}}}finally{w.removeEventListener("abort",q),y.releaseLock();}break}catch(P){if(t?.(P),l!==void 0&&E>=l)break;let m=Math.min(p*2**(E-1),a??3e4);await O(m);}}}()}};var se=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},ne=e=>{switch(e){case "form":return ",";case "pipeDelimited":return "|";case "spaceDelimited":return "%20";default:return ","}},ie=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},W=({allowReserved:e,explode:t,name:r,style:n,value:i})=>{if(!t){let a=(e?i:i.map(c=>encodeURIComponent(c))).join(ne(n));switch(n){case "label":return `.${a}`;case "matrix":return `;${r}=${a}`;case "simple":return a;default:return `${r}=${a}`}}let d=se(n),l=i.map(a=>n==="label"||n==="simple"?e?a:encodeURIComponent(a):D({allowReserved:e,name:r,value:a})).join(d);return n==="label"||n==="matrix"?d+l:l},D=({allowReserved:e,name:t,value:r})=>{if(r==null)return "";if(typeof r=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return `${t}=${e?r:encodeURIComponent(r)}`},I=({allowReserved:e,explode:t,name:r,style:n,value:i,valueOnly:d})=>{if(i instanceof Date)return d?i.toISOString():`${r}=${i.toISOString()}`;if(n!=="deepObject"&&!t){let c=[];Object.entries(i).forEach(([s,f])=>{c=[...c,s,e?f:encodeURIComponent(f)];});let g=c.join(",");switch(n){case "form":return `${r}=${g}`;case "label":return `.${g}`;case "matrix":return `;${r}=${g}`;default:return g}}let l=ie(n),a=Object.entries(i).map(([c,g])=>D({allowReserved:e,name:n==="deepObject"?`${r}[${c}]`:c,value:g})).join(l);return n==="label"||n==="matrix"?l+a:a};var ae=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,n=t.match(ae);if(n)for(let i of n){let d=false,l=i.substring(1,i.length-1),a="simple";l.endsWith("*")&&(d=true,l=l.substring(0,l.length-1)),l.startsWith(".")?(l=l.substring(1),a="label"):l.startsWith(";")&&(l=l.substring(1),a="matrix");let c=e[l];if(c==null)continue;if(Array.isArray(c)){r=r.replace(i,W({explode:d,name:l,style:a,value:c}));continue}if(typeof c=="object"){r=r.replace(i,I({explode:d,name:l,style:a,value:c,valueOnly:true}));continue}if(a==="matrix"){r=r.replace(i,`;${D({name:l,value:c})}`);continue}let g=encodeURIComponent(a==="label"?`.${c}`:c);r=r.replace(i,g);}return r},H=({baseUrl:e,path:t,query:r,querySerializer:n,url:i})=>{let d=i.startsWith("/")?i:`/${i}`,l=(e??"")+d;t&&(l=le({path:t,url:l}));let a=r?n(r):"";return a.startsWith("?")&&(a=a.substring(1)),a&&(l+=`?${a}`),l};function $(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return "serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var Q=async(e,t)=>{let r=typeof t=="function"?await t(e):t;if(r)return e.scheme==="bearer"?`Bearer ${r}`:e.scheme==="basic"?`Basic ${btoa(r)}`:r};var J=({parameters:e={},...t}={})=>n=>{let i=[];if(n&&typeof n=="object")for(let d in n){let l=n[d];if(l==null)continue;let a=e[d]||t;if(Array.isArray(l)){let c=W({allowReserved:a.allowReserved,explode:true,name:d,style:"form",value:l,...a.array});c&&i.push(c);}else if(typeof l=="object"){let c=I({allowReserved:a.allowReserved,explode:true,name:d,style:"deepObject",value:l,...a.object});c&&i.push(c);}else {let c=D({allowReserved:a.allowReserved,name:d,value:l});c&&i.push(c);}}return i.join("&")},_=e=>{if(!e)return "stream";let t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return "json";if(t==="multipart/form-data")return "formData";if(["application/","audio/","image/","video/"].some(r=>t.startsWith(r)))return "blob";if(t.startsWith("text/"))return "text"}},ce=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false,Y=async({security:e,...t})=>{for(let r of e){if(ce(t,r.name))continue;let n=await Q(r,t.auth);if(!n)continue;let i=r.name??"Authorization";switch(r.in){case "query":t.query||(t.query={}),t.query[i]=n;break;case "cookie":t.headers.append("Cookie",`${i}=${n}`);break;default:t.headers.set(i,n);break}}},U=e=>H({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),K=(e,t)=>{let r={...e,...t};return r.baseUrl?.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=v(e.headers,t.headers),r},de=e=>{let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t},v=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let n=r instanceof Headers?de(r):Object.entries(r);for(let[i,d]of n)if(d===null)t.delete(i);else if(Array.isArray(d))for(let l of d)t.append(i,l);else d!==void 0&&t.set(i,typeof d=="object"?JSON.stringify(d):d);}return t},T=class{fns=[];clear(){this.fns=[];}eject(t){let r=this.getInterceptorIndex(t);this.fns[r]&&(this.fns[r]=null);}exists(t){let r=this.getInterceptorIndex(t);return !!this.fns[r]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,r){let n=this.getInterceptorIndex(t);return this.fns[n]?(this.fns[n]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new T,request:new T,response:new T}),pe=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),ge={"Content-Type":"application/json"},k=(e={})=>({...L,headers:ge,parseAs:"auto",querySerializer:pe,...e});var z=(e={})=>{let t=K(k(),e),r=()=>({...t}),n=g=>(t=K(t,g),r()),i=Z(),d=async g=>{let s={...t,...g,fetch:g.fetch??t.fetch??globalThis.fetch,headers:v(t.headers,g.headers),serializedBody:void 0};s.security&&await Y({...s,security:s.security}),s.requestValidator&&await s.requestValidator(s),s.body!==void 0&&s.bodySerializer&&(s.serializedBody=s.bodySerializer(s.body)),(s.body===void 0||s.serializedBody==="")&&s.headers.delete("Content-Type");let f=U(s);return {opts:s,url:f}},l=async g=>{let{opts:s,url:f}=await d(g),O={redirect:"follow",...s,body:$(s)},x=new Request(f,O);for(let A of i.request.fns)A&&(x=await A(x,s));let F=s.fetch,p;try{p=await F(x);}catch(A){let u=A;for(let y of i.error.fns)y&&(u=await y(A,void 0,x,s));if(u=u||{},s.throwOnError)throw u;return s.responseStyle==="data"?void 0:{error:u,request:x,response:void 0}}for(let A of i.response.fns)A&&(p=await A(p,x,s));let E={request:x,response:p};if(p.ok){let A=(s.parseAs==="auto"?_(p.headers.get("Content-Type")):s.parseAs)??"json";if(p.status===204||p.headers.get("Content-Length")==="0"){let y;switch(A){case "arrayBuffer":case "blob":case "text":y=await p[A]();break;case "formData":y=new FormData;break;case "stream":y=p.body;break;default:y={};break}return s.responseStyle==="data"?y:{data:y,...E}}let u;switch(A){case "arrayBuffer":case "blob":case "formData":case "json":case "text":u=await p[A]();break;case "stream":return s.responseStyle==="data"?p.body:{data:p.body,...E}}return A==="json"&&(s.responseValidator&&await s.responseValidator(u),s.responseTransformer&&(u=await s.responseTransformer(u))),s.responseStyle==="data"?u:{data:u,...E}}let w=await p.text(),C;try{C=JSON.parse(w);}catch{}let P=C??w,m=P;for(let A of i.error.fns)A&&(m=await A(P,p,x,s));if(m=m||{},s.throwOnError)throw m;return s.responseStyle==="data"?void 0:{error:m,...E}},a=g=>s=>l({...s,method:g}),c=g=>async s=>{let{opts:f,url:O}=await d(s);return V({...f,body:f.body,headers:f.headers,method:g,onRequest:async(x,F)=>{let p=new Request(x,F);for(let E of i.request.fns)E&&(p=await E(p,f));return p},url:O})};return {buildUrl:U,connect:a("CONNECT"),delete:a("DELETE"),get:a("GET"),getConfig:r,head:a("HEAD"),interceptors:i,options:a("OPTIONS"),patch:a("PATCH"),post:a("POST"),put:a("PUT"),request:l,setConfig:n,sse:{connect:c("CONNECT"),delete:c("DELETE"),get:c("GET"),head:c("HEAD"),options:c("OPTIONS"),patch:c("PATCH"),post:c("POST"),put:c("PUT"),trace:c("TRACE")},trace:a("TRACE")}};var o=z(k({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var Ae=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),ue=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),Ee=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),ye=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),he=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),me=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Se=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),De=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),Oe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),be=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),ke=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ge=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),We=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents",...e}),Ie=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),Ue=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ke=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files",...e}),ze=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files",...e,headers:{"Content-Type":null,...e.headers}}),qe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/delete-all",...e}),Me=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}",...e}),Be=e=>(e.client??o).put({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}",...e,headers:{"Content-Type":null,...e.headers}}),je=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}/download",...e}),Ne=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}/freeze",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),Ve=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),He=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),$e=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Qe=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Je=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),_e=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),Ye=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/sync-execution",...e,headers:{"Content-Type":"application/json",...e.headers}}),et=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/context",...e}),tt=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions",...e}),ot=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),st=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),nt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),it=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),at=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),lt=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),ct=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),dt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),gt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),At=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),ut=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),ft=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),Et=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}});
|
|
8
|
-
export{Ae as adminCustomerActivityList,ue as adminCustomerActivityNotableList,fe as adminCustomerActivityWindowStatsList,Le as agentByIdDelete,
|
|
7
|
+
`);try{S=JSON.parse(h),j=!0;}catch{S=h;}}j&&(i&&await i(S),n&&(S=await n(S))),r?.({data:S,event:B,id:f,retry:p}),G.length&&(yield S);}}}finally{w.removeEventListener("abort",q),y.releaseLock();}break}catch(P){if(t?.(P),l!==void 0&&E>=l)break;let m=Math.min(p*2**(E-1),a??3e4);await O(m);}}}()}};var se=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},ne=e=>{switch(e){case "form":return ",";case "pipeDelimited":return "|";case "spaceDelimited":return "%20";default:return ","}},ie=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},I=({allowReserved:e,explode:t,name:r,style:n,value:i})=>{if(!t){let a=(e?i:i.map(c=>encodeURIComponent(c))).join(ne(n));switch(n){case "label":return `.${a}`;case "matrix":return `;${r}=${a}`;case "simple":return a;default:return `${r}=${a}`}}let d=se(n),l=i.map(a=>n==="label"||n==="simple"?e?a:encodeURIComponent(a):D({allowReserved:e,name:r,value:a})).join(d);return n==="label"||n==="matrix"?d+l:l},D=({allowReserved:e,name:t,value:r})=>{if(r==null)return "";if(typeof r=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return `${t}=${e?r:encodeURIComponent(r)}`},W=({allowReserved:e,explode:t,name:r,style:n,value:i,valueOnly:d})=>{if(i instanceof Date)return d?i.toISOString():`${r}=${i.toISOString()}`;if(n!=="deepObject"&&!t){let c=[];Object.entries(i).forEach(([s,f])=>{c=[...c,s,e?f:encodeURIComponent(f)];});let g=c.join(",");switch(n){case "form":return `${r}=${g}`;case "label":return `.${g}`;case "matrix":return `;${r}=${g}`;default:return g}}let l=ie(n),a=Object.entries(i).map(([c,g])=>D({allowReserved:e,name:n==="deepObject"?`${r}[${c}]`:c,value:g})).join(l);return n==="label"||n==="matrix"?l+a:a};var ae=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,n=t.match(ae);if(n)for(let i of n){let d=false,l=i.substring(1,i.length-1),a="simple";l.endsWith("*")&&(d=true,l=l.substring(0,l.length-1)),l.startsWith(".")?(l=l.substring(1),a="label"):l.startsWith(";")&&(l=l.substring(1),a="matrix");let c=e[l];if(c==null)continue;if(Array.isArray(c)){r=r.replace(i,I({explode:d,name:l,style:a,value:c}));continue}if(typeof c=="object"){r=r.replace(i,W({explode:d,name:l,style:a,value:c,valueOnly:true}));continue}if(a==="matrix"){r=r.replace(i,`;${D({name:l,value:c})}`);continue}let g=encodeURIComponent(a==="label"?`.${c}`:c);r=r.replace(i,g);}return r},H=({baseUrl:e,path:t,query:r,querySerializer:n,url:i})=>{let d=i.startsWith("/")?i:`/${i}`,l=(e??"")+d;t&&(l=le({path:t,url:l}));let a=r?n(r):"";return a.startsWith("?")&&(a=a.substring(1)),a&&(l+=`?${a}`),l};function $(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return "serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var Q=async(e,t)=>{let r=typeof t=="function"?await t(e):t;if(r)return e.scheme==="bearer"?`Bearer ${r}`:e.scheme==="basic"?`Basic ${btoa(r)}`:r};var J=({parameters:e={},...t}={})=>n=>{let i=[];if(n&&typeof n=="object")for(let d in n){let l=n[d];if(l==null)continue;let a=e[d]||t;if(Array.isArray(l)){let c=I({allowReserved:a.allowReserved,explode:true,name:d,style:"form",value:l,...a.array});c&&i.push(c);}else if(typeof l=="object"){let c=W({allowReserved:a.allowReserved,explode:true,name:d,style:"deepObject",value:l,...a.object});c&&i.push(c);}else {let c=D({allowReserved:a.allowReserved,name:d,value:l});c&&i.push(c);}}return i.join("&")},_=e=>{if(!e)return "stream";let t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return "json";if(t==="multipart/form-data")return "formData";if(["application/","audio/","image/","video/"].some(r=>t.startsWith(r)))return "blob";if(t.startsWith("text/"))return "text"}},ce=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false,Y=async({security:e,...t})=>{for(let r of e){if(ce(t,r.name))continue;let n=await Q(r,t.auth);if(!n)continue;let i=r.name??"Authorization";switch(r.in){case "query":t.query||(t.query={}),t.query[i]=n;break;case "cookie":t.headers.append("Cookie",`${i}=${n}`);break;default:t.headers.set(i,n);break}}},U=e=>H({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),K=(e,t)=>{let r={...e,...t};return r.baseUrl?.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=v(e.headers,t.headers),r},de=e=>{let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t},v=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let n=r instanceof Headers?de(r):Object.entries(r);for(let[i,d]of n)if(d===null)t.delete(i);else if(Array.isArray(d))for(let l of d)t.append(i,l);else d!==void 0&&t.set(i,typeof d=="object"?JSON.stringify(d):d);}return t},T=class{fns=[];clear(){this.fns=[];}eject(t){let r=this.getInterceptorIndex(t);this.fns[r]&&(this.fns[r]=null);}exists(t){let r=this.getInterceptorIndex(t);return !!this.fns[r]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,r){let n=this.getInterceptorIndex(t);return this.fns[n]?(this.fns[n]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new T,request:new T,response:new T}),pe=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),ge={"Content-Type":"application/json"},k=(e={})=>({...L,headers:ge,parseAs:"auto",querySerializer:pe,...e});var z=(e={})=>{let t=K(k(),e),r=()=>({...t}),n=g=>(t=K(t,g),r()),i=Z(),d=async g=>{let s={...t,...g,fetch:g.fetch??t.fetch??globalThis.fetch,headers:v(t.headers,g.headers),serializedBody:void 0};s.security&&await Y({...s,security:s.security}),s.requestValidator&&await s.requestValidator(s),s.body!==void 0&&s.bodySerializer&&(s.serializedBody=s.bodySerializer(s.body)),(s.body===void 0||s.serializedBody==="")&&s.headers.delete("Content-Type");let f=U(s);return {opts:s,url:f}},l=async g=>{let{opts:s,url:f}=await d(g),O={redirect:"follow",...s,body:$(s)},x=new Request(f,O);for(let A of i.request.fns)A&&(x=await A(x,s));let F=s.fetch,p;try{p=await F(x);}catch(A){let u=A;for(let y of i.error.fns)y&&(u=await y(A,void 0,x,s));if(u=u||{},s.throwOnError)throw u;return s.responseStyle==="data"?void 0:{error:u,request:x,response:void 0}}for(let A of i.response.fns)A&&(p=await A(p,x,s));let E={request:x,response:p};if(p.ok){let A=(s.parseAs==="auto"?_(p.headers.get("Content-Type")):s.parseAs)??"json";if(p.status===204||p.headers.get("Content-Length")==="0"){let y;switch(A){case "arrayBuffer":case "blob":case "text":y=await p[A]();break;case "formData":y=new FormData;break;case "stream":y=p.body;break;default:y={};break}return s.responseStyle==="data"?y:{data:y,...E}}let u;switch(A){case "arrayBuffer":case "blob":case "formData":case "json":case "text":u=await p[A]();break;case "stream":return s.responseStyle==="data"?p.body:{data:p.body,...E}}return A==="json"&&(s.responseValidator&&await s.responseValidator(u),s.responseTransformer&&(u=await s.responseTransformer(u))),s.responseStyle==="data"?u:{data:u,...E}}let w=await p.text(),C;try{C=JSON.parse(w);}catch{}let P=C??w,m=P;for(let A of i.error.fns)A&&(m=await A(P,p,x,s));if(m=m||{},s.throwOnError)throw m;return s.responseStyle==="data"?void 0:{error:m,...E}},a=g=>s=>l({...s,method:g}),c=g=>async s=>{let{opts:f,url:O}=await d(s);return V({...f,body:f.body,headers:f.headers,method:g,onRequest:async(x,F)=>{let p=new Request(x,F);for(let E of i.request.fns)E&&(p=await E(p,f));return p},url:O})};return {buildUrl:U,connect:a("CONNECT"),delete:a("DELETE"),get:a("GET"),getConfig:r,head:a("HEAD"),interceptors:i,options:a("OPTIONS"),patch:a("PATCH"),post:a("POST"),put:a("PUT"),request:l,setConfig:n,sse:{connect:c("CONNECT"),delete:c("DELETE"),get:c("GET"),head:c("HEAD"),options:c("OPTIONS"),patch:c("PATCH"),post:c("POST"),put:c("PUT"),trace:c("TRACE")},trace:a("TRACE")}};var o=z(k({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var Ae=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),ue=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),Ee=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),ye=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),he=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),me=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Se=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),De=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),Oe=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),be=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),ke=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ge=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),Ie=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents",...e}),We=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),Ue=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ke=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),ze=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files",...e}),qe=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files",...e,headers:{"Content-Type":null,...e.headers}}),Me=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/delete-all",...e}),Be=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}",...e}),je=e=>(e.client??o).put({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}",...e,headers:{"Content-Type":null,...e.headers}}),Ne=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}/download",...e}),Xe=e=>(e.client??o).patch({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/shared-files/{fileId}/freeze",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),He=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),$e=e=>(e.client??o).delete({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Qe=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Je=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),_e=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),Ye=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),et=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/sync-execution",...e,headers:{"Content-Type":"application/json",...e.headers}}),tt=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/context",...e}),rt=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),ot=e=>(e?.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions",...e}),st=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),nt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),it=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),at=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),lt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),ct=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),dt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),gt=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),At=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),ft=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),Et=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(e.client??o).post({...R,security:[{name:"X-Asteroid-Agents-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}});
|
|
8
|
+
export{Ae as adminCustomerActivityList,ue as adminCustomerActivityNotableList,fe as adminCustomerActivityWindowStatsList,Le as agentByIdDelete,Ue as agentByIdUpdate,We as agentCreate,Ke as agentExecutePost,Ie as agentList,Te as agentProfileClearBrowserCache,Oe as agentProfileDelete,ke as agentProfileDuplicate,Ce as agentProfileGet,Ge as agentProfileGetInboxEmail,Fe as agentProfileGetInboxEmails,xe as agentProfilePoolDelete,he as agentProfilePoolGet,Se as agentProfilePoolMembersAdd,Pe as agentProfilePoolMembersList,we as agentProfilePoolMembersRemove,me as agentProfilePoolUpdate,ye as agentProfilePoolsCreate,Ee as agentProfilePoolsList,be as agentProfileUpdate,De as agentProfilesCreate,Re as agentProfilesList,Ne as agentSharedFileDownloadRedirect,Be as agentSharedFilesDelete,Me as agentSharedFilesDeleteAll,Xe as agentSharedFilesFreeze,ze as agentSharedFilesGet,je as agentSharedFilesUpdate,qe as agentSharedFilesUpload,He as agentWorkflowsCreate,$e as agentWorkflowsDeleteWorkflow,Je as agentWorkflowsExecute,Qe as agentWorkflowsGet,_e as agentWorkflowsGetInputs,Ye as agentWorkflowsGetOutputSchemas,Ve as agentWorkflowsList,Ze as agentWorkflowsPublish,et as agentWorkflowsSyncExecution,ve as availableToolsList,o as client,tt as contextGet,rt as docsSearchSearch,nt as executionActivitiesGet,at as executionAgentFileDownloadRedirect,it as executionAgentFilesGet,dt as executionContextFileDownloadRedirect,lt as executionContextFilesGet,ct as executionContextFilesUpload,pt as executionDebugFileDownloadRedirect,At as executionFileDownloadRedirect,gt as executionFilesGet,st as executionGet,ut as executionRecordingRedirect,ft as executionStatusUpdate,Et as executionUserMessagesAdd,ot as executionsList,yt as schemaValidationValidate,xt as tempFilesStage};
|