apify-client 3.0.0-beta.52 → 3.0.0-beta.54
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_api_error.d.ts +4 -4
- package/dist/apify_api_error.js +1 -1
- package/dist/bundle.js +1 -1
- package/dist/bundle.js.map +1 -1
- package/dist/generated/api.d.ts +173 -177
- package/dist/generated/schemas.d.ts +51 -101
- package/dist/generated/schemas.js +91 -94
- package/dist/http_clients/base.d.ts +2 -4
- package/dist/models.d.ts +157 -180
- package/dist/models.js +6 -4
- package/dist/resource_clients/actor.d.ts +7 -7
- package/dist/resource_clients/actor.js +2 -2
- package/dist/resource_clients/actor_collection.d.ts +10 -10
- package/dist/resource_clients/actor_collection.js +1 -1
- package/dist/resource_clients/actor_env_var.d.ts +3 -3
- package/dist/resource_clients/actor_env_var_collection.d.ts +4 -4
- package/dist/resource_clients/actor_version.d.ts +5 -5
- package/dist/resource_clients/actor_version_collection.d.ts +4 -4
- package/dist/resource_clients/build.d.ts +1 -1
- package/dist/resource_clients/build_collection.d.ts +4 -4
- package/dist/resource_clients/dataset.d.ts +4 -4
- package/dist/resource_clients/dataset.js +2 -2
- package/dist/resource_clients/dataset_collection.d.ts +4 -4
- package/dist/resource_clients/dataset_collection.js +1 -1
- package/dist/resource_clients/key_value_store.d.ts +6 -6
- package/dist/resource_clients/key_value_store.js +2 -2
- package/dist/resource_clients/key_value_store_collection.d.ts +4 -4
- package/dist/resource_clients/key_value_store_collection.js +1 -1
- package/dist/resource_clients/request_queue.d.ts +18 -18
- package/dist/resource_clients/request_queue.js +3 -3
- package/dist/resource_clients/request_queue_collection.d.ts +4 -4
- package/dist/resource_clients/request_queue_collection.js +1 -1
- package/dist/resource_clients/run.d.ts +15 -15
- package/dist/resource_clients/run.js +7 -7
- package/dist/resource_clients/run_collection.d.ts +2 -2
- package/dist/resource_clients/schedule.d.ts +3 -3
- package/dist/resource_clients/schedule.js +1 -1
- package/dist/resource_clients/store_collection.d.ts +3 -3
- package/dist/resource_clients/task.d.ts +3 -3
- package/dist/resource_clients/task_collection.d.ts +3 -3
- package/dist/resource_clients/user.d.ts +4 -4
- package/dist/resource_clients/webhook.d.ts +5 -5
- package/dist/resource_clients/webhook.js +2 -2
- package/dist/resource_clients/webhook_collection.d.ts +3 -3
- package/dist/resource_clients/webhook_collection.js +1 -1
- package/dist/utils.d.ts +3 -3
- package/package.json +4 -4
|
@@ -3,8 +3,10 @@ import { z } from 'zod';
|
|
|
3
3
|
import type { Log } from '@apify/log';
|
|
4
4
|
import type { HttpCompressor } from '../http_compressors/base.js';
|
|
5
5
|
import type { HttpCompressionAlgorithm } from '../http_compressors/resolve.js';
|
|
6
|
+
import type { HttpMethod } from '../models.js';
|
|
6
7
|
import { Statistics } from '../statistics.js';
|
|
7
8
|
import type { Timeout, TimeoutTier } from '../timeouts.js';
|
|
9
|
+
export type { HttpMethod } from '../models.js';
|
|
8
10
|
export declare const DEFAULT_MAX_RETRIES = 8;
|
|
9
11
|
export declare const DEFAULT_MIN_DELAY_BETWEEN_RETRIES_MILLIS = 500;
|
|
10
12
|
/**
|
|
@@ -19,10 +21,6 @@ export declare const httpClientOptionsShape: {
|
|
|
19
21
|
timeoutLongSecs: z.ZodNumber;
|
|
20
22
|
timeoutMaxSecs: z.ZodNumber;
|
|
21
23
|
};
|
|
22
|
-
/**
|
|
23
|
-
* HTTP methods the Apify API accepts.
|
|
24
|
-
*/
|
|
25
|
-
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
|
|
26
24
|
/**
|
|
27
25
|
* Response headers keyed by lowercase header name. A header the server sent more than once may arrive as an array.
|
|
28
26
|
*/
|