apify-client 2.22.3-beta.1 → 2.22.3-beta.3
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 +1 -1
- package/dist/apify_client.js +1 -1
- package/dist/bundle.js +12 -12
- package/dist/bundle.js.map +1 -1
- package/dist/resource_clients/actor_env_var.d.ts +1 -1
- package/dist/resource_clients/actor_env_var.js +1 -1
- package/dist/resource_clients/actor_env_var_collection.d.ts +1 -1
- package/dist/resource_clients/actor_env_var_collection.js +1 -1
- package/dist/resource_clients/actor_version.d.ts +1 -1
- package/dist/resource_clients/actor_version.js +1 -1
- package/dist/resource_clients/actor_version_collection.d.ts +1 -1
- package/dist/resource_clients/actor_version_collection.js +1 -1
- package/dist/resource_clients/store_collection.d.ts +1 -1
- package/dist/resource_clients/store_collection.js +1 -1
- package/dist/resource_clients/user.d.ts +3 -3
- package/dist/resource_clients/user.js +3 -3
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ import type { ActorEnvironmentVariable } from './actor_version';
|
|
|
21
21
|
* await envVarClient.update({ value: 'new-value' });
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
|
-
* @see https://docs.apify.com/platform/actors/development/
|
|
24
|
+
* @see https://docs.apify.com/platform/actors/development/programming-interface/environment-variables
|
|
25
25
|
*/
|
|
26
26
|
export declare class ActorEnvVarClient extends ResourceClient {
|
|
27
27
|
/**
|
|
@@ -24,7 +24,7 @@ const resource_client_1 = require("../base/resource_client");
|
|
|
24
24
|
* await envVarClient.update({ value: 'new-value' });
|
|
25
25
|
* ```
|
|
26
26
|
*
|
|
27
|
-
* @see https://docs.apify.com/platform/actors/development/
|
|
27
|
+
* @see https://docs.apify.com/platform/actors/development/programming-interface/environment-variables
|
|
28
28
|
*/
|
|
29
29
|
class ActorEnvVarClient extends resource_client_1.ResourceClient {
|
|
30
30
|
/**
|
|
@@ -26,7 +26,7 @@ import type { ActorEnvironmentVariable } from './actor_version';
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
29
|
-
* @see https://docs.apify.com/platform/actors/development/
|
|
29
|
+
* @see https://docs.apify.com/platform/actors/development/programming-interface/environment-variables
|
|
30
30
|
*/
|
|
31
31
|
export declare class ActorEnvVarCollectionClient extends ResourceCollectionClient {
|
|
32
32
|
/**
|
|
@@ -28,7 +28,7 @@ const resource_collection_client_1 = require("../base/resource_collection_client
|
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
31
|
-
* @see https://docs.apify.com/platform/actors/development/
|
|
31
|
+
* @see https://docs.apify.com/platform/actors/development/programming-interface/environment-variables
|
|
32
32
|
*/
|
|
33
33
|
class ActorEnvVarCollectionClient extends resource_collection_client_1.ResourceCollectionClient {
|
|
34
34
|
/**
|
|
@@ -21,7 +21,7 @@ import { ActorEnvVarCollectionClient } from './actor_env_var_collection';
|
|
|
21
21
|
* await versionClient.update({ buildTag: 'latest' });
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
|
-
* @see https://docs.apify.com/
|
|
24
|
+
* @see https://docs.apify.com/api/v2/act-versions-get
|
|
25
25
|
*/
|
|
26
26
|
export declare class ActorVersionClient extends ResourceClient {
|
|
27
27
|
/**
|
|
@@ -25,7 +25,7 @@ const actor_env_var_collection_1 = require("./actor_env_var_collection");
|
|
|
25
25
|
* await versionClient.update({ buildTag: 'latest' });
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
-
* @see https://docs.apify.com/
|
|
28
|
+
* @see https://docs.apify.com/api/v2/act-versions-get
|
|
29
29
|
*/
|
|
30
30
|
class ActorVersionClient extends resource_client_1.ResourceClient {
|
|
31
31
|
/**
|
|
@@ -24,7 +24,7 @@ import type { ActorVersion, FinalActorVersion } from './actor_version';
|
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
*
|
|
27
|
-
* @see https://docs.apify.com/
|
|
27
|
+
* @see https://docs.apify.com/api/v2/act-versions-get
|
|
28
28
|
*/
|
|
29
29
|
export declare class ActorVersionCollectionClient extends ResourceCollectionClient {
|
|
30
30
|
/**
|
|
@@ -26,7 +26,7 @@ const resource_collection_client_1 = require("../base/resource_collection_client
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
29
|
-
* @see https://docs.apify.com/
|
|
29
|
+
* @see https://docs.apify.com/api/v2/act-versions-get
|
|
30
30
|
*/
|
|
31
31
|
class ActorVersionCollectionClient extends resource_collection_client_1.ResourceCollectionClient {
|
|
32
32
|
/**
|
|
@@ -45,7 +45,7 @@ export declare class StoreCollectionClient extends ResourceCollectionClient {
|
|
|
45
45
|
*
|
|
46
46
|
* @param options - Search and pagination options.
|
|
47
47
|
* @returns A paginated iterator of store Actors.
|
|
48
|
-
* @see https://docs.apify.com/api/v2/store-
|
|
48
|
+
* @see https://docs.apify.com/api/v2/store-get
|
|
49
49
|
*/
|
|
50
50
|
list(options?: StoreCollectionListOptions): PaginatedIterator<ActorStoreList>;
|
|
51
51
|
}
|
|
@@ -52,7 +52,7 @@ class StoreCollectionClient extends resource_collection_client_1.ResourceCollect
|
|
|
52
52
|
*
|
|
53
53
|
* @param options - Search and pagination options.
|
|
54
54
|
* @returns A paginated iterator of store Actors.
|
|
55
|
-
* @see https://docs.apify.com/api/v2/store-
|
|
55
|
+
* @see https://docs.apify.com/api/v2/store-get
|
|
56
56
|
*/
|
|
57
57
|
list(options = {}) {
|
|
58
58
|
(0, ow_1.default)(options, ow_1.default.object.exactShape({
|
|
@@ -43,21 +43,21 @@ export declare class UserClient extends ResourceClient {
|
|
|
43
43
|
* Retrieves the user's monthly usage data.
|
|
44
44
|
*
|
|
45
45
|
* @returns The monthly usage object, or `undefined` if it does not exist.
|
|
46
|
-
* @see https://docs.apify.com/api/v2/
|
|
46
|
+
* @see https://docs.apify.com/api/v2/users-me-usage-monthly-get
|
|
47
47
|
*/
|
|
48
48
|
monthlyUsage(): Promise<MonthlyUsage | undefined>;
|
|
49
49
|
/**
|
|
50
50
|
* Retrieves the user's account and usage limits.
|
|
51
51
|
*
|
|
52
52
|
* @returns The account and usage limits object, or `undefined` if it does not exist.
|
|
53
|
-
* @see https://docs.apify.com/api/v2/
|
|
53
|
+
* @see https://docs.apify.com/api/v2/users-me-limits-get
|
|
54
54
|
*/
|
|
55
55
|
limits(): Promise<AccountAndUsageLimits | undefined>;
|
|
56
56
|
/**
|
|
57
57
|
* Updates the user's account and usage limits.
|
|
58
58
|
*
|
|
59
59
|
* @param options - The new limits to set.
|
|
60
|
-
* @see https://docs.apify.com/api/v2/
|
|
60
|
+
* @see https://docs.apify.com/api/v2/users-me-limits-put
|
|
61
61
|
*/
|
|
62
62
|
updateLimits(options: LimitsUpdateOptions): Promise<void>;
|
|
63
63
|
}
|
|
@@ -53,7 +53,7 @@ class UserClient extends resource_client_1.ResourceClient {
|
|
|
53
53
|
* Retrieves the user's monthly usage data.
|
|
54
54
|
*
|
|
55
55
|
* @returns The monthly usage object, or `undefined` if it does not exist.
|
|
56
|
-
* @see https://docs.apify.com/api/v2/
|
|
56
|
+
* @see https://docs.apify.com/api/v2/users-me-usage-monthly-get
|
|
57
57
|
*/
|
|
58
58
|
async monthlyUsage() {
|
|
59
59
|
const requestOpts = {
|
|
@@ -76,7 +76,7 @@ class UserClient extends resource_client_1.ResourceClient {
|
|
|
76
76
|
* Retrieves the user's account and usage limits.
|
|
77
77
|
*
|
|
78
78
|
* @returns The account and usage limits object, or `undefined` if it does not exist.
|
|
79
|
-
* @see https://docs.apify.com/api/v2/
|
|
79
|
+
* @see https://docs.apify.com/api/v2/users-me-limits-get
|
|
80
80
|
*/
|
|
81
81
|
async limits() {
|
|
82
82
|
const requestOpts = {
|
|
@@ -97,7 +97,7 @@ class UserClient extends resource_client_1.ResourceClient {
|
|
|
97
97
|
* Updates the user's account and usage limits.
|
|
98
98
|
*
|
|
99
99
|
* @param options - The new limits to set.
|
|
100
|
-
* @see https://docs.apify.com/api/v2/
|
|
100
|
+
* @see https://docs.apify.com/api/v2/users-me-limits-put
|
|
101
101
|
*/
|
|
102
102
|
async updateLimits(options) {
|
|
103
103
|
const requestOpts = {
|