@vercel/sdk 1.10.1 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/bin/mcp-server.js +816 -1951
  2. package/bin/mcp-server.js.map +22 -22
  3. package/esm/__tests__/teams.test.js +2 -2
  4. package/esm/__tests__/teams.test.js.map +1 -1
  5. package/esm/funcs/domainsBuyDomain.js +2 -2
  6. package/esm/funcs/domainsBuyDomain.js.map +1 -1
  7. package/esm/funcs/domainsPatchDomain.js +2 -2
  8. package/esm/funcs/domainsPatchDomain.js.map +1 -1
  9. package/esm/lib/config.d.ts +3 -3
  10. package/esm/lib/config.js +3 -3
  11. package/esm/mcp-server/mcp-server.js +1 -1
  12. package/esm/mcp-server/server.js +1 -1
  13. package/esm/models/canceldeploymentop.d.ts +49 -49
  14. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  15. package/esm/models/canceldeploymentop.js +53 -55
  16. package/esm/models/canceldeploymentop.js.map +1 -1
  17. package/esm/models/createdeploymentop.d.ts +139 -139
  18. package/esm/models/createdeploymentop.d.ts.map +1 -1
  19. package/esm/models/createdeploymentop.js +153 -152
  20. package/esm/models/createdeploymentop.js.map +1 -1
  21. package/esm/models/createprojectenvop.d.ts +6 -6
  22. package/esm/models/createprojectenvop.js +2 -2
  23. package/esm/models/createprojectenvop.js.map +1 -1
  24. package/esm/models/createprojectop.d.ts +189 -741
  25. package/esm/models/createprojectop.d.ts.map +1 -1
  26. package/esm/models/createprojectop.js +179 -678
  27. package/esm/models/createprojectop.js.map +1 -1
  28. package/esm/models/editprojectenvop.d.ts +3 -3
  29. package/esm/models/editprojectenvop.js +1 -1
  30. package/esm/models/editprojectenvop.js.map +1 -1
  31. package/esm/models/filterprojectenvsop.d.ts +9 -9
  32. package/esm/models/filterprojectenvsop.js +3 -3
  33. package/esm/models/filterprojectenvsop.js.map +1 -1
  34. package/esm/models/getdeploymentop.d.ts +90 -90
  35. package/esm/models/getdeploymentop.d.ts.map +1 -1
  36. package/esm/models/getdeploymentop.js +101 -102
  37. package/esm/models/getdeploymentop.js.map +1 -1
  38. package/esm/models/getfirewallconfigop.d.ts +3 -0
  39. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  40. package/esm/models/getfirewallconfigop.js +1 -0
  41. package/esm/models/getfirewallconfigop.js.map +1 -1
  42. package/esm/models/getprojectsop.d.ts +33 -585
  43. package/esm/models/getprojectsop.d.ts.map +1 -1
  44. package/esm/models/getprojectsop.js +31 -530
  45. package/esm/models/getprojectsop.js.map +1 -1
  46. package/esm/models/putfirewallconfigop.d.ts +3 -0
  47. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  48. package/esm/models/putfirewallconfigop.js +1 -0
  49. package/esm/models/putfirewallconfigop.js.map +1 -1
  50. package/esm/models/removeprojectenvop.d.ts +9 -9
  51. package/esm/models/removeprojectenvop.js +3 -3
  52. package/esm/models/removeprojectenvop.js.map +1 -1
  53. package/esm/models/team.d.ts +13 -10
  54. package/esm/models/team.d.ts.map +1 -1
  55. package/esm/models/team.js +6 -5
  56. package/esm/models/team.js.map +1 -1
  57. package/esm/models/updateprojectdatacacheop.d.ts +41 -593
  58. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  59. package/esm/models/updateprojectdatacacheop.js +43 -561
  60. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  61. package/esm/models/updateprojectop.d.ts +33 -585
  62. package/esm/models/updateprojectop.d.ts.map +1 -1
  63. package/esm/models/updateprojectop.js +31 -530
  64. package/esm/models/updateprojectop.js.map +1 -1
  65. package/esm/models/userevent.d.ts +154 -124
  66. package/esm/models/userevent.d.ts.map +1 -1
  67. package/esm/models/userevent.js +166 -135
  68. package/esm/models/userevent.js.map +1 -1
  69. package/examples/package-lock.json +1 -1
  70. package/jsr.json +1 -1
  71. package/package.json +1 -1
  72. package/src/__tests__/teams.test.ts +2 -2
  73. package/src/funcs/domainsBuyDomain.ts +2 -2
  74. package/src/funcs/domainsPatchDomain.ts +2 -2
  75. package/src/lib/config.ts +3 -3
  76. package/src/mcp-server/mcp-server.ts +1 -1
  77. package/src/mcp-server/server.ts +1 -1
  78. package/src/models/canceldeploymentop.ts +78 -104
  79. package/src/models/createdeploymentop.ts +332 -335
  80. package/src/models/createprojectenvop.ts +2 -2
  81. package/src/models/createprojectop.ts +448 -1472
  82. package/src/models/editprojectenvop.ts +1 -1
  83. package/src/models/filterprojectenvsop.ts +3 -3
  84. package/src/models/getdeploymentop.ts +214 -216
  85. package/src/models/getfirewallconfigop.ts +1 -0
  86. package/src/models/getprojectsop.ts +202 -1207
  87. package/src/models/putfirewallconfigop.ts +1 -0
  88. package/src/models/removeprojectenvop.ts +3 -3
  89. package/src/models/team.ts +13 -12
  90. package/src/models/updateprojectdatacacheop.ts +171 -1168
  91. package/src/models/updateprojectop.ts +197 -1221
  92. package/src/models/userevent.ts +309 -236
  93. package/vercel-spec.json +429 -1834
@@ -441,10 +441,10 @@ export type CreateProjectProjectsTarget =
441
441
 
442
442
  export const CreateProjectProjectsResponseType = {
443
443
  System: "system",
444
+ Secret: "secret",
444
445
  Encrypted: "encrypted",
445
446
  Plain: "plain",
446
447
  Sensitive: "sensitive",
447
- Secret: "secret",
448
448
  } as const;
449
449
  export type CreateProjectProjectsResponseType = ClosedEnum<
450
450
  typeof CreateProjectProjectsResponseType
@@ -1201,18 +1201,18 @@ export type CreateProjectLinkProjectsDeployHooks = {
1201
1201
 
1202
1202
  export type CreateProjectLink2 = {
1203
1203
  type?: CreateProjectLinkProjectsType | undefined;
1204
- repo?: string | undefined;
1205
- repoId?: number | undefined;
1206
1204
  updatedAt?: number | undefined;
1207
1205
  createdAt?: number | undefined;
1206
+ repo?: string | undefined;
1207
+ sourceless?: boolean | undefined;
1208
1208
  org?: string | undefined;
1209
1209
  /**
1210
1210
  * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
1211
1211
  */
1212
1212
  repoOwnerId?: number | undefined;
1213
+ repoId?: number | undefined;
1213
1214
  deployHooks: Array<CreateProjectLinkProjectsDeployHooks>;
1214
1215
  gitCredentialId?: string | undefined;
1215
- sourceless?: boolean | undefined;
1216
1216
  productionBranch?: string | undefined;
1217
1217
  };
1218
1218
 
@@ -1431,8 +1431,8 @@ export type CreateProjectDefaultResourceConfig = {
1431
1431
  };
1432
1432
 
1433
1433
  export const CreateProjectProjectsDeploymentType = {
1434
- Preview: "preview",
1435
1434
  All: "all",
1435
+ Preview: "preview",
1436
1436
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1437
1437
  AllExceptCustomDomains: "all_except_custom_domains",
1438
1438
  } as const;
@@ -1605,72 +1605,6 @@ export type CreateProjectTargets = {
1605
1605
  };
1606
1606
 
1607
1607
  export type CreateProjectPermissions = {
1608
- aliasProject?: Array<ACLAction> | undefined;
1609
- aliasProtectionBypass?: Array<ACLAction> | undefined;
1610
- buildMachine?: Array<ACLAction> | undefined;
1611
- productionAliasProtectionBypass?: Array<ACLAction> | undefined;
1612
- connectConfigurationLink?: Array<ACLAction> | undefined;
1613
- dataCacheNamespace?: Array<ACLAction> | undefined;
1614
- deployment?: Array<ACLAction> | undefined;
1615
- deploymentBuildLogs?: Array<ACLAction> | undefined;
1616
- deploymentCheck?: Array<ACLAction> | undefined;
1617
- deploymentCheckPreview?: Array<ACLAction> | undefined;
1618
- deploymentCheckReRunFromProductionBranch?: Array<ACLAction> | undefined;
1619
- deploymentProductionGit?: Array<ACLAction> | undefined;
1620
- deploymentV0?: Array<ACLAction> | undefined;
1621
- deploymentPreview?: Array<ACLAction> | undefined;
1622
- deploymentPrivate?: Array<ACLAction> | undefined;
1623
- deploymentPromote?: Array<ACLAction> | undefined;
1624
- deploymentRollback?: Array<ACLAction> | undefined;
1625
- edgeCacheNamespace?: Array<ACLAction> | undefined;
1626
- environments?: Array<ACLAction> | undefined;
1627
- logs?: Array<ACLAction> | undefined;
1628
- logsPreset?: Array<ACLAction> | undefined;
1629
- passwordProtection?: Array<ACLAction> | undefined;
1630
- optionsAllowlist?: Array<ACLAction> | undefined;
1631
- job?: Array<ACLAction> | undefined;
1632
- observabilityData?: Array<ACLAction> | undefined;
1633
- onDemandBuild?: Array<ACLAction> | undefined;
1634
- onDemandConcurrency?: Array<ACLAction> | undefined;
1635
- project?: Array<ACLAction> | undefined;
1636
- projectFromV0?: Array<ACLAction> | undefined;
1637
- projectAccessGroup?: Array<ACLAction> | undefined;
1638
- projectAnalyticsSampling?: Array<ACLAction> | undefined;
1639
- projectCheck?: Array<ACLAction> | undefined;
1640
- projectCheckRun?: Array<ACLAction> | undefined;
1641
- projectDeploymentHook?: Array<ACLAction> | undefined;
1642
- projectDomain?: Array<ACLAction> | undefined;
1643
- projectDomainMove?: Array<ACLAction> | undefined;
1644
- projectDomainCheckConfig?: Array<ACLAction> | undefined;
1645
- projectEnvVars?: Array<ACLAction> | undefined;
1646
- projectEnvVarsProduction?: Array<ACLAction> | undefined;
1647
- projectEnvVarsUnownedByIntegration?: Array<ACLAction> | undefined;
1648
- projectFlags?: Array<ACLAction> | undefined;
1649
- projectId?: Array<ACLAction> | undefined;
1650
- projectIntegrationConfiguration?: Array<ACLAction> | undefined;
1651
- projectLink?: Array<ACLAction> | undefined;
1652
- projectMember?: Array<ACLAction> | undefined;
1653
- projectMonitoring?: Array<ACLAction> | undefined;
1654
- projectPermissions?: Array<ACLAction> | undefined;
1655
- projectProductionBranch?: Array<ACLAction> | undefined;
1656
- projectTransfer?: Array<ACLAction> | undefined;
1657
- projectTransferOut?: Array<ACLAction> | undefined;
1658
- projectProtectionBypass?: Array<ACLAction> | undefined;
1659
- projectUsage?: Array<ACLAction> | undefined;
1660
- projectAnalyticsUsage?: Array<ACLAction> | undefined;
1661
- projectSupportCase?: Array<ACLAction> | undefined;
1662
- projectSupportCaseComment?: Array<ACLAction> | undefined;
1663
- projectDeploymentExpiration?: Array<ACLAction> | undefined;
1664
- projectRollingRelease?: Array<ACLAction> | undefined;
1665
- projectTier?: Array<ACLAction> | undefined;
1666
- projectOIDCToken?: Array<ACLAction> | undefined;
1667
- seawallConfig?: Array<ACLAction> | undefined;
1668
- skewProtection?: Array<ACLAction> | undefined;
1669
- analytics?: Array<ACLAction> | undefined;
1670
- trustedIps?: Array<ACLAction> | undefined;
1671
- webAnalytics?: Array<ACLAction> | undefined;
1672
- sharedEnvVarConnection?: Array<ACLAction> | undefined;
1673
- sonar?: Array<ACLAction> | undefined;
1674
1608
  oauth2Connection?: Array<ACLAction> | undefined;
1675
1609
  user?: Array<ACLAction> | undefined;
1676
1610
  userConnection?: Array<ACLAction> | undefined;
@@ -1761,6 +1695,7 @@ export type CreateProjectPermissions = {
1761
1695
  observabilityFunnel?: Array<ACLAction> | undefined;
1762
1696
  openTelemetryEndpoint?: Array<ACLAction> | undefined;
1763
1697
  vercelAppInstallation?: Array<ACLAction> | undefined;
1698
+ vercelAppInstallationRequest?: Array<ACLAction> | undefined;
1764
1699
  paymentMethod?: Array<ACLAction> | undefined;
1765
1700
  permissions?: Array<ACLAction> | undefined;
1766
1701
  postgres?: Array<ACLAction> | undefined;
@@ -1815,6 +1750,72 @@ export type CreateProjectPermissions = {
1815
1750
  vercelRunExec?: Array<ACLAction> | undefined;
1816
1751
  apiKey?: Array<ACLAction> | undefined;
1817
1752
  apiKeyOwnedBySelf?: Array<ACLAction> | undefined;
1753
+ aliasProject?: Array<ACLAction> | undefined;
1754
+ aliasProtectionBypass?: Array<ACLAction> | undefined;
1755
+ buildMachine?: Array<ACLAction> | undefined;
1756
+ productionAliasProtectionBypass?: Array<ACLAction> | undefined;
1757
+ connectConfigurationLink?: Array<ACLAction> | undefined;
1758
+ dataCacheNamespace?: Array<ACLAction> | undefined;
1759
+ deployment?: Array<ACLAction> | undefined;
1760
+ deploymentBuildLogs?: Array<ACLAction> | undefined;
1761
+ deploymentCheck?: Array<ACLAction> | undefined;
1762
+ deploymentCheckPreview?: Array<ACLAction> | undefined;
1763
+ deploymentCheckReRunFromProductionBranch?: Array<ACLAction> | undefined;
1764
+ deploymentProductionGit?: Array<ACLAction> | undefined;
1765
+ deploymentV0?: Array<ACLAction> | undefined;
1766
+ deploymentPreview?: Array<ACLAction> | undefined;
1767
+ deploymentPrivate?: Array<ACLAction> | undefined;
1768
+ deploymentPromote?: Array<ACLAction> | undefined;
1769
+ deploymentRollback?: Array<ACLAction> | undefined;
1770
+ edgeCacheNamespace?: Array<ACLAction> | undefined;
1771
+ environments?: Array<ACLAction> | undefined;
1772
+ logs?: Array<ACLAction> | undefined;
1773
+ logsPreset?: Array<ACLAction> | undefined;
1774
+ passwordProtection?: Array<ACLAction> | undefined;
1775
+ optionsAllowlist?: Array<ACLAction> | undefined;
1776
+ job?: Array<ACLAction> | undefined;
1777
+ observabilityData?: Array<ACLAction> | undefined;
1778
+ onDemandBuild?: Array<ACLAction> | undefined;
1779
+ onDemandConcurrency?: Array<ACLAction> | undefined;
1780
+ project?: Array<ACLAction> | undefined;
1781
+ projectFromV0?: Array<ACLAction> | undefined;
1782
+ projectAccessGroup?: Array<ACLAction> | undefined;
1783
+ projectAnalyticsSampling?: Array<ACLAction> | undefined;
1784
+ projectCheck?: Array<ACLAction> | undefined;
1785
+ projectCheckRun?: Array<ACLAction> | undefined;
1786
+ projectDeploymentHook?: Array<ACLAction> | undefined;
1787
+ projectDomain?: Array<ACLAction> | undefined;
1788
+ projectDomainMove?: Array<ACLAction> | undefined;
1789
+ projectDomainCheckConfig?: Array<ACLAction> | undefined;
1790
+ projectEnvVars?: Array<ACLAction> | undefined;
1791
+ projectEnvVarsProduction?: Array<ACLAction> | undefined;
1792
+ projectEnvVarsUnownedByIntegration?: Array<ACLAction> | undefined;
1793
+ projectFlags?: Array<ACLAction> | undefined;
1794
+ projectId?: Array<ACLAction> | undefined;
1795
+ projectIntegrationConfiguration?: Array<ACLAction> | undefined;
1796
+ projectLink?: Array<ACLAction> | undefined;
1797
+ projectMember?: Array<ACLAction> | undefined;
1798
+ projectMonitoring?: Array<ACLAction> | undefined;
1799
+ projectPermissions?: Array<ACLAction> | undefined;
1800
+ projectProductionBranch?: Array<ACLAction> | undefined;
1801
+ projectTransfer?: Array<ACLAction> | undefined;
1802
+ projectTransferOut?: Array<ACLAction> | undefined;
1803
+ projectProtectionBypass?: Array<ACLAction> | undefined;
1804
+ projectUsage?: Array<ACLAction> | undefined;
1805
+ projectAnalyticsUsage?: Array<ACLAction> | undefined;
1806
+ projectSupportCase?: Array<ACLAction> | undefined;
1807
+ projectSupportCaseComment?: Array<ACLAction> | undefined;
1808
+ projectDeploymentExpiration?: Array<ACLAction> | undefined;
1809
+ projectRollingRelease?: Array<ACLAction> | undefined;
1810
+ projectTier?: Array<ACLAction> | undefined;
1811
+ projectOIDCToken?: Array<ACLAction> | undefined;
1812
+ seawallConfig?: Array<ACLAction> | undefined;
1813
+ skewProtection?: Array<ACLAction> | undefined;
1814
+ analytics?: Array<ACLAction> | undefined;
1815
+ trustedIps?: Array<ACLAction> | undefined;
1816
+ webAnalytics?: Array<ACLAction> | undefined;
1817
+ sharedEnvVarConnection?: Array<ACLAction> | undefined;
1818
+ sonar?: Array<ACLAction> | undefined;
1818
1819
  };
1819
1820
 
1820
1821
  export type CreateProjectLastRollbackTarget = {};
@@ -1884,11 +1885,11 @@ export type CreateProjectProtectionBypass =
1884
1885
  | CreateProjectProtectionBypass2;
1885
1886
 
1886
1887
  export const CreateProjectTrustedIpsProjectsDeploymentType = {
1887
- Preview: "preview",
1888
- Production: "production",
1889
1888
  All: "all",
1889
+ Preview: "preview",
1890
1890
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1891
1891
  AllExceptCustomDomains: "all_except_custom_domains",
1892
+ Production: "production",
1892
1893
  } as const;
1893
1894
  export type CreateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
1894
1895
  typeof CreateProjectTrustedIpsProjectsDeploymentType
@@ -1899,11 +1900,11 @@ export type CreateProjectTrustedIps2 = {
1899
1900
  };
1900
1901
 
1901
1902
  export const CreateProjectTrustedIpsDeploymentType = {
1902
- Preview: "preview",
1903
- Production: "production",
1904
1903
  All: "all",
1904
+ Preview: "preview",
1905
1905
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1906
1906
  AllExceptCustomDomains: "all_except_custom_domains",
1907
+ Production: "production",
1907
1908
  } as const;
1908
1909
  export type CreateProjectTrustedIpsDeploymentType = ClosedEnum<
1909
1910
  typeof CreateProjectTrustedIpsDeploymentType
@@ -1976,193 +1977,44 @@ export type CreateProjectWebAnalytics = {
1976
1977
  hasData?: boolean | undefined;
1977
1978
  };
1978
1979
 
1979
- export type CreateProjectSrc2 = {
1980
- re?: string | undefined;
1981
- eq?: string | undefined;
1982
- neq?: string | undefined;
1983
- inc?: Array<string> | undefined;
1984
- ninc?: Array<string> | undefined;
1985
- pre?: string | undefined;
1986
- suf?: string | undefined;
1987
- gt?: number | undefined;
1988
- gte?: number | undefined;
1989
- lt?: number | undefined;
1990
- lte?: number | undefined;
1991
- };
1992
-
1993
- export type CreateProjectSrc = CreateProjectSrc2 | string;
1994
-
1995
- export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType =
1996
- {
1997
- Path: "path",
1998
- Host: "host",
1999
- Method: "method",
2000
- Header: "header",
2001
- Cookie: "cookie",
2002
- Query: "query",
2003
- IpAddress: "ip_address",
2004
- Protocol: "protocol",
2005
- Scheme: "scheme",
2006
- Environment: "environment",
2007
- Region: "region",
2008
- InitialRequestPath: "initial_request_path",
2009
- } as const;
2010
- export type CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType =
2011
- ClosedEnum<
2012
- typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType
2013
- >;
2014
-
2015
- export type CreateProjectValue2 = {
2016
- re?: string | undefined;
2017
- eq?: string | undefined;
2018
- neq?: string | undefined;
2019
- inc?: Array<string> | undefined;
2020
- ninc?: Array<string> | undefined;
2021
- pre?: string | undefined;
2022
- suf?: string | undefined;
2023
- gt?: number | undefined;
2024
- gte?: number | undefined;
2025
- lt?: number | undefined;
2026
- lte?: number | undefined;
2027
- };
2028
-
2029
- export type CreateProjectValue = CreateProjectValue2 | string;
2030
-
2031
- export type CreateProjectHas = {
2032
- type: CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType;
2033
- key?: string | undefined;
2034
- value?: CreateProjectValue2 | string | undefined;
2035
- };
2036
-
2037
- export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType =
2038
- {
2039
- Path: "path",
2040
- Host: "host",
2041
- Method: "method",
2042
- Header: "header",
2043
- Cookie: "cookie",
2044
- Query: "query",
2045
- IpAddress: "ip_address",
2046
- Protocol: "protocol",
2047
- Scheme: "scheme",
2048
- Environment: "environment",
2049
- Region: "region",
2050
- InitialRequestPath: "initial_request_path",
2051
- } as const;
2052
- export type CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType =
2053
- ClosedEnum<
2054
- typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType
2055
- >;
2056
-
2057
- export type CreateProjectValueProjects2 = {
2058
- re?: string | undefined;
2059
- eq?: string | undefined;
2060
- neq?: string | undefined;
2061
- inc?: Array<string> | undefined;
2062
- ninc?: Array<string> | undefined;
2063
- pre?: string | undefined;
2064
- suf?: string | undefined;
2065
- gt?: number | undefined;
2066
- gte?: number | undefined;
2067
- lt?: number | undefined;
2068
- lte?: number | undefined;
2069
- };
2070
-
2071
- export type CreateProjectProjectsValue = CreateProjectValueProjects2 | string;
2072
-
2073
- export type CreateProjectMissing = {
2074
- type:
2075
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType;
2076
- key?: string | undefined;
2077
- value?: CreateProjectValueProjects2 | string | undefined;
2078
- };
2079
-
2080
- export const CreateProjectHandle = {
2081
- Init: "init",
2082
- Finalize: "finalize",
2083
- } as const;
2084
- export type CreateProjectHandle = ClosedEnum<typeof CreateProjectHandle>;
2085
-
2086
1980
  export const CreateProjectAction = {
2087
- Deny: "deny",
2088
- Challenge: "challenge",
2089
1981
  Log: "log",
2090
- Bypass: "bypass",
2091
- RateLimit: "rate_limit",
2092
- Redirect: "redirect",
1982
+ Challenge: "challenge",
1983
+ Deny: "deny",
2093
1984
  } as const;
2094
1985
  export type CreateProjectAction = ClosedEnum<typeof CreateProjectAction>;
2095
1986
 
2096
- export const CreateProjectAlgo = {
2097
- FixedWindow: "fixed_window",
2098
- TokenBucket: "token_bucket",
2099
- } as const;
2100
- export type CreateProjectAlgo = ClosedEnum<typeof CreateProjectAlgo>;
2101
-
2102
- export type CreateProjectErl = {
2103
- algo: CreateProjectAlgo;
2104
- window: number;
2105
- limit: number;
2106
- keys: Array<string>;
2107
- };
2108
-
2109
- export type CreateProjectMitigate = {
2110
- action: CreateProjectAction;
2111
- ruleId: string;
2112
- ttl?: number | undefined;
2113
- erl?: CreateProjectErl | undefined;
2114
- };
2115
-
2116
- export type CreateProjectFirewallRoutes = {
2117
- src?: CreateProjectSrc2 | string | undefined;
2118
- has?: Array<CreateProjectHas> | undefined;
2119
- missing?: Array<CreateProjectMissing> | undefined;
2120
- dest?: string | undefined;
2121
- status?: number | undefined;
2122
- handle?: CreateProjectHandle | undefined;
2123
- mitigate?: CreateProjectMitigate | undefined;
1987
+ export type CreateProjectBotFilter = {
1988
+ active: boolean;
1989
+ action?: CreateProjectAction | undefined;
2124
1990
  };
2125
1991
 
2126
1992
  export const CreateProjectProjectsAction = {
2127
- Deny: "deny",
2128
- Challenge: "challenge",
2129
1993
  Log: "log",
1994
+ Challenge: "challenge",
1995
+ Deny: "deny",
2130
1996
  } as const;
2131
1997
  export type CreateProjectProjectsAction = ClosedEnum<
2132
1998
  typeof CreateProjectProjectsAction
2133
1999
  >;
2134
2000
 
2135
- export type CreateProjectBotFilter = {
2001
+ export type CreateProjectAiBots = {
2136
2002
  active: boolean;
2137
2003
  action?: CreateProjectProjectsAction | undefined;
2138
2004
  };
2139
2005
 
2140
2006
  export const CreateProjectProjectsResponseAction = {
2141
- Deny: "deny",
2142
- Challenge: "challenge",
2143
2007
  Log: "log",
2008
+ Challenge: "challenge",
2009
+ Deny: "deny",
2144
2010
  } as const;
2145
2011
  export type CreateProjectProjectsResponseAction = ClosedEnum<
2146
2012
  typeof CreateProjectProjectsResponseAction
2147
2013
  >;
2148
2014
 
2149
- export type CreateProjectAiBots = {
2150
- active: boolean;
2151
- action?: CreateProjectProjectsResponseAction | undefined;
2152
- };
2153
-
2154
- export const CreateProjectProjectsResponse200Action = {
2155
- Deny: "deny",
2156
- Challenge: "challenge",
2157
- Log: "log",
2158
- } as const;
2159
- export type CreateProjectProjectsResponse200Action = ClosedEnum<
2160
- typeof CreateProjectProjectsResponse200Action
2161
- >;
2162
-
2163
2015
  export type CreateProjectOwasp = {
2164
2016
  active: boolean;
2165
- action?: CreateProjectProjectsResponse200Action | undefined;
2017
+ action?: CreateProjectProjectsResponseAction | undefined;
2166
2018
  };
2167
2019
 
2168
2020
  export type CreateProjectManagedRules = {
@@ -2178,7 +2030,6 @@ export type CreateProjectSecurity = {
2178
2030
  firewallUpdatedAt?: number | undefined;
2179
2031
  attackModeActiveUntil?: number | null | undefined;
2180
2032
  firewallConfigVersion?: number | undefined;
2181
- firewallRoutes?: Array<CreateProjectFirewallRoutes> | undefined;
2182
2033
  firewallSeawallEnabled?: boolean | undefined;
2183
2034
  ja3Enabled?: boolean | undefined;
2184
2035
  ja4Enabled?: boolean | undefined;
@@ -7242,32 +7093,32 @@ export const CreateProjectLink2$inboundSchema: z.ZodType<
7242
7093
  unknown
7243
7094
  > = z.object({
7244
7095
  type: CreateProjectLinkProjectsType$inboundSchema.optional(),
7245
- repo: z.string().optional(),
7246
- repoId: z.number().optional(),
7247
7096
  updatedAt: z.number().optional(),
7248
7097
  createdAt: z.number().optional(),
7098
+ repo: z.string().optional(),
7099
+ sourceless: z.boolean().optional(),
7249
7100
  org: z.string().optional(),
7250
7101
  repoOwnerId: z.number().optional(),
7102
+ repoId: z.number().optional(),
7251
7103
  deployHooks: z.array(
7252
7104
  z.lazy(() => CreateProjectLinkProjectsDeployHooks$inboundSchema),
7253
7105
  ),
7254
7106
  gitCredentialId: z.string().optional(),
7255
- sourceless: z.boolean().optional(),
7256
7107
  productionBranch: z.string().optional(),
7257
7108
  });
7258
7109
 
7259
7110
  /** @internal */
7260
7111
  export type CreateProjectLink2$Outbound = {
7261
7112
  type?: string | undefined;
7262
- repo?: string | undefined;
7263
- repoId?: number | undefined;
7264
7113
  updatedAt?: number | undefined;
7265
7114
  createdAt?: number | undefined;
7115
+ repo?: string | undefined;
7116
+ sourceless?: boolean | undefined;
7266
7117
  org?: string | undefined;
7267
7118
  repoOwnerId?: number | undefined;
7119
+ repoId?: number | undefined;
7268
7120
  deployHooks: Array<CreateProjectLinkProjectsDeployHooks$Outbound>;
7269
7121
  gitCredentialId?: string | undefined;
7270
- sourceless?: boolean | undefined;
7271
7122
  productionBranch?: string | undefined;
7272
7123
  };
7273
7124
 
@@ -7278,17 +7129,17 @@ export const CreateProjectLink2$outboundSchema: z.ZodType<
7278
7129
  CreateProjectLink2
7279
7130
  > = z.object({
7280
7131
  type: CreateProjectLinkProjectsType$outboundSchema.optional(),
7281
- repo: z.string().optional(),
7282
- repoId: z.number().optional(),
7283
7132
  updatedAt: z.number().optional(),
7284
7133
  createdAt: z.number().optional(),
7134
+ repo: z.string().optional(),
7135
+ sourceless: z.boolean().optional(),
7285
7136
  org: z.string().optional(),
7286
7137
  repoOwnerId: z.number().optional(),
7138
+ repoId: z.number().optional(),
7287
7139
  deployHooks: z.array(
7288
7140
  z.lazy(() => CreateProjectLinkProjectsDeployHooks$outboundSchema),
7289
7141
  ),
7290
7142
  gitCredentialId: z.string().optional(),
7291
- sourceless: z.boolean().optional(),
7292
7143
  productionBranch: z.string().optional(),
7293
7144
  });
7294
7145
 
@@ -9213,74 +9064,6 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
9213
9064
  z.ZodTypeDef,
9214
9065
  unknown
9215
9066
  > = z.object({
9216
- aliasProject: z.array(ACLAction$inboundSchema).optional(),
9217
- aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9218
- buildMachine: z.array(ACLAction$inboundSchema).optional(),
9219
- productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9220
- connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(),
9221
- dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
9222
- deployment: z.array(ACLAction$inboundSchema).optional(),
9223
- deploymentBuildLogs: z.array(ACLAction$inboundSchema).optional(),
9224
- deploymentCheck: z.array(ACLAction$inboundSchema).optional(),
9225
- deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(),
9226
- deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema)
9227
- .optional(),
9228
- deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(),
9229
- deploymentV0: z.array(ACLAction$inboundSchema).optional(),
9230
- deploymentPreview: z.array(ACLAction$inboundSchema).optional(),
9231
- deploymentPrivate: z.array(ACLAction$inboundSchema).optional(),
9232
- deploymentPromote: z.array(ACLAction$inboundSchema).optional(),
9233
- deploymentRollback: z.array(ACLAction$inboundSchema).optional(),
9234
- edgeCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
9235
- environments: z.array(ACLAction$inboundSchema).optional(),
9236
- logs: z.array(ACLAction$inboundSchema).optional(),
9237
- logsPreset: z.array(ACLAction$inboundSchema).optional(),
9238
- passwordProtection: z.array(ACLAction$inboundSchema).optional(),
9239
- optionsAllowlist: z.array(ACLAction$inboundSchema).optional(),
9240
- job: z.array(ACLAction$inboundSchema).optional(),
9241
- observabilityData: z.array(ACLAction$inboundSchema).optional(),
9242
- onDemandBuild: z.array(ACLAction$inboundSchema).optional(),
9243
- onDemandConcurrency: z.array(ACLAction$inboundSchema).optional(),
9244
- project: z.array(ACLAction$inboundSchema).optional(),
9245
- projectFromV0: z.array(ACLAction$inboundSchema).optional(),
9246
- projectAccessGroup: z.array(ACLAction$inboundSchema).optional(),
9247
- projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(),
9248
- projectCheck: z.array(ACLAction$inboundSchema).optional(),
9249
- projectCheckRun: z.array(ACLAction$inboundSchema).optional(),
9250
- projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(),
9251
- projectDomain: z.array(ACLAction$inboundSchema).optional(),
9252
- projectDomainMove: z.array(ACLAction$inboundSchema).optional(),
9253
- projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(),
9254
- projectEnvVars: z.array(ACLAction$inboundSchema).optional(),
9255
- projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(),
9256
- projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema)
9257
- .optional(),
9258
- projectFlags: z.array(ACLAction$inboundSchema).optional(),
9259
- projectId: z.array(ACLAction$inboundSchema).optional(),
9260
- projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(),
9261
- projectLink: z.array(ACLAction$inboundSchema).optional(),
9262
- projectMember: z.array(ACLAction$inboundSchema).optional(),
9263
- projectMonitoring: z.array(ACLAction$inboundSchema).optional(),
9264
- projectPermissions: z.array(ACLAction$inboundSchema).optional(),
9265
- projectProductionBranch: z.array(ACLAction$inboundSchema).optional(),
9266
- projectTransfer: z.array(ACLAction$inboundSchema).optional(),
9267
- projectTransferOut: z.array(ACLAction$inboundSchema).optional(),
9268
- projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9269
- projectUsage: z.array(ACLAction$inboundSchema).optional(),
9270
- projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(),
9271
- projectSupportCase: z.array(ACLAction$inboundSchema).optional(),
9272
- projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(),
9273
- projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(),
9274
- projectRollingRelease: z.array(ACLAction$inboundSchema).optional(),
9275
- projectTier: z.array(ACLAction$inboundSchema).optional(),
9276
- projectOIDCToken: z.array(ACLAction$inboundSchema).optional(),
9277
- seawallConfig: z.array(ACLAction$inboundSchema).optional(),
9278
- skewProtection: z.array(ACLAction$inboundSchema).optional(),
9279
- analytics: z.array(ACLAction$inboundSchema).optional(),
9280
- trustedIps: z.array(ACLAction$inboundSchema).optional(),
9281
- webAnalytics: z.array(ACLAction$inboundSchema).optional(),
9282
- sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(),
9283
- sonar: z.array(ACLAction$inboundSchema).optional(),
9284
9067
  oauth2Connection: z.array(ACLAction$inboundSchema).optional(),
9285
9068
  user: z.array(ACLAction$inboundSchema).optional(),
9286
9069
  userConnection: z.array(ACLAction$inboundSchema).optional(),
@@ -9374,6 +9157,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
9374
9157
  observabilityFunnel: z.array(ACLAction$inboundSchema).optional(),
9375
9158
  openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
9376
9159
  vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(),
9160
+ vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(),
9377
9161
  paymentMethod: z.array(ACLAction$inboundSchema).optional(),
9378
9162
  permissions: z.array(ACLAction$inboundSchema).optional(),
9379
9163
  postgres: z.array(ACLAction$inboundSchema).optional(),
@@ -9428,6 +9212,74 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
9428
9212
  vercelRunExec: z.array(ACLAction$inboundSchema).optional(),
9429
9213
  apiKey: z.array(ACLAction$inboundSchema).optional(),
9430
9214
  apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(),
9215
+ aliasProject: z.array(ACLAction$inboundSchema).optional(),
9216
+ aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9217
+ buildMachine: z.array(ACLAction$inboundSchema).optional(),
9218
+ productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9219
+ connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(),
9220
+ dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
9221
+ deployment: z.array(ACLAction$inboundSchema).optional(),
9222
+ deploymentBuildLogs: z.array(ACLAction$inboundSchema).optional(),
9223
+ deploymentCheck: z.array(ACLAction$inboundSchema).optional(),
9224
+ deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(),
9225
+ deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema)
9226
+ .optional(),
9227
+ deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(),
9228
+ deploymentV0: z.array(ACLAction$inboundSchema).optional(),
9229
+ deploymentPreview: z.array(ACLAction$inboundSchema).optional(),
9230
+ deploymentPrivate: z.array(ACLAction$inboundSchema).optional(),
9231
+ deploymentPromote: z.array(ACLAction$inboundSchema).optional(),
9232
+ deploymentRollback: z.array(ACLAction$inboundSchema).optional(),
9233
+ edgeCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
9234
+ environments: z.array(ACLAction$inboundSchema).optional(),
9235
+ logs: z.array(ACLAction$inboundSchema).optional(),
9236
+ logsPreset: z.array(ACLAction$inboundSchema).optional(),
9237
+ passwordProtection: z.array(ACLAction$inboundSchema).optional(),
9238
+ optionsAllowlist: z.array(ACLAction$inboundSchema).optional(),
9239
+ job: z.array(ACLAction$inboundSchema).optional(),
9240
+ observabilityData: z.array(ACLAction$inboundSchema).optional(),
9241
+ onDemandBuild: z.array(ACLAction$inboundSchema).optional(),
9242
+ onDemandConcurrency: z.array(ACLAction$inboundSchema).optional(),
9243
+ project: z.array(ACLAction$inboundSchema).optional(),
9244
+ projectFromV0: z.array(ACLAction$inboundSchema).optional(),
9245
+ projectAccessGroup: z.array(ACLAction$inboundSchema).optional(),
9246
+ projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(),
9247
+ projectCheck: z.array(ACLAction$inboundSchema).optional(),
9248
+ projectCheckRun: z.array(ACLAction$inboundSchema).optional(),
9249
+ projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(),
9250
+ projectDomain: z.array(ACLAction$inboundSchema).optional(),
9251
+ projectDomainMove: z.array(ACLAction$inboundSchema).optional(),
9252
+ projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(),
9253
+ projectEnvVars: z.array(ACLAction$inboundSchema).optional(),
9254
+ projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(),
9255
+ projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema)
9256
+ .optional(),
9257
+ projectFlags: z.array(ACLAction$inboundSchema).optional(),
9258
+ projectId: z.array(ACLAction$inboundSchema).optional(),
9259
+ projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(),
9260
+ projectLink: z.array(ACLAction$inboundSchema).optional(),
9261
+ projectMember: z.array(ACLAction$inboundSchema).optional(),
9262
+ projectMonitoring: z.array(ACLAction$inboundSchema).optional(),
9263
+ projectPermissions: z.array(ACLAction$inboundSchema).optional(),
9264
+ projectProductionBranch: z.array(ACLAction$inboundSchema).optional(),
9265
+ projectTransfer: z.array(ACLAction$inboundSchema).optional(),
9266
+ projectTransferOut: z.array(ACLAction$inboundSchema).optional(),
9267
+ projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9268
+ projectUsage: z.array(ACLAction$inboundSchema).optional(),
9269
+ projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(),
9270
+ projectSupportCase: z.array(ACLAction$inboundSchema).optional(),
9271
+ projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(),
9272
+ projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(),
9273
+ projectRollingRelease: z.array(ACLAction$inboundSchema).optional(),
9274
+ projectTier: z.array(ACLAction$inboundSchema).optional(),
9275
+ projectOIDCToken: z.array(ACLAction$inboundSchema).optional(),
9276
+ seawallConfig: z.array(ACLAction$inboundSchema).optional(),
9277
+ skewProtection: z.array(ACLAction$inboundSchema).optional(),
9278
+ analytics: z.array(ACLAction$inboundSchema).optional(),
9279
+ trustedIps: z.array(ACLAction$inboundSchema).optional(),
9280
+ webAnalytics: z.array(ACLAction$inboundSchema).optional(),
9281
+ sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(),
9282
+ sonar: z.array(ACLAction$inboundSchema).optional(),
9431
9283
  }).transform((v) => {
9432
9284
  return remap$(v, {
9433
9285
  "Monitoring": "monitoring",
@@ -9438,72 +9290,6 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
9438
9290
 
9439
9291
  /** @internal */
9440
9292
  export type CreateProjectPermissions$Outbound = {
9441
- aliasProject?: Array<string> | undefined;
9442
- aliasProtectionBypass?: Array<string> | undefined;
9443
- buildMachine?: Array<string> | undefined;
9444
- productionAliasProtectionBypass?: Array<string> | undefined;
9445
- connectConfigurationLink?: Array<string> | undefined;
9446
- dataCacheNamespace?: Array<string> | undefined;
9447
- deployment?: Array<string> | undefined;
9448
- deploymentBuildLogs?: Array<string> | undefined;
9449
- deploymentCheck?: Array<string> | undefined;
9450
- deploymentCheckPreview?: Array<string> | undefined;
9451
- deploymentCheckReRunFromProductionBranch?: Array<string> | undefined;
9452
- deploymentProductionGit?: Array<string> | undefined;
9453
- deploymentV0?: Array<string> | undefined;
9454
- deploymentPreview?: Array<string> | undefined;
9455
- deploymentPrivate?: Array<string> | undefined;
9456
- deploymentPromote?: Array<string> | undefined;
9457
- deploymentRollback?: Array<string> | undefined;
9458
- edgeCacheNamespace?: Array<string> | undefined;
9459
- environments?: Array<string> | undefined;
9460
- logs?: Array<string> | undefined;
9461
- logsPreset?: Array<string> | undefined;
9462
- passwordProtection?: Array<string> | undefined;
9463
- optionsAllowlist?: Array<string> | undefined;
9464
- job?: Array<string> | undefined;
9465
- observabilityData?: Array<string> | undefined;
9466
- onDemandBuild?: Array<string> | undefined;
9467
- onDemandConcurrency?: Array<string> | undefined;
9468
- project?: Array<string> | undefined;
9469
- projectFromV0?: Array<string> | undefined;
9470
- projectAccessGroup?: Array<string> | undefined;
9471
- projectAnalyticsSampling?: Array<string> | undefined;
9472
- projectCheck?: Array<string> | undefined;
9473
- projectCheckRun?: Array<string> | undefined;
9474
- projectDeploymentHook?: Array<string> | undefined;
9475
- projectDomain?: Array<string> | undefined;
9476
- projectDomainMove?: Array<string> | undefined;
9477
- projectDomainCheckConfig?: Array<string> | undefined;
9478
- projectEnvVars?: Array<string> | undefined;
9479
- projectEnvVarsProduction?: Array<string> | undefined;
9480
- projectEnvVarsUnownedByIntegration?: Array<string> | undefined;
9481
- projectFlags?: Array<string> | undefined;
9482
- projectId?: Array<string> | undefined;
9483
- projectIntegrationConfiguration?: Array<string> | undefined;
9484
- projectLink?: Array<string> | undefined;
9485
- projectMember?: Array<string> | undefined;
9486
- projectMonitoring?: Array<string> | undefined;
9487
- projectPermissions?: Array<string> | undefined;
9488
- projectProductionBranch?: Array<string> | undefined;
9489
- projectTransfer?: Array<string> | undefined;
9490
- projectTransferOut?: Array<string> | undefined;
9491
- projectProtectionBypass?: Array<string> | undefined;
9492
- projectUsage?: Array<string> | undefined;
9493
- projectAnalyticsUsage?: Array<string> | undefined;
9494
- projectSupportCase?: Array<string> | undefined;
9495
- projectSupportCaseComment?: Array<string> | undefined;
9496
- projectDeploymentExpiration?: Array<string> | undefined;
9497
- projectRollingRelease?: Array<string> | undefined;
9498
- projectTier?: Array<string> | undefined;
9499
- projectOIDCToken?: Array<string> | undefined;
9500
- seawallConfig?: Array<string> | undefined;
9501
- skewProtection?: Array<string> | undefined;
9502
- analytics?: Array<string> | undefined;
9503
- trustedIps?: Array<string> | undefined;
9504
- webAnalytics?: Array<string> | undefined;
9505
- sharedEnvVarConnection?: Array<string> | undefined;
9506
- sonar?: Array<string> | undefined;
9507
9293
  oauth2Connection?: Array<string> | undefined;
9508
9294
  user?: Array<string> | undefined;
9509
9295
  userConnection?: Array<string> | undefined;
@@ -9594,6 +9380,7 @@ export type CreateProjectPermissions$Outbound = {
9594
9380
  observabilityFunnel?: Array<string> | undefined;
9595
9381
  openTelemetryEndpoint?: Array<string> | undefined;
9596
9382
  vercelAppInstallation?: Array<string> | undefined;
9383
+ vercelAppInstallationRequest?: Array<string> | undefined;
9597
9384
  paymentMethod?: Array<string> | undefined;
9598
9385
  permissions?: Array<string> | undefined;
9599
9386
  postgres?: Array<string> | undefined;
@@ -9648,6 +9435,72 @@ export type CreateProjectPermissions$Outbound = {
9648
9435
  vercelRunExec?: Array<string> | undefined;
9649
9436
  apiKey?: Array<string> | undefined;
9650
9437
  apiKeyOwnedBySelf?: Array<string> | undefined;
9438
+ aliasProject?: Array<string> | undefined;
9439
+ aliasProtectionBypass?: Array<string> | undefined;
9440
+ buildMachine?: Array<string> | undefined;
9441
+ productionAliasProtectionBypass?: Array<string> | undefined;
9442
+ connectConfigurationLink?: Array<string> | undefined;
9443
+ dataCacheNamespace?: Array<string> | undefined;
9444
+ deployment?: Array<string> | undefined;
9445
+ deploymentBuildLogs?: Array<string> | undefined;
9446
+ deploymentCheck?: Array<string> | undefined;
9447
+ deploymentCheckPreview?: Array<string> | undefined;
9448
+ deploymentCheckReRunFromProductionBranch?: Array<string> | undefined;
9449
+ deploymentProductionGit?: Array<string> | undefined;
9450
+ deploymentV0?: Array<string> | undefined;
9451
+ deploymentPreview?: Array<string> | undefined;
9452
+ deploymentPrivate?: Array<string> | undefined;
9453
+ deploymentPromote?: Array<string> | undefined;
9454
+ deploymentRollback?: Array<string> | undefined;
9455
+ edgeCacheNamespace?: Array<string> | undefined;
9456
+ environments?: Array<string> | undefined;
9457
+ logs?: Array<string> | undefined;
9458
+ logsPreset?: Array<string> | undefined;
9459
+ passwordProtection?: Array<string> | undefined;
9460
+ optionsAllowlist?: Array<string> | undefined;
9461
+ job?: Array<string> | undefined;
9462
+ observabilityData?: Array<string> | undefined;
9463
+ onDemandBuild?: Array<string> | undefined;
9464
+ onDemandConcurrency?: Array<string> | undefined;
9465
+ project?: Array<string> | undefined;
9466
+ projectFromV0?: Array<string> | undefined;
9467
+ projectAccessGroup?: Array<string> | undefined;
9468
+ projectAnalyticsSampling?: Array<string> | undefined;
9469
+ projectCheck?: Array<string> | undefined;
9470
+ projectCheckRun?: Array<string> | undefined;
9471
+ projectDeploymentHook?: Array<string> | undefined;
9472
+ projectDomain?: Array<string> | undefined;
9473
+ projectDomainMove?: Array<string> | undefined;
9474
+ projectDomainCheckConfig?: Array<string> | undefined;
9475
+ projectEnvVars?: Array<string> | undefined;
9476
+ projectEnvVarsProduction?: Array<string> | undefined;
9477
+ projectEnvVarsUnownedByIntegration?: Array<string> | undefined;
9478
+ projectFlags?: Array<string> | undefined;
9479
+ projectId?: Array<string> | undefined;
9480
+ projectIntegrationConfiguration?: Array<string> | undefined;
9481
+ projectLink?: Array<string> | undefined;
9482
+ projectMember?: Array<string> | undefined;
9483
+ projectMonitoring?: Array<string> | undefined;
9484
+ projectPermissions?: Array<string> | undefined;
9485
+ projectProductionBranch?: Array<string> | undefined;
9486
+ projectTransfer?: Array<string> | undefined;
9487
+ projectTransferOut?: Array<string> | undefined;
9488
+ projectProtectionBypass?: Array<string> | undefined;
9489
+ projectUsage?: Array<string> | undefined;
9490
+ projectAnalyticsUsage?: Array<string> | undefined;
9491
+ projectSupportCase?: Array<string> | undefined;
9492
+ projectSupportCaseComment?: Array<string> | undefined;
9493
+ projectDeploymentExpiration?: Array<string> | undefined;
9494
+ projectRollingRelease?: Array<string> | undefined;
9495
+ projectTier?: Array<string> | undefined;
9496
+ projectOIDCToken?: Array<string> | undefined;
9497
+ seawallConfig?: Array<string> | undefined;
9498
+ skewProtection?: Array<string> | undefined;
9499
+ analytics?: Array<string> | undefined;
9500
+ trustedIps?: Array<string> | undefined;
9501
+ webAnalytics?: Array<string> | undefined;
9502
+ sharedEnvVarConnection?: Array<string> | undefined;
9503
+ sonar?: Array<string> | undefined;
9651
9504
  };
9652
9505
 
9653
9506
  /** @internal */
@@ -9656,74 +9509,6 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
9656
9509
  z.ZodTypeDef,
9657
9510
  CreateProjectPermissions
9658
9511
  > = z.object({
9659
- aliasProject: z.array(ACLAction$outboundSchema).optional(),
9660
- aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
9661
- buildMachine: z.array(ACLAction$outboundSchema).optional(),
9662
- productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
9663
- connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(),
9664
- dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
9665
- deployment: z.array(ACLAction$outboundSchema).optional(),
9666
- deploymentBuildLogs: z.array(ACLAction$outboundSchema).optional(),
9667
- deploymentCheck: z.array(ACLAction$outboundSchema).optional(),
9668
- deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(),
9669
- deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema)
9670
- .optional(),
9671
- deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(),
9672
- deploymentV0: z.array(ACLAction$outboundSchema).optional(),
9673
- deploymentPreview: z.array(ACLAction$outboundSchema).optional(),
9674
- deploymentPrivate: z.array(ACLAction$outboundSchema).optional(),
9675
- deploymentPromote: z.array(ACLAction$outboundSchema).optional(),
9676
- deploymentRollback: z.array(ACLAction$outboundSchema).optional(),
9677
- edgeCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
9678
- environments: z.array(ACLAction$outboundSchema).optional(),
9679
- logs: z.array(ACLAction$outboundSchema).optional(),
9680
- logsPreset: z.array(ACLAction$outboundSchema).optional(),
9681
- passwordProtection: z.array(ACLAction$outboundSchema).optional(),
9682
- optionsAllowlist: z.array(ACLAction$outboundSchema).optional(),
9683
- job: z.array(ACLAction$outboundSchema).optional(),
9684
- observabilityData: z.array(ACLAction$outboundSchema).optional(),
9685
- onDemandBuild: z.array(ACLAction$outboundSchema).optional(),
9686
- onDemandConcurrency: z.array(ACLAction$outboundSchema).optional(),
9687
- project: z.array(ACLAction$outboundSchema).optional(),
9688
- projectFromV0: z.array(ACLAction$outboundSchema).optional(),
9689
- projectAccessGroup: z.array(ACLAction$outboundSchema).optional(),
9690
- projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(),
9691
- projectCheck: z.array(ACLAction$outboundSchema).optional(),
9692
- projectCheckRun: z.array(ACLAction$outboundSchema).optional(),
9693
- projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(),
9694
- projectDomain: z.array(ACLAction$outboundSchema).optional(),
9695
- projectDomainMove: z.array(ACLAction$outboundSchema).optional(),
9696
- projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(),
9697
- projectEnvVars: z.array(ACLAction$outboundSchema).optional(),
9698
- projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(),
9699
- projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema)
9700
- .optional(),
9701
- projectFlags: z.array(ACLAction$outboundSchema).optional(),
9702
- projectId: z.array(ACLAction$outboundSchema).optional(),
9703
- projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(),
9704
- projectLink: z.array(ACLAction$outboundSchema).optional(),
9705
- projectMember: z.array(ACLAction$outboundSchema).optional(),
9706
- projectMonitoring: z.array(ACLAction$outboundSchema).optional(),
9707
- projectPermissions: z.array(ACLAction$outboundSchema).optional(),
9708
- projectProductionBranch: z.array(ACLAction$outboundSchema).optional(),
9709
- projectTransfer: z.array(ACLAction$outboundSchema).optional(),
9710
- projectTransferOut: z.array(ACLAction$outboundSchema).optional(),
9711
- projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
9712
- projectUsage: z.array(ACLAction$outboundSchema).optional(),
9713
- projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(),
9714
- projectSupportCase: z.array(ACLAction$outboundSchema).optional(),
9715
- projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(),
9716
- projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(),
9717
- projectRollingRelease: z.array(ACLAction$outboundSchema).optional(),
9718
- projectTier: z.array(ACLAction$outboundSchema).optional(),
9719
- projectOIDCToken: z.array(ACLAction$outboundSchema).optional(),
9720
- seawallConfig: z.array(ACLAction$outboundSchema).optional(),
9721
- skewProtection: z.array(ACLAction$outboundSchema).optional(),
9722
- analytics: z.array(ACLAction$outboundSchema).optional(),
9723
- trustedIps: z.array(ACLAction$outboundSchema).optional(),
9724
- webAnalytics: z.array(ACLAction$outboundSchema).optional(),
9725
- sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(),
9726
- sonar: z.array(ACLAction$outboundSchema).optional(),
9727
9512
  oauth2Connection: z.array(ACLAction$outboundSchema).optional(),
9728
9513
  user: z.array(ACLAction$outboundSchema).optional(),
9729
9514
  userConnection: z.array(ACLAction$outboundSchema).optional(),
@@ -9819,6 +9604,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
9819
9604
  observabilityFunnel: z.array(ACLAction$outboundSchema).optional(),
9820
9605
  openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
9821
9606
  vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(),
9607
+ vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(),
9822
9608
  paymentMethod: z.array(ACLAction$outboundSchema).optional(),
9823
9609
  permissions: z.array(ACLAction$outboundSchema).optional(),
9824
9610
  postgres: z.array(ACLAction$outboundSchema).optional(),
@@ -9873,6 +9659,74 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
9873
9659
  vercelRunExec: z.array(ACLAction$outboundSchema).optional(),
9874
9660
  apiKey: z.array(ACLAction$outboundSchema).optional(),
9875
9661
  apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(),
9662
+ aliasProject: z.array(ACLAction$outboundSchema).optional(),
9663
+ aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
9664
+ buildMachine: z.array(ACLAction$outboundSchema).optional(),
9665
+ productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
9666
+ connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(),
9667
+ dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
9668
+ deployment: z.array(ACLAction$outboundSchema).optional(),
9669
+ deploymentBuildLogs: z.array(ACLAction$outboundSchema).optional(),
9670
+ deploymentCheck: z.array(ACLAction$outboundSchema).optional(),
9671
+ deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(),
9672
+ deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema)
9673
+ .optional(),
9674
+ deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(),
9675
+ deploymentV0: z.array(ACLAction$outboundSchema).optional(),
9676
+ deploymentPreview: z.array(ACLAction$outboundSchema).optional(),
9677
+ deploymentPrivate: z.array(ACLAction$outboundSchema).optional(),
9678
+ deploymentPromote: z.array(ACLAction$outboundSchema).optional(),
9679
+ deploymentRollback: z.array(ACLAction$outboundSchema).optional(),
9680
+ edgeCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
9681
+ environments: z.array(ACLAction$outboundSchema).optional(),
9682
+ logs: z.array(ACLAction$outboundSchema).optional(),
9683
+ logsPreset: z.array(ACLAction$outboundSchema).optional(),
9684
+ passwordProtection: z.array(ACLAction$outboundSchema).optional(),
9685
+ optionsAllowlist: z.array(ACLAction$outboundSchema).optional(),
9686
+ job: z.array(ACLAction$outboundSchema).optional(),
9687
+ observabilityData: z.array(ACLAction$outboundSchema).optional(),
9688
+ onDemandBuild: z.array(ACLAction$outboundSchema).optional(),
9689
+ onDemandConcurrency: z.array(ACLAction$outboundSchema).optional(),
9690
+ project: z.array(ACLAction$outboundSchema).optional(),
9691
+ projectFromV0: z.array(ACLAction$outboundSchema).optional(),
9692
+ projectAccessGroup: z.array(ACLAction$outboundSchema).optional(),
9693
+ projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(),
9694
+ projectCheck: z.array(ACLAction$outboundSchema).optional(),
9695
+ projectCheckRun: z.array(ACLAction$outboundSchema).optional(),
9696
+ projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(),
9697
+ projectDomain: z.array(ACLAction$outboundSchema).optional(),
9698
+ projectDomainMove: z.array(ACLAction$outboundSchema).optional(),
9699
+ projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(),
9700
+ projectEnvVars: z.array(ACLAction$outboundSchema).optional(),
9701
+ projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(),
9702
+ projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema)
9703
+ .optional(),
9704
+ projectFlags: z.array(ACLAction$outboundSchema).optional(),
9705
+ projectId: z.array(ACLAction$outboundSchema).optional(),
9706
+ projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(),
9707
+ projectLink: z.array(ACLAction$outboundSchema).optional(),
9708
+ projectMember: z.array(ACLAction$outboundSchema).optional(),
9709
+ projectMonitoring: z.array(ACLAction$outboundSchema).optional(),
9710
+ projectPermissions: z.array(ACLAction$outboundSchema).optional(),
9711
+ projectProductionBranch: z.array(ACLAction$outboundSchema).optional(),
9712
+ projectTransfer: z.array(ACLAction$outboundSchema).optional(),
9713
+ projectTransferOut: z.array(ACLAction$outboundSchema).optional(),
9714
+ projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
9715
+ projectUsage: z.array(ACLAction$outboundSchema).optional(),
9716
+ projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(),
9717
+ projectSupportCase: z.array(ACLAction$outboundSchema).optional(),
9718
+ projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(),
9719
+ projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(),
9720
+ projectRollingRelease: z.array(ACLAction$outboundSchema).optional(),
9721
+ projectTier: z.array(ACLAction$outboundSchema).optional(),
9722
+ projectOIDCToken: z.array(ACLAction$outboundSchema).optional(),
9723
+ seawallConfig: z.array(ACLAction$outboundSchema).optional(),
9724
+ skewProtection: z.array(ACLAction$outboundSchema).optional(),
9725
+ analytics: z.array(ACLAction$outboundSchema).optional(),
9726
+ trustedIps: z.array(ACLAction$outboundSchema).optional(),
9727
+ webAnalytics: z.array(ACLAction$outboundSchema).optional(),
9728
+ sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(),
9729
+ sonar: z.array(ACLAction$outboundSchema).optional(),
9876
9730
  }).transform((v) => {
9877
9731
  return remap$(v, {
9878
9732
  monitoring: "Monitoring",
@@ -10591,1117 +10445,249 @@ export namespace CreateProjectTrustedIps$ {
10591
10445
  /** @deprecated use `CreateProjectTrustedIps$outboundSchema` instead. */
10592
10446
  export const outboundSchema = CreateProjectTrustedIps$outboundSchema;
10593
10447
  /** @deprecated use `CreateProjectTrustedIps$Outbound` instead. */
10594
- export type Outbound = CreateProjectTrustedIps$Outbound;
10595
- }
10596
-
10597
- export function createProjectTrustedIpsToJSON(
10598
- createProjectTrustedIps: CreateProjectTrustedIps,
10599
- ): string {
10600
- return JSON.stringify(
10601
- CreateProjectTrustedIps$outboundSchema.parse(createProjectTrustedIps),
10602
- );
10603
- }
10604
-
10605
- export function createProjectTrustedIpsFromJSON(
10606
- jsonString: string,
10607
- ): SafeParseResult<CreateProjectTrustedIps, SDKValidationError> {
10608
- return safeParse(
10609
- jsonString,
10610
- (x) => CreateProjectTrustedIps$inboundSchema.parse(JSON.parse(x)),
10611
- `Failed to parse 'CreateProjectTrustedIps' from JSON`,
10612
- );
10613
- }
10614
-
10615
- /** @internal */
10616
- export const CreateProjectGitComments$inboundSchema: z.ZodType<
10617
- CreateProjectGitComments,
10618
- z.ZodTypeDef,
10619
- unknown
10620
- > = z.object({
10621
- onPullRequest: z.boolean(),
10622
- onCommit: z.boolean(),
10623
- });
10624
-
10625
- /** @internal */
10626
- export type CreateProjectGitComments$Outbound = {
10627
- onPullRequest: boolean;
10628
- onCommit: boolean;
10629
- };
10630
-
10631
- /** @internal */
10632
- export const CreateProjectGitComments$outboundSchema: z.ZodType<
10633
- CreateProjectGitComments$Outbound,
10634
- z.ZodTypeDef,
10635
- CreateProjectGitComments
10636
- > = z.object({
10637
- onPullRequest: z.boolean(),
10638
- onCommit: z.boolean(),
10639
- });
10640
-
10641
- /**
10642
- * @internal
10643
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10644
- */
10645
- export namespace CreateProjectGitComments$ {
10646
- /** @deprecated use `CreateProjectGitComments$inboundSchema` instead. */
10647
- export const inboundSchema = CreateProjectGitComments$inboundSchema;
10648
- /** @deprecated use `CreateProjectGitComments$outboundSchema` instead. */
10649
- export const outboundSchema = CreateProjectGitComments$outboundSchema;
10650
- /** @deprecated use `CreateProjectGitComments$Outbound` instead. */
10651
- export type Outbound = CreateProjectGitComments$Outbound;
10652
- }
10653
-
10654
- export function createProjectGitCommentsToJSON(
10655
- createProjectGitComments: CreateProjectGitComments,
10656
- ): string {
10657
- return JSON.stringify(
10658
- CreateProjectGitComments$outboundSchema.parse(createProjectGitComments),
10659
- );
10660
- }
10661
-
10662
- export function createProjectGitCommentsFromJSON(
10663
- jsonString: string,
10664
- ): SafeParseResult<CreateProjectGitComments, SDKValidationError> {
10665
- return safeParse(
10666
- jsonString,
10667
- (x) => CreateProjectGitComments$inboundSchema.parse(JSON.parse(x)),
10668
- `Failed to parse 'CreateProjectGitComments' from JSON`,
10669
- );
10670
- }
10671
-
10672
- /** @internal */
10673
- export const CreateProjectCreateDeployments$inboundSchema: z.ZodNativeEnum<
10674
- typeof CreateProjectCreateDeployments
10675
- > = z.nativeEnum(CreateProjectCreateDeployments);
10676
-
10677
- /** @internal */
10678
- export const CreateProjectCreateDeployments$outboundSchema: z.ZodNativeEnum<
10679
- typeof CreateProjectCreateDeployments
10680
- > = CreateProjectCreateDeployments$inboundSchema;
10681
-
10682
- /**
10683
- * @internal
10684
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10685
- */
10686
- export namespace CreateProjectCreateDeployments$ {
10687
- /** @deprecated use `CreateProjectCreateDeployments$inboundSchema` instead. */
10688
- export const inboundSchema = CreateProjectCreateDeployments$inboundSchema;
10689
- /** @deprecated use `CreateProjectCreateDeployments$outboundSchema` instead. */
10690
- export const outboundSchema = CreateProjectCreateDeployments$outboundSchema;
10691
- }
10692
-
10693
- /** @internal */
10694
- export const CreateProjectGitProviderOptions$inboundSchema: z.ZodType<
10695
- CreateProjectGitProviderOptions,
10696
- z.ZodTypeDef,
10697
- unknown
10698
- > = z.object({
10699
- createDeployments: CreateProjectCreateDeployments$inboundSchema,
10700
- disableRepositoryDispatchEvents: z.boolean().optional(),
10701
- });
10702
-
10703
- /** @internal */
10704
- export type CreateProjectGitProviderOptions$Outbound = {
10705
- createDeployments: string;
10706
- disableRepositoryDispatchEvents?: boolean | undefined;
10707
- };
10708
-
10709
- /** @internal */
10710
- export const CreateProjectGitProviderOptions$outboundSchema: z.ZodType<
10711
- CreateProjectGitProviderOptions$Outbound,
10712
- z.ZodTypeDef,
10713
- CreateProjectGitProviderOptions
10714
- > = z.object({
10715
- createDeployments: CreateProjectCreateDeployments$outboundSchema,
10716
- disableRepositoryDispatchEvents: z.boolean().optional(),
10717
- });
10718
-
10719
- /**
10720
- * @internal
10721
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10722
- */
10723
- export namespace CreateProjectGitProviderOptions$ {
10724
- /** @deprecated use `CreateProjectGitProviderOptions$inboundSchema` instead. */
10725
- export const inboundSchema = CreateProjectGitProviderOptions$inboundSchema;
10726
- /** @deprecated use `CreateProjectGitProviderOptions$outboundSchema` instead. */
10727
- export const outboundSchema = CreateProjectGitProviderOptions$outboundSchema;
10728
- /** @deprecated use `CreateProjectGitProviderOptions$Outbound` instead. */
10729
- export type Outbound = CreateProjectGitProviderOptions$Outbound;
10730
- }
10731
-
10732
- export function createProjectGitProviderOptionsToJSON(
10733
- createProjectGitProviderOptions: CreateProjectGitProviderOptions,
10734
- ): string {
10735
- return JSON.stringify(
10736
- CreateProjectGitProviderOptions$outboundSchema.parse(
10737
- createProjectGitProviderOptions,
10738
- ),
10739
- );
10740
- }
10741
-
10742
- export function createProjectGitProviderOptionsFromJSON(
10743
- jsonString: string,
10744
- ): SafeParseResult<CreateProjectGitProviderOptions, SDKValidationError> {
10745
- return safeParse(
10746
- jsonString,
10747
- (x) => CreateProjectGitProviderOptions$inboundSchema.parse(JSON.parse(x)),
10748
- `Failed to parse 'CreateProjectGitProviderOptions' from JSON`,
10749
- );
10750
- }
10751
-
10752
- /** @internal */
10753
- export const CreateProjectWebAnalytics$inboundSchema: z.ZodType<
10754
- CreateProjectWebAnalytics,
10755
- z.ZodTypeDef,
10756
- unknown
10757
- > = z.object({
10758
- id: z.string(),
10759
- disabledAt: z.number().optional(),
10760
- canceledAt: z.number().optional(),
10761
- enabledAt: z.number().optional(),
10762
- hasData: z.boolean().optional(),
10763
- });
10764
-
10765
- /** @internal */
10766
- export type CreateProjectWebAnalytics$Outbound = {
10767
- id: string;
10768
- disabledAt?: number | undefined;
10769
- canceledAt?: number | undefined;
10770
- enabledAt?: number | undefined;
10771
- hasData?: boolean | undefined;
10772
- };
10773
-
10774
- /** @internal */
10775
- export const CreateProjectWebAnalytics$outboundSchema: z.ZodType<
10776
- CreateProjectWebAnalytics$Outbound,
10777
- z.ZodTypeDef,
10778
- CreateProjectWebAnalytics
10779
- > = z.object({
10780
- id: z.string(),
10781
- disabledAt: z.number().optional(),
10782
- canceledAt: z.number().optional(),
10783
- enabledAt: z.number().optional(),
10784
- hasData: z.boolean().optional(),
10785
- });
10786
-
10787
- /**
10788
- * @internal
10789
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10790
- */
10791
- export namespace CreateProjectWebAnalytics$ {
10792
- /** @deprecated use `CreateProjectWebAnalytics$inboundSchema` instead. */
10793
- export const inboundSchema = CreateProjectWebAnalytics$inboundSchema;
10794
- /** @deprecated use `CreateProjectWebAnalytics$outboundSchema` instead. */
10795
- export const outboundSchema = CreateProjectWebAnalytics$outboundSchema;
10796
- /** @deprecated use `CreateProjectWebAnalytics$Outbound` instead. */
10797
- export type Outbound = CreateProjectWebAnalytics$Outbound;
10798
- }
10799
-
10800
- export function createProjectWebAnalyticsToJSON(
10801
- createProjectWebAnalytics: CreateProjectWebAnalytics,
10802
- ): string {
10803
- return JSON.stringify(
10804
- CreateProjectWebAnalytics$outboundSchema.parse(createProjectWebAnalytics),
10805
- );
10806
- }
10807
-
10808
- export function createProjectWebAnalyticsFromJSON(
10809
- jsonString: string,
10810
- ): SafeParseResult<CreateProjectWebAnalytics, SDKValidationError> {
10811
- return safeParse(
10812
- jsonString,
10813
- (x) => CreateProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)),
10814
- `Failed to parse 'CreateProjectWebAnalytics' from JSON`,
10815
- );
10816
- }
10817
-
10818
- /** @internal */
10819
- export const CreateProjectSrc2$inboundSchema: z.ZodType<
10820
- CreateProjectSrc2,
10821
- z.ZodTypeDef,
10822
- unknown
10823
- > = z.object({
10824
- re: z.string().optional(),
10825
- eq: z.string().optional(),
10826
- neq: z.string().optional(),
10827
- inc: z.array(z.string()).optional(),
10828
- ninc: z.array(z.string()).optional(),
10829
- pre: z.string().optional(),
10830
- suf: z.string().optional(),
10831
- gt: z.number().optional(),
10832
- gte: z.number().optional(),
10833
- lt: z.number().optional(),
10834
- lte: z.number().optional(),
10835
- });
10836
-
10837
- /** @internal */
10838
- export type CreateProjectSrc2$Outbound = {
10839
- re?: string | undefined;
10840
- eq?: string | undefined;
10841
- neq?: string | undefined;
10842
- inc?: Array<string> | undefined;
10843
- ninc?: Array<string> | undefined;
10844
- pre?: string | undefined;
10845
- suf?: string | undefined;
10846
- gt?: number | undefined;
10847
- gte?: number | undefined;
10848
- lt?: number | undefined;
10849
- lte?: number | undefined;
10850
- };
10851
-
10852
- /** @internal */
10853
- export const CreateProjectSrc2$outboundSchema: z.ZodType<
10854
- CreateProjectSrc2$Outbound,
10855
- z.ZodTypeDef,
10856
- CreateProjectSrc2
10857
- > = z.object({
10858
- re: z.string().optional(),
10859
- eq: z.string().optional(),
10860
- neq: z.string().optional(),
10861
- inc: z.array(z.string()).optional(),
10862
- ninc: z.array(z.string()).optional(),
10863
- pre: z.string().optional(),
10864
- suf: z.string().optional(),
10865
- gt: z.number().optional(),
10866
- gte: z.number().optional(),
10867
- lt: z.number().optional(),
10868
- lte: z.number().optional(),
10869
- });
10870
-
10871
- /**
10872
- * @internal
10873
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10874
- */
10875
- export namespace CreateProjectSrc2$ {
10876
- /** @deprecated use `CreateProjectSrc2$inboundSchema` instead. */
10877
- export const inboundSchema = CreateProjectSrc2$inboundSchema;
10878
- /** @deprecated use `CreateProjectSrc2$outboundSchema` instead. */
10879
- export const outboundSchema = CreateProjectSrc2$outboundSchema;
10880
- /** @deprecated use `CreateProjectSrc2$Outbound` instead. */
10881
- export type Outbound = CreateProjectSrc2$Outbound;
10882
- }
10883
-
10884
- export function createProjectSrc2ToJSON(
10885
- createProjectSrc2: CreateProjectSrc2,
10886
- ): string {
10887
- return JSON.stringify(
10888
- CreateProjectSrc2$outboundSchema.parse(createProjectSrc2),
10889
- );
10890
- }
10891
-
10892
- export function createProjectSrc2FromJSON(
10893
- jsonString: string,
10894
- ): SafeParseResult<CreateProjectSrc2, SDKValidationError> {
10895
- return safeParse(
10896
- jsonString,
10897
- (x) => CreateProjectSrc2$inboundSchema.parse(JSON.parse(x)),
10898
- `Failed to parse 'CreateProjectSrc2' from JSON`,
10899
- );
10900
- }
10901
-
10902
- /** @internal */
10903
- export const CreateProjectSrc$inboundSchema: z.ZodType<
10904
- CreateProjectSrc,
10905
- z.ZodTypeDef,
10906
- unknown
10907
- > = z.union([z.lazy(() => CreateProjectSrc2$inboundSchema), z.string()]);
10908
-
10909
- /** @internal */
10910
- export type CreateProjectSrc$Outbound = CreateProjectSrc2$Outbound | string;
10911
-
10912
- /** @internal */
10913
- export const CreateProjectSrc$outboundSchema: z.ZodType<
10914
- CreateProjectSrc$Outbound,
10915
- z.ZodTypeDef,
10916
- CreateProjectSrc
10917
- > = z.union([z.lazy(() => CreateProjectSrc2$outboundSchema), z.string()]);
10918
-
10919
- /**
10920
- * @internal
10921
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10922
- */
10923
- export namespace CreateProjectSrc$ {
10924
- /** @deprecated use `CreateProjectSrc$inboundSchema` instead. */
10925
- export const inboundSchema = CreateProjectSrc$inboundSchema;
10926
- /** @deprecated use `CreateProjectSrc$outboundSchema` instead. */
10927
- export const outboundSchema = CreateProjectSrc$outboundSchema;
10928
- /** @deprecated use `CreateProjectSrc$Outbound` instead. */
10929
- export type Outbound = CreateProjectSrc$Outbound;
10930
- }
10931
-
10932
- export function createProjectSrcToJSON(
10933
- createProjectSrc: CreateProjectSrc,
10934
- ): string {
10935
- return JSON.stringify(
10936
- CreateProjectSrc$outboundSchema.parse(createProjectSrc),
10937
- );
10938
- }
10939
-
10940
- export function createProjectSrcFromJSON(
10941
- jsonString: string,
10942
- ): SafeParseResult<CreateProjectSrc, SDKValidationError> {
10943
- return safeParse(
10944
- jsonString,
10945
- (x) => CreateProjectSrc$inboundSchema.parse(JSON.parse(x)),
10946
- `Failed to parse 'CreateProjectSrc' from JSON`,
10947
- );
10948
- }
10949
-
10950
- /** @internal */
10951
- export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema:
10952
- z.ZodNativeEnum<
10953
- typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType
10954
- > = z.nativeEnum(
10955
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType,
10956
- );
10957
-
10958
- /** @internal */
10959
- export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema:
10960
- z.ZodNativeEnum<
10961
- typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType
10962
- > =
10963
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema;
10964
-
10965
- /**
10966
- * @internal
10967
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10968
- */
10969
- export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$ {
10970
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */
10971
- export const inboundSchema =
10972
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema;
10973
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */
10974
- export const outboundSchema =
10975
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema;
10976
- }
10977
-
10978
- /** @internal */
10979
- export const CreateProjectValue2$inboundSchema: z.ZodType<
10980
- CreateProjectValue2,
10981
- z.ZodTypeDef,
10982
- unknown
10983
- > = z.object({
10984
- re: z.string().optional(),
10985
- eq: z.string().optional(),
10986
- neq: z.string().optional(),
10987
- inc: z.array(z.string()).optional(),
10988
- ninc: z.array(z.string()).optional(),
10989
- pre: z.string().optional(),
10990
- suf: z.string().optional(),
10991
- gt: z.number().optional(),
10992
- gte: z.number().optional(),
10993
- lt: z.number().optional(),
10994
- lte: z.number().optional(),
10995
- });
10996
-
10997
- /** @internal */
10998
- export type CreateProjectValue2$Outbound = {
10999
- re?: string | undefined;
11000
- eq?: string | undefined;
11001
- neq?: string | undefined;
11002
- inc?: Array<string> | undefined;
11003
- ninc?: Array<string> | undefined;
11004
- pre?: string | undefined;
11005
- suf?: string | undefined;
11006
- gt?: number | undefined;
11007
- gte?: number | undefined;
11008
- lt?: number | undefined;
11009
- lte?: number | undefined;
11010
- };
11011
-
11012
- /** @internal */
11013
- export const CreateProjectValue2$outboundSchema: z.ZodType<
11014
- CreateProjectValue2$Outbound,
11015
- z.ZodTypeDef,
11016
- CreateProjectValue2
11017
- > = z.object({
11018
- re: z.string().optional(),
11019
- eq: z.string().optional(),
11020
- neq: z.string().optional(),
11021
- inc: z.array(z.string()).optional(),
11022
- ninc: z.array(z.string()).optional(),
11023
- pre: z.string().optional(),
11024
- suf: z.string().optional(),
11025
- gt: z.number().optional(),
11026
- gte: z.number().optional(),
11027
- lt: z.number().optional(),
11028
- lte: z.number().optional(),
11029
- });
11030
-
11031
- /**
11032
- * @internal
11033
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11034
- */
11035
- export namespace CreateProjectValue2$ {
11036
- /** @deprecated use `CreateProjectValue2$inboundSchema` instead. */
11037
- export const inboundSchema = CreateProjectValue2$inboundSchema;
11038
- /** @deprecated use `CreateProjectValue2$outboundSchema` instead. */
11039
- export const outboundSchema = CreateProjectValue2$outboundSchema;
11040
- /** @deprecated use `CreateProjectValue2$Outbound` instead. */
11041
- export type Outbound = CreateProjectValue2$Outbound;
11042
- }
11043
-
11044
- export function createProjectValue2ToJSON(
11045
- createProjectValue2: CreateProjectValue2,
11046
- ): string {
11047
- return JSON.stringify(
11048
- CreateProjectValue2$outboundSchema.parse(createProjectValue2),
11049
- );
11050
- }
11051
-
11052
- export function createProjectValue2FromJSON(
11053
- jsonString: string,
11054
- ): SafeParseResult<CreateProjectValue2, SDKValidationError> {
11055
- return safeParse(
11056
- jsonString,
11057
- (x) => CreateProjectValue2$inboundSchema.parse(JSON.parse(x)),
11058
- `Failed to parse 'CreateProjectValue2' from JSON`,
11059
- );
11060
- }
11061
-
11062
- /** @internal */
11063
- export const CreateProjectValue$inboundSchema: z.ZodType<
11064
- CreateProjectValue,
11065
- z.ZodTypeDef,
11066
- unknown
11067
- > = z.union([z.lazy(() => CreateProjectValue2$inboundSchema), z.string()]);
11068
-
11069
- /** @internal */
11070
- export type CreateProjectValue$Outbound = CreateProjectValue2$Outbound | string;
11071
-
11072
- /** @internal */
11073
- export const CreateProjectValue$outboundSchema: z.ZodType<
11074
- CreateProjectValue$Outbound,
11075
- z.ZodTypeDef,
11076
- CreateProjectValue
11077
- > = z.union([z.lazy(() => CreateProjectValue2$outboundSchema), z.string()]);
11078
-
11079
- /**
11080
- * @internal
11081
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11082
- */
11083
- export namespace CreateProjectValue$ {
11084
- /** @deprecated use `CreateProjectValue$inboundSchema` instead. */
11085
- export const inboundSchema = CreateProjectValue$inboundSchema;
11086
- /** @deprecated use `CreateProjectValue$outboundSchema` instead. */
11087
- export const outboundSchema = CreateProjectValue$outboundSchema;
11088
- /** @deprecated use `CreateProjectValue$Outbound` instead. */
11089
- export type Outbound = CreateProjectValue$Outbound;
11090
- }
11091
-
11092
- export function createProjectValueToJSON(
11093
- createProjectValue: CreateProjectValue,
11094
- ): string {
11095
- return JSON.stringify(
11096
- CreateProjectValue$outboundSchema.parse(createProjectValue),
11097
- );
11098
- }
11099
-
11100
- export function createProjectValueFromJSON(
11101
- jsonString: string,
11102
- ): SafeParseResult<CreateProjectValue, SDKValidationError> {
11103
- return safeParse(
11104
- jsonString,
11105
- (x) => CreateProjectValue$inboundSchema.parse(JSON.parse(x)),
11106
- `Failed to parse 'CreateProjectValue' from JSON`,
11107
- );
11108
- }
11109
-
11110
- /** @internal */
11111
- export const CreateProjectHas$inboundSchema: z.ZodType<
11112
- CreateProjectHas,
11113
- z.ZodTypeDef,
11114
- unknown
11115
- > = z.object({
11116
- type:
11117
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema,
11118
- key: z.string().optional(),
11119
- value: z.union([z.lazy(() => CreateProjectValue2$inboundSchema), z.string()])
11120
- .optional(),
11121
- });
11122
-
11123
- /** @internal */
11124
- export type CreateProjectHas$Outbound = {
11125
- type: string;
11126
- key?: string | undefined;
11127
- value?: CreateProjectValue2$Outbound | string | undefined;
11128
- };
11129
-
11130
- /** @internal */
11131
- export const CreateProjectHas$outboundSchema: z.ZodType<
11132
- CreateProjectHas$Outbound,
11133
- z.ZodTypeDef,
11134
- CreateProjectHas
11135
- > = z.object({
11136
- type:
11137
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema,
11138
- key: z.string().optional(),
11139
- value: z.union([z.lazy(() => CreateProjectValue2$outboundSchema), z.string()])
11140
- .optional(),
11141
- });
11142
-
11143
- /**
11144
- * @internal
11145
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11146
- */
11147
- export namespace CreateProjectHas$ {
11148
- /** @deprecated use `CreateProjectHas$inboundSchema` instead. */
11149
- export const inboundSchema = CreateProjectHas$inboundSchema;
11150
- /** @deprecated use `CreateProjectHas$outboundSchema` instead. */
11151
- export const outboundSchema = CreateProjectHas$outboundSchema;
11152
- /** @deprecated use `CreateProjectHas$Outbound` instead. */
11153
- export type Outbound = CreateProjectHas$Outbound;
11154
- }
11155
-
11156
- export function createProjectHasToJSON(
11157
- createProjectHas: CreateProjectHas,
11158
- ): string {
11159
- return JSON.stringify(
11160
- CreateProjectHas$outboundSchema.parse(createProjectHas),
11161
- );
11162
- }
11163
-
11164
- export function createProjectHasFromJSON(
11165
- jsonString: string,
11166
- ): SafeParseResult<CreateProjectHas, SDKValidationError> {
11167
- return safeParse(
11168
- jsonString,
11169
- (x) => CreateProjectHas$inboundSchema.parse(JSON.parse(x)),
11170
- `Failed to parse 'CreateProjectHas' from JSON`,
11171
- );
11172
- }
11173
-
11174
- /** @internal */
11175
- export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema:
11176
- z.ZodNativeEnum<
11177
- typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType
11178
- > = z.nativeEnum(
11179
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType,
11180
- );
11181
-
11182
- /** @internal */
11183
- export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema:
11184
- z.ZodNativeEnum<
11185
- typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType
11186
- > =
11187
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema;
11188
-
11189
- /**
11190
- * @internal
11191
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11192
- */
11193
- export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ {
11194
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */
11195
- export const inboundSchema =
11196
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema;
11197
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */
11198
- export const outboundSchema =
11199
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema;
11200
- }
11201
-
11202
- /** @internal */
11203
- export const CreateProjectValueProjects2$inboundSchema: z.ZodType<
11204
- CreateProjectValueProjects2,
11205
- z.ZodTypeDef,
11206
- unknown
11207
- > = z.object({
11208
- re: z.string().optional(),
11209
- eq: z.string().optional(),
11210
- neq: z.string().optional(),
11211
- inc: z.array(z.string()).optional(),
11212
- ninc: z.array(z.string()).optional(),
11213
- pre: z.string().optional(),
11214
- suf: z.string().optional(),
11215
- gt: z.number().optional(),
11216
- gte: z.number().optional(),
11217
- lt: z.number().optional(),
11218
- lte: z.number().optional(),
11219
- });
11220
-
11221
- /** @internal */
11222
- export type CreateProjectValueProjects2$Outbound = {
11223
- re?: string | undefined;
11224
- eq?: string | undefined;
11225
- neq?: string | undefined;
11226
- inc?: Array<string> | undefined;
11227
- ninc?: Array<string> | undefined;
11228
- pre?: string | undefined;
11229
- suf?: string | undefined;
11230
- gt?: number | undefined;
11231
- gte?: number | undefined;
11232
- lt?: number | undefined;
11233
- lte?: number | undefined;
11234
- };
11235
-
11236
- /** @internal */
11237
- export const CreateProjectValueProjects2$outboundSchema: z.ZodType<
11238
- CreateProjectValueProjects2$Outbound,
11239
- z.ZodTypeDef,
11240
- CreateProjectValueProjects2
11241
- > = z.object({
11242
- re: z.string().optional(),
11243
- eq: z.string().optional(),
11244
- neq: z.string().optional(),
11245
- inc: z.array(z.string()).optional(),
11246
- ninc: z.array(z.string()).optional(),
11247
- pre: z.string().optional(),
11248
- suf: z.string().optional(),
11249
- gt: z.number().optional(),
11250
- gte: z.number().optional(),
11251
- lt: z.number().optional(),
11252
- lte: z.number().optional(),
11253
- });
11254
-
11255
- /**
11256
- * @internal
11257
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11258
- */
11259
- export namespace CreateProjectValueProjects2$ {
11260
- /** @deprecated use `CreateProjectValueProjects2$inboundSchema` instead. */
11261
- export const inboundSchema = CreateProjectValueProjects2$inboundSchema;
11262
- /** @deprecated use `CreateProjectValueProjects2$outboundSchema` instead. */
11263
- export const outboundSchema = CreateProjectValueProjects2$outboundSchema;
11264
- /** @deprecated use `CreateProjectValueProjects2$Outbound` instead. */
11265
- export type Outbound = CreateProjectValueProjects2$Outbound;
11266
- }
11267
-
11268
- export function createProjectValueProjects2ToJSON(
11269
- createProjectValueProjects2: CreateProjectValueProjects2,
11270
- ): string {
11271
- return JSON.stringify(
11272
- CreateProjectValueProjects2$outboundSchema.parse(
11273
- createProjectValueProjects2,
11274
- ),
11275
- );
11276
- }
11277
-
11278
- export function createProjectValueProjects2FromJSON(
11279
- jsonString: string,
11280
- ): SafeParseResult<CreateProjectValueProjects2, SDKValidationError> {
11281
- return safeParse(
11282
- jsonString,
11283
- (x) => CreateProjectValueProjects2$inboundSchema.parse(JSON.parse(x)),
11284
- `Failed to parse 'CreateProjectValueProjects2' from JSON`,
11285
- );
11286
- }
11287
-
11288
- /** @internal */
11289
- export const CreateProjectProjectsValue$inboundSchema: z.ZodType<
11290
- CreateProjectProjectsValue,
11291
- z.ZodTypeDef,
11292
- unknown
11293
- > = z.union([
11294
- z.lazy(() => CreateProjectValueProjects2$inboundSchema),
11295
- z.string(),
11296
- ]);
11297
-
11298
- /** @internal */
11299
- export type CreateProjectProjectsValue$Outbound =
11300
- | CreateProjectValueProjects2$Outbound
11301
- | string;
11302
-
11303
- /** @internal */
11304
- export const CreateProjectProjectsValue$outboundSchema: z.ZodType<
11305
- CreateProjectProjectsValue$Outbound,
11306
- z.ZodTypeDef,
11307
- CreateProjectProjectsValue
11308
- > = z.union([
11309
- z.lazy(() => CreateProjectValueProjects2$outboundSchema),
11310
- z.string(),
11311
- ]);
11312
-
11313
- /**
11314
- * @internal
11315
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11316
- */
11317
- export namespace CreateProjectProjectsValue$ {
11318
- /** @deprecated use `CreateProjectProjectsValue$inboundSchema` instead. */
11319
- export const inboundSchema = CreateProjectProjectsValue$inboundSchema;
11320
- /** @deprecated use `CreateProjectProjectsValue$outboundSchema` instead. */
11321
- export const outboundSchema = CreateProjectProjectsValue$outboundSchema;
11322
- /** @deprecated use `CreateProjectProjectsValue$Outbound` instead. */
11323
- export type Outbound = CreateProjectProjectsValue$Outbound;
10448
+ export type Outbound = CreateProjectTrustedIps$Outbound;
11324
10449
  }
11325
10450
 
11326
- export function createProjectProjectsValueToJSON(
11327
- createProjectProjectsValue: CreateProjectProjectsValue,
10451
+ export function createProjectTrustedIpsToJSON(
10452
+ createProjectTrustedIps: CreateProjectTrustedIps,
11328
10453
  ): string {
11329
10454
  return JSON.stringify(
11330
- CreateProjectProjectsValue$outboundSchema.parse(createProjectProjectsValue),
10455
+ CreateProjectTrustedIps$outboundSchema.parse(createProjectTrustedIps),
11331
10456
  );
11332
10457
  }
11333
10458
 
11334
- export function createProjectProjectsValueFromJSON(
10459
+ export function createProjectTrustedIpsFromJSON(
11335
10460
  jsonString: string,
11336
- ): SafeParseResult<CreateProjectProjectsValue, SDKValidationError> {
10461
+ ): SafeParseResult<CreateProjectTrustedIps, SDKValidationError> {
11337
10462
  return safeParse(
11338
10463
  jsonString,
11339
- (x) => CreateProjectProjectsValue$inboundSchema.parse(JSON.parse(x)),
11340
- `Failed to parse 'CreateProjectProjectsValue' from JSON`,
10464
+ (x) => CreateProjectTrustedIps$inboundSchema.parse(JSON.parse(x)),
10465
+ `Failed to parse 'CreateProjectTrustedIps' from JSON`,
11341
10466
  );
11342
10467
  }
11343
10468
 
11344
10469
  /** @internal */
11345
- export const CreateProjectMissing$inboundSchema: z.ZodType<
11346
- CreateProjectMissing,
10470
+ export const CreateProjectGitComments$inboundSchema: z.ZodType<
10471
+ CreateProjectGitComments,
11347
10472
  z.ZodTypeDef,
11348
10473
  unknown
11349
10474
  > = z.object({
11350
- type:
11351
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema,
11352
- key: z.string().optional(),
11353
- value: z.union([
11354
- z.lazy(() => CreateProjectValueProjects2$inboundSchema),
11355
- z.string(),
11356
- ]).optional(),
10475
+ onPullRequest: z.boolean(),
10476
+ onCommit: z.boolean(),
11357
10477
  });
11358
10478
 
11359
10479
  /** @internal */
11360
- export type CreateProjectMissing$Outbound = {
11361
- type: string;
11362
- key?: string | undefined;
11363
- value?: CreateProjectValueProjects2$Outbound | string | undefined;
10480
+ export type CreateProjectGitComments$Outbound = {
10481
+ onPullRequest: boolean;
10482
+ onCommit: boolean;
11364
10483
  };
11365
10484
 
11366
10485
  /** @internal */
11367
- export const CreateProjectMissing$outboundSchema: z.ZodType<
11368
- CreateProjectMissing$Outbound,
10486
+ export const CreateProjectGitComments$outboundSchema: z.ZodType<
10487
+ CreateProjectGitComments$Outbound,
11369
10488
  z.ZodTypeDef,
11370
- CreateProjectMissing
10489
+ CreateProjectGitComments
11371
10490
  > = z.object({
11372
- type:
11373
- CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema,
11374
- key: z.string().optional(),
11375
- value: z.union([
11376
- z.lazy(() => CreateProjectValueProjects2$outboundSchema),
11377
- z.string(),
11378
- ]).optional(),
10491
+ onPullRequest: z.boolean(),
10492
+ onCommit: z.boolean(),
11379
10493
  });
11380
10494
 
11381
10495
  /**
11382
10496
  * @internal
11383
10497
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11384
10498
  */
11385
- export namespace CreateProjectMissing$ {
11386
- /** @deprecated use `CreateProjectMissing$inboundSchema` instead. */
11387
- export const inboundSchema = CreateProjectMissing$inboundSchema;
11388
- /** @deprecated use `CreateProjectMissing$outboundSchema` instead. */
11389
- export const outboundSchema = CreateProjectMissing$outboundSchema;
11390
- /** @deprecated use `CreateProjectMissing$Outbound` instead. */
11391
- export type Outbound = CreateProjectMissing$Outbound;
10499
+ export namespace CreateProjectGitComments$ {
10500
+ /** @deprecated use `CreateProjectGitComments$inboundSchema` instead. */
10501
+ export const inboundSchema = CreateProjectGitComments$inboundSchema;
10502
+ /** @deprecated use `CreateProjectGitComments$outboundSchema` instead. */
10503
+ export const outboundSchema = CreateProjectGitComments$outboundSchema;
10504
+ /** @deprecated use `CreateProjectGitComments$Outbound` instead. */
10505
+ export type Outbound = CreateProjectGitComments$Outbound;
11392
10506
  }
11393
10507
 
11394
- export function createProjectMissingToJSON(
11395
- createProjectMissing: CreateProjectMissing,
10508
+ export function createProjectGitCommentsToJSON(
10509
+ createProjectGitComments: CreateProjectGitComments,
11396
10510
  ): string {
11397
10511
  return JSON.stringify(
11398
- CreateProjectMissing$outboundSchema.parse(createProjectMissing),
10512
+ CreateProjectGitComments$outboundSchema.parse(createProjectGitComments),
11399
10513
  );
11400
10514
  }
11401
10515
 
11402
- export function createProjectMissingFromJSON(
10516
+ export function createProjectGitCommentsFromJSON(
11403
10517
  jsonString: string,
11404
- ): SafeParseResult<CreateProjectMissing, SDKValidationError> {
10518
+ ): SafeParseResult<CreateProjectGitComments, SDKValidationError> {
11405
10519
  return safeParse(
11406
10520
  jsonString,
11407
- (x) => CreateProjectMissing$inboundSchema.parse(JSON.parse(x)),
11408
- `Failed to parse 'CreateProjectMissing' from JSON`,
10521
+ (x) => CreateProjectGitComments$inboundSchema.parse(JSON.parse(x)),
10522
+ `Failed to parse 'CreateProjectGitComments' from JSON`,
11409
10523
  );
11410
10524
  }
11411
10525
 
11412
10526
  /** @internal */
11413
- export const CreateProjectHandle$inboundSchema: z.ZodNativeEnum<
11414
- typeof CreateProjectHandle
11415
- > = z.nativeEnum(CreateProjectHandle);
11416
-
11417
- /** @internal */
11418
- export const CreateProjectHandle$outboundSchema: z.ZodNativeEnum<
11419
- typeof CreateProjectHandle
11420
- > = CreateProjectHandle$inboundSchema;
11421
-
11422
- /**
11423
- * @internal
11424
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11425
- */
11426
- export namespace CreateProjectHandle$ {
11427
- /** @deprecated use `CreateProjectHandle$inboundSchema` instead. */
11428
- export const inboundSchema = CreateProjectHandle$inboundSchema;
11429
- /** @deprecated use `CreateProjectHandle$outboundSchema` instead. */
11430
- export const outboundSchema = CreateProjectHandle$outboundSchema;
11431
- }
11432
-
11433
- /** @internal */
11434
- export const CreateProjectAction$inboundSchema: z.ZodNativeEnum<
11435
- typeof CreateProjectAction
11436
- > = z.nativeEnum(CreateProjectAction);
11437
-
11438
- /** @internal */
11439
- export const CreateProjectAction$outboundSchema: z.ZodNativeEnum<
11440
- typeof CreateProjectAction
11441
- > = CreateProjectAction$inboundSchema;
11442
-
11443
- /**
11444
- * @internal
11445
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11446
- */
11447
- export namespace CreateProjectAction$ {
11448
- /** @deprecated use `CreateProjectAction$inboundSchema` instead. */
11449
- export const inboundSchema = CreateProjectAction$inboundSchema;
11450
- /** @deprecated use `CreateProjectAction$outboundSchema` instead. */
11451
- export const outboundSchema = CreateProjectAction$outboundSchema;
11452
- }
11453
-
11454
- /** @internal */
11455
- export const CreateProjectAlgo$inboundSchema: z.ZodNativeEnum<
11456
- typeof CreateProjectAlgo
11457
- > = z.nativeEnum(CreateProjectAlgo);
11458
-
11459
- /** @internal */
11460
- export const CreateProjectAlgo$outboundSchema: z.ZodNativeEnum<
11461
- typeof CreateProjectAlgo
11462
- > = CreateProjectAlgo$inboundSchema;
11463
-
11464
- /**
11465
- * @internal
11466
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11467
- */
11468
- export namespace CreateProjectAlgo$ {
11469
- /** @deprecated use `CreateProjectAlgo$inboundSchema` instead. */
11470
- export const inboundSchema = CreateProjectAlgo$inboundSchema;
11471
- /** @deprecated use `CreateProjectAlgo$outboundSchema` instead. */
11472
- export const outboundSchema = CreateProjectAlgo$outboundSchema;
11473
- }
11474
-
11475
- /** @internal */
11476
- export const CreateProjectErl$inboundSchema: z.ZodType<
11477
- CreateProjectErl,
11478
- z.ZodTypeDef,
11479
- unknown
11480
- > = z.object({
11481
- algo: CreateProjectAlgo$inboundSchema,
11482
- window: z.number(),
11483
- limit: z.number(),
11484
- keys: z.array(z.string()),
11485
- });
11486
-
11487
- /** @internal */
11488
- export type CreateProjectErl$Outbound = {
11489
- algo: string;
11490
- window: number;
11491
- limit: number;
11492
- keys: Array<string>;
11493
- };
10527
+ export const CreateProjectCreateDeployments$inboundSchema: z.ZodNativeEnum<
10528
+ typeof CreateProjectCreateDeployments
10529
+ > = z.nativeEnum(CreateProjectCreateDeployments);
11494
10530
 
11495
10531
  /** @internal */
11496
- export const CreateProjectErl$outboundSchema: z.ZodType<
11497
- CreateProjectErl$Outbound,
11498
- z.ZodTypeDef,
11499
- CreateProjectErl
11500
- > = z.object({
11501
- algo: CreateProjectAlgo$outboundSchema,
11502
- window: z.number(),
11503
- limit: z.number(),
11504
- keys: z.array(z.string()),
11505
- });
10532
+ export const CreateProjectCreateDeployments$outboundSchema: z.ZodNativeEnum<
10533
+ typeof CreateProjectCreateDeployments
10534
+ > = CreateProjectCreateDeployments$inboundSchema;
11506
10535
 
11507
10536
  /**
11508
10537
  * @internal
11509
10538
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11510
10539
  */
11511
- export namespace CreateProjectErl$ {
11512
- /** @deprecated use `CreateProjectErl$inboundSchema` instead. */
11513
- export const inboundSchema = CreateProjectErl$inboundSchema;
11514
- /** @deprecated use `CreateProjectErl$outboundSchema` instead. */
11515
- export const outboundSchema = CreateProjectErl$outboundSchema;
11516
- /** @deprecated use `CreateProjectErl$Outbound` instead. */
11517
- export type Outbound = CreateProjectErl$Outbound;
11518
- }
11519
-
11520
- export function createProjectErlToJSON(
11521
- createProjectErl: CreateProjectErl,
11522
- ): string {
11523
- return JSON.stringify(
11524
- CreateProjectErl$outboundSchema.parse(createProjectErl),
11525
- );
11526
- }
11527
-
11528
- export function createProjectErlFromJSON(
11529
- jsonString: string,
11530
- ): SafeParseResult<CreateProjectErl, SDKValidationError> {
11531
- return safeParse(
11532
- jsonString,
11533
- (x) => CreateProjectErl$inboundSchema.parse(JSON.parse(x)),
11534
- `Failed to parse 'CreateProjectErl' from JSON`,
11535
- );
10540
+ export namespace CreateProjectCreateDeployments$ {
10541
+ /** @deprecated use `CreateProjectCreateDeployments$inboundSchema` instead. */
10542
+ export const inboundSchema = CreateProjectCreateDeployments$inboundSchema;
10543
+ /** @deprecated use `CreateProjectCreateDeployments$outboundSchema` instead. */
10544
+ export const outboundSchema = CreateProjectCreateDeployments$outboundSchema;
11536
10545
  }
11537
10546
 
11538
10547
  /** @internal */
11539
- export const CreateProjectMitigate$inboundSchema: z.ZodType<
11540
- CreateProjectMitigate,
10548
+ export const CreateProjectGitProviderOptions$inboundSchema: z.ZodType<
10549
+ CreateProjectGitProviderOptions,
11541
10550
  z.ZodTypeDef,
11542
10551
  unknown
11543
10552
  > = z.object({
11544
- action: CreateProjectAction$inboundSchema,
11545
- rule_id: z.string(),
11546
- ttl: z.number().optional(),
11547
- erl: z.lazy(() => CreateProjectErl$inboundSchema).optional(),
11548
- }).transform((v) => {
11549
- return remap$(v, {
11550
- "rule_id": "ruleId",
11551
- });
10553
+ createDeployments: CreateProjectCreateDeployments$inboundSchema,
10554
+ disableRepositoryDispatchEvents: z.boolean().optional(),
11552
10555
  });
11553
10556
 
11554
10557
  /** @internal */
11555
- export type CreateProjectMitigate$Outbound = {
11556
- action: string;
11557
- rule_id: string;
11558
- ttl?: number | undefined;
11559
- erl?: CreateProjectErl$Outbound | undefined;
10558
+ export type CreateProjectGitProviderOptions$Outbound = {
10559
+ createDeployments: string;
10560
+ disableRepositoryDispatchEvents?: boolean | undefined;
11560
10561
  };
11561
10562
 
11562
10563
  /** @internal */
11563
- export const CreateProjectMitigate$outboundSchema: z.ZodType<
11564
- CreateProjectMitigate$Outbound,
10564
+ export const CreateProjectGitProviderOptions$outboundSchema: z.ZodType<
10565
+ CreateProjectGitProviderOptions$Outbound,
11565
10566
  z.ZodTypeDef,
11566
- CreateProjectMitigate
10567
+ CreateProjectGitProviderOptions
11567
10568
  > = z.object({
11568
- action: CreateProjectAction$outboundSchema,
11569
- ruleId: z.string(),
11570
- ttl: z.number().optional(),
11571
- erl: z.lazy(() => CreateProjectErl$outboundSchema).optional(),
11572
- }).transform((v) => {
11573
- return remap$(v, {
11574
- ruleId: "rule_id",
11575
- });
10569
+ createDeployments: CreateProjectCreateDeployments$outboundSchema,
10570
+ disableRepositoryDispatchEvents: z.boolean().optional(),
11576
10571
  });
11577
10572
 
11578
10573
  /**
11579
10574
  * @internal
11580
10575
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11581
10576
  */
11582
- export namespace CreateProjectMitigate$ {
11583
- /** @deprecated use `CreateProjectMitigate$inboundSchema` instead. */
11584
- export const inboundSchema = CreateProjectMitigate$inboundSchema;
11585
- /** @deprecated use `CreateProjectMitigate$outboundSchema` instead. */
11586
- export const outboundSchema = CreateProjectMitigate$outboundSchema;
11587
- /** @deprecated use `CreateProjectMitigate$Outbound` instead. */
11588
- export type Outbound = CreateProjectMitigate$Outbound;
10577
+ export namespace CreateProjectGitProviderOptions$ {
10578
+ /** @deprecated use `CreateProjectGitProviderOptions$inboundSchema` instead. */
10579
+ export const inboundSchema = CreateProjectGitProviderOptions$inboundSchema;
10580
+ /** @deprecated use `CreateProjectGitProviderOptions$outboundSchema` instead. */
10581
+ export const outboundSchema = CreateProjectGitProviderOptions$outboundSchema;
10582
+ /** @deprecated use `CreateProjectGitProviderOptions$Outbound` instead. */
10583
+ export type Outbound = CreateProjectGitProviderOptions$Outbound;
11589
10584
  }
11590
10585
 
11591
- export function createProjectMitigateToJSON(
11592
- createProjectMitigate: CreateProjectMitigate,
10586
+ export function createProjectGitProviderOptionsToJSON(
10587
+ createProjectGitProviderOptions: CreateProjectGitProviderOptions,
11593
10588
  ): string {
11594
10589
  return JSON.stringify(
11595
- CreateProjectMitigate$outboundSchema.parse(createProjectMitigate),
10590
+ CreateProjectGitProviderOptions$outboundSchema.parse(
10591
+ createProjectGitProviderOptions,
10592
+ ),
11596
10593
  );
11597
10594
  }
11598
10595
 
11599
- export function createProjectMitigateFromJSON(
10596
+ export function createProjectGitProviderOptionsFromJSON(
11600
10597
  jsonString: string,
11601
- ): SafeParseResult<CreateProjectMitigate, SDKValidationError> {
10598
+ ): SafeParseResult<CreateProjectGitProviderOptions, SDKValidationError> {
11602
10599
  return safeParse(
11603
10600
  jsonString,
11604
- (x) => CreateProjectMitigate$inboundSchema.parse(JSON.parse(x)),
11605
- `Failed to parse 'CreateProjectMitigate' from JSON`,
10601
+ (x) => CreateProjectGitProviderOptions$inboundSchema.parse(JSON.parse(x)),
10602
+ `Failed to parse 'CreateProjectGitProviderOptions' from JSON`,
11606
10603
  );
11607
10604
  }
11608
10605
 
11609
10606
  /** @internal */
11610
- export const CreateProjectFirewallRoutes$inboundSchema: z.ZodType<
11611
- CreateProjectFirewallRoutes,
10607
+ export const CreateProjectWebAnalytics$inboundSchema: z.ZodType<
10608
+ CreateProjectWebAnalytics,
11612
10609
  z.ZodTypeDef,
11613
10610
  unknown
11614
10611
  > = z.object({
11615
- src: z.union([z.lazy(() => CreateProjectSrc2$inboundSchema), z.string()])
11616
- .optional(),
11617
- has: z.array(z.lazy(() => CreateProjectHas$inboundSchema)).optional(),
11618
- missing: z.array(z.lazy(() => CreateProjectMissing$inboundSchema)).optional(),
11619
- dest: z.string().optional(),
11620
- status: z.number().optional(),
11621
- handle: CreateProjectHandle$inboundSchema.optional(),
11622
- mitigate: z.lazy(() => CreateProjectMitigate$inboundSchema).optional(),
10612
+ id: z.string(),
10613
+ disabledAt: z.number().optional(),
10614
+ canceledAt: z.number().optional(),
10615
+ enabledAt: z.number().optional(),
10616
+ hasData: z.boolean().optional(),
11623
10617
  });
11624
10618
 
11625
10619
  /** @internal */
11626
- export type CreateProjectFirewallRoutes$Outbound = {
11627
- src?: CreateProjectSrc2$Outbound | string | undefined;
11628
- has?: Array<CreateProjectHas$Outbound> | undefined;
11629
- missing?: Array<CreateProjectMissing$Outbound> | undefined;
11630
- dest?: string | undefined;
11631
- status?: number | undefined;
11632
- handle?: string | undefined;
11633
- mitigate?: CreateProjectMitigate$Outbound | undefined;
10620
+ export type CreateProjectWebAnalytics$Outbound = {
10621
+ id: string;
10622
+ disabledAt?: number | undefined;
10623
+ canceledAt?: number | undefined;
10624
+ enabledAt?: number | undefined;
10625
+ hasData?: boolean | undefined;
11634
10626
  };
11635
10627
 
11636
10628
  /** @internal */
11637
- export const CreateProjectFirewallRoutes$outboundSchema: z.ZodType<
11638
- CreateProjectFirewallRoutes$Outbound,
10629
+ export const CreateProjectWebAnalytics$outboundSchema: z.ZodType<
10630
+ CreateProjectWebAnalytics$Outbound,
11639
10631
  z.ZodTypeDef,
11640
- CreateProjectFirewallRoutes
10632
+ CreateProjectWebAnalytics
11641
10633
  > = z.object({
11642
- src: z.union([z.lazy(() => CreateProjectSrc2$outboundSchema), z.string()])
11643
- .optional(),
11644
- has: z.array(z.lazy(() => CreateProjectHas$outboundSchema)).optional(),
11645
- missing: z.array(z.lazy(() => CreateProjectMissing$outboundSchema))
11646
- .optional(),
11647
- dest: z.string().optional(),
11648
- status: z.number().optional(),
11649
- handle: CreateProjectHandle$outboundSchema.optional(),
11650
- mitigate: z.lazy(() => CreateProjectMitigate$outboundSchema).optional(),
10634
+ id: z.string(),
10635
+ disabledAt: z.number().optional(),
10636
+ canceledAt: z.number().optional(),
10637
+ enabledAt: z.number().optional(),
10638
+ hasData: z.boolean().optional(),
11651
10639
  });
11652
10640
 
11653
10641
  /**
11654
10642
  * @internal
11655
10643
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11656
10644
  */
11657
- export namespace CreateProjectFirewallRoutes$ {
11658
- /** @deprecated use `CreateProjectFirewallRoutes$inboundSchema` instead. */
11659
- export const inboundSchema = CreateProjectFirewallRoutes$inboundSchema;
11660
- /** @deprecated use `CreateProjectFirewallRoutes$outboundSchema` instead. */
11661
- export const outboundSchema = CreateProjectFirewallRoutes$outboundSchema;
11662
- /** @deprecated use `CreateProjectFirewallRoutes$Outbound` instead. */
11663
- export type Outbound = CreateProjectFirewallRoutes$Outbound;
10645
+ export namespace CreateProjectWebAnalytics$ {
10646
+ /** @deprecated use `CreateProjectWebAnalytics$inboundSchema` instead. */
10647
+ export const inboundSchema = CreateProjectWebAnalytics$inboundSchema;
10648
+ /** @deprecated use `CreateProjectWebAnalytics$outboundSchema` instead. */
10649
+ export const outboundSchema = CreateProjectWebAnalytics$outboundSchema;
10650
+ /** @deprecated use `CreateProjectWebAnalytics$Outbound` instead. */
10651
+ export type Outbound = CreateProjectWebAnalytics$Outbound;
11664
10652
  }
11665
10653
 
11666
- export function createProjectFirewallRoutesToJSON(
11667
- createProjectFirewallRoutes: CreateProjectFirewallRoutes,
10654
+ export function createProjectWebAnalyticsToJSON(
10655
+ createProjectWebAnalytics: CreateProjectWebAnalytics,
11668
10656
  ): string {
11669
10657
  return JSON.stringify(
11670
- CreateProjectFirewallRoutes$outboundSchema.parse(
11671
- createProjectFirewallRoutes,
11672
- ),
10658
+ CreateProjectWebAnalytics$outboundSchema.parse(createProjectWebAnalytics),
11673
10659
  );
11674
10660
  }
11675
10661
 
11676
- export function createProjectFirewallRoutesFromJSON(
10662
+ export function createProjectWebAnalyticsFromJSON(
11677
10663
  jsonString: string,
11678
- ): SafeParseResult<CreateProjectFirewallRoutes, SDKValidationError> {
10664
+ ): SafeParseResult<CreateProjectWebAnalytics, SDKValidationError> {
11679
10665
  return safeParse(
11680
10666
  jsonString,
11681
- (x) => CreateProjectFirewallRoutes$inboundSchema.parse(JSON.parse(x)),
11682
- `Failed to parse 'CreateProjectFirewallRoutes' from JSON`,
10667
+ (x) => CreateProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)),
10668
+ `Failed to parse 'CreateProjectWebAnalytics' from JSON`,
11683
10669
  );
11684
10670
  }
11685
10671
 
11686
10672
  /** @internal */
11687
- export const CreateProjectProjectsAction$inboundSchema: z.ZodNativeEnum<
11688
- typeof CreateProjectProjectsAction
11689
- > = z.nativeEnum(CreateProjectProjectsAction);
10673
+ export const CreateProjectAction$inboundSchema: z.ZodNativeEnum<
10674
+ typeof CreateProjectAction
10675
+ > = z.nativeEnum(CreateProjectAction);
11690
10676
 
11691
10677
  /** @internal */
11692
- export const CreateProjectProjectsAction$outboundSchema: z.ZodNativeEnum<
11693
- typeof CreateProjectProjectsAction
11694
- > = CreateProjectProjectsAction$inboundSchema;
10678
+ export const CreateProjectAction$outboundSchema: z.ZodNativeEnum<
10679
+ typeof CreateProjectAction
10680
+ > = CreateProjectAction$inboundSchema;
11695
10681
 
11696
10682
  /**
11697
10683
  * @internal
11698
10684
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11699
10685
  */
11700
- export namespace CreateProjectProjectsAction$ {
11701
- /** @deprecated use `CreateProjectProjectsAction$inboundSchema` instead. */
11702
- export const inboundSchema = CreateProjectProjectsAction$inboundSchema;
11703
- /** @deprecated use `CreateProjectProjectsAction$outboundSchema` instead. */
11704
- export const outboundSchema = CreateProjectProjectsAction$outboundSchema;
10686
+ export namespace CreateProjectAction$ {
10687
+ /** @deprecated use `CreateProjectAction$inboundSchema` instead. */
10688
+ export const inboundSchema = CreateProjectAction$inboundSchema;
10689
+ /** @deprecated use `CreateProjectAction$outboundSchema` instead. */
10690
+ export const outboundSchema = CreateProjectAction$outboundSchema;
11705
10691
  }
11706
10692
 
11707
10693
  /** @internal */
@@ -11711,7 +10697,7 @@ export const CreateProjectBotFilter$inboundSchema: z.ZodType<
11711
10697
  unknown
11712
10698
  > = z.object({
11713
10699
  active: z.boolean(),
11714
- action: CreateProjectProjectsAction$inboundSchema.optional(),
10700
+ action: CreateProjectAction$inboundSchema.optional(),
11715
10701
  });
11716
10702
 
11717
10703
  /** @internal */
@@ -11727,7 +10713,7 @@ export const CreateProjectBotFilter$outboundSchema: z.ZodType<
11727
10713
  CreateProjectBotFilter
11728
10714
  > = z.object({
11729
10715
  active: z.boolean(),
11730
- action: CreateProjectProjectsAction$outboundSchema.optional(),
10716
+ action: CreateProjectAction$outboundSchema.optional(),
11731
10717
  });
11732
10718
 
11733
10719
  /**
@@ -11762,26 +10748,24 @@ export function createProjectBotFilterFromJSON(
11762
10748
  }
11763
10749
 
11764
10750
  /** @internal */
11765
- export const CreateProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum<
11766
- typeof CreateProjectProjectsResponseAction
11767
- > = z.nativeEnum(CreateProjectProjectsResponseAction);
10751
+ export const CreateProjectProjectsAction$inboundSchema: z.ZodNativeEnum<
10752
+ typeof CreateProjectProjectsAction
10753
+ > = z.nativeEnum(CreateProjectProjectsAction);
11768
10754
 
11769
10755
  /** @internal */
11770
- export const CreateProjectProjectsResponseAction$outboundSchema:
11771
- z.ZodNativeEnum<typeof CreateProjectProjectsResponseAction> =
11772
- CreateProjectProjectsResponseAction$inboundSchema;
10756
+ export const CreateProjectProjectsAction$outboundSchema: z.ZodNativeEnum<
10757
+ typeof CreateProjectProjectsAction
10758
+ > = CreateProjectProjectsAction$inboundSchema;
11773
10759
 
11774
10760
  /**
11775
10761
  * @internal
11776
10762
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11777
10763
  */
11778
- export namespace CreateProjectProjectsResponseAction$ {
11779
- /** @deprecated use `CreateProjectProjectsResponseAction$inboundSchema` instead. */
11780
- export const inboundSchema =
11781
- CreateProjectProjectsResponseAction$inboundSchema;
11782
- /** @deprecated use `CreateProjectProjectsResponseAction$outboundSchema` instead. */
11783
- export const outboundSchema =
11784
- CreateProjectProjectsResponseAction$outboundSchema;
10764
+ export namespace CreateProjectProjectsAction$ {
10765
+ /** @deprecated use `CreateProjectProjectsAction$inboundSchema` instead. */
10766
+ export const inboundSchema = CreateProjectProjectsAction$inboundSchema;
10767
+ /** @deprecated use `CreateProjectProjectsAction$outboundSchema` instead. */
10768
+ export const outboundSchema = CreateProjectProjectsAction$outboundSchema;
11785
10769
  }
11786
10770
 
11787
10771
  /** @internal */
@@ -11791,7 +10775,7 @@ export const CreateProjectAiBots$inboundSchema: z.ZodType<
11791
10775
  unknown
11792
10776
  > = z.object({
11793
10777
  active: z.boolean(),
11794
- action: CreateProjectProjectsResponseAction$inboundSchema.optional(),
10778
+ action: CreateProjectProjectsAction$inboundSchema.optional(),
11795
10779
  });
11796
10780
 
11797
10781
  /** @internal */
@@ -11807,7 +10791,7 @@ export const CreateProjectAiBots$outboundSchema: z.ZodType<
11807
10791
  CreateProjectAiBots
11808
10792
  > = z.object({
11809
10793
  active: z.boolean(),
11810
- action: CreateProjectProjectsResponseAction$outboundSchema.optional(),
10794
+ action: CreateProjectProjectsAction$outboundSchema.optional(),
11811
10795
  });
11812
10796
 
11813
10797
  /**
@@ -11842,27 +10826,26 @@ export function createProjectAiBotsFromJSON(
11842
10826
  }
11843
10827
 
11844
10828
  /** @internal */
11845
- export const CreateProjectProjectsResponse200Action$inboundSchema:
11846
- z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Action> = z.nativeEnum(
11847
- CreateProjectProjectsResponse200Action,
11848
- );
10829
+ export const CreateProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum<
10830
+ typeof CreateProjectProjectsResponseAction
10831
+ > = z.nativeEnum(CreateProjectProjectsResponseAction);
11849
10832
 
11850
10833
  /** @internal */
11851
- export const CreateProjectProjectsResponse200Action$outboundSchema:
11852
- z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Action> =
11853
- CreateProjectProjectsResponse200Action$inboundSchema;
10834
+ export const CreateProjectProjectsResponseAction$outboundSchema:
10835
+ z.ZodNativeEnum<typeof CreateProjectProjectsResponseAction> =
10836
+ CreateProjectProjectsResponseAction$inboundSchema;
11854
10837
 
11855
10838
  /**
11856
10839
  * @internal
11857
10840
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11858
10841
  */
11859
- export namespace CreateProjectProjectsResponse200Action$ {
11860
- /** @deprecated use `CreateProjectProjectsResponse200Action$inboundSchema` instead. */
10842
+ export namespace CreateProjectProjectsResponseAction$ {
10843
+ /** @deprecated use `CreateProjectProjectsResponseAction$inboundSchema` instead. */
11861
10844
  export const inboundSchema =
11862
- CreateProjectProjectsResponse200Action$inboundSchema;
11863
- /** @deprecated use `CreateProjectProjectsResponse200Action$outboundSchema` instead. */
10845
+ CreateProjectProjectsResponseAction$inboundSchema;
10846
+ /** @deprecated use `CreateProjectProjectsResponseAction$outboundSchema` instead. */
11864
10847
  export const outboundSchema =
11865
- CreateProjectProjectsResponse200Action$outboundSchema;
10848
+ CreateProjectProjectsResponseAction$outboundSchema;
11866
10849
  }
11867
10850
 
11868
10851
  /** @internal */
@@ -11872,7 +10855,7 @@ export const CreateProjectOwasp$inboundSchema: z.ZodType<
11872
10855
  unknown
11873
10856
  > = z.object({
11874
10857
  active: z.boolean(),
11875
- action: CreateProjectProjectsResponse200Action$inboundSchema.optional(),
10858
+ action: CreateProjectProjectsResponseAction$inboundSchema.optional(),
11876
10859
  });
11877
10860
 
11878
10861
  /** @internal */
@@ -11888,7 +10871,7 @@ export const CreateProjectOwasp$outboundSchema: z.ZodType<
11888
10871
  CreateProjectOwasp
11889
10872
  > = z.object({
11890
10873
  active: z.boolean(),
11891
- action: CreateProjectProjectsResponse200Action$outboundSchema.optional(),
10874
+ action: CreateProjectProjectsResponseAction$outboundSchema.optional(),
11892
10875
  });
11893
10876
 
11894
10877
  /**
@@ -12004,9 +10987,6 @@ export const CreateProjectSecurity$inboundSchema: z.ZodType<
12004
10987
  firewallUpdatedAt: z.number().optional(),
12005
10988
  attackModeActiveUntil: z.nullable(z.number()).optional(),
12006
10989
  firewallConfigVersion: z.number().optional(),
12007
- firewallRoutes: z.array(
12008
- z.lazy(() => CreateProjectFirewallRoutes$inboundSchema),
12009
- ).optional(),
12010
10990
  firewallSeawallEnabled: z.boolean().optional(),
12011
10991
  ja3Enabled: z.boolean().optional(),
12012
10992
  ja4Enabled: z.boolean().optional(),
@@ -12025,7 +11005,6 @@ export type CreateProjectSecurity$Outbound = {
12025
11005
  firewallUpdatedAt?: number | undefined;
12026
11006
  attackModeActiveUntil?: number | null | undefined;
12027
11007
  firewallConfigVersion?: number | undefined;
12028
- firewallRoutes?: Array<CreateProjectFirewallRoutes$Outbound> | undefined;
12029
11008
  firewallSeawallEnabled?: boolean | undefined;
12030
11009
  ja3Enabled?: boolean | undefined;
12031
11010
  ja4Enabled?: boolean | undefined;
@@ -12046,9 +11025,6 @@ export const CreateProjectSecurity$outboundSchema: z.ZodType<
12046
11025
  firewallUpdatedAt: z.number().optional(),
12047
11026
  attackModeActiveUntil: z.nullable(z.number()).optional(),
12048
11027
  firewallConfigVersion: z.number().optional(),
12049
- firewallRoutes: z.array(
12050
- z.lazy(() => CreateProjectFirewallRoutes$outboundSchema),
12051
- ).optional(),
12052
11028
  firewallSeawallEnabled: z.boolean().optional(),
12053
11029
  ja3Enabled: z.boolean().optional(),
12054
11030
  ja4Enabled: z.boolean().optional(),