apify-client 3.0.0-beta.83 → 3.0.0-beta.85
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/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/dist/generated/api.d.ts +7 -7
- package/dist/resource_clients/dataset.d.ts +2 -1
- package/dist/resource_clients/dataset.js +3 -2
- package/dist/resource_clients/key_value_store.d.ts +2 -1
- package/dist/resource_clients/key_value_store.js +3 -2
- package/package.json +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -5112,7 +5112,7 @@ export interface components {
|
|
|
5112
5112
|
sourceFiles?: components["schemas"]["VersionSourceFiles"];
|
|
5113
5113
|
/** @description URL of the Git repository to clone the source code from. Applies when the `sourceType` is `GIT_REPO`. */
|
|
5114
5114
|
gitRepoUrl?: string;
|
|
5115
|
-
/** @description URL of the
|
|
5115
|
+
/** @description URL of the zip archive to download the source code from. Applies when the `sourceType` is `TARBALL`. */
|
|
5116
5116
|
tarballUrl?: string;
|
|
5117
5117
|
/** @description URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`. */
|
|
5118
5118
|
gitHubGistUrl?: string;
|
|
@@ -5302,7 +5302,7 @@ export interface components {
|
|
|
5302
5302
|
sourceFiles?: components["schemas"]["VersionSourceFiles"];
|
|
5303
5303
|
/** @description URL of the Git repository to clone the source code from. Applies when the `sourceType` is `GIT_REPO`. */
|
|
5304
5304
|
gitRepoUrl?: string | null;
|
|
5305
|
-
/** @description URL to download the source code from as a
|
|
5305
|
+
/** @description URL to download the source code from as a zip archive. Applies when the `sourceType` is `TARBALL`. */
|
|
5306
5306
|
tarballUrl?: string | null;
|
|
5307
5307
|
/** @description URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`. */
|
|
5308
5308
|
gitHubGistUrl?: string | null;
|
|
@@ -5768,7 +5768,7 @@ export interface components {
|
|
|
5768
5768
|
sourceFiles?: components["schemas"]["VersionSourceFiles"];
|
|
5769
5769
|
/** @description URL of the Git repository to clone the source code from. Applies when the `sourceType` is `GIT_REPO`. */
|
|
5770
5770
|
gitRepoUrl?: string;
|
|
5771
|
-
/** @description URL of the
|
|
5771
|
+
/** @description URL of the zip archive to download the source code from. Applies when the `sourceType` is `TARBALL`. */
|
|
5772
5772
|
tarballUrl?: string;
|
|
5773
5773
|
/** @description URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`. */
|
|
5774
5774
|
gitHubGistUrl?: string;
|
|
@@ -6191,17 +6191,17 @@ export interface components {
|
|
|
6191
6191
|
environmentVariables?: {
|
|
6192
6192
|
[key: string]: string;
|
|
6193
6193
|
};
|
|
6194
|
-
/** @description The path to the Dockerfile used for building the Actor on the platform. */
|
|
6194
|
+
/** @description The path to the Dockerfile used for building the Actor on the platform, relative to the `.actor/` directory. */
|
|
6195
6195
|
dockerfile?: string;
|
|
6196
|
-
/** @description The path to the directory used as the Docker context when building the Actor. */
|
|
6196
|
+
/** @description The path to the directory used as the Docker context when building the Actor, relative to the `.actor/` directory. */
|
|
6197
6197
|
dockerContextDir?: string;
|
|
6198
|
-
/** @description The path to the README file for the Actor. */
|
|
6198
|
+
/** @description The path to the README file for the Actor, relative to the `.actor/` directory. */
|
|
6199
6199
|
readme?: string | null;
|
|
6200
6200
|
/** @description The input schema object, the full specification can be found in [Apify docs](https://docs.apify.com/platform/actors/development/actor-definition/input-schema) */
|
|
6201
6201
|
input?: Record<string, unknown> | null;
|
|
6202
6202
|
/** @description The output schema object, the full specification can be found in [Apify docs](https://docs.apify.com/platform/actors/development/actor-definition/output-schema) */
|
|
6203
6203
|
output?: Record<string, unknown> | null;
|
|
6204
|
-
/** @description The path to the CHANGELOG file displayed in the Actor's information tab. */
|
|
6204
|
+
/** @description The path to the CHANGELOG file displayed in the Actor's information tab, relative to the `.actor/` directory. */
|
|
6205
6205
|
changelog?: string | null;
|
|
6206
6206
|
storages?: {
|
|
6207
6207
|
/** @description Defines the schema of items in your dataset, the full specification can be found in [Apify docs](https://docs.apify.com/platform/actors/development/actor-definition/dataset-schema) */
|
|
@@ -243,7 +243,8 @@ export declare class DatasetClient<Data extends Record<string | number, any> = R
|
|
|
243
243
|
* This is useful for sharing dataset results with external services or users.
|
|
244
244
|
*
|
|
245
245
|
* @param options - URL generation options (extends all options from {@link listItems})
|
|
246
|
-
* @param options.expiresInSecs - Number of seconds until the signed URL expires. If omitted, the URL
|
|
246
|
+
* @param options.expiresInSecs - Number of seconds until the signed URL expires. Must be positive. If omitted, the URL
|
|
247
|
+
* never expires.
|
|
247
248
|
* @param options.fields - Array of field names to include in the response.
|
|
248
249
|
* @param options.format - Format of the items served by the URL. Defaults to `json`.
|
|
249
250
|
* @param options.limit - Maximum number of items to return.
|
|
@@ -76,7 +76,7 @@ const createItemsPublicUrlOptionsSchema = z.strictObject({
|
|
|
76
76
|
skipHidden: z.boolean().optional(),
|
|
77
77
|
unwind: z.array(z.string()).optional(),
|
|
78
78
|
view: z.string().optional(),
|
|
79
|
-
expiresInSecs: z.number().optional(),
|
|
79
|
+
expiresInSecs: z.number().positive().optional(),
|
|
80
80
|
...timeoutOptionsShape,
|
|
81
81
|
});
|
|
82
82
|
/**
|
|
@@ -312,7 +312,8 @@ export class DatasetClient extends ResourceClient {
|
|
|
312
312
|
* This is useful for sharing dataset results with external services or users.
|
|
313
313
|
*
|
|
314
314
|
* @param options - URL generation options (extends all options from {@link listItems})
|
|
315
|
-
* @param options.expiresInSecs - Number of seconds until the signed URL expires. If omitted, the URL
|
|
315
|
+
* @param options.expiresInSecs - Number of seconds until the signed URL expires. Must be positive. If omitted, the URL
|
|
316
|
+
* never expires.
|
|
316
317
|
* @param options.fields - Array of field names to include in the response.
|
|
317
318
|
* @param options.format - Format of the items served by the URL. Defaults to `json`.
|
|
318
319
|
* @param options.limit - Maximum number of items to return.
|
|
@@ -136,7 +136,8 @@ export declare class KeyValueStoreClient extends ResourceClient {
|
|
|
136
136
|
* the URL will include a cryptographic signature which allows access without authentication.
|
|
137
137
|
*
|
|
138
138
|
* @param options - URL generation options (extends all options from {@link listKeys})
|
|
139
|
-
* @param options.expiresInSecs - Number of seconds until the signed URL expires. If omitted, the URL
|
|
139
|
+
* @param options.expiresInSecs - Number of seconds until the signed URL expires. Must be positive. If omitted, the URL
|
|
140
|
+
* never expires.
|
|
140
141
|
* @param options.limit - Maximum number of keys to return.
|
|
141
142
|
* @param options.prefix - Filter keys by prefix.
|
|
142
143
|
* @param options.timeoutSecs - Timeout for the API request that fetches the store. Default is `'long'`.
|
|
@@ -23,7 +23,7 @@ const createKeysPublicUrlOptionsSchema = z.strictObject({
|
|
|
23
23
|
exclusiveStartKey: z.string().optional(),
|
|
24
24
|
collection: z.string().optional(),
|
|
25
25
|
prefix: z.string().optional(),
|
|
26
|
-
expiresInSecs: z.number().optional(),
|
|
26
|
+
expiresInSecs: z.number().positive().optional(),
|
|
27
27
|
...timeoutOptionsShape,
|
|
28
28
|
});
|
|
29
29
|
const keySchema = z.string();
|
|
@@ -246,7 +246,8 @@ export class KeyValueStoreClient extends ResourceClient {
|
|
|
246
246
|
* the URL will include a cryptographic signature which allows access without authentication.
|
|
247
247
|
*
|
|
248
248
|
* @param options - URL generation options (extends all options from {@link listKeys})
|
|
249
|
-
* @param options.expiresInSecs - Number of seconds until the signed URL expires. If omitted, the URL
|
|
249
|
+
* @param options.expiresInSecs - Number of seconds until the signed URL expires. Must be positive. If omitted, the URL
|
|
250
|
+
* never expires.
|
|
250
251
|
* @param options.limit - Maximum number of keys to return.
|
|
251
252
|
* @param options.prefix - Filter keys by prefix.
|
|
252
253
|
* @param options.timeoutSecs - Timeout for the API request that fetches the store. Default is `'long'`.
|