apify-client 3.0.0-beta.99 → 3.0.0-rc.1
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 +7 -7
- package/dist/bundle.js.map +1 -1
- package/dist/generated/api.d.ts +8 -5
- package/package.json +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -2692,7 +2692,10 @@ export interface paths {
|
|
|
2692
2692
|
* Charge events in Actor run
|
|
2693
2693
|
* @description Charge for events in the run of your [pay-per-event Actor](https://docs.apify.com/actors/monetize/pay-per-event).
|
|
2694
2694
|
* The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,
|
|
2695
|
-
* the endpoint will return an error. The endpoint must be called from the Actor run itself, with the
|
|
2695
|
+
* the endpoint will return an error. The endpoint must be called from the Actor run itself, with the API token provided to the run at startup in the `APIFY_TOKEN` environment variable.
|
|
2696
|
+
*
|
|
2697
|
+
* To charge a request to a multi-tenant Server Actor, set `requestId` to the request's `X-Actor-Request-ID` header value.
|
|
2698
|
+
* See [Charge for a request](https://docs.apify.com/actors/monetize/server-actors#charge-for-a-request).
|
|
2696
2699
|
*/
|
|
2697
2700
|
post: operations["PostChargeRun"];
|
|
2698
2701
|
delete?: never;
|
|
@@ -5267,7 +5270,7 @@ export interface components {
|
|
|
5267
5270
|
*/
|
|
5268
5271
|
categories?: string[] | null;
|
|
5269
5272
|
defaultRunOptions?: components["schemas"]["DefaultRunOptions"];
|
|
5270
|
-
/** @description The configuration of the Actor's standby mode. For details, see [
|
|
5273
|
+
/** @description The configuration of the Actor's standby mode. For details, see [Develop Server Actors](https://docs.apify.com/platform/actors/development/programming-interface/server-actors). */
|
|
5271
5274
|
actorStandby?: components["schemas"]["ActorStandby"] | null;
|
|
5272
5275
|
/** @description Sample input payload that demonstrates what a typical run input for an Actor looks like. Used when no explicit input for a run is provided. */
|
|
5273
5276
|
exampleRunInput?: components["schemas"]["ExampleRunInput"] | null;
|
|
@@ -5752,7 +5755,7 @@ export interface components {
|
|
|
5752
5755
|
taggedBuilds?: {
|
|
5753
5756
|
[key: string]: components["schemas"]["UpdatedBuildProperty"];
|
|
5754
5757
|
} | null;
|
|
5755
|
-
/** @description The configuration of the Actor's standby mode. For details, see [
|
|
5758
|
+
/** @description The configuration of the Actor's standby mode. For details, see [Develop Server Actors](https://docs.apify.com/platform/actors/development/programming-interface/server-actors). */
|
|
5756
5759
|
actorStandby?: components["schemas"]["ActorStandby"] | null;
|
|
5757
5760
|
/** @description Sample input payload that demonstrates what a typical run input for an Actor looks like. Used when no explicit input for a run is provided. */
|
|
5758
5761
|
exampleRunInput?: components["schemas"]["ExampleRunInput"] | null;
|
|
@@ -7005,7 +7008,7 @@ export interface components {
|
|
|
7005
7008
|
* @example 0.2654
|
|
7006
7009
|
*/
|
|
7007
7010
|
usageTotalUsd?: number | null;
|
|
7008
|
-
/** @description Platform usage costs breakdown in USD. Only present if you own the run and are paying for platform usage (pay
|
|
7011
|
+
/** @description Platform usage costs breakdown in USD. Only present if you own the run and are paying for platform usage (pay per usage, or pay per event with usage costs, such as runs of single-tenant Server Actors). Not available for standard pay-per-event Actors. Requires authentication token to access. */
|
|
7009
7012
|
usageUsd?: components["schemas"]["RunUsageUsd"] | null;
|
|
7010
7013
|
/** @description List of metamorph events that occurred during the run. */
|
|
7011
7014
|
metamorphs?: components["schemas"]["RunMetamorphEvent"][] | null;
|
|
@@ -8336,7 +8339,7 @@ export interface components {
|
|
|
8336
8339
|
/** @example 1 */
|
|
8337
8340
|
count: number;
|
|
8338
8341
|
/**
|
|
8339
|
-
* @description ID of the Server Actor request being charged, from the `X-Actor-Request-ID` header of the incoming request. Required for multi-tenant Server Actor runs, where it identifies the request the charge belongs to.
|
|
8342
|
+
* @description ID of the Server Actor request being charged, from the `X-Actor-Request-ID` header of the incoming request. Required for multi-tenant Server Actor runs, where it identifies the request the charge belongs to. Runs of single-tenant Server Actors ignore it.
|
|
8340
8343
|
* @example 7Hs2kQw9LxP4mN1vB
|
|
8341
8344
|
*/
|
|
8342
8345
|
requestId?: string;
|