@airtop/sdk 1.0.0-alpha2.13 → 1.0.0-alpha2.15

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.cts CHANGED
@@ -40,6 +40,11 @@ interface CommonAirtopConfig {
40
40
  * The automation job ID to use for the request.
41
41
  */
42
42
  jobId?: string;
43
+ /**
44
+ * Logger instance for publishing agent events.
45
+ * Used to send event data to external systems during automation execution.
46
+ */
47
+ agentEventPublisher?: ILogLayer;
43
48
  }
44
49
  /**
45
50
  * Configuration for defining the JSON schema output.
@@ -218,6 +223,11 @@ interface AirtopConstructorConfig {
218
223
  * The job ID to use for the ongoing automation.
219
224
  */
220
225
  jobId?: string;
226
+ /**
227
+ * Logger instance for publishing agent events.
228
+ * Used to send event data to external systems during automation execution.
229
+ */
230
+ agentEventPublisher?: ILogLayer;
221
231
  }
222
232
  /**
223
233
  * Configuration options for creating a new session.
@@ -1170,6 +1180,152 @@ interface AirtopPluginRegistration {
1170
1180
  */
1171
1181
  declare function registerAirtopPlugin(plugin: AirtopPluginRegistration): void;
1172
1182
 
1183
+ interface AirtopAgentCreateAgentParams extends Airtop.AgentCreateAgentParams {
1184
+ }
1185
+ interface AirtopAgentGetAgentsParams extends Airtop.AgentGetAgentsParams {
1186
+ }
1187
+ interface AirtopAgentUpdateAgentParams extends Airtop.AgentUpdateAgentParams {
1188
+ }
1189
+ interface AirtopAgentDeleteAgentsParams extends Airtop.AgentDeleteAgentsParams {
1190
+ }
1191
+ interface AirtopAgentDuplicateAgentParams extends Airtop.AgentDuplicateAgentParams {
1192
+ }
1193
+ interface AirtopAgentCreateVersionParams extends Airtop.AgentCreateVersionParams {
1194
+ }
1195
+ interface AirtopAgentGetVersionsParams extends Airtop.AgentGetVersionsParams {
1196
+ }
1197
+ interface AirtopAgentCreateInvocationParams extends Airtop.AgentCreateInvocationParams {
1198
+ }
1199
+ interface AirtopAgentGetInvocationsParams extends Airtop.AgentGetInvocationsParams {
1200
+ }
1201
+ interface AirtopAgentCancelInvocationParams extends Airtop.AgentCancelInvocationParams {
1202
+ }
1203
+ interface AirtopCreateAgentResponse extends Airtop.CreateAgentResponse {
1204
+ }
1205
+ interface AirtopGetAgentResponse extends Airtop.GetAgentResponse {
1206
+ }
1207
+ interface AirtopGetAgentsResponse extends Airtop.GetAgentsResponse {
1208
+ }
1209
+ interface AirtopUpdateAgentResponse extends Airtop.UpdateAgentResponse {
1210
+ }
1211
+ interface AirtopDeleteAgentsResponse extends Airtop.DeleteResponse {
1212
+ }
1213
+ interface AirtopDuplicateAgentResponse extends Airtop.DuplicateAgentResponse {
1214
+ }
1215
+ interface AirtopCreateAgentVersionResponse extends Airtop.CreateAgentVersionResponse {
1216
+ }
1217
+ interface AirtopGetAgentVersionsResponse extends Airtop.GetAgentVersionsResponse {
1218
+ }
1219
+ interface AirtopCreateAgentInvocationResponse extends Airtop.CreateAgentInvocationResponse {
1220
+ }
1221
+ interface AirtopGetAgentInvocationsResponse extends Airtop.GetAgentInvocationsResponse {
1222
+ }
1223
+ interface AirtopAgentResponse extends Airtop.GetAgentResponse {
1224
+ }
1225
+
1226
+ /**
1227
+ * Client for making Agent-specific requests to the Airtop API.
1228
+ */
1229
+ declare class AirtopAgentClient extends AirtopBase {
1230
+ /**
1231
+ * Creates a new instance of the Airtop SDK.
1232
+ * @param config - Configuration options for the Airtop SDK
1233
+ */
1234
+ constructor(config: AirtopConstructorConfig);
1235
+ /**
1236
+ * Creates a new agent.
1237
+ * @param params - Parameters for creating the agent. Corresponds to `AirtopAgentCreateAgentParams`.
1238
+ * @param requestOptions - Request options.
1239
+ * @returns The created agent data, `AirtopCreateAgentResponse`.
1240
+ */
1241
+ createAgent(params: AirtopAgentCreateAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopCreateAgentResponse>;
1242
+ /**
1243
+ * Retrieves a specific agent by its ID.
1244
+ * @param agentId - The ID of the agent to retrieve.
1245
+ * @param requestOptions - Request options.
1246
+ * @returns The agent data, `AirtopGetAgentResponse`.
1247
+ */
1248
+ getAgent(agentId: string, // Renamed to avoid conflict with class member
1249
+ requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentResponse>;
1250
+ /**
1251
+ * Lists agents.
1252
+ * @param params - Optional parameters for listing agents (e.g., pagination). Corresponds to `AirtopAgentGetAgentsParams`.
1253
+ * @param requestOptions - Request options.
1254
+ * @returns A list of agents, `AirtopGetAgentsResponse`.
1255
+ */
1256
+ listAgents(params?: AirtopAgentGetAgentsParams, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentsResponse>;
1257
+ /**
1258
+ * Updates an existing agent.
1259
+ * @param agentId - The ID of the agent to update.
1260
+ * @param params - The new data for the agent. Corresponds to `AirtopAgentUpdateAgentParams`.
1261
+ * @param requestOptions - Request options.
1262
+ * @returns The updated agent data, `AirtopUpdateAgentResponse`.
1263
+ */
1264
+ updateAgent(agentId: string, // Renamed to avoid conflict with class member
1265
+ params: AirtopAgentUpdateAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopUpdateAgentResponse>;
1266
+ /**
1267
+ * Deletes one or more agents.
1268
+ * @param params - Parameters for deleting agents. Corresponds to `AirtopAgentDeleteAgentsParams`.
1269
+ * @param requestOptions - Request options.
1270
+ * @returns A response confirming the deletion, `AirtopDeleteAgentsResponse`.
1271
+ */
1272
+ deleteAgents(params: AirtopAgentDeleteAgentsParams, requestOptions?: AirtopRequestOptions): Promise<AirtopDeleteAgentsResponse>;
1273
+ /**
1274
+ * Duplicates an agent.
1275
+ * @param agentId - The ID of the agent to duplicate.
1276
+ * @param params - Parameters for duplicating the agent (e.g., new name). Corresponds to `AirtopAgentDuplicateAgentParams`.
1277
+ * @param requestOptions - Request options.
1278
+ * @returns The duplicated agent data, `AirtopDuplicateAgentResponse`.
1279
+ */
1280
+ duplicateAgent(agentId: string, // Renamed to avoid conflict with class member
1281
+ params: AirtopAgentDuplicateAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopDuplicateAgentResponse>;
1282
+ /**
1283
+ * Creates a new version for an agent.
1284
+ * @param agentId - The ID of the agent for which to create a version.
1285
+ * @param params - Parameters for creating the agent version. Corresponds to `AirtopAgentCreateVersionParams`.
1286
+ * @param requestOptions - Request options.
1287
+ * @returns The created agent version data, `AirtopCreateAgentVersionResponse`.
1288
+ */
1289
+ createAgentVersion(agentId: string, // Renamed
1290
+ params: AirtopAgentCreateVersionParams, requestOptions?: AirtopRequestOptions): Promise<AirtopCreateAgentVersionResponse>;
1291
+ /**
1292
+ * Lists versions of an agent.
1293
+ * @param agentId - The ID of the agent whose versions to list.
1294
+ * @param params - Optional parameters for listing agent versions. Corresponds to `AirtopAgentGetVersionsParams`.
1295
+ * @param requestOptions - Request options.
1296
+ * @returns A list of agent versions, `AirtopGetAgentVersionsResponse`.
1297
+ */
1298
+ listAgentVersions(agentId: string, // Renamed
1299
+ params?: AirtopAgentGetVersionsParams, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentVersionsResponse>;
1300
+ /**
1301
+ * Creates an invocation for an agent.
1302
+ * @param agentId - The ID of the agent for which to create an invocation.
1303
+ * @param params - Parameters for creating the agent invocation. Corresponds to `AirtopAgentCreateInvocationParams`.
1304
+ * @param requestOptions - Request options.
1305
+ * @returns The created agent invocation data, `AirtopCreateAgentInvocationResponse`.
1306
+ */
1307
+ createAgentInvocation(agentId: string, // Renamed
1308
+ params: AirtopAgentCreateInvocationParams, requestOptions?: AirtopRequestOptions): Promise<AirtopCreateAgentInvocationResponse>;
1309
+ /**
1310
+ * Lists invocations of an agent.
1311
+ * @param agentIds - The ID of the agent whose invocations to list.
1312
+ * @param params - Optional parameters for listing agent invocations. Corresponds to `AirtopAgentGetInvocationsParams`.
1313
+ * @param requestOptions - Request options.
1314
+ * @returns A list of agent invocations, `AirtopGetAgentInvocationsResponse`.
1315
+ */
1316
+ listAgentInvocations(agentIds: string, // Renamed
1317
+ params?: AirtopAgentGetInvocationsParams, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentInvocationsResponse>;
1318
+ /**
1319
+ * Cancels a specific invocation of an agent.
1320
+ * @param agentId - The ID of the agent.
1321
+ * @param invocationId - The ID of the invocation to cancel.
1322
+ * @param paramsBody - Optional body parameters for cancelling the invocation. Corresponds to `AirtopAgentCancelInvocationParams`.
1323
+ * @param requestOptions - Request options.
1324
+ * @returns A promise that resolves when the operation is complete.
1325
+ */
1326
+ cancelAgentInvocation(agentId: string, invocationId: string, paramsBody?: AirtopAgentCancelInvocationParams, requestOptions?: AirtopRequestOptions): Promise<void>;
1327
+ }
1328
+
1173
1329
  /**
1174
1330
  * Provides utility methods for creating mock instances of Airtop classes.
1175
1331
  * @hideconstructor
@@ -1196,4 +1352,4 @@ declare class AirtopMocks {
1196
1352
  }): AirtopWindow<AirtopWindowGetInfoResponse>;
1197
1353
  }
1198
1354
 
1199
- export { type AirtopAutomationData, type AirtopAutomationListResponse, type AirtopAutomationUpdateDescriptionConfig, AirtopBase, AirtopClient, type AirtopClientPlugin, type AirtopConstructorConfig, AirtopError, type AirtopFileListParams, type AirtopFileResponse, type AirtopFilesResponse, AirtopMocks, AirtopNode, type AirtopNodeApiResponseData, AirtopPluginAugmentationType, type AirtopPluginRegistration, type AirtopPluginType, type AirtopProfile, type AirtopRequestOptions, AirtopSession, AirtopSessionClient, type AirtopSessionClientPlugin, type AirtopSessionPlugin, type AirtopSessionResponse, 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 SessionWarning, type WindowActConfig, type WindowClickConfig, type WindowCreateData, type WindowError, type WindowExtractConfig, type WindowFindManyConfig, type WindowFindOneConfig, type WindowGetConfig, type WindowHoverConfig, type WindowInfoData, type WindowLlmConfig, type WindowLoadUrlConfig, type WindowMetadata, type WindowMonitorConfig, type WindowNavigateConfig, WindowNavigateDirection, type WindowPageQueryConfig, type WindowPaginatedExtractionConfig, type WindowPromptResponse, type WindowScrapeConfig, type WindowScrapeResponse, type WindowScreenshotConfig, type WindowScrollConfig, type WindowTypeConfig, type WindowWaitForPageConfig, type WindowWarning, registerAirtopPlugin };
1355
+ export { type AirtopAgentCancelInvocationParams, AirtopAgentClient, type AirtopAgentCreateAgentParams, type AirtopAgentCreateInvocationParams, type AirtopAgentCreateVersionParams, type AirtopAgentDeleteAgentsParams, type AirtopAgentDuplicateAgentParams, type AirtopAgentGetAgentsParams, type AirtopAgentGetInvocationsParams, type AirtopAgentGetVersionsParams, type AirtopAgentResponse, type AirtopAgentUpdateAgentParams, type AirtopAutomationData, type AirtopAutomationListResponse, type AirtopAutomationUpdateDescriptionConfig, AirtopBase, AirtopClient, type AirtopClientPlugin, type AirtopConstructorConfig, type AirtopCreateAgentInvocationResponse, type AirtopCreateAgentResponse, type AirtopCreateAgentVersionResponse, type AirtopDeleteAgentsResponse, type AirtopDuplicateAgentResponse, AirtopError, type AirtopFileListParams, type AirtopFileResponse, type AirtopFilesResponse, type AirtopGetAgentInvocationsResponse, type AirtopGetAgentResponse, type AirtopGetAgentVersionsResponse, type AirtopGetAgentsResponse, AirtopMocks, AirtopNode, type AirtopNodeApiResponseData, AirtopPluginAugmentationType, type AirtopPluginRegistration, type AirtopPluginType, type AirtopProfile, type AirtopRequestOptions, AirtopSession, AirtopSessionClient, type AirtopSessionClientPlugin, type AirtopSessionPlugin, type AirtopSessionResponse, type AirtopUpdateAgentResponse, 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 SessionWarning, type WindowActConfig, type WindowClickConfig, type WindowCreateData, type WindowError, type WindowExtractConfig, type WindowFindManyConfig, type WindowFindOneConfig, type WindowGetConfig, type WindowHoverConfig, type WindowInfoData, type WindowLlmConfig, type WindowLoadUrlConfig, type WindowMetadata, type WindowMonitorConfig, type WindowNavigateConfig, WindowNavigateDirection, type WindowPageQueryConfig, type WindowPaginatedExtractionConfig, type WindowPromptResponse, type WindowScrapeConfig, type WindowScrapeResponse, type WindowScreenshotConfig, type WindowScrollConfig, type WindowTypeConfig, type WindowWaitForPageConfig, type WindowWarning, registerAirtopPlugin };
package/dist/index.d.ts CHANGED
@@ -40,6 +40,11 @@ interface CommonAirtopConfig {
40
40
  * The automation job ID to use for the request.
41
41
  */
42
42
  jobId?: string;
43
+ /**
44
+ * Logger instance for publishing agent events.
45
+ * Used to send event data to external systems during automation execution.
46
+ */
47
+ agentEventPublisher?: ILogLayer;
43
48
  }
44
49
  /**
45
50
  * Configuration for defining the JSON schema output.
@@ -218,6 +223,11 @@ interface AirtopConstructorConfig {
218
223
  * The job ID to use for the ongoing automation.
219
224
  */
220
225
  jobId?: string;
226
+ /**
227
+ * Logger instance for publishing agent events.
228
+ * Used to send event data to external systems during automation execution.
229
+ */
230
+ agentEventPublisher?: ILogLayer;
221
231
  }
222
232
  /**
223
233
  * Configuration options for creating a new session.
@@ -1170,6 +1180,152 @@ interface AirtopPluginRegistration {
1170
1180
  */
1171
1181
  declare function registerAirtopPlugin(plugin: AirtopPluginRegistration): void;
1172
1182
 
1183
+ interface AirtopAgentCreateAgentParams extends Airtop.AgentCreateAgentParams {
1184
+ }
1185
+ interface AirtopAgentGetAgentsParams extends Airtop.AgentGetAgentsParams {
1186
+ }
1187
+ interface AirtopAgentUpdateAgentParams extends Airtop.AgentUpdateAgentParams {
1188
+ }
1189
+ interface AirtopAgentDeleteAgentsParams extends Airtop.AgentDeleteAgentsParams {
1190
+ }
1191
+ interface AirtopAgentDuplicateAgentParams extends Airtop.AgentDuplicateAgentParams {
1192
+ }
1193
+ interface AirtopAgentCreateVersionParams extends Airtop.AgentCreateVersionParams {
1194
+ }
1195
+ interface AirtopAgentGetVersionsParams extends Airtop.AgentGetVersionsParams {
1196
+ }
1197
+ interface AirtopAgentCreateInvocationParams extends Airtop.AgentCreateInvocationParams {
1198
+ }
1199
+ interface AirtopAgentGetInvocationsParams extends Airtop.AgentGetInvocationsParams {
1200
+ }
1201
+ interface AirtopAgentCancelInvocationParams extends Airtop.AgentCancelInvocationParams {
1202
+ }
1203
+ interface AirtopCreateAgentResponse extends Airtop.CreateAgentResponse {
1204
+ }
1205
+ interface AirtopGetAgentResponse extends Airtop.GetAgentResponse {
1206
+ }
1207
+ interface AirtopGetAgentsResponse extends Airtop.GetAgentsResponse {
1208
+ }
1209
+ interface AirtopUpdateAgentResponse extends Airtop.UpdateAgentResponse {
1210
+ }
1211
+ interface AirtopDeleteAgentsResponse extends Airtop.DeleteResponse {
1212
+ }
1213
+ interface AirtopDuplicateAgentResponse extends Airtop.DuplicateAgentResponse {
1214
+ }
1215
+ interface AirtopCreateAgentVersionResponse extends Airtop.CreateAgentVersionResponse {
1216
+ }
1217
+ interface AirtopGetAgentVersionsResponse extends Airtop.GetAgentVersionsResponse {
1218
+ }
1219
+ interface AirtopCreateAgentInvocationResponse extends Airtop.CreateAgentInvocationResponse {
1220
+ }
1221
+ interface AirtopGetAgentInvocationsResponse extends Airtop.GetAgentInvocationsResponse {
1222
+ }
1223
+ interface AirtopAgentResponse extends Airtop.GetAgentResponse {
1224
+ }
1225
+
1226
+ /**
1227
+ * Client for making Agent-specific requests to the Airtop API.
1228
+ */
1229
+ declare class AirtopAgentClient extends AirtopBase {
1230
+ /**
1231
+ * Creates a new instance of the Airtop SDK.
1232
+ * @param config - Configuration options for the Airtop SDK
1233
+ */
1234
+ constructor(config: AirtopConstructorConfig);
1235
+ /**
1236
+ * Creates a new agent.
1237
+ * @param params - Parameters for creating the agent. Corresponds to `AirtopAgentCreateAgentParams`.
1238
+ * @param requestOptions - Request options.
1239
+ * @returns The created agent data, `AirtopCreateAgentResponse`.
1240
+ */
1241
+ createAgent(params: AirtopAgentCreateAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopCreateAgentResponse>;
1242
+ /**
1243
+ * Retrieves a specific agent by its ID.
1244
+ * @param agentId - The ID of the agent to retrieve.
1245
+ * @param requestOptions - Request options.
1246
+ * @returns The agent data, `AirtopGetAgentResponse`.
1247
+ */
1248
+ getAgent(agentId: string, // Renamed to avoid conflict with class member
1249
+ requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentResponse>;
1250
+ /**
1251
+ * Lists agents.
1252
+ * @param params - Optional parameters for listing agents (e.g., pagination). Corresponds to `AirtopAgentGetAgentsParams`.
1253
+ * @param requestOptions - Request options.
1254
+ * @returns A list of agents, `AirtopGetAgentsResponse`.
1255
+ */
1256
+ listAgents(params?: AirtopAgentGetAgentsParams, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentsResponse>;
1257
+ /**
1258
+ * Updates an existing agent.
1259
+ * @param agentId - The ID of the agent to update.
1260
+ * @param params - The new data for the agent. Corresponds to `AirtopAgentUpdateAgentParams`.
1261
+ * @param requestOptions - Request options.
1262
+ * @returns The updated agent data, `AirtopUpdateAgentResponse`.
1263
+ */
1264
+ updateAgent(agentId: string, // Renamed to avoid conflict with class member
1265
+ params: AirtopAgentUpdateAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopUpdateAgentResponse>;
1266
+ /**
1267
+ * Deletes one or more agents.
1268
+ * @param params - Parameters for deleting agents. Corresponds to `AirtopAgentDeleteAgentsParams`.
1269
+ * @param requestOptions - Request options.
1270
+ * @returns A response confirming the deletion, `AirtopDeleteAgentsResponse`.
1271
+ */
1272
+ deleteAgents(params: AirtopAgentDeleteAgentsParams, requestOptions?: AirtopRequestOptions): Promise<AirtopDeleteAgentsResponse>;
1273
+ /**
1274
+ * Duplicates an agent.
1275
+ * @param agentId - The ID of the agent to duplicate.
1276
+ * @param params - Parameters for duplicating the agent (e.g., new name). Corresponds to `AirtopAgentDuplicateAgentParams`.
1277
+ * @param requestOptions - Request options.
1278
+ * @returns The duplicated agent data, `AirtopDuplicateAgentResponse`.
1279
+ */
1280
+ duplicateAgent(agentId: string, // Renamed to avoid conflict with class member
1281
+ params: AirtopAgentDuplicateAgentParams, requestOptions?: AirtopRequestOptions): Promise<AirtopDuplicateAgentResponse>;
1282
+ /**
1283
+ * Creates a new version for an agent.
1284
+ * @param agentId - The ID of the agent for which to create a version.
1285
+ * @param params - Parameters for creating the agent version. Corresponds to `AirtopAgentCreateVersionParams`.
1286
+ * @param requestOptions - Request options.
1287
+ * @returns The created agent version data, `AirtopCreateAgentVersionResponse`.
1288
+ */
1289
+ createAgentVersion(agentId: string, // Renamed
1290
+ params: AirtopAgentCreateVersionParams, requestOptions?: AirtopRequestOptions): Promise<AirtopCreateAgentVersionResponse>;
1291
+ /**
1292
+ * Lists versions of an agent.
1293
+ * @param agentId - The ID of the agent whose versions to list.
1294
+ * @param params - Optional parameters for listing agent versions. Corresponds to `AirtopAgentGetVersionsParams`.
1295
+ * @param requestOptions - Request options.
1296
+ * @returns A list of agent versions, `AirtopGetAgentVersionsResponse`.
1297
+ */
1298
+ listAgentVersions(agentId: string, // Renamed
1299
+ params?: AirtopAgentGetVersionsParams, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentVersionsResponse>;
1300
+ /**
1301
+ * Creates an invocation for an agent.
1302
+ * @param agentId - The ID of the agent for which to create an invocation.
1303
+ * @param params - Parameters for creating the agent invocation. Corresponds to `AirtopAgentCreateInvocationParams`.
1304
+ * @param requestOptions - Request options.
1305
+ * @returns The created agent invocation data, `AirtopCreateAgentInvocationResponse`.
1306
+ */
1307
+ createAgentInvocation(agentId: string, // Renamed
1308
+ params: AirtopAgentCreateInvocationParams, requestOptions?: AirtopRequestOptions): Promise<AirtopCreateAgentInvocationResponse>;
1309
+ /**
1310
+ * Lists invocations of an agent.
1311
+ * @param agentIds - The ID of the agent whose invocations to list.
1312
+ * @param params - Optional parameters for listing agent invocations. Corresponds to `AirtopAgentGetInvocationsParams`.
1313
+ * @param requestOptions - Request options.
1314
+ * @returns A list of agent invocations, `AirtopGetAgentInvocationsResponse`.
1315
+ */
1316
+ listAgentInvocations(agentIds: string, // Renamed
1317
+ params?: AirtopAgentGetInvocationsParams, requestOptions?: AirtopRequestOptions): Promise<AirtopGetAgentInvocationsResponse>;
1318
+ /**
1319
+ * Cancels a specific invocation of an agent.
1320
+ * @param agentId - The ID of the agent.
1321
+ * @param invocationId - The ID of the invocation to cancel.
1322
+ * @param paramsBody - Optional body parameters for cancelling the invocation. Corresponds to `AirtopAgentCancelInvocationParams`.
1323
+ * @param requestOptions - Request options.
1324
+ * @returns A promise that resolves when the operation is complete.
1325
+ */
1326
+ cancelAgentInvocation(agentId: string, invocationId: string, paramsBody?: AirtopAgentCancelInvocationParams, requestOptions?: AirtopRequestOptions): Promise<void>;
1327
+ }
1328
+
1173
1329
  /**
1174
1330
  * Provides utility methods for creating mock instances of Airtop classes.
1175
1331
  * @hideconstructor
@@ -1196,4 +1352,4 @@ declare class AirtopMocks {
1196
1352
  }): AirtopWindow<AirtopWindowGetInfoResponse>;
1197
1353
  }
1198
1354
 
1199
- export { type AirtopAutomationData, type AirtopAutomationListResponse, type AirtopAutomationUpdateDescriptionConfig, AirtopBase, AirtopClient, type AirtopClientPlugin, type AirtopConstructorConfig, AirtopError, type AirtopFileListParams, type AirtopFileResponse, type AirtopFilesResponse, AirtopMocks, AirtopNode, type AirtopNodeApiResponseData, AirtopPluginAugmentationType, type AirtopPluginRegistration, type AirtopPluginType, type AirtopProfile, type AirtopRequestOptions, AirtopSession, AirtopSessionClient, type AirtopSessionClientPlugin, type AirtopSessionPlugin, type AirtopSessionResponse, 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 SessionWarning, type WindowActConfig, type WindowClickConfig, type WindowCreateData, type WindowError, type WindowExtractConfig, type WindowFindManyConfig, type WindowFindOneConfig, type WindowGetConfig, type WindowHoverConfig, type WindowInfoData, type WindowLlmConfig, type WindowLoadUrlConfig, type WindowMetadata, type WindowMonitorConfig, type WindowNavigateConfig, WindowNavigateDirection, type WindowPageQueryConfig, type WindowPaginatedExtractionConfig, type WindowPromptResponse, type WindowScrapeConfig, type WindowScrapeResponse, type WindowScreenshotConfig, type WindowScrollConfig, type WindowTypeConfig, type WindowWaitForPageConfig, type WindowWarning, registerAirtopPlugin };
1355
+ export { type AirtopAgentCancelInvocationParams, AirtopAgentClient, type AirtopAgentCreateAgentParams, type AirtopAgentCreateInvocationParams, type AirtopAgentCreateVersionParams, type AirtopAgentDeleteAgentsParams, type AirtopAgentDuplicateAgentParams, type AirtopAgentGetAgentsParams, type AirtopAgentGetInvocationsParams, type AirtopAgentGetVersionsParams, type AirtopAgentResponse, type AirtopAgentUpdateAgentParams, type AirtopAutomationData, type AirtopAutomationListResponse, type AirtopAutomationUpdateDescriptionConfig, AirtopBase, AirtopClient, type AirtopClientPlugin, type AirtopConstructorConfig, type AirtopCreateAgentInvocationResponse, type AirtopCreateAgentResponse, type AirtopCreateAgentVersionResponse, type AirtopDeleteAgentsResponse, type AirtopDuplicateAgentResponse, AirtopError, type AirtopFileListParams, type AirtopFileResponse, type AirtopFilesResponse, type AirtopGetAgentInvocationsResponse, type AirtopGetAgentResponse, type AirtopGetAgentVersionsResponse, type AirtopGetAgentsResponse, AirtopMocks, AirtopNode, type AirtopNodeApiResponseData, AirtopPluginAugmentationType, type AirtopPluginRegistration, type AirtopPluginType, type AirtopProfile, type AirtopRequestOptions, AirtopSession, AirtopSessionClient, type AirtopSessionClientPlugin, type AirtopSessionPlugin, type AirtopSessionResponse, type AirtopUpdateAgentResponse, 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 SessionWarning, type WindowActConfig, type WindowClickConfig, type WindowCreateData, type WindowError, type WindowExtractConfig, type WindowFindManyConfig, type WindowFindOneConfig, type WindowGetConfig, type WindowHoverConfig, type WindowInfoData, type WindowLlmConfig, type WindowLoadUrlConfig, type WindowMetadata, type WindowMonitorConfig, type WindowNavigateConfig, WindowNavigateDirection, type WindowPageQueryConfig, type WindowPaginatedExtractionConfig, type WindowPromptResponse, type WindowScrapeConfig, type WindowScrapeResponse, type WindowScreenshotConfig, type WindowScrollConfig, type WindowTypeConfig, type WindowWaitForPageConfig, type WindowWarning, registerAirtopPlugin };