apify-client 3.0.0-beta.111 → 3.0.0-beta.112

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.
@@ -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
- * The endpoint supports pagination using the `limit` and `offset` parameters.
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;
@@ -9145,8 +9150,8 @@ export interface components {
9145
9150
  description?: string | null;
9146
9151
  /**
9147
9152
  * @example [
9148
- * "MARKETING",
9149
- * "LEAD_GENERATION"
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
- stats: components["schemas"]["ActorStats"];
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
- /** @example 69 */
9171
- actorReviewCount?: number;
9172
- /** @example 4.7 */
9173
- actorReviewRating?: number;
9174
- /** @example 1269 */
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
- * "totalMetamorphs": 2,
9239
- * "lastRunStartedAt": "2019-07-08T14:01:05.546Z"
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
- * "MARKETING",
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
- * "totalMetamorphs": 2,
9268
- * "lastRunStartedAt": "2019-07-08T14:01:05.546Z"
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
  * ]
@@ -10424,6 +10471,17 @@ export interface components {
10424
10471
  webhookId: string;
10425
10472
  /** @description Schedule ID. */
10426
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;
10427
10485
  /** @description ID of the Actor build or run. */
10428
10486
  buildOrRunId: string;
10429
10487
  };
@@ -22094,21 +22152,38 @@ export interface operations {
22094
22152
  store_get: {
22095
22153
  parameters: {
22096
22154
  query?: {
22097
- /** @description Maximum number of items to return. The default value as well as the maximum is `1000`. */
22098
- limit?: components["parameters"]["limit"];
22099
- /** @description Number of items that should be skipped at the start. The default value is `0`. */
22100
- offset?: components["parameters"]["offset"];
22101
22155
  /**
22102
- * @description String to search by. The search runs on the following fields: `title`,
22103
- * `name`, `description`, `username`, `readme`.
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.
22104
22169
  */
22105
22170
  search?: string;
22106
22171
  /**
22107
- * @description Specifies the field by which to sort the results. The supported values
22108
- * are `relevance` (default), `popularity`, `newest` and `lastUpdate`.
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.
22109
22177
  */
22110
22178
  sortBy?: string;
22111
- /** @description Filters the results by the specified category. */
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
+ */
22112
22187
  category?: string;
22113
22188
  /** @description Filters the results by the specified username. */
22114
22189
  username?: string;
@@ -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
- totalBuilds: z.ZodOptional<z.ZodInt>;
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
- totalMetamorphs: z.ZodOptional<z.ZodInt>;
7126
- lastRunStartedAt: z.ZodOptional<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
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
- actorReviewCount: z.ZodOptional<z.ZodInt>;
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
- totalBuilds: z.ZodOptional<z.ZodInt>;
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
- totalMetamorphs: z.ZodOptional<z.ZodInt>;
7203
- lastRunStartedAt: z.ZodOptional<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
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
- actorReviewCount: z.ZodOptional<z.ZodInt>;
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
- totalBuilds: z.ZodOptional<z.ZodInt>;
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
- totalMetamorphs: z.ZodOptional<z.ZodInt>;
7282
- lastRunStartedAt: z.ZodOptional<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
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
- actorReviewCount: z.ZodOptional<z.ZodInt>;
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<{
@@ -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: ActorStats(),
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
- actorReviewCount: z.int().optional(),
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({
@@ -58,6 +58,10 @@ export declare class StoreCollectionClient extends ResourceCollectionClient {
58
58
  */
59
59
  export interface StoreCollectionListOptions extends PaginationOptions, TimeoutOptions {
60
60
  search?: string;
61
+ /**
62
+ * @deprecated The API ignores this option. Results are ordered by relevance when `search` is used, and by Store
63
+ * position otherwise. Sort the results on the client if you need a different order.
64
+ */
61
65
  sortBy?: string;
62
66
  category?: string;
63
67
  username?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apify-client",
3
- "version": "3.0.0-beta.111",
3
+ "version": "3.0.0-beta.112",
4
4
  "description": "Apify API client for JavaScript",
5
5
  "engines": {
6
6
  "node": ">=22.15.0"