asteroid-odyssey 1.8.57 → 1.8.77
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 +120 -7
- package/dist/index.d.ts +120 -7
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -428,6 +428,77 @@ type AgentsAgentExecuteAgentResponse = {
|
|
|
428
428
|
*/
|
|
429
429
|
status?: AgentsExecutionStatus;
|
|
430
430
|
};
|
|
431
|
+
/**
|
|
432
|
+
* Execute-and-wait request parameters
|
|
433
|
+
*/
|
|
434
|
+
type AgentsAgentExecuteAgentSyncRequest = {
|
|
435
|
+
/**
|
|
436
|
+
* The ID of the agent profile to use for this execution. Mutually exclusive with agentProfilePoolId.
|
|
437
|
+
*/
|
|
438
|
+
agentProfileId?: CommonUuid;
|
|
439
|
+
/**
|
|
440
|
+
* The ID of the agent profile pool to select a profile from. Mutually exclusive with agentProfileId.
|
|
441
|
+
*/
|
|
442
|
+
agentProfilePoolId?: CommonUuid;
|
|
443
|
+
/**
|
|
444
|
+
* Inputs to be merged into the placeholders defined in prompts
|
|
445
|
+
*/
|
|
446
|
+
inputs?: {
|
|
447
|
+
[key: string]: unknown;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* Deprecated: Use 'inputs' instead. Inputs to be merged into the placeholders defined in prompts
|
|
451
|
+
*
|
|
452
|
+
* @deprecated
|
|
453
|
+
*/
|
|
454
|
+
dynamicData?: {
|
|
455
|
+
[key: string]: unknown;
|
|
456
|
+
};
|
|
457
|
+
/**
|
|
458
|
+
* Array of temporary files to attach to the execution. Must have been pre-uploaded using the stage file endpoint
|
|
459
|
+
*/
|
|
460
|
+
tempFiles?: Array<AgentsFilesTempFile>;
|
|
461
|
+
/**
|
|
462
|
+
* Optional metadata key-value pairs (string keys and string values) for organizing and filtering executions
|
|
463
|
+
*/
|
|
464
|
+
metadata?: {
|
|
465
|
+
[key: string]: unknown;
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* The version of the agent to execute. If not provided, the published version will be used.
|
|
469
|
+
*/
|
|
470
|
+
version?: number;
|
|
471
|
+
/**
|
|
472
|
+
* Per-execution runtime options that override or extend the agent's default settings.
|
|
473
|
+
*/
|
|
474
|
+
executionOptions?: AgentsAgentExecutionOptions;
|
|
475
|
+
/**
|
|
476
|
+
* What to do when the execution cannot start right now because the organisation is at
|
|
477
|
+
* its concurrency limit or every profile in the pool is in use. "reject" (the default)
|
|
478
|
+
* fails the request as today. "queue" accepts it: the execution is created in the
|
|
479
|
+
* "queued" status under the returned ID and starts automatically, oldest first, as
|
|
480
|
+
* capacity frees. Temp files cannot be queued.
|
|
481
|
+
*/
|
|
482
|
+
onCapacityLimit?: AgentsAgentOnCapacityLimit;
|
|
483
|
+
/**
|
|
484
|
+
* Seconds to wait for the execution to finish before returning 202. Defaults to 25.
|
|
485
|
+
*/
|
|
486
|
+
timeoutSeconds?: number;
|
|
487
|
+
};
|
|
488
|
+
type AgentsAgentExecuteAgentSyncResponse = {
|
|
489
|
+
/**
|
|
490
|
+
* The ID of the newly created execution
|
|
491
|
+
*/
|
|
492
|
+
executionId: CommonUuid;
|
|
493
|
+
/**
|
|
494
|
+
* The execution's status when the call returned: terminal on 200, the current status on 202
|
|
495
|
+
*/
|
|
496
|
+
status: AgentsExecutionStatus;
|
|
497
|
+
/**
|
|
498
|
+
* Outcome, reasoning and result data. Present on 200 when the execution recorded a result.
|
|
499
|
+
*/
|
|
500
|
+
executionResult?: AgentsExecutionExecutionResult;
|
|
501
|
+
};
|
|
431
502
|
/**
|
|
432
503
|
* Per-execution runtime options.
|
|
433
504
|
*/
|
|
@@ -3795,7 +3866,7 @@ type AgentsVaultCreateVaultItemRequest = {
|
|
|
3795
3866
|
organizationId: CommonUuid;
|
|
3796
3867
|
name: string;
|
|
3797
3868
|
/**
|
|
3798
|
-
* Optional
|
|
3869
|
+
* Optional UPPER_SNAKE key. Derived from name when omitted.
|
|
3799
3870
|
*/
|
|
3800
3871
|
itemKey?: AgentsVaultItemKey;
|
|
3801
3872
|
/**
|
|
@@ -3818,7 +3889,7 @@ type AgentsVaultCreateVaultShareLinkRequest = {
|
|
|
3818
3889
|
description?: string;
|
|
3819
3890
|
name: string;
|
|
3820
3891
|
/**
|
|
3821
|
-
* Optional
|
|
3892
|
+
* Optional UPPER_SNAKE key. Derived from name when omitted.
|
|
3822
3893
|
*/
|
|
3823
3894
|
itemKey?: AgentsVaultItemKey;
|
|
3824
3895
|
/**
|
|
@@ -3934,7 +4005,7 @@ type AgentsVaultItemField = {
|
|
|
3934
4005
|
legacyName?: string;
|
|
3935
4006
|
};
|
|
3936
4007
|
/**
|
|
3937
|
-
*
|
|
4008
|
+
* UPPER_SNAKE vault item key. Derived from name when omitted on create. Unique among a profile's attached items, not across the organisation. Stays the same across renames.
|
|
3938
4009
|
*/
|
|
3939
4010
|
type AgentsVaultItemKey = string;
|
|
3940
4011
|
/**
|
|
@@ -3977,7 +4048,7 @@ type AgentsVaultUpdateVaultItemKey = {
|
|
|
3977
4048
|
type AgentsVaultUpdateVaultItemName = {
|
|
3978
4049
|
name: string;
|
|
3979
4050
|
/**
|
|
3980
|
-
* Optional
|
|
4051
|
+
* Optional UPPER_SNAKE key. Omitted leaves the current key.
|
|
3981
4052
|
*/
|
|
3982
4053
|
itemKey?: AgentsVaultItemKey;
|
|
3983
4054
|
};
|
|
@@ -3999,7 +4070,7 @@ type AgentsVaultVaultItem = {
|
|
|
3999
4070
|
id: CommonUuid;
|
|
4000
4071
|
organizationId: CommonUuid;
|
|
4001
4072
|
/**
|
|
4002
|
-
*
|
|
4073
|
+
* UPPER_SNAKE key. Derived from name when omitted on create. Stays the same across renames. Unique among a profile's attached items, not across the organisation.
|
|
4003
4074
|
*/
|
|
4004
4075
|
itemKey: AgentsVaultItemKey;
|
|
4005
4076
|
name: string;
|
|
@@ -4034,7 +4105,7 @@ type AgentsVaultVaultShareLink = {
|
|
|
4034
4105
|
title: string;
|
|
4035
4106
|
description?: string;
|
|
4036
4107
|
/**
|
|
4037
|
-
*
|
|
4108
|
+
* UPPER_SNAKE key the submit will create. Derived from name when omitted on create. Not unique across the organisation.
|
|
4038
4109
|
*/
|
|
4039
4110
|
itemKey: AgentsVaultItemKey;
|
|
4040
4111
|
/**
|
|
@@ -5863,6 +5934,38 @@ type AgentExecutePostResponses = {
|
|
|
5863
5934
|
202: AgentsAgentExecuteAgentResponse;
|
|
5864
5935
|
};
|
|
5865
5936
|
type AgentExecutePostResponse = AgentExecutePostResponses[keyof AgentExecutePostResponses];
|
|
5937
|
+
type AgentExecuteSyncPostData = {
|
|
5938
|
+
/**
|
|
5939
|
+
* Execution request parameters
|
|
5940
|
+
*/
|
|
5941
|
+
body: AgentsAgentExecuteAgentSyncRequest;
|
|
5942
|
+
path: {
|
|
5943
|
+
/**
|
|
5944
|
+
* The ID of the agent to execute
|
|
5945
|
+
*/
|
|
5946
|
+
agentId: CommonUuid;
|
|
5947
|
+
};
|
|
5948
|
+
query?: never;
|
|
5949
|
+
url: "/agents/{agentId}/execute/sync";
|
|
5950
|
+
};
|
|
5951
|
+
type AgentExecuteSyncPostErrors = {
|
|
5952
|
+
/**
|
|
5953
|
+
* An unexpected error response.
|
|
5954
|
+
*/
|
|
5955
|
+
default: CommonError;
|
|
5956
|
+
};
|
|
5957
|
+
type AgentExecuteSyncPostError = AgentExecuteSyncPostErrors[keyof AgentExecuteSyncPostErrors];
|
|
5958
|
+
type AgentExecuteSyncPostResponses = {
|
|
5959
|
+
/**
|
|
5960
|
+
* The request has succeeded.
|
|
5961
|
+
*/
|
|
5962
|
+
200: AgentsAgentExecuteAgentSyncResponse;
|
|
5963
|
+
/**
|
|
5964
|
+
* The request has been accepted for processing, but processing has not yet completed.
|
|
5965
|
+
*/
|
|
5966
|
+
202: AgentsAgentExecuteAgentSyncResponse;
|
|
5967
|
+
};
|
|
5968
|
+
type AgentExecuteSyncPostResponse = AgentExecuteSyncPostResponses[keyof AgentExecuteSyncPostResponses];
|
|
5866
5969
|
type AgentWorkflowHeadGetFilesData = {
|
|
5867
5970
|
body?: never;
|
|
5868
5971
|
path: {
|
|
@@ -8060,6 +8163,16 @@ declare const agentByIdUpdate: <ThrowOnError extends boolean = false>(options: O
|
|
|
8060
8163
|
* Start an execution for the given agent.
|
|
8061
8164
|
*/
|
|
8062
8165
|
declare const agentExecutePost: <ThrowOnError extends boolean = false>(options: Options<AgentExecutePostData, ThrowOnError>) => RequestResult<AgentExecutePostResponses, AgentExecutePostErrors, ThrowOnError>;
|
|
8166
|
+
/**
|
|
8167
|
+
* Execute an agent and wait for the result
|
|
8168
|
+
*
|
|
8169
|
+
* Start an execution for the given agent and wait for it to finish, up to timeoutSeconds.
|
|
8170
|
+
* Returns 200 with the result once the execution completes, fails or is cancelled.
|
|
8171
|
+
* Returns 202 when it has not finished in time, or when it is paused or awaiting
|
|
8172
|
+
* confirmation. The execution keeps running; follow it with GET /executions/{executionId}.
|
|
8173
|
+
* This call is not idempotent: on a gateway timeout, look the execution up instead of retrying.
|
|
8174
|
+
*/
|
|
8175
|
+
declare const agentExecuteSyncPost: <ThrowOnError extends boolean = false>(options: Options<AgentExecuteSyncPostData, ThrowOnError>) => RequestResult<AgentExecuteSyncPostResponses, AgentExecuteSyncPostErrors, ThrowOnError>;
|
|
8063
8176
|
/**
|
|
8064
8177
|
* Get workflow head files
|
|
8065
8178
|
*
|
|
@@ -8341,4 +8454,4 @@ declare const vaultTemplateDuplicatePost: <ThrowOnError extends boolean = false>
|
|
|
8341
8454
|
*/
|
|
8342
8455
|
declare const workflowSpecValidationValidate: <ThrowOnError extends boolean = false>(options: Options<WorkflowSpecValidationValidateData, ThrowOnError>) => RequestResult<WorkflowSpecValidationValidateResponses, WorkflowSpecValidationValidateErrors, ThrowOnError>;
|
|
8343
8456
|
|
|
8344
|
-
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 AgentWorkflowHeadGetFilesData, type AgentWorkflowHeadGetFilesError, type AgentWorkflowHeadGetFilesErrors, type AgentWorkflowHeadGetFilesResponse, type AgentWorkflowHeadGetFilesResponses, type AgentWorkflowHeadPatchFilesData, type AgentWorkflowHeadPatchFilesError, type AgentWorkflowHeadPatchFilesErrors, type AgentWorkflowHeadPatchFilesResponse, type AgentWorkflowHeadPatchFilesResponses, type AgentWorkflowHeadPublishHeadData, type AgentWorkflowHeadPublishHeadError, type AgentWorkflowHeadPublishHeadErrors, type AgentWorkflowHeadPublishHeadResponse, type AgentWorkflowHeadPublishHeadResponses, 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 AgentWorkflowsGetFilesByVersionData, type AgentWorkflowsGetFilesByVersionError, type AgentWorkflowsGetFilesByVersionErrors, type AgentWorkflowsGetFilesByVersionResponse, type AgentWorkflowsGetFilesByVersionResponses, 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 AgentWorkflowsValidateData, type AgentWorkflowsValidateError, type AgentWorkflowsValidateErrors, type AgentWorkflowsValidateResponse, type AgentWorkflowsValidateResponses, type AgentsAgentAgentDuplicateRequest, type AgentsAgentAgentDuplicateResponse, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentExecutionStats, type AgentsAgentExecutionSummary, type AgentsAgentExternalCreateRequest, type AgentsAgentExternalDetail, type AgentsAgentOnCapacityLimit, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentTimeSeriesDataPoint, type AgentsAgentUpdateRequest, type AgentsAgentWorkflowVersionMetadata, 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 AgentsEnvironmentAstroEnvironmentOwner, type AgentsEnvironmentEnvironment, type AgentsEnvironmentEnvironmentConnection, type AgentsEnvironmentEnvironmentLifecycle, type AgentsEnvironmentEnvironmentOwner, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentEnvironmentStatus, type AgentsEnvironmentEnvironmentSummary, type AgentsEnvironmentExecutionEnvironmentOwner, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalEnvironmentOwner, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentOrganizationEnvironmentOwner, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentRequest, type AgentsEnvironmentWarmPoolEnvironmentOwner, type AgentsEnvironmentWorkflowEnvironmentSource, 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 AgentsExecutionActivityOutputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionAnchorProviderConfig, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBatchBase, type AgentsExecutionBatchBatchConfig, type AgentsExecutionBatchBatchItem, type AgentsExecutionBatchCreateRequest, type AgentsExecutionBatchListFilterAgentId, type AgentsExecutionBatchListFilterStatus, type AgentsExecutionBatchMaxConcurrentConfig, type AgentsExecutionBatchStatus, type AgentsExecutionBatchTimeBatchingConfig, type AgentsExecutionBrowserProviderConfig, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionBrowserState, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionDaytonaProviderConfig, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionEnvironmentState, type AgentsExecutionExecutionAggregates, type AgentsExecutionExecutionOutcomeCounts, 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 AgentsExecutionInputResolutionSource, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionOsState, type AgentsExecutionOutcomeCount, type AgentsExecutionPausedPayload, type AgentsExecutionPhase, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, 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 AgentsExecutionSearchPhase, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionStatusCounts, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWarmupTriggerContext, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesSignedUrlResponse, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, 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 AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsModelsModelMetadata, type AgentsModelsModelProvider, type AgentsModelsModelsResponse, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileAgentProfileVaultItemFieldRef, type AgentsProfileAgentProfileVaultItemRef, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileFingerprintIdInput, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsScheduleBase, type AgentsScheduleBatchSource, type AgentsScheduleCreateRequest, type AgentsScheduleUpdateRequest, type AgentsScheduledExecutionBase, type AgentsScheduledExecutionCreateRequest, type AgentsScheduledExecutionListFilterAgentId, type AgentsScheduledExecutionListFilterBatchId, type AgentsScheduledExecutionListFilterOrder, type AgentsScheduledExecutionListFilterStatus, type AgentsScheduledExecutionListFilterWorkflowId, type AgentsScheduledExecutionRescheduleRequest, type AgentsScheduledExecutionStatus, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsTagAgentWorkflowTagName, type AgentsTagCreateWorkflowTagRequest, type AgentsTagPatchAgentWorkflowTagsRequest, type AgentsTagSetAgentWorkflowTagsRequest, type AgentsTagUpdateWorkflowTagGroupRequest, type AgentsTagUpdateWorkflowTagRequest, type AgentsTagWorkflowTag, type AgentsTagWorkflowTagGroup, type AgentsTagWorkflowTagProtectedGroupKey, type AgentsVaultAddVaultItemFieldRequest, type AgentsVaultCreateVaultItemRequest, type AgentsVaultCreateVaultShareLinkRequest, type AgentsVaultCreateVaultTemplateRequest, type AgentsVaultDuplicateVaultTemplateRequest, type AgentsVaultFieldKey, type AgentsVaultFieldSpec, type AgentsVaultFieldSpecInput, type AgentsVaultFieldType, type AgentsVaultFieldValue, type AgentsVaultItemField, type AgentsVaultItemKey, type AgentsVaultItemKind, type AgentsVaultRotateVaultItemRequest, type AgentsVaultShareLinkStatus, type AgentsVaultTemplateOrigin, type AgentsVaultTemplateStep, type AgentsVaultUpdateVaultItemKey, type AgentsVaultUpdateVaultItemName, type AgentsVaultUpdateVaultItemRequest, type AgentsVaultUpdateVaultTemplateRequest, type AgentsVaultVaultItem, type AgentsVaultVaultItemVersion, type AgentsVaultVaultShareLink, type AgentsVaultVaultShareLinkCreated, type AgentsVaultVaultTemplate, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalEnvironmentTemplate, type AgentsWorkflowExternalOsTemplateConfig, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsRegion, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowRevertWorkflowHeadRequest, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowFileContentsMode, type AgentsWorkflowWorkflowFileEntry, type AgentsWorkflowWorkflowFileKind, type AgentsWorkflowWorkflowFileTree, type AgentsWorkflowWorkflowFileWrite, type AgentsWorkflowWorkflowFilesPatchRequest, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowValidationIssue, type AgentsWorkflowWorkflowValidationResponse, type AgentsWorkflowWorkflowValidationSeverity, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonTooManyRequestsErrorBody, 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 VaultItemDeleteData, type VaultItemDeleteError, type VaultItemDeleteErrors, type VaultItemDeleteResponse, type VaultItemDeleteResponses, type VaultItemFieldDeleteData, type VaultItemFieldDeleteError, type VaultItemFieldDeleteErrors, type VaultItemFieldDeleteResponse, type VaultItemFieldDeleteResponses, type VaultItemFieldsCreateData, type VaultItemFieldsCreateError, type VaultItemFieldsCreateErrors, type VaultItemFieldsCreateResponse, type VaultItemFieldsCreateResponses, type VaultItemGetData, type VaultItemGetError, type VaultItemGetErrors, type VaultItemGetResponse, type VaultItemGetResponses, type VaultItemRotatePostData, type VaultItemRotatePostError, type VaultItemRotatePostErrors, type VaultItemRotatePostResponse, type VaultItemRotatePostResponses, type VaultItemUpdateData, type VaultItemUpdateError, type VaultItemUpdateErrors, type VaultItemUpdateResponse, type VaultItemUpdateResponses, type VaultItemVersionsListData, type VaultItemVersionsListError, type VaultItemVersionsListErrors, type VaultItemVersionsListResponse, type VaultItemVersionsListResponses, type VaultItemsCreateData, type VaultItemsCreateError, type VaultItemsCreateErrors, type VaultItemsCreateResponse, type VaultItemsCreateResponses, type VaultItemsListData, type VaultItemsListError, type VaultItemsListErrors, type VaultItemsListResponse, type VaultItemsListResponses, type VaultShareLinkRevokePostData, type VaultShareLinkRevokePostError, type VaultShareLinkRevokePostErrors, type VaultShareLinkRevokePostResponse, type VaultShareLinkRevokePostResponses, type VaultShareLinksCreateData, type VaultShareLinksCreateError, type VaultShareLinksCreateErrors, type VaultShareLinksCreateResponse, type VaultShareLinksCreateResponses, type VaultShareLinksListData, type VaultShareLinksListError, type VaultShareLinksListErrors, type VaultShareLinksListResponse, type VaultShareLinksListResponses, type VaultTemplateDeleteData, type VaultTemplateDeleteError, type VaultTemplateDeleteErrors, type VaultTemplateDeleteResponse, type VaultTemplateDeleteResponses, type VaultTemplateDuplicatePostData, type VaultTemplateDuplicatePostError, type VaultTemplateDuplicatePostErrors, type VaultTemplateDuplicatePostResponse, type VaultTemplateDuplicatePostResponses, type VaultTemplateGetData, type VaultTemplateGetError, type VaultTemplateGetErrors, type VaultTemplateGetResponse, type VaultTemplateGetResponses, type VaultTemplateUpdateData, type VaultTemplateUpdateError, type VaultTemplateUpdateErrors, type VaultTemplateUpdateResponse, type VaultTemplateUpdateResponses, type VaultTemplatesCreateData, type VaultTemplatesCreateError, type VaultTemplatesCreateErrors, type VaultTemplatesCreateResponse, type VaultTemplatesCreateResponses, type VaultTemplatesListData, type VaultTemplatesListError, type VaultTemplatesListErrors, type VaultTemplatesListResponse, type VaultTemplatesListResponses, type Version, type WorkflowSpecValidationValidateData, type WorkflowSpecValidationValidateError, type WorkflowSpecValidationValidateErrors, type WorkflowSpecValidationValidateResponse, type WorkflowSpecValidationValidateResponses, 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, agentWorkflowHeadGetFiles, agentWorkflowHeadPatchFiles, agentWorkflowHeadPublishHead, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetFilesByVersion, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsValidate, availableToolsList, client, contextGet, docsSearchSearch, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage, vaultItemDelete, vaultItemFieldDelete, vaultItemFieldsCreate, vaultItemGet, vaultItemRotatePost, vaultItemUpdate, vaultItemVersionsList, vaultItemsCreate, vaultItemsList, vaultShareLinkRevokePost, vaultShareLinksCreate, vaultShareLinksList, vaultTemplateDelete, vaultTemplateDuplicatePost, vaultTemplateGet, vaultTemplateUpdate, vaultTemplatesCreate, vaultTemplatesList, workflowSpecValidationValidate };
|
|
8457
|
+
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 AgentExecuteSyncPostData, type AgentExecuteSyncPostError, type AgentExecuteSyncPostErrors, type AgentExecuteSyncPostResponse, type AgentExecuteSyncPostResponses, 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 AgentWorkflowHeadGetFilesData, type AgentWorkflowHeadGetFilesError, type AgentWorkflowHeadGetFilesErrors, type AgentWorkflowHeadGetFilesResponse, type AgentWorkflowHeadGetFilesResponses, type AgentWorkflowHeadPatchFilesData, type AgentWorkflowHeadPatchFilesError, type AgentWorkflowHeadPatchFilesErrors, type AgentWorkflowHeadPatchFilesResponse, type AgentWorkflowHeadPatchFilesResponses, type AgentWorkflowHeadPublishHeadData, type AgentWorkflowHeadPublishHeadError, type AgentWorkflowHeadPublishHeadErrors, type AgentWorkflowHeadPublishHeadResponse, type AgentWorkflowHeadPublishHeadResponses, 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 AgentWorkflowsGetFilesByVersionData, type AgentWorkflowsGetFilesByVersionError, type AgentWorkflowsGetFilesByVersionErrors, type AgentWorkflowsGetFilesByVersionResponse, type AgentWorkflowsGetFilesByVersionResponses, 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 AgentWorkflowsValidateData, type AgentWorkflowsValidateError, type AgentWorkflowsValidateErrors, type AgentWorkflowsValidateResponse, type AgentWorkflowsValidateResponses, type AgentsAgentAgentDuplicateRequest, type AgentsAgentAgentDuplicateResponse, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecuteAgentSyncRequest, type AgentsAgentExecuteAgentSyncResponse, type AgentsAgentExecutionOptions, type AgentsAgentExecutionStats, type AgentsAgentExecutionSummary, type AgentsAgentExternalCreateRequest, type AgentsAgentExternalDetail, type AgentsAgentOnCapacityLimit, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentTimeSeriesDataPoint, type AgentsAgentUpdateRequest, type AgentsAgentWorkflowVersionMetadata, 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 AgentsEnvironmentAstroEnvironmentOwner, type AgentsEnvironmentEnvironment, type AgentsEnvironmentEnvironmentConnection, type AgentsEnvironmentEnvironmentLifecycle, type AgentsEnvironmentEnvironmentOwner, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentEnvironmentStatus, type AgentsEnvironmentEnvironmentSummary, type AgentsEnvironmentExecutionEnvironmentOwner, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalEnvironmentOwner, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentOrganizationEnvironmentOwner, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentRequest, type AgentsEnvironmentWarmPoolEnvironmentOwner, type AgentsEnvironmentWorkflowEnvironmentSource, 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 AgentsExecutionActivityOutputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionAnchorProviderConfig, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBatchBase, type AgentsExecutionBatchBatchConfig, type AgentsExecutionBatchBatchItem, type AgentsExecutionBatchCreateRequest, type AgentsExecutionBatchListFilterAgentId, type AgentsExecutionBatchListFilterStatus, type AgentsExecutionBatchMaxConcurrentConfig, type AgentsExecutionBatchStatus, type AgentsExecutionBatchTimeBatchingConfig, type AgentsExecutionBrowserProviderConfig, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionBrowserState, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionDaytonaProviderConfig, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionEnvironmentState, type AgentsExecutionExecutionAggregates, type AgentsExecutionExecutionOutcomeCounts, 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 AgentsExecutionInputResolutionSource, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionOsState, type AgentsExecutionOutcomeCount, type AgentsExecutionPausedPayload, type AgentsExecutionPhase, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, 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 AgentsExecutionSearchPhase, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionStatusCounts, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWarmupTriggerContext, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesSignedUrlResponse, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, 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 AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsModelsModelMetadata, type AgentsModelsModelProvider, type AgentsModelsModelsResponse, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileAgentProfileVaultItemFieldRef, type AgentsProfileAgentProfileVaultItemRef, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileFingerprintIdInput, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsScheduleBase, type AgentsScheduleBatchSource, type AgentsScheduleCreateRequest, type AgentsScheduleUpdateRequest, type AgentsScheduledExecutionBase, type AgentsScheduledExecutionCreateRequest, type AgentsScheduledExecutionListFilterAgentId, type AgentsScheduledExecutionListFilterBatchId, type AgentsScheduledExecutionListFilterOrder, type AgentsScheduledExecutionListFilterStatus, type AgentsScheduledExecutionListFilterWorkflowId, type AgentsScheduledExecutionRescheduleRequest, type AgentsScheduledExecutionStatus, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsTagAgentWorkflowTagName, type AgentsTagCreateWorkflowTagRequest, type AgentsTagPatchAgentWorkflowTagsRequest, type AgentsTagSetAgentWorkflowTagsRequest, type AgentsTagUpdateWorkflowTagGroupRequest, type AgentsTagUpdateWorkflowTagRequest, type AgentsTagWorkflowTag, type AgentsTagWorkflowTagGroup, type AgentsTagWorkflowTagProtectedGroupKey, type AgentsVaultAddVaultItemFieldRequest, type AgentsVaultCreateVaultItemRequest, type AgentsVaultCreateVaultShareLinkRequest, type AgentsVaultCreateVaultTemplateRequest, type AgentsVaultDuplicateVaultTemplateRequest, type AgentsVaultFieldKey, type AgentsVaultFieldSpec, type AgentsVaultFieldSpecInput, type AgentsVaultFieldType, type AgentsVaultFieldValue, type AgentsVaultItemField, type AgentsVaultItemKey, type AgentsVaultItemKind, type AgentsVaultRotateVaultItemRequest, type AgentsVaultShareLinkStatus, type AgentsVaultTemplateOrigin, type AgentsVaultTemplateStep, type AgentsVaultUpdateVaultItemKey, type AgentsVaultUpdateVaultItemName, type AgentsVaultUpdateVaultItemRequest, type AgentsVaultUpdateVaultTemplateRequest, type AgentsVaultVaultItem, type AgentsVaultVaultItemVersion, type AgentsVaultVaultShareLink, type AgentsVaultVaultShareLinkCreated, type AgentsVaultVaultTemplate, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalEnvironmentTemplate, type AgentsWorkflowExternalOsTemplateConfig, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsRegion, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowRevertWorkflowHeadRequest, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowFileContentsMode, type AgentsWorkflowWorkflowFileEntry, type AgentsWorkflowWorkflowFileKind, type AgentsWorkflowWorkflowFileTree, type AgentsWorkflowWorkflowFileWrite, type AgentsWorkflowWorkflowFilesPatchRequest, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowValidationIssue, type AgentsWorkflowWorkflowValidationResponse, type AgentsWorkflowWorkflowValidationSeverity, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonTooManyRequestsErrorBody, 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 VaultItemDeleteData, type VaultItemDeleteError, type VaultItemDeleteErrors, type VaultItemDeleteResponse, type VaultItemDeleteResponses, type VaultItemFieldDeleteData, type VaultItemFieldDeleteError, type VaultItemFieldDeleteErrors, type VaultItemFieldDeleteResponse, type VaultItemFieldDeleteResponses, type VaultItemFieldsCreateData, type VaultItemFieldsCreateError, type VaultItemFieldsCreateErrors, type VaultItemFieldsCreateResponse, type VaultItemFieldsCreateResponses, type VaultItemGetData, type VaultItemGetError, type VaultItemGetErrors, type VaultItemGetResponse, type VaultItemGetResponses, type VaultItemRotatePostData, type VaultItemRotatePostError, type VaultItemRotatePostErrors, type VaultItemRotatePostResponse, type VaultItemRotatePostResponses, type VaultItemUpdateData, type VaultItemUpdateError, type VaultItemUpdateErrors, type VaultItemUpdateResponse, type VaultItemUpdateResponses, type VaultItemVersionsListData, type VaultItemVersionsListError, type VaultItemVersionsListErrors, type VaultItemVersionsListResponse, type VaultItemVersionsListResponses, type VaultItemsCreateData, type VaultItemsCreateError, type VaultItemsCreateErrors, type VaultItemsCreateResponse, type VaultItemsCreateResponses, type VaultItemsListData, type VaultItemsListError, type VaultItemsListErrors, type VaultItemsListResponse, type VaultItemsListResponses, type VaultShareLinkRevokePostData, type VaultShareLinkRevokePostError, type VaultShareLinkRevokePostErrors, type VaultShareLinkRevokePostResponse, type VaultShareLinkRevokePostResponses, type VaultShareLinksCreateData, type VaultShareLinksCreateError, type VaultShareLinksCreateErrors, type VaultShareLinksCreateResponse, type VaultShareLinksCreateResponses, type VaultShareLinksListData, type VaultShareLinksListError, type VaultShareLinksListErrors, type VaultShareLinksListResponse, type VaultShareLinksListResponses, type VaultTemplateDeleteData, type VaultTemplateDeleteError, type VaultTemplateDeleteErrors, type VaultTemplateDeleteResponse, type VaultTemplateDeleteResponses, type VaultTemplateDuplicatePostData, type VaultTemplateDuplicatePostError, type VaultTemplateDuplicatePostErrors, type VaultTemplateDuplicatePostResponse, type VaultTemplateDuplicatePostResponses, type VaultTemplateGetData, type VaultTemplateGetError, type VaultTemplateGetErrors, type VaultTemplateGetResponse, type VaultTemplateGetResponses, type VaultTemplateUpdateData, type VaultTemplateUpdateError, type VaultTemplateUpdateErrors, type VaultTemplateUpdateResponse, type VaultTemplateUpdateResponses, type VaultTemplatesCreateData, type VaultTemplatesCreateError, type VaultTemplatesCreateErrors, type VaultTemplatesCreateResponse, type VaultTemplatesCreateResponses, type VaultTemplatesListData, type VaultTemplatesListError, type VaultTemplatesListErrors, type VaultTemplatesListResponse, type VaultTemplatesListResponses, type Version, type WorkflowSpecValidationValidateData, type WorkflowSpecValidationValidateError, type WorkflowSpecValidationValidateErrors, type WorkflowSpecValidationValidateResponse, type WorkflowSpecValidationValidateResponses, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentExecutePost, agentExecuteSyncPost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentWorkflowHeadGetFiles, agentWorkflowHeadPatchFiles, agentWorkflowHeadPublishHead, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetFilesByVersion, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsValidate, availableToolsList, client, contextGet, docsSearchSearch, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage, vaultItemDelete, vaultItemFieldDelete, vaultItemFieldsCreate, vaultItemGet, vaultItemRotatePost, vaultItemUpdate, vaultItemVersionsList, vaultItemsCreate, vaultItemsList, vaultShareLinkRevokePost, vaultShareLinksCreate, vaultShareLinksList, vaultTemplateDelete, vaultTemplateDuplicatePost, vaultTemplateGet, vaultTemplateUpdate, vaultTemplatesCreate, vaultTemplatesList, workflowSpecValidationValidate };
|
package/dist/index.d.ts
CHANGED
|
@@ -428,6 +428,77 @@ type AgentsAgentExecuteAgentResponse = {
|
|
|
428
428
|
*/
|
|
429
429
|
status?: AgentsExecutionStatus;
|
|
430
430
|
};
|
|
431
|
+
/**
|
|
432
|
+
* Execute-and-wait request parameters
|
|
433
|
+
*/
|
|
434
|
+
type AgentsAgentExecuteAgentSyncRequest = {
|
|
435
|
+
/**
|
|
436
|
+
* The ID of the agent profile to use for this execution. Mutually exclusive with agentProfilePoolId.
|
|
437
|
+
*/
|
|
438
|
+
agentProfileId?: CommonUuid;
|
|
439
|
+
/**
|
|
440
|
+
* The ID of the agent profile pool to select a profile from. Mutually exclusive with agentProfileId.
|
|
441
|
+
*/
|
|
442
|
+
agentProfilePoolId?: CommonUuid;
|
|
443
|
+
/**
|
|
444
|
+
* Inputs to be merged into the placeholders defined in prompts
|
|
445
|
+
*/
|
|
446
|
+
inputs?: {
|
|
447
|
+
[key: string]: unknown;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* Deprecated: Use 'inputs' instead. Inputs to be merged into the placeholders defined in prompts
|
|
451
|
+
*
|
|
452
|
+
* @deprecated
|
|
453
|
+
*/
|
|
454
|
+
dynamicData?: {
|
|
455
|
+
[key: string]: unknown;
|
|
456
|
+
};
|
|
457
|
+
/**
|
|
458
|
+
* Array of temporary files to attach to the execution. Must have been pre-uploaded using the stage file endpoint
|
|
459
|
+
*/
|
|
460
|
+
tempFiles?: Array<AgentsFilesTempFile>;
|
|
461
|
+
/**
|
|
462
|
+
* Optional metadata key-value pairs (string keys and string values) for organizing and filtering executions
|
|
463
|
+
*/
|
|
464
|
+
metadata?: {
|
|
465
|
+
[key: string]: unknown;
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* The version of the agent to execute. If not provided, the published version will be used.
|
|
469
|
+
*/
|
|
470
|
+
version?: number;
|
|
471
|
+
/**
|
|
472
|
+
* Per-execution runtime options that override or extend the agent's default settings.
|
|
473
|
+
*/
|
|
474
|
+
executionOptions?: AgentsAgentExecutionOptions;
|
|
475
|
+
/**
|
|
476
|
+
* What to do when the execution cannot start right now because the organisation is at
|
|
477
|
+
* its concurrency limit or every profile in the pool is in use. "reject" (the default)
|
|
478
|
+
* fails the request as today. "queue" accepts it: the execution is created in the
|
|
479
|
+
* "queued" status under the returned ID and starts automatically, oldest first, as
|
|
480
|
+
* capacity frees. Temp files cannot be queued.
|
|
481
|
+
*/
|
|
482
|
+
onCapacityLimit?: AgentsAgentOnCapacityLimit;
|
|
483
|
+
/**
|
|
484
|
+
* Seconds to wait for the execution to finish before returning 202. Defaults to 25.
|
|
485
|
+
*/
|
|
486
|
+
timeoutSeconds?: number;
|
|
487
|
+
};
|
|
488
|
+
type AgentsAgentExecuteAgentSyncResponse = {
|
|
489
|
+
/**
|
|
490
|
+
* The ID of the newly created execution
|
|
491
|
+
*/
|
|
492
|
+
executionId: CommonUuid;
|
|
493
|
+
/**
|
|
494
|
+
* The execution's status when the call returned: terminal on 200, the current status on 202
|
|
495
|
+
*/
|
|
496
|
+
status: AgentsExecutionStatus;
|
|
497
|
+
/**
|
|
498
|
+
* Outcome, reasoning and result data. Present on 200 when the execution recorded a result.
|
|
499
|
+
*/
|
|
500
|
+
executionResult?: AgentsExecutionExecutionResult;
|
|
501
|
+
};
|
|
431
502
|
/**
|
|
432
503
|
* Per-execution runtime options.
|
|
433
504
|
*/
|
|
@@ -3795,7 +3866,7 @@ type AgentsVaultCreateVaultItemRequest = {
|
|
|
3795
3866
|
organizationId: CommonUuid;
|
|
3796
3867
|
name: string;
|
|
3797
3868
|
/**
|
|
3798
|
-
* Optional
|
|
3869
|
+
* Optional UPPER_SNAKE key. Derived from name when omitted.
|
|
3799
3870
|
*/
|
|
3800
3871
|
itemKey?: AgentsVaultItemKey;
|
|
3801
3872
|
/**
|
|
@@ -3818,7 +3889,7 @@ type AgentsVaultCreateVaultShareLinkRequest = {
|
|
|
3818
3889
|
description?: string;
|
|
3819
3890
|
name: string;
|
|
3820
3891
|
/**
|
|
3821
|
-
* Optional
|
|
3892
|
+
* Optional UPPER_SNAKE key. Derived from name when omitted.
|
|
3822
3893
|
*/
|
|
3823
3894
|
itemKey?: AgentsVaultItemKey;
|
|
3824
3895
|
/**
|
|
@@ -3934,7 +4005,7 @@ type AgentsVaultItemField = {
|
|
|
3934
4005
|
legacyName?: string;
|
|
3935
4006
|
};
|
|
3936
4007
|
/**
|
|
3937
|
-
*
|
|
4008
|
+
* UPPER_SNAKE vault item key. Derived from name when omitted on create. Unique among a profile's attached items, not across the organisation. Stays the same across renames.
|
|
3938
4009
|
*/
|
|
3939
4010
|
type AgentsVaultItemKey = string;
|
|
3940
4011
|
/**
|
|
@@ -3977,7 +4048,7 @@ type AgentsVaultUpdateVaultItemKey = {
|
|
|
3977
4048
|
type AgentsVaultUpdateVaultItemName = {
|
|
3978
4049
|
name: string;
|
|
3979
4050
|
/**
|
|
3980
|
-
* Optional
|
|
4051
|
+
* Optional UPPER_SNAKE key. Omitted leaves the current key.
|
|
3981
4052
|
*/
|
|
3982
4053
|
itemKey?: AgentsVaultItemKey;
|
|
3983
4054
|
};
|
|
@@ -3999,7 +4070,7 @@ type AgentsVaultVaultItem = {
|
|
|
3999
4070
|
id: CommonUuid;
|
|
4000
4071
|
organizationId: CommonUuid;
|
|
4001
4072
|
/**
|
|
4002
|
-
*
|
|
4073
|
+
* UPPER_SNAKE key. Derived from name when omitted on create. Stays the same across renames. Unique among a profile's attached items, not across the organisation.
|
|
4003
4074
|
*/
|
|
4004
4075
|
itemKey: AgentsVaultItemKey;
|
|
4005
4076
|
name: string;
|
|
@@ -4034,7 +4105,7 @@ type AgentsVaultVaultShareLink = {
|
|
|
4034
4105
|
title: string;
|
|
4035
4106
|
description?: string;
|
|
4036
4107
|
/**
|
|
4037
|
-
*
|
|
4108
|
+
* UPPER_SNAKE key the submit will create. Derived from name when omitted on create. Not unique across the organisation.
|
|
4038
4109
|
*/
|
|
4039
4110
|
itemKey: AgentsVaultItemKey;
|
|
4040
4111
|
/**
|
|
@@ -5863,6 +5934,38 @@ type AgentExecutePostResponses = {
|
|
|
5863
5934
|
202: AgentsAgentExecuteAgentResponse;
|
|
5864
5935
|
};
|
|
5865
5936
|
type AgentExecutePostResponse = AgentExecutePostResponses[keyof AgentExecutePostResponses];
|
|
5937
|
+
type AgentExecuteSyncPostData = {
|
|
5938
|
+
/**
|
|
5939
|
+
* Execution request parameters
|
|
5940
|
+
*/
|
|
5941
|
+
body: AgentsAgentExecuteAgentSyncRequest;
|
|
5942
|
+
path: {
|
|
5943
|
+
/**
|
|
5944
|
+
* The ID of the agent to execute
|
|
5945
|
+
*/
|
|
5946
|
+
agentId: CommonUuid;
|
|
5947
|
+
};
|
|
5948
|
+
query?: never;
|
|
5949
|
+
url: "/agents/{agentId}/execute/sync";
|
|
5950
|
+
};
|
|
5951
|
+
type AgentExecuteSyncPostErrors = {
|
|
5952
|
+
/**
|
|
5953
|
+
* An unexpected error response.
|
|
5954
|
+
*/
|
|
5955
|
+
default: CommonError;
|
|
5956
|
+
};
|
|
5957
|
+
type AgentExecuteSyncPostError = AgentExecuteSyncPostErrors[keyof AgentExecuteSyncPostErrors];
|
|
5958
|
+
type AgentExecuteSyncPostResponses = {
|
|
5959
|
+
/**
|
|
5960
|
+
* The request has succeeded.
|
|
5961
|
+
*/
|
|
5962
|
+
200: AgentsAgentExecuteAgentSyncResponse;
|
|
5963
|
+
/**
|
|
5964
|
+
* The request has been accepted for processing, but processing has not yet completed.
|
|
5965
|
+
*/
|
|
5966
|
+
202: AgentsAgentExecuteAgentSyncResponse;
|
|
5967
|
+
};
|
|
5968
|
+
type AgentExecuteSyncPostResponse = AgentExecuteSyncPostResponses[keyof AgentExecuteSyncPostResponses];
|
|
5866
5969
|
type AgentWorkflowHeadGetFilesData = {
|
|
5867
5970
|
body?: never;
|
|
5868
5971
|
path: {
|
|
@@ -8060,6 +8163,16 @@ declare const agentByIdUpdate: <ThrowOnError extends boolean = false>(options: O
|
|
|
8060
8163
|
* Start an execution for the given agent.
|
|
8061
8164
|
*/
|
|
8062
8165
|
declare const agentExecutePost: <ThrowOnError extends boolean = false>(options: Options<AgentExecutePostData, ThrowOnError>) => RequestResult<AgentExecutePostResponses, AgentExecutePostErrors, ThrowOnError>;
|
|
8166
|
+
/**
|
|
8167
|
+
* Execute an agent and wait for the result
|
|
8168
|
+
*
|
|
8169
|
+
* Start an execution for the given agent and wait for it to finish, up to timeoutSeconds.
|
|
8170
|
+
* Returns 200 with the result once the execution completes, fails or is cancelled.
|
|
8171
|
+
* Returns 202 when it has not finished in time, or when it is paused or awaiting
|
|
8172
|
+
* confirmation. The execution keeps running; follow it with GET /executions/{executionId}.
|
|
8173
|
+
* This call is not idempotent: on a gateway timeout, look the execution up instead of retrying.
|
|
8174
|
+
*/
|
|
8175
|
+
declare const agentExecuteSyncPost: <ThrowOnError extends boolean = false>(options: Options<AgentExecuteSyncPostData, ThrowOnError>) => RequestResult<AgentExecuteSyncPostResponses, AgentExecuteSyncPostErrors, ThrowOnError>;
|
|
8063
8176
|
/**
|
|
8064
8177
|
* Get workflow head files
|
|
8065
8178
|
*
|
|
@@ -8341,4 +8454,4 @@ declare const vaultTemplateDuplicatePost: <ThrowOnError extends boolean = false>
|
|
|
8341
8454
|
*/
|
|
8342
8455
|
declare const workflowSpecValidationValidate: <ThrowOnError extends boolean = false>(options: Options<WorkflowSpecValidationValidateData, ThrowOnError>) => RequestResult<WorkflowSpecValidationValidateResponses, WorkflowSpecValidationValidateErrors, ThrowOnError>;
|
|
8343
8456
|
|
|
8344
|
-
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 AgentWorkflowHeadGetFilesData, type AgentWorkflowHeadGetFilesError, type AgentWorkflowHeadGetFilesErrors, type AgentWorkflowHeadGetFilesResponse, type AgentWorkflowHeadGetFilesResponses, type AgentWorkflowHeadPatchFilesData, type AgentWorkflowHeadPatchFilesError, type AgentWorkflowHeadPatchFilesErrors, type AgentWorkflowHeadPatchFilesResponse, type AgentWorkflowHeadPatchFilesResponses, type AgentWorkflowHeadPublishHeadData, type AgentWorkflowHeadPublishHeadError, type AgentWorkflowHeadPublishHeadErrors, type AgentWorkflowHeadPublishHeadResponse, type AgentWorkflowHeadPublishHeadResponses, 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 AgentWorkflowsGetFilesByVersionData, type AgentWorkflowsGetFilesByVersionError, type AgentWorkflowsGetFilesByVersionErrors, type AgentWorkflowsGetFilesByVersionResponse, type AgentWorkflowsGetFilesByVersionResponses, 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 AgentWorkflowsValidateData, type AgentWorkflowsValidateError, type AgentWorkflowsValidateErrors, type AgentWorkflowsValidateResponse, type AgentWorkflowsValidateResponses, type AgentsAgentAgentDuplicateRequest, type AgentsAgentAgentDuplicateResponse, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentExecutionStats, type AgentsAgentExecutionSummary, type AgentsAgentExternalCreateRequest, type AgentsAgentExternalDetail, type AgentsAgentOnCapacityLimit, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentTimeSeriesDataPoint, type AgentsAgentUpdateRequest, type AgentsAgentWorkflowVersionMetadata, 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 AgentsEnvironmentAstroEnvironmentOwner, type AgentsEnvironmentEnvironment, type AgentsEnvironmentEnvironmentConnection, type AgentsEnvironmentEnvironmentLifecycle, type AgentsEnvironmentEnvironmentOwner, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentEnvironmentStatus, type AgentsEnvironmentEnvironmentSummary, type AgentsEnvironmentExecutionEnvironmentOwner, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalEnvironmentOwner, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentOrganizationEnvironmentOwner, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentRequest, type AgentsEnvironmentWarmPoolEnvironmentOwner, type AgentsEnvironmentWorkflowEnvironmentSource, 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 AgentsExecutionActivityOutputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionAnchorProviderConfig, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBatchBase, type AgentsExecutionBatchBatchConfig, type AgentsExecutionBatchBatchItem, type AgentsExecutionBatchCreateRequest, type AgentsExecutionBatchListFilterAgentId, type AgentsExecutionBatchListFilterStatus, type AgentsExecutionBatchMaxConcurrentConfig, type AgentsExecutionBatchStatus, type AgentsExecutionBatchTimeBatchingConfig, type AgentsExecutionBrowserProviderConfig, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionBrowserState, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionDaytonaProviderConfig, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionEnvironmentState, type AgentsExecutionExecutionAggregates, type AgentsExecutionExecutionOutcomeCounts, 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 AgentsExecutionInputResolutionSource, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionOsState, type AgentsExecutionOutcomeCount, type AgentsExecutionPausedPayload, type AgentsExecutionPhase, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, 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 AgentsExecutionSearchPhase, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionStatusCounts, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWarmupTriggerContext, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesSignedUrlResponse, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, 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 AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsModelsModelMetadata, type AgentsModelsModelProvider, type AgentsModelsModelsResponse, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileAgentProfileVaultItemFieldRef, type AgentsProfileAgentProfileVaultItemRef, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileFingerprintIdInput, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsScheduleBase, type AgentsScheduleBatchSource, type AgentsScheduleCreateRequest, type AgentsScheduleUpdateRequest, type AgentsScheduledExecutionBase, type AgentsScheduledExecutionCreateRequest, type AgentsScheduledExecutionListFilterAgentId, type AgentsScheduledExecutionListFilterBatchId, type AgentsScheduledExecutionListFilterOrder, type AgentsScheduledExecutionListFilterStatus, type AgentsScheduledExecutionListFilterWorkflowId, type AgentsScheduledExecutionRescheduleRequest, type AgentsScheduledExecutionStatus, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsTagAgentWorkflowTagName, type AgentsTagCreateWorkflowTagRequest, type AgentsTagPatchAgentWorkflowTagsRequest, type AgentsTagSetAgentWorkflowTagsRequest, type AgentsTagUpdateWorkflowTagGroupRequest, type AgentsTagUpdateWorkflowTagRequest, type AgentsTagWorkflowTag, type AgentsTagWorkflowTagGroup, type AgentsTagWorkflowTagProtectedGroupKey, type AgentsVaultAddVaultItemFieldRequest, type AgentsVaultCreateVaultItemRequest, type AgentsVaultCreateVaultShareLinkRequest, type AgentsVaultCreateVaultTemplateRequest, type AgentsVaultDuplicateVaultTemplateRequest, type AgentsVaultFieldKey, type AgentsVaultFieldSpec, type AgentsVaultFieldSpecInput, type AgentsVaultFieldType, type AgentsVaultFieldValue, type AgentsVaultItemField, type AgentsVaultItemKey, type AgentsVaultItemKind, type AgentsVaultRotateVaultItemRequest, type AgentsVaultShareLinkStatus, type AgentsVaultTemplateOrigin, type AgentsVaultTemplateStep, type AgentsVaultUpdateVaultItemKey, type AgentsVaultUpdateVaultItemName, type AgentsVaultUpdateVaultItemRequest, type AgentsVaultUpdateVaultTemplateRequest, type AgentsVaultVaultItem, type AgentsVaultVaultItemVersion, type AgentsVaultVaultShareLink, type AgentsVaultVaultShareLinkCreated, type AgentsVaultVaultTemplate, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalEnvironmentTemplate, type AgentsWorkflowExternalOsTemplateConfig, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsRegion, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowRevertWorkflowHeadRequest, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowFileContentsMode, type AgentsWorkflowWorkflowFileEntry, type AgentsWorkflowWorkflowFileKind, type AgentsWorkflowWorkflowFileTree, type AgentsWorkflowWorkflowFileWrite, type AgentsWorkflowWorkflowFilesPatchRequest, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowValidationIssue, type AgentsWorkflowWorkflowValidationResponse, type AgentsWorkflowWorkflowValidationSeverity, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonTooManyRequestsErrorBody, 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 VaultItemDeleteData, type VaultItemDeleteError, type VaultItemDeleteErrors, type VaultItemDeleteResponse, type VaultItemDeleteResponses, type VaultItemFieldDeleteData, type VaultItemFieldDeleteError, type VaultItemFieldDeleteErrors, type VaultItemFieldDeleteResponse, type VaultItemFieldDeleteResponses, type VaultItemFieldsCreateData, type VaultItemFieldsCreateError, type VaultItemFieldsCreateErrors, type VaultItemFieldsCreateResponse, type VaultItemFieldsCreateResponses, type VaultItemGetData, type VaultItemGetError, type VaultItemGetErrors, type VaultItemGetResponse, type VaultItemGetResponses, type VaultItemRotatePostData, type VaultItemRotatePostError, type VaultItemRotatePostErrors, type VaultItemRotatePostResponse, type VaultItemRotatePostResponses, type VaultItemUpdateData, type VaultItemUpdateError, type VaultItemUpdateErrors, type VaultItemUpdateResponse, type VaultItemUpdateResponses, type VaultItemVersionsListData, type VaultItemVersionsListError, type VaultItemVersionsListErrors, type VaultItemVersionsListResponse, type VaultItemVersionsListResponses, type VaultItemsCreateData, type VaultItemsCreateError, type VaultItemsCreateErrors, type VaultItemsCreateResponse, type VaultItemsCreateResponses, type VaultItemsListData, type VaultItemsListError, type VaultItemsListErrors, type VaultItemsListResponse, type VaultItemsListResponses, type VaultShareLinkRevokePostData, type VaultShareLinkRevokePostError, type VaultShareLinkRevokePostErrors, type VaultShareLinkRevokePostResponse, type VaultShareLinkRevokePostResponses, type VaultShareLinksCreateData, type VaultShareLinksCreateError, type VaultShareLinksCreateErrors, type VaultShareLinksCreateResponse, type VaultShareLinksCreateResponses, type VaultShareLinksListData, type VaultShareLinksListError, type VaultShareLinksListErrors, type VaultShareLinksListResponse, type VaultShareLinksListResponses, type VaultTemplateDeleteData, type VaultTemplateDeleteError, type VaultTemplateDeleteErrors, type VaultTemplateDeleteResponse, type VaultTemplateDeleteResponses, type VaultTemplateDuplicatePostData, type VaultTemplateDuplicatePostError, type VaultTemplateDuplicatePostErrors, type VaultTemplateDuplicatePostResponse, type VaultTemplateDuplicatePostResponses, type VaultTemplateGetData, type VaultTemplateGetError, type VaultTemplateGetErrors, type VaultTemplateGetResponse, type VaultTemplateGetResponses, type VaultTemplateUpdateData, type VaultTemplateUpdateError, type VaultTemplateUpdateErrors, type VaultTemplateUpdateResponse, type VaultTemplateUpdateResponses, type VaultTemplatesCreateData, type VaultTemplatesCreateError, type VaultTemplatesCreateErrors, type VaultTemplatesCreateResponse, type VaultTemplatesCreateResponses, type VaultTemplatesListData, type VaultTemplatesListError, type VaultTemplatesListErrors, type VaultTemplatesListResponse, type VaultTemplatesListResponses, type Version, type WorkflowSpecValidationValidateData, type WorkflowSpecValidationValidateError, type WorkflowSpecValidationValidateErrors, type WorkflowSpecValidationValidateResponse, type WorkflowSpecValidationValidateResponses, 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, agentWorkflowHeadGetFiles, agentWorkflowHeadPatchFiles, agentWorkflowHeadPublishHead, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetFilesByVersion, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsValidate, availableToolsList, client, contextGet, docsSearchSearch, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage, vaultItemDelete, vaultItemFieldDelete, vaultItemFieldsCreate, vaultItemGet, vaultItemRotatePost, vaultItemUpdate, vaultItemVersionsList, vaultItemsCreate, vaultItemsList, vaultShareLinkRevokePost, vaultShareLinksCreate, vaultShareLinksList, vaultTemplateDelete, vaultTemplateDuplicatePost, vaultTemplateGet, vaultTemplateUpdate, vaultTemplatesCreate, vaultTemplatesList, workflowSpecValidationValidate };
|
|
8457
|
+
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 AgentExecuteSyncPostData, type AgentExecuteSyncPostError, type AgentExecuteSyncPostErrors, type AgentExecuteSyncPostResponse, type AgentExecuteSyncPostResponses, 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 AgentWorkflowHeadGetFilesData, type AgentWorkflowHeadGetFilesError, type AgentWorkflowHeadGetFilesErrors, type AgentWorkflowHeadGetFilesResponse, type AgentWorkflowHeadGetFilesResponses, type AgentWorkflowHeadPatchFilesData, type AgentWorkflowHeadPatchFilesError, type AgentWorkflowHeadPatchFilesErrors, type AgentWorkflowHeadPatchFilesResponse, type AgentWorkflowHeadPatchFilesResponses, type AgentWorkflowHeadPublishHeadData, type AgentWorkflowHeadPublishHeadError, type AgentWorkflowHeadPublishHeadErrors, type AgentWorkflowHeadPublishHeadResponse, type AgentWorkflowHeadPublishHeadResponses, 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 AgentWorkflowsGetFilesByVersionData, type AgentWorkflowsGetFilesByVersionError, type AgentWorkflowsGetFilesByVersionErrors, type AgentWorkflowsGetFilesByVersionResponse, type AgentWorkflowsGetFilesByVersionResponses, 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 AgentWorkflowsValidateData, type AgentWorkflowsValidateError, type AgentWorkflowsValidateErrors, type AgentWorkflowsValidateResponse, type AgentWorkflowsValidateResponses, type AgentsAgentAgentDuplicateRequest, type AgentsAgentAgentDuplicateResponse, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecuteAgentSyncRequest, type AgentsAgentExecuteAgentSyncResponse, type AgentsAgentExecutionOptions, type AgentsAgentExecutionStats, type AgentsAgentExecutionSummary, type AgentsAgentExternalCreateRequest, type AgentsAgentExternalDetail, type AgentsAgentOnCapacityLimit, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentTimeSeriesDataPoint, type AgentsAgentUpdateRequest, type AgentsAgentWorkflowVersionMetadata, 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 AgentsEnvironmentAstroEnvironmentOwner, type AgentsEnvironmentEnvironment, type AgentsEnvironmentEnvironmentConnection, type AgentsEnvironmentEnvironmentLifecycle, type AgentsEnvironmentEnvironmentOwner, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentEnvironmentStatus, type AgentsEnvironmentEnvironmentSummary, type AgentsEnvironmentExecutionEnvironmentOwner, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalEnvironmentOwner, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentOrganizationEnvironmentOwner, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentRequest, type AgentsEnvironmentWarmPoolEnvironmentOwner, type AgentsEnvironmentWorkflowEnvironmentSource, 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 AgentsExecutionActivityOutputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionAnchorProviderConfig, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBatchBase, type AgentsExecutionBatchBatchConfig, type AgentsExecutionBatchBatchItem, type AgentsExecutionBatchCreateRequest, type AgentsExecutionBatchListFilterAgentId, type AgentsExecutionBatchListFilterStatus, type AgentsExecutionBatchMaxConcurrentConfig, type AgentsExecutionBatchStatus, type AgentsExecutionBatchTimeBatchingConfig, type AgentsExecutionBrowserProviderConfig, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionBrowserState, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionDaytonaProviderConfig, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionEnvironmentState, type AgentsExecutionExecutionAggregates, type AgentsExecutionExecutionOutcomeCounts, 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 AgentsExecutionInputResolutionSource, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionOsState, type AgentsExecutionOutcomeCount, type AgentsExecutionPausedPayload, type AgentsExecutionPhase, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, 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 AgentsExecutionSearchPhase, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionStatusCounts, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWarmupTriggerContext, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesSignedUrlResponse, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, 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 AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsModelsModelMetadata, type AgentsModelsModelProvider, type AgentsModelsModelsResponse, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileAgentProfileVaultItemFieldRef, type AgentsProfileAgentProfileVaultItemRef, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileFingerprintIdInput, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsScheduleBase, type AgentsScheduleBatchSource, type AgentsScheduleCreateRequest, type AgentsScheduleUpdateRequest, type AgentsScheduledExecutionBase, type AgentsScheduledExecutionCreateRequest, type AgentsScheduledExecutionListFilterAgentId, type AgentsScheduledExecutionListFilterBatchId, type AgentsScheduledExecutionListFilterOrder, type AgentsScheduledExecutionListFilterStatus, type AgentsScheduledExecutionListFilterWorkflowId, type AgentsScheduledExecutionRescheduleRequest, type AgentsScheduledExecutionStatus, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsTagAgentWorkflowTagName, type AgentsTagCreateWorkflowTagRequest, type AgentsTagPatchAgentWorkflowTagsRequest, type AgentsTagSetAgentWorkflowTagsRequest, type AgentsTagUpdateWorkflowTagGroupRequest, type AgentsTagUpdateWorkflowTagRequest, type AgentsTagWorkflowTag, type AgentsTagWorkflowTagGroup, type AgentsTagWorkflowTagProtectedGroupKey, type AgentsVaultAddVaultItemFieldRequest, type AgentsVaultCreateVaultItemRequest, type AgentsVaultCreateVaultShareLinkRequest, type AgentsVaultCreateVaultTemplateRequest, type AgentsVaultDuplicateVaultTemplateRequest, type AgentsVaultFieldKey, type AgentsVaultFieldSpec, type AgentsVaultFieldSpecInput, type AgentsVaultFieldType, type AgentsVaultFieldValue, type AgentsVaultItemField, type AgentsVaultItemKey, type AgentsVaultItemKind, type AgentsVaultRotateVaultItemRequest, type AgentsVaultShareLinkStatus, type AgentsVaultTemplateOrigin, type AgentsVaultTemplateStep, type AgentsVaultUpdateVaultItemKey, type AgentsVaultUpdateVaultItemName, type AgentsVaultUpdateVaultItemRequest, type AgentsVaultUpdateVaultTemplateRequest, type AgentsVaultVaultItem, type AgentsVaultVaultItemVersion, type AgentsVaultVaultShareLink, type AgentsVaultVaultShareLinkCreated, type AgentsVaultVaultTemplate, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalEnvironmentTemplate, type AgentsWorkflowExternalOsTemplateConfig, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsRegion, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowRevertWorkflowHeadRequest, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowFileContentsMode, type AgentsWorkflowWorkflowFileEntry, type AgentsWorkflowWorkflowFileKind, type AgentsWorkflowWorkflowFileTree, type AgentsWorkflowWorkflowFileWrite, type AgentsWorkflowWorkflowFilesPatchRequest, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowValidationIssue, type AgentsWorkflowWorkflowValidationResponse, type AgentsWorkflowWorkflowValidationSeverity, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonTooManyRequestsErrorBody, 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 VaultItemDeleteData, type VaultItemDeleteError, type VaultItemDeleteErrors, type VaultItemDeleteResponse, type VaultItemDeleteResponses, type VaultItemFieldDeleteData, type VaultItemFieldDeleteError, type VaultItemFieldDeleteErrors, type VaultItemFieldDeleteResponse, type VaultItemFieldDeleteResponses, type VaultItemFieldsCreateData, type VaultItemFieldsCreateError, type VaultItemFieldsCreateErrors, type VaultItemFieldsCreateResponse, type VaultItemFieldsCreateResponses, type VaultItemGetData, type VaultItemGetError, type VaultItemGetErrors, type VaultItemGetResponse, type VaultItemGetResponses, type VaultItemRotatePostData, type VaultItemRotatePostError, type VaultItemRotatePostErrors, type VaultItemRotatePostResponse, type VaultItemRotatePostResponses, type VaultItemUpdateData, type VaultItemUpdateError, type VaultItemUpdateErrors, type VaultItemUpdateResponse, type VaultItemUpdateResponses, type VaultItemVersionsListData, type VaultItemVersionsListError, type VaultItemVersionsListErrors, type VaultItemVersionsListResponse, type VaultItemVersionsListResponses, type VaultItemsCreateData, type VaultItemsCreateError, type VaultItemsCreateErrors, type VaultItemsCreateResponse, type VaultItemsCreateResponses, type VaultItemsListData, type VaultItemsListError, type VaultItemsListErrors, type VaultItemsListResponse, type VaultItemsListResponses, type VaultShareLinkRevokePostData, type VaultShareLinkRevokePostError, type VaultShareLinkRevokePostErrors, type VaultShareLinkRevokePostResponse, type VaultShareLinkRevokePostResponses, type VaultShareLinksCreateData, type VaultShareLinksCreateError, type VaultShareLinksCreateErrors, type VaultShareLinksCreateResponse, type VaultShareLinksCreateResponses, type VaultShareLinksListData, type VaultShareLinksListError, type VaultShareLinksListErrors, type VaultShareLinksListResponse, type VaultShareLinksListResponses, type VaultTemplateDeleteData, type VaultTemplateDeleteError, type VaultTemplateDeleteErrors, type VaultTemplateDeleteResponse, type VaultTemplateDeleteResponses, type VaultTemplateDuplicatePostData, type VaultTemplateDuplicatePostError, type VaultTemplateDuplicatePostErrors, type VaultTemplateDuplicatePostResponse, type VaultTemplateDuplicatePostResponses, type VaultTemplateGetData, type VaultTemplateGetError, type VaultTemplateGetErrors, type VaultTemplateGetResponse, type VaultTemplateGetResponses, type VaultTemplateUpdateData, type VaultTemplateUpdateError, type VaultTemplateUpdateErrors, type VaultTemplateUpdateResponse, type VaultTemplateUpdateResponses, type VaultTemplatesCreateData, type VaultTemplatesCreateError, type VaultTemplatesCreateErrors, type VaultTemplatesCreateResponse, type VaultTemplatesCreateResponses, type VaultTemplatesListData, type VaultTemplatesListError, type VaultTemplatesListErrors, type VaultTemplatesListResponse, type VaultTemplatesListResponses, type Version, type WorkflowSpecValidationValidateData, type WorkflowSpecValidationValidateError, type WorkflowSpecValidationValidateErrors, type WorkflowSpecValidationValidateResponse, type WorkflowSpecValidationValidateResponses, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentExecutePost, agentExecuteSyncPost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentWorkflowHeadGetFiles, agentWorkflowHeadPatchFiles, agentWorkflowHeadPublishHead, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetFilesByVersion, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsValidate, availableToolsList, client, contextGet, docsSearchSearch, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage, vaultItemDelete, vaultItemFieldDelete, vaultItemFieldsCreate, vaultItemGet, vaultItemRotatePost, vaultItemUpdate, vaultItemVersionsList, vaultItemsCreate, vaultItemsList, vaultShareLinkRevokePost, vaultShareLinksCreate, vaultShareLinksList, vaultTemplateDelete, vaultTemplateDuplicatePost, vaultTemplateGet, vaultTemplateUpdate, vaultTemplatesCreate, vaultTemplatesList, workflowSpecValidationValidate };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
'use strict';var X=(e,t,r)=>{typeof r=="string"||r instanceof Blob?e.append(t,r):r instanceof Date?e.append(t,r.toISOString()):e.append(t,JSON.stringify(r));};var V={bodySerializer:e=>{let t=new FormData;return Object.entries(e).forEach(([r,s])=>{s!=null&&(Array.isArray(s)?s.forEach(i=>X(t,r,i)):X(t,r,s));}),t}},L={bodySerializer:e=>JSON.stringify(e,(t,r)=>typeof r=="bigint"?r.toString():r)};function N({onRequest:e,onSseError:t,onSseEvent:r,responseTransformer:s,responseValidator:i,sseDefaultRetryDelay:u,sseMaxRetryAttempts:a,sseMaxRetryDelay:n,sseSleepFn:l,url:w,...c}){let p,
|
|
1
|
+
'use strict';var X=(e,t,r)=>{typeof r=="string"||r instanceof Blob?e.append(t,r):r instanceof Date?e.append(t,r.toISOString()):e.append(t,JSON.stringify(r));};var V={bodySerializer:e=>{let t=new FormData;return Object.entries(e).forEach(([r,s])=>{s!=null&&(Array.isArray(s)?s.forEach(i=>X(t,r,i)):X(t,r,s));}),t}},L={bodySerializer:e=>JSON.stringify(e,(t,r)=>typeof r=="bigint"?r.toString():r)};function N({onRequest:e,onSseError:t,onSseEvent:r,responseTransformer:s,responseValidator:i,sseDefaultRetryDelay:u,sseMaxRetryAttempts:a,sseMaxRetryDelay:n,sseSleepFn:l,url:w,...c}){let p,y=l??(d=>new Promise(A=>setTimeout(A,d)));return {stream:async function*(){let d=u??3e3,A=0,h=c.signal??new AbortController().signal;for(;!h.aborted;){A++;let k=c.headers instanceof Headers?c.headers:new Headers(c.headers);p!==void 0&&k.set("Last-Event-ID",p);try{let P={redirect:"follow",...c,body:c.serializedBody,headers:k,signal:h},T=new Request(w,P);e&&(T=await e(w,P));let E=await(c.fetch??globalThis.fetch)(T);if(!E.ok)throw new Error(`SSE failed: ${E.status} ${E.statusText}`);if(!E.body)throw new Error("No body in SSE response");let R=E.body.pipeThrough(new TextDecoderStream).getReader(),f="",B=()=>{try{R.cancel();}catch{}};h.addEventListener("abort",B);try{for(;;){let{done:ee,value:te}=await R.read();if(ee)break;f+=te,f=f.replace(/\r\n?/g,`
|
|
2
2
|
`);let M=f.split(`
|
|
3
3
|
|
|
4
4
|
`);f=M.pop()??"";for(let re of M){let oe=re.split(`
|
|
5
5
|
`),b=[],z;for(let x of oe)if(x.startsWith("data:"))b.push(x.replace(/^data:\s*/,""));else if(x.startsWith("event:"))z=x.replace(/^event:\s*/,"");else if(x.startsWith("id:"))p=x.replace(/^id:\s*/,"");else if(x.startsWith("retry:")){let j=Number.parseInt(x.replace(/^retry:\s*/,""),10);Number.isNaN(j)||(d=j);}let O,H=!1;if(b.length){let x=b.join(`
|
|
6
|
-
`);try{O=JSON.parse(x),H=!0;}catch{O=x;}}H&&(i&&await i(O),s&&(O=await s(O))),r?.({data:O,event:z,id:p,retry:d}),b.length&&(yield O);}}}finally{h.removeEventListener("abort",B),y.releaseLock();}break}catch(P){if(t?.(P),a!==void 0&&A>=a)break;let T=Math.min(d*2**(A-1),n??3e4);await R(T);}}}()}}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 ","}},ae=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},I=({allowReserved:e,explode:t,name:r,style:s,value:i})=>{if(!t){let n=(e?i:i.map(l=>encodeURIComponent(l))).join(ne(s));switch(s){case "label":return `.${n}`;case "matrix":return `;${r}=${n}`;case "simple":return n;default:return `${r}=${n}`}}let u=se(s),a=i.map(n=>s==="label"||s==="simple"?e?n:encodeURIComponent(n):D({allowReserved:e,name:r,value:n})).join(u);return s==="label"||s==="matrix"?u+a:a},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:s,value:i,valueOnly:u})=>{if(i instanceof Date)return u?i.toISOString():`${r}=${i.toISOString()}`;if(s!=="deepObject"&&!t){let l=[];Object.entries(i).forEach(([c,p])=>{l=[...l,c,e?p:encodeURIComponent(p)];});let w=l.join(",");switch(s){case "form":return `${r}=${w}`;case "label":return `.${w}`;case "matrix":return `;${r}=${w}`;default:return w}}let a=ae(s),n=Object.entries(i).map(([l,w])=>D({allowReserved:e,name:s==="deepObject"?`${r}[${l}]`:l,value:w})).join(a);return s==="label"||s==="matrix"?a+n:n};var ie=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,s=t.match(ie);if(s)for(let i of s){let u=false,a=i.substring(1,i.length-1),n="simple";a.endsWith("*")&&(u=true,a=a.substring(0,a.length-1)),a.startsWith(".")?(a=a.substring(1),n="label"):a.startsWith(";")&&(a=a.substring(1),n="matrix");let l=e[a];if(l==null)continue;if(Array.isArray(l)){r=r.replace(i,I({explode:u,name:a,style:n,value:l}));continue}if(typeof l=="object"){r=r.replace(i,W({explode:u,name:a,style:n,value:l,valueOnly:true}));continue}if(n==="matrix"){r=r.replace(i,`;${D({name:a,value:l})}`);continue}let w=encodeURIComponent(n==="label"?`.${l}`:l);r=r.replace(i,w);}return r},$=({baseUrl:e,path:t,query:r,querySerializer:s,url:i})=>{let u=i.startsWith("/")?i:`/${i}`,a=(e??"")+u;t&&(a=le({path:t,url:a}));let n=r?s(r):"";return n.startsWith("?")&&(n=n.substring(1)),n&&(a+=`?${n}`),a};function F(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}={})=>s=>{let i=[];if(s&&typeof s=="object")for(let u in s){let a=s[u];if(a==null)continue;let n=e[u]||t;if(Array.isArray(a)){let l=I({allowReserved:n.allowReserved,explode:true,name:u,style:"form",value:a,...n.array});l&&i.push(l);}else if(typeof a=="object"){let l=W({allowReserved:n.allowReserved,explode:true,name:u,style:"deepObject",value:a,...n.object});l&&i.push(l);}else {let l=D({allowReserved:n.allowReserved,name:u,value:a});l&&i.push(l);}}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"}},ue=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false;async function Y(e){for(let t of e.security??[]){if(ue(e,t.name))continue;let r=await Q(t,e.auth);if(!r)continue;let s=t.name??"Authorization";switch(t.in){case "query":e.query||(e.query={}),e.query[s]=r;break;case "cookie":e.headers.append("Cookie",`${s}=${r}`);break;default:e.headers.set(s,r);break}}}var q=e=>$({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),U=(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},pe=e=>{let t=[];return e.forEach((r,s)=>{t.push([s,r]);}),t},v=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let s=r instanceof Headers?pe(r):Object.entries(r);for(let[i,u]of s)if(u===null)t.delete(i);else if(Array.isArray(u))for(let a of u)t.append(i,a);else u!==void 0&&t.set(i,typeof u=="object"?JSON.stringify(u):u);}return t},S=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 s=this.getInterceptorIndex(t);return this.fns[s]?(this.fns[s]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new S,request:new S,response:new S}),ce=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),de={"Content-Type":"application/json"},C=(e={})=>({...L,headers:de,parseAs:"auto",querySerializer:ce,...e});var K=(e={})=>{let t=U(C(),e),r=()=>({...t}),s=c=>(t=U(t,c),r()),i=Z(),u=async c=>{let p={...t,...c,fetch:c.fetch??t.fetch??globalThis.fetch,headers:v(t.headers,c.headers),serializedBody:void 0};p.security&&await Y(p),p.requestValidator&&await p.requestValidator(p),p.body!==void 0&&p.bodySerializer&&(p.serializedBody=p.bodySerializer(p.body)),(p.body===void 0||p.serializedBody==="")&&p.headers.delete("Content-Type");let R=p,m=q(R);return {opts:R,url:m}},a=async c=>{let p=c.throwOnError??t.throwOnError,R=c.responseStyle??t.responseStyle,m,g;try{let{opts:d,url:A}=await u(c),h={redirect:"follow",...d,body:F(d)};m=new Request(A,h);for(let E of i.request.fns)E&&(m=await E(m,d));let k=d.fetch;g=await k(m);for(let E of i.response.fns)E&&(g=await E(g,m,d));let P={request:m,response:g};if(g.ok){let E=(d.parseAs==="auto"?_(g.headers.get("Content-Type")):d.parseAs)??"json";if(g.status===204||g.headers.get("Content-Length")==="0"){let f;switch(E){case "arrayBuffer":case "blob":case "text":f=await g[E]();break;case "formData":f=new FormData;break;case "stream":f=g.body;break;default:f={};break}return d.responseStyle==="data"?f:{data:f,...P}}let y;switch(E){case "arrayBuffer":case "blob":case "formData":case "text":y=await g[E]();break;case "json":{let f=await g.text();y=f?JSON.parse(f):{};break}case "stream":return d.responseStyle==="data"?g.body:{data:g.body,...P}}return E==="json"&&(d.responseValidator&&await d.responseValidator(y),d.responseTransformer&&(y=await d.responseTransformer(y))),d.responseStyle==="data"?y:{data:y,...P}}let T=await g.text(),G;try{G=JSON.parse(T);}catch{}throw G??T}catch(d){let A=d;for(let h of i.error.fns)h&&(A=await h(A,g,m,c));if(A=A||{},p)throw A;return R==="data"?void 0:{error:A,request:m,response:g}}},n=c=>p=>a({...p,method:c}),l=c=>async p=>{let{opts:R,url:m}=await u(p);return N({...R,body:R.body,method:c,onRequest:async(g,d)=>{let A=new Request(g,d);for(let h of i.request.fns)h&&(A=await h(A,R));return A},serializedBody:F(R),url:m})};return {buildUrl:c=>q({...t,...c}),connect:n("CONNECT"),delete:n("DELETE"),get:n("GET"),getConfig:r,head:n("HEAD"),interceptors:i,options:n("OPTIONS"),patch:n("PATCH"),post:n("POST"),put:n("PUT"),request:a,setConfig:s,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:n("TRACE")}};var o=K(C({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),Ae=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),Ee=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),he=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),Re=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ye=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Pe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),Oe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),De=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Se=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ke=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),be=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ie=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),We=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e}),ve=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),Fe=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),qe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/files",...e}),Ke=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/files",...e,headers:{"Content-Type":"application/json",...e.headers}}),Be=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/publish",...e}),Me=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),ze=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),He=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),je=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Ne=e=>(e.client??o).post({security:[{name:"X-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-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/files",...e}),Qe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),Je=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),_e=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),Ye=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/context",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),et=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions",...e}),tt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),rt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),ot=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),st=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),nt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),at=e=>(e.client??o).post({...V,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),it=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),lt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),dt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),gt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),At=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Et=e=>(e.client??o).post({...V,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}}),ft=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items",...e}),mt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),wt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e}),ht=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e}),Rt=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/fields",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/fields/{fieldKey}",...e}),Pt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/rotate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/versions",...e}),Ot=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links",...e}),Dt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links",...e,headers:{"Content-Type":"application/json",...e.headers}}),St=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links/{linkId}/revoke",...e}),Ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates",...e}),kt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates",...e,headers:{"Content-Type":"application/json",...e.headers}}),bt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e}),Vt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e}),It=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),vt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}});
|
|
7
|
-
exports.adminCustomerActivityList=ge;exports.adminCustomerActivityNotableList=Ae;exports.adminCustomerActivityWindowStatsList=Ee;exports.agentByIdDelete=Le;exports.agentByIdUpdate=Fe;exports.agentCreate=ve;exports.agentExecutePost=qe;exports.agentList=We;exports.agentProfileClearBrowserCache=ke;exports.agentProfileDelete=De;exports.agentProfileDuplicate=be;exports.agentProfileGet=Se;exports.agentProfileGetInboxEmail=Ie;exports.agentProfileGetInboxEmails=Ve;exports.agentProfilePoolDelete=we;exports.agentProfilePoolGet=he;exports.agentProfilePoolMembersAdd=Pe;exports.agentProfilePoolMembersList=xe;exports.agentProfilePoolMembersRemove=
|
|
6
|
+
`);try{O=JSON.parse(x),H=!0;}catch{O=x;}}H&&(i&&await i(O),s&&(O=await s(O))),r?.({data:O,event:z,id:p,retry:d}),b.length&&(yield O);}}}finally{h.removeEventListener("abort",B),R.releaseLock();}break}catch(P){if(t?.(P),a!==void 0&&A>=a)break;let T=Math.min(d*2**(A-1),n??3e4);await y(T);}}}()}}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 ","}},ae=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},I=({allowReserved:e,explode:t,name:r,style:s,value:i})=>{if(!t){let n=(e?i:i.map(l=>encodeURIComponent(l))).join(ne(s));switch(s){case "label":return `.${n}`;case "matrix":return `;${r}=${n}`;case "simple":return n;default:return `${r}=${n}`}}let u=se(s),a=i.map(n=>s==="label"||s==="simple"?e?n:encodeURIComponent(n):D({allowReserved:e,name:r,value:n})).join(u);return s==="label"||s==="matrix"?u+a:a},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:s,value:i,valueOnly:u})=>{if(i instanceof Date)return u?i.toISOString():`${r}=${i.toISOString()}`;if(s!=="deepObject"&&!t){let l=[];Object.entries(i).forEach(([c,p])=>{l=[...l,c,e?p:encodeURIComponent(p)];});let w=l.join(",");switch(s){case "form":return `${r}=${w}`;case "label":return `.${w}`;case "matrix":return `;${r}=${w}`;default:return w}}let a=ae(s),n=Object.entries(i).map(([l,w])=>D({allowReserved:e,name:s==="deepObject"?`${r}[${l}]`:l,value:w})).join(a);return s==="label"||s==="matrix"?a+n:n};var ie=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,s=t.match(ie);if(s)for(let i of s){let u=false,a=i.substring(1,i.length-1),n="simple";a.endsWith("*")&&(u=true,a=a.substring(0,a.length-1)),a.startsWith(".")?(a=a.substring(1),n="label"):a.startsWith(";")&&(a=a.substring(1),n="matrix");let l=e[a];if(l==null)continue;if(Array.isArray(l)){r=r.replace(i,I({explode:u,name:a,style:n,value:l}));continue}if(typeof l=="object"){r=r.replace(i,W({explode:u,name:a,style:n,value:l,valueOnly:true}));continue}if(n==="matrix"){r=r.replace(i,`;${D({name:a,value:l})}`);continue}let w=encodeURIComponent(n==="label"?`.${l}`:l);r=r.replace(i,w);}return r},$=({baseUrl:e,path:t,query:r,querySerializer:s,url:i})=>{let u=i.startsWith("/")?i:`/${i}`,a=(e??"")+u;t&&(a=le({path:t,url:a}));let n=r?s(r):"";return n.startsWith("?")&&(n=n.substring(1)),n&&(a+=`?${n}`),a};function F(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}={})=>s=>{let i=[];if(s&&typeof s=="object")for(let u in s){let a=s[u];if(a==null)continue;let n=e[u]||t;if(Array.isArray(a)){let l=I({allowReserved:n.allowReserved,explode:true,name:u,style:"form",value:a,...n.array});l&&i.push(l);}else if(typeof a=="object"){let l=W({allowReserved:n.allowReserved,explode:true,name:u,style:"deepObject",value:a,...n.object});l&&i.push(l);}else {let l=D({allowReserved:n.allowReserved,name:u,value:a});l&&i.push(l);}}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"}},ue=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false;async function Y(e){for(let t of e.security??[]){if(ue(e,t.name))continue;let r=await Q(t,e.auth);if(!r)continue;let s=t.name??"Authorization";switch(t.in){case "query":e.query||(e.query={}),e.query[s]=r;break;case "cookie":e.headers.append("Cookie",`${s}=${r}`);break;default:e.headers.set(s,r);break}}}var q=e=>$({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),U=(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},pe=e=>{let t=[];return e.forEach((r,s)=>{t.push([s,r]);}),t},v=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let s=r instanceof Headers?pe(r):Object.entries(r);for(let[i,u]of s)if(u===null)t.delete(i);else if(Array.isArray(u))for(let a of u)t.append(i,a);else u!==void 0&&t.set(i,typeof u=="object"?JSON.stringify(u):u);}return t},S=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 s=this.getInterceptorIndex(t);return this.fns[s]?(this.fns[s]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new S,request:new S,response:new S}),ce=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),de={"Content-Type":"application/json"},C=(e={})=>({...L,headers:de,parseAs:"auto",querySerializer:ce,...e});var K=(e={})=>{let t=U(C(),e),r=()=>({...t}),s=c=>(t=U(t,c),r()),i=Z(),u=async c=>{let p={...t,...c,fetch:c.fetch??t.fetch??globalThis.fetch,headers:v(t.headers,c.headers),serializedBody:void 0};p.security&&await Y(p),p.requestValidator&&await p.requestValidator(p),p.body!==void 0&&p.bodySerializer&&(p.serializedBody=p.bodySerializer(p.body)),(p.body===void 0||p.serializedBody==="")&&p.headers.delete("Content-Type");let y=p,m=q(y);return {opts:y,url:m}},a=async c=>{let p=c.throwOnError??t.throwOnError,y=c.responseStyle??t.responseStyle,m,g;try{let{opts:d,url:A}=await u(c),h={redirect:"follow",...d,body:F(d)};m=new Request(A,h);for(let E of i.request.fns)E&&(m=await E(m,d));let k=d.fetch;g=await k(m);for(let E of i.response.fns)E&&(g=await E(g,m,d));let P={request:m,response:g};if(g.ok){let E=(d.parseAs==="auto"?_(g.headers.get("Content-Type")):d.parseAs)??"json";if(g.status===204||g.headers.get("Content-Length")==="0"){let f;switch(E){case "arrayBuffer":case "blob":case "text":f=await g[E]();break;case "formData":f=new FormData;break;case "stream":f=g.body;break;default:f={};break}return d.responseStyle==="data"?f:{data:f,...P}}let R;switch(E){case "arrayBuffer":case "blob":case "formData":case "text":R=await g[E]();break;case "json":{let f=await g.text();R=f?JSON.parse(f):{};break}case "stream":return d.responseStyle==="data"?g.body:{data:g.body,...P}}return E==="json"&&(d.responseValidator&&await d.responseValidator(R),d.responseTransformer&&(R=await d.responseTransformer(R))),d.responseStyle==="data"?R:{data:R,...P}}let T=await g.text(),G;try{G=JSON.parse(T);}catch{}throw G??T}catch(d){let A=d;for(let h of i.error.fns)h&&(A=await h(A,g,m,c));if(A=A||{},p)throw A;return y==="data"?void 0:{error:A,request:m,response:g}}},n=c=>p=>a({...p,method:c}),l=c=>async p=>{let{opts:y,url:m}=await u(p);return N({...y,body:y.body,method:c,onRequest:async(g,d)=>{let A=new Request(g,d);for(let h of i.request.fns)h&&(A=await h(A,y));return A},serializedBody:F(y),url:m})};return {buildUrl:c=>q({...t,...c}),connect:n("CONNECT"),delete:n("DELETE"),get:n("GET"),getConfig:r,head:n("HEAD"),interceptors:i,options:n("OPTIONS"),patch:n("PATCH"),post:n("POST"),put:n("PUT"),request:a,setConfig:s,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:n("TRACE")}};var o=K(C({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),Ae=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),Ee=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),he=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),ye=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Pe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),Oe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),De=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Se=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ke=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),be=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ie=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),We=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e}),ve=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),Fe=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),qe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute/sync",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ke=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/files",...e}),Be=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/files",...e,headers:{"Content-Type":"application/json",...e.headers}}),Me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/publish",...e}),ze=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),He=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),je=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xe=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Ne=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),$e=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/files",...e}),Je=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),_e=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),Ye=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),Ze=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/context",...e}),et=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),tt=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions",...e}),rt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),ot=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),st=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),nt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),at=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),it=e=>(e.client??o).post({...V,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),lt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),dt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),gt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),At=e=>(e.client??o).post({security:[{name:"X-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-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),ft=e=>(e.client??o).post({...V,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}}),mt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items",...e}),wt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),ht=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e}),yt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e}),Rt=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/fields",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/fields/{fieldKey}",...e}),Tt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/rotate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ot=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/versions",...e}),Dt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links",...e}),St=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ct=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links/{linkId}/revoke",...e}),kt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates",...e}),bt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e}),It=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e}),Wt=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),vt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}});
|
|
7
|
+
exports.adminCustomerActivityList=ge;exports.adminCustomerActivityNotableList=Ae;exports.adminCustomerActivityWindowStatsList=Ee;exports.agentByIdDelete=Le;exports.agentByIdUpdate=Fe;exports.agentCreate=ve;exports.agentExecutePost=qe;exports.agentExecuteSyncPost=Ue;exports.agentList=We;exports.agentProfileClearBrowserCache=ke;exports.agentProfileDelete=De;exports.agentProfileDuplicate=be;exports.agentProfileGet=Se;exports.agentProfileGetInboxEmail=Ie;exports.agentProfileGetInboxEmails=Ve;exports.agentProfilePoolDelete=we;exports.agentProfilePoolGet=he;exports.agentProfilePoolMembersAdd=Pe;exports.agentProfilePoolMembersList=xe;exports.agentProfilePoolMembersRemove=Re;exports.agentProfilePoolUpdate=ye;exports.agentProfilePoolsCreate=me;exports.agentProfilePoolsList=fe;exports.agentProfileUpdate=Ce;exports.agentProfilesCreate=Oe;exports.agentProfilesList=Te;exports.agentWorkflowHeadGetFiles=Ke;exports.agentWorkflowHeadPatchFiles=Be;exports.agentWorkflowHeadPublishHead=Me;exports.agentWorkflowsCreate=He;exports.agentWorkflowsDeleteWorkflow=Xe;exports.agentWorkflowsExecute=$e;exports.agentWorkflowsGet=Ne;exports.agentWorkflowsGetFilesByVersion=Qe;exports.agentWorkflowsGetInputs=Je;exports.agentWorkflowsGetOutputSchemas=_e;exports.agentWorkflowsList=ze;exports.agentWorkflowsPublish=Ye;exports.agentWorkflowsValidate=je;exports.availableToolsList=Ge;exports.client=o;exports.contextGet=Ze;exports.docsSearchSearch=et;exports.executionActivitiesGet=ot;exports.executionAgentFileDownloadRedirect=nt;exports.executionAgentFilesGet=st;exports.executionContextFileDownloadRedirect=lt;exports.executionContextFilesGet=at;exports.executionContextFilesUpload=it;exports.executionDebugFileDownloadRedirect=ut;exports.executionFileDownloadRedirect=ct;exports.executionFilesGet=pt;exports.executionGet=rt;exports.executionRecordingRedirect=dt;exports.executionStatusUpdate=gt;exports.executionUserMessagesAdd=At;exports.executionsList=tt;exports.schemaValidationValidate=Et;exports.tempFilesStage=ft;exports.vaultItemDelete=ht;exports.vaultItemFieldDelete=Pt;exports.vaultItemFieldsCreate=xt;exports.vaultItemGet=yt;exports.vaultItemRotatePost=Tt;exports.vaultItemUpdate=Rt;exports.vaultItemVersionsList=Ot;exports.vaultItemsCreate=wt;exports.vaultItemsList=mt;exports.vaultShareLinkRevokePost=Ct;exports.vaultShareLinksCreate=St;exports.vaultShareLinksList=Dt;exports.vaultTemplateDelete=Vt;exports.vaultTemplateDuplicatePost=vt;exports.vaultTemplateGet=It;exports.vaultTemplateUpdate=Wt;exports.vaultTemplatesCreate=bt;exports.vaultTemplatesList=kt;exports.workflowSpecValidationValidate=Gt;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var X=(e,t,r)=>{typeof r=="string"||r instanceof Blob?e.append(t,r):r instanceof Date?e.append(t,r.toISOString()):e.append(t,JSON.stringify(r));};var V={bodySerializer:e=>{let t=new FormData;return Object.entries(e).forEach(([r,s])=>{s!=null&&(Array.isArray(s)?s.forEach(i=>X(t,r,i)):X(t,r,s));}),t}},L={bodySerializer:e=>JSON.stringify(e,(t,r)=>typeof r=="bigint"?r.toString():r)};function N({onRequest:e,onSseError:t,onSseEvent:r,responseTransformer:s,responseValidator:i,sseDefaultRetryDelay:u,sseMaxRetryAttempts:a,sseMaxRetryDelay:n,sseSleepFn:l,url:w,...c}){let p,
|
|
1
|
+
var X=(e,t,r)=>{typeof r=="string"||r instanceof Blob?e.append(t,r):r instanceof Date?e.append(t,r.toISOString()):e.append(t,JSON.stringify(r));};var V={bodySerializer:e=>{let t=new FormData;return Object.entries(e).forEach(([r,s])=>{s!=null&&(Array.isArray(s)?s.forEach(i=>X(t,r,i)):X(t,r,s));}),t}},L={bodySerializer:e=>JSON.stringify(e,(t,r)=>typeof r=="bigint"?r.toString():r)};function N({onRequest:e,onSseError:t,onSseEvent:r,responseTransformer:s,responseValidator:i,sseDefaultRetryDelay:u,sseMaxRetryAttempts:a,sseMaxRetryDelay:n,sseSleepFn:l,url:w,...c}){let p,y=l??(d=>new Promise(A=>setTimeout(A,d)));return {stream:async function*(){let d=u??3e3,A=0,h=c.signal??new AbortController().signal;for(;!h.aborted;){A++;let k=c.headers instanceof Headers?c.headers:new Headers(c.headers);p!==void 0&&k.set("Last-Event-ID",p);try{let P={redirect:"follow",...c,body:c.serializedBody,headers:k,signal:h},T=new Request(w,P);e&&(T=await e(w,P));let E=await(c.fetch??globalThis.fetch)(T);if(!E.ok)throw new Error(`SSE failed: ${E.status} ${E.statusText}`);if(!E.body)throw new Error("No body in SSE response");let R=E.body.pipeThrough(new TextDecoderStream).getReader(),f="",B=()=>{try{R.cancel();}catch{}};h.addEventListener("abort",B);try{for(;;){let{done:ee,value:te}=await R.read();if(ee)break;f+=te,f=f.replace(/\r\n?/g,`
|
|
2
2
|
`);let M=f.split(`
|
|
3
3
|
|
|
4
4
|
`);f=M.pop()??"";for(let re of M){let oe=re.split(`
|
|
5
5
|
`),b=[],z;for(let x of oe)if(x.startsWith("data:"))b.push(x.replace(/^data:\s*/,""));else if(x.startsWith("event:"))z=x.replace(/^event:\s*/,"");else if(x.startsWith("id:"))p=x.replace(/^id:\s*/,"");else if(x.startsWith("retry:")){let j=Number.parseInt(x.replace(/^retry:\s*/,""),10);Number.isNaN(j)||(d=j);}let O,H=!1;if(b.length){let x=b.join(`
|
|
6
|
-
`);try{O=JSON.parse(x),H=!0;}catch{O=x;}}H&&(i&&await i(O),s&&(O=await s(O))),r?.({data:O,event:z,id:p,retry:d}),b.length&&(yield O);}}}finally{h.removeEventListener("abort",B),y.releaseLock();}break}catch(P){if(t?.(P),a!==void 0&&A>=a)break;let T=Math.min(d*2**(A-1),n??3e4);await R(T);}}}()}}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 ","}},ae=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},I=({allowReserved:e,explode:t,name:r,style:s,value:i})=>{if(!t){let n=(e?i:i.map(l=>encodeURIComponent(l))).join(ne(s));switch(s){case "label":return `.${n}`;case "matrix":return `;${r}=${n}`;case "simple":return n;default:return `${r}=${n}`}}let u=se(s),a=i.map(n=>s==="label"||s==="simple"?e?n:encodeURIComponent(n):D({allowReserved:e,name:r,value:n})).join(u);return s==="label"||s==="matrix"?u+a:a},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:s,value:i,valueOnly:u})=>{if(i instanceof Date)return u?i.toISOString():`${r}=${i.toISOString()}`;if(s!=="deepObject"&&!t){let l=[];Object.entries(i).forEach(([c,p])=>{l=[...l,c,e?p:encodeURIComponent(p)];});let w=l.join(",");switch(s){case "form":return `${r}=${w}`;case "label":return `.${w}`;case "matrix":return `;${r}=${w}`;default:return w}}let a=ae(s),n=Object.entries(i).map(([l,w])=>D({allowReserved:e,name:s==="deepObject"?`${r}[${l}]`:l,value:w})).join(a);return s==="label"||s==="matrix"?a+n:n};var ie=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,s=t.match(ie);if(s)for(let i of s){let u=false,a=i.substring(1,i.length-1),n="simple";a.endsWith("*")&&(u=true,a=a.substring(0,a.length-1)),a.startsWith(".")?(a=a.substring(1),n="label"):a.startsWith(";")&&(a=a.substring(1),n="matrix");let l=e[a];if(l==null)continue;if(Array.isArray(l)){r=r.replace(i,I({explode:u,name:a,style:n,value:l}));continue}if(typeof l=="object"){r=r.replace(i,W({explode:u,name:a,style:n,value:l,valueOnly:true}));continue}if(n==="matrix"){r=r.replace(i,`;${D({name:a,value:l})}`);continue}let w=encodeURIComponent(n==="label"?`.${l}`:l);r=r.replace(i,w);}return r},$=({baseUrl:e,path:t,query:r,querySerializer:s,url:i})=>{let u=i.startsWith("/")?i:`/${i}`,a=(e??"")+u;t&&(a=le({path:t,url:a}));let n=r?s(r):"";return n.startsWith("?")&&(n=n.substring(1)),n&&(a+=`?${n}`),a};function F(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}={})=>s=>{let i=[];if(s&&typeof s=="object")for(let u in s){let a=s[u];if(a==null)continue;let n=e[u]||t;if(Array.isArray(a)){let l=I({allowReserved:n.allowReserved,explode:true,name:u,style:"form",value:a,...n.array});l&&i.push(l);}else if(typeof a=="object"){let l=W({allowReserved:n.allowReserved,explode:true,name:u,style:"deepObject",value:a,...n.object});l&&i.push(l);}else {let l=D({allowReserved:n.allowReserved,name:u,value:a});l&&i.push(l);}}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"}},ue=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false;async function Y(e){for(let t of e.security??[]){if(ue(e,t.name))continue;let r=await Q(t,e.auth);if(!r)continue;let s=t.name??"Authorization";switch(t.in){case "query":e.query||(e.query={}),e.query[s]=r;break;case "cookie":e.headers.append("Cookie",`${s}=${r}`);break;default:e.headers.set(s,r);break}}}var q=e=>$({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),U=(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},pe=e=>{let t=[];return e.forEach((r,s)=>{t.push([s,r]);}),t},v=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let s=r instanceof Headers?pe(r):Object.entries(r);for(let[i,u]of s)if(u===null)t.delete(i);else if(Array.isArray(u))for(let a of u)t.append(i,a);else u!==void 0&&t.set(i,typeof u=="object"?JSON.stringify(u):u);}return t},S=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 s=this.getInterceptorIndex(t);return this.fns[s]?(this.fns[s]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new S,request:new S,response:new S}),ce=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),de={"Content-Type":"application/json"},C=(e={})=>({...L,headers:de,parseAs:"auto",querySerializer:ce,...e});var K=(e={})=>{let t=U(C(),e),r=()=>({...t}),s=c=>(t=U(t,c),r()),i=Z(),u=async c=>{let p={...t,...c,fetch:c.fetch??t.fetch??globalThis.fetch,headers:v(t.headers,c.headers),serializedBody:void 0};p.security&&await Y(p),p.requestValidator&&await p.requestValidator(p),p.body!==void 0&&p.bodySerializer&&(p.serializedBody=p.bodySerializer(p.body)),(p.body===void 0||p.serializedBody==="")&&p.headers.delete("Content-Type");let R=p,m=q(R);return {opts:R,url:m}},a=async c=>{let p=c.throwOnError??t.throwOnError,R=c.responseStyle??t.responseStyle,m,g;try{let{opts:d,url:A}=await u(c),h={redirect:"follow",...d,body:F(d)};m=new Request(A,h);for(let E of i.request.fns)E&&(m=await E(m,d));let k=d.fetch;g=await k(m);for(let E of i.response.fns)E&&(g=await E(g,m,d));let P={request:m,response:g};if(g.ok){let E=(d.parseAs==="auto"?_(g.headers.get("Content-Type")):d.parseAs)??"json";if(g.status===204||g.headers.get("Content-Length")==="0"){let f;switch(E){case "arrayBuffer":case "blob":case "text":f=await g[E]();break;case "formData":f=new FormData;break;case "stream":f=g.body;break;default:f={};break}return d.responseStyle==="data"?f:{data:f,...P}}let y;switch(E){case "arrayBuffer":case "blob":case "formData":case "text":y=await g[E]();break;case "json":{let f=await g.text();y=f?JSON.parse(f):{};break}case "stream":return d.responseStyle==="data"?g.body:{data:g.body,...P}}return E==="json"&&(d.responseValidator&&await d.responseValidator(y),d.responseTransformer&&(y=await d.responseTransformer(y))),d.responseStyle==="data"?y:{data:y,...P}}let T=await g.text(),G;try{G=JSON.parse(T);}catch{}throw G??T}catch(d){let A=d;for(let h of i.error.fns)h&&(A=await h(A,g,m,c));if(A=A||{},p)throw A;return R==="data"?void 0:{error:A,request:m,response:g}}},n=c=>p=>a({...p,method:c}),l=c=>async p=>{let{opts:R,url:m}=await u(p);return N({...R,body:R.body,method:c,onRequest:async(g,d)=>{let A=new Request(g,d);for(let h of i.request.fns)h&&(A=await h(A,R));return A},serializedBody:F(R),url:m})};return {buildUrl:c=>q({...t,...c}),connect:n("CONNECT"),delete:n("DELETE"),get:n("GET"),getConfig:r,head:n("HEAD"),interceptors:i,options:n("OPTIONS"),patch:n("PATCH"),post:n("POST"),put:n("PUT"),request:a,setConfig:s,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:n("TRACE")}};var o=K(C({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),Ae=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),Ee=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),he=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),Re=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ye=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Pe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),Oe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),De=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Se=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ke=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),be=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ie=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),We=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e}),ve=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),Fe=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),qe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/files",...e}),Ke=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/files",...e,headers:{"Content-Type":"application/json",...e.headers}}),Be=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/publish",...e}),Me=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),ze=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),He=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),je=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Ne=e=>(e.client??o).post({security:[{name:"X-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-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/files",...e}),Qe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),Je=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),_e=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),Ye=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/context",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),et=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions",...e}),tt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),rt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),ot=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),st=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),nt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),at=e=>(e.client??o).post({...V,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),it=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),lt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),dt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),gt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),At=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Et=e=>(e.client??o).post({...V,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}}),ft=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items",...e}),mt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),wt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e}),ht=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e}),Rt=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/fields",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/fields/{fieldKey}",...e}),Pt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/rotate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/versions",...e}),Ot=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links",...e}),Dt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links",...e,headers:{"Content-Type":"application/json",...e.headers}}),St=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links/{linkId}/revoke",...e}),Ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates",...e}),kt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates",...e,headers:{"Content-Type":"application/json",...e.headers}}),bt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e}),Vt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e}),It=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),vt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}});
|
|
7
|
-
export{ge as adminCustomerActivityList,Ae as adminCustomerActivityNotableList,Ee as adminCustomerActivityWindowStatsList,Le as agentByIdDelete,Fe as agentByIdUpdate,ve as agentCreate,qe as agentExecutePost,We as agentList,ke as agentProfileClearBrowserCache,De as agentProfileDelete,be as agentProfileDuplicate,Se as agentProfileGet,Ie as agentProfileGetInboxEmail,Ve as agentProfileGetInboxEmails,we as agentProfilePoolDelete,he as agentProfilePoolGet,Pe as agentProfilePoolMembersAdd,xe as agentProfilePoolMembersList,
|
|
6
|
+
`);try{O=JSON.parse(x),H=!0;}catch{O=x;}}H&&(i&&await i(O),s&&(O=await s(O))),r?.({data:O,event:z,id:p,retry:d}),b.length&&(yield O);}}}finally{h.removeEventListener("abort",B),R.releaseLock();}break}catch(P){if(t?.(P),a!==void 0&&A>=a)break;let T=Math.min(d*2**(A-1),n??3e4);await y(T);}}}()}}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 ","}},ae=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},I=({allowReserved:e,explode:t,name:r,style:s,value:i})=>{if(!t){let n=(e?i:i.map(l=>encodeURIComponent(l))).join(ne(s));switch(s){case "label":return `.${n}`;case "matrix":return `;${r}=${n}`;case "simple":return n;default:return `${r}=${n}`}}let u=se(s),a=i.map(n=>s==="label"||s==="simple"?e?n:encodeURIComponent(n):D({allowReserved:e,name:r,value:n})).join(u);return s==="label"||s==="matrix"?u+a:a},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:s,value:i,valueOnly:u})=>{if(i instanceof Date)return u?i.toISOString():`${r}=${i.toISOString()}`;if(s!=="deepObject"&&!t){let l=[];Object.entries(i).forEach(([c,p])=>{l=[...l,c,e?p:encodeURIComponent(p)];});let w=l.join(",");switch(s){case "form":return `${r}=${w}`;case "label":return `.${w}`;case "matrix":return `;${r}=${w}`;default:return w}}let a=ae(s),n=Object.entries(i).map(([l,w])=>D({allowReserved:e,name:s==="deepObject"?`${r}[${l}]`:l,value:w})).join(a);return s==="label"||s==="matrix"?a+n:n};var ie=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,s=t.match(ie);if(s)for(let i of s){let u=false,a=i.substring(1,i.length-1),n="simple";a.endsWith("*")&&(u=true,a=a.substring(0,a.length-1)),a.startsWith(".")?(a=a.substring(1),n="label"):a.startsWith(";")&&(a=a.substring(1),n="matrix");let l=e[a];if(l==null)continue;if(Array.isArray(l)){r=r.replace(i,I({explode:u,name:a,style:n,value:l}));continue}if(typeof l=="object"){r=r.replace(i,W({explode:u,name:a,style:n,value:l,valueOnly:true}));continue}if(n==="matrix"){r=r.replace(i,`;${D({name:a,value:l})}`);continue}let w=encodeURIComponent(n==="label"?`.${l}`:l);r=r.replace(i,w);}return r},$=({baseUrl:e,path:t,query:r,querySerializer:s,url:i})=>{let u=i.startsWith("/")?i:`/${i}`,a=(e??"")+u;t&&(a=le({path:t,url:a}));let n=r?s(r):"";return n.startsWith("?")&&(n=n.substring(1)),n&&(a+=`?${n}`),a};function F(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}={})=>s=>{let i=[];if(s&&typeof s=="object")for(let u in s){let a=s[u];if(a==null)continue;let n=e[u]||t;if(Array.isArray(a)){let l=I({allowReserved:n.allowReserved,explode:true,name:u,style:"form",value:a,...n.array});l&&i.push(l);}else if(typeof a=="object"){let l=W({allowReserved:n.allowReserved,explode:true,name:u,style:"deepObject",value:a,...n.object});l&&i.push(l);}else {let l=D({allowReserved:n.allowReserved,name:u,value:a});l&&i.push(l);}}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"}},ue=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false;async function Y(e){for(let t of e.security??[]){if(ue(e,t.name))continue;let r=await Q(t,e.auth);if(!r)continue;let s=t.name??"Authorization";switch(t.in){case "query":e.query||(e.query={}),e.query[s]=r;break;case "cookie":e.headers.append("Cookie",`${s}=${r}`);break;default:e.headers.set(s,r);break}}}var q=e=>$({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),U=(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},pe=e=>{let t=[];return e.forEach((r,s)=>{t.push([s,r]);}),t},v=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let s=r instanceof Headers?pe(r):Object.entries(r);for(let[i,u]of s)if(u===null)t.delete(i);else if(Array.isArray(u))for(let a of u)t.append(i,a);else u!==void 0&&t.set(i,typeof u=="object"?JSON.stringify(u):u);}return t},S=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 s=this.getInterceptorIndex(t);return this.fns[s]?(this.fns[s]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new S,request:new S,response:new S}),ce=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),de={"Content-Type":"application/json"},C=(e={})=>({...L,headers:de,parseAs:"auto",querySerializer:ce,...e});var K=(e={})=>{let t=U(C(),e),r=()=>({...t}),s=c=>(t=U(t,c),r()),i=Z(),u=async c=>{let p={...t,...c,fetch:c.fetch??t.fetch??globalThis.fetch,headers:v(t.headers,c.headers),serializedBody:void 0};p.security&&await Y(p),p.requestValidator&&await p.requestValidator(p),p.body!==void 0&&p.bodySerializer&&(p.serializedBody=p.bodySerializer(p.body)),(p.body===void 0||p.serializedBody==="")&&p.headers.delete("Content-Type");let y=p,m=q(y);return {opts:y,url:m}},a=async c=>{let p=c.throwOnError??t.throwOnError,y=c.responseStyle??t.responseStyle,m,g;try{let{opts:d,url:A}=await u(c),h={redirect:"follow",...d,body:F(d)};m=new Request(A,h);for(let E of i.request.fns)E&&(m=await E(m,d));let k=d.fetch;g=await k(m);for(let E of i.response.fns)E&&(g=await E(g,m,d));let P={request:m,response:g};if(g.ok){let E=(d.parseAs==="auto"?_(g.headers.get("Content-Type")):d.parseAs)??"json";if(g.status===204||g.headers.get("Content-Length")==="0"){let f;switch(E){case "arrayBuffer":case "blob":case "text":f=await g[E]();break;case "formData":f=new FormData;break;case "stream":f=g.body;break;default:f={};break}return d.responseStyle==="data"?f:{data:f,...P}}let R;switch(E){case "arrayBuffer":case "blob":case "formData":case "text":R=await g[E]();break;case "json":{let f=await g.text();R=f?JSON.parse(f):{};break}case "stream":return d.responseStyle==="data"?g.body:{data:g.body,...P}}return E==="json"&&(d.responseValidator&&await d.responseValidator(R),d.responseTransformer&&(R=await d.responseTransformer(R))),d.responseStyle==="data"?R:{data:R,...P}}let T=await g.text(),G;try{G=JSON.parse(T);}catch{}throw G??T}catch(d){let A=d;for(let h of i.error.fns)h&&(A=await h(A,g,m,c));if(A=A||{},p)throw A;return y==="data"?void 0:{error:A,request:m,response:g}}},n=c=>p=>a({...p,method:c}),l=c=>async p=>{let{opts:y,url:m}=await u(p);return N({...y,body:y.body,method:c,onRequest:async(g,d)=>{let A=new Request(g,d);for(let h of i.request.fns)h&&(A=await h(A,y));return A},serializedBody:F(y),url:m})};return {buildUrl:c=>q({...t,...c}),connect:n("CONNECT"),delete:n("DELETE"),get:n("GET"),getConfig:r,head:n("HEAD"),interceptors:i,options:n("OPTIONS"),patch:n("PATCH"),post:n("POST"),put:n("PUT"),request:a,setConfig:s,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:n("TRACE")}};var o=K(C({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),Ae=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),Ee=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),he=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),ye=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Pe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),Oe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),De=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Se=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ke=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),be=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ie=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),We=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e}),ve=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),Fe=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),qe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute/sync",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ke=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/files",...e}),Be=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/files",...e,headers:{"Content-Type":"application/json",...e.headers}}),Me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflow-head/publish",...e}),ze=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),He=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),je=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xe=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),Ne=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),$e=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/files",...e}),Je=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),_e=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),Ye=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),Ze=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/context",...e}),et=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),tt=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions",...e}),rt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),ot=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),st=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),nt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),at=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),it=e=>(e.client??o).post({...V,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),lt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),dt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),gt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),At=e=>(e.client??o).post({security:[{name:"X-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-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),ft=e=>(e.client??o).post({...V,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}}),mt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items",...e}),wt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),ht=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e}),yt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e}),Rt=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/fields",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/fields/{fieldKey}",...e}),Tt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/rotate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ot=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/items/{itemId}/versions",...e}),Dt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links",...e}),St=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ct=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/share-links/{linkId}/revoke",...e}),kt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates",...e}),bt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vt=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e}),It=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e}),Wt=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),vt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/vault/templates/{templateId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}});
|
|
7
|
+
export{ge as adminCustomerActivityList,Ae as adminCustomerActivityNotableList,Ee as adminCustomerActivityWindowStatsList,Le as agentByIdDelete,Fe as agentByIdUpdate,ve as agentCreate,qe as agentExecutePost,Ue as agentExecuteSyncPost,We as agentList,ke as agentProfileClearBrowserCache,De as agentProfileDelete,be as agentProfileDuplicate,Se as agentProfileGet,Ie as agentProfileGetInboxEmail,Ve as agentProfileGetInboxEmails,we as agentProfilePoolDelete,he as agentProfilePoolGet,Pe as agentProfilePoolMembersAdd,xe as agentProfilePoolMembersList,Re as agentProfilePoolMembersRemove,ye as agentProfilePoolUpdate,me as agentProfilePoolsCreate,fe as agentProfilePoolsList,Ce as agentProfileUpdate,Oe as agentProfilesCreate,Te as agentProfilesList,Ke as agentWorkflowHeadGetFiles,Be as agentWorkflowHeadPatchFiles,Me as agentWorkflowHeadPublishHead,He as agentWorkflowsCreate,Xe as agentWorkflowsDeleteWorkflow,$e as agentWorkflowsExecute,Ne as agentWorkflowsGet,Qe as agentWorkflowsGetFilesByVersion,Je as agentWorkflowsGetInputs,_e as agentWorkflowsGetOutputSchemas,ze as agentWorkflowsList,Ye as agentWorkflowsPublish,je as agentWorkflowsValidate,Ge as availableToolsList,o as client,Ze as contextGet,et as docsSearchSearch,ot as executionActivitiesGet,nt as executionAgentFileDownloadRedirect,st as executionAgentFilesGet,lt as executionContextFileDownloadRedirect,at as executionContextFilesGet,it as executionContextFilesUpload,ut as executionDebugFileDownloadRedirect,ct as executionFileDownloadRedirect,pt as executionFilesGet,rt as executionGet,dt as executionRecordingRedirect,gt as executionStatusUpdate,At as executionUserMessagesAdd,tt as executionsList,Et as schemaValidationValidate,ft as tempFilesStage,ht as vaultItemDelete,Pt as vaultItemFieldDelete,xt as vaultItemFieldsCreate,yt as vaultItemGet,Tt as vaultItemRotatePost,Rt as vaultItemUpdate,Ot as vaultItemVersionsList,wt as vaultItemsCreate,mt as vaultItemsList,Ct as vaultShareLinkRevokePost,St as vaultShareLinksCreate,Dt as vaultShareLinksList,Vt as vaultTemplateDelete,vt as vaultTemplateDuplicatePost,It as vaultTemplateGet,Wt as vaultTemplateUpdate,bt as vaultTemplatesCreate,kt as vaultTemplatesList,Gt as workflowSpecValidationValidate};
|