apify-client 2.20.1-beta.6 → 2.20.1-beta.8
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/apify_client.d.ts +237 -25
- package/dist/apify_client.d.ts.map +1 -1
- package/dist/apify_client.js +234 -25
- package/dist/apify_client.js.map +1 -1
- package/dist/bundle.js +2042 -253
- package/dist/bundle.js.map +1 -1
- package/dist/resource_clients/actor.d.ts +322 -31
- package/dist/resource_clients/actor.d.ts.map +1 -1
- package/dist/resource_clients/actor.js +167 -19
- package/dist/resource_clients/actor.js.map +1 -1
- package/dist/resource_clients/actor_collection.d.ts +34 -3
- package/dist/resource_clients/actor_collection.d.ts.map +1 -1
- package/dist/resource_clients/actor_collection.js +34 -3
- package/dist/resource_clients/actor_collection.js.map +1 -1
- package/dist/resource_clients/actor_env_var.d.ts +34 -3
- package/dist/resource_clients/actor_env_var.d.ts.map +1 -1
- package/dist/resource_clients/actor_env_var.js +34 -3
- package/dist/resource_clients/actor_env_var.js.map +1 -1
- package/dist/resource_clients/actor_env_var_collection.d.ts +37 -3
- package/dist/resource_clients/actor_env_var_collection.d.ts.map +1 -1
- package/dist/resource_clients/actor_env_var_collection.js +37 -3
- package/dist/resource_clients/actor_env_var_collection.js.map +1 -1
- package/dist/resource_clients/actor_version.d.ts +42 -6
- package/dist/resource_clients/actor_version.d.ts.map +1 -1
- package/dist/resource_clients/actor_version.js +42 -6
- package/dist/resource_clients/actor_version.js.map +1 -1
- package/dist/resource_clients/actor_version_collection.d.ts +35 -3
- package/dist/resource_clients/actor_version_collection.d.ts.map +1 -1
- package/dist/resource_clients/actor_version_collection.js +35 -3
- package/dist/resource_clients/actor_version_collection.js.map +1 -1
- package/dist/resource_clients/build.d.ts +123 -11
- package/dist/resource_clients/build.d.ts.map +1 -1
- package/dist/resource_clients/build.js +93 -11
- package/dist/resource_clients/build.js.map +1 -1
- package/dist/resource_clients/build_collection.d.ts +27 -2
- package/dist/resource_clients/build_collection.d.ts.map +1 -1
- package/dist/resource_clients/build_collection.js +27 -2
- package/dist/resource_clients/build_collection.js.map +1 -1
- package/dist/resource_clients/dataset.d.ts +221 -15
- package/dist/resource_clients/dataset.d.ts.map +1 -1
- package/dist/resource_clients/dataset.js +185 -15
- package/dist/resource_clients/dataset.js.map +1 -1
- package/dist/resource_clients/dataset_collection.d.ts +32 -3
- package/dist/resource_clients/dataset_collection.d.ts.map +1 -1
- package/dist/resource_clients/dataset_collection.js +32 -3
- package/dist/resource_clients/dataset_collection.js.map +1 -1
- package/dist/resource_clients/key_value_store.d.ts +219 -26
- package/dist/resource_clients/key_value_store.d.ts.map +1 -1
- package/dist/resource_clients/key_value_store.js +172 -25
- package/dist/resource_clients/key_value_store.js.map +1 -1
- package/dist/resource_clients/key_value_store_collection.d.ts +32 -3
- package/dist/resource_clients/key_value_store_collection.d.ts.map +1 -1
- package/dist/resource_clients/key_value_store_collection.js +32 -3
- package/dist/resource_clients/key_value_store_collection.js.map +1 -1
- package/dist/resource_clients/log.d.ts +34 -3
- package/dist/resource_clients/log.d.ts.map +1 -1
- package/dist/resource_clients/log.js +34 -3
- package/dist/resource_clients/log.js.map +1 -1
- package/dist/resource_clients/request_queue.d.ts +290 -19
- package/dist/resource_clients/request_queue.d.ts.map +1 -1
- package/dist/resource_clients/request_queue.js +233 -19
- package/dist/resource_clients/request_queue.js.map +1 -1
- package/dist/resource_clients/request_queue_collection.d.ts +31 -3
- package/dist/resource_clients/request_queue_collection.d.ts.map +1 -1
- package/dist/resource_clients/request_queue_collection.js +31 -3
- package/dist/resource_clients/request_queue_collection.js.map +1 -1
- package/dist/resource_clients/run.d.ts +224 -27
- package/dist/resource_clients/run.d.ts.map +1 -1
- package/dist/resource_clients/run.js +200 -27
- package/dist/resource_clients/run.js.map +1 -1
- package/dist/resource_clients/run_collection.d.ts +27 -2
- package/dist/resource_clients/run_collection.d.ts.map +1 -1
- package/dist/resource_clients/run_collection.js +27 -2
- package/dist/resource_clients/run_collection.js.map +1 -1
- package/dist/resource_clients/schedule.d.ts +65 -4
- package/dist/resource_clients/schedule.d.ts.map +1 -1
- package/dist/resource_clients/schedule.js +42 -4
- package/dist/resource_clients/schedule.js.map +1 -1
- package/dist/resource_clients/schedule_collection.d.ts +35 -3
- package/dist/resource_clients/schedule_collection.d.ts.map +1 -1
- package/dist/resource_clients/schedule_collection.js +35 -3
- package/dist/resource_clients/schedule_collection.js.map +1 -1
- package/dist/resource_clients/store_collection.d.ts +26 -2
- package/dist/resource_clients/store_collection.d.ts.map +1 -1
- package/dist/resource_clients/store_collection.js +26 -2
- package/dist/resource_clients/store_collection.js.map +1 -1
- package/dist/resource_clients/task.d.ts +110 -11
- package/dist/resource_clients/task.d.ts.map +1 -1
- package/dist/resource_clients/task.js +83 -11
- package/dist/resource_clients/task.js.map +1 -1
- package/dist/resource_clients/task_collection.d.ts +35 -8
- package/dist/resource_clients/task_collection.d.ts.map +1 -1
- package/dist/resource_clients/task_collection.js +35 -8
- package/dist/resource_clients/task_collection.js.map +1 -1
- package/dist/resource_clients/user.d.ts +41 -4
- package/dist/resource_clients/user.d.ts.map +1 -1
- package/dist/resource_clients/user.js +41 -4
- package/dist/resource_clients/user.js.map +1 -1
- package/dist/resource_clients/webhook.d.ts +66 -5
- package/dist/resource_clients/webhook.d.ts.map +1 -1
- package/dist/resource_clients/webhook.js +48 -5
- package/dist/resource_clients/webhook.js.map +1 -1
- package/dist/resource_clients/webhook_collection.d.ts +34 -3
- package/dist/resource_clients/webhook_collection.d.ts.map +1 -1
- package/dist/resource_clients/webhook_collection.js +34 -3
- package/dist/resource_clients/webhook_collection.js.map +1 -1
- package/dist/resource_clients/webhook_dispatch.d.ts +22 -1
- package/dist/resource_clients/webhook_dispatch.d.ts.map +1 -1
- package/dist/resource_clients/webhook_dispatch.js +22 -1
- package/dist/resource_clients/webhook_dispatch.js.map +1 -1
- package/dist/resource_clients/webhook_dispatch_collection.d.ts +24 -2
- package/dist/resource_clients/webhook_dispatch_collection.d.ts.map +1 -1
- package/dist/resource_clients/webhook_dispatch_collection.js +24 -2
- package/dist/resource_clients/webhook_dispatch_collection.js.map +1 -1
- package/dist/utils.d.ts +42 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,125 +13,334 @@ import { RunClient } from './run';
|
|
|
13
13
|
import { RunCollectionClient } from './run_collection';
|
|
14
14
|
import type { WebhookUpdateData } from './webhook';
|
|
15
15
|
import { WebhookCollectionClient } from './webhook_collection';
|
|
16
|
+
/**
|
|
17
|
+
* Client for managing a specific Actor.
|
|
18
|
+
*
|
|
19
|
+
* Provides methods to start, call, build, update, and delete an Actor, as well as manage its
|
|
20
|
+
* versions, builds, runs, and webhooks.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```javascript
|
|
24
|
+
* const client = new ApifyClient({ token: 'my-token' });
|
|
25
|
+
* const actorClient = client.actor('my-actor-id');
|
|
26
|
+
*
|
|
27
|
+
* // Start an Actor
|
|
28
|
+
* const run = await actorClient.start(input, { memory: 256 });
|
|
29
|
+
*
|
|
30
|
+
* // Call an Actor and wait for it to finish
|
|
31
|
+
* const finishedRun = await actorClient.call({ url: 'https://example.com' });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @see https://docs.apify.com/platform/actors
|
|
35
|
+
*/
|
|
16
36
|
export declare class ActorClient extends ResourceClient {
|
|
17
37
|
/**
|
|
18
38
|
* @hidden
|
|
19
39
|
*/
|
|
20
40
|
constructor(options: ApiClientSubResourceOptions);
|
|
21
41
|
/**
|
|
22
|
-
*
|
|
42
|
+
* Gets the Actor object from the Apify API.
|
|
43
|
+
*
|
|
44
|
+
* @returns The Actor object, or `undefined` if it does not exist
|
|
45
|
+
* @see https://docs.apify.com/api/v2/act-get
|
|
23
46
|
*/
|
|
24
47
|
get(): Promise<Actor | undefined>;
|
|
25
48
|
/**
|
|
26
|
-
*
|
|
49
|
+
* Updates the Actor with specified fields.
|
|
50
|
+
*
|
|
51
|
+
* @param newFields - Fields to update in the Actor
|
|
52
|
+
* @returns The updated Actor object
|
|
53
|
+
* @see https://docs.apify.com/api/v2/act-put
|
|
27
54
|
*/
|
|
28
55
|
update(newFields: ActorUpdateOptions): Promise<Actor>;
|
|
29
56
|
/**
|
|
30
|
-
*
|
|
57
|
+
* Deletes the Actor.
|
|
58
|
+
*
|
|
59
|
+
* @see https://docs.apify.com/api/v2/act-delete
|
|
31
60
|
*/
|
|
32
61
|
delete(): Promise<void>;
|
|
33
62
|
/**
|
|
34
|
-
* Starts
|
|
35
|
-
*
|
|
63
|
+
* Starts the Actor and immediately returns the Run object.
|
|
64
|
+
*
|
|
65
|
+
* The Actor run can be configured with optional input and various options. The run starts
|
|
66
|
+
* asynchronously and this method returns immediately without waiting for completion.
|
|
67
|
+
* Use the {@link call} method if you want to wait for the Actor to finish.
|
|
68
|
+
*
|
|
69
|
+
* @param input - Input for the Actor. Can be any JSON-serializable value (object, array, string, number).
|
|
70
|
+
* If `contentType` is specified in options, input should be a string or Buffer.
|
|
71
|
+
* @param options - Run configuration options
|
|
72
|
+
* @param options.build - Tag or number of the build to run (e.g., `'beta'` or `'1.2.345'`). If not provided, uses the default build.
|
|
73
|
+
* @param options.memory - Memory in megabytes allocated for the run. If not provided, uses the Actor's default memory setting.
|
|
74
|
+
* @param options.timeout - Timeout for the run in seconds. Zero means no timeout. If not provided, uses the Actor's default timeout.
|
|
75
|
+
* @param options.waitForFinish - Maximum time to wait (in seconds, max 60s) for the run to finish on the API side before returning. Default is 0 (returns immediately).
|
|
76
|
+
* @param options.webhooks - Webhooks to trigger when the Actor run reaches a specific state (e.g., `SUCCEEDED`, `FAILED`).
|
|
77
|
+
* @param options.maxItems - Maximum number of dataset items that will be charged (only for pay-per-result Actors).
|
|
78
|
+
* @param options.maxTotalChargeUsd - Maximum cost in USD (only for pay-per-event Actors).
|
|
79
|
+
* @param options.contentType - Content type of the input. If specified, input must be a string or Buffer.
|
|
80
|
+
* @returns The Actor run object with status, usage, and storage IDs
|
|
81
|
+
* @see https://docs.apify.com/api/v2/act-runs-post
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```javascript
|
|
85
|
+
* // Start Actor with simple input
|
|
86
|
+
* const run = await client.actor('my-actor').start({ url: 'https://example.com' });
|
|
87
|
+
* console.log(`Run started with ID: ${run.id}, status: ${run.status}`);
|
|
88
|
+
*
|
|
89
|
+
* // Start Actor with specific build and memory
|
|
90
|
+
* const run = await client.actor('my-actor').start(
|
|
91
|
+
* { url: 'https://example.com' },
|
|
92
|
+
* { build: '0.1.2', memory: 512, timeout: 300 }
|
|
93
|
+
* );
|
|
94
|
+
* ```
|
|
36
95
|
*/
|
|
37
96
|
start(input?: unknown, options?: ActorStartOptions): Promise<ActorRun>;
|
|
38
97
|
/**
|
|
39
|
-
* Starts
|
|
40
|
-
*
|
|
41
|
-
*
|
|
98
|
+
* Starts the Actor and waits for it to finish before returning the Run object.
|
|
99
|
+
*
|
|
100
|
+
* This is a convenience method that starts the Actor run and waits for its completion
|
|
101
|
+
* by polling the run status. It optionally streams logs to the console or a custom Log instance.
|
|
102
|
+
* By default, it waits indefinitely unless the `waitSecs` option is provided.
|
|
103
|
+
*
|
|
104
|
+
* @param input - Input for the Actor. Can be any JSON-serializable value (object, array, string, number).
|
|
105
|
+
* If `contentType` is specified in options, input should be a string or Buffer.
|
|
106
|
+
* @param options - Run configuration options (extends all options from {@link start})
|
|
107
|
+
* @param options.waitSecs - Maximum time to wait for the run to finish, in seconds. If omitted, waits indefinitely.
|
|
108
|
+
* @param options.log - Log instance for streaming run logs. Use `'default'` for console output, `null` to disable logging, or provide a custom Log instance.
|
|
109
|
+
* @param options.build - Tag or number of the build to run (e.g., `'beta'` or `'1.2.345'`).
|
|
110
|
+
* @param options.memory - Memory in megabytes allocated for the run.
|
|
111
|
+
* @param options.timeout - Maximum run duration in seconds.
|
|
112
|
+
* @returns The finished Actor run object with final status (`SUCCEEDED`, `FAILED`, `ABORTED`, or `TIMED-OUT`)
|
|
113
|
+
* @see https://docs.apify.com/api/v2/act-runs-post
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* ```javascript
|
|
117
|
+
* // Run an Actor and wait for it to finish
|
|
118
|
+
* const run = await client.actor('my-actor').call({ url: 'https://example.com' });
|
|
119
|
+
* console.log(`Run finished with status: ${run.status}`);
|
|
120
|
+
* console.log(`Dataset ID: ${run.defaultDatasetId}`);
|
|
121
|
+
*
|
|
122
|
+
* // Run with a timeout and log streaming to console
|
|
123
|
+
* const run = await client.actor('my-actor').call(
|
|
124
|
+
* { url: 'https://example.com' },
|
|
125
|
+
* { waitSecs: 300, log: 'default' }
|
|
126
|
+
* );
|
|
127
|
+
*
|
|
128
|
+
* // Run with custom log instance
|
|
129
|
+
* import { Log } from '@apify/log';
|
|
130
|
+
* const log = new Log({ prefix: 'My Actor' });
|
|
131
|
+
* const run = await client.actor('my-actor').call({ url: 'https://example.com' }, { log });
|
|
132
|
+
* ```
|
|
42
133
|
*/
|
|
43
134
|
call(input?: unknown, options?: ActorCallOptions): Promise<ActorRun>;
|
|
44
135
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
136
|
+
* Builds the Actor.
|
|
137
|
+
*
|
|
138
|
+
* Creates a new build of the specified Actor version. The build compiles the Actor's
|
|
139
|
+
* source code, installs dependencies, and prepares it for execution.
|
|
140
|
+
*
|
|
141
|
+
* @param versionNumber - Version number or tag to build (e.g., `'0.1'`, `'0.2'`, `'latest'`)
|
|
142
|
+
* @param options - Build configuration options
|
|
143
|
+
* @param options.betaPackages - If `true`, the build uses beta versions of Apify NPM packages.
|
|
144
|
+
* @param options.tag - Tag to be applied to the build (e.g., `'latest'`, `'beta'`). Existing tag with the same name will be replaced.
|
|
145
|
+
* @param options.useCache - If `false`, Docker build cache will be ignored. Default is `true`.
|
|
146
|
+
* @param options.waitForFinish - Maximum time to wait (in seconds, max 60s) for the build to finish on the API side before returning. Default is 0 (returns immediately).
|
|
147
|
+
* @returns The Build object with status and build details
|
|
148
|
+
* @see https://docs.apify.com/api/v2/act-builds-post
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* ```javascript
|
|
152
|
+
* // Start a build and return immediately
|
|
153
|
+
* const build = await client.actor('my-actor').build('0.1');
|
|
154
|
+
* console.log(`Build ${build.id} started with status: ${build.status}`);
|
|
155
|
+
*
|
|
156
|
+
* // Build and wait up to 120 seconds for it to finish
|
|
157
|
+
* const build = await client.actor('my-actor').build('0.1', {
|
|
158
|
+
* waitForFinish: 120,
|
|
159
|
+
* tag: 'latest',
|
|
160
|
+
* useCache: true
|
|
161
|
+
* });
|
|
162
|
+
* ```
|
|
47
163
|
*/
|
|
48
164
|
build(versionNumber: string, options?: ActorBuildOptions): Promise<Build>;
|
|
49
165
|
/**
|
|
50
|
-
*
|
|
166
|
+
* Retrieves the default build of the Actor.
|
|
167
|
+
*
|
|
168
|
+
* @param options - Options for getting the build.
|
|
169
|
+
* @returns A client for the default build.
|
|
170
|
+
* @see https://docs.apify.com/api/v2/act-build-default-get
|
|
51
171
|
*/
|
|
52
172
|
defaultBuild(options?: BuildClientGetOptions): Promise<BuildClient>;
|
|
53
173
|
/**
|
|
54
|
-
*
|
|
174
|
+
* Returns a client for the last run of this Actor.
|
|
175
|
+
*
|
|
176
|
+
* Provides access to the most recent Actor run, optionally filtered by status or origin.
|
|
177
|
+
*
|
|
178
|
+
* @param options - Options to filter the last run
|
|
179
|
+
* @param options.status - Filter by run status (e.g., `'SUCCEEDED'`, `'FAILED'`, `'RUNNING'`, `'ABORTED'`, `'TIMED-OUT'`).
|
|
180
|
+
* @param options.origin - Filter by run origin (e.g., `'DEVELOPMENT'`, `'WEB'`, `'API'`, `'SCHEDULER'`).
|
|
181
|
+
* @returns A client for the last run
|
|
182
|
+
* @see https://docs.apify.com/api/v2/act-runs-last-get
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* ```javascript
|
|
186
|
+
* // Get the last successful run
|
|
187
|
+
* const lastRun = await client.actor('my-actor').lastRun({ status: 'SUCCEEDED' }).get();
|
|
188
|
+
* ```
|
|
55
189
|
*/
|
|
56
190
|
lastRun(options?: ActorLastRunOptions): RunClient;
|
|
57
191
|
/**
|
|
58
|
-
*
|
|
192
|
+
* Returns a client for managing builds of this Actor.
|
|
193
|
+
*
|
|
194
|
+
* @returns A client for the Actor's build collection
|
|
195
|
+
* @see https://docs.apify.com/api/v2/act-builds-get
|
|
59
196
|
*/
|
|
60
197
|
builds(): BuildCollectionClient;
|
|
61
198
|
/**
|
|
62
|
-
*
|
|
199
|
+
* Returns a client for managing runs of this Actor.
|
|
200
|
+
*
|
|
201
|
+
* @returns A client for the Actor's run collection
|
|
202
|
+
* @see https://docs.apify.com/api/v2/act-runs-get
|
|
63
203
|
*/
|
|
64
204
|
runs(): RunCollectionClient;
|
|
65
205
|
/**
|
|
66
|
-
*
|
|
206
|
+
* Returns a client for a specific version of this Actor.
|
|
207
|
+
*
|
|
208
|
+
* @param versionNumber - Version number (e.g., '0.1', '1.2.3')
|
|
209
|
+
* @returns A client for the specified Actor version
|
|
210
|
+
* @see https://docs.apify.com/api/v2/act-version-get
|
|
67
211
|
*/
|
|
68
212
|
version(versionNumber: string): ActorVersionClient;
|
|
69
213
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
214
|
+
* Returns a client for managing versions of this Actor.
|
|
215
|
+
*
|
|
216
|
+
* @returns A client for the Actor's version collection
|
|
217
|
+
* @see https://docs.apify.com/api/v2/act-versions-get
|
|
72
218
|
*/
|
|
73
219
|
versions(): ActorVersionCollectionClient;
|
|
74
220
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
221
|
+
* Returns a client for managing webhooks associated with this Actor.
|
|
222
|
+
*
|
|
223
|
+
* @returns A client for the Actor's webhook collection
|
|
224
|
+
* @see https://docs.apify.com/api/v2/act-webhooks-get
|
|
77
225
|
*/
|
|
78
226
|
webhooks(): WebhookCollectionClient;
|
|
79
227
|
}
|
|
228
|
+
/**
|
|
229
|
+
* Represents an Actor in the Apify platform.
|
|
230
|
+
*
|
|
231
|
+
* Actors are serverless computing units that can perform arbitrary tasks such as web scraping,
|
|
232
|
+
* data processing, automation, and more. Each Actor has versions, builds, and can be executed
|
|
233
|
+
* with different configurations.
|
|
234
|
+
*/
|
|
80
235
|
export interface Actor {
|
|
236
|
+
/** Unique Actor ID */
|
|
81
237
|
id: string;
|
|
238
|
+
/** ID of the user who owns the Actor */
|
|
82
239
|
userId: string;
|
|
240
|
+
/** Unique name of the Actor (used in API paths, e.g., 'my-actor') */
|
|
83
241
|
name: string;
|
|
242
|
+
/** Username of the Actor's owner */
|
|
84
243
|
username: string;
|
|
244
|
+
/** Detailed description of what the Actor does */
|
|
85
245
|
description?: string;
|
|
86
246
|
/** @deprecated Use defaultRunOptions.restartOnError instead */
|
|
87
247
|
restartOnError?: boolean;
|
|
248
|
+
/** Whether the Actor is publicly available in Apify Store */
|
|
88
249
|
isPublic: boolean;
|
|
250
|
+
/** Whether the Actor can be run by anonymous users without authentication */
|
|
89
251
|
isAnonymouslyRunnable?: boolean;
|
|
252
|
+
/** Timestamp when the Actor was created */
|
|
90
253
|
createdAt: Date;
|
|
254
|
+
/** Timestamp when the Actor was last modified */
|
|
91
255
|
modifiedAt: Date;
|
|
256
|
+
/** Usage and run statistics for the Actor */
|
|
92
257
|
stats: ActorStats;
|
|
258
|
+
/** All versions of this Actor */
|
|
93
259
|
versions: ActorVersion[];
|
|
260
|
+
/** Pricing information for pay-per-result or pay-per-event Actors */
|
|
94
261
|
pricingInfos?: ActorRunPricingInfo[];
|
|
262
|
+
/** Default configuration options for Actor runs */
|
|
95
263
|
defaultRunOptions: ActorDefaultRunOptions;
|
|
264
|
+
/** Example input to help users understand how to use the Actor */
|
|
96
265
|
exampleRunInput?: ActorExampleRunInput;
|
|
266
|
+
/** Whether the Actor is deprecated and should not be used */
|
|
97
267
|
isDeprecated?: boolean;
|
|
268
|
+
/** Deployment key used for automated deployments */
|
|
98
269
|
deploymentKey: string;
|
|
270
|
+
/** Human-readable title of the Actor (displayed in UI) */
|
|
99
271
|
title?: string;
|
|
272
|
+
/** Mapping of tags to specific builds (e.g., 'latest', 'beta') */
|
|
100
273
|
taggedBuilds?: ActorTaggedBuilds;
|
|
274
|
+
/** SEO-optimized title for the Actor's public page */
|
|
101
275
|
seoTitle?: string;
|
|
276
|
+
/** SEO-optimized description for the Actor's public page */
|
|
102
277
|
seoDescription?: string;
|
|
278
|
+
/** Categories the Actor belongs to (e.g., 'ECOMMERCE', 'SCRAPING') */
|
|
103
279
|
categories?: string[];
|
|
280
|
+
/** Standby mode configuration for keeping Actor warm and responsive */
|
|
104
281
|
actorStandby?: ActorStandby & {
|
|
105
282
|
isEnabled: boolean;
|
|
106
283
|
};
|
|
107
284
|
}
|
|
285
|
+
/**
|
|
286
|
+
* Statistics about Actor usage and activity.
|
|
287
|
+
*/
|
|
108
288
|
export interface ActorStats {
|
|
289
|
+
/** Total number of builds created for this Actor */
|
|
109
290
|
totalBuilds: number;
|
|
291
|
+
/** Total number of times this Actor has been run */
|
|
110
292
|
totalRuns: number;
|
|
293
|
+
/** Total number of unique users who have run this Actor */
|
|
111
294
|
totalUsers: number;
|
|
295
|
+
/** Number of unique users in the last 7 days */
|
|
112
296
|
totalUsers7Days: number;
|
|
297
|
+
/** Number of unique users in the last 30 days */
|
|
113
298
|
totalUsers30Days: number;
|
|
299
|
+
/** Number of unique users in the last 90 days */
|
|
114
300
|
totalUsers90Days: number;
|
|
301
|
+
/** Total number of times this Actor was used via metamorph */
|
|
115
302
|
totalMetamorphs: number;
|
|
303
|
+
/** Timestamp when the last run was started */
|
|
116
304
|
lastRunStartedAt: Date;
|
|
117
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* Default configuration options for Actor runs.
|
|
308
|
+
*/
|
|
118
309
|
export interface ActorDefaultRunOptions {
|
|
119
310
|
build: string;
|
|
120
311
|
timeoutSecs: number;
|
|
121
312
|
memoryMbytes: number;
|
|
122
313
|
restartOnError?: boolean;
|
|
123
314
|
}
|
|
315
|
+
/**
|
|
316
|
+
* Example input data to demonstrate Actor usage.
|
|
317
|
+
*/
|
|
124
318
|
export interface ActorExampleRunInput {
|
|
125
319
|
body: string;
|
|
126
320
|
contentType: string;
|
|
127
321
|
}
|
|
322
|
+
/**
|
|
323
|
+
* Mapping of build tags (e.g., 'latest', 'beta') to their corresponding build information.
|
|
324
|
+
*/
|
|
128
325
|
export type ActorTaggedBuilds = Record<string, ActorTaggedBuild>;
|
|
326
|
+
/**
|
|
327
|
+
* Information about a specific tagged build.
|
|
328
|
+
*/
|
|
129
329
|
export interface ActorTaggedBuild {
|
|
130
330
|
buildId?: string;
|
|
131
331
|
buildNumber?: string;
|
|
132
332
|
finishedAt?: Date;
|
|
133
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* Fields that can be updated when modifying an Actor.
|
|
336
|
+
*/
|
|
134
337
|
export type ActorUpdateOptions = Partial<Pick<Actor, 'name' | 'description' | 'isPublic' | 'isDeprecated' | 'seoTitle' | 'seoDescription' | 'title' | 'restartOnError' | 'versions' | 'categories' | 'defaultRunOptions' | 'actorStandby'>>;
|
|
338
|
+
/**
|
|
339
|
+
* Configuration for Actor standby mode.
|
|
340
|
+
*
|
|
341
|
+
* Standby mode keeps Actor containers warm and ready to process requests with minimal latency.
|
|
342
|
+
* This is useful for Actors that need to respond quickly to incoming requests.
|
|
343
|
+
*/
|
|
135
344
|
export interface ActorStandby {
|
|
136
345
|
desiredRequestsPerActorRun: number;
|
|
137
346
|
maxRequestsPerActorRun: number;
|
|
@@ -141,8 +350,8 @@ export interface ActorStandby {
|
|
|
141
350
|
}
|
|
142
351
|
export interface ActorStartOptions {
|
|
143
352
|
/**
|
|
144
|
-
* Tag or number of the
|
|
145
|
-
* If not provided, the run uses build tag or number from the default
|
|
353
|
+
* Tag or number of the Actor build to run (e.g. `beta` or `1.2.345`).
|
|
354
|
+
* If not provided, the run uses build tag or number from the default Actor run configuration (typically `latest`).
|
|
146
355
|
*/
|
|
147
356
|
build?: string;
|
|
148
357
|
/**
|
|
@@ -153,27 +362,27 @@ export interface ActorStartOptions {
|
|
|
153
362
|
*/
|
|
154
363
|
contentType?: string;
|
|
155
364
|
/**
|
|
156
|
-
* Memory in megabytes which will be allocated for the new
|
|
157
|
-
* If not provided, the run uses memory of the default
|
|
365
|
+
* Memory in megabytes which will be allocated for the new Actor run.
|
|
366
|
+
* If not provided, the run uses memory of the default Actor run configuration.
|
|
158
367
|
*/
|
|
159
368
|
memory?: number;
|
|
160
369
|
/**
|
|
161
|
-
* Timeout for the
|
|
162
|
-
* If not provided, the run uses timeout of the default
|
|
370
|
+
* Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
371
|
+
* If not provided, the run uses timeout of the default Actor run configuration.
|
|
163
372
|
*/
|
|
164
373
|
timeout?: number;
|
|
165
374
|
/**
|
|
166
|
-
* Maximum time to wait for the
|
|
375
|
+
* Maximum time to wait for the Actor run to finish, in seconds.
|
|
167
376
|
* If the limit is reached, the returned promise is resolved to a run object that will have
|
|
168
|
-
* status `READY` or `RUNNING` and it will not contain the
|
|
377
|
+
* status `READY` or `RUNNING` and it will not contain the Actor run output.
|
|
169
378
|
* By default (or when `waitForFinish` is set to `0`), the function resolves immediately without waiting.
|
|
170
379
|
* The wait is limited to 60s and happens on the API directly, as opposed to the `call` method and its
|
|
171
380
|
* `waitSecs` option, which is implemented via polling on the client side instead (and has no limit like that).
|
|
172
381
|
*/
|
|
173
382
|
waitForFinish?: number;
|
|
174
383
|
/**
|
|
175
|
-
* Specifies optional webhooks associated with the
|
|
176
|
-
* to receive a notification e.g. when the
|
|
384
|
+
* Specifies optional webhooks associated with the Actor run, which can be used
|
|
385
|
+
* to receive a notification e.g. when the Actor finished or failed, see
|
|
177
386
|
* [ad hook webhooks documentation](https://docs.apify.com/webhooks/ad-hoc-webhooks) for detailed description.
|
|
178
387
|
*/
|
|
179
388
|
webhooks?: readonly WebhookUpdateData[];
|
|
@@ -202,18 +411,28 @@ export interface ActorStartOptions {
|
|
|
202
411
|
*/
|
|
203
412
|
forcePermissionLevel?: ACTOR_PERMISSION_LEVEL;
|
|
204
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
* Options for calling an Actor and waiting for it to finish.
|
|
416
|
+
*
|
|
417
|
+
* Extends {@link ActorStartOptions} with additional options for waiting and log streaming.
|
|
418
|
+
*/
|
|
205
419
|
export interface ActorCallOptions extends Omit<ActorStartOptions, 'waitForFinish'> {
|
|
206
420
|
/**
|
|
207
|
-
* Wait time in seconds for the
|
|
421
|
+
* Wait time in seconds for the Actor run to finish.
|
|
208
422
|
*/
|
|
209
423
|
waitSecs?: number;
|
|
210
424
|
/**
|
|
211
|
-
* `Log` instance that should be used to redirect
|
|
425
|
+
* `Log` instance that should be used to redirect Actor run logs to.
|
|
212
426
|
* If `undefined` or `'default'` the pre-defined `Log` will be created and used.
|
|
213
427
|
* If `null`, no log redirection will occur.
|
|
214
428
|
*/
|
|
215
429
|
log?: Log | null | 'default';
|
|
216
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* Simplified Actor run information used in list results.
|
|
433
|
+
*
|
|
434
|
+
* Contains basic information about a run without detailed statistics.
|
|
435
|
+
*/
|
|
217
436
|
export interface ActorRunListItem {
|
|
218
437
|
id: string;
|
|
219
438
|
actId: string;
|
|
@@ -229,6 +448,12 @@ export interface ActorRunListItem {
|
|
|
229
448
|
defaultRequestQueueId: string;
|
|
230
449
|
usageTotalUsd?: number;
|
|
231
450
|
}
|
|
451
|
+
/**
|
|
452
|
+
* Complete Actor run information including statistics and usage details.
|
|
453
|
+
*
|
|
454
|
+
* Represents a single execution of an Actor with all its configuration, status,
|
|
455
|
+
* and resource usage information.
|
|
456
|
+
*/
|
|
232
457
|
export interface ActorRun extends ActorRunListItem {
|
|
233
458
|
userId: string;
|
|
234
459
|
statusMessage?: string;
|
|
@@ -244,25 +469,50 @@ export interface ActorRun extends ActorRunListItem {
|
|
|
244
469
|
chargedEventCounts?: Record<string, number>;
|
|
245
470
|
generalAccess?: RUN_GENERAL_ACCESS | null;
|
|
246
471
|
}
|
|
472
|
+
/**
|
|
473
|
+
* Resource usage metrics for an Actor run.
|
|
474
|
+
*
|
|
475
|
+
* All values represent the total consumption during the run's lifetime.
|
|
476
|
+
*/
|
|
247
477
|
export interface ActorRunUsage {
|
|
478
|
+
/** Compute units consumed (combines CPU and memory usage over time) */
|
|
248
479
|
ACTOR_COMPUTE_UNITS?: number;
|
|
480
|
+
/** Number of Dataset read operations */
|
|
249
481
|
DATASET_READS?: number;
|
|
482
|
+
/** Number of Dataset write operations */
|
|
250
483
|
DATASET_WRITES?: number;
|
|
484
|
+
/** Number of key-value store read operations */
|
|
251
485
|
KEY_VALUE_STORE_READS?: number;
|
|
486
|
+
/** Number of key-value store write operations */
|
|
252
487
|
KEY_VALUE_STORE_WRITES?: number;
|
|
488
|
+
/** Number of key-value store list operations */
|
|
253
489
|
KEY_VALUE_STORE_LISTS?: number;
|
|
490
|
+
/** Number of Request queue read operations */
|
|
254
491
|
REQUEST_QUEUE_READS?: number;
|
|
492
|
+
/** Number of Request queue write operations */
|
|
255
493
|
REQUEST_QUEUE_WRITES?: number;
|
|
494
|
+
/** Internal data transfer within Apify platform (in gigabytes) */
|
|
256
495
|
DATA_TRANSFER_INTERNAL_GBYTES?: number;
|
|
496
|
+
/** External data transfer to/from internet (in gigabytes) */
|
|
257
497
|
DATA_TRANSFER_EXTERNAL_GBYTES?: number;
|
|
498
|
+
/** Residential proxy data transfer (in gigabytes) */
|
|
258
499
|
PROXY_RESIDENTIAL_TRANSFER_GBYTES?: number;
|
|
500
|
+
/** Number of SERP (Search Engine Results Page) proxy requests */
|
|
259
501
|
PROXY_SERPS?: number;
|
|
260
502
|
}
|
|
503
|
+
/**
|
|
504
|
+
* Metadata about how an Actor run was initiated.
|
|
505
|
+
*/
|
|
261
506
|
export interface ActorRunMeta {
|
|
262
507
|
origin: string;
|
|
263
508
|
clientIp?: string;
|
|
264
509
|
userAgent: string;
|
|
265
510
|
}
|
|
511
|
+
/**
|
|
512
|
+
* Runtime statistics for an Actor run.
|
|
513
|
+
*
|
|
514
|
+
* Provides detailed metrics about resource consumption and performance during the run.
|
|
515
|
+
*/
|
|
266
516
|
export interface ActorRunStats {
|
|
267
517
|
inputBodyLen: number;
|
|
268
518
|
restartCount: number;
|
|
@@ -280,6 +530,11 @@ export interface ActorRunStats {
|
|
|
280
530
|
metamorph: number;
|
|
281
531
|
computeUnits: number;
|
|
282
532
|
}
|
|
533
|
+
/**
|
|
534
|
+
* Configuration options used for an Actor run.
|
|
535
|
+
*
|
|
536
|
+
* These are the actual options that were applied to the run (may differ from requested options).
|
|
537
|
+
*/
|
|
283
538
|
export interface ActorRunOptions {
|
|
284
539
|
build: string;
|
|
285
540
|
timeoutSecs: number;
|
|
@@ -289,15 +544,26 @@ export interface ActorRunOptions {
|
|
|
289
544
|
maxTotalChargeUsd?: number;
|
|
290
545
|
restartOnError?: boolean;
|
|
291
546
|
}
|
|
547
|
+
/**
|
|
548
|
+
* Options for building an Actor.
|
|
549
|
+
*/
|
|
292
550
|
export interface ActorBuildOptions {
|
|
293
551
|
betaPackages?: boolean;
|
|
294
552
|
tag?: string;
|
|
295
553
|
useCache?: boolean;
|
|
296
554
|
waitForFinish?: number;
|
|
297
555
|
}
|
|
556
|
+
/**
|
|
557
|
+
* Options for filtering the last run of an Actor.
|
|
558
|
+
*/
|
|
298
559
|
export interface ActorLastRunOptions {
|
|
299
560
|
status?: keyof typeof ACT_JOB_STATUSES;
|
|
300
561
|
}
|
|
562
|
+
/**
|
|
563
|
+
* Actor definition from the `.actor/actor.json` file.
|
|
564
|
+
*
|
|
565
|
+
* Contains the Actor's configuration, input schema, and other metadata.
|
|
566
|
+
*/
|
|
301
567
|
export interface ActorDefinition {
|
|
302
568
|
actorSpecification: number;
|
|
303
569
|
name: string;
|
|
@@ -327,9 +593,15 @@ interface CommonActorPricingInfo {
|
|
|
327
593
|
notifiedAboutChangeAt?: Date;
|
|
328
594
|
reasonForChange?: string;
|
|
329
595
|
}
|
|
596
|
+
/**
|
|
597
|
+
* Pricing information for free Actors.
|
|
598
|
+
*/
|
|
330
599
|
export interface FreeActorPricingInfo extends CommonActorPricingInfo {
|
|
331
600
|
pricingModel: 'FREE';
|
|
332
601
|
}
|
|
602
|
+
/**
|
|
603
|
+
* Pricing information for Actors with a flat monthly subscription fee.
|
|
604
|
+
*/
|
|
333
605
|
export interface FlatPricePerMonthActorPricingInfo extends CommonActorPricingInfo {
|
|
334
606
|
pricingModel: 'FLAT_PRICE_PER_MONTH';
|
|
335
607
|
/** For how long this Actor can be used for free in trial period */
|
|
@@ -337,18 +609,34 @@ export interface FlatPricePerMonthActorPricingInfo extends CommonActorPricingInf
|
|
|
337
609
|
/** Monthly flat price in USD */
|
|
338
610
|
pricePerUnitUsd: number;
|
|
339
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* Pricing information for pay-per-result Actors.
|
|
614
|
+
*
|
|
615
|
+
* These Actors charge based on the number of items saved to the dataset.
|
|
616
|
+
*/
|
|
340
617
|
export interface PricePerDatasetItemActorPricingInfo extends CommonActorPricingInfo {
|
|
341
618
|
pricingModel: 'PRICE_PER_DATASET_ITEM';
|
|
342
619
|
/** Name of the unit that is being charged */
|
|
343
620
|
unitName?: string;
|
|
344
621
|
pricePerUnitUsd: number;
|
|
345
622
|
}
|
|
623
|
+
/**
|
|
624
|
+
* Definition of a chargeable event for pay-per-event Actors.
|
|
625
|
+
*/
|
|
346
626
|
export interface ActorChargeEvent {
|
|
347
627
|
eventPriceUsd: number;
|
|
348
628
|
eventTitle: string;
|
|
349
629
|
eventDescription?: string;
|
|
350
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* Mapping of event names to their pricing information.
|
|
633
|
+
*/
|
|
351
634
|
export type ActorChargeEvents = Record<string, ActorChargeEvent>;
|
|
635
|
+
/**
|
|
636
|
+
* Pricing information for pay-per-event Actors.
|
|
637
|
+
*
|
|
638
|
+
* These Actors charge based on specific events (e.g., emails sent, API calls made).
|
|
639
|
+
*/
|
|
352
640
|
export interface PricePerEventActorPricingInfo extends CommonActorPricingInfo {
|
|
353
641
|
pricingModel: 'PAY_PER_EVENT';
|
|
354
642
|
pricingPerEvent: {
|
|
@@ -356,6 +644,9 @@ export interface PricePerEventActorPricingInfo extends CommonActorPricingInfo {
|
|
|
356
644
|
};
|
|
357
645
|
minimalMaxTotalChargeUsd?: number;
|
|
358
646
|
}
|
|
647
|
+
/**
|
|
648
|
+
* Union type representing all possible Actor pricing models.
|
|
649
|
+
*/
|
|
359
650
|
export type ActorRunPricingInfo = PricePerEventActorPricingInfo | PricePerDatasetItemActorPricingInfo | FlatPricePerMonthActorPricingInfo | FreeActorPricingInfo;
|
|
360
651
|
export {};
|
|
361
652
|
//# sourceMappingURL=actor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actor.d.ts","sourceRoot":"","sources":["../../src/resource_clients/actor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAgB,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAA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