@airtop/sdk 1.0.0-alpha2.23 → 1.0.0-alpha2.25
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.cjs +33 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -16
- package/dist/index.d.ts +30 -16
- package/dist/index.js +33 -19
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
@@ -4,17 +4,18 @@ import { AirtopJsonSchemaAdapter } from '@airtop/json-schema-adapter';
|
|
4
4
|
export { AirtopJsonSchemaAdapter } from '@airtop/json-schema-adapter';
|
5
5
|
import { ILogLayer } from 'loglayer';
|
6
6
|
export { ILogLayer } from 'loglayer';
|
7
|
-
import { Issue, SessionConfigV1, GetFileResponse, FilesResponse, ListAutomationsOutput, AutomationData, ServicePromptActionResponseEnvelope, ExternalSessionWithConnectionInfo, EnvelopeDefaultMeta, ExtractActionResponseEnvelope, ActActionResponseEnvelope, LlmActionResponseEnvelope, NodeHandle, WaitForPageActionResponseEnvelope, NavigateActionResponseEnvelope, FindOneActionResponseEnvelope, FindManyActionResponseEnvelope, AIPromptResponse as AIPromptResponse$1, WindowIDDataResponse, OperationOutcomeResponse } from '@airtop/core/resources/shared.js';
|
8
|
-
export { AIResponseEnvelope, ActActionResponseData, AgentInvocationData, AgentVersionData, AirtopPagination, AsyncConfig, AsyncSessionAIResponseEnvelope, BrowserWaitNavigationConfig, ClickConfig, ClientProvidedResponseMetadata, CreateFileData, EnvelopeDefaultMeta, ExternalSessionAIResponseMetadata, ExternalSessionAIResponseMetadataUsage, ExternalSessionConfig, ExternalSessionWithConnectionInfo, ExtractActionResponseData, FindManyActionResponseData, FindOneActionResponseData, GetFileData, IntervalMonitorConfig, Issue, LlmActionResponseData, MicroInteractionConfig, MonitorConfig, NavigateActionResponseData, OperationOutcome, OperationOutcomeResponse, PageQueryConfig, PageQueryExperimentalConfig, PaginatedExtractionConfig, ScrapeResponseContent, ScrapeResponseEnvelope, ScrapeResponseOutput, ScreenshotConfig, ScreenshotMetadata, ScreenshotRequestConfig, ScreenshotScrollPosition, ScreenshotViewportDimensions, ScrollByConfig, ScrollToEdgeConfig, ServicePromptActionResponseData, SummaryExperimentalConfig, VisualAnalysisConfig, WaitForPageActionResponseData, WindowIDData, WindowIDDataResponse, WindowInfo, WindowResponse } from '@airtop/core/resources/shared.js';
|
7
|
+
import { Issue, SessionConfigV1, GetFileResponse, FilesResponse, ListAutomationsOutput, AutomationData, ServicePromptActionResponseEnvelope, ExternalSessionWithConnectionInfo, EnvelopeDefaultMeta, ExtractActionResponseEnvelope, ActActionResponseEnvelope, LlmActionResponseEnvelope, NodeHandle, WaitForPageActionResponseEnvelope, NavigateActionResponseEnvelope, FindOneActionResponseEnvelope, FindManyActionResponseEnvelope, AIPromptResponse as AIPromptResponse$1, WindowIDDataResponse, OperationOutcomeResponse, WindowsResponse } from '@airtop/core/resources/shared.js';
|
8
|
+
export { AIResponseEnvelope, ActActionResponseData, AgentInvocationData, AgentVersionData, AirtopPagination, AsyncConfig, AsyncSessionAIResponseEnvelope, BrowserWaitNavigationConfig, ClickConfig, ClientProvidedResponseMetadata, CreateFileData, EnvelopeDefaultMeta, ExternalSessionAIResponseMetadata, ExternalSessionAIResponseMetadataUsage, ExternalSessionConfig, ExternalSessionWithConnectionInfo, ExtractActionResponseData, FindManyActionResponseData, FindOneActionResponseData, GetFileData, IntervalMonitorConfig, Issue, LlmActionResponseData, MicroInteractionConfig, MonitorConfig, NavigateActionResponseData, OperationOutcome, OperationOutcomeResponse, PageQueryConfig, PageQueryExperimentalConfig, PaginatedExtractionConfig, ScrapeResponseContent, ScrapeResponseEnvelope, ScrapeResponseOutput, ScreenshotConfig, ScreenshotMetadata, ScreenshotRequestConfig, ScreenshotScrollPosition, ScreenshotViewportDimensions, ScrollByConfig, ScrollToEdgeConfig, ServicePromptActionResponseData, SummaryExperimentalConfig, VisualAnalysisConfig, WaitForPageActionResponseData, WindowIDData, WindowIDDataResponse, WindowInfo, WindowResponse, WindowsResponse, WindowsWithMeta } from '@airtop/core/resources/shared.js';
|
9
9
|
import * as _airtop_core_resources_shared_mjs from '@airtop/core/resources/shared.mjs';
|
10
10
|
import { AutomationUpdateDescriptionParams } from '@airtop/core/resources/automations.js';
|
11
11
|
import { SessionListParams, ProfileOutput, FileListParams, FileCreateFileParams, WindowCreateParams, WindowIDData, EnvelopeDefaultMeta as EnvelopeDefaultMeta$1, Issue as Issue$1, WindowInfo, WindowGetParams, AIPromptResponse, ScrapeResponse } from '@airtop/core/resources/index.js';
|
12
12
|
export { AIPromptResponse, ScrapeResponse } from '@airtop/core/resources/index.js';
|
13
13
|
import * as _airtop_core_resources_sessions_mjs from '@airtop/core/resources/sessions.mjs';
|
14
14
|
import * as _airtop_core_resources_js from '@airtop/core/resources.js';
|
15
|
-
import { ConnectedServicesActionResponseEnvelope } from '@airtop/core/resources.js';
|
16
|
-
import { WindowClickParams, WindowHoverParams, WindowLoadURLParams, WindowMonitorParams, WindowScrapeParams, WindowScreenshotParams, WindowScrollParams, WindowTypeParams, WindowExtractParams, WindowActParams, WindowLlmParams, WindowFindOneParams, WindowFindManyParams, WindowWaitForPageParams, WindowNavigateParams, WindowFillFormParams } from '@airtop/core/resources/windows.js';
|
15
|
+
import { ServicePromptParameters, ConnectedServicesActionResponseEnvelope } from '@airtop/core/resources.js';
|
16
|
+
import { WindowClickParams, WindowHoverParams, WindowLoadURLParams, WindowMonitorParams, WindowPageQueryParams, WindowPaginatedExtractionParams, WindowScrapeParams, WindowScreenshotParams, WindowScrollParams, WindowTypeParams, WindowExtractParams, WindowActParams, WindowLlmParams, WindowFindOneParams, WindowFindManyParams, WindowWaitForPageParams, WindowNavigateParams, WindowFillFormParams } from '@airtop/core/resources/windows.js';
|
17
17
|
export { WindowActParams, WindowClickParams, WindowExtractParams, WindowFillFormParams, WindowFindManyParams, WindowFindOneParams, WindowGetParams, WindowHoverParams, WindowLlmParams, WindowLoadURLParams, WindowMonitorParams, WindowNavigateParams, WindowPageQueryParams, WindowPaginatedExtractionParams, WindowScrapeParams, WindowScreenshotParams, WindowScrollParams, WindowTypeParams, WindowWaitForPageParams } from '@airtop/core/resources/windows.js';
|
18
|
+
import { DeepOmit } from 'deep-utility-types';
|
18
19
|
export { DeepOmit } from 'deep-utility-types';
|
19
20
|
|
20
21
|
/**
|
@@ -58,7 +59,7 @@ interface CommonAirtopConfig {
|
|
58
59
|
* Configuration for defining the JSON schema output.
|
59
60
|
*/
|
60
61
|
interface OutputJsonSchemaConfig {
|
61
|
-
configuration
|
62
|
+
configuration?: {
|
62
63
|
/**
|
63
64
|
* JSON schema defining the structure of the output.
|
64
65
|
*/
|
@@ -458,16 +459,18 @@ interface WindowLoadUrlConfig extends Omit<WindowLoadURLParams, "sessionId" | "u
|
|
458
459
|
*/
|
459
460
|
interface WindowMonitorConfig extends Omit<WindowMonitorParams, "sessionId" | "condition"> {
|
460
461
|
}
|
462
|
+
interface WindowPageQueryParamsBase extends DeepOmit<WindowPageQueryParams, "sessionId" | "prompt" | "configuration.outputSchema"> {
|
463
|
+
}
|
461
464
|
/**
|
462
465
|
* Configuration parameters for performing a natural language query on page content.
|
463
466
|
*/
|
464
|
-
|
467
|
+
type WindowPageQueryConfig = WindowPageQueryParamsBase & OutputJsonSchemaConfig;
|
468
|
+
interface WindowPaginatedExtractionParamsBase extends DeepOmit<WindowPaginatedExtractionParams, "sessionId" | "prompt" | "configuration.outputSchema"> {
|
465
469
|
}
|
466
470
|
/**
|
467
471
|
* Configuration parameters for extracting paginated data from a window.
|
468
472
|
*/
|
469
|
-
|
470
|
-
}
|
473
|
+
type WindowPaginatedExtractionConfig = WindowPaginatedExtractionParamsBase & OutputJsonSchemaConfig;
|
471
474
|
/**
|
472
475
|
* Configuration parameters for scraping content from a window.
|
473
476
|
* Excludes session ID which is provided by the parent session.
|
@@ -893,7 +896,7 @@ declare class AirtopSessionClient extends AirtopBase {
|
|
893
896
|
* Returns the browser session ID.
|
894
897
|
*/
|
895
898
|
getSessionId(): string;
|
896
|
-
listWindows(requestOptions?: AirtopRequestOptions): Promise<
|
899
|
+
listWindows(requestOptions?: AirtopRequestOptions): Promise<WindowsResponse>;
|
897
900
|
/**
|
898
901
|
* Gets the state of the session using the attached session id.
|
899
902
|
* @param requestOptions - Request options
|
@@ -938,12 +941,19 @@ declare class AirtopSessionClient extends AirtopBase {
|
|
938
941
|
createFile(fileName: string, config?: CreateFileConfig, requestOptions?: AirtopRequestOptions): _airtop_core.APIPromise<_airtop_core_resources_shared_mjs.CreateFileResponse>;
|
939
942
|
llm(prompt: string, config?: WindowLlmConfig, requestOptions?: AirtopRequestOptions): Promise<WindowLlmResponse>;
|
940
943
|
/**
|
941
|
-
* Calls the service endpoint.
|
942
|
-
* @param prompt -
|
943
|
-
* @param service - The service
|
944
|
+
* Calls the service endpoint with a string prompt.
|
945
|
+
* @param prompt - Natural language description of the task to perform with third-party services (e.g., "read data from Google Sheets", "create a HubSpot lead", "update this document")
|
946
|
+
* @param service - The service id or array of service ids that will be leveraged to achieve the intent of the prompt
|
944
947
|
* @param requestOptions - Request options
|
948
|
+
* @deprecated Use `service(args: ServicePromptParameters, requestOptions?: AirtopRequestOptions)` instead
|
945
949
|
*/
|
946
950
|
service(prompt: string, service?: string, requestOptions?: AirtopRequestOptions): Promise<SessionServiceResponse>;
|
951
|
+
/**
|
952
|
+
* Calls the service endpoint with ServicePromptParameters.
|
953
|
+
* @param parameters - The service parameters object
|
954
|
+
* @param requestOptions - Request options
|
955
|
+
*/
|
956
|
+
service(parameters: ServicePromptParameters, requestOptions?: AirtopRequestOptions): Promise<SessionServiceResponse>;
|
947
957
|
/**
|
948
958
|
* Retrieves the list of connected services available for the current session.
|
949
959
|
* @param requestOptions - Request options
|
@@ -1121,6 +1131,8 @@ declare class AirtopMocks {
|
|
1121
1131
|
|
1122
1132
|
interface AirtopAgentCreateAgentParams extends Airtop.AgentCreateAgentParams {
|
1123
1133
|
}
|
1134
|
+
interface AirtopAgentGetAgentParams extends Airtop.AgentGetAgentParams {
|
1135
|
+
}
|
1124
1136
|
interface AirtopAgentGetAgentsParams extends Airtop.AgentGetAgentsParams {
|
1125
1137
|
}
|
1126
1138
|
interface AirtopAgentUpdateAgentParams extends Airtop.AgentUpdateAgentParams {
|
@@ -1137,6 +1149,8 @@ interface AirtopAgentGetVersionDataParams extends Airtop.AgentGetCurrentAgentVer
|
|
1137
1149
|
}
|
1138
1150
|
interface AirtopAgentUpdateVersionDataParams extends Omit<Airtop.AgentUpdateAgentVersionDataParams, "id"> {
|
1139
1151
|
}
|
1152
|
+
interface AirtopAgentPublishAgentParams extends Airtop.AgentPublishAgentParams {
|
1153
|
+
}
|
1140
1154
|
interface AirtopCreateAgentResponse extends Airtop.CreateAgentResponse {
|
1141
1155
|
}
|
1142
1156
|
interface AirtopGetAgentResponse extends Airtop.GetAgentResponse {
|
@@ -1155,7 +1169,7 @@ interface AirtopAgentResponse extends Airtop.GetAgentResponse {
|
|
1155
1169
|
}
|
1156
1170
|
interface AirtopCreateNewAgentDraftResponse extends Airtop.AgentCreateDraftResponse {
|
1157
1171
|
}
|
1158
|
-
interface AirtopPublishNewAgentResponse extends Airtop.
|
1172
|
+
interface AirtopPublishNewAgentResponse extends Airtop.AgentPublishDraftResponse {
|
1159
1173
|
}
|
1160
1174
|
interface AirtopGetAgentVersionDataResponse extends Airtop.AgentGetVersionDataResponse {
|
1161
1175
|
}
|
@@ -1184,7 +1198,7 @@ declare class AirtopAgentClient extends AirtopBase {
|
|
1184
1198
|
* @param requestOptions - Request options.
|
1185
1199
|
* @returns The agent data.
|
1186
1200
|
*/
|
1187
|
-
getAgent(agentId: string, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentResponse>;
|
1201
|
+
getAgent(agentId: string, params?: AirtopAgentGetAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentResponse>;
|
1188
1202
|
/**
|
1189
1203
|
* Lists agents.
|
1190
1204
|
* @param params - Optional parameters for listing agents (e.g., pagination).
|
@@ -1204,7 +1218,7 @@ declare class AirtopAgentClient extends AirtopBase {
|
|
1204
1218
|
* @param agentId - The ID of the agent to publish.
|
1205
1219
|
* @returns The published version data
|
1206
1220
|
*/
|
1207
|
-
publishNewAgentVersion(agentId: string): Promise<AirtopPublishNewAgentResponse>;
|
1221
|
+
publishNewAgentVersion(agentId: string, params?: AirtopAgentPublishAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopPublishNewAgentResponse>;
|
1208
1222
|
/**
|
1209
1223
|
* Retrieves the data for a specific version of an agent.
|
1210
1224
|
* @param agentId - The ID of the agent.
|
@@ -1433,4 +1447,4 @@ interface AirtopPluginRegistration {
|
|
1433
1447
|
*/
|
1434
1448
|
declare function registerAirtopPlugin(plugin: AirtopPluginRegistration): void;
|
1435
1449
|
|
1436
|
-
export { type AirtopAgentCancelInvocationParams, AirtopAgentClient, type AirtopAgentCreateAgentParams, type AirtopAgentCreateInvocationParams, type AirtopAgentDeleteAgentsParams, type AirtopAgentGetAgentsParams, type AirtopAgentGetInvocationsParams, type AirtopAgentGetVersionDataParams, type AirtopAgentResponse, type AirtopAgentUpdateAgentParams, type AirtopAgentUpdateVersionDataParams, type AirtopAutomationData, type AirtopAutomationListResponse, type AirtopAutomationUpdateDescriptionConfig, AirtopBase, AirtopClient, type AirtopClientPlugin, type AirtopConstructorConfig, type AirtopCreateAgentInvocationResponse, type AirtopCreateAgentResponse, type AirtopCreateNewAgentDraftResponse, type AirtopDeleteAgentsResponse, AirtopError, type AirtopFileListParams, type AirtopFileResponse, type AirtopFilesResponse, type AirtopGetAgentInvocationsResponse, type AirtopGetAgentResponse, type AirtopGetAgentVersionDataResponse, type AirtopGetAgentsResponse, AirtopMocks, AirtopNode, type AirtopNodeApiResponseData, AirtopPluginAugmentationType, type AirtopPluginRegistration, type AirtopPluginType, type AirtopProfile, type AirtopPublishNewAgentResponse, type AirtopRequestOptions, AirtopSession, AirtopSessionClient, type AirtopSessionClientPlugin, type AirtopSessionPlugin, type AirtopSessionResponse, type AirtopUpdateAgentResponse, type AirtopUpdateVersionDataResponse, AirtopWindow, AirtopWindowClient, type AirtopWindowClientPlugin, type AirtopWindowCreateResponse, type AirtopWindowGetInfoResponse, type AirtopWindowPlugin, AirtopWindowScreenshot, type AirtopWindowScreenshotPlugin, type AirtopWindowScreenshotResponse, type CommonAirtopConfig, type CommonResponse, type CommonWindowResponse, type CreateFileConfig, type CreateSessionConfig, type GetFilesConfig, type GetSessionsConfig, type OutputJsonSchemaConfig, type ScreenshotData, type SessionData, type SessionError, type SessionMetadata, type SessionServiceResponse, type SessionWarning, type WindowActConfig, type WindowActResponse, type WindowClickConfig, type WindowCreateData, type WindowCreateOptions, type WindowError, type WindowExtractConfig, type WindowExtractResponse, type WindowFillFormConfig, type WindowFindManyConfig, type WindowFindManyResponse, type WindowFindOneConfig, type WindowFindOneResponse, type WindowGetConfig, type WindowHoverConfig, type WindowInfoData, type WindowLlmConfig, type WindowLlmResponse, type WindowLoadUrlConfig, type WindowMetadata, type WindowMonitorConfig, type WindowNavigateConfig, WindowNavigateDirection, type WindowNavigateResponse, type WindowPageQueryConfig, type WindowPaginatedExtractionConfig, type WindowPromptResponse, type WindowScrapeConfig, type WindowScrapeResponse, type WindowScreenshotConfig, type WindowScrollConfig, type WindowTypeConfig, type WindowWaitForPageConfig, type WindowWaitForPageResponse, type WindowWarning, registerAirtopPlugin };
|
1450
|
+
export { type AirtopAgentCancelInvocationParams, AirtopAgentClient, type AirtopAgentCreateAgentParams, type AirtopAgentCreateInvocationParams, type AirtopAgentDeleteAgentsParams, type AirtopAgentGetAgentParams, type AirtopAgentGetAgentsParams, type AirtopAgentGetInvocationsParams, type AirtopAgentGetVersionDataParams, type AirtopAgentPublishAgentParams, type AirtopAgentResponse, type AirtopAgentUpdateAgentParams, type AirtopAgentUpdateVersionDataParams, type AirtopAutomationData, type AirtopAutomationListResponse, type AirtopAutomationUpdateDescriptionConfig, AirtopBase, AirtopClient, type AirtopClientPlugin, type AirtopConstructorConfig, type AirtopCreateAgentInvocationResponse, type AirtopCreateAgentResponse, type AirtopCreateNewAgentDraftResponse, type AirtopDeleteAgentsResponse, AirtopError, type AirtopFileListParams, type AirtopFileResponse, type AirtopFilesResponse, type AirtopGetAgentInvocationsResponse, type AirtopGetAgentResponse, type AirtopGetAgentVersionDataResponse, type AirtopGetAgentsResponse, AirtopMocks, AirtopNode, type AirtopNodeApiResponseData, AirtopPluginAugmentationType, type AirtopPluginRegistration, type AirtopPluginType, type AirtopProfile, type AirtopPublishNewAgentResponse, type AirtopRequestOptions, AirtopSession, AirtopSessionClient, type AirtopSessionClientPlugin, type AirtopSessionPlugin, type AirtopSessionResponse, type AirtopUpdateAgentResponse, type AirtopUpdateVersionDataResponse, AirtopWindow, AirtopWindowClient, type AirtopWindowClientPlugin, type AirtopWindowCreateResponse, type AirtopWindowGetInfoResponse, type AirtopWindowPlugin, AirtopWindowScreenshot, type AirtopWindowScreenshotPlugin, type AirtopWindowScreenshotResponse, type CommonAirtopConfig, type CommonResponse, type CommonWindowResponse, type CreateFileConfig, type CreateSessionConfig, type GetFilesConfig, type GetSessionsConfig, type OutputJsonSchemaConfig, type ScreenshotData, type SessionData, type SessionError, type SessionMetadata, type SessionServiceResponse, type SessionWarning, type WindowActConfig, type WindowActResponse, type WindowClickConfig, type WindowCreateData, type WindowCreateOptions, type WindowError, type WindowExtractConfig, type WindowExtractResponse, type WindowFillFormConfig, type WindowFindManyConfig, type WindowFindManyResponse, type WindowFindOneConfig, type WindowFindOneResponse, type WindowGetConfig, type WindowHoverConfig, type WindowInfoData, type WindowLlmConfig, type WindowLlmResponse, type WindowLoadUrlConfig, type WindowMetadata, type WindowMonitorConfig, type WindowNavigateConfig, WindowNavigateDirection, type WindowNavigateResponse, type WindowPageQueryConfig, type WindowPaginatedExtractionConfig, type WindowPromptResponse, type WindowScrapeConfig, type WindowScrapeResponse, type WindowScreenshotConfig, type WindowScrollConfig, type WindowTypeConfig, type WindowWaitForPageConfig, type WindowWaitForPageResponse, type WindowWarning, registerAirtopPlugin };
|
package/dist/index.d.ts
CHANGED
@@ -4,17 +4,18 @@ import { AirtopJsonSchemaAdapter } from '@airtop/json-schema-adapter';
|
|
4
4
|
export { AirtopJsonSchemaAdapter } from '@airtop/json-schema-adapter';
|
5
5
|
import { ILogLayer } from 'loglayer';
|
6
6
|
export { ILogLayer } from 'loglayer';
|
7
|
-
import { Issue, SessionConfigV1, GetFileResponse, FilesResponse, ListAutomationsOutput, AutomationData, ServicePromptActionResponseEnvelope, ExternalSessionWithConnectionInfo, EnvelopeDefaultMeta, ExtractActionResponseEnvelope, ActActionResponseEnvelope, LlmActionResponseEnvelope, NodeHandle, WaitForPageActionResponseEnvelope, NavigateActionResponseEnvelope, FindOneActionResponseEnvelope, FindManyActionResponseEnvelope, AIPromptResponse as AIPromptResponse$1, WindowIDDataResponse, OperationOutcomeResponse } from '@airtop/core/resources/shared.js';
|
8
|
-
export { AIResponseEnvelope, ActActionResponseData, AgentInvocationData, AgentVersionData, AirtopPagination, AsyncConfig, AsyncSessionAIResponseEnvelope, BrowserWaitNavigationConfig, ClickConfig, ClientProvidedResponseMetadata, CreateFileData, EnvelopeDefaultMeta, ExternalSessionAIResponseMetadata, ExternalSessionAIResponseMetadataUsage, ExternalSessionConfig, ExternalSessionWithConnectionInfo, ExtractActionResponseData, FindManyActionResponseData, FindOneActionResponseData, GetFileData, IntervalMonitorConfig, Issue, LlmActionResponseData, MicroInteractionConfig, MonitorConfig, NavigateActionResponseData, OperationOutcome, OperationOutcomeResponse, PageQueryConfig, PageQueryExperimentalConfig, PaginatedExtractionConfig, ScrapeResponseContent, ScrapeResponseEnvelope, ScrapeResponseOutput, ScreenshotConfig, ScreenshotMetadata, ScreenshotRequestConfig, ScreenshotScrollPosition, ScreenshotViewportDimensions, ScrollByConfig, ScrollToEdgeConfig, ServicePromptActionResponseData, SummaryExperimentalConfig, VisualAnalysisConfig, WaitForPageActionResponseData, WindowIDData, WindowIDDataResponse, WindowInfo, WindowResponse } from '@airtop/core/resources/shared.js';
|
7
|
+
import { Issue, SessionConfigV1, GetFileResponse, FilesResponse, ListAutomationsOutput, AutomationData, ServicePromptActionResponseEnvelope, ExternalSessionWithConnectionInfo, EnvelopeDefaultMeta, ExtractActionResponseEnvelope, ActActionResponseEnvelope, LlmActionResponseEnvelope, NodeHandle, WaitForPageActionResponseEnvelope, NavigateActionResponseEnvelope, FindOneActionResponseEnvelope, FindManyActionResponseEnvelope, AIPromptResponse as AIPromptResponse$1, WindowIDDataResponse, OperationOutcomeResponse, WindowsResponse } from '@airtop/core/resources/shared.js';
|
8
|
+
export { AIResponseEnvelope, ActActionResponseData, AgentInvocationData, AgentVersionData, AirtopPagination, AsyncConfig, AsyncSessionAIResponseEnvelope, BrowserWaitNavigationConfig, ClickConfig, ClientProvidedResponseMetadata, CreateFileData, EnvelopeDefaultMeta, ExternalSessionAIResponseMetadata, ExternalSessionAIResponseMetadataUsage, ExternalSessionConfig, ExternalSessionWithConnectionInfo, ExtractActionResponseData, FindManyActionResponseData, FindOneActionResponseData, GetFileData, IntervalMonitorConfig, Issue, LlmActionResponseData, MicroInteractionConfig, MonitorConfig, NavigateActionResponseData, OperationOutcome, OperationOutcomeResponse, PageQueryConfig, PageQueryExperimentalConfig, PaginatedExtractionConfig, ScrapeResponseContent, ScrapeResponseEnvelope, ScrapeResponseOutput, ScreenshotConfig, ScreenshotMetadata, ScreenshotRequestConfig, ScreenshotScrollPosition, ScreenshotViewportDimensions, ScrollByConfig, ScrollToEdgeConfig, ServicePromptActionResponseData, SummaryExperimentalConfig, VisualAnalysisConfig, WaitForPageActionResponseData, WindowIDData, WindowIDDataResponse, WindowInfo, WindowResponse, WindowsResponse, WindowsWithMeta } from '@airtop/core/resources/shared.js';
|
9
9
|
import * as _airtop_core_resources_shared_mjs from '@airtop/core/resources/shared.mjs';
|
10
10
|
import { AutomationUpdateDescriptionParams } from '@airtop/core/resources/automations.js';
|
11
11
|
import { SessionListParams, ProfileOutput, FileListParams, FileCreateFileParams, WindowCreateParams, WindowIDData, EnvelopeDefaultMeta as EnvelopeDefaultMeta$1, Issue as Issue$1, WindowInfo, WindowGetParams, AIPromptResponse, ScrapeResponse } from '@airtop/core/resources/index.js';
|
12
12
|
export { AIPromptResponse, ScrapeResponse } from '@airtop/core/resources/index.js';
|
13
13
|
import * as _airtop_core_resources_sessions_mjs from '@airtop/core/resources/sessions.mjs';
|
14
14
|
import * as _airtop_core_resources_js from '@airtop/core/resources.js';
|
15
|
-
import { ConnectedServicesActionResponseEnvelope } from '@airtop/core/resources.js';
|
16
|
-
import { WindowClickParams, WindowHoverParams, WindowLoadURLParams, WindowMonitorParams, WindowScrapeParams, WindowScreenshotParams, WindowScrollParams, WindowTypeParams, WindowExtractParams, WindowActParams, WindowLlmParams, WindowFindOneParams, WindowFindManyParams, WindowWaitForPageParams, WindowNavigateParams, WindowFillFormParams } from '@airtop/core/resources/windows.js';
|
15
|
+
import { ServicePromptParameters, ConnectedServicesActionResponseEnvelope } from '@airtop/core/resources.js';
|
16
|
+
import { WindowClickParams, WindowHoverParams, WindowLoadURLParams, WindowMonitorParams, WindowPageQueryParams, WindowPaginatedExtractionParams, WindowScrapeParams, WindowScreenshotParams, WindowScrollParams, WindowTypeParams, WindowExtractParams, WindowActParams, WindowLlmParams, WindowFindOneParams, WindowFindManyParams, WindowWaitForPageParams, WindowNavigateParams, WindowFillFormParams } from '@airtop/core/resources/windows.js';
|
17
17
|
export { WindowActParams, WindowClickParams, WindowExtractParams, WindowFillFormParams, WindowFindManyParams, WindowFindOneParams, WindowGetParams, WindowHoverParams, WindowLlmParams, WindowLoadURLParams, WindowMonitorParams, WindowNavigateParams, WindowPageQueryParams, WindowPaginatedExtractionParams, WindowScrapeParams, WindowScreenshotParams, WindowScrollParams, WindowTypeParams, WindowWaitForPageParams } from '@airtop/core/resources/windows.js';
|
18
|
+
import { DeepOmit } from 'deep-utility-types';
|
18
19
|
export { DeepOmit } from 'deep-utility-types';
|
19
20
|
|
20
21
|
/**
|
@@ -58,7 +59,7 @@ interface CommonAirtopConfig {
|
|
58
59
|
* Configuration for defining the JSON schema output.
|
59
60
|
*/
|
60
61
|
interface OutputJsonSchemaConfig {
|
61
|
-
configuration
|
62
|
+
configuration?: {
|
62
63
|
/**
|
63
64
|
* JSON schema defining the structure of the output.
|
64
65
|
*/
|
@@ -458,16 +459,18 @@ interface WindowLoadUrlConfig extends Omit<WindowLoadURLParams, "sessionId" | "u
|
|
458
459
|
*/
|
459
460
|
interface WindowMonitorConfig extends Omit<WindowMonitorParams, "sessionId" | "condition"> {
|
460
461
|
}
|
462
|
+
interface WindowPageQueryParamsBase extends DeepOmit<WindowPageQueryParams, "sessionId" | "prompt" | "configuration.outputSchema"> {
|
463
|
+
}
|
461
464
|
/**
|
462
465
|
* Configuration parameters for performing a natural language query on page content.
|
463
466
|
*/
|
464
|
-
|
467
|
+
type WindowPageQueryConfig = WindowPageQueryParamsBase & OutputJsonSchemaConfig;
|
468
|
+
interface WindowPaginatedExtractionParamsBase extends DeepOmit<WindowPaginatedExtractionParams, "sessionId" | "prompt" | "configuration.outputSchema"> {
|
465
469
|
}
|
466
470
|
/**
|
467
471
|
* Configuration parameters for extracting paginated data from a window.
|
468
472
|
*/
|
469
|
-
|
470
|
-
}
|
473
|
+
type WindowPaginatedExtractionConfig = WindowPaginatedExtractionParamsBase & OutputJsonSchemaConfig;
|
471
474
|
/**
|
472
475
|
* Configuration parameters for scraping content from a window.
|
473
476
|
* Excludes session ID which is provided by the parent session.
|
@@ -893,7 +896,7 @@ declare class AirtopSessionClient extends AirtopBase {
|
|
893
896
|
* Returns the browser session ID.
|
894
897
|
*/
|
895
898
|
getSessionId(): string;
|
896
|
-
listWindows(requestOptions?: AirtopRequestOptions): Promise<
|
899
|
+
listWindows(requestOptions?: AirtopRequestOptions): Promise<WindowsResponse>;
|
897
900
|
/**
|
898
901
|
* Gets the state of the session using the attached session id.
|
899
902
|
* @param requestOptions - Request options
|
@@ -938,12 +941,19 @@ declare class AirtopSessionClient extends AirtopBase {
|
|
938
941
|
createFile(fileName: string, config?: CreateFileConfig, requestOptions?: AirtopRequestOptions): _airtop_core.APIPromise<_airtop_core_resources_shared_mjs.CreateFileResponse>;
|
939
942
|
llm(prompt: string, config?: WindowLlmConfig, requestOptions?: AirtopRequestOptions): Promise<WindowLlmResponse>;
|
940
943
|
/**
|
941
|
-
* Calls the service endpoint.
|
942
|
-
* @param prompt -
|
943
|
-
* @param service - The service
|
944
|
+
* Calls the service endpoint with a string prompt.
|
945
|
+
* @param prompt - Natural language description of the task to perform with third-party services (e.g., "read data from Google Sheets", "create a HubSpot lead", "update this document")
|
946
|
+
* @param service - The service id or array of service ids that will be leveraged to achieve the intent of the prompt
|
944
947
|
* @param requestOptions - Request options
|
948
|
+
* @deprecated Use `service(args: ServicePromptParameters, requestOptions?: AirtopRequestOptions)` instead
|
945
949
|
*/
|
946
950
|
service(prompt: string, service?: string, requestOptions?: AirtopRequestOptions): Promise<SessionServiceResponse>;
|
951
|
+
/**
|
952
|
+
* Calls the service endpoint with ServicePromptParameters.
|
953
|
+
* @param parameters - The service parameters object
|
954
|
+
* @param requestOptions - Request options
|
955
|
+
*/
|
956
|
+
service(parameters: ServicePromptParameters, requestOptions?: AirtopRequestOptions): Promise<SessionServiceResponse>;
|
947
957
|
/**
|
948
958
|
* Retrieves the list of connected services available for the current session.
|
949
959
|
* @param requestOptions - Request options
|
@@ -1121,6 +1131,8 @@ declare class AirtopMocks {
|
|
1121
1131
|
|
1122
1132
|
interface AirtopAgentCreateAgentParams extends Airtop.AgentCreateAgentParams {
|
1123
1133
|
}
|
1134
|
+
interface AirtopAgentGetAgentParams extends Airtop.AgentGetAgentParams {
|
1135
|
+
}
|
1124
1136
|
interface AirtopAgentGetAgentsParams extends Airtop.AgentGetAgentsParams {
|
1125
1137
|
}
|
1126
1138
|
interface AirtopAgentUpdateAgentParams extends Airtop.AgentUpdateAgentParams {
|
@@ -1137,6 +1149,8 @@ interface AirtopAgentGetVersionDataParams extends Airtop.AgentGetCurrentAgentVer
|
|
1137
1149
|
}
|
1138
1150
|
interface AirtopAgentUpdateVersionDataParams extends Omit<Airtop.AgentUpdateAgentVersionDataParams, "id"> {
|
1139
1151
|
}
|
1152
|
+
interface AirtopAgentPublishAgentParams extends Airtop.AgentPublishAgentParams {
|
1153
|
+
}
|
1140
1154
|
interface AirtopCreateAgentResponse extends Airtop.CreateAgentResponse {
|
1141
1155
|
}
|
1142
1156
|
interface AirtopGetAgentResponse extends Airtop.GetAgentResponse {
|
@@ -1155,7 +1169,7 @@ interface AirtopAgentResponse extends Airtop.GetAgentResponse {
|
|
1155
1169
|
}
|
1156
1170
|
interface AirtopCreateNewAgentDraftResponse extends Airtop.AgentCreateDraftResponse {
|
1157
1171
|
}
|
1158
|
-
interface AirtopPublishNewAgentResponse extends Airtop.
|
1172
|
+
interface AirtopPublishNewAgentResponse extends Airtop.AgentPublishDraftResponse {
|
1159
1173
|
}
|
1160
1174
|
interface AirtopGetAgentVersionDataResponse extends Airtop.AgentGetVersionDataResponse {
|
1161
1175
|
}
|
@@ -1184,7 +1198,7 @@ declare class AirtopAgentClient extends AirtopBase {
|
|
1184
1198
|
* @param requestOptions - Request options.
|
1185
1199
|
* @returns The agent data.
|
1186
1200
|
*/
|
1187
|
-
getAgent(agentId: string, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentResponse>;
|
1201
|
+
getAgent(agentId: string, params?: AirtopAgentGetAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentResponse>;
|
1188
1202
|
/**
|
1189
1203
|
* Lists agents.
|
1190
1204
|
* @param params - Optional parameters for listing agents (e.g., pagination).
|
@@ -1204,7 +1218,7 @@ declare class AirtopAgentClient extends AirtopBase {
|
|
1204
1218
|
* @param agentId - The ID of the agent to publish.
|
1205
1219
|
* @returns The published version data
|
1206
1220
|
*/
|
1207
|
-
publishNewAgentVersion(agentId: string): Promise<AirtopPublishNewAgentResponse>;
|
1221
|
+
publishNewAgentVersion(agentId: string, params?: AirtopAgentPublishAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopPublishNewAgentResponse>;
|
1208
1222
|
/**
|
1209
1223
|
* Retrieves the data for a specific version of an agent.
|
1210
1224
|
* @param agentId - The ID of the agent.
|
@@ -1433,4 +1447,4 @@ interface AirtopPluginRegistration {
|
|
1433
1447
|
*/
|
1434
1448
|
declare function registerAirtopPlugin(plugin: AirtopPluginRegistration): void;
|
1435
1449
|
|
1436
|
-
export { type AirtopAgentCancelInvocationParams, AirtopAgentClient, type AirtopAgentCreateAgentParams, type AirtopAgentCreateInvocationParams, type AirtopAgentDeleteAgentsParams, type AirtopAgentGetAgentsParams, type AirtopAgentGetInvocationsParams, type AirtopAgentGetVersionDataParams, type AirtopAgentResponse, type AirtopAgentUpdateAgentParams, type AirtopAgentUpdateVersionDataParams, type AirtopAutomationData, type AirtopAutomationListResponse, type AirtopAutomationUpdateDescriptionConfig, AirtopBase, AirtopClient, type AirtopClientPlugin, type AirtopConstructorConfig, type AirtopCreateAgentInvocationResponse, type AirtopCreateAgentResponse, type AirtopCreateNewAgentDraftResponse, type AirtopDeleteAgentsResponse, AirtopError, type AirtopFileListParams, type AirtopFileResponse, type AirtopFilesResponse, type AirtopGetAgentInvocationsResponse, type AirtopGetAgentResponse, type AirtopGetAgentVersionDataResponse, type AirtopGetAgentsResponse, AirtopMocks, AirtopNode, type AirtopNodeApiResponseData, AirtopPluginAugmentationType, type AirtopPluginRegistration, type AirtopPluginType, type AirtopProfile, type AirtopPublishNewAgentResponse, type AirtopRequestOptions, AirtopSession, AirtopSessionClient, type AirtopSessionClientPlugin, type AirtopSessionPlugin, type AirtopSessionResponse, type AirtopUpdateAgentResponse, type AirtopUpdateVersionDataResponse, AirtopWindow, AirtopWindowClient, type AirtopWindowClientPlugin, type AirtopWindowCreateResponse, type AirtopWindowGetInfoResponse, type AirtopWindowPlugin, AirtopWindowScreenshot, type AirtopWindowScreenshotPlugin, type AirtopWindowScreenshotResponse, type CommonAirtopConfig, type CommonResponse, type CommonWindowResponse, type CreateFileConfig, type CreateSessionConfig, type GetFilesConfig, type GetSessionsConfig, type OutputJsonSchemaConfig, type ScreenshotData, type SessionData, type SessionError, type SessionMetadata, type SessionServiceResponse, type SessionWarning, type WindowActConfig, type WindowActResponse, type WindowClickConfig, type WindowCreateData, type WindowCreateOptions, type WindowError, type WindowExtractConfig, type WindowExtractResponse, type WindowFillFormConfig, type WindowFindManyConfig, type WindowFindManyResponse, type WindowFindOneConfig, type WindowFindOneResponse, type WindowGetConfig, type WindowHoverConfig, type WindowInfoData, type WindowLlmConfig, type WindowLlmResponse, type WindowLoadUrlConfig, type WindowMetadata, type WindowMonitorConfig, type WindowNavigateConfig, WindowNavigateDirection, type WindowNavigateResponse, type WindowPageQueryConfig, type WindowPaginatedExtractionConfig, type WindowPromptResponse, type WindowScrapeConfig, type WindowScrapeResponse, type WindowScreenshotConfig, type WindowScrollConfig, type WindowTypeConfig, type WindowWaitForPageConfig, type WindowWaitForPageResponse, type WindowWarning, registerAirtopPlugin };
|
1450
|
+
export { type AirtopAgentCancelInvocationParams, AirtopAgentClient, type AirtopAgentCreateAgentParams, type AirtopAgentCreateInvocationParams, type AirtopAgentDeleteAgentsParams, type AirtopAgentGetAgentParams, type AirtopAgentGetAgentsParams, type AirtopAgentGetInvocationsParams, type AirtopAgentGetVersionDataParams, type AirtopAgentPublishAgentParams, type AirtopAgentResponse, type AirtopAgentUpdateAgentParams, type AirtopAgentUpdateVersionDataParams, type AirtopAutomationData, type AirtopAutomationListResponse, type AirtopAutomationUpdateDescriptionConfig, AirtopBase, AirtopClient, type AirtopClientPlugin, type AirtopConstructorConfig, type AirtopCreateAgentInvocationResponse, type AirtopCreateAgentResponse, type AirtopCreateNewAgentDraftResponse, type AirtopDeleteAgentsResponse, AirtopError, type AirtopFileListParams, type AirtopFileResponse, type AirtopFilesResponse, type AirtopGetAgentInvocationsResponse, type AirtopGetAgentResponse, type AirtopGetAgentVersionDataResponse, type AirtopGetAgentsResponse, AirtopMocks, AirtopNode, type AirtopNodeApiResponseData, AirtopPluginAugmentationType, type AirtopPluginRegistration, type AirtopPluginType, type AirtopProfile, type AirtopPublishNewAgentResponse, type AirtopRequestOptions, AirtopSession, AirtopSessionClient, type AirtopSessionClientPlugin, type AirtopSessionPlugin, type AirtopSessionResponse, type AirtopUpdateAgentResponse, type AirtopUpdateVersionDataResponse, AirtopWindow, AirtopWindowClient, type AirtopWindowClientPlugin, type AirtopWindowCreateResponse, type AirtopWindowGetInfoResponse, type AirtopWindowPlugin, AirtopWindowScreenshot, type AirtopWindowScreenshotPlugin, type AirtopWindowScreenshotResponse, type CommonAirtopConfig, type CommonResponse, type CommonWindowResponse, type CreateFileConfig, type CreateSessionConfig, type GetFilesConfig, type GetSessionsConfig, type OutputJsonSchemaConfig, type ScreenshotData, type SessionData, type SessionError, type SessionMetadata, type SessionServiceResponse, type SessionWarning, type WindowActConfig, type WindowActResponse, type WindowClickConfig, type WindowCreateData, type WindowCreateOptions, type WindowError, type WindowExtractConfig, type WindowExtractResponse, type WindowFillFormConfig, type WindowFindManyConfig, type WindowFindManyResponse, type WindowFindOneConfig, type WindowFindOneResponse, type WindowGetConfig, type WindowHoverConfig, type WindowInfoData, type WindowLlmConfig, type WindowLlmResponse, type WindowLoadUrlConfig, type WindowMetadata, type WindowMonitorConfig, type WindowNavigateConfig, WindowNavigateDirection, type WindowNavigateResponse, type WindowPageQueryConfig, type WindowPaginatedExtractionConfig, type WindowPromptResponse, type WindowScrapeConfig, type WindowScrapeResponse, type WindowScreenshotConfig, type WindowScrollConfig, type WindowTypeConfig, type WindowWaitForPageConfig, type WindowWaitForPageResponse, type WindowWarning, registerAirtopPlugin };
|
package/dist/index.js
CHANGED
@@ -9,7 +9,7 @@ var require_package = __commonJS({
|
|
9
9
|
module.exports = {
|
10
10
|
name: "@airtop/sdk",
|
11
11
|
description: "Airtop SDK for TypeScript",
|
12
|
-
version: "1.0.0-alpha2.
|
12
|
+
version: "1.0.0-alpha2.25",
|
13
13
|
type: "module",
|
14
14
|
main: "./dist/index.cjs",
|
15
15
|
module: "./dist/index.js",
|
@@ -47,8 +47,8 @@ var require_package = __commonJS({
|
|
47
47
|
"verify-types": "tsc --noEmit && tsc --noEmit --project tsconfig.e2e.json"
|
48
48
|
},
|
49
49
|
dependencies: {
|
50
|
+
"@airtop/core": "0.1.0-alpha.41",
|
50
51
|
"@airtop/json-schema-adapter": "workspace:*",
|
51
|
-
"@airtop/core": "0.1.0-alpha.39",
|
52
52
|
"date-fns": "4.1.0",
|
53
53
|
loglayer: "6.6.0",
|
54
54
|
"serialize-error": "12.0.0",
|
@@ -1261,18 +1261,32 @@ var AirtopSessionClient = class extends AirtopBase {
|
|
1261
1261
|
);
|
1262
1262
|
}
|
1263
1263
|
/**
|
1264
|
-
*
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1264
|
+
* Implementation for the overloaded service method.
|
1265
|
+
*/
|
1266
|
+
async service(promptOrArgs, serviceOrRequestOptions, requestOptions = {}) {
|
1267
|
+
if (typeof promptOrArgs === "string") {
|
1268
|
+
const prompt = promptOrArgs;
|
1269
|
+
const service = typeof serviceOrRequestOptions === "string" ? serviceOrRequestOptions : void 0;
|
1270
|
+
const options = typeof serviceOrRequestOptions === "object" ? serviceOrRequestOptions : requestOptions;
|
1271
|
+
this.log.withMetadata({ prompt }).info("Service");
|
1272
|
+
const parameters = { prompt, services: service };
|
1273
|
+
const body = { parameters };
|
1274
|
+
return withRequestCompletionPolling(
|
1275
|
+
this.client,
|
1276
|
+
() => this.client.sessions.service(this.sessionId, body),
|
1277
|
+
options
|
1278
|
+
);
|
1279
|
+
} else {
|
1280
|
+
const parameters = promptOrArgs;
|
1281
|
+
const options = serviceOrRequestOptions || {};
|
1282
|
+
this.log.withMetadata({ parameters }).info("Service");
|
1283
|
+
const body = { parameters };
|
1284
|
+
return withRequestCompletionPolling(
|
1285
|
+
this.client,
|
1286
|
+
() => this.client.sessions.service(this.sessionId, body),
|
1287
|
+
options
|
1288
|
+
);
|
1289
|
+
}
|
1276
1290
|
}
|
1277
1291
|
/**
|
1278
1292
|
* Retrieves the list of connected services available for the current session.
|
@@ -1709,9 +1723,9 @@ var AirtopAgentClient = class extends AirtopBase {
|
|
1709
1723
|
* @param requestOptions - Request options.
|
1710
1724
|
* @returns The agent data.
|
1711
1725
|
*/
|
1712
|
-
async getAgent(agentId, requestOptions = {}) {
|
1726
|
+
async getAgent(agentId, params = {}, requestOptions = {}) {
|
1713
1727
|
this.log.withMetadata({ agentId }).info("Retrieving agent");
|
1714
|
-
return this.client.agents.getAgent(agentId, this.resolveRequestOptions(requestOptions));
|
1728
|
+
return this.client.agents.getAgent(agentId, params, this.resolveRequestOptions(requestOptions));
|
1715
1729
|
}
|
1716
1730
|
/**
|
1717
1731
|
* Lists agents.
|
@@ -1731,16 +1745,16 @@ var AirtopAgentClient = class extends AirtopBase {
|
|
1731
1745
|
*/
|
1732
1746
|
async createNewAgentDraftVersion(agentId, requestOptions = {}) {
|
1733
1747
|
this.log.withMetadata({ agentId }).info("Creating new draft version of agent");
|
1734
|
-
return this.client.agents.createAgentDraft(agentId, this.resolveRequestOptions(requestOptions));
|
1748
|
+
return this.client.agents.createAgentDraft(agentId, {}, this.resolveRequestOptions(requestOptions));
|
1735
1749
|
}
|
1736
1750
|
/**
|
1737
1751
|
* Publishes a new version of an agent from the current draft.
|
1738
1752
|
* @param agentId - The ID of the agent to publish.
|
1739
1753
|
* @returns The published version data
|
1740
1754
|
*/
|
1741
|
-
async publishNewAgentVersion(agentId) {
|
1755
|
+
async publishNewAgentVersion(agentId, params = {}, requestOptions = {}) {
|
1742
1756
|
this.log.withMetadata({ agentId }).info("Publishing new version of agent");
|
1743
|
-
return this.client.agents.publishAgent(agentId, this.resolveRequestOptions());
|
1757
|
+
return this.client.agents.publishAgent(agentId, params, this.resolveRequestOptions(requestOptions));
|
1744
1758
|
}
|
1745
1759
|
/**
|
1746
1760
|
* Retrieves the data for a specific version of an agent.
|