apify-client 3.0.0-beta.70 → 3.0.0-beta.72

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.
@@ -4774,22 +4774,29 @@ export interface components {
4774
4774
  error: components["schemas"]["ErrorDetail"];
4775
4775
  };
4776
4776
  /**
4777
- * VersionSourceType
4777
+ * @description Determines the permission level that the Actor requires to run. For details, see [Actor permissions](https://docs.apify.com/platform/actors/development/permissions).
4778
+ * @example LIMITED_PERMISSIONS
4778
4779
  * @enum {string}
4779
4780
  */
4780
- VersionSourceType: "SOURCE_FILES" | "GIT_REPO" | "TARBALL" | "GITHUB_GIST" | "SOURCE_CODE";
4781
- /** EnvVar */
4782
- EnvVar: {
4781
+ ActorPermissionLevel: "LIMITED_PERMISSIONS" | "FULL_PERMISSIONS";
4782
+ /**
4783
+ * WritableVersionSourceType
4784
+ * @description The version source types accepted in request bodies. Same as `VersionSourceType`, without `SOURCE_CODE`.
4785
+ * @enum {string}
4786
+ */
4787
+ WritableVersionSourceType: "SOURCE_FILES" | "GIT_REPO" | "TARBALL" | "GITHUB_GIST";
4788
+ /** EnvVarRequest */
4789
+ EnvVarRequest: {
4783
4790
  /**
4784
- * @description The name of the environment variable.
4791
+ * @description The name of the environment variable. Can't contain `=`.
4785
4792
  * @example MY_ENV_VAR
4786
4793
  */
4787
4794
  name: string;
4788
4795
  /**
4789
- * @description The value of the environment variable. If `isSecret` is `true`, this value isn't returned by the API.
4796
+ * @description The value of the environment variable.
4790
4797
  * @example my-value
4791
4798
  */
4792
- value?: string;
4799
+ value: string;
4793
4800
  /**
4794
4801
  * @description Whether the environment variable is encrypted. Secret values aren't returned by the API.
4795
4802
  * @example false
@@ -4838,17 +4845,17 @@ export interface components {
4838
4845
  };
4839
4846
  /** VersionSourceFiles */
4840
4847
  VersionSourceFiles: (components["schemas"]["SourceCodeFile"] | components["schemas"]["SourceCodeFolder"])[];
4841
- /** Version */
4842
- Version: {
4848
+ /** CreateVersionRequest */
4849
+ CreateVersionRequest: {
4843
4850
  /**
4844
4851
  * @description The version number of the Actor. Two numbers separated by a dot, that represent the `MAJOR.MINOR` part of the semantic versioning.
4845
- * @example 0.0
4852
+ * @example 1.6
4846
4853
  */
4847
4854
  versionNumber: string;
4848
4855
  /** @description Where the source code of the version lives. */
4849
- sourceType: components["schemas"]["VersionSourceType"] | null;
4856
+ sourceType: components["schemas"]["WritableVersionSourceType"];
4850
4857
  /** @description Environment variables for the version. */
4851
- envVars?: components["schemas"]["EnvVar"][] | null;
4858
+ envVars?: components["schemas"]["EnvVarRequest"][];
4852
4859
  /**
4853
4860
  * @description Whether to inject the environment variables at build time.
4854
4861
  * @example false
@@ -4862,18 +4869,12 @@ export interface components {
4862
4869
  /** @description Applies when the `sourceType` is `SOURCE_FILES`. Represents the Actor's file structure as an array of files and folders. */
4863
4870
  sourceFiles?: components["schemas"]["VersionSourceFiles"];
4864
4871
  /** @description URL of the Git repository to clone the source code from. Applies when the `sourceType` is `GIT_REPO`. */
4865
- gitRepoUrl?: string | null;
4866
- /** @description URL to download the source code from as a tarball or ZIP file. Applies when the `sourceType` is `TARBALL`. */
4867
- tarballUrl?: string | null;
4872
+ gitRepoUrl?: string;
4873
+ /** @description URL of the tarball to download the source code from. Applies when the `sourceType` is `TARBALL`. */
4874
+ tarballUrl?: string;
4868
4875
  /** @description URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`. */
4869
- gitHubGistUrl?: string | null;
4876
+ gitHubGistUrl?: string;
4870
4877
  };
4871
- /**
4872
- * @description Determines the permission level that the Actor requires to run. For details, see [Actor permissions](https://docs.apify.com/platform/actors/development/permissions).
4873
- * @example LIMITED_PERMISSIONS
4874
- * @enum {string}
4875
- */
4876
- ActorPermissionLevel: "LIMITED_PERMISSIONS" | "FULL_PERMISSIONS";
4877
4878
  /**
4878
4879
  * DefaultRunOptions
4879
4880
  * @description The default settings applied to an Actor run. Can be overridden elsewhere.
@@ -4953,10 +4954,11 @@ export interface components {
4953
4954
  */
4954
4955
  title?: string | null;
4955
4956
  /**
4956
- * @description Whether the Actor is available to users in Apify Store. If `false`, the Actor is private and only visible to you.
4957
+ * @description Whether the Actor is available to users in Apify Store. A new Actor is always private. To publish it, build it first, then update it with `isPublic` set to `true`.
4957
4958
  * @example false
4958
4959
  */
4959
- isPublic?: boolean | null;
4960
+ isPublic?: boolean;
4961
+ actorPermissionLevel?: components["schemas"]["ActorPermissionLevel"];
4960
4962
  /**
4961
4963
  * @description Name of the Actor to display by search engines such as Google. Can be different from the Actor's name displayed in Apify Store and Console. Recommended length is 40-50 characters.
4962
4964
  * @example Free Instagram scraper
@@ -4973,7 +4975,7 @@ export interface components {
4973
4975
  */
4974
4976
  restartOnError?: boolean;
4975
4977
  /** @description An array of `Version` objects. Each object represents a specific version of the Actor's source code: its location, builds, and environment configuration. */
4976
- versions?: components["schemas"]["Version"][] | null;
4978
+ versions?: components["schemas"]["CreateVersionRequest"][];
4977
4979
  /**
4978
4980
  * @description A list of categories that best define the Actor. Reflected in Apify Store's search and filtering options.
4979
4981
  * @example [
@@ -4989,6 +4991,59 @@ export interface components {
4989
4991
  /** @description Whether the Actor is deprecated. */
4990
4992
  isDeprecated?: boolean | null;
4991
4993
  };
4994
+ /**
4995
+ * VersionSourceType
4996
+ * @enum {string}
4997
+ */
4998
+ VersionSourceType: "SOURCE_FILES" | "GIT_REPO" | "TARBALL" | "GITHUB_GIST" | "SOURCE_CODE";
4999
+ /** EnvVar */
5000
+ EnvVar: {
5001
+ /**
5002
+ * @description The name of the environment variable.
5003
+ * @example MY_ENV_VAR
5004
+ */
5005
+ name: string;
5006
+ /**
5007
+ * @description The value of the environment variable. If `isSecret` is `true`, this value isn't returned by the API.
5008
+ * @example my-value
5009
+ */
5010
+ value?: string;
5011
+ /**
5012
+ * @description Whether the environment variable is encrypted. Secret values aren't returned by the API.
5013
+ * @example false
5014
+ */
5015
+ isSecret?: boolean | null;
5016
+ };
5017
+ /** Version */
5018
+ Version: {
5019
+ /**
5020
+ * @description The version number of the Actor. Two numbers separated by a dot, that represent the `MAJOR.MINOR` part of the semantic versioning.
5021
+ * @example 0.0
5022
+ */
5023
+ versionNumber: string;
5024
+ /** @description Where the source code of the version lives. */
5025
+ sourceType: components["schemas"]["VersionSourceType"] | null;
5026
+ /** @description Environment variables for the version. */
5027
+ envVars?: components["schemas"]["EnvVar"][] | null;
5028
+ /**
5029
+ * @description Whether to inject the environment variables at build time.
5030
+ * @example false
5031
+ */
5032
+ applyEnvVarsToBuild?: boolean | null;
5033
+ /**
5034
+ * @description The tag name to apply to a successful build of this version. Can be `null` when the version has no build tag.
5035
+ * @example latest
5036
+ */
5037
+ buildTag?: string | null;
5038
+ /** @description Applies when the `sourceType` is `SOURCE_FILES`. Represents the Actor's file structure as an array of files and folders. */
5039
+ sourceFiles?: components["schemas"]["VersionSourceFiles"];
5040
+ /** @description URL of the Git repository to clone the source code from. Applies when the `sourceType` is `GIT_REPO`. */
5041
+ gitRepoUrl?: string | null;
5042
+ /** @description URL to download the source code from as a tarball or ZIP file. Applies when the `sourceType` is `TARBALL`. */
5043
+ tarballUrl?: string | null;
5044
+ /** @description URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`. */
5045
+ gitHubGistUrl?: string | null;
5046
+ };
4992
5047
  /** CommonActorPricingInfo */
4993
5048
  CommonActorPricingInfo: {
4994
5049
  /**
@@ -5315,36 +5370,6 @@ export interface components {
5315
5370
  ActorResponse: {
5316
5371
  data: components["schemas"]["ActorResource"];
5317
5372
  };
5318
- /** CreateOrUpdateVersionRequest */
5319
- CreateOrUpdateVersionRequest: {
5320
- /**
5321
- * @description The version number of the Actor. Two numbers separated by a dot, that represent the `MAJOR.MINOR` part of the semantic versioning.
5322
- * @example 1.6
5323
- */
5324
- versionNumber?: string | null;
5325
- /** @description Where the source code of the version lives. */
5326
- sourceType?: components["schemas"]["VersionSourceType"] | null;
5327
- /** @description Environment variables for the version. */
5328
- envVars?: components["schemas"]["EnvVar"][] | null;
5329
- /**
5330
- * @description Whether to inject the environment variables at build time.
5331
- * @example false
5332
- */
5333
- applyEnvVarsToBuild?: boolean | null;
5334
- /**
5335
- * @description The tag name to apply to a successful build of this version. Can be `null` when the version has no build tag.
5336
- * @example latest
5337
- */
5338
- buildTag?: string | null;
5339
- /** @description Applies when the `sourceType` is `SOURCE_FILES`. Represents the Actor's file structure as an array of files and folders. */
5340
- sourceFiles?: components["schemas"]["VersionSourceFiles"];
5341
- /** @description URL of the Git repository to clone the source code from. Applies when the `sourceType` is `GIT_REPO`. */
5342
- gitRepoUrl?: string | null;
5343
- /** @description URL of the tarball to download the source code from. Applies when the `sourceType` is `TARBALL`. */
5344
- tarballUrl?: string | null;
5345
- /** @description URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`. */
5346
- gitHubGistUrl?: string | null;
5347
- };
5348
5373
  /**
5349
5374
  * UpdatedBuildProperty
5350
5375
  * @description The name of the build tag.
@@ -5370,7 +5395,7 @@ export interface components {
5370
5395
  * @example false
5371
5396
  */
5372
5397
  isPublic?: boolean;
5373
- actorPermissionLevel?: components["schemas"]["ActorPermissionLevel"] | null;
5398
+ actorPermissionLevel?: components["schemas"]["ActorPermissionLevel"];
5374
5399
  /**
5375
5400
  * @description Name of the Actor to display by search engines such as Google. Can be different from the Actor's name displayed in Apify Store and Console. Recommended length is 40-50 characters.
5376
5401
  * @example Free Instagram scraper
@@ -5392,7 +5417,7 @@ export interface components {
5392
5417
  */
5393
5418
  restartOnError?: boolean;
5394
5419
  /** @description An array of `Version` objects. Each object represents a specific version of the Actor's source code: its location, builds, and environment configuration. */
5395
- versions?: components["schemas"]["CreateOrUpdateVersionRequest"][];
5420
+ versions?: components["schemas"]["CreateVersionRequest"][];
5396
5421
  pricingInfos?: components["schemas"]["ActorRunPricingInfo"][];
5397
5422
  /**
5398
5423
  * @description A list of categories that best define the Actor. Reflected in Apify Store's search and filtering options.
@@ -5436,6 +5461,36 @@ export interface components {
5436
5461
  VersionResponse: {
5437
5462
  data: components["schemas"]["Version"];
5438
5463
  };
5464
+ /** UpdateVersionRequest */
5465
+ UpdateVersionRequest: {
5466
+ /**
5467
+ * @description The version number of the Actor. Two numbers separated by a dot, that represent the `MAJOR.MINOR` part of the semantic versioning.
5468
+ * @example 1.6
5469
+ */
5470
+ versionNumber?: string;
5471
+ /** @description Where the source code of the version lives. */
5472
+ sourceType?: components["schemas"]["WritableVersionSourceType"];
5473
+ /** @description Environment variables for the version. */
5474
+ envVars?: components["schemas"]["EnvVarRequest"][];
5475
+ /**
5476
+ * @description Whether to inject the environment variables at build time.
5477
+ * @example false
5478
+ */
5479
+ applyEnvVarsToBuild?: boolean | null;
5480
+ /**
5481
+ * @description The tag name to apply to a successful build of this version. Can be `null` when the version has no build tag.
5482
+ * @example latest
5483
+ */
5484
+ buildTag?: string | null;
5485
+ /** @description Applies when the `sourceType` is `SOURCE_FILES`. Represents the Actor's file structure as an array of files and folders. */
5486
+ sourceFiles?: components["schemas"]["VersionSourceFiles"];
5487
+ /** @description URL of the Git repository to clone the source code from. Applies when the `sourceType` is `GIT_REPO`. */
5488
+ gitRepoUrl?: string;
5489
+ /** @description URL of the tarball to download the source code from. Applies when the `sourceType` is `TARBALL`. */
5490
+ tarballUrl?: string;
5491
+ /** @description URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`. */
5492
+ gitHubGistUrl?: string;
5493
+ };
5439
5494
  /** ListOfEnvVars */
5440
5495
  ListOfEnvVars: {
5441
5496
  /** @example 5 */
@@ -5446,8 +5501,6 @@ export interface components {
5446
5501
  ListOfEnvVarsResponse: {
5447
5502
  data: components["schemas"]["ListOfEnvVars"];
5448
5503
  };
5449
- /** EnvVarRequest */
5450
- EnvVarRequest: WithRequired<components["schemas"]["EnvVar"], "value">;
5451
5504
  /** EnvVarResponse */
5452
5505
  EnvVarResponse: {
5453
5506
  data: components["schemas"]["EnvVar"];
@@ -7909,6 +7962,14 @@ export interface components {
7909
7962
  ListOfSchedulesResponse: {
7910
7963
  data: components["schemas"]["ListOfSchedules"];
7911
7964
  };
7965
+ /**
7966
+ * ScheduleNotifications
7967
+ * @description Notification settings for this schedule.
7968
+ */
7969
+ ScheduleNotifications: {
7970
+ /** @example true */
7971
+ email?: boolean;
7972
+ };
7912
7973
  /** ScheduleActionRunInput */
7913
7974
  ScheduleActionRunInput: {
7914
7975
  /** @example {\n "foo": "actor"\n} */
@@ -7956,6 +8017,7 @@ export interface components {
7956
8017
  /** @example Schedule of actor ... */
7957
8018
  description?: string | null;
7958
8019
  title?: string | null;
8020
+ notifications?: components["schemas"]["ScheduleNotifications"];
7959
8021
  actions?: components["schemas"]["ScheduleCreateAction"][] | null;
7960
8022
  };
7961
8023
  /** ScheduleActionRunActor */
@@ -7992,14 +8054,7 @@ export interface components {
7992
8054
  /** @example Schedule of actor ... */
7993
8055
  description?: string | null;
7994
8056
  title?: string | null;
7995
- /**
7996
- * ScheduleNotifications
7997
- * @description Notification settings for this schedule.
7998
- */
7999
- notifications?: {
8000
- /** @example true */
8001
- email?: boolean;
8002
- };
8057
+ notifications?: components["schemas"]["ScheduleNotifications"];
8003
8058
  actions: components["schemas"]["ScheduleAction"][];
8004
8059
  };
8005
8060
  /** ScheduleResponse */
@@ -9697,7 +9752,7 @@ export interface operations {
9697
9752
  * "gitRepoUrl": "https://github.com/my-github-account/actor-repo"
9698
9753
  * }
9699
9754
  */
9700
- "application/json": components["schemas"]["CreateOrUpdateVersionRequest"];
9755
+ "application/json": components["schemas"]["CreateVersionRequest"];
9701
9756
  };
9702
9757
  };
9703
9758
  responses: {
@@ -9788,7 +9843,7 @@ export interface operations {
9788
9843
  * "sourceFiles": []
9789
9844
  * }
9790
9845
  */
9791
- "application/json": components["schemas"]["CreateOrUpdateVersionRequest"];
9846
+ "application/json": components["schemas"]["UpdateVersionRequest"];
9792
9847
  };
9793
9848
  };
9794
9849
  responses: {
@@ -9845,7 +9900,7 @@ export interface operations {
9845
9900
  * "sourceFiles": []
9846
9901
  * }
9847
9902
  */
9848
- "application/json": components["schemas"]["CreateOrUpdateVersionRequest"];
9903
+ "application/json": components["schemas"]["UpdateVersionRequest"];
9849
9904
  };
9850
9905
  };
9851
9906
  responses: {
@@ -21084,7 +21139,3 @@ export interface operations {
21084
21139
  };
21085
21140
  };
21086
21141
  }
21087
- type WithRequired<T, K extends keyof T> = T & {
21088
- [P in K]-?: T[P];
21089
- };
21090
- export {};
@@ -1332,16 +1332,21 @@ export declare const ErrorResponse: () => z.ZodObject<{
1332
1332
  message: z.ZodOptional<z.ZodString>;
1333
1333
  }, z.core.$loose>;
1334
1334
  }, z.core.$loose>;
1335
- export declare const VersionSourceType: () => z.ZodUnion<[z.ZodEnum<{
1335
+ /** Determines the permission level that the Actor requires to run. For details, see [Actor permissions](https://docs.apify.com/platform/actors/development/permissions). */
1336
+ export declare const ActorPermissionLevel: () => z.ZodUnion<[z.ZodEnum<{
1337
+ FULL_PERMISSIONS: "FULL_PERMISSIONS";
1338
+ LIMITED_PERMISSIONS: "LIMITED_PERMISSIONS";
1339
+ }>, z.ZodString]>;
1340
+ /** The version source types accepted in request bodies. Same as `VersionSourceType`, without `SOURCE_CODE`. */
1341
+ export declare const WritableVersionSourceType: () => z.ZodUnion<[z.ZodEnum<{
1336
1342
  GITHUB_GIST: "GITHUB_GIST";
1337
1343
  GIT_REPO: "GIT_REPO";
1338
- SOURCE_CODE: "SOURCE_CODE";
1339
1344
  SOURCE_FILES: "SOURCE_FILES";
1340
1345
  TARBALL: "TARBALL";
1341
1346
  }>, z.ZodString]>;
1342
- export declare const EnvVar: () => z.ZodObject<{
1347
+ export declare const EnvVarRequest: () => z.ZodObject<{
1343
1348
  name: z.ZodString;
1344
- value: z.ZodOptional<z.ZodString>;
1349
+ value: z.ZodString;
1345
1350
  isSecret: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1346
1351
  }, z.core.$loose>;
1347
1352
  export declare const SourceCodeFileFormat: () => z.ZodUnion<[z.ZodEnum<{
@@ -1376,20 +1381,19 @@ export declare const VersionSourceFiles: () => z.ZodArray<z.ZodUnion<readonly [z
1376
1381
  name: z.ZodString;
1377
1382
  folder: z.ZodBoolean;
1378
1383
  }, z.core.$loose>]>>;
1379
- export declare const Version: () => z.ZodObject<{
1384
+ export declare const CreateVersionRequest: () => z.ZodObject<{
1380
1385
  versionNumber: z.ZodString;
1381
- sourceType: z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
1386
+ sourceType: z.ZodUnion<[z.ZodEnum<{
1382
1387
  GITHUB_GIST: "GITHUB_GIST";
1383
1388
  GIT_REPO: "GIT_REPO";
1384
- SOURCE_CODE: "SOURCE_CODE";
1385
1389
  SOURCE_FILES: "SOURCE_FILES";
1386
1390
  TARBALL: "TARBALL";
1387
- }>, z.ZodString]>>;
1388
- envVars: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1391
+ }>, z.ZodString]>;
1392
+ envVars: z.ZodOptional<z.ZodArray<z.ZodObject<{
1389
1393
  name: z.ZodString;
1390
- value: z.ZodOptional<z.ZodString>;
1394
+ value: z.ZodString;
1391
1395
  isSecret: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1392
- }, z.core.$loose>>>>;
1396
+ }, z.core.$loose>>>;
1393
1397
  applyEnvVarsToBuild: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1394
1398
  buildTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1395
1399
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -1403,15 +1407,10 @@ export declare const Version: () => z.ZodObject<{
1403
1407
  name: z.ZodString;
1404
1408
  folder: z.ZodBoolean;
1405
1409
  }, z.core.$loose>]>>>;
1406
- gitRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1407
- tarballUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1408
- gitHubGistUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1410
+ gitRepoUrl: z.ZodOptional<z.ZodString>;
1411
+ tarballUrl: z.ZodOptional<z.ZodString>;
1412
+ gitHubGistUrl: z.ZodOptional<z.ZodString>;
1409
1413
  }, z.core.$loose>;
1410
- /** Determines the permission level that the Actor requires to run. For details, see [Actor permissions](https://docs.apify.com/platform/actors/development/permissions). */
1411
- export declare const ActorPermissionLevel: () => z.ZodUnion<[z.ZodEnum<{
1412
- FULL_PERMISSIONS: "FULL_PERMISSIONS";
1413
- LIMITED_PERMISSIONS: "LIMITED_PERMISSIONS";
1414
- }>, z.ZodString]>;
1415
1414
  /** The default settings applied to an Actor run. Can be overridden elsewhere. */
1416
1415
  export declare const DefaultRunOptions: () => z.ZodObject<{
1417
1416
  build: z.ZodOptional<z.ZodString>;
@@ -1442,24 +1441,27 @@ export declare const CreateActorRequest: () => z.ZodObject<{
1442
1441
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1443
1442
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1444
1443
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1445
- isPublic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1444
+ isPublic: z.ZodOptional<z.ZodBoolean>;
1445
+ actorPermissionLevel: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
1446
+ FULL_PERMISSIONS: "FULL_PERMISSIONS";
1447
+ LIMITED_PERMISSIONS: "LIMITED_PERMISSIONS";
1448
+ }>, z.ZodString]>>;
1446
1449
  seoTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1447
1450
  seoDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1448
1451
  restartOnError: z.ZodOptional<z.ZodBoolean>;
1449
- versions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1452
+ versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1450
1453
  versionNumber: z.ZodString;
1451
- sourceType: z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
1454
+ sourceType: z.ZodUnion<[z.ZodEnum<{
1452
1455
  GITHUB_GIST: "GITHUB_GIST";
1453
1456
  GIT_REPO: "GIT_REPO";
1454
- SOURCE_CODE: "SOURCE_CODE";
1455
1457
  SOURCE_FILES: "SOURCE_FILES";
1456
1458
  TARBALL: "TARBALL";
1457
- }>, z.ZodString]>>;
1458
- envVars: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1459
+ }>, z.ZodString]>;
1460
+ envVars: z.ZodOptional<z.ZodArray<z.ZodObject<{
1459
1461
  name: z.ZodString;
1460
- value: z.ZodOptional<z.ZodString>;
1462
+ value: z.ZodString;
1461
1463
  isSecret: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1462
- }, z.core.$loose>>>>;
1464
+ }, z.core.$loose>>>;
1463
1465
  applyEnvVarsToBuild: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1464
1466
  buildTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1465
1467
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -1473,10 +1475,10 @@ export declare const CreateActorRequest: () => z.ZodObject<{
1473
1475
  name: z.ZodString;
1474
1476
  folder: z.ZodBoolean;
1475
1477
  }, z.core.$loose>]>>>;
1476
- gitRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1477
- tarballUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1478
- gitHubGistUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1479
- }, z.core.$loose>>>>;
1478
+ gitRepoUrl: z.ZodOptional<z.ZodString>;
1479
+ tarballUrl: z.ZodOptional<z.ZodString>;
1480
+ gitHubGistUrl: z.ZodOptional<z.ZodString>;
1481
+ }, z.core.$loose>>>;
1480
1482
  categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1481
1483
  defaultRunOptions: z.ZodOptional<z.ZodObject<{
1482
1484
  build: z.ZodOptional<z.ZodString>;
@@ -1505,6 +1507,49 @@ export declare const CreateActorRequest: () => z.ZodObject<{
1505
1507
  }, z.core.$loose>>>;
1506
1508
  isDeprecated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1507
1509
  }, z.core.$loose>;
1510
+ export declare const VersionSourceType: () => z.ZodUnion<[z.ZodEnum<{
1511
+ GITHUB_GIST: "GITHUB_GIST";
1512
+ GIT_REPO: "GIT_REPO";
1513
+ SOURCE_CODE: "SOURCE_CODE";
1514
+ SOURCE_FILES: "SOURCE_FILES";
1515
+ TARBALL: "TARBALL";
1516
+ }>, z.ZodString]>;
1517
+ export declare const EnvVar: () => z.ZodObject<{
1518
+ name: z.ZodString;
1519
+ value: z.ZodOptional<z.ZodString>;
1520
+ isSecret: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1521
+ }, z.core.$loose>;
1522
+ export declare const Version: () => z.ZodObject<{
1523
+ versionNumber: z.ZodString;
1524
+ sourceType: z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
1525
+ GITHUB_GIST: "GITHUB_GIST";
1526
+ GIT_REPO: "GIT_REPO";
1527
+ SOURCE_CODE: "SOURCE_CODE";
1528
+ SOURCE_FILES: "SOURCE_FILES";
1529
+ TARBALL: "TARBALL";
1530
+ }>, z.ZodString]>>;
1531
+ envVars: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1532
+ name: z.ZodString;
1533
+ value: z.ZodOptional<z.ZodString>;
1534
+ isSecret: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1535
+ }, z.core.$loose>>>>;
1536
+ applyEnvVarsToBuild: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1537
+ buildTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1538
+ sourceFiles: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1539
+ format: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
1540
+ BASE64: "BASE64";
1541
+ TEXT: "TEXT";
1542
+ }>, z.ZodString]>>;
1543
+ content: z.ZodOptional<z.ZodString>;
1544
+ name: z.ZodString;
1545
+ }, z.core.$loose>, z.ZodObject<{
1546
+ name: z.ZodString;
1547
+ folder: z.ZodBoolean;
1548
+ }, z.core.$loose>]>>>;
1549
+ gitRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1550
+ tarballUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1551
+ gitHubGistUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1552
+ }, z.core.$loose>;
1508
1553
  export declare const CommonActorPricingInfo: () => z.ZodObject<{
1509
1554
  apifyMarginPercentage: z.ZodNumber;
1510
1555
  createdAt: z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>;
@@ -2051,37 +2096,6 @@ export declare const ActorResponse: () => z.ZodObject<{
2051
2096
  hasNoDataset: z.ZodOptional<z.ZodBoolean>;
2052
2097
  }, z.core.$loose>;
2053
2098
  }, z.core.$loose>;
2054
- export declare const CreateOrUpdateVersionRequest: () => z.ZodObject<{
2055
- versionNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2056
- sourceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
2057
- GITHUB_GIST: "GITHUB_GIST";
2058
- GIT_REPO: "GIT_REPO";
2059
- SOURCE_CODE: "SOURCE_CODE";
2060
- SOURCE_FILES: "SOURCE_FILES";
2061
- TARBALL: "TARBALL";
2062
- }>, z.ZodString]>>>;
2063
- envVars: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2064
- name: z.ZodString;
2065
- value: z.ZodOptional<z.ZodString>;
2066
- isSecret: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2067
- }, z.core.$loose>>>>;
2068
- applyEnvVarsToBuild: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2069
- buildTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2070
- sourceFiles: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2071
- format: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
2072
- BASE64: "BASE64";
2073
- TEXT: "TEXT";
2074
- }>, z.ZodString]>>;
2075
- content: z.ZodOptional<z.ZodString>;
2076
- name: z.ZodString;
2077
- }, z.core.$loose>, z.ZodObject<{
2078
- name: z.ZodString;
2079
- folder: z.ZodBoolean;
2080
- }, z.core.$loose>]>>>;
2081
- gitRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2082
- tarballUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2083
- gitHubGistUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2084
- }, z.core.$loose>;
2085
2099
  /** The name of the build tag. */
2086
2100
  export declare const UpdatedBuildProperty: () => z.ZodNullable<z.ZodObject<{
2087
2101
  buildId: z.ZodString;
@@ -2090,28 +2104,27 @@ export declare const UpdateActorRequest: () => z.ZodObject<{
2090
2104
  name: z.ZodOptional<z.ZodString>;
2091
2105
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2092
2106
  isPublic: z.ZodOptional<z.ZodBoolean>;
2093
- actorPermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
2107
+ actorPermissionLevel: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
2094
2108
  FULL_PERMISSIONS: "FULL_PERMISSIONS";
2095
2109
  LIMITED_PERMISSIONS: "LIMITED_PERMISSIONS";
2096
- }>, z.ZodString]>>>;
2110
+ }>, z.ZodString]>>;
2097
2111
  seoTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2098
2112
  seoDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2099
2113
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2100
2114
  restartOnError: z.ZodOptional<z.ZodBoolean>;
2101
2115
  versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2102
- versionNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2103
- sourceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
2116
+ versionNumber: z.ZodString;
2117
+ sourceType: z.ZodUnion<[z.ZodEnum<{
2104
2118
  GITHUB_GIST: "GITHUB_GIST";
2105
2119
  GIT_REPO: "GIT_REPO";
2106
- SOURCE_CODE: "SOURCE_CODE";
2107
2120
  SOURCE_FILES: "SOURCE_FILES";
2108
2121
  TARBALL: "TARBALL";
2109
- }>, z.ZodString]>>>;
2110
- envVars: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2122
+ }>, z.ZodString]>;
2123
+ envVars: z.ZodOptional<z.ZodArray<z.ZodObject<{
2111
2124
  name: z.ZodString;
2112
- value: z.ZodOptional<z.ZodString>;
2125
+ value: z.ZodString;
2113
2126
  isSecret: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2114
- }, z.core.$loose>>>>;
2127
+ }, z.core.$loose>>>;
2115
2128
  applyEnvVarsToBuild: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2116
2129
  buildTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2117
2130
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -2125,9 +2138,9 @@ export declare const UpdateActorRequest: () => z.ZodObject<{
2125
2138
  name: z.ZodString;
2126
2139
  folder: z.ZodBoolean;
2127
2140
  }, z.core.$loose>]>>>;
2128
- gitRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2129
- tarballUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
- gitHubGistUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2141
+ gitRepoUrl: z.ZodOptional<z.ZodString>;
2142
+ tarballUrl: z.ZodOptional<z.ZodString>;
2143
+ gitHubGistUrl: z.ZodOptional<z.ZodString>;
2131
2144
  }, z.core.$loose>>>;
2132
2145
  pricingInfos: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2133
2146
  apifyMarginPercentage: z.ZodNumber;
@@ -2324,6 +2337,36 @@ export declare const VersionResponse: () => z.ZodObject<{
2324
2337
  gitHubGistUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2325
2338
  }, z.core.$loose>;
2326
2339
  }, z.core.$loose>;
2340
+ export declare const UpdateVersionRequest: () => z.ZodObject<{
2341
+ versionNumber: z.ZodOptional<z.ZodString>;
2342
+ sourceType: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
2343
+ GITHUB_GIST: "GITHUB_GIST";
2344
+ GIT_REPO: "GIT_REPO";
2345
+ SOURCE_FILES: "SOURCE_FILES";
2346
+ TARBALL: "TARBALL";
2347
+ }>, z.ZodString]>>;
2348
+ envVars: z.ZodOptional<z.ZodArray<z.ZodObject<{
2349
+ name: z.ZodString;
2350
+ value: z.ZodString;
2351
+ isSecret: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2352
+ }, z.core.$loose>>>;
2353
+ applyEnvVarsToBuild: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2354
+ buildTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2355
+ sourceFiles: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2356
+ format: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
2357
+ BASE64: "BASE64";
2358
+ TEXT: "TEXT";
2359
+ }>, z.ZodString]>>;
2360
+ content: z.ZodOptional<z.ZodString>;
2361
+ name: z.ZodString;
2362
+ }, z.core.$loose>, z.ZodObject<{
2363
+ name: z.ZodString;
2364
+ folder: z.ZodBoolean;
2365
+ }, z.core.$loose>]>>>;
2366
+ gitRepoUrl: z.ZodOptional<z.ZodString>;
2367
+ tarballUrl: z.ZodOptional<z.ZodString>;
2368
+ gitHubGistUrl: z.ZodOptional<z.ZodString>;
2369
+ }, z.core.$loose>;
2327
2370
  export declare const ListOfEnvVars: () => z.ZodObject<{
2328
2371
  total: z.ZodInt;
2329
2372
  items: z.ZodArray<z.ZodObject<{
@@ -2342,11 +2385,6 @@ export declare const ListOfEnvVarsResponse: () => z.ZodObject<{
2342
2385
  }, z.core.$loose>>;
2343
2386
  }, z.core.$loose>;
2344
2387
  }, z.core.$loose>;
2345
- export declare const EnvVarRequest: () => z.ZodObject<{
2346
- name: z.ZodString;
2347
- value: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
2348
- isSecret: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2349
- }, z.core.$loose>;
2350
2388
  export declare const EnvVarResponse: () => z.ZodObject<{
2351
2389
  data: z.ZodObject<{
2352
2390
  name: z.ZodString;
@@ -5559,6 +5597,10 @@ export declare const ListOfSchedulesResponse: () => z.ZodObject<{
5559
5597
  }, z.core.$loose>>;
5560
5598
  }, z.core.$loose>;
5561
5599
  }, z.core.$loose>;
5600
+ /** Notification settings for this schedule. */
5601
+ export declare const ScheduleNotifications: () => z.ZodObject<{
5602
+ email: z.ZodOptional<z.ZodBoolean>;
5603
+ }, z.core.$loose>;
5562
5604
  export declare const ScheduleActionRunInput: () => z.ZodObject<{
5563
5605
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5564
5606
  contentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5612,6 +5654,9 @@ export declare const CreateOrUpdateScheduleRequest: () => z.ZodObject<{
5612
5654
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5613
5655
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5614
5656
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5657
+ notifications: z.ZodOptional<z.ZodObject<{
5658
+ email: z.ZodOptional<z.ZodBoolean>;
5659
+ }, z.core.$loose>>;
5615
5660
  actions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5616
5661
  type: z.ZodLiteral<"RUN_ACTOR">;
5617
5662
  actorId: z.ZodString;