apify-client 2.20.1-beta.10 → 2.20.1-beta.11
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 +13 -25
- package/dist/bundle.js.map +1 -1
- package/dist/resource_clients/actor_env_var_collection.d.ts +8 -5
- package/dist/resource_clients/actor_env_var_collection.d.ts.map +1 -1
- package/dist/resource_clients/actor_env_var_collection.js +5 -11
- package/dist/resource_clients/actor_env_var_collection.js.map +1 -1
- package/dist/resource_clients/actor_version_collection.d.ts +8 -5
- package/dist/resource_clients/actor_version_collection.d.ts.map +1 -1
- package/dist/resource_clients/actor_version_collection.js +5 -11
- package/dist/resource_clients/actor_version_collection.js.map +1 -1
- package/package.json +1 -1
|
@@ -39,21 +39,20 @@ export declare class ActorEnvVarCollectionClient extends ResourceCollectionClien
|
|
|
39
39
|
* Awaiting the return value (as you would with a Promise) will result in a single API call. The amount of fetched
|
|
40
40
|
* items in a single API call is limited.
|
|
41
41
|
* ```javascript
|
|
42
|
-
* const paginatedList = await client.list(
|
|
43
|
-
|
|
42
|
+
* const paginatedList = await client.list();
|
|
43
|
+
*```
|
|
44
44
|
*
|
|
45
45
|
* Asynchronous iteration is also supported. This will fetch additional pages if needed until all items are
|
|
46
46
|
* retrieved.
|
|
47
47
|
*
|
|
48
48
|
* ```javascript
|
|
49
|
-
* for await (const singleItem of client.list(
|
|
49
|
+
* for await (const singleItem of client.list()) {...}
|
|
50
50
|
* ```
|
|
51
51
|
*
|
|
52
|
-
* @param options - Pagination options.
|
|
53
52
|
* @returns A paginated iterator of environment variables.
|
|
54
53
|
* @see https://docs.apify.com/api/v2/act-version-env-vars-get
|
|
55
54
|
*/
|
|
56
|
-
list(
|
|
55
|
+
list(_options?: ActorEnvVarCollectionListOptions): Promise<ActorEnvVarListResult> & AsyncIterable<ActorEnvironmentVariable>;
|
|
57
56
|
/**
|
|
58
57
|
* Creates a new environment variable for this Actor version.
|
|
59
58
|
*
|
|
@@ -63,6 +62,10 @@ export declare class ActorEnvVarCollectionClient extends ResourceCollectionClien
|
|
|
63
62
|
*/
|
|
64
63
|
create(actorEnvVar: ActorEnvironmentVariable): Promise<ActorEnvironmentVariable>;
|
|
65
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated No options are used in the current API implementation.
|
|
67
|
+
* https://github.com/apify/apify-client-js/issues/799
|
|
68
|
+
*/
|
|
66
69
|
export interface ActorEnvVarCollectionListOptions extends PaginationOptions {
|
|
67
70
|
desc?: boolean;
|
|
68
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actor_env_var_collection.d.ts","sourceRoot":"","sources":["../../src/resource_clients/actor_env_var_collection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,2BAA4B,SAAQ,wBAAwB;IACrE;;OAEG;gBACS,OAAO,EAAE,2BAA2B;IAOhD
|
|
1
|
+
{"version":3,"file":"actor_env_var_collection.d.ts","sourceRoot":"","sources":["../../src/resource_clients/actor_env_var_collection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,2BAA4B,SAAQ,wBAAwB;IACrE;;OAEG;gBACS,OAAO,EAAE,2BAA2B;IAOhD;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,CACA,QAAQ,GAAE,gCAAqC,GAChD,OAAO,CAAC,qBAAqB,CAAC,GAAG,aAAa,CAAC,wBAAwB,CAAC;IAI3E;;;;;;OAMG;IACG,MAAM,CAAC,WAAW,EAAE,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAIzF;AAED;;;GAGG;AACH,MAAM,WAAW,gCAAiC,SAAQ,iBAAiB;IACvE,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,aAAa,CAAC,wBAAwB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC"}
|
|
@@ -46,27 +46,21 @@ class ActorEnvVarCollectionClient extends resource_collection_client_1.ResourceC
|
|
|
46
46
|
* Awaiting the return value (as you would with a Promise) will result in a single API call. The amount of fetched
|
|
47
47
|
* items in a single API call is limited.
|
|
48
48
|
* ```javascript
|
|
49
|
-
* const paginatedList = await client.list(
|
|
50
|
-
|
|
49
|
+
* const paginatedList = await client.list();
|
|
50
|
+
*```
|
|
51
51
|
*
|
|
52
52
|
* Asynchronous iteration is also supported. This will fetch additional pages if needed until all items are
|
|
53
53
|
* retrieved.
|
|
54
54
|
*
|
|
55
55
|
* ```javascript
|
|
56
|
-
* for await (const singleItem of client.list(
|
|
56
|
+
* for await (const singleItem of client.list()) {...}
|
|
57
57
|
* ```
|
|
58
58
|
*
|
|
59
|
-
* @param options - Pagination options.
|
|
60
59
|
* @returns A paginated iterator of environment variables.
|
|
61
60
|
* @see https://docs.apify.com/api/v2/act-version-env-vars-get
|
|
62
61
|
*/
|
|
63
|
-
list(
|
|
64
|
-
|
|
65
|
-
limit: ow_1.default.optional.number.not.negative,
|
|
66
|
-
offset: ow_1.default.optional.number.not.negative,
|
|
67
|
-
desc: ow_1.default.optional.boolean,
|
|
68
|
-
}));
|
|
69
|
-
return this._listPaginated(options);
|
|
62
|
+
list(_options = {}) {
|
|
63
|
+
return this._listPaginated();
|
|
70
64
|
}
|
|
71
65
|
/**
|
|
72
66
|
* Creates a new environment variable for this Actor version.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actor_env_var_collection.js","sourceRoot":"","sources":["../../src/resource_clients/actor_env_var_collection.ts"],"names":[],"mappings":";;;;AAAA,oDAAoB;AAGpB,mFAA8E;AAI9E;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,2BAA4B,SAAQ,qDAAwB;IACrE;;OAEG;IACH,YAAY,OAAoC;QAC5C,KAAK,CAAC;YACF,YAAY,EAAE,UAAU;YACxB,GAAG,OAAO;SACb,CAAC,CAAC;IACP,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"actor_env_var_collection.js","sourceRoot":"","sources":["../../src/resource_clients/actor_env_var_collection.ts"],"names":[],"mappings":";;;;AAAA,oDAAoB;AAGpB,mFAA8E;AAI9E;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,2BAA4B,SAAQ,qDAAwB;IACrE;;OAEG;IACH,YAAY,OAAoC;QAC5C,KAAK,CAAC;YACF,YAAY,EAAE,UAAU;YACxB,GAAG,OAAO;SACb,CAAC,CAAC;IACP,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,CACA,WAA6C,EAAE;QAE/C,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC;IACjC,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,WAAqC;QAC9C,IAAA,YAAE,EAAC,WAAW,EAAE,YAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;CACJ;AA/CD,kEA+CC"}
|
|
@@ -37,21 +37,20 @@ export declare class ActorVersionCollectionClient extends ResourceCollectionClie
|
|
|
37
37
|
* Awaiting the return value (as you would with a Promise) will result in a single API call. The amount of fetched
|
|
38
38
|
* items in a single API call is limited.
|
|
39
39
|
* ```javascript
|
|
40
|
-
* const paginatedList = await client.list(
|
|
41
|
-
|
|
40
|
+
* const paginatedList = await client.list();
|
|
41
|
+
*```
|
|
42
42
|
*
|
|
43
43
|
* Asynchronous iteration is also supported. This will fetch additional pages if needed until all items are
|
|
44
44
|
* retrieved.
|
|
45
45
|
*
|
|
46
46
|
* ```javascript
|
|
47
|
-
* for await (const singleItem of client.list(
|
|
47
|
+
* for await (const singleItem of client.list()) {...}
|
|
48
48
|
* ```
|
|
49
49
|
*
|
|
50
|
-
* @param options - Pagination options.
|
|
51
50
|
* @returns A paginated iterator of Actor versions.
|
|
52
51
|
* @see https://docs.apify.com/api/v2/act-versions-get
|
|
53
52
|
*/
|
|
54
|
-
list(
|
|
53
|
+
list(_options?: ActorVersionCollectionListOptions): Promise<ActorVersionListResult> & AsyncIterable<FinalActorVersion>;
|
|
55
54
|
/**
|
|
56
55
|
* Creates a new Actor version.
|
|
57
56
|
*
|
|
@@ -61,6 +60,10 @@ export declare class ActorVersionCollectionClient extends ResourceCollectionClie
|
|
|
61
60
|
*/
|
|
62
61
|
create(actorVersion: ActorVersion): Promise<FinalActorVersion>;
|
|
63
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* @deprecated No options are used in the current API implementation.
|
|
65
|
+
* https://github.com/apify/apify-client-js/issues/799
|
|
66
|
+
*/
|
|
64
67
|
export interface ActorVersionCollectionListOptions extends PaginationOptions {
|
|
65
68
|
desc?: boolean;
|
|
66
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actor_version_collection.d.ts","sourceRoot":"","sources":["../../src/resource_clients/actor_version_collection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,4BAA6B,SAAQ,wBAAwB;IACtE;;OAEG;gBACS,OAAO,EAAE,2BAA2B;IAOhD
|
|
1
|
+
{"version":3,"file":"actor_version_collection.d.ts","sourceRoot":"","sources":["../../src/resource_clients/actor_version_collection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,4BAA6B,SAAQ,wBAAwB;IACtE;;OAEG;gBACS,OAAO,EAAE,2BAA2B;IAOhD;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,CACA,QAAQ,GAAE,iCAAsC,GACjD,OAAO,CAAC,sBAAsB,CAAC,GAAG,aAAa,CAAC,iBAAiB,CAAC;IAIrE;;;;;;OAMG;IACG,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAKvE;AAED;;;GAGG;AACH,MAAM,WAAW,iCAAkC,SAAQ,iBAAiB;IACxE,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC"}
|
|
@@ -44,27 +44,21 @@ class ActorVersionCollectionClient extends resource_collection_client_1.Resource
|
|
|
44
44
|
* Awaiting the return value (as you would with a Promise) will result in a single API call. The amount of fetched
|
|
45
45
|
* items in a single API call is limited.
|
|
46
46
|
* ```javascript
|
|
47
|
-
* const paginatedList = await client.list(
|
|
48
|
-
|
|
47
|
+
* const paginatedList = await client.list();
|
|
48
|
+
*```
|
|
49
49
|
*
|
|
50
50
|
* Asynchronous iteration is also supported. This will fetch additional pages if needed until all items are
|
|
51
51
|
* retrieved.
|
|
52
52
|
*
|
|
53
53
|
* ```javascript
|
|
54
|
-
* for await (const singleItem of client.list(
|
|
54
|
+
* for await (const singleItem of client.list()) {...}
|
|
55
55
|
* ```
|
|
56
56
|
*
|
|
57
|
-
* @param options - Pagination options.
|
|
58
57
|
* @returns A paginated iterator of Actor versions.
|
|
59
58
|
* @see https://docs.apify.com/api/v2/act-versions-get
|
|
60
59
|
*/
|
|
61
|
-
list(
|
|
62
|
-
|
|
63
|
-
limit: ow_1.default.optional.number.not.negative,
|
|
64
|
-
offset: ow_1.default.optional.number.not.negative,
|
|
65
|
-
desc: ow_1.default.optional.boolean,
|
|
66
|
-
}));
|
|
67
|
-
return this._listPaginated(options);
|
|
60
|
+
list(_options = {}) {
|
|
61
|
+
return this._listPaginated();
|
|
68
62
|
}
|
|
69
63
|
/**
|
|
70
64
|
* Creates a new Actor version.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actor_version_collection.js","sourceRoot":"","sources":["../../src/resource_clients/actor_version_collection.ts"],"names":[],"mappings":";;;;AAAA,oDAAoB;AAGpB,mFAA8E;AAI9E;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,4BAA6B,SAAQ,qDAAwB;IACtE;;OAEG;IACH,YAAY,OAAoC;QAC5C,KAAK,CAAC;YACF,YAAY,EAAE,UAAU;YACxB,GAAG,OAAO;SACb,CAAC,CAAC;IACP,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"actor_version_collection.js","sourceRoot":"","sources":["../../src/resource_clients/actor_version_collection.ts"],"names":[],"mappings":";;;;AAAA,oDAAoB;AAGpB,mFAA8E;AAI9E;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,4BAA6B,SAAQ,qDAAwB;IACtE;;OAEG;IACH,YAAY,OAAoC;QAC5C,KAAK,CAAC;YACF,YAAY,EAAE,UAAU;YACxB,GAAG,OAAO;SACb,CAAC,CAAC;IACP,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,CACA,WAA8C,EAAE;QAEhD,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC;IACjC,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,YAA0B;QACnC,IAAA,YAAE,EAAC,YAAY,EAAE,YAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAErC,OAAO,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;CACJ;AAhDD,oEAgDC"}
|