apify-client 3.0.0-rc.1 → 3.0.0-rc.2
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/README.md +4 -2
- package/dist/apify_api_error.d.ts +2 -2
- package/dist/apify_client.d.ts +8 -8
- package/dist/apify_client.js +10 -10
- package/dist/axios.d.ts +2 -0
- package/dist/axios.js +1 -0
- package/dist/body_parser.d.ts +1 -1
- package/dist/bundle.js +31 -30
- package/dist/bundle.js.map +1 -1
- package/dist/generated/api.d.ts +124 -32
- package/dist/generated/schemas.d.ts +178 -58
- package/dist/generated/schemas.js +23 -6
- package/dist/http_clients/axios.d.ts +34 -15
- package/dist/http_clients/axios.js +79 -33
- package/dist/http_clients/base.d.ts +34 -23
- package/dist/http_clients/base.js +50 -20
- package/dist/http_clients/fetch.d.ts +53 -0
- package/dist/http_clients/fetch.js +219 -0
- package/dist/http_clients/index.d.ts +2 -2
- package/dist/http_clients/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/resource_clients/actor.d.ts +3 -2
- package/dist/resource_clients/actor.js +3 -3
- package/dist/resource_clients/actor_server.d.ts +11 -11
- package/dist/resource_clients/actor_server.js +0 -4
- package/dist/resource_clients/actor_version.d.ts +2 -1
- package/dist/resource_clients/actor_version.js +3 -2
- package/dist/resource_clients/actor_version_collection.d.ts +2 -1
- package/dist/resource_clients/actor_version_collection.js +3 -2
- package/dist/resource_clients/dataset.d.ts +14 -15
- package/dist/resource_clients/dataset.js +0 -4
- package/dist/resource_clients/key_value_store.d.ts +20 -19
- package/dist/resource_clients/key_value_store.js +10 -11
- package/dist/resource_clients/log.d.ts +10 -11
- package/dist/resource_clients/log.js +4 -3
- package/dist/resource_clients/run.d.ts +6 -2
- package/dist/resource_clients/run.js +6 -2
- package/dist/resource_clients/store_collection.d.ts +4 -0
- package/dist/resource_clients/task.js +3 -3
- package/dist/runtime/node.js +35 -11
- package/dist/runtime/types.d.ts +26 -4
- package/dist/runtime/web.js +39 -0
- package/dist/schemas.d.ts +4 -4
- package/dist/utils.d.ts +29 -1
- package/dist/utils.js +13 -0
- package/package.json +33 -21
package/dist/generated/api.d.ts
CHANGED
|
@@ -4484,8 +4484,13 @@ export interface paths {
|
|
|
4484
4484
|
* and readme.
|
|
4485
4485
|
* If you need detailed info about a specific Actor, use the [Get Actor](https://docs.apify.com/api/v2/actor-get) endpoint.
|
|
4486
4486
|
*
|
|
4487
|
-
*
|
|
4488
|
-
* It will not return more than 1,000 records.
|
|
4487
|
+
* Without `search`, the endpoint supports pagination using the `limit` and
|
|
4488
|
+
* `offset` parameters. It will not return more than 1,000 records per page.
|
|
4489
|
+
*
|
|
4490
|
+
* With `search`, results are ranked by relevance and returned as a single
|
|
4491
|
+
* page of at most 100 records. `offset` is ignored and there is no second
|
|
4492
|
+
* page. `total` and `count` equal the number of returned items. To narrow
|
|
4493
|
+
* the results, use `category`, `username` or `pricingModel`.
|
|
4489
4494
|
*/
|
|
4490
4495
|
get: operations["store_get"];
|
|
4491
4496
|
put?: never;
|
|
@@ -8974,7 +8979,7 @@ export interface components {
|
|
|
8974
8979
|
};
|
|
8975
8980
|
/**
|
|
8976
8981
|
* ScheduleUiState
|
|
8977
|
-
* @description State of the schedule editor in Apify Console. It's removed when an API update changes `cronExpression` or `timezone`.
|
|
8982
|
+
* @description State of the schedule editor in Apify Console. It's removed when an API update changes `cronExpression` or `timezone`, after which it is `null`.
|
|
8978
8983
|
*/
|
|
8979
8984
|
ScheduleUiState: {
|
|
8980
8985
|
/**
|
|
@@ -8991,7 +8996,7 @@ export interface components {
|
|
|
8991
8996
|
} & {
|
|
8992
8997
|
[key: string]: unknown;
|
|
8993
8998
|
};
|
|
8994
|
-
};
|
|
8999
|
+
} | null;
|
|
8995
9000
|
/** ScheduleActionRunActor */
|
|
8996
9001
|
ScheduleActionRunActor: {
|
|
8997
9002
|
/** @example c6KfSgoQzFhMk3etc */
|
|
@@ -9145,8 +9150,8 @@ export interface components {
|
|
|
9145
9150
|
description?: string | null;
|
|
9146
9151
|
/**
|
|
9147
9152
|
* @example [
|
|
9148
|
-
* "
|
|
9149
|
-
* "
|
|
9153
|
+
* "AI_AND_ML",
|
|
9154
|
+
* "GENERATE_LEADS"
|
|
9150
9155
|
* ]
|
|
9151
9156
|
*/
|
|
9152
9157
|
categories?: string[];
|
|
@@ -9163,16 +9168,55 @@ export interface components {
|
|
|
9163
9168
|
* @example https://...
|
|
9164
9169
|
*/
|
|
9165
9170
|
url?: string | null;
|
|
9166
|
-
|
|
9171
|
+
/**
|
|
9172
|
+
* StoreActorStats
|
|
9173
|
+
* @description Actor usage statistics and Apify Store metrics returned by the Store endpoint.
|
|
9174
|
+
*/
|
|
9175
|
+
stats: {
|
|
9176
|
+
/**
|
|
9177
|
+
* @description The total number of Actor users, including its owner.
|
|
9178
|
+
* @example 6
|
|
9179
|
+
*/
|
|
9180
|
+
totalUsers: number;
|
|
9181
|
+
/**
|
|
9182
|
+
* @description The total number of runs of the Actor.
|
|
9183
|
+
* @example 16
|
|
9184
|
+
*/
|
|
9185
|
+
totalRuns?: number;
|
|
9186
|
+
/**
|
|
9187
|
+
* @description The number of active users of the Actor in the last 7 days.
|
|
9188
|
+
* @example 2
|
|
9189
|
+
*/
|
|
9190
|
+
totalUsers7Days?: number;
|
|
9191
|
+
/**
|
|
9192
|
+
* @description The number of active users of the Actor in the last 30 days.
|
|
9193
|
+
* @example 6
|
|
9194
|
+
*/
|
|
9195
|
+
totalUsers30Days?: number;
|
|
9196
|
+
/**
|
|
9197
|
+
* @description The number of active users of the Actor in the last 90 days.
|
|
9198
|
+
* @example 6
|
|
9199
|
+
*/
|
|
9200
|
+
totalUsers90Days?: number;
|
|
9201
|
+
/**
|
|
9202
|
+
* @description The average rating of the Actor in Apify Store.
|
|
9203
|
+
* @example 4.7
|
|
9204
|
+
*/
|
|
9205
|
+
actorReviewRating: number;
|
|
9206
|
+
/**
|
|
9207
|
+
* @description The number of reviews the Actor has received in Apify Store.
|
|
9208
|
+
* @example 69
|
|
9209
|
+
*/
|
|
9210
|
+
actorReviewCount: number;
|
|
9211
|
+
};
|
|
9167
9212
|
currentPricingInfo?: components["schemas"]["CurrentPricingInfo"];
|
|
9168
9213
|
/** @description Whether the Actor is whitelisted for agentic payment processing. */
|
|
9169
9214
|
isWhiteListedForAgenticPayments?: boolean | null;
|
|
9170
|
-
/**
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
bookmarkCount?: number;
|
|
9215
|
+
/**
|
|
9216
|
+
* @description Whether the Actor's developer has a verified identity.
|
|
9217
|
+
* @example false
|
|
9218
|
+
*/
|
|
9219
|
+
isVerified?: boolean;
|
|
9176
9220
|
/** @example null */
|
|
9177
9221
|
badge?: string | null;
|
|
9178
9222
|
/** @description A brief, LLM-generated readme summary */
|
|
@@ -9224,23 +9268,27 @@ export interface components {
|
|
|
9224
9268
|
* "name": "my-public-actor",
|
|
9225
9269
|
* "username": "jane35",
|
|
9226
9270
|
* "userFullName": "Jane Doe",
|
|
9271
|
+
* "categories": [
|
|
9272
|
+
* "AI_AND_ML",
|
|
9273
|
+
* "GENERATE_LEADS"
|
|
9274
|
+
* ],
|
|
9227
9275
|
* "description": "My public Actor!",
|
|
9228
9276
|
* "pictureUrl": "https://...",
|
|
9229
9277
|
* "userPictureUrl": "https://...",
|
|
9230
9278
|
* "url": "https://...",
|
|
9231
9279
|
* "stats": {
|
|
9232
|
-
* "totalBuilds": 9,
|
|
9233
9280
|
* "totalRuns": 16,
|
|
9234
9281
|
* "totalUsers": 6,
|
|
9235
9282
|
* "totalUsers7Days": 2,
|
|
9236
9283
|
* "totalUsers30Days": 6,
|
|
9237
9284
|
* "totalUsers90Days": 6,
|
|
9238
|
-
* "
|
|
9239
|
-
* "
|
|
9285
|
+
* "actorReviewRating": 4.7,
|
|
9286
|
+
* "actorReviewCount": 69
|
|
9240
9287
|
* },
|
|
9241
9288
|
* "currentPricingInfo": {
|
|
9242
9289
|
* "pricingModel": "FREE"
|
|
9243
9290
|
* },
|
|
9291
|
+
* "isVerified": true,
|
|
9244
9292
|
* "isWhiteListedForAgenticPayments": true
|
|
9245
9293
|
* },
|
|
9246
9294
|
* {
|
|
@@ -9250,26 +9298,25 @@ export interface components {
|
|
|
9250
9298
|
* "username": "jane35",
|
|
9251
9299
|
* "userFullName": "Jane H. Doe",
|
|
9252
9300
|
* "categories": [
|
|
9253
|
-
* "
|
|
9254
|
-
* "LEAD_GENERATION"
|
|
9301
|
+
* "ECOMMERCE"
|
|
9255
9302
|
* ],
|
|
9256
9303
|
* "description": "My public Actor!",
|
|
9257
9304
|
* "pictureUrl": "https://...",
|
|
9258
9305
|
* "userPictureUrl": "https://...",
|
|
9259
9306
|
* "url": "https://...",
|
|
9260
9307
|
* "stats": {
|
|
9261
|
-
* "totalBuilds": 9,
|
|
9262
9308
|
* "totalRuns": 16,
|
|
9263
9309
|
* "totalUsers": 6,
|
|
9264
9310
|
* "totalUsers7Days": 2,
|
|
9265
9311
|
* "totalUsers30Days": 6,
|
|
9266
9312
|
* "totalUsers90Days": 6,
|
|
9267
|
-
* "
|
|
9268
|
-
* "
|
|
9313
|
+
* "actorReviewRating": 4.7,
|
|
9314
|
+
* "actorReviewCount": 69
|
|
9269
9315
|
* },
|
|
9270
9316
|
* "currentPricingInfo": {
|
|
9271
9317
|
* "pricingModel": "FREE"
|
|
9272
9318
|
* },
|
|
9319
|
+
* "isVerified": false,
|
|
9273
9320
|
* "isWhiteListedForAgenticPayments": false
|
|
9274
9321
|
* }
|
|
9275
9322
|
* ]
|
|
@@ -9520,6 +9567,23 @@ export interface components {
|
|
|
9520
9567
|
UserPrivateInfoResponse: {
|
|
9521
9568
|
data: components["schemas"]["UserPrivateInfo"];
|
|
9522
9569
|
};
|
|
9570
|
+
/**
|
|
9571
|
+
* UserProxyInfo
|
|
9572
|
+
* @description Reduced user data with only the fields Apify Proxy reads.
|
|
9573
|
+
*/
|
|
9574
|
+
UserProxyInfo: {
|
|
9575
|
+
/** UserProxyPlan */
|
|
9576
|
+
plan: {
|
|
9577
|
+
availableProxyGroups: components["schemas"]["AvailableProxyGroups"];
|
|
9578
|
+
};
|
|
9579
|
+
effectivePlatformFeatures: components["schemas"]["EffectivePlatformFeatures"];
|
|
9580
|
+
/** @example true */
|
|
9581
|
+
isPaying: boolean;
|
|
9582
|
+
};
|
|
9583
|
+
/** UserProxyInfoResponse */
|
|
9584
|
+
UserProxyInfoResponse: {
|
|
9585
|
+
data: components["schemas"]["UserProxyInfo"];
|
|
9586
|
+
};
|
|
9523
9587
|
/** UsageCycle */
|
|
9524
9588
|
UsageCycle: {
|
|
9525
9589
|
/**
|
|
@@ -10407,6 +10471,17 @@ export interface components {
|
|
|
10407
10471
|
webhookId: string;
|
|
10408
10472
|
/** @description Schedule ID. */
|
|
10409
10473
|
scheduleId: string;
|
|
10474
|
+
/**
|
|
10475
|
+
* @description Maximum number of items to return. The default value as well as the
|
|
10476
|
+
* maximum is `1000`. When `search` is used, the default and maximum are
|
|
10477
|
+
* `100`, and larger values are reduced to `100`.
|
|
10478
|
+
*/
|
|
10479
|
+
storeLimit: number;
|
|
10480
|
+
/**
|
|
10481
|
+
* @description Number of items that should be skipped at the start. The default value
|
|
10482
|
+
* is `0`. Ignored when `search` is used.
|
|
10483
|
+
*/
|
|
10484
|
+
storeOffset: number;
|
|
10410
10485
|
/** @description ID of the Actor build or run. */
|
|
10411
10486
|
buildOrRunId: string;
|
|
10412
10487
|
};
|
|
@@ -22077,21 +22152,38 @@ export interface operations {
|
|
|
22077
22152
|
store_get: {
|
|
22078
22153
|
parameters: {
|
|
22079
22154
|
query?: {
|
|
22080
|
-
/** @description Maximum number of items to return. The default value as well as the maximum is `1000`. */
|
|
22081
|
-
limit?: components["parameters"]["limit"];
|
|
22082
|
-
/** @description Number of items that should be skipped at the start. The default value is `0`. */
|
|
22083
|
-
offset?: components["parameters"]["offset"];
|
|
22084
22155
|
/**
|
|
22085
|
-
* @description
|
|
22086
|
-
*
|
|
22156
|
+
* @description Maximum number of items to return. The default value as well as the
|
|
22157
|
+
* maximum is `1000`. When `search` is used, the default and maximum are
|
|
22158
|
+
* `100`, and larger values are reduced to `100`.
|
|
22159
|
+
*/
|
|
22160
|
+
limit?: components["parameters"]["storeLimit"];
|
|
22161
|
+
/**
|
|
22162
|
+
* @description Number of items that should be skipped at the start. The default value
|
|
22163
|
+
* is `0`. Ignored when `search` is used.
|
|
22164
|
+
*/
|
|
22165
|
+
offset?: components["parameters"]["storeOffset"];
|
|
22166
|
+
/**
|
|
22167
|
+
* @description String to search by. Results are ranked by relevance and returned as a
|
|
22168
|
+
* single page of at most 100 items.
|
|
22087
22169
|
*/
|
|
22088
22170
|
search?: string;
|
|
22089
22171
|
/**
|
|
22090
|
-
* @
|
|
22091
|
-
*
|
|
22172
|
+
* @deprecated
|
|
22173
|
+
* @description Deprecated and ignored. The value is accepted for backward
|
|
22174
|
+
* compatibility but has no effect. Results are ordered by relevance when
|
|
22175
|
+
* `search` is used, and by Store position otherwise. Sort the results
|
|
22176
|
+
* on the client if you need a different order.
|
|
22092
22177
|
*/
|
|
22093
22178
|
sortBy?: string;
|
|
22094
|
-
/**
|
|
22179
|
+
/**
|
|
22180
|
+
* @description Filters the results by category. Accepts one or more category IDs,
|
|
22181
|
+
* separated by commas and case-insensitive. An Actor must match all of
|
|
22182
|
+
* the listed categories. See the
|
|
22183
|
+
* [list of category IDs](https://github.com/apify/apify-shared-js/blob/master/packages/actor-categories/src/actor_categories.ts).
|
|
22184
|
+
* Legacy keys such as `social_media` are still accepted. An unknown
|
|
22185
|
+
* category returns a `400` error.
|
|
22186
|
+
*/
|
|
22095
22187
|
category?: string;
|
|
22096
22188
|
/** @description Filters the results by the specified username. */
|
|
22097
22189
|
username?: string;
|
|
@@ -22224,7 +22316,7 @@ export interface operations {
|
|
|
22224
22316
|
[name: string]: unknown;
|
|
22225
22317
|
};
|
|
22226
22318
|
content: {
|
|
22227
|
-
"application/json": components["schemas"]["UserPublicInfoResponse"] | components["schemas"]["UserPrivateInfoResponse"];
|
|
22319
|
+
"application/json": components["schemas"]["UserPublicInfoResponse"] | components["schemas"]["UserPrivateInfoResponse"] | components["schemas"]["UserProxyInfoResponse"];
|
|
22228
22320
|
};
|
|
22229
22321
|
};
|
|
22230
22322
|
400: components["responses"]["BadRequest"];
|
|
@@ -22248,7 +22340,7 @@ export interface operations {
|
|
|
22248
22340
|
[name: string]: unknown;
|
|
22249
22341
|
};
|
|
22250
22342
|
content: {
|
|
22251
|
-
"application/json": components["schemas"]["UserPrivateInfoResponse"];
|
|
22343
|
+
"application/json": components["schemas"]["UserPrivateInfoResponse"] | components["schemas"]["UserProxyInfoResponse"];
|
|
22252
22344
|
};
|
|
22253
22345
|
};
|
|
22254
22346
|
400: components["responses"]["BadRequest"];
|
|
@@ -6887,14 +6887,14 @@ export declare const CreateOrUpdateScheduleRequest: () => z.ZodObject<{
|
|
|
6887
6887
|
input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6888
6888
|
}, z.core.$loose>], "type">>>>;
|
|
6889
6889
|
}, z.core.$loose>;
|
|
6890
|
-
/** State of the schedule editor in Apify Console. It's removed when an API update changes `cronExpression` or `timezone`. */
|
|
6891
|
-
export declare const ScheduleUiState: () => z.ZodObject<{
|
|
6890
|
+
/** State of the schedule editor in Apify Console. It's removed when an API update changes `cronExpression` or `timezone`, after which it is `null`. */
|
|
6891
|
+
export declare const ScheduleUiState: () => z.ZodNullable<z.ZodObject<{
|
|
6892
6892
|
version: z.ZodOptional<z.ZodInt>;
|
|
6893
6893
|
data: z.ZodOptional<z.ZodObject<{
|
|
6894
6894
|
cronExpression: z.ZodOptional<z.ZodString>;
|
|
6895
6895
|
timezone: z.ZodOptional<z.ZodString>;
|
|
6896
6896
|
}, z.core.$loose>>;
|
|
6897
|
-
}, z.core.$loose
|
|
6897
|
+
}, z.core.$loose>>;
|
|
6898
6898
|
export declare const ScheduleActionRunActor: () => z.ZodObject<{
|
|
6899
6899
|
id: z.ZodString;
|
|
6900
6900
|
type: z.ZodLiteral<"RUN_ACTOR">;
|
|
@@ -6967,13 +6967,13 @@ export declare const Schedule: () => z.ZodObject<{
|
|
|
6967
6967
|
notifications: z.ZodOptional<z.ZodObject<{
|
|
6968
6968
|
email: z.ZodOptional<z.ZodBoolean>;
|
|
6969
6969
|
}, z.core.$loose>>;
|
|
6970
|
-
uiState: z.ZodOptional<z.ZodObject<{
|
|
6970
|
+
uiState: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6971
6971
|
version: z.ZodOptional<z.ZodInt>;
|
|
6972
6972
|
data: z.ZodOptional<z.ZodObject<{
|
|
6973
6973
|
cronExpression: z.ZodOptional<z.ZodString>;
|
|
6974
6974
|
timezone: z.ZodOptional<z.ZodString>;
|
|
6975
6975
|
}, z.core.$loose>>;
|
|
6976
|
-
}, z.core.$loose
|
|
6976
|
+
}, z.core.$loose>>>;
|
|
6977
6977
|
integrationTracking: z.ZodOptional<z.ZodObject<{
|
|
6978
6978
|
platform: z.ZodOptional<z.ZodString>;
|
|
6979
6979
|
appId: z.ZodOptional<z.ZodString>;
|
|
@@ -7025,13 +7025,13 @@ export declare const ScheduleResponse: () => z.ZodObject<{
|
|
|
7025
7025
|
notifications: z.ZodOptional<z.ZodObject<{
|
|
7026
7026
|
email: z.ZodOptional<z.ZodBoolean>;
|
|
7027
7027
|
}, z.core.$loose>>;
|
|
7028
|
-
uiState: z.ZodOptional<z.ZodObject<{
|
|
7028
|
+
uiState: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7029
7029
|
version: z.ZodOptional<z.ZodInt>;
|
|
7030
7030
|
data: z.ZodOptional<z.ZodObject<{
|
|
7031
7031
|
cronExpression: z.ZodOptional<z.ZodString>;
|
|
7032
7032
|
timezone: z.ZodOptional<z.ZodString>;
|
|
7033
7033
|
}, z.core.$loose>>;
|
|
7034
|
-
}, z.core.$loose
|
|
7034
|
+
}, z.core.$loose>>>;
|
|
7035
7035
|
integrationTracking: z.ZodOptional<z.ZodObject<{
|
|
7036
7036
|
platform: z.ZodOptional<z.ZodString>;
|
|
7037
7037
|
appId: z.ZodOptional<z.ZodString>;
|
|
@@ -7116,24 +7116,13 @@ export declare const StoreActor: () => z.ZodObject<{
|
|
|
7116
7116
|
userPictureUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
7117
7117
|
url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
7118
7118
|
stats: z.ZodObject<{
|
|
7119
|
-
|
|
7119
|
+
totalUsers: z.ZodInt;
|
|
7120
7120
|
totalRuns: z.ZodOptional<z.ZodInt>;
|
|
7121
|
-
totalUsers: z.ZodOptional<z.ZodInt>;
|
|
7122
7121
|
totalUsers7Days: z.ZodOptional<z.ZodInt>;
|
|
7123
7122
|
totalUsers30Days: z.ZodOptional<z.ZodInt>;
|
|
7124
7123
|
totalUsers90Days: z.ZodOptional<z.ZodInt>;
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
actorReviewCount: z.ZodOptional<z.ZodInt>;
|
|
7128
|
-
actorReviewRating: z.ZodOptional<z.ZodNumber>;
|
|
7129
|
-
bookmarkCount: z.ZodOptional<z.ZodInt>;
|
|
7130
|
-
publicActorRunStats30Days: z.ZodOptional<z.ZodObject<{
|
|
7131
|
-
ABORTED: z.ZodOptional<z.ZodInt>;
|
|
7132
|
-
FAILED: z.ZodOptional<z.ZodInt>;
|
|
7133
|
-
SUCCEEDED: z.ZodOptional<z.ZodInt>;
|
|
7134
|
-
"TIMED-OUT": z.ZodOptional<z.ZodInt>;
|
|
7135
|
-
TOTAL: z.ZodOptional<z.ZodInt>;
|
|
7136
|
-
}, z.core.$loose>>;
|
|
7124
|
+
actorReviewRating: z.ZodNumber;
|
|
7125
|
+
actorReviewCount: z.ZodInt;
|
|
7137
7126
|
}, z.core.$loose>;
|
|
7138
7127
|
currentPricingInfo: z.ZodOptional<z.ZodObject<{
|
|
7139
7128
|
pricingModel: z.ZodString;
|
|
@@ -7157,9 +7146,7 @@ export declare const StoreActor: () => z.ZodObject<{
|
|
|
7157
7146
|
notifiedAboutRentalToPpePriceChangeAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>>;
|
|
7158
7147
|
}, z.core.$loose>>;
|
|
7159
7148
|
isWhiteListedForAgenticPayments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7160
|
-
|
|
7161
|
-
actorReviewRating: z.ZodOptional<z.ZodNumber>;
|
|
7162
|
-
bookmarkCount: z.ZodOptional<z.ZodInt>;
|
|
7149
|
+
isVerified: z.ZodOptional<z.ZodBoolean>;
|
|
7163
7150
|
badge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7164
7151
|
readmeSummary: z.ZodOptional<z.ZodString>;
|
|
7165
7152
|
inputSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -7193,24 +7180,13 @@ export declare const ListOfStoreActors: () => z.ZodObject<{
|
|
|
7193
7180
|
userPictureUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
7194
7181
|
url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
7195
7182
|
stats: z.ZodObject<{
|
|
7196
|
-
|
|
7183
|
+
totalUsers: z.ZodInt;
|
|
7197
7184
|
totalRuns: z.ZodOptional<z.ZodInt>;
|
|
7198
|
-
totalUsers: z.ZodOptional<z.ZodInt>;
|
|
7199
7185
|
totalUsers7Days: z.ZodOptional<z.ZodInt>;
|
|
7200
7186
|
totalUsers30Days: z.ZodOptional<z.ZodInt>;
|
|
7201
7187
|
totalUsers90Days: z.ZodOptional<z.ZodInt>;
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
actorReviewCount: z.ZodOptional<z.ZodInt>;
|
|
7205
|
-
actorReviewRating: z.ZodOptional<z.ZodNumber>;
|
|
7206
|
-
bookmarkCount: z.ZodOptional<z.ZodInt>;
|
|
7207
|
-
publicActorRunStats30Days: z.ZodOptional<z.ZodObject<{
|
|
7208
|
-
ABORTED: z.ZodOptional<z.ZodInt>;
|
|
7209
|
-
FAILED: z.ZodOptional<z.ZodInt>;
|
|
7210
|
-
SUCCEEDED: z.ZodOptional<z.ZodInt>;
|
|
7211
|
-
"TIMED-OUT": z.ZodOptional<z.ZodInt>;
|
|
7212
|
-
TOTAL: z.ZodOptional<z.ZodInt>;
|
|
7213
|
-
}, z.core.$loose>>;
|
|
7188
|
+
actorReviewRating: z.ZodNumber;
|
|
7189
|
+
actorReviewCount: z.ZodInt;
|
|
7214
7190
|
}, z.core.$loose>;
|
|
7215
7191
|
currentPricingInfo: z.ZodOptional<z.ZodObject<{
|
|
7216
7192
|
pricingModel: z.ZodString;
|
|
@@ -7234,9 +7210,7 @@ export declare const ListOfStoreActors: () => z.ZodObject<{
|
|
|
7234
7210
|
notifiedAboutRentalToPpePriceChangeAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>>;
|
|
7235
7211
|
}, z.core.$loose>>;
|
|
7236
7212
|
isWhiteListedForAgenticPayments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7237
|
-
|
|
7238
|
-
actorReviewRating: z.ZodOptional<z.ZodNumber>;
|
|
7239
|
-
bookmarkCount: z.ZodOptional<z.ZodInt>;
|
|
7213
|
+
isVerified: z.ZodOptional<z.ZodBoolean>;
|
|
7240
7214
|
badge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7241
7215
|
readmeSummary: z.ZodOptional<z.ZodString>;
|
|
7242
7216
|
inputSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -7272,24 +7246,13 @@ export declare const ListOfStoreActorsResponse: () => z.ZodObject<{
|
|
|
7272
7246
|
userPictureUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
7273
7247
|
url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
7274
7248
|
stats: z.ZodObject<{
|
|
7275
|
-
|
|
7249
|
+
totalUsers: z.ZodInt;
|
|
7276
7250
|
totalRuns: z.ZodOptional<z.ZodInt>;
|
|
7277
|
-
totalUsers: z.ZodOptional<z.ZodInt>;
|
|
7278
7251
|
totalUsers7Days: z.ZodOptional<z.ZodInt>;
|
|
7279
7252
|
totalUsers30Days: z.ZodOptional<z.ZodInt>;
|
|
7280
7253
|
totalUsers90Days: z.ZodOptional<z.ZodInt>;
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
actorReviewCount: z.ZodOptional<z.ZodInt>;
|
|
7284
|
-
actorReviewRating: z.ZodOptional<z.ZodNumber>;
|
|
7285
|
-
bookmarkCount: z.ZodOptional<z.ZodInt>;
|
|
7286
|
-
publicActorRunStats30Days: z.ZodOptional<z.ZodObject<{
|
|
7287
|
-
ABORTED: z.ZodOptional<z.ZodInt>;
|
|
7288
|
-
FAILED: z.ZodOptional<z.ZodInt>;
|
|
7289
|
-
SUCCEEDED: z.ZodOptional<z.ZodInt>;
|
|
7290
|
-
"TIMED-OUT": z.ZodOptional<z.ZodInt>;
|
|
7291
|
-
TOTAL: z.ZodOptional<z.ZodInt>;
|
|
7292
|
-
}, z.core.$loose>>;
|
|
7254
|
+
actorReviewRating: z.ZodNumber;
|
|
7255
|
+
actorReviewCount: z.ZodInt;
|
|
7293
7256
|
}, z.core.$loose>;
|
|
7294
7257
|
currentPricingInfo: z.ZodOptional<z.ZodObject<{
|
|
7295
7258
|
pricingModel: z.ZodString;
|
|
@@ -7313,9 +7276,7 @@ export declare const ListOfStoreActorsResponse: () => z.ZodObject<{
|
|
|
7313
7276
|
notifiedAboutRentalToPpePriceChangeAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>>;
|
|
7314
7277
|
}, z.core.$loose>>;
|
|
7315
7278
|
isWhiteListedForAgenticPayments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7316
|
-
|
|
7317
|
-
actorReviewRating: z.ZodOptional<z.ZodNumber>;
|
|
7318
|
-
bookmarkCount: z.ZodOptional<z.ZodInt>;
|
|
7279
|
+
isVerified: z.ZodOptional<z.ZodBoolean>;
|
|
7319
7280
|
badge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7320
7281
|
readmeSummary: z.ZodOptional<z.ZodString>;
|
|
7321
7282
|
inputSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -7782,6 +7743,165 @@ export declare const UserPrivateInfoResponse: () => z.ZodObject<{
|
|
|
7782
7743
|
organizationOwnerUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7783
7744
|
}, z.core.$loose>;
|
|
7784
7745
|
}, z.core.$loose>;
|
|
7746
|
+
/** Reduced user data with only the fields Apify Proxy reads. */
|
|
7747
|
+
export declare const UserProxyInfo: () => z.ZodObject<{
|
|
7748
|
+
plan: z.ZodObject<{
|
|
7749
|
+
availableProxyGroups: z.ZodRecord<z.ZodString, z.ZodInt>;
|
|
7750
|
+
}, z.core.$loose>;
|
|
7751
|
+
effectivePlatformFeatures: z.ZodObject<{
|
|
7752
|
+
ACTORS: z.ZodObject<{
|
|
7753
|
+
isEnabled: z.ZodBoolean;
|
|
7754
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7755
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7756
|
+
isTrial: z.ZodBoolean;
|
|
7757
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7758
|
+
}, z.core.$loose>;
|
|
7759
|
+
STORAGE: z.ZodObject<{
|
|
7760
|
+
isEnabled: z.ZodBoolean;
|
|
7761
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7762
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7763
|
+
isTrial: z.ZodBoolean;
|
|
7764
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7765
|
+
}, z.core.$loose>;
|
|
7766
|
+
SCHEDULER: z.ZodObject<{
|
|
7767
|
+
isEnabled: z.ZodBoolean;
|
|
7768
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7769
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7770
|
+
isTrial: z.ZodBoolean;
|
|
7771
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7772
|
+
}, z.core.$loose>;
|
|
7773
|
+
PROXY: z.ZodObject<{
|
|
7774
|
+
isEnabled: z.ZodBoolean;
|
|
7775
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7776
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7777
|
+
isTrial: z.ZodBoolean;
|
|
7778
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7779
|
+
}, z.core.$loose>;
|
|
7780
|
+
PROXY_EXTERNAL_ACCESS: z.ZodObject<{
|
|
7781
|
+
isEnabled: z.ZodBoolean;
|
|
7782
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7783
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7784
|
+
isTrial: z.ZodBoolean;
|
|
7785
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7786
|
+
}, z.core.$loose>;
|
|
7787
|
+
PROXY_RESIDENTIAL: z.ZodObject<{
|
|
7788
|
+
isEnabled: z.ZodBoolean;
|
|
7789
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7790
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7791
|
+
isTrial: z.ZodBoolean;
|
|
7792
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7793
|
+
}, z.core.$loose>;
|
|
7794
|
+
PROXY_SERPS: z.ZodObject<{
|
|
7795
|
+
isEnabled: z.ZodBoolean;
|
|
7796
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7797
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7798
|
+
isTrial: z.ZodBoolean;
|
|
7799
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7800
|
+
}, z.core.$loose>;
|
|
7801
|
+
WEBHOOKS: z.ZodObject<{
|
|
7802
|
+
isEnabled: z.ZodBoolean;
|
|
7803
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7804
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7805
|
+
isTrial: z.ZodBoolean;
|
|
7806
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7807
|
+
}, z.core.$loose>;
|
|
7808
|
+
ACTORS_PUBLIC_ALL: z.ZodObject<{
|
|
7809
|
+
isEnabled: z.ZodBoolean;
|
|
7810
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7811
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7812
|
+
isTrial: z.ZodBoolean;
|
|
7813
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7814
|
+
}, z.core.$loose>;
|
|
7815
|
+
ACTORS_PUBLIC_DEVELOPER: z.ZodObject<{
|
|
7816
|
+
isEnabled: z.ZodBoolean;
|
|
7817
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7818
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7819
|
+
isTrial: z.ZodBoolean;
|
|
7820
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7821
|
+
}, z.core.$loose>;
|
|
7822
|
+
}, z.core.$loose>;
|
|
7823
|
+
isPaying: z.ZodBoolean;
|
|
7824
|
+
}, z.core.$loose>;
|
|
7825
|
+
export declare const UserProxyInfoResponse: () => z.ZodObject<{
|
|
7826
|
+
data: z.ZodObject<{
|
|
7827
|
+
plan: z.ZodObject<{
|
|
7828
|
+
availableProxyGroups: z.ZodRecord<z.ZodString, z.ZodInt>;
|
|
7829
|
+
}, z.core.$loose>;
|
|
7830
|
+
effectivePlatformFeatures: z.ZodObject<{
|
|
7831
|
+
ACTORS: z.ZodObject<{
|
|
7832
|
+
isEnabled: z.ZodBoolean;
|
|
7833
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7834
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7835
|
+
isTrial: z.ZodBoolean;
|
|
7836
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7837
|
+
}, z.core.$loose>;
|
|
7838
|
+
STORAGE: z.ZodObject<{
|
|
7839
|
+
isEnabled: z.ZodBoolean;
|
|
7840
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7841
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7842
|
+
isTrial: z.ZodBoolean;
|
|
7843
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7844
|
+
}, z.core.$loose>;
|
|
7845
|
+
SCHEDULER: z.ZodObject<{
|
|
7846
|
+
isEnabled: z.ZodBoolean;
|
|
7847
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7848
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7849
|
+
isTrial: z.ZodBoolean;
|
|
7850
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7851
|
+
}, z.core.$loose>;
|
|
7852
|
+
PROXY: z.ZodObject<{
|
|
7853
|
+
isEnabled: z.ZodBoolean;
|
|
7854
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7855
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7856
|
+
isTrial: z.ZodBoolean;
|
|
7857
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7858
|
+
}, z.core.$loose>;
|
|
7859
|
+
PROXY_EXTERNAL_ACCESS: z.ZodObject<{
|
|
7860
|
+
isEnabled: z.ZodBoolean;
|
|
7861
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7862
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7863
|
+
isTrial: z.ZodBoolean;
|
|
7864
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7865
|
+
}, z.core.$loose>;
|
|
7866
|
+
PROXY_RESIDENTIAL: z.ZodObject<{
|
|
7867
|
+
isEnabled: z.ZodBoolean;
|
|
7868
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7869
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7870
|
+
isTrial: z.ZodBoolean;
|
|
7871
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7872
|
+
}, z.core.$loose>;
|
|
7873
|
+
PROXY_SERPS: z.ZodObject<{
|
|
7874
|
+
isEnabled: z.ZodBoolean;
|
|
7875
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7876
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7877
|
+
isTrial: z.ZodBoolean;
|
|
7878
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7879
|
+
}, z.core.$loose>;
|
|
7880
|
+
WEBHOOKS: z.ZodObject<{
|
|
7881
|
+
isEnabled: z.ZodBoolean;
|
|
7882
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7883
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7884
|
+
isTrial: z.ZodBoolean;
|
|
7885
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7886
|
+
}, z.core.$loose>;
|
|
7887
|
+
ACTORS_PUBLIC_ALL: z.ZodObject<{
|
|
7888
|
+
isEnabled: z.ZodBoolean;
|
|
7889
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7890
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7891
|
+
isTrial: z.ZodBoolean;
|
|
7892
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7893
|
+
}, z.core.$loose>;
|
|
7894
|
+
ACTORS_PUBLIC_DEVELOPER: z.ZodObject<{
|
|
7895
|
+
isEnabled: z.ZodBoolean;
|
|
7896
|
+
disabledReason: z.ZodNullable<z.ZodString>;
|
|
7897
|
+
disabledReasonType: z.ZodNullable<z.ZodString>;
|
|
7898
|
+
isTrial: z.ZodBoolean;
|
|
7899
|
+
trialExpirationAt: z.ZodNullable<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
7900
|
+
}, z.core.$loose>;
|
|
7901
|
+
}, z.core.$loose>;
|
|
7902
|
+
isPaying: z.ZodBoolean;
|
|
7903
|
+
}, z.core.$loose>;
|
|
7904
|
+
}, z.core.$loose>;
|
|
7785
7905
|
export declare const UsageCycle: () => z.ZodObject<{
|
|
7786
7906
|
startAt: z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>;
|
|
7787
7907
|
endAt: z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>;
|
|
@@ -1514,14 +1514,14 @@ export const CreateOrUpdateScheduleRequest = lazySchema(() => z.looseObject({
|
|
|
1514
1514
|
notifications: ScheduleNotifications().optional(),
|
|
1515
1515
|
actions: z.array(ScheduleCreateAction()).nullable().optional(),
|
|
1516
1516
|
}));
|
|
1517
|
-
/** State of the schedule editor in Apify Console. It's removed when an API update changes `cronExpression` or `timezone`. */
|
|
1517
|
+
/** State of the schedule editor in Apify Console. It's removed when an API update changes `cronExpression` or `timezone`, after which it is `null`. */
|
|
1518
1518
|
export const ScheduleUiState = lazySchema(() => z.looseObject({
|
|
1519
1519
|
version: z.int().optional(),
|
|
1520
1520
|
data: z.looseObject({
|
|
1521
1521
|
cronExpression: z.string().optional(),
|
|
1522
1522
|
timezone: z.string().optional(),
|
|
1523
1523
|
}).optional(),
|
|
1524
|
-
}));
|
|
1524
|
+
}).nullable());
|
|
1525
1525
|
export const ScheduleActionRunActor = lazySchema(() => z.looseObject({
|
|
1526
1526
|
id: z.string(),
|
|
1527
1527
|
type: z.literal("RUN_ACTOR"),
|
|
@@ -1588,12 +1588,18 @@ export const StoreActor = lazySchema(() => z.looseObject({
|
|
|
1588
1588
|
pictureUrl: z.string().nullable().optional(),
|
|
1589
1589
|
userPictureUrl: z.url({ normalize: true }).nullable().optional(),
|
|
1590
1590
|
url: z.url({ normalize: true }).nullable().optional(),
|
|
1591
|
-
stats:
|
|
1591
|
+
stats: z.looseObject({
|
|
1592
|
+
totalUsers: z.int(),
|
|
1593
|
+
totalRuns: z.int().optional(),
|
|
1594
|
+
totalUsers7Days: z.int().optional(),
|
|
1595
|
+
totalUsers30Days: z.int().optional(),
|
|
1596
|
+
totalUsers90Days: z.int().optional(),
|
|
1597
|
+
actorReviewRating: z.number(),
|
|
1598
|
+
actorReviewCount: z.int(),
|
|
1599
|
+
}),
|
|
1592
1600
|
currentPricingInfo: CurrentPricingInfo().optional(),
|
|
1593
1601
|
isWhiteListedForAgenticPayments: z.boolean().nullable().optional(),
|
|
1594
|
-
|
|
1595
|
-
actorReviewRating: z.number().optional(),
|
|
1596
|
-
bookmarkCount: z.int().optional(),
|
|
1602
|
+
isVerified: z.boolean().optional(),
|
|
1597
1603
|
badge: z.string().nullable().optional(),
|
|
1598
1604
|
readmeSummary: z.string().optional(),
|
|
1599
1605
|
inputSchema: z.looseObject({
|
|
@@ -1715,6 +1721,17 @@ export const UserPrivateInfo = lazySchema(() => z.looseObject({
|
|
|
1715
1721
|
export const UserPrivateInfoResponse = lazySchema(() => z.looseObject({
|
|
1716
1722
|
data: UserPrivateInfo(),
|
|
1717
1723
|
}));
|
|
1724
|
+
/** Reduced user data with only the fields Apify Proxy reads. */
|
|
1725
|
+
export const UserProxyInfo = lazySchema(() => z.looseObject({
|
|
1726
|
+
plan: z.looseObject({
|
|
1727
|
+
availableProxyGroups: AvailableProxyGroups(),
|
|
1728
|
+
}),
|
|
1729
|
+
effectivePlatformFeatures: EffectivePlatformFeatures(),
|
|
1730
|
+
isPaying: z.boolean(),
|
|
1731
|
+
}));
|
|
1732
|
+
export const UserProxyInfoResponse = lazySchema(() => z.looseObject({
|
|
1733
|
+
data: UserProxyInfo(),
|
|
1734
|
+
}));
|
|
1718
1735
|
export const UsageCycle = lazySchema(() => z.looseObject({
|
|
1719
1736
|
startAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
1720
1737
|
endAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|