apify-client 3.0.0-beta.72 → 3.0.0-beta.74
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 +3 -3
- package/dist/bundle.js.map +1 -1
- package/dist/generated/api.d.ts +280 -276
- package/dist/generated/schemas.d.ts +45 -29
- package/dist/generated/schemas.js +6 -8
- package/dist/http_clients/base.d.ts +2 -1
- package/dist/http_clients/base.js +8 -5
- package/dist/invalid_response_body_error.d.ts +3 -3
- package/dist/invalid_response_body_error.js +3 -3
- package/package.json +2 -2
|
@@ -262,6 +262,7 @@ export declare const ErrorType: () => z.ZodUnion<[z.ZodEnum<{
|
|
|
262
262
|
"final-invoice-negative": "final-invoice-negative";
|
|
263
263
|
"full-permission-actor-blocked-for-admin": "full-permission-actor-blocked-for-admin";
|
|
264
264
|
"full-permission-actor-not-approved": "full-permission-actor-not-approved";
|
|
265
|
+
"full-permissions-require-verified-owner": "full-permissions-require-verified-owner";
|
|
265
266
|
"github-branch-empty": "github-branch-empty";
|
|
266
267
|
"github-issue-already-exists": "github-issue-already-exists";
|
|
267
268
|
"github-public-key-not-found": "github-public-key-not-found";
|
|
@@ -278,6 +279,7 @@ export declare const ErrorType: () => z.ZodUnion<[z.ZodEnum<{
|
|
|
278
279
|
"input-json-not-object": "input-json-not-object";
|
|
279
280
|
"input-json-too-long": "input-json-too-long";
|
|
280
281
|
"input-update-collision": "input-update-collision";
|
|
282
|
+
"input-validation-timed-out": "input-validation-timed-out";
|
|
281
283
|
"insufficient-permissions": "insufficient-permissions";
|
|
282
284
|
"insufficient-permissions-to-change-field": "insufficient-permissions-to-change-field";
|
|
283
285
|
"insufficient-security-measures": "insufficient-security-measures";
|
|
@@ -349,6 +351,7 @@ export declare const ErrorType: () => z.ZodUnion<[z.ZodEnum<{
|
|
|
349
351
|
"max-metamorphs-exceeded": "max-metamorphs-exceeded";
|
|
350
352
|
"max-total-charge-usd-below-minimum": "max-total-charge-usd-below-minimum";
|
|
351
353
|
"max-total-charge-usd-must-be-greater-than-zero": "max-total-charge-usd-must-be-greater-than-zero";
|
|
354
|
+
"mcp-connector-actor-not-allowed": "mcp-connector-actor-not-allowed";
|
|
352
355
|
"method-not-allowed": "method-not-allowed";
|
|
353
356
|
"migration-disabled": "migration-disabled";
|
|
354
357
|
"missing-actor-rights": "missing-actor-rights";
|
|
@@ -363,6 +366,7 @@ export declare const ErrorType: () => z.ZodUnion<[z.ZodEnum<{
|
|
|
363
366
|
"missing-settings": "missing-settings";
|
|
364
367
|
"missing-username": "missing-username";
|
|
365
368
|
"monthly-usage-limit-too-low": "monthly-usage-limit-too-low";
|
|
369
|
+
"more-public-actors-require-verified-owner": "more-public-actors-require-verified-owner";
|
|
366
370
|
"more-than-one-update-not-allowed": "more-than-one-update-not-allowed";
|
|
367
371
|
"multiple-records-found": "multiple-records-found";
|
|
368
372
|
"must-be-admin": "must-be-admin";
|
|
@@ -415,6 +419,7 @@ export declare const ErrorType: () => z.ZodUnion<[z.ZodEnum<{
|
|
|
415
419
|
"query-timeout": "query-timeout";
|
|
416
420
|
"quoted-price-outdated": "quoted-price-outdated";
|
|
417
421
|
"rate-limit-exceeded": "rate-limit-exceeded";
|
|
422
|
+
"readme-required": "readme-required";
|
|
418
423
|
"recaptcha-invalid": "recaptcha-invalid";
|
|
419
424
|
"recaptcha-required": "recaptcha-required";
|
|
420
425
|
"record-not-found": "record-not-found";
|
|
@@ -443,11 +448,13 @@ export declare const ErrorType: () => z.ZodUnion<[z.ZodEnum<{
|
|
|
443
448
|
"schema-validation": "schema-validation";
|
|
444
449
|
"schema-validation-error": "schema-validation-error";
|
|
445
450
|
"schema-validation-failed": "schema-validation-failed";
|
|
451
|
+
"schemas-required": "schemas-required";
|
|
446
452
|
"service-worker-registration-not-allowed": "service-worker-registration-not-allowed";
|
|
447
453
|
"sign-up-method-not-allowed": "sign-up-method-not-allowed";
|
|
448
454
|
"slack-integration-not-custom": "slack-integration-not-custom";
|
|
449
455
|
"socket-closed": "socket-closed";
|
|
450
456
|
"socket-destroyed": "socket-destroyed";
|
|
457
|
+
"standby-deployment-invalid": "standby-deployment-invalid";
|
|
451
458
|
"store-schema-invalid": "store-schema-invalid";
|
|
452
459
|
"store-terms-not-accepted": "store-terms-not-accepted";
|
|
453
460
|
"stripe-enabled": "stripe-enabled";
|
|
@@ -469,6 +476,8 @@ export declare const ErrorType: () => z.ZodUnion<[z.ZodEnum<{
|
|
|
469
476
|
"too-many-mcp-connectors": "too-many-mcp-connectors";
|
|
470
477
|
"too-many-o-auth-apps": "too-many-o-auth-apps";
|
|
471
478
|
"too-many-organizations": "too-many-organizations";
|
|
479
|
+
"too-many-public-actor-tasks-per-account": "too-many-public-actor-tasks-per-account";
|
|
480
|
+
"too-many-public-actor-tasks-per-actor": "too-many-public-actor-tasks-per-actor";
|
|
472
481
|
"too-many-requests": "too-many-requests";
|
|
473
482
|
"too-many-schedules": "too-many-schedules";
|
|
474
483
|
"too-many-ui-access-keys": "too-many-ui-access-keys";
|
|
@@ -660,6 +669,7 @@ export declare const ErrorDetail: () => z.ZodObject<{
|
|
|
660
669
|
"final-invoice-negative": "final-invoice-negative";
|
|
661
670
|
"full-permission-actor-blocked-for-admin": "full-permission-actor-blocked-for-admin";
|
|
662
671
|
"full-permission-actor-not-approved": "full-permission-actor-not-approved";
|
|
672
|
+
"full-permissions-require-verified-owner": "full-permissions-require-verified-owner";
|
|
663
673
|
"github-branch-empty": "github-branch-empty";
|
|
664
674
|
"github-issue-already-exists": "github-issue-already-exists";
|
|
665
675
|
"github-public-key-not-found": "github-public-key-not-found";
|
|
@@ -676,6 +686,7 @@ export declare const ErrorDetail: () => z.ZodObject<{
|
|
|
676
686
|
"input-json-not-object": "input-json-not-object";
|
|
677
687
|
"input-json-too-long": "input-json-too-long";
|
|
678
688
|
"input-update-collision": "input-update-collision";
|
|
689
|
+
"input-validation-timed-out": "input-validation-timed-out";
|
|
679
690
|
"insufficient-permissions": "insufficient-permissions";
|
|
680
691
|
"insufficient-permissions-to-change-field": "insufficient-permissions-to-change-field";
|
|
681
692
|
"insufficient-security-measures": "insufficient-security-measures";
|
|
@@ -747,6 +758,7 @@ export declare const ErrorDetail: () => z.ZodObject<{
|
|
|
747
758
|
"max-metamorphs-exceeded": "max-metamorphs-exceeded";
|
|
748
759
|
"max-total-charge-usd-below-minimum": "max-total-charge-usd-below-minimum";
|
|
749
760
|
"max-total-charge-usd-must-be-greater-than-zero": "max-total-charge-usd-must-be-greater-than-zero";
|
|
761
|
+
"mcp-connector-actor-not-allowed": "mcp-connector-actor-not-allowed";
|
|
750
762
|
"method-not-allowed": "method-not-allowed";
|
|
751
763
|
"migration-disabled": "migration-disabled";
|
|
752
764
|
"missing-actor-rights": "missing-actor-rights";
|
|
@@ -761,6 +773,7 @@ export declare const ErrorDetail: () => z.ZodObject<{
|
|
|
761
773
|
"missing-settings": "missing-settings";
|
|
762
774
|
"missing-username": "missing-username";
|
|
763
775
|
"monthly-usage-limit-too-low": "monthly-usage-limit-too-low";
|
|
776
|
+
"more-public-actors-require-verified-owner": "more-public-actors-require-verified-owner";
|
|
764
777
|
"more-than-one-update-not-allowed": "more-than-one-update-not-allowed";
|
|
765
778
|
"multiple-records-found": "multiple-records-found";
|
|
766
779
|
"must-be-admin": "must-be-admin";
|
|
@@ -813,6 +826,7 @@ export declare const ErrorDetail: () => z.ZodObject<{
|
|
|
813
826
|
"query-timeout": "query-timeout";
|
|
814
827
|
"quoted-price-outdated": "quoted-price-outdated";
|
|
815
828
|
"rate-limit-exceeded": "rate-limit-exceeded";
|
|
829
|
+
"readme-required": "readme-required";
|
|
816
830
|
"recaptcha-invalid": "recaptcha-invalid";
|
|
817
831
|
"recaptcha-required": "recaptcha-required";
|
|
818
832
|
"record-not-found": "record-not-found";
|
|
@@ -841,11 +855,13 @@ export declare const ErrorDetail: () => z.ZodObject<{
|
|
|
841
855
|
"schema-validation": "schema-validation";
|
|
842
856
|
"schema-validation-error": "schema-validation-error";
|
|
843
857
|
"schema-validation-failed": "schema-validation-failed";
|
|
858
|
+
"schemas-required": "schemas-required";
|
|
844
859
|
"service-worker-registration-not-allowed": "service-worker-registration-not-allowed";
|
|
845
860
|
"sign-up-method-not-allowed": "sign-up-method-not-allowed";
|
|
846
861
|
"slack-integration-not-custom": "slack-integration-not-custom";
|
|
847
862
|
"socket-closed": "socket-closed";
|
|
848
863
|
"socket-destroyed": "socket-destroyed";
|
|
864
|
+
"standby-deployment-invalid": "standby-deployment-invalid";
|
|
849
865
|
"store-schema-invalid": "store-schema-invalid";
|
|
850
866
|
"store-terms-not-accepted": "store-terms-not-accepted";
|
|
851
867
|
"stripe-enabled": "stripe-enabled";
|
|
@@ -867,6 +883,8 @@ export declare const ErrorDetail: () => z.ZodObject<{
|
|
|
867
883
|
"too-many-mcp-connectors": "too-many-mcp-connectors";
|
|
868
884
|
"too-many-o-auth-apps": "too-many-o-auth-apps";
|
|
869
885
|
"too-many-organizations": "too-many-organizations";
|
|
886
|
+
"too-many-public-actor-tasks-per-account": "too-many-public-actor-tasks-per-account";
|
|
887
|
+
"too-many-public-actor-tasks-per-actor": "too-many-public-actor-tasks-per-actor";
|
|
870
888
|
"too-many-requests": "too-many-requests";
|
|
871
889
|
"too-many-schedules": "too-many-schedules";
|
|
872
890
|
"too-many-ui-access-keys": "too-many-ui-access-keys";
|
|
@@ -1061,6 +1079,7 @@ export declare const ErrorResponse: () => z.ZodObject<{
|
|
|
1061
1079
|
"final-invoice-negative": "final-invoice-negative";
|
|
1062
1080
|
"full-permission-actor-blocked-for-admin": "full-permission-actor-blocked-for-admin";
|
|
1063
1081
|
"full-permission-actor-not-approved": "full-permission-actor-not-approved";
|
|
1082
|
+
"full-permissions-require-verified-owner": "full-permissions-require-verified-owner";
|
|
1064
1083
|
"github-branch-empty": "github-branch-empty";
|
|
1065
1084
|
"github-issue-already-exists": "github-issue-already-exists";
|
|
1066
1085
|
"github-public-key-not-found": "github-public-key-not-found";
|
|
@@ -1077,6 +1096,7 @@ export declare const ErrorResponse: () => z.ZodObject<{
|
|
|
1077
1096
|
"input-json-not-object": "input-json-not-object";
|
|
1078
1097
|
"input-json-too-long": "input-json-too-long";
|
|
1079
1098
|
"input-update-collision": "input-update-collision";
|
|
1099
|
+
"input-validation-timed-out": "input-validation-timed-out";
|
|
1080
1100
|
"insufficient-permissions": "insufficient-permissions";
|
|
1081
1101
|
"insufficient-permissions-to-change-field": "insufficient-permissions-to-change-field";
|
|
1082
1102
|
"insufficient-security-measures": "insufficient-security-measures";
|
|
@@ -1148,6 +1168,7 @@ export declare const ErrorResponse: () => z.ZodObject<{
|
|
|
1148
1168
|
"max-metamorphs-exceeded": "max-metamorphs-exceeded";
|
|
1149
1169
|
"max-total-charge-usd-below-minimum": "max-total-charge-usd-below-minimum";
|
|
1150
1170
|
"max-total-charge-usd-must-be-greater-than-zero": "max-total-charge-usd-must-be-greater-than-zero";
|
|
1171
|
+
"mcp-connector-actor-not-allowed": "mcp-connector-actor-not-allowed";
|
|
1151
1172
|
"method-not-allowed": "method-not-allowed";
|
|
1152
1173
|
"migration-disabled": "migration-disabled";
|
|
1153
1174
|
"missing-actor-rights": "missing-actor-rights";
|
|
@@ -1162,6 +1183,7 @@ export declare const ErrorResponse: () => z.ZodObject<{
|
|
|
1162
1183
|
"missing-settings": "missing-settings";
|
|
1163
1184
|
"missing-username": "missing-username";
|
|
1164
1185
|
"monthly-usage-limit-too-low": "monthly-usage-limit-too-low";
|
|
1186
|
+
"more-public-actors-require-verified-owner": "more-public-actors-require-verified-owner";
|
|
1165
1187
|
"more-than-one-update-not-allowed": "more-than-one-update-not-allowed";
|
|
1166
1188
|
"multiple-records-found": "multiple-records-found";
|
|
1167
1189
|
"must-be-admin": "must-be-admin";
|
|
@@ -1214,6 +1236,7 @@ export declare const ErrorResponse: () => z.ZodObject<{
|
|
|
1214
1236
|
"query-timeout": "query-timeout";
|
|
1215
1237
|
"quoted-price-outdated": "quoted-price-outdated";
|
|
1216
1238
|
"rate-limit-exceeded": "rate-limit-exceeded";
|
|
1239
|
+
"readme-required": "readme-required";
|
|
1217
1240
|
"recaptcha-invalid": "recaptcha-invalid";
|
|
1218
1241
|
"recaptcha-required": "recaptcha-required";
|
|
1219
1242
|
"record-not-found": "record-not-found";
|
|
@@ -1242,11 +1265,13 @@ export declare const ErrorResponse: () => z.ZodObject<{
|
|
|
1242
1265
|
"schema-validation": "schema-validation";
|
|
1243
1266
|
"schema-validation-error": "schema-validation-error";
|
|
1244
1267
|
"schema-validation-failed": "schema-validation-failed";
|
|
1268
|
+
"schemas-required": "schemas-required";
|
|
1245
1269
|
"service-worker-registration-not-allowed": "service-worker-registration-not-allowed";
|
|
1246
1270
|
"sign-up-method-not-allowed": "sign-up-method-not-allowed";
|
|
1247
1271
|
"slack-integration-not-custom": "slack-integration-not-custom";
|
|
1248
1272
|
"socket-closed": "socket-closed";
|
|
1249
1273
|
"socket-destroyed": "socket-destroyed";
|
|
1274
|
+
"standby-deployment-invalid": "standby-deployment-invalid";
|
|
1250
1275
|
"store-schema-invalid": "store-schema-invalid";
|
|
1251
1276
|
"store-terms-not-accepted": "store-terms-not-accepted";
|
|
1252
1277
|
"stripe-enabled": "stripe-enabled";
|
|
@@ -1268,6 +1293,8 @@ export declare const ErrorResponse: () => z.ZodObject<{
|
|
|
1268
1293
|
"too-many-mcp-connectors": "too-many-mcp-connectors";
|
|
1269
1294
|
"too-many-o-auth-apps": "too-many-o-auth-apps";
|
|
1270
1295
|
"too-many-organizations": "too-many-organizations";
|
|
1296
|
+
"too-many-public-actor-tasks-per-account": "too-many-public-actor-tasks-per-account";
|
|
1297
|
+
"too-many-public-actor-tasks-per-actor": "too-many-public-actor-tasks-per-actor";
|
|
1271
1298
|
"too-many-requests": "too-many-requests";
|
|
1272
1299
|
"too-many-schedules": "too-many-schedules";
|
|
1273
1300
|
"too-many-ui-access-keys": "too-many-ui-access-keys";
|
|
@@ -1416,7 +1443,7 @@ export declare const DefaultRunOptions: () => z.ZodObject<{
|
|
|
1416
1443
|
build: z.ZodOptional<z.ZodString>;
|
|
1417
1444
|
timeoutSecs: z.ZodOptional<z.ZodInt>;
|
|
1418
1445
|
memoryMbytes: z.ZodOptional<z.ZodInt>;
|
|
1419
|
-
restartOnError: z.ZodOptional<z.ZodBoolean
|
|
1446
|
+
restartOnError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1420
1447
|
maxItems: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1421
1448
|
forcePermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
|
|
1422
1449
|
FULL_PERMISSIONS: "FULL_PERMISSIONS";
|
|
@@ -1484,7 +1511,7 @@ export declare const CreateActorRequest: () => z.ZodObject<{
|
|
|
1484
1511
|
build: z.ZodOptional<z.ZodString>;
|
|
1485
1512
|
timeoutSecs: z.ZodOptional<z.ZodInt>;
|
|
1486
1513
|
memoryMbytes: z.ZodOptional<z.ZodInt>;
|
|
1487
|
-
restartOnError: z.ZodOptional<z.ZodBoolean
|
|
1514
|
+
restartOnError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1488
1515
|
maxItems: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1489
1516
|
forcePermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
|
|
1490
1517
|
FULL_PERMISSIONS: "FULL_PERMISSIONS";
|
|
@@ -1583,7 +1610,7 @@ export declare const ActorChargeEvent: () => z.ZodObject<{
|
|
|
1583
1610
|
tieredEventPriceUsd: z.ZodNumber;
|
|
1584
1611
|
}, z.core.$loose>>>;
|
|
1585
1612
|
isPrimaryEvent: z.ZodOptional<z.ZodBoolean>;
|
|
1586
|
-
isOneTimeEvent: z.ZodOptional<z.ZodBoolean
|
|
1613
|
+
isOneTimeEvent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1587
1614
|
}, z.core.$loose>;
|
|
1588
1615
|
export declare const PayPerEventActorPricingInfo: () => z.ZodObject<{
|
|
1589
1616
|
apifyMarginPercentage: z.ZodNumber;
|
|
@@ -1604,7 +1631,7 @@ export declare const PayPerEventActorPricingInfo: () => z.ZodObject<{
|
|
|
1604
1631
|
tieredEventPriceUsd: z.ZodNumber;
|
|
1605
1632
|
}, z.core.$loose>>>;
|
|
1606
1633
|
isPrimaryEvent: z.ZodOptional<z.ZodBoolean>;
|
|
1607
|
-
isOneTimeEvent: z.ZodOptional<z.ZodBoolean
|
|
1634
|
+
isOneTimeEvent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1608
1635
|
}, z.core.$loose>>>;
|
|
1609
1636
|
}, z.core.$loose>;
|
|
1610
1637
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1636,6 +1663,7 @@ export declare const PricePerDatasetItemActorPricingInfo: () => z.ZodObject<{
|
|
|
1636
1663
|
tieredPricePerUnitUsd: z.ZodNumber;
|
|
1637
1664
|
}, z.core.$loose>>>;
|
|
1638
1665
|
}, z.core.$loose>;
|
|
1666
|
+
/** Rental pricing model, which is no longer supported. */
|
|
1639
1667
|
export declare const FlatPricePerMonthActorPricingInfo: () => z.ZodObject<{
|
|
1640
1668
|
apifyMarginPercentage: z.ZodNumber;
|
|
1641
1669
|
createdAt: z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>;
|
|
@@ -1679,7 +1707,7 @@ export declare const ActorRunPricingInfo: () => z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1679
1707
|
tieredEventPriceUsd: z.ZodNumber;
|
|
1680
1708
|
}, z.core.$loose>>>;
|
|
1681
1709
|
isPrimaryEvent: z.ZodOptional<z.ZodBoolean>;
|
|
1682
|
-
isOneTimeEvent: z.ZodOptional<z.ZodBoolean
|
|
1710
|
+
isOneTimeEvent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1683
1711
|
}, z.core.$loose>>>;
|
|
1684
1712
|
}, z.core.$loose>;
|
|
1685
1713
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1747,7 +1775,7 @@ export declare const ActorResource: () => z.ZodObject<{
|
|
|
1747
1775
|
name: z.ZodString;
|
|
1748
1776
|
username: z.ZodString;
|
|
1749
1777
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1750
|
-
restartOnError: z.ZodOptional<z.ZodBoolean
|
|
1778
|
+
restartOnError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1751
1779
|
isPublic: z.ZodBoolean;
|
|
1752
1780
|
actorPermissionLevel: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
|
|
1753
1781
|
FULL_PERMISSIONS: "FULL_PERMISSIONS";
|
|
@@ -1825,7 +1853,7 @@ export declare const ActorResource: () => z.ZodObject<{
|
|
|
1825
1853
|
tieredEventPriceUsd: z.ZodNumber;
|
|
1826
1854
|
}, z.core.$loose>>>;
|
|
1827
1855
|
isPrimaryEvent: z.ZodOptional<z.ZodBoolean>;
|
|
1828
|
-
isOneTimeEvent: z.ZodOptional<z.ZodBoolean
|
|
1856
|
+
isOneTimeEvent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1829
1857
|
}, z.core.$loose>>>;
|
|
1830
1858
|
}, z.core.$loose>;
|
|
1831
1859
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1871,7 +1899,7 @@ export declare const ActorResource: () => z.ZodObject<{
|
|
|
1871
1899
|
build: z.ZodOptional<z.ZodString>;
|
|
1872
1900
|
timeoutSecs: z.ZodOptional<z.ZodInt>;
|
|
1873
1901
|
memoryMbytes: z.ZodOptional<z.ZodInt>;
|
|
1874
|
-
restartOnError: z.ZodOptional<z.ZodBoolean
|
|
1902
|
+
restartOnError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1875
1903
|
maxItems: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1876
1904
|
forcePermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
|
|
1877
1905
|
FULL_PERMISSIONS: "FULL_PERMISSIONS";
|
|
@@ -1925,7 +1953,7 @@ export declare const ActorResponse: () => z.ZodObject<{
|
|
|
1925
1953
|
name: z.ZodString;
|
|
1926
1954
|
username: z.ZodString;
|
|
1927
1955
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1928
|
-
restartOnError: z.ZodOptional<z.ZodBoolean
|
|
1956
|
+
restartOnError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1929
1957
|
isPublic: z.ZodBoolean;
|
|
1930
1958
|
actorPermissionLevel: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
|
|
1931
1959
|
FULL_PERMISSIONS: "FULL_PERMISSIONS";
|
|
@@ -2003,7 +2031,7 @@ export declare const ActorResponse: () => z.ZodObject<{
|
|
|
2003
2031
|
tieredEventPriceUsd: z.ZodNumber;
|
|
2004
2032
|
}, z.core.$loose>>>;
|
|
2005
2033
|
isPrimaryEvent: z.ZodOptional<z.ZodBoolean>;
|
|
2006
|
-
isOneTimeEvent: z.ZodOptional<z.ZodBoolean
|
|
2034
|
+
isOneTimeEvent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2007
2035
|
}, z.core.$loose>>>;
|
|
2008
2036
|
}, z.core.$loose>;
|
|
2009
2037
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2049,7 +2077,7 @@ export declare const ActorResponse: () => z.ZodObject<{
|
|
|
2049
2077
|
build: z.ZodOptional<z.ZodString>;
|
|
2050
2078
|
timeoutSecs: z.ZodOptional<z.ZodInt>;
|
|
2051
2079
|
memoryMbytes: z.ZodOptional<z.ZodInt>;
|
|
2052
|
-
restartOnError: z.ZodOptional<z.ZodBoolean
|
|
2080
|
+
restartOnError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2053
2081
|
maxItems: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2054
2082
|
forcePermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
|
|
2055
2083
|
FULL_PERMISSIONS: "FULL_PERMISSIONS";
|
|
@@ -2161,7 +2189,7 @@ export declare const UpdateActorRequest: () => z.ZodObject<{
|
|
|
2161
2189
|
tieredEventPriceUsd: z.ZodNumber;
|
|
2162
2190
|
}, z.core.$loose>>>;
|
|
2163
2191
|
isPrimaryEvent: z.ZodOptional<z.ZodBoolean>;
|
|
2164
|
-
isOneTimeEvent: z.ZodOptional<z.ZodBoolean
|
|
2192
|
+
isOneTimeEvent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2165
2193
|
}, z.core.$loose>>>;
|
|
2166
2194
|
}, z.core.$loose>;
|
|
2167
2195
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2208,7 +2236,7 @@ export declare const UpdateActorRequest: () => z.ZodObject<{
|
|
|
2208
2236
|
build: z.ZodOptional<z.ZodString>;
|
|
2209
2237
|
timeoutSecs: z.ZodOptional<z.ZodInt>;
|
|
2210
2238
|
memoryMbytes: z.ZodOptional<z.ZodInt>;
|
|
2211
|
-
restartOnError: z.ZodOptional<z.ZodBoolean
|
|
2239
|
+
restartOnError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2212
2240
|
maxItems: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2213
2241
|
forcePermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
|
|
2214
2242
|
FULL_PERMISSIONS: "FULL_PERMISSIONS";
|
|
@@ -2848,7 +2876,7 @@ export declare const Build: () => z.ZodObject<{
|
|
|
2848
2876
|
SOURCE_FILES: "SOURCE_FILES";
|
|
2849
2877
|
TARBALL: "TARBALL";
|
|
2850
2878
|
}>, z.ZodString]>>;
|
|
2851
|
-
buildTag: z.ZodOptional<z.ZodString
|
|
2879
|
+
buildTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2852
2880
|
versionNumber: z.ZodOptional<z.ZodString>;
|
|
2853
2881
|
gitRepoUrl: z.ZodOptional<z.ZodString>;
|
|
2854
2882
|
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2946,7 +2974,7 @@ export declare const BuildResponse: () => z.ZodObject<{
|
|
|
2946
2974
|
SOURCE_FILES: "SOURCE_FILES";
|
|
2947
2975
|
TARBALL: "TARBALL";
|
|
2948
2976
|
}>, z.ZodString]>>;
|
|
2949
|
-
buildTag: z.ZodOptional<z.ZodString
|
|
2977
|
+
buildTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2950
2978
|
versionNumber: z.ZodOptional<z.ZodString>;
|
|
2951
2979
|
gitRepoUrl: z.ZodOptional<z.ZodString>;
|
|
2952
2980
|
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3302,7 +3330,7 @@ export declare const Run: () => z.ZodObject<{
|
|
|
3302
3330
|
tieredEventPriceUsd: z.ZodNumber;
|
|
3303
3331
|
}, z.core.$loose>>>;
|
|
3304
3332
|
isPrimaryEvent: z.ZodOptional<z.ZodBoolean>;
|
|
3305
|
-
isOneTimeEvent: z.ZodOptional<z.ZodBoolean
|
|
3333
|
+
isOneTimeEvent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3306
3334
|
}, z.core.$loose>>>;
|
|
3307
3335
|
}, z.core.$loose>;
|
|
3308
3336
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3493,7 +3521,7 @@ export declare const RunResponse: () => z.ZodObject<{
|
|
|
3493
3521
|
tieredEventPriceUsd: z.ZodNumber;
|
|
3494
3522
|
}, z.core.$loose>>>;
|
|
3495
3523
|
isPrimaryEvent: z.ZodOptional<z.ZodBoolean>;
|
|
3496
|
-
isOneTimeEvent: z.ZodOptional<z.ZodBoolean
|
|
3524
|
+
isOneTimeEvent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3497
3525
|
}, z.core.$loose>>>;
|
|
3498
3526
|
}, z.core.$loose>;
|
|
3499
3527
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -5828,9 +5856,6 @@ export declare const CurrentPricingInfo: () => z.ZodObject<{
|
|
|
5828
5856
|
forceContainsSignificantPriceChange: z.ZodOptional<z.ZodBoolean>;
|
|
5829
5857
|
isPPEPlatformUsagePaidByUser: z.ZodOptional<z.ZodBoolean>;
|
|
5830
5858
|
reasonForChange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5831
|
-
trialMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5832
|
-
unitName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5833
|
-
pricePerUnitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5834
5859
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5835
5860
|
pricingPerEvent: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5836
5861
|
}, z.core.$loose>;
|
|
@@ -5881,9 +5906,6 @@ export declare const StoreActor: () => z.ZodObject<{
|
|
|
5881
5906
|
forceContainsSignificantPriceChange: z.ZodOptional<z.ZodBoolean>;
|
|
5882
5907
|
isPPEPlatformUsagePaidByUser: z.ZodOptional<z.ZodBoolean>;
|
|
5883
5908
|
reasonForChange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5884
|
-
trialMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5885
|
-
unitName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5886
|
-
pricePerUnitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5887
5909
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5888
5910
|
pricingPerEvent: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5889
5911
|
}, z.core.$loose>>;
|
|
@@ -5947,9 +5969,6 @@ export declare const ListOfStoreActors: () => z.ZodObject<{
|
|
|
5947
5969
|
forceContainsSignificantPriceChange: z.ZodOptional<z.ZodBoolean>;
|
|
5948
5970
|
isPPEPlatformUsagePaidByUser: z.ZodOptional<z.ZodBoolean>;
|
|
5949
5971
|
reasonForChange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5950
|
-
trialMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5951
|
-
unitName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5952
|
-
pricePerUnitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5953
5972
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5954
5973
|
pricingPerEvent: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5955
5974
|
}, z.core.$loose>>;
|
|
@@ -6015,9 +6034,6 @@ export declare const ListOfStoreActorsResponse: () => z.ZodObject<{
|
|
|
6015
6034
|
forceContainsSignificantPriceChange: z.ZodOptional<z.ZodBoolean>;
|
|
6016
6035
|
isPPEPlatformUsagePaidByUser: z.ZodOptional<z.ZodBoolean>;
|
|
6017
6036
|
reasonForChange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6018
|
-
trialMinutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6019
|
-
unitName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6020
|
-
pricePerUnitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6021
6037
|
minimalMaxTotalChargeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6022
6038
|
pricingPerEvent: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6023
6039
|
}, z.core.$loose>>;
|
|
@@ -49,7 +49,7 @@ export const ListOfActorsResponse = lazySchema(() => z.looseObject({
|
|
|
49
49
|
data: ListOfActors(),
|
|
50
50
|
}));
|
|
51
51
|
/** Machine-processable error type identifier. */
|
|
52
|
-
export const ErrorType = lazySchema(() => z.enum(["3d-secure-auth-failed", "access-right-already-exists", "action-not-found", "actor-already-rented", "actor-can-not-be-rented", "actor-disabled", "actor-is-not-rented", "actor-memory-limit-exceeded", "actor-name-exists-new-owner", "actor-name-not-unique", "actor-not-found", "actor-not-github-actor", "actor-not-public", "actor-permission-level-not-supported-for-agentic-payments", "actor-review-already-exists", "actor-run-failed", "actor-standby-not-supported-for-agentic-payments", "actor-task-name-not-unique", "agentic-payment-info-retrieval-error", "agentic-payment-information-missing", "agentic-payment-insufficient-amount", "agentic-payment-provider-internal-error", "agentic-payment-provider-unauthorized", "airtable-webhook-deprecated", "already-subscribed-to-paid-actor", "apify-plan-required-to-use-paid-actor", "apify-signup-not-allowed", "auth-method-not-supported", "authorization-server-not-found", "auto-issue-date-invalid", "background-check-required", "billing-system-error", "black-friday-plan-expired", "braintree-error", "braintree-not-linked", "braintree-operation-timed-out", "braintree-unsupported-currency", "build-not-found", "build-outdated", "cannot-add-apify-events-to-ppe-actor", "cannot-add-multiple-pricing-infos", "cannot-add-pricing-info-that-alters-past", "cannot-add-second-future-pricing-info", "cannot-build-actor-from-webhook", "cannot-change-billing-interval", "cannot-change-owner", "cannot-charge-apify-event", "cannot-charge-non-pay-per-event-actor", "cannot-comment-as-other-user", "cannot-copy-actor-task", "cannot-create-payout", "cannot-create-public-actor", "cannot-create-tax-transaction", "cannot-delete-critical-actor", "cannot-delete-invoice", "cannot-delete-paid-actor", "cannot-disable-one-time-event-for-apify-start-event", "cannot-disable-organization-with-enabled-members", "cannot-disable-user-with-subscription", "cannot-link-oauth-to-unverified-email", "cannot-metamorph-to-pay-per-result-actor", "cannot-modify-actor-pricing-too-frequently", "cannot-modify-actor-pricing-with-immediate-effect", "cannot-monetize-without-payout-billing-info", "cannot-override-paid-actor-trial", "cannot-permanently-delete-subscription", "cannot-publish-actor", "cannot-publish-actor-task", "cannot-reduce-last-full-token", "cannot-reimburse-more-than-original-charge", "cannot-reimburse-non-rental-charge", "cannot-remove-own-actor-from-recently-used", "cannot-remove-payment-method", "cannot-remove-pricing-info", "cannot-remove-running-run", "cannot-remove-user-with-public-actors", "cannot-remove-user-with-subscription", "cannot-remove-user-with-unpaid-invoice", "cannot-rename-env-var", "cannot-rent-paid-actor", "cannot-review-own-actor", "cannot-set-access-rights-for-owner", "cannot-set-is-status-message-terminal", "cannot-unpublish-critical-actor", "cannot-unpublish-paid-actor", "cannot-unpublish-profile", "cannot-update-invoice-field", "concurrent-runs-limit-exceeded", "concurrent-update-detected", "conference-token-not-found", "content-encoding-forbidden-for-html", "coupon-already-redeemed", "coupon-expired", "coupon-for-new-customers", "coupon-for-subscribed-users", "coupon-limits-are-in-conflict-with-current-limits", "coupon-max-number-of-redemptions-reached", "coupon-not-found", "coupon-not-unique", "coupons-disabled", "create-github-issue-not-allowed", "creator-plan-not-available", "cron-expression-invalid", "daily-ai-token-limit-exceeded", "daily-publication-limit-exceeded", "dataset-does-not-have-fields-schema", "dataset-does-not-have-schema", "dataset-locked", "dataset-schema-invalid", "dcr-not-supported", "default-dataset-not-found", "deleting-default-build", "deleting-unfinished-build", "email-already-taken", "email-already-taken-removed-user", "email-domain-not-allowed-for-coupon", "email-invalid", "email-not-allowed", "email-not-valid", "email-update-too-soon", "elevated-permissions-needed", "env-var-already-exists", "exchange-rate-fetch-failed", "expired-conference-token", "failed-to-charge-user", "final-invoice-negative", "full-permission-actor-blocked-for-admin", "full-permission-actor-not-approved", "github-branch-empty", "github-issue-already-exists", "github-public-key-not-found", "github-repository-not-found", "github-signature-does-not-match-payload", "github-user-not-authorized-for-issues", "gmail-not-allowed", "id-does-not-match", "incompatible-billing-interval", "incomplete-payout-billing-info", "inconsistent-currencies", "incorrect-pricing-modifier-prefix", "input-json-invalid-characters", "input-json-not-object", "input-json-too-long", "input-update-collision", "insufficient-permissions", "insufficient-permissions-to-change-field", "insufficient-security-measures", "insufficient-tax-country-evidence", "integration-auth-error", "internal-server-error", "invalid-billing-info", "invalid-billing-period-for-payout", "invalid-build", "invalid-client-key", "invalid-collection", "invalid-conference-login-password", "invalid-content-type-header", "invalid-credentials", "invalid-git-auth-token", "invalid-github-issue-url", "invalid-header", "invalid-id", "invalid-idempotency-key", "invalid-input", "invalid-input-schema", "invalid-invoice", "invalid-invoice-type", "invalid-issue-date", "invalid-label-params", "invalid-main-account-user-id", "invalid-oauth-app", "invalid-oauth-scope", "invalid-one-time-invoice", "invalid-parameter", "invalid-payout-status", "invalid-picture-url", "invalid-record-key", "invalid-request", "invalid-resource-type", "invalid-signature", "invalid-subscription-plan", "invalid-tax-number", "invalid-tax-number-format", "invalid-token", "invalid-token-type", "invalid-two-factor-code", "invalid-two-factor-code-or-recovery-code", "invalid-two-factor-recovery-code", "invalid-username", "invalid-value", "invitation-invalid-resource-type", "invitation-no-longer-valid", "invoice-canceled", "invoice-cannot-be-refunded-due-to-too-high-amount", "invoice-incomplete", "invoice-is-draft", "invoice-locked", "invoice-must-be-buffer", "invoice-not-canceled", "invoice-not-draft", "invoice-not-found", "invoice-outdated", "invoice-paid-already", "issue-already-connected-to-github", "issue-not-found", "issues-bad-request", "issuer-not-registered", "job-finished", "label-already-linked", "last-api-token", "limit-reached", "max-items-must-be-greater-than-zero", "max-metamorphs-exceeded", "max-total-charge-usd-below-minimum", "max-total-charge-usd-must-be-greater-than-zero", "method-not-allowed", "migration-disabled", "missing-actor-rights", "missing-api-token", "missing-billing-info", "missing-line-items", "missing-payment-date", "missing-payout-billing-info", "missing-proxy-password", "missing-reporting-fields", "missing-resource-name", "missing-settings", "missing-username", "monthly-usage-limit-too-low", "more-than-one-update-not-allowed", "multiple-records-found", "must-be-admin", "name-not-unique", "next-runtime-computation-failed", "no-columns-in-exported-dataset", "no-payment-attempt-for-refund-found", "no-payment-method-available", "no-team-account-seats-available", "non-temporary-email", "not-enough-usage-to-run-paid-actor", "not-implemented", "not-supported-currencies", "o-auth-service-already-connected", "o-auth-service-not-connected", "oauth-resource-access-failed", "one-time-invoice-already-marked-paid", "only-drafts-can-be-deleted", "operation-canceled", "operation-not-allowed", "operation-timed-out", "organization-cannot-own-itself", "organization-role-not-found", "overlapping-payout-billing-periods", "own-token-required", "page-not-found", "param-not-one-of", "parameter-required", "parameters-mismatched", "password-reset-email-already-sent", "password-reset-token-expired", "pay-as-you-go-without-monthly-interval", "payment-attempt-status-message-required", "payout-already-paid", "payout-canceled", "payout-invalid-state", "payout-must-be-approved-to-be-marked-paid", "payout-not-found", "payout-number-already-exists", "phone-number-invalid", "phone-number-landline", "phone-number-opted-out", "phone-verification-disabled", "platform-feature-disabled", "price-overrides-validation-failed", "pricing-model-not-supported", "promotional-plan-not-available", "proxy-auth-ip-not-unique", "public-actor-disabled", "query-timeout", "quoted-price-outdated", "rate-limit-exceeded", "recaptcha-invalid", "recaptcha-required", "record-not-found", "record-not-public", "record-or-token-not-found", "record-too-large", "redirect-uri-mismatch", "reduced-plan-not-available", "rental-charge-already-reimbursed", "rental-not-allowed", "request-aborted-prematurely", "request-handled-or-locked", "request-id-invalid", "request-queue-duplicate-requests", "request-too-large", "requested-dataset-view-does-not-exist", "resume-token-expired", "run-failed", "run-input-body-not-valid-json", "run-timeout-exceeded", "russia-is-evil", "same-user", "schedule-actor-not-found", "schedule-actor-task-not-found", "schedule-name-not-unique", "schema-validation", "schema-validation-error", "schema-validation-failed", "service-worker-registration-not-allowed", "sign-up-method-not-allowed", "slack-integration-not-custom", "socket-closed", "socket-destroyed", "store-schema-invalid", "store-terms-not-accepted", "stripe-enabled", "stripe-generic-decline", "stripe-not-enabled", "stripe-not-enabled-for-user", "tagged-build-required", "tax-country-invalid", "tax-number-invalid", "tax-number-validation-failed", "taxamo-call-failed", "taxamo-request-failed", "testing-error", "token-not-provided", "too-few-versions", "too-many-actor-tasks", "too-many-actors", "too-many-labels-on-resource", "too-many-mcp-connectors", "too-many-o-auth-apps", "too-many-organizations", "too-many-requests", "too-many-schedules", "too-many-ui-access-keys", "too-many-user-labels", "too-many-values", "too-many-versions", "too-many-webhooks", "unexpected-route", "unknown-build-tag", "unknown-payment-provider", "unsubscribe-token-invalid", "unsupported-actor-pricing-model-for-agentic-payments", "unsupported-content-encoding", "unsupported-file-type-for-issue", "unsupported-file-type-image-expected", "unsupported-file-type-text-or-json-expected", "unsupported-permission", "upcoming-subscription-bill-not-up-to-date", "user-already-exists", "user-already-verified", "user-creates-organizations-too-fast", "user-disabled", "user-email-is-disposable", "user-email-not-set", "user-email-not-verified", "user-has-no-subscription", "user-integration-not-found", "user-is-already-invited", "user-is-already-organization-member", "user-is-not-member-of-organization", "user-is-not-organization", "user-is-organization", "user-is-organization-owner", "user-is-removed", "user-not-found", "user-not-logged-in", "user-not-verified", "user-or-token-not-found", "user-plan-not-allowed-for-coupon", "user-problem-with-card", "user-record-not-found", "username-already-taken", "username-missing", "username-not-allowed", "username-removal-forbidden", "username-required", "verification-email-already-sent", "verification-token-expired", "version-already-exists", "versions-size-exceeded", "weak-password", "x402-agentic-payment-already-finalized", "x402-agentic-payment-insufficient-amount", "x402-agentic-payment-malformed-token", "x402-agentic-payment-settlement-failed", "x402-agentic-payment-settlement-in-progress", "x402-agentic-payment-settlement-stuck", "x402-agentic-payment-unauthorized", "x402-payment-required", "zero-invoice"]).or(z.string()));
|
|
52
|
+
export const ErrorType = lazySchema(() => z.enum(["3d-secure-auth-failed", "access-right-already-exists", "action-not-found", "actor-already-rented", "actor-can-not-be-rented", "actor-disabled", "actor-is-not-rented", "actor-memory-limit-exceeded", "actor-name-exists-new-owner", "actor-name-not-unique", "actor-not-found", "actor-not-github-actor", "actor-not-public", "actor-permission-level-not-supported-for-agentic-payments", "actor-review-already-exists", "actor-run-failed", "actor-standby-not-supported-for-agentic-payments", "actor-task-name-not-unique", "agentic-payment-info-retrieval-error", "agentic-payment-information-missing", "agentic-payment-insufficient-amount", "agentic-payment-provider-internal-error", "agentic-payment-provider-unauthorized", "airtable-webhook-deprecated", "already-subscribed-to-paid-actor", "apify-plan-required-to-use-paid-actor", "apify-signup-not-allowed", "auth-method-not-supported", "authorization-server-not-found", "auto-issue-date-invalid", "background-check-required", "billing-system-error", "black-friday-plan-expired", "braintree-error", "braintree-not-linked", "braintree-operation-timed-out", "braintree-unsupported-currency", "build-not-found", "build-outdated", "cannot-add-apify-events-to-ppe-actor", "cannot-add-multiple-pricing-infos", "cannot-add-pricing-info-that-alters-past", "cannot-add-second-future-pricing-info", "cannot-build-actor-from-webhook", "cannot-change-billing-interval", "cannot-change-owner", "cannot-charge-apify-event", "cannot-charge-non-pay-per-event-actor", "cannot-comment-as-other-user", "cannot-copy-actor-task", "cannot-create-payout", "cannot-create-public-actor", "cannot-create-tax-transaction", "cannot-delete-critical-actor", "cannot-delete-invoice", "cannot-delete-paid-actor", "cannot-disable-one-time-event-for-apify-start-event", "cannot-disable-organization-with-enabled-members", "cannot-disable-user-with-subscription", "cannot-link-oauth-to-unverified-email", "cannot-metamorph-to-pay-per-result-actor", "cannot-modify-actor-pricing-too-frequently", "cannot-modify-actor-pricing-with-immediate-effect", "cannot-monetize-without-payout-billing-info", "cannot-override-paid-actor-trial", "cannot-permanently-delete-subscription", "cannot-publish-actor", "cannot-publish-actor-task", "cannot-reduce-last-full-token", "cannot-reimburse-more-than-original-charge", "cannot-reimburse-non-rental-charge", "cannot-remove-own-actor-from-recently-used", "cannot-remove-payment-method", "cannot-remove-pricing-info", "cannot-remove-running-run", "cannot-remove-user-with-public-actors", "cannot-remove-user-with-subscription", "cannot-remove-user-with-unpaid-invoice", "cannot-rename-env-var", "cannot-rent-paid-actor", "cannot-review-own-actor", "cannot-set-access-rights-for-owner", "cannot-set-is-status-message-terminal", "cannot-unpublish-critical-actor", "cannot-unpublish-paid-actor", "cannot-unpublish-profile", "cannot-update-invoice-field", "concurrent-runs-limit-exceeded", "concurrent-update-detected", "conference-token-not-found", "content-encoding-forbidden-for-html", "coupon-already-redeemed", "coupon-expired", "coupon-for-new-customers", "coupon-for-subscribed-users", "coupon-limits-are-in-conflict-with-current-limits", "coupon-max-number-of-redemptions-reached", "coupon-not-found", "coupon-not-unique", "coupons-disabled", "create-github-issue-not-allowed", "creator-plan-not-available", "cron-expression-invalid", "daily-ai-token-limit-exceeded", "daily-publication-limit-exceeded", "dataset-does-not-have-fields-schema", "dataset-does-not-have-schema", "dataset-locked", "dataset-schema-invalid", "dcr-not-supported", "default-dataset-not-found", "deleting-default-build", "deleting-unfinished-build", "email-already-taken", "email-already-taken-removed-user", "email-domain-not-allowed-for-coupon", "email-invalid", "email-not-allowed", "email-not-valid", "email-update-too-soon", "elevated-permissions-needed", "env-var-already-exists", "exchange-rate-fetch-failed", "expired-conference-token", "failed-to-charge-user", "final-invoice-negative", "full-permission-actor-blocked-for-admin", "full-permission-actor-not-approved", "full-permissions-require-verified-owner", "github-branch-empty", "github-issue-already-exists", "github-public-key-not-found", "github-repository-not-found", "github-signature-does-not-match-payload", "github-user-not-authorized-for-issues", "gmail-not-allowed", "id-does-not-match", "incompatible-billing-interval", "incomplete-payout-billing-info", "inconsistent-currencies", "incorrect-pricing-modifier-prefix", "input-json-invalid-characters", "input-json-not-object", "input-json-too-long", "input-update-collision", "input-validation-timed-out", "insufficient-permissions", "insufficient-permissions-to-change-field", "insufficient-security-measures", "insufficient-tax-country-evidence", "integration-auth-error", "internal-server-error", "invalid-billing-info", "invalid-billing-period-for-payout", "invalid-build", "invalid-client-key", "invalid-collection", "invalid-conference-login-password", "invalid-content-type-header", "invalid-credentials", "invalid-git-auth-token", "invalid-github-issue-url", "invalid-header", "invalid-id", "invalid-idempotency-key", "invalid-input", "invalid-input-schema", "invalid-invoice", "invalid-invoice-type", "invalid-issue-date", "invalid-label-params", "invalid-main-account-user-id", "invalid-oauth-app", "invalid-oauth-scope", "invalid-one-time-invoice", "invalid-parameter", "invalid-payout-status", "invalid-picture-url", "invalid-record-key", "invalid-request", "invalid-resource-type", "invalid-signature", "invalid-subscription-plan", "invalid-tax-number", "invalid-tax-number-format", "invalid-token", "invalid-token-type", "invalid-two-factor-code", "invalid-two-factor-code-or-recovery-code", "invalid-two-factor-recovery-code", "invalid-username", "invalid-value", "invitation-invalid-resource-type", "invitation-no-longer-valid", "invoice-canceled", "invoice-cannot-be-refunded-due-to-too-high-amount", "invoice-incomplete", "invoice-is-draft", "invoice-locked", "invoice-must-be-buffer", "invoice-not-canceled", "invoice-not-draft", "invoice-not-found", "invoice-outdated", "invoice-paid-already", "issue-already-connected-to-github", "issue-not-found", "issues-bad-request", "issuer-not-registered", "job-finished", "label-already-linked", "last-api-token", "limit-reached", "max-items-must-be-greater-than-zero", "max-metamorphs-exceeded", "max-total-charge-usd-below-minimum", "max-total-charge-usd-must-be-greater-than-zero", "mcp-connector-actor-not-allowed", "method-not-allowed", "migration-disabled", "missing-actor-rights", "missing-api-token", "missing-billing-info", "missing-line-items", "missing-payment-date", "missing-payout-billing-info", "missing-proxy-password", "missing-reporting-fields", "missing-resource-name", "missing-settings", "missing-username", "monthly-usage-limit-too-low", "more-public-actors-require-verified-owner", "more-than-one-update-not-allowed", "multiple-records-found", "must-be-admin", "name-not-unique", "next-runtime-computation-failed", "no-columns-in-exported-dataset", "no-payment-attempt-for-refund-found", "no-payment-method-available", "no-team-account-seats-available", "non-temporary-email", "not-enough-usage-to-run-paid-actor", "not-implemented", "not-supported-currencies", "o-auth-service-already-connected", "o-auth-service-not-connected", "oauth-resource-access-failed", "one-time-invoice-already-marked-paid", "only-drafts-can-be-deleted", "operation-canceled", "operation-not-allowed", "operation-timed-out", "organization-cannot-own-itself", "organization-role-not-found", "overlapping-payout-billing-periods", "own-token-required", "page-not-found", "param-not-one-of", "parameter-required", "parameters-mismatched", "password-reset-email-already-sent", "password-reset-token-expired", "pay-as-you-go-without-monthly-interval", "payment-attempt-status-message-required", "payout-already-paid", "payout-canceled", "payout-invalid-state", "payout-must-be-approved-to-be-marked-paid", "payout-not-found", "payout-number-already-exists", "phone-number-invalid", "phone-number-landline", "phone-number-opted-out", "phone-verification-disabled", "platform-feature-disabled", "price-overrides-validation-failed", "pricing-model-not-supported", "promotional-plan-not-available", "proxy-auth-ip-not-unique", "public-actor-disabled", "query-timeout", "quoted-price-outdated", "rate-limit-exceeded", "readme-required", "recaptcha-invalid", "recaptcha-required", "record-not-found", "record-not-public", "record-or-token-not-found", "record-too-large", "redirect-uri-mismatch", "reduced-plan-not-available", "rental-charge-already-reimbursed", "rental-not-allowed", "request-aborted-prematurely", "request-handled-or-locked", "request-id-invalid", "request-queue-duplicate-requests", "request-too-large", "requested-dataset-view-does-not-exist", "resume-token-expired", "run-failed", "run-input-body-not-valid-json", "run-timeout-exceeded", "russia-is-evil", "same-user", "schedule-actor-not-found", "schedule-actor-task-not-found", "schedule-name-not-unique", "schema-validation", "schema-validation-error", "schema-validation-failed", "schemas-required", "service-worker-registration-not-allowed", "sign-up-method-not-allowed", "slack-integration-not-custom", "socket-closed", "socket-destroyed", "standby-deployment-invalid", "store-schema-invalid", "store-terms-not-accepted", "stripe-enabled", "stripe-generic-decline", "stripe-not-enabled", "stripe-not-enabled-for-user", "tagged-build-required", "tax-country-invalid", "tax-number-invalid", "tax-number-validation-failed", "taxamo-call-failed", "taxamo-request-failed", "testing-error", "token-not-provided", "too-few-versions", "too-many-actor-tasks", "too-many-actors", "too-many-labels-on-resource", "too-many-mcp-connectors", "too-many-o-auth-apps", "too-many-organizations", "too-many-public-actor-tasks-per-account", "too-many-public-actor-tasks-per-actor", "too-many-requests", "too-many-schedules", "too-many-ui-access-keys", "too-many-user-labels", "too-many-values", "too-many-versions", "too-many-webhooks", "unexpected-route", "unknown-build-tag", "unknown-payment-provider", "unsubscribe-token-invalid", "unsupported-actor-pricing-model-for-agentic-payments", "unsupported-content-encoding", "unsupported-file-type-for-issue", "unsupported-file-type-image-expected", "unsupported-file-type-text-or-json-expected", "unsupported-permission", "upcoming-subscription-bill-not-up-to-date", "user-already-exists", "user-already-verified", "user-creates-organizations-too-fast", "user-disabled", "user-email-is-disposable", "user-email-not-set", "user-email-not-verified", "user-has-no-subscription", "user-integration-not-found", "user-is-already-invited", "user-is-already-organization-member", "user-is-not-member-of-organization", "user-is-not-organization", "user-is-organization", "user-is-organization-owner", "user-is-removed", "user-not-found", "user-not-logged-in", "user-not-verified", "user-or-token-not-found", "user-plan-not-allowed-for-coupon", "user-problem-with-card", "user-record-not-found", "username-already-taken", "username-missing", "username-not-allowed", "username-removal-forbidden", "username-required", "verification-email-already-sent", "verification-token-expired", "version-already-exists", "versions-size-exceeded", "weak-password", "x402-agentic-payment-already-finalized", "x402-agentic-payment-insufficient-amount", "x402-agentic-payment-malformed-token", "x402-agentic-payment-settlement-failed", "x402-agentic-payment-settlement-in-progress", "x402-agentic-payment-settlement-stuck", "x402-agentic-payment-unauthorized", "x402-payment-required", "zero-invoice"]).or(z.string()));
|
|
53
53
|
export const ErrorDetail = lazySchema(() => z.looseObject({
|
|
54
54
|
type: ErrorType().optional(),
|
|
55
55
|
message: z.string().optional(),
|
|
@@ -98,7 +98,7 @@ export const DefaultRunOptions = lazySchema(() => z.looseObject({
|
|
|
98
98
|
build: z.string().optional(),
|
|
99
99
|
timeoutSecs: z.int().optional(),
|
|
100
100
|
memoryMbytes: z.int().optional(),
|
|
101
|
-
restartOnError: z.boolean().optional(),
|
|
101
|
+
restartOnError: z.boolean().nullable().optional(),
|
|
102
102
|
maxItems: z.int().nullable().optional(),
|
|
103
103
|
forcePermissionLevel: ActorPermissionLevel().nullable().optional(),
|
|
104
104
|
}));
|
|
@@ -178,7 +178,7 @@ export const ActorChargeEvent = lazySchema(() => z.looseObject({
|
|
|
178
178
|
eventPriceUsd: z.number().optional(),
|
|
179
179
|
eventTieredPricingUsd: TieredPricingPerEvent().optional(),
|
|
180
180
|
isPrimaryEvent: z.boolean().optional(),
|
|
181
|
-
isOneTimeEvent: z.boolean().optional(),
|
|
181
|
+
isOneTimeEvent: z.boolean().nullable().optional(),
|
|
182
182
|
}));
|
|
183
183
|
export const PayPerEventActorPricingInfo = lazySchema(() => CommonActorPricingInfo().extend({
|
|
184
184
|
pricingModel: z.literal("PAY_PER_EVENT"),
|
|
@@ -202,6 +202,7 @@ export const PricePerDatasetItemActorPricingInfo = lazySchema(() => CommonActorP
|
|
|
202
202
|
pricePerUnitUsd: z.number().optional(),
|
|
203
203
|
tieredPricing: TieredPricingPerDatasetItem().optional(),
|
|
204
204
|
}));
|
|
205
|
+
/** Rental pricing model, which is no longer supported. */
|
|
205
206
|
export const FlatPricePerMonthActorPricingInfo = lazySchema(() => CommonActorPricingInfo().extend({
|
|
206
207
|
pricingModel: z.literal("FLAT_PRICE_PER_MONTH"),
|
|
207
208
|
trialMinutes: z.int(),
|
|
@@ -228,7 +229,7 @@ export const ActorResource = lazySchema(() => z.looseObject({
|
|
|
228
229
|
name: z.string(),
|
|
229
230
|
username: z.string(),
|
|
230
231
|
description: z.string().nullable().optional(),
|
|
231
|
-
restartOnError: z.boolean().optional(),
|
|
232
|
+
restartOnError: z.boolean().nullable().optional(),
|
|
232
233
|
isPublic: z.boolean(),
|
|
233
234
|
actorPermissionLevel: ActorPermissionLevel().optional(),
|
|
234
235
|
createdAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
@@ -433,7 +434,7 @@ export const Build = lazySchema(() => z.looseObject({
|
|
|
433
434
|
imageDigest: z.string().nullable().optional(),
|
|
434
435
|
actVersion: z.looseObject({
|
|
435
436
|
sourceType: VersionSourceType().optional(),
|
|
436
|
-
buildTag: z.string().optional(),
|
|
437
|
+
buildTag: z.string().nullable().optional(),
|
|
437
438
|
versionNumber: z.string().regex(/^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])$/).optional(),
|
|
438
439
|
gitRepoUrl: z.string().optional(),
|
|
439
440
|
sourceFiles: z.array(SourceCodeFile()).optional(),
|
|
@@ -1319,9 +1320,6 @@ export const CurrentPricingInfo = lazySchema(() => z.looseObject({
|
|
|
1319
1320
|
forceContainsSignificantPriceChange: z.boolean().optional(),
|
|
1320
1321
|
isPPEPlatformUsagePaidByUser: z.boolean().optional(),
|
|
1321
1322
|
reasonForChange: z.string().nullable().optional(),
|
|
1322
|
-
trialMinutes: z.int().nullable().optional(),
|
|
1323
|
-
unitName: z.string().nullable().optional(),
|
|
1324
|
-
pricePerUnitUsd: z.number().nullable().optional(),
|
|
1325
1323
|
minimalMaxTotalChargeUsd: z.number().nullable().optional(),
|
|
1326
1324
|
pricingPerEvent: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
1327
1325
|
}));
|
|
@@ -280,7 +280,8 @@ export declare abstract class HttpClient {
|
|
|
280
280
|
* The inherited {@link call} needs it, so every transport has to implement it. Let the library's errors
|
|
281
281
|
* propagate unwrapped: {@link call} classifies them through {@link isRetryableTransportError} and
|
|
282
282
|
* {@link isTimeoutError}. Return error responses as they are too, the pipeline turns them into
|
|
283
|
-
* {@link ApifyApiError} and decides whether to retry.
|
|
283
|
+
* {@link ApifyApiError} and decides whether to retry. Reject when the connection drops before the body is
|
|
284
|
+
* complete: the pipeline takes a returned body as whole and does not retry one that fails to parse.
|
|
284
285
|
*
|
|
285
286
|
* @param request - The request to send, with the headers merged, the body serialized and the query encoded.
|
|
286
287
|
* @returns The response, with the body unread when `request.stream` is set and as raw bytes otherwise.
|
|
@@ -169,7 +169,8 @@ export class HttpClient {
|
|
|
169
169
|
* The inherited {@link call} needs it, so every transport has to implement it. Let the library's errors
|
|
170
170
|
* propagate unwrapped: {@link call} classifies them through {@link isRetryableTransportError} and
|
|
171
171
|
* {@link isTimeoutError}. Return error responses as they are too, the pipeline turns them into
|
|
172
|
-
* {@link ApifyApiError} and decides whether to retry.
|
|
172
|
+
* {@link ApifyApiError} and decides whether to retry. Reject when the connection drops before the body is
|
|
173
|
+
* complete: the pipeline takes a returned body as whole and does not retry one that fails to parse.
|
|
173
174
|
*
|
|
174
175
|
* @param request - The request to send, with the headers merged, the body serialized and the query encoded.
|
|
175
176
|
* @returns The response, with the body unread when `request.stream` is set and as raw bytes otherwise.
|
|
@@ -357,12 +358,14 @@ export class HttpClient {
|
|
|
357
358
|
data = this.#parseResponseBody(response, config);
|
|
358
359
|
}
|
|
359
360
|
catch (err) {
|
|
360
|
-
//
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
// The body of a success arrived in full, since a transfer cut short fails in `sendRequest()`, so a
|
|
362
|
+
// retry would get the same body back.
|
|
363
|
+
if (response.status < 300) {
|
|
363
364
|
stopRetrying();
|
|
365
|
+
throw err;
|
|
364
366
|
}
|
|
365
|
-
|
|
367
|
+
// An error status is reported by its code, and `ApifyApiError` makes what it can of the raw body.
|
|
368
|
+
data = response.body;
|
|
366
369
|
}
|
|
367
370
|
const apifyResponse = {
|
|
368
371
|
status: response.status,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ApifyClientError } from './apify_client_error.js';
|
|
2
2
|
import type { HttpResponse } from './http_clients/base.js';
|
|
3
3
|
/**
|
|
4
|
-
* Thrown when a response
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Thrown when the body of a successful response does not parse as its content type claims, for example a non-JSON
|
|
5
|
+
* value stored under `application/json`. The response arrived in full, so the request is not retried. An error
|
|
6
|
+
* status with an unparsable body throws {@link ApifyApiError} for its status code.
|
|
7
7
|
*/
|
|
8
8
|
export declare class InvalidResponseBodyError extends ApifyClientError {
|
|
9
9
|
code: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApifyClientError } from './apify_client_error.js';
|
|
2
2
|
/**
|
|
3
|
-
* Thrown when a response
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* Thrown when the body of a successful response does not parse as its content type claims, for example a non-JSON
|
|
4
|
+
* value stored under `application/json`. The response arrived in full, so the request is not retried. An error
|
|
5
|
+
* status with an unparsable body throws {@link ApifyApiError} for its status code.
|
|
6
6
|
*/
|
|
7
7
|
export class InvalidResponseBodyError extends ApifyClientError {
|
|
8
8
|
code;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apify-client",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.74",
|
|
4
4
|
"description": "Apify API client for JavaScript",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.13.0"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
],
|
|
60
60
|
"apify": {
|
|
61
61
|
"openapiSpec": {
|
|
62
|
-
"version": "v2-2026-10-
|
|
62
|
+
"version": "v2-2026-10-20T095308Z"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|