@vercel/sdk 1.10.8 → 1.11.0

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 (105) hide show
  1. package/bin/mcp-server.js +3715 -927
  2. package/bin/mcp-server.js.map +20 -20
  3. package/esm/__tests__/accessgroups.test.js +6 -6
  4. package/esm/__tests__/accessgroups.test.js.map +1 -1
  5. package/esm/__tests__/domains.test.js +5 -6
  6. package/esm/__tests__/domains.test.js.map +1 -1
  7. package/esm/__tests__/edgeconfig.test.js +6 -6
  8. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  9. package/esm/__tests__/integrations.test.js +1 -1
  10. package/esm/__tests__/rollingrelease.test.js +2 -2
  11. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  12. package/esm/__tests__/security.test.js +11 -1
  13. package/esm/__tests__/security.test.js.map +1 -1
  14. package/esm/__tests__/teams.test.js +2 -2
  15. package/esm/__tests__/teams.test.js.map +1 -1
  16. package/esm/lib/config.d.ts +3 -3
  17. package/esm/lib/config.js +3 -3
  18. package/esm/mcp-server/mcp-server.js +1 -1
  19. package/esm/mcp-server/server.js +1 -1
  20. package/esm/models/canceldeploymentop.d.ts +41 -41
  21. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  22. package/esm/models/canceldeploymentop.js +43 -41
  23. package/esm/models/canceldeploymentop.js.map +1 -1
  24. package/esm/models/createdeploymentop.d.ts +98 -98
  25. package/esm/models/createdeploymentop.d.ts.map +1 -1
  26. package/esm/models/createdeploymentop.js +113 -117
  27. package/esm/models/createdeploymentop.js.map +1 -1
  28. package/esm/models/createintegrationstoredirectop.d.ts +240 -240
  29. package/esm/models/createintegrationstoredirectop.js +294 -294
  30. package/esm/models/createprojectop.d.ts +1626 -281
  31. package/esm/models/createprojectop.d.ts.map +1 -1
  32. package/esm/models/createprojectop.js +1676 -298
  33. package/esm/models/createprojectop.js.map +1 -1
  34. package/esm/models/createwebhookop.d.ts +72 -66
  35. package/esm/models/createwebhookop.d.ts.map +1 -1
  36. package/esm/models/createwebhookop.js +24 -22
  37. package/esm/models/createwebhookop.js.map +1 -1
  38. package/esm/models/getconfigurationproductsop.d.ts +330 -330
  39. package/esm/models/getconfigurationproductsop.js +408 -408
  40. package/esm/models/getdeploymentop.d.ts +16 -16
  41. package/esm/models/getdeploymentop.d.ts.map +1 -1
  42. package/esm/models/getdeploymentop.js +24 -24
  43. package/esm/models/getdeploymentop.js.map +1 -1
  44. package/esm/models/getprojectsop.d.ts +1402 -57
  45. package/esm/models/getprojectsop.d.ts.map +1 -1
  46. package/esm/models/getprojectsop.js +1575 -202
  47. package/esm/models/getprojectsop.js.map +1 -1
  48. package/esm/models/getwebhookop.d.ts +36 -33
  49. package/esm/models/getwebhookop.d.ts.map +1 -1
  50. package/esm/models/getwebhookop.js +12 -11
  51. package/esm/models/getwebhookop.js.map +1 -1
  52. package/esm/models/getwebhooksop.d.ts +72 -66
  53. package/esm/models/getwebhooksop.d.ts.map +1 -1
  54. package/esm/models/getwebhooksop.js +24 -22
  55. package/esm/models/getwebhooksop.js.map +1 -1
  56. package/esm/models/listaccessgroupsop.d.ts +2 -5
  57. package/esm/models/listaccessgroupsop.d.ts.map +1 -1
  58. package/esm/models/listaccessgroupsop.js +2 -2
  59. package/esm/models/listaccessgroupsop.js.map +1 -1
  60. package/esm/models/readaccessgroupop.d.ts +48 -5
  61. package/esm/models/readaccessgroupop.d.ts.map +1 -1
  62. package/esm/models/readaccessgroupop.js +30 -2
  63. package/esm/models/readaccessgroupop.js.map +1 -1
  64. package/esm/models/team.d.ts +35 -18
  65. package/esm/models/team.d.ts.map +1 -1
  66. package/esm/models/team.js +15 -13
  67. package/esm/models/team.js.map +1 -1
  68. package/esm/models/updateprojectdatacacheop.d.ts +1402 -57
  69. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  70. package/esm/models/updateprojectdatacacheop.js +1584 -200
  71. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  72. package/esm/models/updateprojectop.d.ts +1402 -57
  73. package/esm/models/updateprojectop.d.ts.map +1 -1
  74. package/esm/models/updateprojectop.js +1579 -202
  75. package/esm/models/updateprojectop.js.map +1 -1
  76. package/examples/package-lock.json +1 -1
  77. package/examples/projectsUpdateProject.example.ts +1 -1
  78. package/jsr.json +1 -1
  79. package/package.json +1 -1
  80. package/src/__tests__/accessgroups.test.ts +6 -6
  81. package/src/__tests__/domains.test.ts +5 -6
  82. package/src/__tests__/edgeconfig.test.ts +6 -6
  83. package/src/__tests__/integrations.test.ts +1 -1
  84. package/src/__tests__/rollingrelease.test.ts +2 -2
  85. package/src/__tests__/security.test.ts +11 -1
  86. package/src/__tests__/teams.test.ts +2 -2
  87. package/src/lib/config.ts +3 -3
  88. package/src/mcp-server/mcp-server.ts +1 -1
  89. package/src/mcp-server/server.ts +1 -1
  90. package/src/models/canceldeploymentop.ts +84 -64
  91. package/src/models/createdeploymentop.ts +239 -192
  92. package/src/models/createintegrationstoredirectop.ts +505 -505
  93. package/src/models/createprojectop.ts +3443 -466
  94. package/src/models/createwebhookop.ts +24 -22
  95. package/src/models/getconfigurationproductsop.ts +703 -703
  96. package/src/models/getdeploymentop.ts +34 -34
  97. package/src/models/getprojectsop.ts +3255 -300
  98. package/src/models/getwebhookop.ts +12 -11
  99. package/src/models/getwebhooksop.ts +24 -22
  100. package/src/models/listaccessgroupsop.ts +4 -7
  101. package/src/models/readaccessgroupop.ts +42 -7
  102. package/src/models/team.ts +47 -28
  103. package/src/models/updateprojectdatacacheop.ts +3184 -307
  104. package/src/models/updateprojectop.ts +3290 -298
  105. package/vercel-spec.json +4895 -2034
@@ -466,10 +466,10 @@ export type CreateProjectProjectsTarget =
466
466
 
467
467
  export const CreateProjectProjectsResponseType = {
468
468
  System: "system",
469
+ Secret: "secret",
469
470
  Encrypted: "encrypted",
470
471
  Plain: "plain",
471
472
  Sensitive: "sensitive",
472
- Secret: "secret",
473
473
  } as const;
474
474
  export type CreateProjectProjectsResponseType = ClosedEnum<
475
475
  typeof CreateProjectProjectsResponseType
@@ -1114,7 +1114,7 @@ export type CreateProjectLatestDeployments = {
1114
1114
  };
1115
1115
 
1116
1116
  export const CreateProjectLinkProjectsResponse200ApplicationJSONType = {
1117
- GithubCustomHost: "github-custom-host",
1117
+ Bitbucket: "bitbucket",
1118
1118
  } as const;
1119
1119
  export type CreateProjectLinkProjectsResponse200ApplicationJSONType =
1120
1120
  ClosedEnum<typeof CreateProjectLinkProjectsResponse200ApplicationJSONType>;
@@ -1128,15 +1128,12 @@ export type CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks = {
1128
1128
  };
1129
1129
 
1130
1130
  export type CreateProjectLink5 = {
1131
- org: string;
1132
- /**
1133
- * 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.
1134
- */
1135
- repoOwnerId?: number | undefined;
1136
- repo?: string | undefined;
1137
- repoId?: number | undefined;
1131
+ name: string;
1132
+ slug: string;
1133
+ owner: string;
1138
1134
  type: CreateProjectLinkProjectsResponse200ApplicationJSONType;
1139
- host: string;
1135
+ uuid: string;
1136
+ workspaceUuid: string;
1140
1137
  createdAt?: number | undefined;
1141
1138
  deployHooks: Array<
1142
1139
  CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks
@@ -1148,7 +1145,7 @@ export type CreateProjectLink5 = {
1148
1145
  };
1149
1146
 
1150
1147
  export const CreateProjectLinkProjectsResponse200Type = {
1151
- Bitbucket: "bitbucket",
1148
+ Gitlab: "gitlab",
1152
1149
  } as const;
1153
1150
  export type CreateProjectLinkProjectsResponse200Type = ClosedEnum<
1154
1151
  typeof CreateProjectLinkProjectsResponse200Type
@@ -1163,12 +1160,16 @@ export type CreateProjectLinkProjectsResponse200DeployHooks = {
1163
1160
  };
1164
1161
 
1165
1162
  export type CreateProjectLink4 = {
1166
- name: string;
1167
- slug: string;
1168
- owner: string;
1163
+ projectId: string;
1164
+ projectName: string;
1165
+ projectNameWithNamespace: string;
1166
+ projectNamespace: string;
1167
+ /**
1168
+ * 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. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels).
1169
+ */
1170
+ projectOwnerId?: number | undefined;
1171
+ projectUrl: string;
1169
1172
  type: CreateProjectLinkProjectsResponse200Type;
1170
- uuid: string;
1171
- workspaceUuid: string;
1172
1173
  createdAt?: number | undefined;
1173
1174
  deployHooks: Array<CreateProjectLinkProjectsResponse200DeployHooks>;
1174
1175
  gitCredentialId: string;
@@ -1178,7 +1179,7 @@ export type CreateProjectLink4 = {
1178
1179
  };
1179
1180
 
1180
1181
  export const CreateProjectLinkProjectsResponseType = {
1181
- Gitlab: "gitlab",
1182
+ GithubCustomHost: "github-custom-host",
1182
1183
  } as const;
1183
1184
  export type CreateProjectLinkProjectsResponseType = ClosedEnum<
1184
1185
  typeof CreateProjectLinkProjectsResponseType
@@ -1193,16 +1194,15 @@ export type CreateProjectLinkProjectsResponseDeployHooks = {
1193
1194
  };
1194
1195
 
1195
1196
  export type CreateProjectLink3 = {
1196
- projectId: string;
1197
- projectName: string;
1198
- projectNameWithNamespace: string;
1199
- projectNamespace: string;
1197
+ org: string;
1200
1198
  /**
1201
- * 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. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels).
1199
+ * 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.
1202
1200
  */
1203
- projectOwnerId?: number | undefined;
1204
- projectUrl: string;
1201
+ repoOwnerId?: number | undefined;
1202
+ repo?: string | undefined;
1203
+ repoId?: number | undefined;
1205
1204
  type: CreateProjectLinkProjectsResponseType;
1205
+ host: string;
1206
1206
  createdAt?: number | undefined;
1207
1207
  deployHooks: Array<CreateProjectLinkProjectsResponseDeployHooks>;
1208
1208
  gitCredentialId: string;
@@ -1228,18 +1228,18 @@ export type CreateProjectLinkProjectsDeployHooks = {
1228
1228
 
1229
1229
  export type CreateProjectLink2 = {
1230
1230
  type: CreateProjectLinkProjectsType;
1231
- repo?: string | undefined;
1232
- repoId?: number | undefined;
1233
1231
  updatedAt?: number | undefined;
1234
1232
  createdAt?: number | undefined;
1233
+ repo?: string | undefined;
1234
+ sourceless?: boolean | undefined;
1235
1235
  org: string;
1236
1236
  /**
1237
1237
  * 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.
1238
1238
  */
1239
1239
  repoOwnerId?: number | undefined;
1240
+ repoId?: number | undefined;
1240
1241
  deployHooks: Array<CreateProjectLinkProjectsDeployHooks>;
1241
1242
  gitCredentialId: string;
1242
- sourceless?: boolean | undefined;
1243
1243
  productionBranch: string;
1244
1244
  };
1245
1245
 
@@ -1274,9 +1274,9 @@ export type CreateProjectLink1 = {
1274
1274
  };
1275
1275
 
1276
1276
  export type CreateProjectLink =
1277
- | CreateProjectLink3
1278
1277
  | CreateProjectLink4
1279
1278
  | CreateProjectLink5
1279
+ | CreateProjectLink3
1280
1280
  | CreateProjectLink1
1281
1281
  | CreateProjectLink2;
1282
1282
 
@@ -1359,7 +1359,6 @@ export type CreateProjectBuildMachineType = ClosedEnum<
1359
1359
  >;
1360
1360
 
1361
1361
  export type CreateProjectProjectsResourceConfig = {
1362
- elasticConcurrencyEnabled?: boolean | undefined;
1363
1362
  fluid?: boolean | undefined;
1364
1363
  functionDefaultRegions: Array<string>;
1365
1364
  functionDefaultTimeout?: number | undefined;
@@ -1367,6 +1366,7 @@ export type CreateProjectProjectsResourceConfig = {
1367
1366
  | CreateProjectFunctionDefaultMemoryType
1368
1367
  | undefined;
1369
1368
  functionZeroConfigFailover?: boolean | undefined;
1369
+ elasticConcurrencyEnabled?: boolean | undefined;
1370
1370
  buildMachineType?: CreateProjectBuildMachineType | undefined;
1371
1371
  isNSNBDisabled?: boolean | undefined;
1372
1372
  };
@@ -1447,7 +1447,6 @@ export type CreateProjectProjectsBuildMachineType = ClosedEnum<
1447
1447
  >;
1448
1448
 
1449
1449
  export type CreateProjectDefaultResourceConfig = {
1450
- elasticConcurrencyEnabled?: boolean | undefined;
1451
1450
  fluid?: boolean | undefined;
1452
1451
  functionDefaultRegions: Array<string>;
1453
1452
  functionDefaultTimeout?: number | undefined;
@@ -1455,13 +1454,14 @@ export type CreateProjectDefaultResourceConfig = {
1455
1454
  | CreateProjectProjectsFunctionDefaultMemoryType
1456
1455
  | undefined;
1457
1456
  functionZeroConfigFailover?: boolean | undefined;
1457
+ elasticConcurrencyEnabled?: boolean | undefined;
1458
1458
  buildMachineType?: CreateProjectProjectsBuildMachineType | undefined;
1459
1459
  isNSNBDisabled?: boolean | undefined;
1460
1460
  };
1461
1461
 
1462
1462
  export const CreateProjectProjectsDeploymentType = {
1463
- Preview: "preview",
1464
1463
  All: "all",
1464
+ Preview: "preview",
1465
1465
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1466
1466
  AllExceptCustomDomains: "all_except_custom_domains",
1467
1467
  } as const;
@@ -1634,73 +1634,6 @@ export type CreateProjectTargets = {
1634
1634
  };
1635
1635
 
1636
1636
  export type CreateProjectPermissions = {
1637
- aliasProject?: Array<ACLAction> | undefined;
1638
- aliasProtectionBypass?: Array<ACLAction> | undefined;
1639
- buildMachine?: Array<ACLAction> | undefined;
1640
- productionAliasProtectionBypass?: Array<ACLAction> | undefined;
1641
- connectConfigurationLink?: Array<ACLAction> | undefined;
1642
- dataCacheNamespace?: Array<ACLAction> | undefined;
1643
- deployment?: Array<ACLAction> | undefined;
1644
- deploymentBuildLogs?: Array<ACLAction> | undefined;
1645
- deploymentCheck?: Array<ACLAction> | undefined;
1646
- deploymentCheckPreview?: Array<ACLAction> | undefined;
1647
- deploymentCheckReRunFromProductionBranch?: Array<ACLAction> | undefined;
1648
- deploymentProductionGit?: Array<ACLAction> | undefined;
1649
- deploymentV0?: Array<ACLAction> | undefined;
1650
- deploymentPreview?: Array<ACLAction> | undefined;
1651
- deploymentPrivate?: Array<ACLAction> | undefined;
1652
- deploymentPromote?: Array<ACLAction> | undefined;
1653
- deploymentRollback?: Array<ACLAction> | undefined;
1654
- edgeCacheNamespace?: Array<ACLAction> | undefined;
1655
- environments?: Array<ACLAction> | undefined;
1656
- logs?: Array<ACLAction> | undefined;
1657
- logsPreset?: Array<ACLAction> | undefined;
1658
- passwordProtection?: Array<ACLAction> | undefined;
1659
- optionsAllowlist?: Array<ACLAction> | undefined;
1660
- job?: Array<ACLAction> | undefined;
1661
- observabilityData?: Array<ACLAction> | undefined;
1662
- onDemandBuild?: Array<ACLAction> | undefined;
1663
- onDemandConcurrency?: Array<ACLAction> | undefined;
1664
- project?: Array<ACLAction> | undefined;
1665
- projectFromV0?: Array<ACLAction> | undefined;
1666
- projectAccessGroup?: Array<ACLAction> | undefined;
1667
- projectAnalyticsSampling?: Array<ACLAction> | undefined;
1668
- projectCheck?: Array<ACLAction> | undefined;
1669
- projectCheckRun?: Array<ACLAction> | undefined;
1670
- projectDeploymentHook?: Array<ACLAction> | undefined;
1671
- projectDomain?: Array<ACLAction> | undefined;
1672
- projectDomainMove?: Array<ACLAction> | undefined;
1673
- projectDomainCheckConfig?: Array<ACLAction> | undefined;
1674
- projectEnvVars?: Array<ACLAction> | undefined;
1675
- projectEnvVarsProduction?: Array<ACLAction> | undefined;
1676
- projectEnvVarsUnownedByIntegration?: Array<ACLAction> | undefined;
1677
- projectFlags?: Array<ACLAction> | undefined;
1678
- projectId?: Array<ACLAction> | undefined;
1679
- projectIntegrationConfiguration?: Array<ACLAction> | undefined;
1680
- projectLink?: Array<ACLAction> | undefined;
1681
- projectMember?: Array<ACLAction> | undefined;
1682
- projectMonitoring?: Array<ACLAction> | undefined;
1683
- projectPermissions?: Array<ACLAction> | undefined;
1684
- projectProductionBranch?: Array<ACLAction> | undefined;
1685
- projectTransfer?: Array<ACLAction> | undefined;
1686
- projectTransferOut?: Array<ACLAction> | undefined;
1687
- projectProtectionBypass?: Array<ACLAction> | undefined;
1688
- projectUsage?: Array<ACLAction> | undefined;
1689
- projectAnalyticsUsage?: Array<ACLAction> | undefined;
1690
- projectSupportCase?: Array<ACLAction> | undefined;
1691
- projectSupportCaseComment?: Array<ACLAction> | undefined;
1692
- projectDeploymentExpiration?: Array<ACLAction> | undefined;
1693
- projectRollingRelease?: Array<ACLAction> | undefined;
1694
- projectTier?: Array<ACLAction> | undefined;
1695
- projectOIDCToken?: Array<ACLAction> | undefined;
1696
- seawallConfig?: Array<ACLAction> | undefined;
1697
- skewProtection?: Array<ACLAction> | undefined;
1698
- analytics?: Array<ACLAction> | undefined;
1699
- trustedIps?: Array<ACLAction> | undefined;
1700
- v0Chat?: Array<ACLAction> | undefined;
1701
- webAnalytics?: Array<ACLAction> | undefined;
1702
- sharedEnvVarConnection?: Array<ACLAction> | undefined;
1703
- sonar?: Array<ACLAction> | undefined;
1704
1637
  oauth2Connection?: Array<ACLAction> | undefined;
1705
1638
  user?: Array<ACLAction> | undefined;
1706
1639
  userConnection?: Array<ACLAction> | undefined;
@@ -1787,6 +1720,7 @@ export type CreateProjectPermissions = {
1787
1720
  notificationCustomerBudget?: Array<ACLAction> | undefined;
1788
1721
  notificationStatementOfReasons?: Array<ACLAction> | undefined;
1789
1722
  observabilityConfiguration?: Array<ACLAction> | undefined;
1723
+ alerts?: Array<ACLAction> | undefined;
1790
1724
  observabilityNotebook?: Array<ACLAction> | undefined;
1791
1725
  observabilityFunnel?: Array<ACLAction> | undefined;
1792
1726
  openTelemetryEndpoint?: Array<ACLAction> | undefined;
@@ -1846,6 +1780,73 @@ export type CreateProjectPermissions = {
1846
1780
  vercelRunExec?: Array<ACLAction> | undefined;
1847
1781
  apiKey?: Array<ACLAction> | undefined;
1848
1782
  apiKeyOwnedBySelf?: Array<ACLAction> | undefined;
1783
+ aliasProject?: Array<ACLAction> | undefined;
1784
+ aliasProtectionBypass?: Array<ACLAction> | undefined;
1785
+ buildMachine?: Array<ACLAction> | undefined;
1786
+ productionAliasProtectionBypass?: Array<ACLAction> | undefined;
1787
+ connectConfigurationLink?: Array<ACLAction> | undefined;
1788
+ dataCacheNamespace?: Array<ACLAction> | undefined;
1789
+ deployment?: Array<ACLAction> | undefined;
1790
+ deploymentBuildLogs?: Array<ACLAction> | undefined;
1791
+ deploymentCheck?: Array<ACLAction> | undefined;
1792
+ deploymentCheckPreview?: Array<ACLAction> | undefined;
1793
+ deploymentCheckReRunFromProductionBranch?: Array<ACLAction> | undefined;
1794
+ deploymentProductionGit?: Array<ACLAction> | undefined;
1795
+ deploymentV0?: Array<ACLAction> | undefined;
1796
+ deploymentPreview?: Array<ACLAction> | undefined;
1797
+ deploymentPrivate?: Array<ACLAction> | undefined;
1798
+ deploymentPromote?: Array<ACLAction> | undefined;
1799
+ deploymentRollback?: Array<ACLAction> | undefined;
1800
+ edgeCacheNamespace?: Array<ACLAction> | undefined;
1801
+ environments?: Array<ACLAction> | undefined;
1802
+ logs?: Array<ACLAction> | undefined;
1803
+ logsPreset?: Array<ACLAction> | undefined;
1804
+ passwordProtection?: Array<ACLAction> | undefined;
1805
+ optionsAllowlist?: Array<ACLAction> | undefined;
1806
+ job?: Array<ACLAction> | undefined;
1807
+ observabilityData?: Array<ACLAction> | undefined;
1808
+ onDemandBuild?: Array<ACLAction> | undefined;
1809
+ onDemandConcurrency?: Array<ACLAction> | undefined;
1810
+ project?: Array<ACLAction> | undefined;
1811
+ projectFromV0?: Array<ACLAction> | undefined;
1812
+ projectAccessGroup?: Array<ACLAction> | undefined;
1813
+ projectAnalyticsSampling?: Array<ACLAction> | undefined;
1814
+ projectCheck?: Array<ACLAction> | undefined;
1815
+ projectCheckRun?: Array<ACLAction> | undefined;
1816
+ projectDeploymentHook?: Array<ACLAction> | undefined;
1817
+ projectDomain?: Array<ACLAction> | undefined;
1818
+ projectDomainMove?: Array<ACLAction> | undefined;
1819
+ projectDomainCheckConfig?: Array<ACLAction> | undefined;
1820
+ projectEnvVars?: Array<ACLAction> | undefined;
1821
+ projectEnvVarsProduction?: Array<ACLAction> | undefined;
1822
+ projectEnvVarsUnownedByIntegration?: Array<ACLAction> | undefined;
1823
+ projectFlags?: Array<ACLAction> | undefined;
1824
+ projectId?: Array<ACLAction> | undefined;
1825
+ projectIntegrationConfiguration?: Array<ACLAction> | undefined;
1826
+ projectLink?: Array<ACLAction> | undefined;
1827
+ projectMember?: Array<ACLAction> | undefined;
1828
+ projectMonitoring?: Array<ACLAction> | undefined;
1829
+ projectPermissions?: Array<ACLAction> | undefined;
1830
+ projectProductionBranch?: Array<ACLAction> | undefined;
1831
+ projectTransfer?: Array<ACLAction> | undefined;
1832
+ projectTransferOut?: Array<ACLAction> | undefined;
1833
+ projectProtectionBypass?: Array<ACLAction> | undefined;
1834
+ projectUsage?: Array<ACLAction> | undefined;
1835
+ projectAnalyticsUsage?: Array<ACLAction> | undefined;
1836
+ projectSupportCase?: Array<ACLAction> | undefined;
1837
+ projectSupportCaseComment?: Array<ACLAction> | undefined;
1838
+ projectDeploymentExpiration?: Array<ACLAction> | undefined;
1839
+ projectRollingRelease?: Array<ACLAction> | undefined;
1840
+ projectTier?: Array<ACLAction> | undefined;
1841
+ projectOIDCToken?: Array<ACLAction> | undefined;
1842
+ seawallConfig?: Array<ACLAction> | undefined;
1843
+ skewProtection?: Array<ACLAction> | undefined;
1844
+ analytics?: Array<ACLAction> | undefined;
1845
+ trustedIps?: Array<ACLAction> | undefined;
1846
+ v0Chat?: Array<ACLAction> | undefined;
1847
+ webAnalytics?: Array<ACLAction> | undefined;
1848
+ sharedEnvVarConnection?: Array<ACLAction> | undefined;
1849
+ sonar?: Array<ACLAction> | undefined;
1849
1850
  };
1850
1851
 
1851
1852
  export type CreateProjectLastRollbackTarget = {};
@@ -1915,11 +1916,11 @@ export type CreateProjectProtectionBypass =
1915
1916
  | CreateProjectProtectionBypass2;
1916
1917
 
1917
1918
  export const CreateProjectTrustedIpsProjectsDeploymentType = {
1918
- Preview: "preview",
1919
- Production: "production",
1920
1919
  All: "all",
1920
+ Preview: "preview",
1921
1921
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1922
1922
  AllExceptCustomDomains: "all_except_custom_domains",
1923
+ Production: "production",
1923
1924
  } as const;
1924
1925
  export type CreateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
1925
1926
  typeof CreateProjectTrustedIpsProjectsDeploymentType
@@ -1930,11 +1931,11 @@ export type CreateProjectTrustedIps2 = {
1930
1931
  };
1931
1932
 
1932
1933
  export const CreateProjectTrustedIpsDeploymentType = {
1933
- Preview: "preview",
1934
- Production: "production",
1935
1934
  All: "all",
1935
+ Preview: "preview",
1936
1936
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1937
1937
  AllExceptCustomDomains: "all_except_custom_domains",
1938
+ Production: "production",
1938
1939
  } as const;
1939
1940
  export type CreateProjectTrustedIpsDeploymentType = ClosedEnum<
1940
1941
  typeof CreateProjectTrustedIpsDeploymentType
@@ -2007,16 +2008,18 @@ export type CreateProjectWebAnalytics = {
2007
2008
  hasData?: boolean | undefined;
2008
2009
  };
2009
2010
 
2010
- export const CreateProjectAction = {
2011
+ export const CreateProjectProjectsResponse200Action = {
2011
2012
  Log: "log",
2012
2013
  Challenge: "challenge",
2013
2014
  Deny: "deny",
2014
2015
  } as const;
2015
- export type CreateProjectAction = ClosedEnum<typeof CreateProjectAction>;
2016
+ export type CreateProjectProjectsResponse200Action = ClosedEnum<
2017
+ typeof CreateProjectProjectsResponse200Action
2018
+ >;
2016
2019
 
2017
2020
  export type CreateProjectBotFilter = {
2018
2021
  active: boolean;
2019
- action?: CreateProjectAction | undefined;
2022
+ action?: CreateProjectProjectsResponse200Action | undefined;
2020
2023
  };
2021
2024
 
2022
2025
  export const CreateProjectProjectsAction = {
@@ -2104,55 +2107,377 @@ export type CreateProjectFeatures = {
2104
2107
  webAnalytics?: boolean | undefined;
2105
2108
  };
2106
2109
 
2107
- /**
2108
- * The project was successfuly created
2109
- */
2110
- export type CreateProjectResponseBody = {
2111
- accountId: string;
2112
- analytics?: CreateProjectAnalytics | undefined;
2113
- speedInsights?: CreateProjectSpeedInsights | undefined;
2114
- autoExposeSystemEnvs?: boolean | undefined;
2115
- autoAssignCustomDomains?: boolean | undefined;
2116
- autoAssignCustomDomainsUpdatedBy?: string | undefined;
2117
- buildCommand?: string | null | undefined;
2118
- commandForIgnoringBuildStep?: string | null | undefined;
2119
- connectConfigurations?:
2120
- | Array<CreateProjectConnectConfigurations>
2121
- | null
2122
- | undefined;
2123
- connectConfigurationId?: string | null | undefined;
2124
- connectBuildsEnabled?: boolean | undefined;
2125
- passiveConnectConfigurationId?: string | null | undefined;
2126
- createdAt?: number | undefined;
2127
- customerSupportCodeVisibility?: boolean | undefined;
2128
- crons?: CreateProjectCrons | undefined;
2129
- dataCache?: CreateProjectDataCache | undefined;
2130
- /**
2131
- * Retention policies for deployments. These are enforced at the project level, but we also maintain an instance of this at the team level as a default policy that gets applied to new projects.
2132
- */
2133
- deploymentExpiration?: CreateProjectDeploymentExpiration | null | undefined;
2134
- devCommand?: string | null | undefined;
2135
- directoryListing: boolean;
2136
- installCommand?: string | null | undefined;
2137
- env?: Array<CreateProjectEnv> | undefined;
2138
- customEnvironments?: Array<CreateProjectCustomEnvironments> | undefined;
2139
- framework?: CreateProjectProjectsFramework | null | undefined;
2140
- gitForkProtection?: boolean | undefined;
2141
- gitLFS?: boolean | undefined;
2142
- id: string;
2143
- ipBuckets?: Array<CreateProjectIpBuckets> | undefined;
2144
- latestDeployments?: Array<CreateProjectLatestDeployments> | undefined;
2145
- link?:
2146
- | CreateProjectLink3
2147
- | CreateProjectLink4
2148
- | CreateProjectLink5
2149
- | CreateProjectLink1
2150
- | CreateProjectLink2
2151
- | undefined;
2152
- microfrontends?:
2153
- | CreateProjectMicrofrontends1
2154
- | CreateProjectMicrofrontends2
2155
- | undefined;
2110
+ export type CreateProjectHistory = {
2111
+ scanner: string;
2112
+ reason: string;
2113
+ by: string;
2114
+ byId: string;
2115
+ at: number;
2116
+ };
2117
+
2118
+ export const CreateProjectAction = {
2119
+ Blocked: "blocked",
2120
+ } as const;
2121
+ export type CreateProjectAction = ClosedEnum<typeof CreateProjectAction>;
2122
+
2123
+ export type CreateProjectBlock = {
2124
+ action: CreateProjectAction;
2125
+ reason: string;
2126
+ statusCode: number;
2127
+ createdAt: number;
2128
+ caseId?: string | undefined;
2129
+ actor?: string | undefined;
2130
+ comment?: string | undefined;
2131
+ isCascading?: boolean | undefined;
2132
+ };
2133
+
2134
+ export const CreateProjectBlockHistoryProjectsResponse200Action = {
2135
+ RouteUnblocked: "route-unblocked",
2136
+ } as const;
2137
+ export type CreateProjectBlockHistoryProjectsResponse200Action = ClosedEnum<
2138
+ typeof CreateProjectBlockHistoryProjectsResponse200Action
2139
+ >;
2140
+
2141
+ export const CreateProjectHasProjectsResponse200Type = {
2142
+ Host: "host",
2143
+ } as const;
2144
+ export type CreateProjectHasProjectsResponse200Type = ClosedEnum<
2145
+ typeof CreateProjectHasProjectsResponse200Type
2146
+ >;
2147
+
2148
+ export type CreateProjectHasProjectsResponse200Value = {
2149
+ eq: string;
2150
+ };
2151
+
2152
+ export type CreateProjectHasProjects2 = {
2153
+ type: CreateProjectHasProjectsResponse200Type;
2154
+ value: CreateProjectHasProjectsResponse200Value;
2155
+ };
2156
+
2157
+ export const CreateProjectHasProjectsResponseType = {
2158
+ Header: "header",
2159
+ } as const;
2160
+ export type CreateProjectHasProjectsResponseType = ClosedEnum<
2161
+ typeof CreateProjectHasProjectsResponseType
2162
+ >;
2163
+
2164
+ export const CreateProjectHasProjectsKey = {
2165
+ XVercelIpCountry: "x-vercel-ip-country",
2166
+ } as const;
2167
+ export type CreateProjectHasProjectsKey = ClosedEnum<
2168
+ typeof CreateProjectHasProjectsKey
2169
+ >;
2170
+
2171
+ export type CreateProjectHasProjectsResponseValue = {
2172
+ eq: string;
2173
+ };
2174
+
2175
+ export type CreateProjectHasProjects1 = {
2176
+ type: CreateProjectHasProjectsResponseType;
2177
+ key: CreateProjectHasProjectsKey;
2178
+ value: CreateProjectHasProjectsResponseValue;
2179
+ };
2180
+
2181
+ export type CreateProjectRouteProjectsHas =
2182
+ | CreateProjectHasProjects1
2183
+ | CreateProjectHasProjects2;
2184
+
2185
+ export const CreateProjectRouteProjectsAction = {
2186
+ BlockLegalCwc: "block_legal_cwc",
2187
+ } as const;
2188
+ export type CreateProjectRouteProjectsAction = ClosedEnum<
2189
+ typeof CreateProjectRouteProjectsAction
2190
+ >;
2191
+
2192
+ export type CreateProjectRouteProjectsMitigate = {
2193
+ action: CreateProjectRouteProjectsAction;
2194
+ };
2195
+
2196
+ export type CreateProjectRouteProjects2 = {
2197
+ has: Array<CreateProjectHasProjects1 | CreateProjectHasProjects2>;
2198
+ mitigate: CreateProjectRouteProjectsMitigate;
2199
+ src?: string | undefined;
2200
+ };
2201
+
2202
+ export type CreateProjectRouteProjects1 = {
2203
+ src: string;
2204
+ status: number;
2205
+ };
2206
+
2207
+ export type CreateProjectBlockHistoryProjectsRoute =
2208
+ | CreateProjectRouteProjects1
2209
+ | CreateProjectRouteProjects2;
2210
+
2211
+ export type CreateProjectBlockHistory4 = {
2212
+ action: CreateProjectBlockHistoryProjectsResponse200Action;
2213
+ route: CreateProjectRouteProjects1 | CreateProjectRouteProjects2;
2214
+ statusCode?: number | undefined;
2215
+ createdAt: number;
2216
+ caseId?: string | undefined;
2217
+ actor?: string | undefined;
2218
+ comment?: string | undefined;
2219
+ isCascading?: boolean | undefined;
2220
+ };
2221
+
2222
+ export const CreateProjectBlockHistoryProjectsResponseAction = {
2223
+ RouteBlocked: "route-blocked",
2224
+ } as const;
2225
+ export type CreateProjectBlockHistoryProjectsResponseAction = ClosedEnum<
2226
+ typeof CreateProjectBlockHistoryProjectsResponseAction
2227
+ >;
2228
+
2229
+ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType =
2230
+ {
2231
+ Host: "host",
2232
+ } as const;
2233
+ export type CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType =
2234
+ ClosedEnum<
2235
+ typeof CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType
2236
+ >;
2237
+
2238
+ export type CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue =
2239
+ {
2240
+ eq: string;
2241
+ };
2242
+
2243
+ export type CreateProjectHasProjectsResponse2 = {
2244
+ type: CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType;
2245
+ value: CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue;
2246
+ };
2247
+
2248
+ export const CreateProjectHasProjectsResponse200ApplicationJSONType = {
2249
+ Header: "header",
2250
+ } as const;
2251
+ export type CreateProjectHasProjectsResponse200ApplicationJSONType = ClosedEnum<
2252
+ typeof CreateProjectHasProjectsResponse200ApplicationJSONType
2253
+ >;
2254
+
2255
+ export const CreateProjectHasKey = {
2256
+ XVercelIpCountry: "x-vercel-ip-country",
2257
+ } as const;
2258
+ export type CreateProjectHasKey = ClosedEnum<typeof CreateProjectHasKey>;
2259
+
2260
+ export type CreateProjectHasProjectsResponse200ApplicationJSONValue = {
2261
+ eq: string;
2262
+ };
2263
+
2264
+ export type CreateProjectHasProjectsResponse1 = {
2265
+ type: CreateProjectHasProjectsResponse200ApplicationJSONType;
2266
+ key: CreateProjectHasKey;
2267
+ value: CreateProjectHasProjectsResponse200ApplicationJSONValue;
2268
+ };
2269
+
2270
+ export type CreateProjectRouteHas =
2271
+ | CreateProjectHasProjectsResponse1
2272
+ | CreateProjectHasProjectsResponse2;
2273
+
2274
+ export const CreateProjectRouteAction = {
2275
+ BlockLegalCwc: "block_legal_cwc",
2276
+ } as const;
2277
+ export type CreateProjectRouteAction = ClosedEnum<
2278
+ typeof CreateProjectRouteAction
2279
+ >;
2280
+
2281
+ export type CreateProjectRouteMitigate = {
2282
+ action: CreateProjectRouteAction;
2283
+ };
2284
+
2285
+ export type CreateProjectRoute2 = {
2286
+ has: Array<
2287
+ CreateProjectHasProjectsResponse1 | CreateProjectHasProjectsResponse2
2288
+ >;
2289
+ mitigate: CreateProjectRouteMitigate;
2290
+ src?: string | undefined;
2291
+ };
2292
+
2293
+ export type CreateProjectRoute1 = {
2294
+ src: string;
2295
+ status: number;
2296
+ };
2297
+
2298
+ export type CreateProjectBlockHistoryRoute =
2299
+ | CreateProjectRoute1
2300
+ | CreateProjectRoute2;
2301
+
2302
+ export type CreateProjectBlockHistory3 = {
2303
+ action: CreateProjectBlockHistoryProjectsResponseAction;
2304
+ route: CreateProjectRoute1 | CreateProjectRoute2;
2305
+ reason: string;
2306
+ createdAt: number;
2307
+ caseId?: string | undefined;
2308
+ actor?: string | undefined;
2309
+ comment?: string | undefined;
2310
+ isCascading?: boolean | undefined;
2311
+ };
2312
+
2313
+ export const CreateProjectBlockHistoryProjectsAction = {
2314
+ Unblocked: "unblocked",
2315
+ } as const;
2316
+ export type CreateProjectBlockHistoryProjectsAction = ClosedEnum<
2317
+ typeof CreateProjectBlockHistoryProjectsAction
2318
+ >;
2319
+
2320
+ export type CreateProjectBlockHistory2 = {
2321
+ action: CreateProjectBlockHistoryProjectsAction;
2322
+ createdAt: number;
2323
+ caseId?: string | undefined;
2324
+ actor?: string | undefined;
2325
+ comment?: string | undefined;
2326
+ isCascading?: boolean | undefined;
2327
+ };
2328
+
2329
+ export const CreateProjectBlockHistoryAction = {
2330
+ Blocked: "blocked",
2331
+ } as const;
2332
+ export type CreateProjectBlockHistoryAction = ClosedEnum<
2333
+ typeof CreateProjectBlockHistoryAction
2334
+ >;
2335
+
2336
+ export type CreateProjectBlockHistory1 = {
2337
+ action: CreateProjectBlockHistoryAction;
2338
+ reason: string;
2339
+ statusCode: number;
2340
+ createdAt: number;
2341
+ caseId?: string | undefined;
2342
+ actor?: string | undefined;
2343
+ comment?: string | undefined;
2344
+ isCascading?: boolean | undefined;
2345
+ };
2346
+
2347
+ export type CreateProjectBlockHistory =
2348
+ | CreateProjectBlockHistory1
2349
+ | CreateProjectBlockHistory3
2350
+ | CreateProjectBlockHistory4
2351
+ | CreateProjectBlockHistory2;
2352
+
2353
+ export type CreateProjectAbuse = {
2354
+ scanner?: string | undefined;
2355
+ history: Array<CreateProjectHistory>;
2356
+ updatedAt: number;
2357
+ block?: CreateProjectBlock | undefined;
2358
+ blockHistory?:
2359
+ | Array<
2360
+ | CreateProjectBlockHistory1
2361
+ | CreateProjectBlockHistory3
2362
+ | CreateProjectBlockHistory4
2363
+ | CreateProjectBlockHistory2
2364
+ >
2365
+ | undefined;
2366
+ };
2367
+
2368
+ export const CreateProjectHasProjectsType = {
2369
+ Host: "host",
2370
+ } as const;
2371
+ export type CreateProjectHasProjectsType = ClosedEnum<
2372
+ typeof CreateProjectHasProjectsType
2373
+ >;
2374
+
2375
+ export type CreateProjectHasProjectsValue = {
2376
+ eq: string;
2377
+ };
2378
+
2379
+ export type CreateProjectHas2 = {
2380
+ type: CreateProjectHasProjectsType;
2381
+ value: CreateProjectHasProjectsValue;
2382
+ };
2383
+
2384
+ export const CreateProjectHasType = {
2385
+ Header: "header",
2386
+ } as const;
2387
+ export type CreateProjectHasType = ClosedEnum<typeof CreateProjectHasType>;
2388
+
2389
+ export const HasKey = {
2390
+ XVercelIpCountry: "x-vercel-ip-country",
2391
+ } as const;
2392
+ export type HasKey = ClosedEnum<typeof HasKey>;
2393
+
2394
+ export type CreateProjectHasValue = {
2395
+ eq: string;
2396
+ };
2397
+
2398
+ export type CreateProjectHas1 = {
2399
+ type: CreateProjectHasType;
2400
+ key: HasKey;
2401
+ value: CreateProjectHasValue;
2402
+ };
2403
+
2404
+ export type InternalRoutesHas = CreateProjectHas1 | CreateProjectHas2;
2405
+
2406
+ export const CreateProjectInternalRoutesAction = {
2407
+ BlockLegalCwc: "block_legal_cwc",
2408
+ } as const;
2409
+ export type CreateProjectInternalRoutesAction = ClosedEnum<
2410
+ typeof CreateProjectInternalRoutesAction
2411
+ >;
2412
+
2413
+ export type InternalRoutesMitigate = {
2414
+ action: CreateProjectInternalRoutesAction;
2415
+ };
2416
+
2417
+ export type CreateProjectInternalRoutes2 = {
2418
+ has: Array<CreateProjectHas1 | CreateProjectHas2>;
2419
+ mitigate: InternalRoutesMitigate;
2420
+ src?: string | undefined;
2421
+ };
2422
+
2423
+ export type CreateProjectInternalRoutes1 = {
2424
+ src: string;
2425
+ status: number;
2426
+ };
2427
+
2428
+ export type CreateProjectInternalRoutes =
2429
+ | CreateProjectInternalRoutes1
2430
+ | CreateProjectInternalRoutes2;
2431
+
2432
+ /**
2433
+ * The project was successfuly created
2434
+ */
2435
+ export type CreateProjectResponseBody = {
2436
+ accountId: string;
2437
+ analytics?: CreateProjectAnalytics | undefined;
2438
+ speedInsights?: CreateProjectSpeedInsights | undefined;
2439
+ autoExposeSystemEnvs?: boolean | undefined;
2440
+ autoAssignCustomDomains?: boolean | undefined;
2441
+ autoAssignCustomDomainsUpdatedBy?: string | undefined;
2442
+ buildCommand?: string | null | undefined;
2443
+ commandForIgnoringBuildStep?: string | null | undefined;
2444
+ connectConfigurations?:
2445
+ | Array<CreateProjectConnectConfigurations>
2446
+ | null
2447
+ | undefined;
2448
+ connectConfigurationId?: string | null | undefined;
2449
+ connectBuildsEnabled?: boolean | undefined;
2450
+ passiveConnectConfigurationId?: string | null | undefined;
2451
+ createdAt?: number | undefined;
2452
+ customerSupportCodeVisibility?: boolean | undefined;
2453
+ crons?: CreateProjectCrons | undefined;
2454
+ dataCache?: CreateProjectDataCache | undefined;
2455
+ /**
2456
+ * Retention policies for deployments. These are enforced at the project level, but we also maintain an instance of this at the team level as a default policy that gets applied to new projects.
2457
+ */
2458
+ deploymentExpiration?: CreateProjectDeploymentExpiration | null | undefined;
2459
+ devCommand?: string | null | undefined;
2460
+ directoryListing: boolean;
2461
+ installCommand?: string | null | undefined;
2462
+ env?: Array<CreateProjectEnv> | undefined;
2463
+ customEnvironments?: Array<CreateProjectCustomEnvironments> | undefined;
2464
+ framework?: CreateProjectProjectsFramework | null | undefined;
2465
+ gitForkProtection?: boolean | undefined;
2466
+ gitLFS?: boolean | undefined;
2467
+ id: string;
2468
+ ipBuckets?: Array<CreateProjectIpBuckets> | undefined;
2469
+ latestDeployments?: Array<CreateProjectLatestDeployments> | undefined;
2470
+ link?:
2471
+ | CreateProjectLink4
2472
+ | CreateProjectLink5
2473
+ | CreateProjectLink3
2474
+ | CreateProjectLink1
2475
+ | CreateProjectLink2
2476
+ | undefined;
2477
+ microfrontends?:
2478
+ | CreateProjectMicrofrontends1
2479
+ | CreateProjectMicrofrontends2
2480
+ | undefined;
2156
2481
  name: string;
2157
2482
  nodeVersion: CreateProjectNodeVersion;
2158
2483
  optionsAllowlist?: CreateProjectOptionsAllowlist | null | undefined;
@@ -2211,6 +2536,10 @@ export type CreateProjectResponseBody = {
2211
2536
  tier?: CreateProjectTier | undefined;
2212
2537
  features?: CreateProjectFeatures | undefined;
2213
2538
  v0?: boolean | undefined;
2539
+ abuse?: CreateProjectAbuse | undefined;
2540
+ internalRoutes?:
2541
+ | Array<CreateProjectInternalRoutes1 | CreateProjectInternalRoutes2>
2542
+ | undefined;
2214
2543
  };
2215
2544
 
2216
2545
  /** @internal */
@@ -6547,12 +6876,12 @@ export const CreateProjectLink5$inboundSchema: z.ZodType<
6547
6876
  z.ZodTypeDef,
6548
6877
  unknown
6549
6878
  > = z.object({
6550
- org: z.string(),
6551
- repoOwnerId: z.number().optional(),
6552
- repo: z.string().optional(),
6553
- repoId: z.number().optional(),
6879
+ name: z.string(),
6880
+ slug: z.string(),
6881
+ owner: z.string(),
6554
6882
  type: CreateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema,
6555
- host: z.string(),
6883
+ uuid: z.string(),
6884
+ workspaceUuid: z.string(),
6556
6885
  createdAt: z.number().optional(),
6557
6886
  deployHooks: z.array(
6558
6887
  z.lazy(() =>
@@ -6567,12 +6896,12 @@ export const CreateProjectLink5$inboundSchema: z.ZodType<
6567
6896
 
6568
6897
  /** @internal */
6569
6898
  export type CreateProjectLink5$Outbound = {
6570
- org: string;
6571
- repoOwnerId?: number | undefined;
6572
- repo?: string | undefined;
6573
- repoId?: number | undefined;
6899
+ name: string;
6900
+ slug: string;
6901
+ owner: string;
6574
6902
  type: string;
6575
- host: string;
6903
+ uuid: string;
6904
+ workspaceUuid: string;
6576
6905
  createdAt?: number | undefined;
6577
6906
  deployHooks: Array<
6578
6907
  CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound
@@ -6589,12 +6918,12 @@ export const CreateProjectLink5$outboundSchema: z.ZodType<
6589
6918
  z.ZodTypeDef,
6590
6919
  CreateProjectLink5
6591
6920
  > = z.object({
6592
- org: z.string(),
6593
- repoOwnerId: z.number().optional(),
6594
- repo: z.string().optional(),
6595
- repoId: z.number().optional(),
6921
+ name: z.string(),
6922
+ slug: z.string(),
6923
+ owner: z.string(),
6596
6924
  type: CreateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema,
6597
- host: z.string(),
6925
+ uuid: z.string(),
6926
+ workspaceUuid: z.string(),
6598
6927
  createdAt: z.number().optional(),
6599
6928
  deployHooks: z.array(
6600
6929
  z.lazy(() =>
@@ -6747,12 +7076,13 @@ export const CreateProjectLink4$inboundSchema: z.ZodType<
6747
7076
  z.ZodTypeDef,
6748
7077
  unknown
6749
7078
  > = z.object({
6750
- name: z.string(),
6751
- slug: z.string(),
6752
- owner: z.string(),
7079
+ projectId: z.string(),
7080
+ projectName: z.string(),
7081
+ projectNameWithNamespace: z.string(),
7082
+ projectNamespace: z.string(),
7083
+ projectOwnerId: z.number().optional(),
7084
+ projectUrl: z.string(),
6753
7085
  type: CreateProjectLinkProjectsResponse200Type$inboundSchema,
6754
- uuid: z.string(),
6755
- workspaceUuid: z.string(),
6756
7086
  createdAt: z.number().optional(),
6757
7087
  deployHooks: z.array(
6758
7088
  z.lazy(() => CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema),
@@ -6765,12 +7095,13 @@ export const CreateProjectLink4$inboundSchema: z.ZodType<
6765
7095
 
6766
7096
  /** @internal */
6767
7097
  export type CreateProjectLink4$Outbound = {
6768
- name: string;
6769
- slug: string;
6770
- owner: string;
7098
+ projectId: string;
7099
+ projectName: string;
7100
+ projectNameWithNamespace: string;
7101
+ projectNamespace: string;
7102
+ projectOwnerId?: number | undefined;
7103
+ projectUrl: string;
6771
7104
  type: string;
6772
- uuid: string;
6773
- workspaceUuid: string;
6774
7105
  createdAt?: number | undefined;
6775
7106
  deployHooks: Array<CreateProjectLinkProjectsResponse200DeployHooks$Outbound>;
6776
7107
  gitCredentialId: string;
@@ -6785,12 +7116,13 @@ export const CreateProjectLink4$outboundSchema: z.ZodType<
6785
7116
  z.ZodTypeDef,
6786
7117
  CreateProjectLink4
6787
7118
  > = z.object({
6788
- name: z.string(),
6789
- slug: z.string(),
6790
- owner: z.string(),
7119
+ projectId: z.string(),
7120
+ projectName: z.string(),
7121
+ projectNameWithNamespace: z.string(),
7122
+ projectNamespace: z.string(),
7123
+ projectOwnerId: z.number().optional(),
7124
+ projectUrl: z.string(),
6791
7125
  type: CreateProjectLinkProjectsResponse200Type$outboundSchema,
6792
- uuid: z.string(),
6793
- workspaceUuid: z.string(),
6794
7126
  createdAt: z.number().optional(),
6795
7127
  deployHooks: z.array(
6796
7128
  z.lazy(() =>
@@ -6943,14 +7275,13 @@ export const CreateProjectLink3$inboundSchema: z.ZodType<
6943
7275
  z.ZodTypeDef,
6944
7276
  unknown
6945
7277
  > = z.object({
6946
- projectId: z.string(),
6947
- projectName: z.string(),
6948
- projectNameWithNamespace: z.string(),
6949
- projectNamespace: z.string(),
6950
- projectOwnerId: z.number().optional(),
6951
- projectUrl: z.string(),
6952
- type: CreateProjectLinkProjectsResponseType$inboundSchema,
6953
- createdAt: z.number().optional(),
7278
+ org: z.string(),
7279
+ repoOwnerId: z.number().optional(),
7280
+ repo: z.string().optional(),
7281
+ repoId: z.number().optional(),
7282
+ type: CreateProjectLinkProjectsResponseType$inboundSchema,
7283
+ host: z.string(),
7284
+ createdAt: z.number().optional(),
6954
7285
  deployHooks: z.array(
6955
7286
  z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$inboundSchema),
6956
7287
  ),
@@ -6962,13 +7293,12 @@ export const CreateProjectLink3$inboundSchema: z.ZodType<
6962
7293
 
6963
7294
  /** @internal */
6964
7295
  export type CreateProjectLink3$Outbound = {
6965
- projectId: string;
6966
- projectName: string;
6967
- projectNameWithNamespace: string;
6968
- projectNamespace: string;
6969
- projectOwnerId?: number | undefined;
6970
- projectUrl: string;
7296
+ org: string;
7297
+ repoOwnerId?: number | undefined;
7298
+ repo?: string | undefined;
7299
+ repoId?: number | undefined;
6971
7300
  type: string;
7301
+ host: string;
6972
7302
  createdAt?: number | undefined;
6973
7303
  deployHooks: Array<CreateProjectLinkProjectsResponseDeployHooks$Outbound>;
6974
7304
  gitCredentialId: string;
@@ -6983,13 +7313,12 @@ export const CreateProjectLink3$outboundSchema: z.ZodType<
6983
7313
  z.ZodTypeDef,
6984
7314
  CreateProjectLink3
6985
7315
  > = z.object({
6986
- projectId: z.string(),
6987
- projectName: z.string(),
6988
- projectNameWithNamespace: z.string(),
6989
- projectNamespace: z.string(),
6990
- projectOwnerId: z.number().optional(),
6991
- projectUrl: z.string(),
7316
+ org: z.string(),
7317
+ repoOwnerId: z.number().optional(),
7318
+ repo: z.string().optional(),
7319
+ repoId: z.number().optional(),
6992
7320
  type: CreateProjectLinkProjectsResponseType$outboundSchema,
7321
+ host: z.string(),
6993
7322
  createdAt: z.number().optional(),
6994
7323
  deployHooks: z.array(
6995
7324
  z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$outboundSchema),
@@ -7130,32 +7459,32 @@ export const CreateProjectLink2$inboundSchema: z.ZodType<
7130
7459
  unknown
7131
7460
  > = z.object({
7132
7461
  type: CreateProjectLinkProjectsType$inboundSchema,
7133
- repo: z.string().optional(),
7134
- repoId: z.number().optional(),
7135
7462
  updatedAt: z.number().optional(),
7136
7463
  createdAt: z.number().optional(),
7464
+ repo: z.string().optional(),
7465
+ sourceless: z.boolean().optional(),
7137
7466
  org: z.string(),
7138
7467
  repoOwnerId: z.number().optional(),
7468
+ repoId: z.number().optional(),
7139
7469
  deployHooks: z.array(
7140
7470
  z.lazy(() => CreateProjectLinkProjectsDeployHooks$inboundSchema),
7141
7471
  ),
7142
7472
  gitCredentialId: z.string(),
7143
- sourceless: z.boolean().optional(),
7144
7473
  productionBranch: z.string(),
7145
7474
  });
7146
7475
 
7147
7476
  /** @internal */
7148
7477
  export type CreateProjectLink2$Outbound = {
7149
7478
  type: string;
7150
- repo?: string | undefined;
7151
- repoId?: number | undefined;
7152
7479
  updatedAt?: number | undefined;
7153
7480
  createdAt?: number | undefined;
7481
+ repo?: string | undefined;
7482
+ sourceless?: boolean | undefined;
7154
7483
  org: string;
7155
7484
  repoOwnerId?: number | undefined;
7485
+ repoId?: number | undefined;
7156
7486
  deployHooks: Array<CreateProjectLinkProjectsDeployHooks$Outbound>;
7157
7487
  gitCredentialId: string;
7158
- sourceless?: boolean | undefined;
7159
7488
  productionBranch: string;
7160
7489
  };
7161
7490
 
@@ -7166,17 +7495,17 @@ export const CreateProjectLink2$outboundSchema: z.ZodType<
7166
7495
  CreateProjectLink2
7167
7496
  > = z.object({
7168
7497
  type: CreateProjectLinkProjectsType$outboundSchema,
7169
- repo: z.string().optional(),
7170
- repoId: z.number().optional(),
7171
7498
  updatedAt: z.number().optional(),
7172
7499
  createdAt: z.number().optional(),
7500
+ repo: z.string().optional(),
7501
+ sourceless: z.boolean().optional(),
7173
7502
  org: z.string(),
7174
7503
  repoOwnerId: z.number().optional(),
7504
+ repoId: z.number().optional(),
7175
7505
  deployHooks: z.array(
7176
7506
  z.lazy(() => CreateProjectLinkProjectsDeployHooks$outboundSchema),
7177
7507
  ),
7178
7508
  gitCredentialId: z.string(),
7179
- sourceless: z.boolean().optional(),
7180
7509
  productionBranch: z.string(),
7181
7510
  });
7182
7511
 
@@ -7394,18 +7723,18 @@ export const CreateProjectLink$inboundSchema: z.ZodType<
7394
7723
  z.ZodTypeDef,
7395
7724
  unknown
7396
7725
  > = z.union([
7397
- z.lazy(() => CreateProjectLink3$inboundSchema),
7398
7726
  z.lazy(() => CreateProjectLink4$inboundSchema),
7399
7727
  z.lazy(() => CreateProjectLink5$inboundSchema),
7728
+ z.lazy(() => CreateProjectLink3$inboundSchema),
7400
7729
  z.lazy(() => CreateProjectLink1$inboundSchema),
7401
7730
  z.lazy(() => CreateProjectLink2$inboundSchema),
7402
7731
  ]);
7403
7732
 
7404
7733
  /** @internal */
7405
7734
  export type CreateProjectLink$Outbound =
7406
- | CreateProjectLink3$Outbound
7407
7735
  | CreateProjectLink4$Outbound
7408
7736
  | CreateProjectLink5$Outbound
7737
+ | CreateProjectLink3$Outbound
7409
7738
  | CreateProjectLink1$Outbound
7410
7739
  | CreateProjectLink2$Outbound;
7411
7740
 
@@ -7415,9 +7744,9 @@ export const CreateProjectLink$outboundSchema: z.ZodType<
7415
7744
  z.ZodTypeDef,
7416
7745
  CreateProjectLink
7417
7746
  > = z.union([
7418
- z.lazy(() => CreateProjectLink3$outboundSchema),
7419
7747
  z.lazy(() => CreateProjectLink4$outboundSchema),
7420
7748
  z.lazy(() => CreateProjectLink5$outboundSchema),
7749
+ z.lazy(() => CreateProjectLink3$outboundSchema),
7421
7750
  z.lazy(() => CreateProjectLink1$outboundSchema),
7422
7751
  z.lazy(() => CreateProjectLink2$outboundSchema),
7423
7752
  ]);
@@ -7876,25 +8205,25 @@ export const CreateProjectProjectsResourceConfig$inboundSchema: z.ZodType<
7876
8205
  z.ZodTypeDef,
7877
8206
  unknown
7878
8207
  > = z.object({
7879
- elasticConcurrencyEnabled: z.boolean().optional(),
7880
8208
  fluid: z.boolean().optional(),
7881
8209
  functionDefaultRegions: z.array(z.string()),
7882
8210
  functionDefaultTimeout: z.number().optional(),
7883
8211
  functionDefaultMemoryType:
7884
8212
  CreateProjectFunctionDefaultMemoryType$inboundSchema.optional(),
7885
8213
  functionZeroConfigFailover: z.boolean().optional(),
8214
+ elasticConcurrencyEnabled: z.boolean().optional(),
7886
8215
  buildMachineType: CreateProjectBuildMachineType$inboundSchema.optional(),
7887
8216
  isNSNBDisabled: z.boolean().optional(),
7888
8217
  });
7889
8218
 
7890
8219
  /** @internal */
7891
8220
  export type CreateProjectProjectsResourceConfig$Outbound = {
7892
- elasticConcurrencyEnabled?: boolean | undefined;
7893
8221
  fluid?: boolean | undefined;
7894
8222
  functionDefaultRegions: Array<string>;
7895
8223
  functionDefaultTimeout?: number | undefined;
7896
8224
  functionDefaultMemoryType?: string | undefined;
7897
8225
  functionZeroConfigFailover?: boolean | undefined;
8226
+ elasticConcurrencyEnabled?: boolean | undefined;
7898
8227
  buildMachineType?: string | undefined;
7899
8228
  isNSNBDisabled?: boolean | undefined;
7900
8229
  };
@@ -7905,13 +8234,13 @@ export const CreateProjectProjectsResourceConfig$outboundSchema: z.ZodType<
7905
8234
  z.ZodTypeDef,
7906
8235
  CreateProjectProjectsResourceConfig
7907
8236
  > = z.object({
7908
- elasticConcurrencyEnabled: z.boolean().optional(),
7909
8237
  fluid: z.boolean().optional(),
7910
8238
  functionDefaultRegions: z.array(z.string()),
7911
8239
  functionDefaultTimeout: z.number().optional(),
7912
8240
  functionDefaultMemoryType:
7913
8241
  CreateProjectFunctionDefaultMemoryType$outboundSchema.optional(),
7914
8242
  functionZeroConfigFailover: z.boolean().optional(),
8243
+ elasticConcurrencyEnabled: z.boolean().optional(),
7915
8244
  buildMachineType: CreateProjectBuildMachineType$outboundSchema.optional(),
7916
8245
  isNSNBDisabled: z.boolean().optional(),
7917
8246
  });
@@ -8194,13 +8523,13 @@ export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
8194
8523
  z.ZodTypeDef,
8195
8524
  unknown
8196
8525
  > = z.object({
8197
- elasticConcurrencyEnabled: z.boolean().optional(),
8198
8526
  fluid: z.boolean().optional(),
8199
8527
  functionDefaultRegions: z.array(z.string()),
8200
8528
  functionDefaultTimeout: z.number().optional(),
8201
8529
  functionDefaultMemoryType:
8202
8530
  CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
8203
8531
  functionZeroConfigFailover: z.boolean().optional(),
8532
+ elasticConcurrencyEnabled: z.boolean().optional(),
8204
8533
  buildMachineType: CreateProjectProjectsBuildMachineType$inboundSchema
8205
8534
  .optional(),
8206
8535
  isNSNBDisabled: z.boolean().optional(),
@@ -8208,12 +8537,12 @@ export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
8208
8537
 
8209
8538
  /** @internal */
8210
8539
  export type CreateProjectDefaultResourceConfig$Outbound = {
8211
- elasticConcurrencyEnabled?: boolean | undefined;
8212
8540
  fluid?: boolean | undefined;
8213
8541
  functionDefaultRegions: Array<string>;
8214
8542
  functionDefaultTimeout?: number | undefined;
8215
8543
  functionDefaultMemoryType?: string | undefined;
8216
8544
  functionZeroConfigFailover?: boolean | undefined;
8545
+ elasticConcurrencyEnabled?: boolean | undefined;
8217
8546
  buildMachineType?: string | undefined;
8218
8547
  isNSNBDisabled?: boolean | undefined;
8219
8548
  };
@@ -8224,13 +8553,13 @@ export const CreateProjectDefaultResourceConfig$outboundSchema: z.ZodType<
8224
8553
  z.ZodTypeDef,
8225
8554
  CreateProjectDefaultResourceConfig
8226
8555
  > = z.object({
8227
- elasticConcurrencyEnabled: z.boolean().optional(),
8228
8556
  fluid: z.boolean().optional(),
8229
8557
  functionDefaultRegions: z.array(z.string()),
8230
8558
  functionDefaultTimeout: z.number().optional(),
8231
8559
  functionDefaultMemoryType:
8232
8560
  CreateProjectProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
8233
8561
  functionZeroConfigFailover: z.boolean().optional(),
8562
+ elasticConcurrencyEnabled: z.boolean().optional(),
8234
8563
  buildMachineType: CreateProjectProjectsBuildMachineType$outboundSchema
8235
8564
  .optional(),
8236
8565
  isNSNBDisabled: z.boolean().optional(),
@@ -9107,75 +9436,6 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
9107
9436
  z.ZodTypeDef,
9108
9437
  unknown
9109
9438
  > = z.object({
9110
- aliasProject: z.array(ACLAction$inboundSchema).optional(),
9111
- aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9112
- buildMachine: z.array(ACLAction$inboundSchema).optional(),
9113
- productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9114
- connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(),
9115
- dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
9116
- deployment: z.array(ACLAction$inboundSchema).optional(),
9117
- deploymentBuildLogs: z.array(ACLAction$inboundSchema).optional(),
9118
- deploymentCheck: z.array(ACLAction$inboundSchema).optional(),
9119
- deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(),
9120
- deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema)
9121
- .optional(),
9122
- deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(),
9123
- deploymentV0: z.array(ACLAction$inboundSchema).optional(),
9124
- deploymentPreview: z.array(ACLAction$inboundSchema).optional(),
9125
- deploymentPrivate: z.array(ACLAction$inboundSchema).optional(),
9126
- deploymentPromote: z.array(ACLAction$inboundSchema).optional(),
9127
- deploymentRollback: z.array(ACLAction$inboundSchema).optional(),
9128
- edgeCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
9129
- environments: z.array(ACLAction$inboundSchema).optional(),
9130
- logs: z.array(ACLAction$inboundSchema).optional(),
9131
- logsPreset: z.array(ACLAction$inboundSchema).optional(),
9132
- passwordProtection: z.array(ACLAction$inboundSchema).optional(),
9133
- optionsAllowlist: z.array(ACLAction$inboundSchema).optional(),
9134
- job: z.array(ACLAction$inboundSchema).optional(),
9135
- observabilityData: z.array(ACLAction$inboundSchema).optional(),
9136
- onDemandBuild: z.array(ACLAction$inboundSchema).optional(),
9137
- onDemandConcurrency: z.array(ACLAction$inboundSchema).optional(),
9138
- project: z.array(ACLAction$inboundSchema).optional(),
9139
- projectFromV0: z.array(ACLAction$inboundSchema).optional(),
9140
- projectAccessGroup: z.array(ACLAction$inboundSchema).optional(),
9141
- projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(),
9142
- projectCheck: z.array(ACLAction$inboundSchema).optional(),
9143
- projectCheckRun: z.array(ACLAction$inboundSchema).optional(),
9144
- projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(),
9145
- projectDomain: z.array(ACLAction$inboundSchema).optional(),
9146
- projectDomainMove: z.array(ACLAction$inboundSchema).optional(),
9147
- projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(),
9148
- projectEnvVars: z.array(ACLAction$inboundSchema).optional(),
9149
- projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(),
9150
- projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema)
9151
- .optional(),
9152
- projectFlags: z.array(ACLAction$inboundSchema).optional(),
9153
- projectId: z.array(ACLAction$inboundSchema).optional(),
9154
- projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(),
9155
- projectLink: z.array(ACLAction$inboundSchema).optional(),
9156
- projectMember: z.array(ACLAction$inboundSchema).optional(),
9157
- projectMonitoring: z.array(ACLAction$inboundSchema).optional(),
9158
- projectPermissions: z.array(ACLAction$inboundSchema).optional(),
9159
- projectProductionBranch: z.array(ACLAction$inboundSchema).optional(),
9160
- projectTransfer: z.array(ACLAction$inboundSchema).optional(),
9161
- projectTransferOut: z.array(ACLAction$inboundSchema).optional(),
9162
- projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9163
- projectUsage: z.array(ACLAction$inboundSchema).optional(),
9164
- projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(),
9165
- projectSupportCase: z.array(ACLAction$inboundSchema).optional(),
9166
- projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(),
9167
- projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(),
9168
- projectRollingRelease: z.array(ACLAction$inboundSchema).optional(),
9169
- projectTier: z.array(ACLAction$inboundSchema).optional(),
9170
- projectOIDCToken: z.array(ACLAction$inboundSchema).optional(),
9171
- seawallConfig: z.array(ACLAction$inboundSchema).optional(),
9172
- skewProtection: z.array(ACLAction$inboundSchema).optional(),
9173
- analytics: z.array(ACLAction$inboundSchema).optional(),
9174
- trustedIps: z.array(ACLAction$inboundSchema).optional(),
9175
- v0Chat: z.array(ACLAction$inboundSchema).optional(),
9176
- webAnalytics: z.array(ACLAction$inboundSchema).optional(),
9177
- sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(),
9178
- sonar: z.array(ACLAction$inboundSchema).optional(),
9179
9439
  oauth2Connection: z.array(ACLAction$inboundSchema).optional(),
9180
9440
  user: z.array(ACLAction$inboundSchema).optional(),
9181
9441
  userConnection: z.array(ACLAction$inboundSchema).optional(),
@@ -9265,6 +9525,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
9265
9525
  notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
9266
9526
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
9267
9527
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
9528
+ alerts: z.array(ACLAction$inboundSchema).optional(),
9268
9529
  observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
9269
9530
  observabilityFunnel: z.array(ACLAction$inboundSchema).optional(),
9270
9531
  openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
@@ -9324,6 +9585,75 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
9324
9585
  vercelRunExec: z.array(ACLAction$inboundSchema).optional(),
9325
9586
  apiKey: z.array(ACLAction$inboundSchema).optional(),
9326
9587
  apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(),
9588
+ aliasProject: z.array(ACLAction$inboundSchema).optional(),
9589
+ aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9590
+ buildMachine: z.array(ACLAction$inboundSchema).optional(),
9591
+ productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9592
+ connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(),
9593
+ dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
9594
+ deployment: z.array(ACLAction$inboundSchema).optional(),
9595
+ deploymentBuildLogs: z.array(ACLAction$inboundSchema).optional(),
9596
+ deploymentCheck: z.array(ACLAction$inboundSchema).optional(),
9597
+ deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(),
9598
+ deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema)
9599
+ .optional(),
9600
+ deploymentProductionGit: z.array(ACLAction$inboundSchema).optional(),
9601
+ deploymentV0: z.array(ACLAction$inboundSchema).optional(),
9602
+ deploymentPreview: z.array(ACLAction$inboundSchema).optional(),
9603
+ deploymentPrivate: z.array(ACLAction$inboundSchema).optional(),
9604
+ deploymentPromote: z.array(ACLAction$inboundSchema).optional(),
9605
+ deploymentRollback: z.array(ACLAction$inboundSchema).optional(),
9606
+ edgeCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
9607
+ environments: z.array(ACLAction$inboundSchema).optional(),
9608
+ logs: z.array(ACLAction$inboundSchema).optional(),
9609
+ logsPreset: z.array(ACLAction$inboundSchema).optional(),
9610
+ passwordProtection: z.array(ACLAction$inboundSchema).optional(),
9611
+ optionsAllowlist: z.array(ACLAction$inboundSchema).optional(),
9612
+ job: z.array(ACLAction$inboundSchema).optional(),
9613
+ observabilityData: z.array(ACLAction$inboundSchema).optional(),
9614
+ onDemandBuild: z.array(ACLAction$inboundSchema).optional(),
9615
+ onDemandConcurrency: z.array(ACLAction$inboundSchema).optional(),
9616
+ project: z.array(ACLAction$inboundSchema).optional(),
9617
+ projectFromV0: z.array(ACLAction$inboundSchema).optional(),
9618
+ projectAccessGroup: z.array(ACLAction$inboundSchema).optional(),
9619
+ projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(),
9620
+ projectCheck: z.array(ACLAction$inboundSchema).optional(),
9621
+ projectCheckRun: z.array(ACLAction$inboundSchema).optional(),
9622
+ projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(),
9623
+ projectDomain: z.array(ACLAction$inboundSchema).optional(),
9624
+ projectDomainMove: z.array(ACLAction$inboundSchema).optional(),
9625
+ projectDomainCheckConfig: z.array(ACLAction$inboundSchema).optional(),
9626
+ projectEnvVars: z.array(ACLAction$inboundSchema).optional(),
9627
+ projectEnvVarsProduction: z.array(ACLAction$inboundSchema).optional(),
9628
+ projectEnvVarsUnownedByIntegration: z.array(ACLAction$inboundSchema)
9629
+ .optional(),
9630
+ projectFlags: z.array(ACLAction$inboundSchema).optional(),
9631
+ projectId: z.array(ACLAction$inboundSchema).optional(),
9632
+ projectIntegrationConfiguration: z.array(ACLAction$inboundSchema).optional(),
9633
+ projectLink: z.array(ACLAction$inboundSchema).optional(),
9634
+ projectMember: z.array(ACLAction$inboundSchema).optional(),
9635
+ projectMonitoring: z.array(ACLAction$inboundSchema).optional(),
9636
+ projectPermissions: z.array(ACLAction$inboundSchema).optional(),
9637
+ projectProductionBranch: z.array(ACLAction$inboundSchema).optional(),
9638
+ projectTransfer: z.array(ACLAction$inboundSchema).optional(),
9639
+ projectTransferOut: z.array(ACLAction$inboundSchema).optional(),
9640
+ projectProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
9641
+ projectUsage: z.array(ACLAction$inboundSchema).optional(),
9642
+ projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(),
9643
+ projectSupportCase: z.array(ACLAction$inboundSchema).optional(),
9644
+ projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(),
9645
+ projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(),
9646
+ projectRollingRelease: z.array(ACLAction$inboundSchema).optional(),
9647
+ projectTier: z.array(ACLAction$inboundSchema).optional(),
9648
+ projectOIDCToken: z.array(ACLAction$inboundSchema).optional(),
9649
+ seawallConfig: z.array(ACLAction$inboundSchema).optional(),
9650
+ skewProtection: z.array(ACLAction$inboundSchema).optional(),
9651
+ analytics: z.array(ACLAction$inboundSchema).optional(),
9652
+ trustedIps: z.array(ACLAction$inboundSchema).optional(),
9653
+ v0Chat: z.array(ACLAction$inboundSchema).optional(),
9654
+ webAnalytics: z.array(ACLAction$inboundSchema).optional(),
9655
+ sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(),
9656
+ sonar: z.array(ACLAction$inboundSchema).optional(),
9327
9657
  }).transform((v) => {
9328
9658
  return remap$(v, {
9329
9659
  "Monitoring": "monitoring",
@@ -9334,73 +9664,6 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
9334
9664
 
9335
9665
  /** @internal */
9336
9666
  export type CreateProjectPermissions$Outbound = {
9337
- aliasProject?: Array<string> | undefined;
9338
- aliasProtectionBypass?: Array<string> | undefined;
9339
- buildMachine?: Array<string> | undefined;
9340
- productionAliasProtectionBypass?: Array<string> | undefined;
9341
- connectConfigurationLink?: Array<string> | undefined;
9342
- dataCacheNamespace?: Array<string> | undefined;
9343
- deployment?: Array<string> | undefined;
9344
- deploymentBuildLogs?: Array<string> | undefined;
9345
- deploymentCheck?: Array<string> | undefined;
9346
- deploymentCheckPreview?: Array<string> | undefined;
9347
- deploymentCheckReRunFromProductionBranch?: Array<string> | undefined;
9348
- deploymentProductionGit?: Array<string> | undefined;
9349
- deploymentV0?: Array<string> | undefined;
9350
- deploymentPreview?: Array<string> | undefined;
9351
- deploymentPrivate?: Array<string> | undefined;
9352
- deploymentPromote?: Array<string> | undefined;
9353
- deploymentRollback?: Array<string> | undefined;
9354
- edgeCacheNamespace?: Array<string> | undefined;
9355
- environments?: Array<string> | undefined;
9356
- logs?: Array<string> | undefined;
9357
- logsPreset?: Array<string> | undefined;
9358
- passwordProtection?: Array<string> | undefined;
9359
- optionsAllowlist?: Array<string> | undefined;
9360
- job?: Array<string> | undefined;
9361
- observabilityData?: Array<string> | undefined;
9362
- onDemandBuild?: Array<string> | undefined;
9363
- onDemandConcurrency?: Array<string> | undefined;
9364
- project?: Array<string> | undefined;
9365
- projectFromV0?: Array<string> | undefined;
9366
- projectAccessGroup?: Array<string> | undefined;
9367
- projectAnalyticsSampling?: Array<string> | undefined;
9368
- projectCheck?: Array<string> | undefined;
9369
- projectCheckRun?: Array<string> | undefined;
9370
- projectDeploymentHook?: Array<string> | undefined;
9371
- projectDomain?: Array<string> | undefined;
9372
- projectDomainMove?: Array<string> | undefined;
9373
- projectDomainCheckConfig?: Array<string> | undefined;
9374
- projectEnvVars?: Array<string> | undefined;
9375
- projectEnvVarsProduction?: Array<string> | undefined;
9376
- projectEnvVarsUnownedByIntegration?: Array<string> | undefined;
9377
- projectFlags?: Array<string> | undefined;
9378
- projectId?: Array<string> | undefined;
9379
- projectIntegrationConfiguration?: Array<string> | undefined;
9380
- projectLink?: Array<string> | undefined;
9381
- projectMember?: Array<string> | undefined;
9382
- projectMonitoring?: Array<string> | undefined;
9383
- projectPermissions?: Array<string> | undefined;
9384
- projectProductionBranch?: Array<string> | undefined;
9385
- projectTransfer?: Array<string> | undefined;
9386
- projectTransferOut?: Array<string> | undefined;
9387
- projectProtectionBypass?: Array<string> | undefined;
9388
- projectUsage?: Array<string> | undefined;
9389
- projectAnalyticsUsage?: Array<string> | undefined;
9390
- projectSupportCase?: Array<string> | undefined;
9391
- projectSupportCaseComment?: Array<string> | undefined;
9392
- projectDeploymentExpiration?: Array<string> | undefined;
9393
- projectRollingRelease?: Array<string> | undefined;
9394
- projectTier?: Array<string> | undefined;
9395
- projectOIDCToken?: Array<string> | undefined;
9396
- seawallConfig?: Array<string> | undefined;
9397
- skewProtection?: Array<string> | undefined;
9398
- analytics?: Array<string> | undefined;
9399
- trustedIps?: Array<string> | undefined;
9400
- v0Chat?: Array<string> | undefined;
9401
- webAnalytics?: Array<string> | undefined;
9402
- sharedEnvVarConnection?: Array<string> | undefined;
9403
- sonar?: Array<string> | undefined;
9404
9667
  oauth2Connection?: Array<string> | undefined;
9405
9668
  user?: Array<string> | undefined;
9406
9669
  userConnection?: Array<string> | undefined;
@@ -9487,6 +9750,7 @@ export type CreateProjectPermissions$Outbound = {
9487
9750
  notificationCustomerBudget?: Array<string> | undefined;
9488
9751
  notificationStatementOfReasons?: Array<string> | undefined;
9489
9752
  observabilityConfiguration?: Array<string> | undefined;
9753
+ alerts?: Array<string> | undefined;
9490
9754
  observabilityNotebook?: Array<string> | undefined;
9491
9755
  observabilityFunnel?: Array<string> | undefined;
9492
9756
  openTelemetryEndpoint?: Array<string> | undefined;
@@ -9546,6 +9810,73 @@ export type CreateProjectPermissions$Outbound = {
9546
9810
  vercelRunExec?: Array<string> | undefined;
9547
9811
  apiKey?: Array<string> | undefined;
9548
9812
  apiKeyOwnedBySelf?: Array<string> | undefined;
9813
+ aliasProject?: Array<string> | undefined;
9814
+ aliasProtectionBypass?: Array<string> | undefined;
9815
+ buildMachine?: Array<string> | undefined;
9816
+ productionAliasProtectionBypass?: Array<string> | undefined;
9817
+ connectConfigurationLink?: Array<string> | undefined;
9818
+ dataCacheNamespace?: Array<string> | undefined;
9819
+ deployment?: Array<string> | undefined;
9820
+ deploymentBuildLogs?: Array<string> | undefined;
9821
+ deploymentCheck?: Array<string> | undefined;
9822
+ deploymentCheckPreview?: Array<string> | undefined;
9823
+ deploymentCheckReRunFromProductionBranch?: Array<string> | undefined;
9824
+ deploymentProductionGit?: Array<string> | undefined;
9825
+ deploymentV0?: Array<string> | undefined;
9826
+ deploymentPreview?: Array<string> | undefined;
9827
+ deploymentPrivate?: Array<string> | undefined;
9828
+ deploymentPromote?: Array<string> | undefined;
9829
+ deploymentRollback?: Array<string> | undefined;
9830
+ edgeCacheNamespace?: Array<string> | undefined;
9831
+ environments?: Array<string> | undefined;
9832
+ logs?: Array<string> | undefined;
9833
+ logsPreset?: Array<string> | undefined;
9834
+ passwordProtection?: Array<string> | undefined;
9835
+ optionsAllowlist?: Array<string> | undefined;
9836
+ job?: Array<string> | undefined;
9837
+ observabilityData?: Array<string> | undefined;
9838
+ onDemandBuild?: Array<string> | undefined;
9839
+ onDemandConcurrency?: Array<string> | undefined;
9840
+ project?: Array<string> | undefined;
9841
+ projectFromV0?: Array<string> | undefined;
9842
+ projectAccessGroup?: Array<string> | undefined;
9843
+ projectAnalyticsSampling?: Array<string> | undefined;
9844
+ projectCheck?: Array<string> | undefined;
9845
+ projectCheckRun?: Array<string> | undefined;
9846
+ projectDeploymentHook?: Array<string> | undefined;
9847
+ projectDomain?: Array<string> | undefined;
9848
+ projectDomainMove?: Array<string> | undefined;
9849
+ projectDomainCheckConfig?: Array<string> | undefined;
9850
+ projectEnvVars?: Array<string> | undefined;
9851
+ projectEnvVarsProduction?: Array<string> | undefined;
9852
+ projectEnvVarsUnownedByIntegration?: Array<string> | undefined;
9853
+ projectFlags?: Array<string> | undefined;
9854
+ projectId?: Array<string> | undefined;
9855
+ projectIntegrationConfiguration?: Array<string> | undefined;
9856
+ projectLink?: Array<string> | undefined;
9857
+ projectMember?: Array<string> | undefined;
9858
+ projectMonitoring?: Array<string> | undefined;
9859
+ projectPermissions?: Array<string> | undefined;
9860
+ projectProductionBranch?: Array<string> | undefined;
9861
+ projectTransfer?: Array<string> | undefined;
9862
+ projectTransferOut?: Array<string> | undefined;
9863
+ projectProtectionBypass?: Array<string> | undefined;
9864
+ projectUsage?: Array<string> | undefined;
9865
+ projectAnalyticsUsage?: Array<string> | undefined;
9866
+ projectSupportCase?: Array<string> | undefined;
9867
+ projectSupportCaseComment?: Array<string> | undefined;
9868
+ projectDeploymentExpiration?: Array<string> | undefined;
9869
+ projectRollingRelease?: Array<string> | undefined;
9870
+ projectTier?: Array<string> | undefined;
9871
+ projectOIDCToken?: Array<string> | undefined;
9872
+ seawallConfig?: Array<string> | undefined;
9873
+ skewProtection?: Array<string> | undefined;
9874
+ analytics?: Array<string> | undefined;
9875
+ trustedIps?: Array<string> | undefined;
9876
+ v0Chat?: Array<string> | undefined;
9877
+ webAnalytics?: Array<string> | undefined;
9878
+ sharedEnvVarConnection?: Array<string> | undefined;
9879
+ sonar?: Array<string> | undefined;
9549
9880
  };
9550
9881
 
9551
9882
  /** @internal */
@@ -9554,75 +9885,6 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
9554
9885
  z.ZodTypeDef,
9555
9886
  CreateProjectPermissions
9556
9887
  > = z.object({
9557
- aliasProject: z.array(ACLAction$outboundSchema).optional(),
9558
- aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
9559
- buildMachine: z.array(ACLAction$outboundSchema).optional(),
9560
- productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
9561
- connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(),
9562
- dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
9563
- deployment: z.array(ACLAction$outboundSchema).optional(),
9564
- deploymentBuildLogs: z.array(ACLAction$outboundSchema).optional(),
9565
- deploymentCheck: z.array(ACLAction$outboundSchema).optional(),
9566
- deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(),
9567
- deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema)
9568
- .optional(),
9569
- deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(),
9570
- deploymentV0: z.array(ACLAction$outboundSchema).optional(),
9571
- deploymentPreview: z.array(ACLAction$outboundSchema).optional(),
9572
- deploymentPrivate: z.array(ACLAction$outboundSchema).optional(),
9573
- deploymentPromote: z.array(ACLAction$outboundSchema).optional(),
9574
- deploymentRollback: z.array(ACLAction$outboundSchema).optional(),
9575
- edgeCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
9576
- environments: z.array(ACLAction$outboundSchema).optional(),
9577
- logs: z.array(ACLAction$outboundSchema).optional(),
9578
- logsPreset: z.array(ACLAction$outboundSchema).optional(),
9579
- passwordProtection: z.array(ACLAction$outboundSchema).optional(),
9580
- optionsAllowlist: z.array(ACLAction$outboundSchema).optional(),
9581
- job: z.array(ACLAction$outboundSchema).optional(),
9582
- observabilityData: z.array(ACLAction$outboundSchema).optional(),
9583
- onDemandBuild: z.array(ACLAction$outboundSchema).optional(),
9584
- onDemandConcurrency: z.array(ACLAction$outboundSchema).optional(),
9585
- project: z.array(ACLAction$outboundSchema).optional(),
9586
- projectFromV0: z.array(ACLAction$outboundSchema).optional(),
9587
- projectAccessGroup: z.array(ACLAction$outboundSchema).optional(),
9588
- projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(),
9589
- projectCheck: z.array(ACLAction$outboundSchema).optional(),
9590
- projectCheckRun: z.array(ACLAction$outboundSchema).optional(),
9591
- projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(),
9592
- projectDomain: z.array(ACLAction$outboundSchema).optional(),
9593
- projectDomainMove: z.array(ACLAction$outboundSchema).optional(),
9594
- projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(),
9595
- projectEnvVars: z.array(ACLAction$outboundSchema).optional(),
9596
- projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(),
9597
- projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema)
9598
- .optional(),
9599
- projectFlags: z.array(ACLAction$outboundSchema).optional(),
9600
- projectId: z.array(ACLAction$outboundSchema).optional(),
9601
- projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(),
9602
- projectLink: z.array(ACLAction$outboundSchema).optional(),
9603
- projectMember: z.array(ACLAction$outboundSchema).optional(),
9604
- projectMonitoring: z.array(ACLAction$outboundSchema).optional(),
9605
- projectPermissions: z.array(ACLAction$outboundSchema).optional(),
9606
- projectProductionBranch: z.array(ACLAction$outboundSchema).optional(),
9607
- projectTransfer: z.array(ACLAction$outboundSchema).optional(),
9608
- projectTransferOut: z.array(ACLAction$outboundSchema).optional(),
9609
- projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
9610
- projectUsage: z.array(ACLAction$outboundSchema).optional(),
9611
- projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(),
9612
- projectSupportCase: z.array(ACLAction$outboundSchema).optional(),
9613
- projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(),
9614
- projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(),
9615
- projectRollingRelease: z.array(ACLAction$outboundSchema).optional(),
9616
- projectTier: z.array(ACLAction$outboundSchema).optional(),
9617
- projectOIDCToken: z.array(ACLAction$outboundSchema).optional(),
9618
- seawallConfig: z.array(ACLAction$outboundSchema).optional(),
9619
- skewProtection: z.array(ACLAction$outboundSchema).optional(),
9620
- analytics: z.array(ACLAction$outboundSchema).optional(),
9621
- trustedIps: z.array(ACLAction$outboundSchema).optional(),
9622
- v0Chat: z.array(ACLAction$outboundSchema).optional(),
9623
- webAnalytics: z.array(ACLAction$outboundSchema).optional(),
9624
- sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(),
9625
- sonar: z.array(ACLAction$outboundSchema).optional(),
9626
9888
  oauth2Connection: z.array(ACLAction$outboundSchema).optional(),
9627
9889
  user: z.array(ACLAction$outboundSchema).optional(),
9628
9890
  userConnection: z.array(ACLAction$outboundSchema).optional(),
@@ -9714,6 +9976,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
9714
9976
  notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
9715
9977
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
9716
9978
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
9979
+ alerts: z.array(ACLAction$outboundSchema).optional(),
9717
9980
  observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
9718
9981
  observabilityFunnel: z.array(ACLAction$outboundSchema).optional(),
9719
9982
  openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
@@ -9773,6 +10036,75 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
9773
10036
  vercelRunExec: z.array(ACLAction$outboundSchema).optional(),
9774
10037
  apiKey: z.array(ACLAction$outboundSchema).optional(),
9775
10038
  apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(),
10039
+ aliasProject: z.array(ACLAction$outboundSchema).optional(),
10040
+ aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
10041
+ buildMachine: z.array(ACLAction$outboundSchema).optional(),
10042
+ productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
10043
+ connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(),
10044
+ dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
10045
+ deployment: z.array(ACLAction$outboundSchema).optional(),
10046
+ deploymentBuildLogs: z.array(ACLAction$outboundSchema).optional(),
10047
+ deploymentCheck: z.array(ACLAction$outboundSchema).optional(),
10048
+ deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(),
10049
+ deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema)
10050
+ .optional(),
10051
+ deploymentProductionGit: z.array(ACLAction$outboundSchema).optional(),
10052
+ deploymentV0: z.array(ACLAction$outboundSchema).optional(),
10053
+ deploymentPreview: z.array(ACLAction$outboundSchema).optional(),
10054
+ deploymentPrivate: z.array(ACLAction$outboundSchema).optional(),
10055
+ deploymentPromote: z.array(ACLAction$outboundSchema).optional(),
10056
+ deploymentRollback: z.array(ACLAction$outboundSchema).optional(),
10057
+ edgeCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
10058
+ environments: z.array(ACLAction$outboundSchema).optional(),
10059
+ logs: z.array(ACLAction$outboundSchema).optional(),
10060
+ logsPreset: z.array(ACLAction$outboundSchema).optional(),
10061
+ passwordProtection: z.array(ACLAction$outboundSchema).optional(),
10062
+ optionsAllowlist: z.array(ACLAction$outboundSchema).optional(),
10063
+ job: z.array(ACLAction$outboundSchema).optional(),
10064
+ observabilityData: z.array(ACLAction$outboundSchema).optional(),
10065
+ onDemandBuild: z.array(ACLAction$outboundSchema).optional(),
10066
+ onDemandConcurrency: z.array(ACLAction$outboundSchema).optional(),
10067
+ project: z.array(ACLAction$outboundSchema).optional(),
10068
+ projectFromV0: z.array(ACLAction$outboundSchema).optional(),
10069
+ projectAccessGroup: z.array(ACLAction$outboundSchema).optional(),
10070
+ projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(),
10071
+ projectCheck: z.array(ACLAction$outboundSchema).optional(),
10072
+ projectCheckRun: z.array(ACLAction$outboundSchema).optional(),
10073
+ projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(),
10074
+ projectDomain: z.array(ACLAction$outboundSchema).optional(),
10075
+ projectDomainMove: z.array(ACLAction$outboundSchema).optional(),
10076
+ projectDomainCheckConfig: z.array(ACLAction$outboundSchema).optional(),
10077
+ projectEnvVars: z.array(ACLAction$outboundSchema).optional(),
10078
+ projectEnvVarsProduction: z.array(ACLAction$outboundSchema).optional(),
10079
+ projectEnvVarsUnownedByIntegration: z.array(ACLAction$outboundSchema)
10080
+ .optional(),
10081
+ projectFlags: z.array(ACLAction$outboundSchema).optional(),
10082
+ projectId: z.array(ACLAction$outboundSchema).optional(),
10083
+ projectIntegrationConfiguration: z.array(ACLAction$outboundSchema).optional(),
10084
+ projectLink: z.array(ACLAction$outboundSchema).optional(),
10085
+ projectMember: z.array(ACLAction$outboundSchema).optional(),
10086
+ projectMonitoring: z.array(ACLAction$outboundSchema).optional(),
10087
+ projectPermissions: z.array(ACLAction$outboundSchema).optional(),
10088
+ projectProductionBranch: z.array(ACLAction$outboundSchema).optional(),
10089
+ projectTransfer: z.array(ACLAction$outboundSchema).optional(),
10090
+ projectTransferOut: z.array(ACLAction$outboundSchema).optional(),
10091
+ projectProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
10092
+ projectUsage: z.array(ACLAction$outboundSchema).optional(),
10093
+ projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(),
10094
+ projectSupportCase: z.array(ACLAction$outboundSchema).optional(),
10095
+ projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(),
10096
+ projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(),
10097
+ projectRollingRelease: z.array(ACLAction$outboundSchema).optional(),
10098
+ projectTier: z.array(ACLAction$outboundSchema).optional(),
10099
+ projectOIDCToken: z.array(ACLAction$outboundSchema).optional(),
10100
+ seawallConfig: z.array(ACLAction$outboundSchema).optional(),
10101
+ skewProtection: z.array(ACLAction$outboundSchema).optional(),
10102
+ analytics: z.array(ACLAction$outboundSchema).optional(),
10103
+ trustedIps: z.array(ACLAction$outboundSchema).optional(),
10104
+ v0Chat: z.array(ACLAction$outboundSchema).optional(),
10105
+ webAnalytics: z.array(ACLAction$outboundSchema).optional(),
10106
+ sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(),
10107
+ sonar: z.array(ACLAction$outboundSchema).optional(),
9776
10108
  }).transform((v) => {
9777
10109
  return remap$(v, {
9778
10110
  monitoring: "Monitoring",
@@ -10716,24 +11048,27 @@ export function createProjectWebAnalyticsFromJSON(
10716
11048
  }
10717
11049
 
10718
11050
  /** @internal */
10719
- export const CreateProjectAction$inboundSchema: z.ZodNativeEnum<
10720
- typeof CreateProjectAction
10721
- > = z.nativeEnum(CreateProjectAction);
11051
+ export const CreateProjectProjectsResponse200Action$inboundSchema:
11052
+ z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Action> = z.nativeEnum(
11053
+ CreateProjectProjectsResponse200Action,
11054
+ );
10722
11055
 
10723
11056
  /** @internal */
10724
- export const CreateProjectAction$outboundSchema: z.ZodNativeEnum<
10725
- typeof CreateProjectAction
10726
- > = CreateProjectAction$inboundSchema;
11057
+ export const CreateProjectProjectsResponse200Action$outboundSchema:
11058
+ z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Action> =
11059
+ CreateProjectProjectsResponse200Action$inboundSchema;
10727
11060
 
10728
11061
  /**
10729
11062
  * @internal
10730
11063
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10731
11064
  */
10732
- export namespace CreateProjectAction$ {
10733
- /** @deprecated use `CreateProjectAction$inboundSchema` instead. */
10734
- export const inboundSchema = CreateProjectAction$inboundSchema;
10735
- /** @deprecated use `CreateProjectAction$outboundSchema` instead. */
10736
- export const outboundSchema = CreateProjectAction$outboundSchema;
11065
+ export namespace CreateProjectProjectsResponse200Action$ {
11066
+ /** @deprecated use `CreateProjectProjectsResponse200Action$inboundSchema` instead. */
11067
+ export const inboundSchema =
11068
+ CreateProjectProjectsResponse200Action$inboundSchema;
11069
+ /** @deprecated use `CreateProjectProjectsResponse200Action$outboundSchema` instead. */
11070
+ export const outboundSchema =
11071
+ CreateProjectProjectsResponse200Action$outboundSchema;
10737
11072
  }
10738
11073
 
10739
11074
  /** @internal */
@@ -10743,7 +11078,7 @@ export const CreateProjectBotFilter$inboundSchema: z.ZodType<
10743
11078
  unknown
10744
11079
  > = z.object({
10745
11080
  active: z.boolean(),
10746
- action: CreateProjectAction$inboundSchema.optional(),
11081
+ action: CreateProjectProjectsResponse200Action$inboundSchema.optional(),
10747
11082
  });
10748
11083
 
10749
11084
  /** @internal */
@@ -10759,7 +11094,7 @@ export const CreateProjectBotFilter$outboundSchema: z.ZodType<
10759
11094
  CreateProjectBotFilter
10760
11095
  > = z.object({
10761
11096
  active: z.boolean(),
10762
- action: CreateProjectAction$outboundSchema.optional(),
11097
+ action: CreateProjectProjectsResponse200Action$outboundSchema.optional(),
10763
11098
  });
10764
11099
 
10765
11100
  /**
@@ -11268,32 +11603,2653 @@ export function createProjectFeaturesFromJSON(
11268
11603
  }
11269
11604
 
11270
11605
  /** @internal */
11271
- export const CreateProjectResponseBody$inboundSchema: z.ZodType<
11272
- CreateProjectResponseBody,
11606
+ export const CreateProjectHistory$inboundSchema: z.ZodType<
11607
+ CreateProjectHistory,
11273
11608
  z.ZodTypeDef,
11274
11609
  unknown
11275
11610
  > = z.object({
11276
- accountId: z.string(),
11277
- analytics: z.lazy(() => CreateProjectAnalytics$inboundSchema).optional(),
11278
- speedInsights: z.lazy(() => CreateProjectSpeedInsights$inboundSchema)
11279
- .optional(),
11280
- autoExposeSystemEnvs: z.boolean().optional(),
11281
- autoAssignCustomDomains: z.boolean().optional(),
11282
- autoAssignCustomDomainsUpdatedBy: z.string().optional(),
11283
- buildCommand: z.nullable(z.string()).optional(),
11284
- commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
11285
- connectConfigurations: z.nullable(
11286
- z.array(z.lazy(() => CreateProjectConnectConfigurations$inboundSchema)),
11287
- ).optional(),
11288
- connectConfigurationId: z.nullable(z.string()).optional(),
11289
- connectBuildsEnabled: z.boolean().optional(),
11290
- passiveConnectConfigurationId: z.nullable(z.string()).optional(),
11291
- createdAt: z.number().optional(),
11292
- customerSupportCodeVisibility: z.boolean().optional(),
11293
- crons: z.lazy(() => CreateProjectCrons$inboundSchema).optional(),
11294
- dataCache: z.lazy(() => CreateProjectDataCache$inboundSchema).optional(),
11295
- deploymentExpiration: z.nullable(
11296
- z.lazy(() => CreateProjectDeploymentExpiration$inboundSchema),
11611
+ scanner: z.string(),
11612
+ reason: z.string(),
11613
+ by: z.string(),
11614
+ byId: z.string(),
11615
+ at: z.number(),
11616
+ });
11617
+
11618
+ /** @internal */
11619
+ export type CreateProjectHistory$Outbound = {
11620
+ scanner: string;
11621
+ reason: string;
11622
+ by: string;
11623
+ byId: string;
11624
+ at: number;
11625
+ };
11626
+
11627
+ /** @internal */
11628
+ export const CreateProjectHistory$outboundSchema: z.ZodType<
11629
+ CreateProjectHistory$Outbound,
11630
+ z.ZodTypeDef,
11631
+ CreateProjectHistory
11632
+ > = z.object({
11633
+ scanner: z.string(),
11634
+ reason: z.string(),
11635
+ by: z.string(),
11636
+ byId: z.string(),
11637
+ at: z.number(),
11638
+ });
11639
+
11640
+ /**
11641
+ * @internal
11642
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11643
+ */
11644
+ export namespace CreateProjectHistory$ {
11645
+ /** @deprecated use `CreateProjectHistory$inboundSchema` instead. */
11646
+ export const inboundSchema = CreateProjectHistory$inboundSchema;
11647
+ /** @deprecated use `CreateProjectHistory$outboundSchema` instead. */
11648
+ export const outboundSchema = CreateProjectHistory$outboundSchema;
11649
+ /** @deprecated use `CreateProjectHistory$Outbound` instead. */
11650
+ export type Outbound = CreateProjectHistory$Outbound;
11651
+ }
11652
+
11653
+ export function createProjectHistoryToJSON(
11654
+ createProjectHistory: CreateProjectHistory,
11655
+ ): string {
11656
+ return JSON.stringify(
11657
+ CreateProjectHistory$outboundSchema.parse(createProjectHistory),
11658
+ );
11659
+ }
11660
+
11661
+ export function createProjectHistoryFromJSON(
11662
+ jsonString: string,
11663
+ ): SafeParseResult<CreateProjectHistory, SDKValidationError> {
11664
+ return safeParse(
11665
+ jsonString,
11666
+ (x) => CreateProjectHistory$inboundSchema.parse(JSON.parse(x)),
11667
+ `Failed to parse 'CreateProjectHistory' from JSON`,
11668
+ );
11669
+ }
11670
+
11671
+ /** @internal */
11672
+ export const CreateProjectAction$inboundSchema: z.ZodNativeEnum<
11673
+ typeof CreateProjectAction
11674
+ > = z.nativeEnum(CreateProjectAction);
11675
+
11676
+ /** @internal */
11677
+ export const CreateProjectAction$outboundSchema: z.ZodNativeEnum<
11678
+ typeof CreateProjectAction
11679
+ > = CreateProjectAction$inboundSchema;
11680
+
11681
+ /**
11682
+ * @internal
11683
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11684
+ */
11685
+ export namespace CreateProjectAction$ {
11686
+ /** @deprecated use `CreateProjectAction$inboundSchema` instead. */
11687
+ export const inboundSchema = CreateProjectAction$inboundSchema;
11688
+ /** @deprecated use `CreateProjectAction$outboundSchema` instead. */
11689
+ export const outboundSchema = CreateProjectAction$outboundSchema;
11690
+ }
11691
+
11692
+ /** @internal */
11693
+ export const CreateProjectBlock$inboundSchema: z.ZodType<
11694
+ CreateProjectBlock,
11695
+ z.ZodTypeDef,
11696
+ unknown
11697
+ > = z.object({
11698
+ action: CreateProjectAction$inboundSchema,
11699
+ reason: z.string(),
11700
+ statusCode: z.number(),
11701
+ createdAt: z.number(),
11702
+ caseId: z.string().optional(),
11703
+ actor: z.string().optional(),
11704
+ comment: z.string().optional(),
11705
+ isCascading: z.boolean().optional(),
11706
+ });
11707
+
11708
+ /** @internal */
11709
+ export type CreateProjectBlock$Outbound = {
11710
+ action: string;
11711
+ reason: string;
11712
+ statusCode: number;
11713
+ createdAt: number;
11714
+ caseId?: string | undefined;
11715
+ actor?: string | undefined;
11716
+ comment?: string | undefined;
11717
+ isCascading?: boolean | undefined;
11718
+ };
11719
+
11720
+ /** @internal */
11721
+ export const CreateProjectBlock$outboundSchema: z.ZodType<
11722
+ CreateProjectBlock$Outbound,
11723
+ z.ZodTypeDef,
11724
+ CreateProjectBlock
11725
+ > = z.object({
11726
+ action: CreateProjectAction$outboundSchema,
11727
+ reason: z.string(),
11728
+ statusCode: z.number(),
11729
+ createdAt: z.number(),
11730
+ caseId: z.string().optional(),
11731
+ actor: z.string().optional(),
11732
+ comment: z.string().optional(),
11733
+ isCascading: z.boolean().optional(),
11734
+ });
11735
+
11736
+ /**
11737
+ * @internal
11738
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11739
+ */
11740
+ export namespace CreateProjectBlock$ {
11741
+ /** @deprecated use `CreateProjectBlock$inboundSchema` instead. */
11742
+ export const inboundSchema = CreateProjectBlock$inboundSchema;
11743
+ /** @deprecated use `CreateProjectBlock$outboundSchema` instead. */
11744
+ export const outboundSchema = CreateProjectBlock$outboundSchema;
11745
+ /** @deprecated use `CreateProjectBlock$Outbound` instead. */
11746
+ export type Outbound = CreateProjectBlock$Outbound;
11747
+ }
11748
+
11749
+ export function createProjectBlockToJSON(
11750
+ createProjectBlock: CreateProjectBlock,
11751
+ ): string {
11752
+ return JSON.stringify(
11753
+ CreateProjectBlock$outboundSchema.parse(createProjectBlock),
11754
+ );
11755
+ }
11756
+
11757
+ export function createProjectBlockFromJSON(
11758
+ jsonString: string,
11759
+ ): SafeParseResult<CreateProjectBlock, SDKValidationError> {
11760
+ return safeParse(
11761
+ jsonString,
11762
+ (x) => CreateProjectBlock$inboundSchema.parse(JSON.parse(x)),
11763
+ `Failed to parse 'CreateProjectBlock' from JSON`,
11764
+ );
11765
+ }
11766
+
11767
+ /** @internal */
11768
+ export const CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema:
11769
+ z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsResponse200Action> = z
11770
+ .nativeEnum(CreateProjectBlockHistoryProjectsResponse200Action);
11771
+
11772
+ /** @internal */
11773
+ export const CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema:
11774
+ z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsResponse200Action> =
11775
+ CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema;
11776
+
11777
+ /**
11778
+ * @internal
11779
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11780
+ */
11781
+ export namespace CreateProjectBlockHistoryProjectsResponse200Action$ {
11782
+ /** @deprecated use `CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema` instead. */
11783
+ export const inboundSchema =
11784
+ CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema;
11785
+ /** @deprecated use `CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema` instead. */
11786
+ export const outboundSchema =
11787
+ CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema;
11788
+ }
11789
+
11790
+ /** @internal */
11791
+ export const CreateProjectHasProjectsResponse200Type$inboundSchema:
11792
+ z.ZodNativeEnum<typeof CreateProjectHasProjectsResponse200Type> = z
11793
+ .nativeEnum(CreateProjectHasProjectsResponse200Type);
11794
+
11795
+ /** @internal */
11796
+ export const CreateProjectHasProjectsResponse200Type$outboundSchema:
11797
+ z.ZodNativeEnum<typeof CreateProjectHasProjectsResponse200Type> =
11798
+ CreateProjectHasProjectsResponse200Type$inboundSchema;
11799
+
11800
+ /**
11801
+ * @internal
11802
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11803
+ */
11804
+ export namespace CreateProjectHasProjectsResponse200Type$ {
11805
+ /** @deprecated use `CreateProjectHasProjectsResponse200Type$inboundSchema` instead. */
11806
+ export const inboundSchema =
11807
+ CreateProjectHasProjectsResponse200Type$inboundSchema;
11808
+ /** @deprecated use `CreateProjectHasProjectsResponse200Type$outboundSchema` instead. */
11809
+ export const outboundSchema =
11810
+ CreateProjectHasProjectsResponse200Type$outboundSchema;
11811
+ }
11812
+
11813
+ /** @internal */
11814
+ export const CreateProjectHasProjectsResponse200Value$inboundSchema: z.ZodType<
11815
+ CreateProjectHasProjectsResponse200Value,
11816
+ z.ZodTypeDef,
11817
+ unknown
11818
+ > = z.object({
11819
+ eq: z.string(),
11820
+ });
11821
+
11822
+ /** @internal */
11823
+ export type CreateProjectHasProjectsResponse200Value$Outbound = {
11824
+ eq: string;
11825
+ };
11826
+
11827
+ /** @internal */
11828
+ export const CreateProjectHasProjectsResponse200Value$outboundSchema: z.ZodType<
11829
+ CreateProjectHasProjectsResponse200Value$Outbound,
11830
+ z.ZodTypeDef,
11831
+ CreateProjectHasProjectsResponse200Value
11832
+ > = z.object({
11833
+ eq: z.string(),
11834
+ });
11835
+
11836
+ /**
11837
+ * @internal
11838
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11839
+ */
11840
+ export namespace CreateProjectHasProjectsResponse200Value$ {
11841
+ /** @deprecated use `CreateProjectHasProjectsResponse200Value$inboundSchema` instead. */
11842
+ export const inboundSchema =
11843
+ CreateProjectHasProjectsResponse200Value$inboundSchema;
11844
+ /** @deprecated use `CreateProjectHasProjectsResponse200Value$outboundSchema` instead. */
11845
+ export const outboundSchema =
11846
+ CreateProjectHasProjectsResponse200Value$outboundSchema;
11847
+ /** @deprecated use `CreateProjectHasProjectsResponse200Value$Outbound` instead. */
11848
+ export type Outbound = CreateProjectHasProjectsResponse200Value$Outbound;
11849
+ }
11850
+
11851
+ export function createProjectHasProjectsResponse200ValueToJSON(
11852
+ createProjectHasProjectsResponse200Value:
11853
+ CreateProjectHasProjectsResponse200Value,
11854
+ ): string {
11855
+ return JSON.stringify(
11856
+ CreateProjectHasProjectsResponse200Value$outboundSchema.parse(
11857
+ createProjectHasProjectsResponse200Value,
11858
+ ),
11859
+ );
11860
+ }
11861
+
11862
+ export function createProjectHasProjectsResponse200ValueFromJSON(
11863
+ jsonString: string,
11864
+ ): SafeParseResult<
11865
+ CreateProjectHasProjectsResponse200Value,
11866
+ SDKValidationError
11867
+ > {
11868
+ return safeParse(
11869
+ jsonString,
11870
+ (x) =>
11871
+ CreateProjectHasProjectsResponse200Value$inboundSchema.parse(
11872
+ JSON.parse(x),
11873
+ ),
11874
+ `Failed to parse 'CreateProjectHasProjectsResponse200Value' from JSON`,
11875
+ );
11876
+ }
11877
+
11878
+ /** @internal */
11879
+ export const CreateProjectHasProjects2$inboundSchema: z.ZodType<
11880
+ CreateProjectHasProjects2,
11881
+ z.ZodTypeDef,
11882
+ unknown
11883
+ > = z.object({
11884
+ type: CreateProjectHasProjectsResponse200Type$inboundSchema,
11885
+ value: z.lazy(() => CreateProjectHasProjectsResponse200Value$inboundSchema),
11886
+ });
11887
+
11888
+ /** @internal */
11889
+ export type CreateProjectHasProjects2$Outbound = {
11890
+ type: string;
11891
+ value: CreateProjectHasProjectsResponse200Value$Outbound;
11892
+ };
11893
+
11894
+ /** @internal */
11895
+ export const CreateProjectHasProjects2$outboundSchema: z.ZodType<
11896
+ CreateProjectHasProjects2$Outbound,
11897
+ z.ZodTypeDef,
11898
+ CreateProjectHasProjects2
11899
+ > = z.object({
11900
+ type: CreateProjectHasProjectsResponse200Type$outboundSchema,
11901
+ value: z.lazy(() => CreateProjectHasProjectsResponse200Value$outboundSchema),
11902
+ });
11903
+
11904
+ /**
11905
+ * @internal
11906
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11907
+ */
11908
+ export namespace CreateProjectHasProjects2$ {
11909
+ /** @deprecated use `CreateProjectHasProjects2$inboundSchema` instead. */
11910
+ export const inboundSchema = CreateProjectHasProjects2$inboundSchema;
11911
+ /** @deprecated use `CreateProjectHasProjects2$outboundSchema` instead. */
11912
+ export const outboundSchema = CreateProjectHasProjects2$outboundSchema;
11913
+ /** @deprecated use `CreateProjectHasProjects2$Outbound` instead. */
11914
+ export type Outbound = CreateProjectHasProjects2$Outbound;
11915
+ }
11916
+
11917
+ export function createProjectHasProjects2ToJSON(
11918
+ createProjectHasProjects2: CreateProjectHasProjects2,
11919
+ ): string {
11920
+ return JSON.stringify(
11921
+ CreateProjectHasProjects2$outboundSchema.parse(createProjectHasProjects2),
11922
+ );
11923
+ }
11924
+
11925
+ export function createProjectHasProjects2FromJSON(
11926
+ jsonString: string,
11927
+ ): SafeParseResult<CreateProjectHasProjects2, SDKValidationError> {
11928
+ return safeParse(
11929
+ jsonString,
11930
+ (x) => CreateProjectHasProjects2$inboundSchema.parse(JSON.parse(x)),
11931
+ `Failed to parse 'CreateProjectHasProjects2' from JSON`,
11932
+ );
11933
+ }
11934
+
11935
+ /** @internal */
11936
+ export const CreateProjectHasProjectsResponseType$inboundSchema:
11937
+ z.ZodNativeEnum<typeof CreateProjectHasProjectsResponseType> = z.nativeEnum(
11938
+ CreateProjectHasProjectsResponseType,
11939
+ );
11940
+
11941
+ /** @internal */
11942
+ export const CreateProjectHasProjectsResponseType$outboundSchema:
11943
+ z.ZodNativeEnum<typeof CreateProjectHasProjectsResponseType> =
11944
+ CreateProjectHasProjectsResponseType$inboundSchema;
11945
+
11946
+ /**
11947
+ * @internal
11948
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11949
+ */
11950
+ export namespace CreateProjectHasProjectsResponseType$ {
11951
+ /** @deprecated use `CreateProjectHasProjectsResponseType$inboundSchema` instead. */
11952
+ export const inboundSchema =
11953
+ CreateProjectHasProjectsResponseType$inboundSchema;
11954
+ /** @deprecated use `CreateProjectHasProjectsResponseType$outboundSchema` instead. */
11955
+ export const outboundSchema =
11956
+ CreateProjectHasProjectsResponseType$outboundSchema;
11957
+ }
11958
+
11959
+ /** @internal */
11960
+ export const CreateProjectHasProjectsKey$inboundSchema: z.ZodNativeEnum<
11961
+ typeof CreateProjectHasProjectsKey
11962
+ > = z.nativeEnum(CreateProjectHasProjectsKey);
11963
+
11964
+ /** @internal */
11965
+ export const CreateProjectHasProjectsKey$outboundSchema: z.ZodNativeEnum<
11966
+ typeof CreateProjectHasProjectsKey
11967
+ > = CreateProjectHasProjectsKey$inboundSchema;
11968
+
11969
+ /**
11970
+ * @internal
11971
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11972
+ */
11973
+ export namespace CreateProjectHasProjectsKey$ {
11974
+ /** @deprecated use `CreateProjectHasProjectsKey$inboundSchema` instead. */
11975
+ export const inboundSchema = CreateProjectHasProjectsKey$inboundSchema;
11976
+ /** @deprecated use `CreateProjectHasProjectsKey$outboundSchema` instead. */
11977
+ export const outboundSchema = CreateProjectHasProjectsKey$outboundSchema;
11978
+ }
11979
+
11980
+ /** @internal */
11981
+ export const CreateProjectHasProjectsResponseValue$inboundSchema: z.ZodType<
11982
+ CreateProjectHasProjectsResponseValue,
11983
+ z.ZodTypeDef,
11984
+ unknown
11985
+ > = z.object({
11986
+ eq: z.string(),
11987
+ });
11988
+
11989
+ /** @internal */
11990
+ export type CreateProjectHasProjectsResponseValue$Outbound = {
11991
+ eq: string;
11992
+ };
11993
+
11994
+ /** @internal */
11995
+ export const CreateProjectHasProjectsResponseValue$outboundSchema: z.ZodType<
11996
+ CreateProjectHasProjectsResponseValue$Outbound,
11997
+ z.ZodTypeDef,
11998
+ CreateProjectHasProjectsResponseValue
11999
+ > = z.object({
12000
+ eq: z.string(),
12001
+ });
12002
+
12003
+ /**
12004
+ * @internal
12005
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12006
+ */
12007
+ export namespace CreateProjectHasProjectsResponseValue$ {
12008
+ /** @deprecated use `CreateProjectHasProjectsResponseValue$inboundSchema` instead. */
12009
+ export const inboundSchema =
12010
+ CreateProjectHasProjectsResponseValue$inboundSchema;
12011
+ /** @deprecated use `CreateProjectHasProjectsResponseValue$outboundSchema` instead. */
12012
+ export const outboundSchema =
12013
+ CreateProjectHasProjectsResponseValue$outboundSchema;
12014
+ /** @deprecated use `CreateProjectHasProjectsResponseValue$Outbound` instead. */
12015
+ export type Outbound = CreateProjectHasProjectsResponseValue$Outbound;
12016
+ }
12017
+
12018
+ export function createProjectHasProjectsResponseValueToJSON(
12019
+ createProjectHasProjectsResponseValue: CreateProjectHasProjectsResponseValue,
12020
+ ): string {
12021
+ return JSON.stringify(
12022
+ CreateProjectHasProjectsResponseValue$outboundSchema.parse(
12023
+ createProjectHasProjectsResponseValue,
12024
+ ),
12025
+ );
12026
+ }
12027
+
12028
+ export function createProjectHasProjectsResponseValueFromJSON(
12029
+ jsonString: string,
12030
+ ): SafeParseResult<CreateProjectHasProjectsResponseValue, SDKValidationError> {
12031
+ return safeParse(
12032
+ jsonString,
12033
+ (x) =>
12034
+ CreateProjectHasProjectsResponseValue$inboundSchema.parse(JSON.parse(x)),
12035
+ `Failed to parse 'CreateProjectHasProjectsResponseValue' from JSON`,
12036
+ );
12037
+ }
12038
+
12039
+ /** @internal */
12040
+ export const CreateProjectHasProjects1$inboundSchema: z.ZodType<
12041
+ CreateProjectHasProjects1,
12042
+ z.ZodTypeDef,
12043
+ unknown
12044
+ > = z.object({
12045
+ type: CreateProjectHasProjectsResponseType$inboundSchema,
12046
+ key: CreateProjectHasProjectsKey$inboundSchema,
12047
+ value: z.lazy(() => CreateProjectHasProjectsResponseValue$inboundSchema),
12048
+ });
12049
+
12050
+ /** @internal */
12051
+ export type CreateProjectHasProjects1$Outbound = {
12052
+ type: string;
12053
+ key: string;
12054
+ value: CreateProjectHasProjectsResponseValue$Outbound;
12055
+ };
12056
+
12057
+ /** @internal */
12058
+ export const CreateProjectHasProjects1$outboundSchema: z.ZodType<
12059
+ CreateProjectHasProjects1$Outbound,
12060
+ z.ZodTypeDef,
12061
+ CreateProjectHasProjects1
12062
+ > = z.object({
12063
+ type: CreateProjectHasProjectsResponseType$outboundSchema,
12064
+ key: CreateProjectHasProjectsKey$outboundSchema,
12065
+ value: z.lazy(() => CreateProjectHasProjectsResponseValue$outboundSchema),
12066
+ });
12067
+
12068
+ /**
12069
+ * @internal
12070
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12071
+ */
12072
+ export namespace CreateProjectHasProjects1$ {
12073
+ /** @deprecated use `CreateProjectHasProjects1$inboundSchema` instead. */
12074
+ export const inboundSchema = CreateProjectHasProjects1$inboundSchema;
12075
+ /** @deprecated use `CreateProjectHasProjects1$outboundSchema` instead. */
12076
+ export const outboundSchema = CreateProjectHasProjects1$outboundSchema;
12077
+ /** @deprecated use `CreateProjectHasProjects1$Outbound` instead. */
12078
+ export type Outbound = CreateProjectHasProjects1$Outbound;
12079
+ }
12080
+
12081
+ export function createProjectHasProjects1ToJSON(
12082
+ createProjectHasProjects1: CreateProjectHasProjects1,
12083
+ ): string {
12084
+ return JSON.stringify(
12085
+ CreateProjectHasProjects1$outboundSchema.parse(createProjectHasProjects1),
12086
+ );
12087
+ }
12088
+
12089
+ export function createProjectHasProjects1FromJSON(
12090
+ jsonString: string,
12091
+ ): SafeParseResult<CreateProjectHasProjects1, SDKValidationError> {
12092
+ return safeParse(
12093
+ jsonString,
12094
+ (x) => CreateProjectHasProjects1$inboundSchema.parse(JSON.parse(x)),
12095
+ `Failed to parse 'CreateProjectHasProjects1' from JSON`,
12096
+ );
12097
+ }
12098
+
12099
+ /** @internal */
12100
+ export const CreateProjectRouteProjectsHas$inboundSchema: z.ZodType<
12101
+ CreateProjectRouteProjectsHas,
12102
+ z.ZodTypeDef,
12103
+ unknown
12104
+ > = z.union([
12105
+ z.lazy(() => CreateProjectHasProjects1$inboundSchema),
12106
+ z.lazy(() => CreateProjectHasProjects2$inboundSchema),
12107
+ ]);
12108
+
12109
+ /** @internal */
12110
+ export type CreateProjectRouteProjectsHas$Outbound =
12111
+ | CreateProjectHasProjects1$Outbound
12112
+ | CreateProjectHasProjects2$Outbound;
12113
+
12114
+ /** @internal */
12115
+ export const CreateProjectRouteProjectsHas$outboundSchema: z.ZodType<
12116
+ CreateProjectRouteProjectsHas$Outbound,
12117
+ z.ZodTypeDef,
12118
+ CreateProjectRouteProjectsHas
12119
+ > = z.union([
12120
+ z.lazy(() => CreateProjectHasProjects1$outboundSchema),
12121
+ z.lazy(() => CreateProjectHasProjects2$outboundSchema),
12122
+ ]);
12123
+
12124
+ /**
12125
+ * @internal
12126
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12127
+ */
12128
+ export namespace CreateProjectRouteProjectsHas$ {
12129
+ /** @deprecated use `CreateProjectRouteProjectsHas$inboundSchema` instead. */
12130
+ export const inboundSchema = CreateProjectRouteProjectsHas$inboundSchema;
12131
+ /** @deprecated use `CreateProjectRouteProjectsHas$outboundSchema` instead. */
12132
+ export const outboundSchema = CreateProjectRouteProjectsHas$outboundSchema;
12133
+ /** @deprecated use `CreateProjectRouteProjectsHas$Outbound` instead. */
12134
+ export type Outbound = CreateProjectRouteProjectsHas$Outbound;
12135
+ }
12136
+
12137
+ export function createProjectRouteProjectsHasToJSON(
12138
+ createProjectRouteProjectsHas: CreateProjectRouteProjectsHas,
12139
+ ): string {
12140
+ return JSON.stringify(
12141
+ CreateProjectRouteProjectsHas$outboundSchema.parse(
12142
+ createProjectRouteProjectsHas,
12143
+ ),
12144
+ );
12145
+ }
12146
+
12147
+ export function createProjectRouteProjectsHasFromJSON(
12148
+ jsonString: string,
12149
+ ): SafeParseResult<CreateProjectRouteProjectsHas, SDKValidationError> {
12150
+ return safeParse(
12151
+ jsonString,
12152
+ (x) => CreateProjectRouteProjectsHas$inboundSchema.parse(JSON.parse(x)),
12153
+ `Failed to parse 'CreateProjectRouteProjectsHas' from JSON`,
12154
+ );
12155
+ }
12156
+
12157
+ /** @internal */
12158
+ export const CreateProjectRouteProjectsAction$inboundSchema: z.ZodNativeEnum<
12159
+ typeof CreateProjectRouteProjectsAction
12160
+ > = z.nativeEnum(CreateProjectRouteProjectsAction);
12161
+
12162
+ /** @internal */
12163
+ export const CreateProjectRouteProjectsAction$outboundSchema: z.ZodNativeEnum<
12164
+ typeof CreateProjectRouteProjectsAction
12165
+ > = CreateProjectRouteProjectsAction$inboundSchema;
12166
+
12167
+ /**
12168
+ * @internal
12169
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12170
+ */
12171
+ export namespace CreateProjectRouteProjectsAction$ {
12172
+ /** @deprecated use `CreateProjectRouteProjectsAction$inboundSchema` instead. */
12173
+ export const inboundSchema = CreateProjectRouteProjectsAction$inboundSchema;
12174
+ /** @deprecated use `CreateProjectRouteProjectsAction$outboundSchema` instead. */
12175
+ export const outboundSchema = CreateProjectRouteProjectsAction$outboundSchema;
12176
+ }
12177
+
12178
+ /** @internal */
12179
+ export const CreateProjectRouteProjectsMitigate$inboundSchema: z.ZodType<
12180
+ CreateProjectRouteProjectsMitigate,
12181
+ z.ZodTypeDef,
12182
+ unknown
12183
+ > = z.object({
12184
+ action: CreateProjectRouteProjectsAction$inboundSchema,
12185
+ });
12186
+
12187
+ /** @internal */
12188
+ export type CreateProjectRouteProjectsMitigate$Outbound = {
12189
+ action: string;
12190
+ };
12191
+
12192
+ /** @internal */
12193
+ export const CreateProjectRouteProjectsMitigate$outboundSchema: z.ZodType<
12194
+ CreateProjectRouteProjectsMitigate$Outbound,
12195
+ z.ZodTypeDef,
12196
+ CreateProjectRouteProjectsMitigate
12197
+ > = z.object({
12198
+ action: CreateProjectRouteProjectsAction$outboundSchema,
12199
+ });
12200
+
12201
+ /**
12202
+ * @internal
12203
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12204
+ */
12205
+ export namespace CreateProjectRouteProjectsMitigate$ {
12206
+ /** @deprecated use `CreateProjectRouteProjectsMitigate$inboundSchema` instead. */
12207
+ export const inboundSchema = CreateProjectRouteProjectsMitigate$inboundSchema;
12208
+ /** @deprecated use `CreateProjectRouteProjectsMitigate$outboundSchema` instead. */
12209
+ export const outboundSchema =
12210
+ CreateProjectRouteProjectsMitigate$outboundSchema;
12211
+ /** @deprecated use `CreateProjectRouteProjectsMitigate$Outbound` instead. */
12212
+ export type Outbound = CreateProjectRouteProjectsMitigate$Outbound;
12213
+ }
12214
+
12215
+ export function createProjectRouteProjectsMitigateToJSON(
12216
+ createProjectRouteProjectsMitigate: CreateProjectRouteProjectsMitigate,
12217
+ ): string {
12218
+ return JSON.stringify(
12219
+ CreateProjectRouteProjectsMitigate$outboundSchema.parse(
12220
+ createProjectRouteProjectsMitigate,
12221
+ ),
12222
+ );
12223
+ }
12224
+
12225
+ export function createProjectRouteProjectsMitigateFromJSON(
12226
+ jsonString: string,
12227
+ ): SafeParseResult<CreateProjectRouteProjectsMitigate, SDKValidationError> {
12228
+ return safeParse(
12229
+ jsonString,
12230
+ (x) =>
12231
+ CreateProjectRouteProjectsMitigate$inboundSchema.parse(JSON.parse(x)),
12232
+ `Failed to parse 'CreateProjectRouteProjectsMitigate' from JSON`,
12233
+ );
12234
+ }
12235
+
12236
+ /** @internal */
12237
+ export const CreateProjectRouteProjects2$inboundSchema: z.ZodType<
12238
+ CreateProjectRouteProjects2,
12239
+ z.ZodTypeDef,
12240
+ unknown
12241
+ > = z.object({
12242
+ has: z.array(
12243
+ z.union([
12244
+ z.lazy(() => CreateProjectHasProjects1$inboundSchema),
12245
+ z.lazy(() => CreateProjectHasProjects2$inboundSchema),
12246
+ ]),
12247
+ ),
12248
+ mitigate: z.lazy(() => CreateProjectRouteProjectsMitigate$inboundSchema),
12249
+ src: z.string().optional(),
12250
+ });
12251
+
12252
+ /** @internal */
12253
+ export type CreateProjectRouteProjects2$Outbound = {
12254
+ has: Array<
12255
+ CreateProjectHasProjects1$Outbound | CreateProjectHasProjects2$Outbound
12256
+ >;
12257
+ mitigate: CreateProjectRouteProjectsMitigate$Outbound;
12258
+ src?: string | undefined;
12259
+ };
12260
+
12261
+ /** @internal */
12262
+ export const CreateProjectRouteProjects2$outboundSchema: z.ZodType<
12263
+ CreateProjectRouteProjects2$Outbound,
12264
+ z.ZodTypeDef,
12265
+ CreateProjectRouteProjects2
12266
+ > = z.object({
12267
+ has: z.array(
12268
+ z.union([
12269
+ z.lazy(() => CreateProjectHasProjects1$outboundSchema),
12270
+ z.lazy(() => CreateProjectHasProjects2$outboundSchema),
12271
+ ]),
12272
+ ),
12273
+ mitigate: z.lazy(() => CreateProjectRouteProjectsMitigate$outboundSchema),
12274
+ src: z.string().optional(),
12275
+ });
12276
+
12277
+ /**
12278
+ * @internal
12279
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12280
+ */
12281
+ export namespace CreateProjectRouteProjects2$ {
12282
+ /** @deprecated use `CreateProjectRouteProjects2$inboundSchema` instead. */
12283
+ export const inboundSchema = CreateProjectRouteProjects2$inboundSchema;
12284
+ /** @deprecated use `CreateProjectRouteProjects2$outboundSchema` instead. */
12285
+ export const outboundSchema = CreateProjectRouteProjects2$outboundSchema;
12286
+ /** @deprecated use `CreateProjectRouteProjects2$Outbound` instead. */
12287
+ export type Outbound = CreateProjectRouteProjects2$Outbound;
12288
+ }
12289
+
12290
+ export function createProjectRouteProjects2ToJSON(
12291
+ createProjectRouteProjects2: CreateProjectRouteProjects2,
12292
+ ): string {
12293
+ return JSON.stringify(
12294
+ CreateProjectRouteProjects2$outboundSchema.parse(
12295
+ createProjectRouteProjects2,
12296
+ ),
12297
+ );
12298
+ }
12299
+
12300
+ export function createProjectRouteProjects2FromJSON(
12301
+ jsonString: string,
12302
+ ): SafeParseResult<CreateProjectRouteProjects2, SDKValidationError> {
12303
+ return safeParse(
12304
+ jsonString,
12305
+ (x) => CreateProjectRouteProjects2$inboundSchema.parse(JSON.parse(x)),
12306
+ `Failed to parse 'CreateProjectRouteProjects2' from JSON`,
12307
+ );
12308
+ }
12309
+
12310
+ /** @internal */
12311
+ export const CreateProjectRouteProjects1$inboundSchema: z.ZodType<
12312
+ CreateProjectRouteProjects1,
12313
+ z.ZodTypeDef,
12314
+ unknown
12315
+ > = z.object({
12316
+ src: z.string(),
12317
+ status: z.number(),
12318
+ });
12319
+
12320
+ /** @internal */
12321
+ export type CreateProjectRouteProjects1$Outbound = {
12322
+ src: string;
12323
+ status: number;
12324
+ };
12325
+
12326
+ /** @internal */
12327
+ export const CreateProjectRouteProjects1$outboundSchema: z.ZodType<
12328
+ CreateProjectRouteProjects1$Outbound,
12329
+ z.ZodTypeDef,
12330
+ CreateProjectRouteProjects1
12331
+ > = z.object({
12332
+ src: z.string(),
12333
+ status: z.number(),
12334
+ });
12335
+
12336
+ /**
12337
+ * @internal
12338
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12339
+ */
12340
+ export namespace CreateProjectRouteProjects1$ {
12341
+ /** @deprecated use `CreateProjectRouteProjects1$inboundSchema` instead. */
12342
+ export const inboundSchema = CreateProjectRouteProjects1$inboundSchema;
12343
+ /** @deprecated use `CreateProjectRouteProjects1$outboundSchema` instead. */
12344
+ export const outboundSchema = CreateProjectRouteProjects1$outboundSchema;
12345
+ /** @deprecated use `CreateProjectRouteProjects1$Outbound` instead. */
12346
+ export type Outbound = CreateProjectRouteProjects1$Outbound;
12347
+ }
12348
+
12349
+ export function createProjectRouteProjects1ToJSON(
12350
+ createProjectRouteProjects1: CreateProjectRouteProjects1,
12351
+ ): string {
12352
+ return JSON.stringify(
12353
+ CreateProjectRouteProjects1$outboundSchema.parse(
12354
+ createProjectRouteProjects1,
12355
+ ),
12356
+ );
12357
+ }
12358
+
12359
+ export function createProjectRouteProjects1FromJSON(
12360
+ jsonString: string,
12361
+ ): SafeParseResult<CreateProjectRouteProjects1, SDKValidationError> {
12362
+ return safeParse(
12363
+ jsonString,
12364
+ (x) => CreateProjectRouteProjects1$inboundSchema.parse(JSON.parse(x)),
12365
+ `Failed to parse 'CreateProjectRouteProjects1' from JSON`,
12366
+ );
12367
+ }
12368
+
12369
+ /** @internal */
12370
+ export const CreateProjectBlockHistoryProjectsRoute$inboundSchema: z.ZodType<
12371
+ CreateProjectBlockHistoryProjectsRoute,
12372
+ z.ZodTypeDef,
12373
+ unknown
12374
+ > = z.union([
12375
+ z.lazy(() => CreateProjectRouteProjects1$inboundSchema),
12376
+ z.lazy(() => CreateProjectRouteProjects2$inboundSchema),
12377
+ ]);
12378
+
12379
+ /** @internal */
12380
+ export type CreateProjectBlockHistoryProjectsRoute$Outbound =
12381
+ | CreateProjectRouteProjects1$Outbound
12382
+ | CreateProjectRouteProjects2$Outbound;
12383
+
12384
+ /** @internal */
12385
+ export const CreateProjectBlockHistoryProjectsRoute$outboundSchema: z.ZodType<
12386
+ CreateProjectBlockHistoryProjectsRoute$Outbound,
12387
+ z.ZodTypeDef,
12388
+ CreateProjectBlockHistoryProjectsRoute
12389
+ > = z.union([
12390
+ z.lazy(() => CreateProjectRouteProjects1$outboundSchema),
12391
+ z.lazy(() => CreateProjectRouteProjects2$outboundSchema),
12392
+ ]);
12393
+
12394
+ /**
12395
+ * @internal
12396
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12397
+ */
12398
+ export namespace CreateProjectBlockHistoryProjectsRoute$ {
12399
+ /** @deprecated use `CreateProjectBlockHistoryProjectsRoute$inboundSchema` instead. */
12400
+ export const inboundSchema =
12401
+ CreateProjectBlockHistoryProjectsRoute$inboundSchema;
12402
+ /** @deprecated use `CreateProjectBlockHistoryProjectsRoute$outboundSchema` instead. */
12403
+ export const outboundSchema =
12404
+ CreateProjectBlockHistoryProjectsRoute$outboundSchema;
12405
+ /** @deprecated use `CreateProjectBlockHistoryProjectsRoute$Outbound` instead. */
12406
+ export type Outbound = CreateProjectBlockHistoryProjectsRoute$Outbound;
12407
+ }
12408
+
12409
+ export function createProjectBlockHistoryProjectsRouteToJSON(
12410
+ createProjectBlockHistoryProjectsRoute:
12411
+ CreateProjectBlockHistoryProjectsRoute,
12412
+ ): string {
12413
+ return JSON.stringify(
12414
+ CreateProjectBlockHistoryProjectsRoute$outboundSchema.parse(
12415
+ createProjectBlockHistoryProjectsRoute,
12416
+ ),
12417
+ );
12418
+ }
12419
+
12420
+ export function createProjectBlockHistoryProjectsRouteFromJSON(
12421
+ jsonString: string,
12422
+ ): SafeParseResult<CreateProjectBlockHistoryProjectsRoute, SDKValidationError> {
12423
+ return safeParse(
12424
+ jsonString,
12425
+ (x) =>
12426
+ CreateProjectBlockHistoryProjectsRoute$inboundSchema.parse(JSON.parse(x)),
12427
+ `Failed to parse 'CreateProjectBlockHistoryProjectsRoute' from JSON`,
12428
+ );
12429
+ }
12430
+
12431
+ /** @internal */
12432
+ export const CreateProjectBlockHistory4$inboundSchema: z.ZodType<
12433
+ CreateProjectBlockHistory4,
12434
+ z.ZodTypeDef,
12435
+ unknown
12436
+ > = z.object({
12437
+ action: CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema,
12438
+ route: z.union([
12439
+ z.lazy(() => CreateProjectRouteProjects1$inboundSchema),
12440
+ z.lazy(() => CreateProjectRouteProjects2$inboundSchema),
12441
+ ]),
12442
+ statusCode: z.number().optional(),
12443
+ createdAt: z.number(),
12444
+ caseId: z.string().optional(),
12445
+ actor: z.string().optional(),
12446
+ comment: z.string().optional(),
12447
+ isCascading: z.boolean().optional(),
12448
+ });
12449
+
12450
+ /** @internal */
12451
+ export type CreateProjectBlockHistory4$Outbound = {
12452
+ action: string;
12453
+ route:
12454
+ | CreateProjectRouteProjects1$Outbound
12455
+ | CreateProjectRouteProjects2$Outbound;
12456
+ statusCode?: number | undefined;
12457
+ createdAt: number;
12458
+ caseId?: string | undefined;
12459
+ actor?: string | undefined;
12460
+ comment?: string | undefined;
12461
+ isCascading?: boolean | undefined;
12462
+ };
12463
+
12464
+ /** @internal */
12465
+ export const CreateProjectBlockHistory4$outboundSchema: z.ZodType<
12466
+ CreateProjectBlockHistory4$Outbound,
12467
+ z.ZodTypeDef,
12468
+ CreateProjectBlockHistory4
12469
+ > = z.object({
12470
+ action: CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema,
12471
+ route: z.union([
12472
+ z.lazy(() => CreateProjectRouteProjects1$outboundSchema),
12473
+ z.lazy(() => CreateProjectRouteProjects2$outboundSchema),
12474
+ ]),
12475
+ statusCode: z.number().optional(),
12476
+ createdAt: z.number(),
12477
+ caseId: z.string().optional(),
12478
+ actor: z.string().optional(),
12479
+ comment: z.string().optional(),
12480
+ isCascading: z.boolean().optional(),
12481
+ });
12482
+
12483
+ /**
12484
+ * @internal
12485
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12486
+ */
12487
+ export namespace CreateProjectBlockHistory4$ {
12488
+ /** @deprecated use `CreateProjectBlockHistory4$inboundSchema` instead. */
12489
+ export const inboundSchema = CreateProjectBlockHistory4$inboundSchema;
12490
+ /** @deprecated use `CreateProjectBlockHistory4$outboundSchema` instead. */
12491
+ export const outboundSchema = CreateProjectBlockHistory4$outboundSchema;
12492
+ /** @deprecated use `CreateProjectBlockHistory4$Outbound` instead. */
12493
+ export type Outbound = CreateProjectBlockHistory4$Outbound;
12494
+ }
12495
+
12496
+ export function createProjectBlockHistory4ToJSON(
12497
+ createProjectBlockHistory4: CreateProjectBlockHistory4,
12498
+ ): string {
12499
+ return JSON.stringify(
12500
+ CreateProjectBlockHistory4$outboundSchema.parse(createProjectBlockHistory4),
12501
+ );
12502
+ }
12503
+
12504
+ export function createProjectBlockHistory4FromJSON(
12505
+ jsonString: string,
12506
+ ): SafeParseResult<CreateProjectBlockHistory4, SDKValidationError> {
12507
+ return safeParse(
12508
+ jsonString,
12509
+ (x) => CreateProjectBlockHistory4$inboundSchema.parse(JSON.parse(x)),
12510
+ `Failed to parse 'CreateProjectBlockHistory4' from JSON`,
12511
+ );
12512
+ }
12513
+
12514
+ /** @internal */
12515
+ export const CreateProjectBlockHistoryProjectsResponseAction$inboundSchema:
12516
+ z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsResponseAction> = z
12517
+ .nativeEnum(CreateProjectBlockHistoryProjectsResponseAction);
12518
+
12519
+ /** @internal */
12520
+ export const CreateProjectBlockHistoryProjectsResponseAction$outboundSchema:
12521
+ z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsResponseAction> =
12522
+ CreateProjectBlockHistoryProjectsResponseAction$inboundSchema;
12523
+
12524
+ /**
12525
+ * @internal
12526
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12527
+ */
12528
+ export namespace CreateProjectBlockHistoryProjectsResponseAction$ {
12529
+ /** @deprecated use `CreateProjectBlockHistoryProjectsResponseAction$inboundSchema` instead. */
12530
+ export const inboundSchema =
12531
+ CreateProjectBlockHistoryProjectsResponseAction$inboundSchema;
12532
+ /** @deprecated use `CreateProjectBlockHistoryProjectsResponseAction$outboundSchema` instead. */
12533
+ export const outboundSchema =
12534
+ CreateProjectBlockHistoryProjectsResponseAction$outboundSchema;
12535
+ }
12536
+
12537
+ /** @internal */
12538
+ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
12539
+ z.ZodNativeEnum<
12540
+ typeof CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType
12541
+ > = z.nativeEnum(
12542
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType,
12543
+ );
12544
+
12545
+ /** @internal */
12546
+ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
12547
+ z.ZodNativeEnum<
12548
+ typeof CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType
12549
+ > =
12550
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
12551
+
12552
+ /**
12553
+ * @internal
12554
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12555
+ */
12556
+ export namespace CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$ {
12557
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
12558
+ export const inboundSchema =
12559
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
12560
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
12561
+ export const outboundSchema =
12562
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
12563
+ }
12564
+
12565
+ /** @internal */
12566
+ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema:
12567
+ z.ZodType<
12568
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue,
12569
+ z.ZodTypeDef,
12570
+ unknown
12571
+ > = z.object({
12572
+ eq: z.string(),
12573
+ });
12574
+
12575
+ /** @internal */
12576
+ export type CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound =
12577
+ {
12578
+ eq: string;
12579
+ };
12580
+
12581
+ /** @internal */
12582
+ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema:
12583
+ z.ZodType<
12584
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound,
12585
+ z.ZodTypeDef,
12586
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue
12587
+ > = z.object({
12588
+ eq: z.string(),
12589
+ });
12590
+
12591
+ /**
12592
+ * @internal
12593
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12594
+ */
12595
+ export namespace CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$ {
12596
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema` instead. */
12597
+ export const inboundSchema =
12598
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema;
12599
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema` instead. */
12600
+ export const outboundSchema =
12601
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema;
12602
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound` instead. */
12603
+ export type Outbound =
12604
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound;
12605
+ }
12606
+
12607
+ export function createProjectHasProjectsResponse200ApplicationJSONResponseBodyValueToJSON(
12608
+ createProjectHasProjectsResponse200ApplicationJSONResponseBodyValue:
12609
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue,
12610
+ ): string {
12611
+ return JSON.stringify(
12612
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema
12613
+ .parse(
12614
+ createProjectHasProjectsResponse200ApplicationJSONResponseBodyValue,
12615
+ ),
12616
+ );
12617
+ }
12618
+
12619
+ export function createProjectHasProjectsResponse200ApplicationJSONResponseBodyValueFromJSON(
12620
+ jsonString: string,
12621
+ ): SafeParseResult<
12622
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue,
12623
+ SDKValidationError
12624
+ > {
12625
+ return safeParse(
12626
+ jsonString,
12627
+ (x) =>
12628
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema
12629
+ .parse(JSON.parse(x)),
12630
+ `Failed to parse 'CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue' from JSON`,
12631
+ );
12632
+ }
12633
+
12634
+ /** @internal */
12635
+ export const CreateProjectHasProjectsResponse2$inboundSchema: z.ZodType<
12636
+ CreateProjectHasProjectsResponse2,
12637
+ z.ZodTypeDef,
12638
+ unknown
12639
+ > = z.object({
12640
+ type:
12641
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
12642
+ value: z.lazy(() =>
12643
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema
12644
+ ),
12645
+ });
12646
+
12647
+ /** @internal */
12648
+ export type CreateProjectHasProjectsResponse2$Outbound = {
12649
+ type: string;
12650
+ value:
12651
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound;
12652
+ };
12653
+
12654
+ /** @internal */
12655
+ export const CreateProjectHasProjectsResponse2$outboundSchema: z.ZodType<
12656
+ CreateProjectHasProjectsResponse2$Outbound,
12657
+ z.ZodTypeDef,
12658
+ CreateProjectHasProjectsResponse2
12659
+ > = z.object({
12660
+ type:
12661
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
12662
+ value: z.lazy(() =>
12663
+ CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema
12664
+ ),
12665
+ });
12666
+
12667
+ /**
12668
+ * @internal
12669
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12670
+ */
12671
+ export namespace CreateProjectHasProjectsResponse2$ {
12672
+ /** @deprecated use `CreateProjectHasProjectsResponse2$inboundSchema` instead. */
12673
+ export const inboundSchema = CreateProjectHasProjectsResponse2$inboundSchema;
12674
+ /** @deprecated use `CreateProjectHasProjectsResponse2$outboundSchema` instead. */
12675
+ export const outboundSchema =
12676
+ CreateProjectHasProjectsResponse2$outboundSchema;
12677
+ /** @deprecated use `CreateProjectHasProjectsResponse2$Outbound` instead. */
12678
+ export type Outbound = CreateProjectHasProjectsResponse2$Outbound;
12679
+ }
12680
+
12681
+ export function createProjectHasProjectsResponse2ToJSON(
12682
+ createProjectHasProjectsResponse2: CreateProjectHasProjectsResponse2,
12683
+ ): string {
12684
+ return JSON.stringify(
12685
+ CreateProjectHasProjectsResponse2$outboundSchema.parse(
12686
+ createProjectHasProjectsResponse2,
12687
+ ),
12688
+ );
12689
+ }
12690
+
12691
+ export function createProjectHasProjectsResponse2FromJSON(
12692
+ jsonString: string,
12693
+ ): SafeParseResult<CreateProjectHasProjectsResponse2, SDKValidationError> {
12694
+ return safeParse(
12695
+ jsonString,
12696
+ (x) => CreateProjectHasProjectsResponse2$inboundSchema.parse(JSON.parse(x)),
12697
+ `Failed to parse 'CreateProjectHasProjectsResponse2' from JSON`,
12698
+ );
12699
+ }
12700
+
12701
+ /** @internal */
12702
+ export const CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema:
12703
+ z.ZodNativeEnum<
12704
+ typeof CreateProjectHasProjectsResponse200ApplicationJSONType
12705
+ > = z.nativeEnum(CreateProjectHasProjectsResponse200ApplicationJSONType);
12706
+
12707
+ /** @internal */
12708
+ export const CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema:
12709
+ z.ZodNativeEnum<
12710
+ typeof CreateProjectHasProjectsResponse200ApplicationJSONType
12711
+ > = CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema;
12712
+
12713
+ /**
12714
+ * @internal
12715
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12716
+ */
12717
+ export namespace CreateProjectHasProjectsResponse200ApplicationJSONType$ {
12718
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
12719
+ export const inboundSchema =
12720
+ CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema;
12721
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
12722
+ export const outboundSchema =
12723
+ CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema;
12724
+ }
12725
+
12726
+ /** @internal */
12727
+ export const CreateProjectHasKey$inboundSchema: z.ZodNativeEnum<
12728
+ typeof CreateProjectHasKey
12729
+ > = z.nativeEnum(CreateProjectHasKey);
12730
+
12731
+ /** @internal */
12732
+ export const CreateProjectHasKey$outboundSchema: z.ZodNativeEnum<
12733
+ typeof CreateProjectHasKey
12734
+ > = CreateProjectHasKey$inboundSchema;
12735
+
12736
+ /**
12737
+ * @internal
12738
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12739
+ */
12740
+ export namespace CreateProjectHasKey$ {
12741
+ /** @deprecated use `CreateProjectHasKey$inboundSchema` instead. */
12742
+ export const inboundSchema = CreateProjectHasKey$inboundSchema;
12743
+ /** @deprecated use `CreateProjectHasKey$outboundSchema` instead. */
12744
+ export const outboundSchema = CreateProjectHasKey$outboundSchema;
12745
+ }
12746
+
12747
+ /** @internal */
12748
+ export const CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema:
12749
+ z.ZodType<
12750
+ CreateProjectHasProjectsResponse200ApplicationJSONValue,
12751
+ z.ZodTypeDef,
12752
+ unknown
12753
+ > = z.object({
12754
+ eq: z.string(),
12755
+ });
12756
+
12757
+ /** @internal */
12758
+ export type CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound = {
12759
+ eq: string;
12760
+ };
12761
+
12762
+ /** @internal */
12763
+ export const CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema:
12764
+ z.ZodType<
12765
+ CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound,
12766
+ z.ZodTypeDef,
12767
+ CreateProjectHasProjectsResponse200ApplicationJSONValue
12768
+ > = z.object({
12769
+ eq: z.string(),
12770
+ });
12771
+
12772
+ /**
12773
+ * @internal
12774
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12775
+ */
12776
+ export namespace CreateProjectHasProjectsResponse200ApplicationJSONValue$ {
12777
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema` instead. */
12778
+ export const inboundSchema =
12779
+ CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema;
12780
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema` instead. */
12781
+ export const outboundSchema =
12782
+ CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema;
12783
+ /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound` instead. */
12784
+ export type Outbound =
12785
+ CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound;
12786
+ }
12787
+
12788
+ export function createProjectHasProjectsResponse200ApplicationJSONValueToJSON(
12789
+ createProjectHasProjectsResponse200ApplicationJSONValue:
12790
+ CreateProjectHasProjectsResponse200ApplicationJSONValue,
12791
+ ): string {
12792
+ return JSON.stringify(
12793
+ CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema
12794
+ .parse(createProjectHasProjectsResponse200ApplicationJSONValue),
12795
+ );
12796
+ }
12797
+
12798
+ export function createProjectHasProjectsResponse200ApplicationJSONValueFromJSON(
12799
+ jsonString: string,
12800
+ ): SafeParseResult<
12801
+ CreateProjectHasProjectsResponse200ApplicationJSONValue,
12802
+ SDKValidationError
12803
+ > {
12804
+ return safeParse(
12805
+ jsonString,
12806
+ (x) =>
12807
+ CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema
12808
+ .parse(JSON.parse(x)),
12809
+ `Failed to parse 'CreateProjectHasProjectsResponse200ApplicationJSONValue' from JSON`,
12810
+ );
12811
+ }
12812
+
12813
+ /** @internal */
12814
+ export const CreateProjectHasProjectsResponse1$inboundSchema: z.ZodType<
12815
+ CreateProjectHasProjectsResponse1,
12816
+ z.ZodTypeDef,
12817
+ unknown
12818
+ > = z.object({
12819
+ type: CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema,
12820
+ key: CreateProjectHasKey$inboundSchema,
12821
+ value: z.lazy(() =>
12822
+ CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema
12823
+ ),
12824
+ });
12825
+
12826
+ /** @internal */
12827
+ export type CreateProjectHasProjectsResponse1$Outbound = {
12828
+ type: string;
12829
+ key: string;
12830
+ value: CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound;
12831
+ };
12832
+
12833
+ /** @internal */
12834
+ export const CreateProjectHasProjectsResponse1$outboundSchema: z.ZodType<
12835
+ CreateProjectHasProjectsResponse1$Outbound,
12836
+ z.ZodTypeDef,
12837
+ CreateProjectHasProjectsResponse1
12838
+ > = z.object({
12839
+ type: CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema,
12840
+ key: CreateProjectHasKey$outboundSchema,
12841
+ value: z.lazy(() =>
12842
+ CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema
12843
+ ),
12844
+ });
12845
+
12846
+ /**
12847
+ * @internal
12848
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12849
+ */
12850
+ export namespace CreateProjectHasProjectsResponse1$ {
12851
+ /** @deprecated use `CreateProjectHasProjectsResponse1$inboundSchema` instead. */
12852
+ export const inboundSchema = CreateProjectHasProjectsResponse1$inboundSchema;
12853
+ /** @deprecated use `CreateProjectHasProjectsResponse1$outboundSchema` instead. */
12854
+ export const outboundSchema =
12855
+ CreateProjectHasProjectsResponse1$outboundSchema;
12856
+ /** @deprecated use `CreateProjectHasProjectsResponse1$Outbound` instead. */
12857
+ export type Outbound = CreateProjectHasProjectsResponse1$Outbound;
12858
+ }
12859
+
12860
+ export function createProjectHasProjectsResponse1ToJSON(
12861
+ createProjectHasProjectsResponse1: CreateProjectHasProjectsResponse1,
12862
+ ): string {
12863
+ return JSON.stringify(
12864
+ CreateProjectHasProjectsResponse1$outboundSchema.parse(
12865
+ createProjectHasProjectsResponse1,
12866
+ ),
12867
+ );
12868
+ }
12869
+
12870
+ export function createProjectHasProjectsResponse1FromJSON(
12871
+ jsonString: string,
12872
+ ): SafeParseResult<CreateProjectHasProjectsResponse1, SDKValidationError> {
12873
+ return safeParse(
12874
+ jsonString,
12875
+ (x) => CreateProjectHasProjectsResponse1$inboundSchema.parse(JSON.parse(x)),
12876
+ `Failed to parse 'CreateProjectHasProjectsResponse1' from JSON`,
12877
+ );
12878
+ }
12879
+
12880
+ /** @internal */
12881
+ export const CreateProjectRouteHas$inboundSchema: z.ZodType<
12882
+ CreateProjectRouteHas,
12883
+ z.ZodTypeDef,
12884
+ unknown
12885
+ > = z.union([
12886
+ z.lazy(() => CreateProjectHasProjectsResponse1$inboundSchema),
12887
+ z.lazy(() => CreateProjectHasProjectsResponse2$inboundSchema),
12888
+ ]);
12889
+
12890
+ /** @internal */
12891
+ export type CreateProjectRouteHas$Outbound =
12892
+ | CreateProjectHasProjectsResponse1$Outbound
12893
+ | CreateProjectHasProjectsResponse2$Outbound;
12894
+
12895
+ /** @internal */
12896
+ export const CreateProjectRouteHas$outboundSchema: z.ZodType<
12897
+ CreateProjectRouteHas$Outbound,
12898
+ z.ZodTypeDef,
12899
+ CreateProjectRouteHas
12900
+ > = z.union([
12901
+ z.lazy(() => CreateProjectHasProjectsResponse1$outboundSchema),
12902
+ z.lazy(() => CreateProjectHasProjectsResponse2$outboundSchema),
12903
+ ]);
12904
+
12905
+ /**
12906
+ * @internal
12907
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12908
+ */
12909
+ export namespace CreateProjectRouteHas$ {
12910
+ /** @deprecated use `CreateProjectRouteHas$inboundSchema` instead. */
12911
+ export const inboundSchema = CreateProjectRouteHas$inboundSchema;
12912
+ /** @deprecated use `CreateProjectRouteHas$outboundSchema` instead. */
12913
+ export const outboundSchema = CreateProjectRouteHas$outboundSchema;
12914
+ /** @deprecated use `CreateProjectRouteHas$Outbound` instead. */
12915
+ export type Outbound = CreateProjectRouteHas$Outbound;
12916
+ }
12917
+
12918
+ export function createProjectRouteHasToJSON(
12919
+ createProjectRouteHas: CreateProjectRouteHas,
12920
+ ): string {
12921
+ return JSON.stringify(
12922
+ CreateProjectRouteHas$outboundSchema.parse(createProjectRouteHas),
12923
+ );
12924
+ }
12925
+
12926
+ export function createProjectRouteHasFromJSON(
12927
+ jsonString: string,
12928
+ ): SafeParseResult<CreateProjectRouteHas, SDKValidationError> {
12929
+ return safeParse(
12930
+ jsonString,
12931
+ (x) => CreateProjectRouteHas$inboundSchema.parse(JSON.parse(x)),
12932
+ `Failed to parse 'CreateProjectRouteHas' from JSON`,
12933
+ );
12934
+ }
12935
+
12936
+ /** @internal */
12937
+ export const CreateProjectRouteAction$inboundSchema: z.ZodNativeEnum<
12938
+ typeof CreateProjectRouteAction
12939
+ > = z.nativeEnum(CreateProjectRouteAction);
12940
+
12941
+ /** @internal */
12942
+ export const CreateProjectRouteAction$outboundSchema: z.ZodNativeEnum<
12943
+ typeof CreateProjectRouteAction
12944
+ > = CreateProjectRouteAction$inboundSchema;
12945
+
12946
+ /**
12947
+ * @internal
12948
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12949
+ */
12950
+ export namespace CreateProjectRouteAction$ {
12951
+ /** @deprecated use `CreateProjectRouteAction$inboundSchema` instead. */
12952
+ export const inboundSchema = CreateProjectRouteAction$inboundSchema;
12953
+ /** @deprecated use `CreateProjectRouteAction$outboundSchema` instead. */
12954
+ export const outboundSchema = CreateProjectRouteAction$outboundSchema;
12955
+ }
12956
+
12957
+ /** @internal */
12958
+ export const CreateProjectRouteMitigate$inboundSchema: z.ZodType<
12959
+ CreateProjectRouteMitigate,
12960
+ z.ZodTypeDef,
12961
+ unknown
12962
+ > = z.object({
12963
+ action: CreateProjectRouteAction$inboundSchema,
12964
+ });
12965
+
12966
+ /** @internal */
12967
+ export type CreateProjectRouteMitigate$Outbound = {
12968
+ action: string;
12969
+ };
12970
+
12971
+ /** @internal */
12972
+ export const CreateProjectRouteMitigate$outboundSchema: z.ZodType<
12973
+ CreateProjectRouteMitigate$Outbound,
12974
+ z.ZodTypeDef,
12975
+ CreateProjectRouteMitigate
12976
+ > = z.object({
12977
+ action: CreateProjectRouteAction$outboundSchema,
12978
+ });
12979
+
12980
+ /**
12981
+ * @internal
12982
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12983
+ */
12984
+ export namespace CreateProjectRouteMitigate$ {
12985
+ /** @deprecated use `CreateProjectRouteMitigate$inboundSchema` instead. */
12986
+ export const inboundSchema = CreateProjectRouteMitigate$inboundSchema;
12987
+ /** @deprecated use `CreateProjectRouteMitigate$outboundSchema` instead. */
12988
+ export const outboundSchema = CreateProjectRouteMitigate$outboundSchema;
12989
+ /** @deprecated use `CreateProjectRouteMitigate$Outbound` instead. */
12990
+ export type Outbound = CreateProjectRouteMitigate$Outbound;
12991
+ }
12992
+
12993
+ export function createProjectRouteMitigateToJSON(
12994
+ createProjectRouteMitigate: CreateProjectRouteMitigate,
12995
+ ): string {
12996
+ return JSON.stringify(
12997
+ CreateProjectRouteMitigate$outboundSchema.parse(createProjectRouteMitigate),
12998
+ );
12999
+ }
13000
+
13001
+ export function createProjectRouteMitigateFromJSON(
13002
+ jsonString: string,
13003
+ ): SafeParseResult<CreateProjectRouteMitigate, SDKValidationError> {
13004
+ return safeParse(
13005
+ jsonString,
13006
+ (x) => CreateProjectRouteMitigate$inboundSchema.parse(JSON.parse(x)),
13007
+ `Failed to parse 'CreateProjectRouteMitigate' from JSON`,
13008
+ );
13009
+ }
13010
+
13011
+ /** @internal */
13012
+ export const CreateProjectRoute2$inboundSchema: z.ZodType<
13013
+ CreateProjectRoute2,
13014
+ z.ZodTypeDef,
13015
+ unknown
13016
+ > = z.object({
13017
+ has: z.array(
13018
+ z.union([
13019
+ z.lazy(() => CreateProjectHasProjectsResponse1$inboundSchema),
13020
+ z.lazy(() => CreateProjectHasProjectsResponse2$inboundSchema),
13021
+ ]),
13022
+ ),
13023
+ mitigate: z.lazy(() => CreateProjectRouteMitigate$inboundSchema),
13024
+ src: z.string().optional(),
13025
+ });
13026
+
13027
+ /** @internal */
13028
+ export type CreateProjectRoute2$Outbound = {
13029
+ has: Array<
13030
+ | CreateProjectHasProjectsResponse1$Outbound
13031
+ | CreateProjectHasProjectsResponse2$Outbound
13032
+ >;
13033
+ mitigate: CreateProjectRouteMitigate$Outbound;
13034
+ src?: string | undefined;
13035
+ };
13036
+
13037
+ /** @internal */
13038
+ export const CreateProjectRoute2$outboundSchema: z.ZodType<
13039
+ CreateProjectRoute2$Outbound,
13040
+ z.ZodTypeDef,
13041
+ CreateProjectRoute2
13042
+ > = z.object({
13043
+ has: z.array(
13044
+ z.union([
13045
+ z.lazy(() => CreateProjectHasProjectsResponse1$outboundSchema),
13046
+ z.lazy(() => CreateProjectHasProjectsResponse2$outboundSchema),
13047
+ ]),
13048
+ ),
13049
+ mitigate: z.lazy(() => CreateProjectRouteMitigate$outboundSchema),
13050
+ src: z.string().optional(),
13051
+ });
13052
+
13053
+ /**
13054
+ * @internal
13055
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13056
+ */
13057
+ export namespace CreateProjectRoute2$ {
13058
+ /** @deprecated use `CreateProjectRoute2$inboundSchema` instead. */
13059
+ export const inboundSchema = CreateProjectRoute2$inboundSchema;
13060
+ /** @deprecated use `CreateProjectRoute2$outboundSchema` instead. */
13061
+ export const outboundSchema = CreateProjectRoute2$outboundSchema;
13062
+ /** @deprecated use `CreateProjectRoute2$Outbound` instead. */
13063
+ export type Outbound = CreateProjectRoute2$Outbound;
13064
+ }
13065
+
13066
+ export function createProjectRoute2ToJSON(
13067
+ createProjectRoute2: CreateProjectRoute2,
13068
+ ): string {
13069
+ return JSON.stringify(
13070
+ CreateProjectRoute2$outboundSchema.parse(createProjectRoute2),
13071
+ );
13072
+ }
13073
+
13074
+ export function createProjectRoute2FromJSON(
13075
+ jsonString: string,
13076
+ ): SafeParseResult<CreateProjectRoute2, SDKValidationError> {
13077
+ return safeParse(
13078
+ jsonString,
13079
+ (x) => CreateProjectRoute2$inboundSchema.parse(JSON.parse(x)),
13080
+ `Failed to parse 'CreateProjectRoute2' from JSON`,
13081
+ );
13082
+ }
13083
+
13084
+ /** @internal */
13085
+ export const CreateProjectRoute1$inboundSchema: z.ZodType<
13086
+ CreateProjectRoute1,
13087
+ z.ZodTypeDef,
13088
+ unknown
13089
+ > = z.object({
13090
+ src: z.string(),
13091
+ status: z.number(),
13092
+ });
13093
+
13094
+ /** @internal */
13095
+ export type CreateProjectRoute1$Outbound = {
13096
+ src: string;
13097
+ status: number;
13098
+ };
13099
+
13100
+ /** @internal */
13101
+ export const CreateProjectRoute1$outboundSchema: z.ZodType<
13102
+ CreateProjectRoute1$Outbound,
13103
+ z.ZodTypeDef,
13104
+ CreateProjectRoute1
13105
+ > = z.object({
13106
+ src: z.string(),
13107
+ status: z.number(),
13108
+ });
13109
+
13110
+ /**
13111
+ * @internal
13112
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13113
+ */
13114
+ export namespace CreateProjectRoute1$ {
13115
+ /** @deprecated use `CreateProjectRoute1$inboundSchema` instead. */
13116
+ export const inboundSchema = CreateProjectRoute1$inboundSchema;
13117
+ /** @deprecated use `CreateProjectRoute1$outboundSchema` instead. */
13118
+ export const outboundSchema = CreateProjectRoute1$outboundSchema;
13119
+ /** @deprecated use `CreateProjectRoute1$Outbound` instead. */
13120
+ export type Outbound = CreateProjectRoute1$Outbound;
13121
+ }
13122
+
13123
+ export function createProjectRoute1ToJSON(
13124
+ createProjectRoute1: CreateProjectRoute1,
13125
+ ): string {
13126
+ return JSON.stringify(
13127
+ CreateProjectRoute1$outboundSchema.parse(createProjectRoute1),
13128
+ );
13129
+ }
13130
+
13131
+ export function createProjectRoute1FromJSON(
13132
+ jsonString: string,
13133
+ ): SafeParseResult<CreateProjectRoute1, SDKValidationError> {
13134
+ return safeParse(
13135
+ jsonString,
13136
+ (x) => CreateProjectRoute1$inboundSchema.parse(JSON.parse(x)),
13137
+ `Failed to parse 'CreateProjectRoute1' from JSON`,
13138
+ );
13139
+ }
13140
+
13141
+ /** @internal */
13142
+ export const CreateProjectBlockHistoryRoute$inboundSchema: z.ZodType<
13143
+ CreateProjectBlockHistoryRoute,
13144
+ z.ZodTypeDef,
13145
+ unknown
13146
+ > = z.union([
13147
+ z.lazy(() => CreateProjectRoute1$inboundSchema),
13148
+ z.lazy(() => CreateProjectRoute2$inboundSchema),
13149
+ ]);
13150
+
13151
+ /** @internal */
13152
+ export type CreateProjectBlockHistoryRoute$Outbound =
13153
+ | CreateProjectRoute1$Outbound
13154
+ | CreateProjectRoute2$Outbound;
13155
+
13156
+ /** @internal */
13157
+ export const CreateProjectBlockHistoryRoute$outboundSchema: z.ZodType<
13158
+ CreateProjectBlockHistoryRoute$Outbound,
13159
+ z.ZodTypeDef,
13160
+ CreateProjectBlockHistoryRoute
13161
+ > = z.union([
13162
+ z.lazy(() => CreateProjectRoute1$outboundSchema),
13163
+ z.lazy(() => CreateProjectRoute2$outboundSchema),
13164
+ ]);
13165
+
13166
+ /**
13167
+ * @internal
13168
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13169
+ */
13170
+ export namespace CreateProjectBlockHistoryRoute$ {
13171
+ /** @deprecated use `CreateProjectBlockHistoryRoute$inboundSchema` instead. */
13172
+ export const inboundSchema = CreateProjectBlockHistoryRoute$inboundSchema;
13173
+ /** @deprecated use `CreateProjectBlockHistoryRoute$outboundSchema` instead. */
13174
+ export const outboundSchema = CreateProjectBlockHistoryRoute$outboundSchema;
13175
+ /** @deprecated use `CreateProjectBlockHistoryRoute$Outbound` instead. */
13176
+ export type Outbound = CreateProjectBlockHistoryRoute$Outbound;
13177
+ }
13178
+
13179
+ export function createProjectBlockHistoryRouteToJSON(
13180
+ createProjectBlockHistoryRoute: CreateProjectBlockHistoryRoute,
13181
+ ): string {
13182
+ return JSON.stringify(
13183
+ CreateProjectBlockHistoryRoute$outboundSchema.parse(
13184
+ createProjectBlockHistoryRoute,
13185
+ ),
13186
+ );
13187
+ }
13188
+
13189
+ export function createProjectBlockHistoryRouteFromJSON(
13190
+ jsonString: string,
13191
+ ): SafeParseResult<CreateProjectBlockHistoryRoute, SDKValidationError> {
13192
+ return safeParse(
13193
+ jsonString,
13194
+ (x) => CreateProjectBlockHistoryRoute$inboundSchema.parse(JSON.parse(x)),
13195
+ `Failed to parse 'CreateProjectBlockHistoryRoute' from JSON`,
13196
+ );
13197
+ }
13198
+
13199
+ /** @internal */
13200
+ export const CreateProjectBlockHistory3$inboundSchema: z.ZodType<
13201
+ CreateProjectBlockHistory3,
13202
+ z.ZodTypeDef,
13203
+ unknown
13204
+ > = z.object({
13205
+ action: CreateProjectBlockHistoryProjectsResponseAction$inboundSchema,
13206
+ route: z.union([
13207
+ z.lazy(() => CreateProjectRoute1$inboundSchema),
13208
+ z.lazy(() => CreateProjectRoute2$inboundSchema),
13209
+ ]),
13210
+ reason: z.string(),
13211
+ createdAt: z.number(),
13212
+ caseId: z.string().optional(),
13213
+ actor: z.string().optional(),
13214
+ comment: z.string().optional(),
13215
+ isCascading: z.boolean().optional(),
13216
+ });
13217
+
13218
+ /** @internal */
13219
+ export type CreateProjectBlockHistory3$Outbound = {
13220
+ action: string;
13221
+ route: CreateProjectRoute1$Outbound | CreateProjectRoute2$Outbound;
13222
+ reason: string;
13223
+ createdAt: number;
13224
+ caseId?: string | undefined;
13225
+ actor?: string | undefined;
13226
+ comment?: string | undefined;
13227
+ isCascading?: boolean | undefined;
13228
+ };
13229
+
13230
+ /** @internal */
13231
+ export const CreateProjectBlockHistory3$outboundSchema: z.ZodType<
13232
+ CreateProjectBlockHistory3$Outbound,
13233
+ z.ZodTypeDef,
13234
+ CreateProjectBlockHistory3
13235
+ > = z.object({
13236
+ action: CreateProjectBlockHistoryProjectsResponseAction$outboundSchema,
13237
+ route: z.union([
13238
+ z.lazy(() => CreateProjectRoute1$outboundSchema),
13239
+ z.lazy(() => CreateProjectRoute2$outboundSchema),
13240
+ ]),
13241
+ reason: z.string(),
13242
+ createdAt: z.number(),
13243
+ caseId: z.string().optional(),
13244
+ actor: z.string().optional(),
13245
+ comment: z.string().optional(),
13246
+ isCascading: z.boolean().optional(),
13247
+ });
13248
+
13249
+ /**
13250
+ * @internal
13251
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13252
+ */
13253
+ export namespace CreateProjectBlockHistory3$ {
13254
+ /** @deprecated use `CreateProjectBlockHistory3$inboundSchema` instead. */
13255
+ export const inboundSchema = CreateProjectBlockHistory3$inboundSchema;
13256
+ /** @deprecated use `CreateProjectBlockHistory3$outboundSchema` instead. */
13257
+ export const outboundSchema = CreateProjectBlockHistory3$outboundSchema;
13258
+ /** @deprecated use `CreateProjectBlockHistory3$Outbound` instead. */
13259
+ export type Outbound = CreateProjectBlockHistory3$Outbound;
13260
+ }
13261
+
13262
+ export function createProjectBlockHistory3ToJSON(
13263
+ createProjectBlockHistory3: CreateProjectBlockHistory3,
13264
+ ): string {
13265
+ return JSON.stringify(
13266
+ CreateProjectBlockHistory3$outboundSchema.parse(createProjectBlockHistory3),
13267
+ );
13268
+ }
13269
+
13270
+ export function createProjectBlockHistory3FromJSON(
13271
+ jsonString: string,
13272
+ ): SafeParseResult<CreateProjectBlockHistory3, SDKValidationError> {
13273
+ return safeParse(
13274
+ jsonString,
13275
+ (x) => CreateProjectBlockHistory3$inboundSchema.parse(JSON.parse(x)),
13276
+ `Failed to parse 'CreateProjectBlockHistory3' from JSON`,
13277
+ );
13278
+ }
13279
+
13280
+ /** @internal */
13281
+ export const CreateProjectBlockHistoryProjectsAction$inboundSchema:
13282
+ z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsAction> = z
13283
+ .nativeEnum(CreateProjectBlockHistoryProjectsAction);
13284
+
13285
+ /** @internal */
13286
+ export const CreateProjectBlockHistoryProjectsAction$outboundSchema:
13287
+ z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsAction> =
13288
+ CreateProjectBlockHistoryProjectsAction$inboundSchema;
13289
+
13290
+ /**
13291
+ * @internal
13292
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13293
+ */
13294
+ export namespace CreateProjectBlockHistoryProjectsAction$ {
13295
+ /** @deprecated use `CreateProjectBlockHistoryProjectsAction$inboundSchema` instead. */
13296
+ export const inboundSchema =
13297
+ CreateProjectBlockHistoryProjectsAction$inboundSchema;
13298
+ /** @deprecated use `CreateProjectBlockHistoryProjectsAction$outboundSchema` instead. */
13299
+ export const outboundSchema =
13300
+ CreateProjectBlockHistoryProjectsAction$outboundSchema;
13301
+ }
13302
+
13303
+ /** @internal */
13304
+ export const CreateProjectBlockHistory2$inboundSchema: z.ZodType<
13305
+ CreateProjectBlockHistory2,
13306
+ z.ZodTypeDef,
13307
+ unknown
13308
+ > = z.object({
13309
+ action: CreateProjectBlockHistoryProjectsAction$inboundSchema,
13310
+ createdAt: z.number(),
13311
+ caseId: z.string().optional(),
13312
+ actor: z.string().optional(),
13313
+ comment: z.string().optional(),
13314
+ isCascading: z.boolean().optional(),
13315
+ });
13316
+
13317
+ /** @internal */
13318
+ export type CreateProjectBlockHistory2$Outbound = {
13319
+ action: string;
13320
+ createdAt: number;
13321
+ caseId?: string | undefined;
13322
+ actor?: string | undefined;
13323
+ comment?: string | undefined;
13324
+ isCascading?: boolean | undefined;
13325
+ };
13326
+
13327
+ /** @internal */
13328
+ export const CreateProjectBlockHistory2$outboundSchema: z.ZodType<
13329
+ CreateProjectBlockHistory2$Outbound,
13330
+ z.ZodTypeDef,
13331
+ CreateProjectBlockHistory2
13332
+ > = z.object({
13333
+ action: CreateProjectBlockHistoryProjectsAction$outboundSchema,
13334
+ createdAt: z.number(),
13335
+ caseId: z.string().optional(),
13336
+ actor: z.string().optional(),
13337
+ comment: z.string().optional(),
13338
+ isCascading: z.boolean().optional(),
13339
+ });
13340
+
13341
+ /**
13342
+ * @internal
13343
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13344
+ */
13345
+ export namespace CreateProjectBlockHistory2$ {
13346
+ /** @deprecated use `CreateProjectBlockHistory2$inboundSchema` instead. */
13347
+ export const inboundSchema = CreateProjectBlockHistory2$inboundSchema;
13348
+ /** @deprecated use `CreateProjectBlockHistory2$outboundSchema` instead. */
13349
+ export const outboundSchema = CreateProjectBlockHistory2$outboundSchema;
13350
+ /** @deprecated use `CreateProjectBlockHistory2$Outbound` instead. */
13351
+ export type Outbound = CreateProjectBlockHistory2$Outbound;
13352
+ }
13353
+
13354
+ export function createProjectBlockHistory2ToJSON(
13355
+ createProjectBlockHistory2: CreateProjectBlockHistory2,
13356
+ ): string {
13357
+ return JSON.stringify(
13358
+ CreateProjectBlockHistory2$outboundSchema.parse(createProjectBlockHistory2),
13359
+ );
13360
+ }
13361
+
13362
+ export function createProjectBlockHistory2FromJSON(
13363
+ jsonString: string,
13364
+ ): SafeParseResult<CreateProjectBlockHistory2, SDKValidationError> {
13365
+ return safeParse(
13366
+ jsonString,
13367
+ (x) => CreateProjectBlockHistory2$inboundSchema.parse(JSON.parse(x)),
13368
+ `Failed to parse 'CreateProjectBlockHistory2' from JSON`,
13369
+ );
13370
+ }
13371
+
13372
+ /** @internal */
13373
+ export const CreateProjectBlockHistoryAction$inboundSchema: z.ZodNativeEnum<
13374
+ typeof CreateProjectBlockHistoryAction
13375
+ > = z.nativeEnum(CreateProjectBlockHistoryAction);
13376
+
13377
+ /** @internal */
13378
+ export const CreateProjectBlockHistoryAction$outboundSchema: z.ZodNativeEnum<
13379
+ typeof CreateProjectBlockHistoryAction
13380
+ > = CreateProjectBlockHistoryAction$inboundSchema;
13381
+
13382
+ /**
13383
+ * @internal
13384
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13385
+ */
13386
+ export namespace CreateProjectBlockHistoryAction$ {
13387
+ /** @deprecated use `CreateProjectBlockHistoryAction$inboundSchema` instead. */
13388
+ export const inboundSchema = CreateProjectBlockHistoryAction$inboundSchema;
13389
+ /** @deprecated use `CreateProjectBlockHistoryAction$outboundSchema` instead. */
13390
+ export const outboundSchema = CreateProjectBlockHistoryAction$outboundSchema;
13391
+ }
13392
+
13393
+ /** @internal */
13394
+ export const CreateProjectBlockHistory1$inboundSchema: z.ZodType<
13395
+ CreateProjectBlockHistory1,
13396
+ z.ZodTypeDef,
13397
+ unknown
13398
+ > = z.object({
13399
+ action: CreateProjectBlockHistoryAction$inboundSchema,
13400
+ reason: z.string(),
13401
+ statusCode: z.number(),
13402
+ createdAt: z.number(),
13403
+ caseId: z.string().optional(),
13404
+ actor: z.string().optional(),
13405
+ comment: z.string().optional(),
13406
+ isCascading: z.boolean().optional(),
13407
+ });
13408
+
13409
+ /** @internal */
13410
+ export type CreateProjectBlockHistory1$Outbound = {
13411
+ action: string;
13412
+ reason: string;
13413
+ statusCode: number;
13414
+ createdAt: number;
13415
+ caseId?: string | undefined;
13416
+ actor?: string | undefined;
13417
+ comment?: string | undefined;
13418
+ isCascading?: boolean | undefined;
13419
+ };
13420
+
13421
+ /** @internal */
13422
+ export const CreateProjectBlockHistory1$outboundSchema: z.ZodType<
13423
+ CreateProjectBlockHistory1$Outbound,
13424
+ z.ZodTypeDef,
13425
+ CreateProjectBlockHistory1
13426
+ > = z.object({
13427
+ action: CreateProjectBlockHistoryAction$outboundSchema,
13428
+ reason: z.string(),
13429
+ statusCode: z.number(),
13430
+ createdAt: z.number(),
13431
+ caseId: z.string().optional(),
13432
+ actor: z.string().optional(),
13433
+ comment: z.string().optional(),
13434
+ isCascading: z.boolean().optional(),
13435
+ });
13436
+
13437
+ /**
13438
+ * @internal
13439
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13440
+ */
13441
+ export namespace CreateProjectBlockHistory1$ {
13442
+ /** @deprecated use `CreateProjectBlockHistory1$inboundSchema` instead. */
13443
+ export const inboundSchema = CreateProjectBlockHistory1$inboundSchema;
13444
+ /** @deprecated use `CreateProjectBlockHistory1$outboundSchema` instead. */
13445
+ export const outboundSchema = CreateProjectBlockHistory1$outboundSchema;
13446
+ /** @deprecated use `CreateProjectBlockHistory1$Outbound` instead. */
13447
+ export type Outbound = CreateProjectBlockHistory1$Outbound;
13448
+ }
13449
+
13450
+ export function createProjectBlockHistory1ToJSON(
13451
+ createProjectBlockHistory1: CreateProjectBlockHistory1,
13452
+ ): string {
13453
+ return JSON.stringify(
13454
+ CreateProjectBlockHistory1$outboundSchema.parse(createProjectBlockHistory1),
13455
+ );
13456
+ }
13457
+
13458
+ export function createProjectBlockHistory1FromJSON(
13459
+ jsonString: string,
13460
+ ): SafeParseResult<CreateProjectBlockHistory1, SDKValidationError> {
13461
+ return safeParse(
13462
+ jsonString,
13463
+ (x) => CreateProjectBlockHistory1$inboundSchema.parse(JSON.parse(x)),
13464
+ `Failed to parse 'CreateProjectBlockHistory1' from JSON`,
13465
+ );
13466
+ }
13467
+
13468
+ /** @internal */
13469
+ export const CreateProjectBlockHistory$inboundSchema: z.ZodType<
13470
+ CreateProjectBlockHistory,
13471
+ z.ZodTypeDef,
13472
+ unknown
13473
+ > = z.union([
13474
+ z.lazy(() => CreateProjectBlockHistory1$inboundSchema),
13475
+ z.lazy(() => CreateProjectBlockHistory3$inboundSchema),
13476
+ z.lazy(() => CreateProjectBlockHistory4$inboundSchema),
13477
+ z.lazy(() => CreateProjectBlockHistory2$inboundSchema),
13478
+ ]);
13479
+
13480
+ /** @internal */
13481
+ export type CreateProjectBlockHistory$Outbound =
13482
+ | CreateProjectBlockHistory1$Outbound
13483
+ | CreateProjectBlockHistory3$Outbound
13484
+ | CreateProjectBlockHistory4$Outbound
13485
+ | CreateProjectBlockHistory2$Outbound;
13486
+
13487
+ /** @internal */
13488
+ export const CreateProjectBlockHistory$outboundSchema: z.ZodType<
13489
+ CreateProjectBlockHistory$Outbound,
13490
+ z.ZodTypeDef,
13491
+ CreateProjectBlockHistory
13492
+ > = z.union([
13493
+ z.lazy(() => CreateProjectBlockHistory1$outboundSchema),
13494
+ z.lazy(() => CreateProjectBlockHistory3$outboundSchema),
13495
+ z.lazy(() => CreateProjectBlockHistory4$outboundSchema),
13496
+ z.lazy(() => CreateProjectBlockHistory2$outboundSchema),
13497
+ ]);
13498
+
13499
+ /**
13500
+ * @internal
13501
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13502
+ */
13503
+ export namespace CreateProjectBlockHistory$ {
13504
+ /** @deprecated use `CreateProjectBlockHistory$inboundSchema` instead. */
13505
+ export const inboundSchema = CreateProjectBlockHistory$inboundSchema;
13506
+ /** @deprecated use `CreateProjectBlockHistory$outboundSchema` instead. */
13507
+ export const outboundSchema = CreateProjectBlockHistory$outboundSchema;
13508
+ /** @deprecated use `CreateProjectBlockHistory$Outbound` instead. */
13509
+ export type Outbound = CreateProjectBlockHistory$Outbound;
13510
+ }
13511
+
13512
+ export function createProjectBlockHistoryToJSON(
13513
+ createProjectBlockHistory: CreateProjectBlockHistory,
13514
+ ): string {
13515
+ return JSON.stringify(
13516
+ CreateProjectBlockHistory$outboundSchema.parse(createProjectBlockHistory),
13517
+ );
13518
+ }
13519
+
13520
+ export function createProjectBlockHistoryFromJSON(
13521
+ jsonString: string,
13522
+ ): SafeParseResult<CreateProjectBlockHistory, SDKValidationError> {
13523
+ return safeParse(
13524
+ jsonString,
13525
+ (x) => CreateProjectBlockHistory$inboundSchema.parse(JSON.parse(x)),
13526
+ `Failed to parse 'CreateProjectBlockHistory' from JSON`,
13527
+ );
13528
+ }
13529
+
13530
+ /** @internal */
13531
+ export const CreateProjectAbuse$inboundSchema: z.ZodType<
13532
+ CreateProjectAbuse,
13533
+ z.ZodTypeDef,
13534
+ unknown
13535
+ > = z.object({
13536
+ scanner: z.string().optional(),
13537
+ history: z.array(z.lazy(() => CreateProjectHistory$inboundSchema)),
13538
+ updatedAt: z.number(),
13539
+ block: z.lazy(() => CreateProjectBlock$inboundSchema).optional(),
13540
+ blockHistory: z.array(
13541
+ z.union([
13542
+ z.lazy(() => CreateProjectBlockHistory1$inboundSchema),
13543
+ z.lazy(() => CreateProjectBlockHistory3$inboundSchema),
13544
+ z.lazy(() => CreateProjectBlockHistory4$inboundSchema),
13545
+ z.lazy(() => CreateProjectBlockHistory2$inboundSchema),
13546
+ ]),
13547
+ ).optional(),
13548
+ });
13549
+
13550
+ /** @internal */
13551
+ export type CreateProjectAbuse$Outbound = {
13552
+ scanner?: string | undefined;
13553
+ history: Array<CreateProjectHistory$Outbound>;
13554
+ updatedAt: number;
13555
+ block?: CreateProjectBlock$Outbound | undefined;
13556
+ blockHistory?:
13557
+ | Array<
13558
+ | CreateProjectBlockHistory1$Outbound
13559
+ | CreateProjectBlockHistory3$Outbound
13560
+ | CreateProjectBlockHistory4$Outbound
13561
+ | CreateProjectBlockHistory2$Outbound
13562
+ >
13563
+ | undefined;
13564
+ };
13565
+
13566
+ /** @internal */
13567
+ export const CreateProjectAbuse$outboundSchema: z.ZodType<
13568
+ CreateProjectAbuse$Outbound,
13569
+ z.ZodTypeDef,
13570
+ CreateProjectAbuse
13571
+ > = z.object({
13572
+ scanner: z.string().optional(),
13573
+ history: z.array(z.lazy(() => CreateProjectHistory$outboundSchema)),
13574
+ updatedAt: z.number(),
13575
+ block: z.lazy(() => CreateProjectBlock$outboundSchema).optional(),
13576
+ blockHistory: z.array(
13577
+ z.union([
13578
+ z.lazy(() => CreateProjectBlockHistory1$outboundSchema),
13579
+ z.lazy(() => CreateProjectBlockHistory3$outboundSchema),
13580
+ z.lazy(() => CreateProjectBlockHistory4$outboundSchema),
13581
+ z.lazy(() => CreateProjectBlockHistory2$outboundSchema),
13582
+ ]),
13583
+ ).optional(),
13584
+ });
13585
+
13586
+ /**
13587
+ * @internal
13588
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13589
+ */
13590
+ export namespace CreateProjectAbuse$ {
13591
+ /** @deprecated use `CreateProjectAbuse$inboundSchema` instead. */
13592
+ export const inboundSchema = CreateProjectAbuse$inboundSchema;
13593
+ /** @deprecated use `CreateProjectAbuse$outboundSchema` instead. */
13594
+ export const outboundSchema = CreateProjectAbuse$outboundSchema;
13595
+ /** @deprecated use `CreateProjectAbuse$Outbound` instead. */
13596
+ export type Outbound = CreateProjectAbuse$Outbound;
13597
+ }
13598
+
13599
+ export function createProjectAbuseToJSON(
13600
+ createProjectAbuse: CreateProjectAbuse,
13601
+ ): string {
13602
+ return JSON.stringify(
13603
+ CreateProjectAbuse$outboundSchema.parse(createProjectAbuse),
13604
+ );
13605
+ }
13606
+
13607
+ export function createProjectAbuseFromJSON(
13608
+ jsonString: string,
13609
+ ): SafeParseResult<CreateProjectAbuse, SDKValidationError> {
13610
+ return safeParse(
13611
+ jsonString,
13612
+ (x) => CreateProjectAbuse$inboundSchema.parse(JSON.parse(x)),
13613
+ `Failed to parse 'CreateProjectAbuse' from JSON`,
13614
+ );
13615
+ }
13616
+
13617
+ /** @internal */
13618
+ export const CreateProjectHasProjectsType$inboundSchema: z.ZodNativeEnum<
13619
+ typeof CreateProjectHasProjectsType
13620
+ > = z.nativeEnum(CreateProjectHasProjectsType);
13621
+
13622
+ /** @internal */
13623
+ export const CreateProjectHasProjectsType$outboundSchema: z.ZodNativeEnum<
13624
+ typeof CreateProjectHasProjectsType
13625
+ > = CreateProjectHasProjectsType$inboundSchema;
13626
+
13627
+ /**
13628
+ * @internal
13629
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13630
+ */
13631
+ export namespace CreateProjectHasProjectsType$ {
13632
+ /** @deprecated use `CreateProjectHasProjectsType$inboundSchema` instead. */
13633
+ export const inboundSchema = CreateProjectHasProjectsType$inboundSchema;
13634
+ /** @deprecated use `CreateProjectHasProjectsType$outboundSchema` instead. */
13635
+ export const outboundSchema = CreateProjectHasProjectsType$outboundSchema;
13636
+ }
13637
+
13638
+ /** @internal */
13639
+ export const CreateProjectHasProjectsValue$inboundSchema: z.ZodType<
13640
+ CreateProjectHasProjectsValue,
13641
+ z.ZodTypeDef,
13642
+ unknown
13643
+ > = z.object({
13644
+ eq: z.string(),
13645
+ });
13646
+
13647
+ /** @internal */
13648
+ export type CreateProjectHasProjectsValue$Outbound = {
13649
+ eq: string;
13650
+ };
13651
+
13652
+ /** @internal */
13653
+ export const CreateProjectHasProjectsValue$outboundSchema: z.ZodType<
13654
+ CreateProjectHasProjectsValue$Outbound,
13655
+ z.ZodTypeDef,
13656
+ CreateProjectHasProjectsValue
13657
+ > = z.object({
13658
+ eq: z.string(),
13659
+ });
13660
+
13661
+ /**
13662
+ * @internal
13663
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13664
+ */
13665
+ export namespace CreateProjectHasProjectsValue$ {
13666
+ /** @deprecated use `CreateProjectHasProjectsValue$inboundSchema` instead. */
13667
+ export const inboundSchema = CreateProjectHasProjectsValue$inboundSchema;
13668
+ /** @deprecated use `CreateProjectHasProjectsValue$outboundSchema` instead. */
13669
+ export const outboundSchema = CreateProjectHasProjectsValue$outboundSchema;
13670
+ /** @deprecated use `CreateProjectHasProjectsValue$Outbound` instead. */
13671
+ export type Outbound = CreateProjectHasProjectsValue$Outbound;
13672
+ }
13673
+
13674
+ export function createProjectHasProjectsValueToJSON(
13675
+ createProjectHasProjectsValue: CreateProjectHasProjectsValue,
13676
+ ): string {
13677
+ return JSON.stringify(
13678
+ CreateProjectHasProjectsValue$outboundSchema.parse(
13679
+ createProjectHasProjectsValue,
13680
+ ),
13681
+ );
13682
+ }
13683
+
13684
+ export function createProjectHasProjectsValueFromJSON(
13685
+ jsonString: string,
13686
+ ): SafeParseResult<CreateProjectHasProjectsValue, SDKValidationError> {
13687
+ return safeParse(
13688
+ jsonString,
13689
+ (x) => CreateProjectHasProjectsValue$inboundSchema.parse(JSON.parse(x)),
13690
+ `Failed to parse 'CreateProjectHasProjectsValue' from JSON`,
13691
+ );
13692
+ }
13693
+
13694
+ /** @internal */
13695
+ export const CreateProjectHas2$inboundSchema: z.ZodType<
13696
+ CreateProjectHas2,
13697
+ z.ZodTypeDef,
13698
+ unknown
13699
+ > = z.object({
13700
+ type: CreateProjectHasProjectsType$inboundSchema,
13701
+ value: z.lazy(() => CreateProjectHasProjectsValue$inboundSchema),
13702
+ });
13703
+
13704
+ /** @internal */
13705
+ export type CreateProjectHas2$Outbound = {
13706
+ type: string;
13707
+ value: CreateProjectHasProjectsValue$Outbound;
13708
+ };
13709
+
13710
+ /** @internal */
13711
+ export const CreateProjectHas2$outboundSchema: z.ZodType<
13712
+ CreateProjectHas2$Outbound,
13713
+ z.ZodTypeDef,
13714
+ CreateProjectHas2
13715
+ > = z.object({
13716
+ type: CreateProjectHasProjectsType$outboundSchema,
13717
+ value: z.lazy(() => CreateProjectHasProjectsValue$outboundSchema),
13718
+ });
13719
+
13720
+ /**
13721
+ * @internal
13722
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13723
+ */
13724
+ export namespace CreateProjectHas2$ {
13725
+ /** @deprecated use `CreateProjectHas2$inboundSchema` instead. */
13726
+ export const inboundSchema = CreateProjectHas2$inboundSchema;
13727
+ /** @deprecated use `CreateProjectHas2$outboundSchema` instead. */
13728
+ export const outboundSchema = CreateProjectHas2$outboundSchema;
13729
+ /** @deprecated use `CreateProjectHas2$Outbound` instead. */
13730
+ export type Outbound = CreateProjectHas2$Outbound;
13731
+ }
13732
+
13733
+ export function createProjectHas2ToJSON(
13734
+ createProjectHas2: CreateProjectHas2,
13735
+ ): string {
13736
+ return JSON.stringify(
13737
+ CreateProjectHas2$outboundSchema.parse(createProjectHas2),
13738
+ );
13739
+ }
13740
+
13741
+ export function createProjectHas2FromJSON(
13742
+ jsonString: string,
13743
+ ): SafeParseResult<CreateProjectHas2, SDKValidationError> {
13744
+ return safeParse(
13745
+ jsonString,
13746
+ (x) => CreateProjectHas2$inboundSchema.parse(JSON.parse(x)),
13747
+ `Failed to parse 'CreateProjectHas2' from JSON`,
13748
+ );
13749
+ }
13750
+
13751
+ /** @internal */
13752
+ export const CreateProjectHasType$inboundSchema: z.ZodNativeEnum<
13753
+ typeof CreateProjectHasType
13754
+ > = z.nativeEnum(CreateProjectHasType);
13755
+
13756
+ /** @internal */
13757
+ export const CreateProjectHasType$outboundSchema: z.ZodNativeEnum<
13758
+ typeof CreateProjectHasType
13759
+ > = CreateProjectHasType$inboundSchema;
13760
+
13761
+ /**
13762
+ * @internal
13763
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13764
+ */
13765
+ export namespace CreateProjectHasType$ {
13766
+ /** @deprecated use `CreateProjectHasType$inboundSchema` instead. */
13767
+ export const inboundSchema = CreateProjectHasType$inboundSchema;
13768
+ /** @deprecated use `CreateProjectHasType$outboundSchema` instead. */
13769
+ export const outboundSchema = CreateProjectHasType$outboundSchema;
13770
+ }
13771
+
13772
+ /** @internal */
13773
+ export const HasKey$inboundSchema: z.ZodNativeEnum<typeof HasKey> = z
13774
+ .nativeEnum(HasKey);
13775
+
13776
+ /** @internal */
13777
+ export const HasKey$outboundSchema: z.ZodNativeEnum<typeof HasKey> =
13778
+ HasKey$inboundSchema;
13779
+
13780
+ /**
13781
+ * @internal
13782
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13783
+ */
13784
+ export namespace HasKey$ {
13785
+ /** @deprecated use `HasKey$inboundSchema` instead. */
13786
+ export const inboundSchema = HasKey$inboundSchema;
13787
+ /** @deprecated use `HasKey$outboundSchema` instead. */
13788
+ export const outboundSchema = HasKey$outboundSchema;
13789
+ }
13790
+
13791
+ /** @internal */
13792
+ export const CreateProjectHasValue$inboundSchema: z.ZodType<
13793
+ CreateProjectHasValue,
13794
+ z.ZodTypeDef,
13795
+ unknown
13796
+ > = z.object({
13797
+ eq: z.string(),
13798
+ });
13799
+
13800
+ /** @internal */
13801
+ export type CreateProjectHasValue$Outbound = {
13802
+ eq: string;
13803
+ };
13804
+
13805
+ /** @internal */
13806
+ export const CreateProjectHasValue$outboundSchema: z.ZodType<
13807
+ CreateProjectHasValue$Outbound,
13808
+ z.ZodTypeDef,
13809
+ CreateProjectHasValue
13810
+ > = z.object({
13811
+ eq: z.string(),
13812
+ });
13813
+
13814
+ /**
13815
+ * @internal
13816
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13817
+ */
13818
+ export namespace CreateProjectHasValue$ {
13819
+ /** @deprecated use `CreateProjectHasValue$inboundSchema` instead. */
13820
+ export const inboundSchema = CreateProjectHasValue$inboundSchema;
13821
+ /** @deprecated use `CreateProjectHasValue$outboundSchema` instead. */
13822
+ export const outboundSchema = CreateProjectHasValue$outboundSchema;
13823
+ /** @deprecated use `CreateProjectHasValue$Outbound` instead. */
13824
+ export type Outbound = CreateProjectHasValue$Outbound;
13825
+ }
13826
+
13827
+ export function createProjectHasValueToJSON(
13828
+ createProjectHasValue: CreateProjectHasValue,
13829
+ ): string {
13830
+ return JSON.stringify(
13831
+ CreateProjectHasValue$outboundSchema.parse(createProjectHasValue),
13832
+ );
13833
+ }
13834
+
13835
+ export function createProjectHasValueFromJSON(
13836
+ jsonString: string,
13837
+ ): SafeParseResult<CreateProjectHasValue, SDKValidationError> {
13838
+ return safeParse(
13839
+ jsonString,
13840
+ (x) => CreateProjectHasValue$inboundSchema.parse(JSON.parse(x)),
13841
+ `Failed to parse 'CreateProjectHasValue' from JSON`,
13842
+ );
13843
+ }
13844
+
13845
+ /** @internal */
13846
+ export const CreateProjectHas1$inboundSchema: z.ZodType<
13847
+ CreateProjectHas1,
13848
+ z.ZodTypeDef,
13849
+ unknown
13850
+ > = z.object({
13851
+ type: CreateProjectHasType$inboundSchema,
13852
+ key: HasKey$inboundSchema,
13853
+ value: z.lazy(() => CreateProjectHasValue$inboundSchema),
13854
+ });
13855
+
13856
+ /** @internal */
13857
+ export type CreateProjectHas1$Outbound = {
13858
+ type: string;
13859
+ key: string;
13860
+ value: CreateProjectHasValue$Outbound;
13861
+ };
13862
+
13863
+ /** @internal */
13864
+ export const CreateProjectHas1$outboundSchema: z.ZodType<
13865
+ CreateProjectHas1$Outbound,
13866
+ z.ZodTypeDef,
13867
+ CreateProjectHas1
13868
+ > = z.object({
13869
+ type: CreateProjectHasType$outboundSchema,
13870
+ key: HasKey$outboundSchema,
13871
+ value: z.lazy(() => CreateProjectHasValue$outboundSchema),
13872
+ });
13873
+
13874
+ /**
13875
+ * @internal
13876
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13877
+ */
13878
+ export namespace CreateProjectHas1$ {
13879
+ /** @deprecated use `CreateProjectHas1$inboundSchema` instead. */
13880
+ export const inboundSchema = CreateProjectHas1$inboundSchema;
13881
+ /** @deprecated use `CreateProjectHas1$outboundSchema` instead. */
13882
+ export const outboundSchema = CreateProjectHas1$outboundSchema;
13883
+ /** @deprecated use `CreateProjectHas1$Outbound` instead. */
13884
+ export type Outbound = CreateProjectHas1$Outbound;
13885
+ }
13886
+
13887
+ export function createProjectHas1ToJSON(
13888
+ createProjectHas1: CreateProjectHas1,
13889
+ ): string {
13890
+ return JSON.stringify(
13891
+ CreateProjectHas1$outboundSchema.parse(createProjectHas1),
13892
+ );
13893
+ }
13894
+
13895
+ export function createProjectHas1FromJSON(
13896
+ jsonString: string,
13897
+ ): SafeParseResult<CreateProjectHas1, SDKValidationError> {
13898
+ return safeParse(
13899
+ jsonString,
13900
+ (x) => CreateProjectHas1$inboundSchema.parse(JSON.parse(x)),
13901
+ `Failed to parse 'CreateProjectHas1' from JSON`,
13902
+ );
13903
+ }
13904
+
13905
+ /** @internal */
13906
+ export const InternalRoutesHas$inboundSchema: z.ZodType<
13907
+ InternalRoutesHas,
13908
+ z.ZodTypeDef,
13909
+ unknown
13910
+ > = z.union([
13911
+ z.lazy(() => CreateProjectHas1$inboundSchema),
13912
+ z.lazy(() => CreateProjectHas2$inboundSchema),
13913
+ ]);
13914
+
13915
+ /** @internal */
13916
+ export type InternalRoutesHas$Outbound =
13917
+ | CreateProjectHas1$Outbound
13918
+ | CreateProjectHas2$Outbound;
13919
+
13920
+ /** @internal */
13921
+ export const InternalRoutesHas$outboundSchema: z.ZodType<
13922
+ InternalRoutesHas$Outbound,
13923
+ z.ZodTypeDef,
13924
+ InternalRoutesHas
13925
+ > = z.union([
13926
+ z.lazy(() => CreateProjectHas1$outboundSchema),
13927
+ z.lazy(() => CreateProjectHas2$outboundSchema),
13928
+ ]);
13929
+
13930
+ /**
13931
+ * @internal
13932
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13933
+ */
13934
+ export namespace InternalRoutesHas$ {
13935
+ /** @deprecated use `InternalRoutesHas$inboundSchema` instead. */
13936
+ export const inboundSchema = InternalRoutesHas$inboundSchema;
13937
+ /** @deprecated use `InternalRoutesHas$outboundSchema` instead. */
13938
+ export const outboundSchema = InternalRoutesHas$outboundSchema;
13939
+ /** @deprecated use `InternalRoutesHas$Outbound` instead. */
13940
+ export type Outbound = InternalRoutesHas$Outbound;
13941
+ }
13942
+
13943
+ export function internalRoutesHasToJSON(
13944
+ internalRoutesHas: InternalRoutesHas,
13945
+ ): string {
13946
+ return JSON.stringify(
13947
+ InternalRoutesHas$outboundSchema.parse(internalRoutesHas),
13948
+ );
13949
+ }
13950
+
13951
+ export function internalRoutesHasFromJSON(
13952
+ jsonString: string,
13953
+ ): SafeParseResult<InternalRoutesHas, SDKValidationError> {
13954
+ return safeParse(
13955
+ jsonString,
13956
+ (x) => InternalRoutesHas$inboundSchema.parse(JSON.parse(x)),
13957
+ `Failed to parse 'InternalRoutesHas' from JSON`,
13958
+ );
13959
+ }
13960
+
13961
+ /** @internal */
13962
+ export const CreateProjectInternalRoutesAction$inboundSchema: z.ZodNativeEnum<
13963
+ typeof CreateProjectInternalRoutesAction
13964
+ > = z.nativeEnum(CreateProjectInternalRoutesAction);
13965
+
13966
+ /** @internal */
13967
+ export const CreateProjectInternalRoutesAction$outboundSchema: z.ZodNativeEnum<
13968
+ typeof CreateProjectInternalRoutesAction
13969
+ > = CreateProjectInternalRoutesAction$inboundSchema;
13970
+
13971
+ /**
13972
+ * @internal
13973
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13974
+ */
13975
+ export namespace CreateProjectInternalRoutesAction$ {
13976
+ /** @deprecated use `CreateProjectInternalRoutesAction$inboundSchema` instead. */
13977
+ export const inboundSchema = CreateProjectInternalRoutesAction$inboundSchema;
13978
+ /** @deprecated use `CreateProjectInternalRoutesAction$outboundSchema` instead. */
13979
+ export const outboundSchema =
13980
+ CreateProjectInternalRoutesAction$outboundSchema;
13981
+ }
13982
+
13983
+ /** @internal */
13984
+ export const InternalRoutesMitigate$inboundSchema: z.ZodType<
13985
+ InternalRoutesMitigate,
13986
+ z.ZodTypeDef,
13987
+ unknown
13988
+ > = z.object({
13989
+ action: CreateProjectInternalRoutesAction$inboundSchema,
13990
+ });
13991
+
13992
+ /** @internal */
13993
+ export type InternalRoutesMitigate$Outbound = {
13994
+ action: string;
13995
+ };
13996
+
13997
+ /** @internal */
13998
+ export const InternalRoutesMitigate$outboundSchema: z.ZodType<
13999
+ InternalRoutesMitigate$Outbound,
14000
+ z.ZodTypeDef,
14001
+ InternalRoutesMitigate
14002
+ > = z.object({
14003
+ action: CreateProjectInternalRoutesAction$outboundSchema,
14004
+ });
14005
+
14006
+ /**
14007
+ * @internal
14008
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
14009
+ */
14010
+ export namespace InternalRoutesMitigate$ {
14011
+ /** @deprecated use `InternalRoutesMitigate$inboundSchema` instead. */
14012
+ export const inboundSchema = InternalRoutesMitigate$inboundSchema;
14013
+ /** @deprecated use `InternalRoutesMitigate$outboundSchema` instead. */
14014
+ export const outboundSchema = InternalRoutesMitigate$outboundSchema;
14015
+ /** @deprecated use `InternalRoutesMitigate$Outbound` instead. */
14016
+ export type Outbound = InternalRoutesMitigate$Outbound;
14017
+ }
14018
+
14019
+ export function internalRoutesMitigateToJSON(
14020
+ internalRoutesMitigate: InternalRoutesMitigate,
14021
+ ): string {
14022
+ return JSON.stringify(
14023
+ InternalRoutesMitigate$outboundSchema.parse(internalRoutesMitigate),
14024
+ );
14025
+ }
14026
+
14027
+ export function internalRoutesMitigateFromJSON(
14028
+ jsonString: string,
14029
+ ): SafeParseResult<InternalRoutesMitigate, SDKValidationError> {
14030
+ return safeParse(
14031
+ jsonString,
14032
+ (x) => InternalRoutesMitigate$inboundSchema.parse(JSON.parse(x)),
14033
+ `Failed to parse 'InternalRoutesMitigate' from JSON`,
14034
+ );
14035
+ }
14036
+
14037
+ /** @internal */
14038
+ export const CreateProjectInternalRoutes2$inboundSchema: z.ZodType<
14039
+ CreateProjectInternalRoutes2,
14040
+ z.ZodTypeDef,
14041
+ unknown
14042
+ > = z.object({
14043
+ has: z.array(
14044
+ z.union([
14045
+ z.lazy(() => CreateProjectHas1$inboundSchema),
14046
+ z.lazy(() => CreateProjectHas2$inboundSchema),
14047
+ ]),
14048
+ ),
14049
+ mitigate: z.lazy(() => InternalRoutesMitigate$inboundSchema),
14050
+ src: z.string().optional(),
14051
+ });
14052
+
14053
+ /** @internal */
14054
+ export type CreateProjectInternalRoutes2$Outbound = {
14055
+ has: Array<CreateProjectHas1$Outbound | CreateProjectHas2$Outbound>;
14056
+ mitigate: InternalRoutesMitigate$Outbound;
14057
+ src?: string | undefined;
14058
+ };
14059
+
14060
+ /** @internal */
14061
+ export const CreateProjectInternalRoutes2$outboundSchema: z.ZodType<
14062
+ CreateProjectInternalRoutes2$Outbound,
14063
+ z.ZodTypeDef,
14064
+ CreateProjectInternalRoutes2
14065
+ > = z.object({
14066
+ has: z.array(
14067
+ z.union([
14068
+ z.lazy(() => CreateProjectHas1$outboundSchema),
14069
+ z.lazy(() => CreateProjectHas2$outboundSchema),
14070
+ ]),
14071
+ ),
14072
+ mitigate: z.lazy(() => InternalRoutesMitigate$outboundSchema),
14073
+ src: z.string().optional(),
14074
+ });
14075
+
14076
+ /**
14077
+ * @internal
14078
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
14079
+ */
14080
+ export namespace CreateProjectInternalRoutes2$ {
14081
+ /** @deprecated use `CreateProjectInternalRoutes2$inboundSchema` instead. */
14082
+ export const inboundSchema = CreateProjectInternalRoutes2$inboundSchema;
14083
+ /** @deprecated use `CreateProjectInternalRoutes2$outboundSchema` instead. */
14084
+ export const outboundSchema = CreateProjectInternalRoutes2$outboundSchema;
14085
+ /** @deprecated use `CreateProjectInternalRoutes2$Outbound` instead. */
14086
+ export type Outbound = CreateProjectInternalRoutes2$Outbound;
14087
+ }
14088
+
14089
+ export function createProjectInternalRoutes2ToJSON(
14090
+ createProjectInternalRoutes2: CreateProjectInternalRoutes2,
14091
+ ): string {
14092
+ return JSON.stringify(
14093
+ CreateProjectInternalRoutes2$outboundSchema.parse(
14094
+ createProjectInternalRoutes2,
14095
+ ),
14096
+ );
14097
+ }
14098
+
14099
+ export function createProjectInternalRoutes2FromJSON(
14100
+ jsonString: string,
14101
+ ): SafeParseResult<CreateProjectInternalRoutes2, SDKValidationError> {
14102
+ return safeParse(
14103
+ jsonString,
14104
+ (x) => CreateProjectInternalRoutes2$inboundSchema.parse(JSON.parse(x)),
14105
+ `Failed to parse 'CreateProjectInternalRoutes2' from JSON`,
14106
+ );
14107
+ }
14108
+
14109
+ /** @internal */
14110
+ export const CreateProjectInternalRoutes1$inboundSchema: z.ZodType<
14111
+ CreateProjectInternalRoutes1,
14112
+ z.ZodTypeDef,
14113
+ unknown
14114
+ > = z.object({
14115
+ src: z.string(),
14116
+ status: z.number(),
14117
+ });
14118
+
14119
+ /** @internal */
14120
+ export type CreateProjectInternalRoutes1$Outbound = {
14121
+ src: string;
14122
+ status: number;
14123
+ };
14124
+
14125
+ /** @internal */
14126
+ export const CreateProjectInternalRoutes1$outboundSchema: z.ZodType<
14127
+ CreateProjectInternalRoutes1$Outbound,
14128
+ z.ZodTypeDef,
14129
+ CreateProjectInternalRoutes1
14130
+ > = z.object({
14131
+ src: z.string(),
14132
+ status: z.number(),
14133
+ });
14134
+
14135
+ /**
14136
+ * @internal
14137
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
14138
+ */
14139
+ export namespace CreateProjectInternalRoutes1$ {
14140
+ /** @deprecated use `CreateProjectInternalRoutes1$inboundSchema` instead. */
14141
+ export const inboundSchema = CreateProjectInternalRoutes1$inboundSchema;
14142
+ /** @deprecated use `CreateProjectInternalRoutes1$outboundSchema` instead. */
14143
+ export const outboundSchema = CreateProjectInternalRoutes1$outboundSchema;
14144
+ /** @deprecated use `CreateProjectInternalRoutes1$Outbound` instead. */
14145
+ export type Outbound = CreateProjectInternalRoutes1$Outbound;
14146
+ }
14147
+
14148
+ export function createProjectInternalRoutes1ToJSON(
14149
+ createProjectInternalRoutes1: CreateProjectInternalRoutes1,
14150
+ ): string {
14151
+ return JSON.stringify(
14152
+ CreateProjectInternalRoutes1$outboundSchema.parse(
14153
+ createProjectInternalRoutes1,
14154
+ ),
14155
+ );
14156
+ }
14157
+
14158
+ export function createProjectInternalRoutes1FromJSON(
14159
+ jsonString: string,
14160
+ ): SafeParseResult<CreateProjectInternalRoutes1, SDKValidationError> {
14161
+ return safeParse(
14162
+ jsonString,
14163
+ (x) => CreateProjectInternalRoutes1$inboundSchema.parse(JSON.parse(x)),
14164
+ `Failed to parse 'CreateProjectInternalRoutes1' from JSON`,
14165
+ );
14166
+ }
14167
+
14168
+ /** @internal */
14169
+ export const CreateProjectInternalRoutes$inboundSchema: z.ZodType<
14170
+ CreateProjectInternalRoutes,
14171
+ z.ZodTypeDef,
14172
+ unknown
14173
+ > = z.union([
14174
+ z.lazy(() => CreateProjectInternalRoutes1$inboundSchema),
14175
+ z.lazy(() => CreateProjectInternalRoutes2$inboundSchema),
14176
+ ]);
14177
+
14178
+ /** @internal */
14179
+ export type CreateProjectInternalRoutes$Outbound =
14180
+ | CreateProjectInternalRoutes1$Outbound
14181
+ | CreateProjectInternalRoutes2$Outbound;
14182
+
14183
+ /** @internal */
14184
+ export const CreateProjectInternalRoutes$outboundSchema: z.ZodType<
14185
+ CreateProjectInternalRoutes$Outbound,
14186
+ z.ZodTypeDef,
14187
+ CreateProjectInternalRoutes
14188
+ > = z.union([
14189
+ z.lazy(() => CreateProjectInternalRoutes1$outboundSchema),
14190
+ z.lazy(() => CreateProjectInternalRoutes2$outboundSchema),
14191
+ ]);
14192
+
14193
+ /**
14194
+ * @internal
14195
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
14196
+ */
14197
+ export namespace CreateProjectInternalRoutes$ {
14198
+ /** @deprecated use `CreateProjectInternalRoutes$inboundSchema` instead. */
14199
+ export const inboundSchema = CreateProjectInternalRoutes$inboundSchema;
14200
+ /** @deprecated use `CreateProjectInternalRoutes$outboundSchema` instead. */
14201
+ export const outboundSchema = CreateProjectInternalRoutes$outboundSchema;
14202
+ /** @deprecated use `CreateProjectInternalRoutes$Outbound` instead. */
14203
+ export type Outbound = CreateProjectInternalRoutes$Outbound;
14204
+ }
14205
+
14206
+ export function createProjectInternalRoutesToJSON(
14207
+ createProjectInternalRoutes: CreateProjectInternalRoutes,
14208
+ ): string {
14209
+ return JSON.stringify(
14210
+ CreateProjectInternalRoutes$outboundSchema.parse(
14211
+ createProjectInternalRoutes,
14212
+ ),
14213
+ );
14214
+ }
14215
+
14216
+ export function createProjectInternalRoutesFromJSON(
14217
+ jsonString: string,
14218
+ ): SafeParseResult<CreateProjectInternalRoutes, SDKValidationError> {
14219
+ return safeParse(
14220
+ jsonString,
14221
+ (x) => CreateProjectInternalRoutes$inboundSchema.parse(JSON.parse(x)),
14222
+ `Failed to parse 'CreateProjectInternalRoutes' from JSON`,
14223
+ );
14224
+ }
14225
+
14226
+ /** @internal */
14227
+ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
14228
+ CreateProjectResponseBody,
14229
+ z.ZodTypeDef,
14230
+ unknown
14231
+ > = z.object({
14232
+ accountId: z.string(),
14233
+ analytics: z.lazy(() => CreateProjectAnalytics$inboundSchema).optional(),
14234
+ speedInsights: z.lazy(() => CreateProjectSpeedInsights$inboundSchema)
14235
+ .optional(),
14236
+ autoExposeSystemEnvs: z.boolean().optional(),
14237
+ autoAssignCustomDomains: z.boolean().optional(),
14238
+ autoAssignCustomDomainsUpdatedBy: z.string().optional(),
14239
+ buildCommand: z.nullable(z.string()).optional(),
14240
+ commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
14241
+ connectConfigurations: z.nullable(
14242
+ z.array(z.lazy(() => CreateProjectConnectConfigurations$inboundSchema)),
14243
+ ).optional(),
14244
+ connectConfigurationId: z.nullable(z.string()).optional(),
14245
+ connectBuildsEnabled: z.boolean().optional(),
14246
+ passiveConnectConfigurationId: z.nullable(z.string()).optional(),
14247
+ createdAt: z.number().optional(),
14248
+ customerSupportCodeVisibility: z.boolean().optional(),
14249
+ crons: z.lazy(() => CreateProjectCrons$inboundSchema).optional(),
14250
+ dataCache: z.lazy(() => CreateProjectDataCache$inboundSchema).optional(),
14251
+ deploymentExpiration: z.nullable(
14252
+ z.lazy(() => CreateProjectDeploymentExpiration$inboundSchema),
11297
14253
  ).optional(),
11298
14254
  devCommand: z.nullable(z.string()).optional(),
11299
14255
  directoryListing: z.boolean(),
@@ -11313,9 +14269,9 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
11313
14269
  z.lazy(() => CreateProjectLatestDeployments$inboundSchema),
11314
14270
  ).optional(),
11315
14271
  link: z.union([
11316
- z.lazy(() => CreateProjectLink3$inboundSchema),
11317
14272
  z.lazy(() => CreateProjectLink4$inboundSchema),
11318
14273
  z.lazy(() => CreateProjectLink5$inboundSchema),
14274
+ z.lazy(() => CreateProjectLink3$inboundSchema),
11319
14275
  z.lazy(() => CreateProjectLink1$inboundSchema),
11320
14276
  z.lazy(() => CreateProjectLink2$inboundSchema),
11321
14277
  ]).optional(),
@@ -11401,6 +14357,13 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
11401
14357
  tier: CreateProjectTier$inboundSchema.optional(),
11402
14358
  features: z.lazy(() => CreateProjectFeatures$inboundSchema).optional(),
11403
14359
  v0: z.boolean().optional(),
14360
+ abuse: z.lazy(() => CreateProjectAbuse$inboundSchema).optional(),
14361
+ internalRoutes: z.array(
14362
+ z.union([
14363
+ z.lazy(() => CreateProjectInternalRoutes1$inboundSchema),
14364
+ z.lazy(() => CreateProjectInternalRoutes2$inboundSchema),
14365
+ ]),
14366
+ ).optional(),
11404
14367
  });
11405
14368
 
11406
14369
  /** @internal */
@@ -11444,9 +14407,9 @@ export type CreateProjectResponseBody$Outbound = {
11444
14407
  | Array<CreateProjectLatestDeployments$Outbound>
11445
14408
  | undefined;
11446
14409
  link?:
11447
- | CreateProjectLink3$Outbound
11448
14410
  | CreateProjectLink4$Outbound
11449
14411
  | CreateProjectLink5$Outbound
14412
+ | CreateProjectLink3$Outbound
11450
14413
  | CreateProjectLink1$Outbound
11451
14414
  | CreateProjectLink2$Outbound
11452
14415
  | undefined;
@@ -11515,6 +14478,13 @@ export type CreateProjectResponseBody$Outbound = {
11515
14478
  tier?: string | undefined;
11516
14479
  features?: CreateProjectFeatures$Outbound | undefined;
11517
14480
  v0?: boolean | undefined;
14481
+ abuse?: CreateProjectAbuse$Outbound | undefined;
14482
+ internalRoutes?:
14483
+ | Array<
14484
+ | CreateProjectInternalRoutes1$Outbound
14485
+ | CreateProjectInternalRoutes2$Outbound
14486
+ >
14487
+ | undefined;
11518
14488
  };
11519
14489
 
11520
14490
  /** @internal */
@@ -11563,9 +14533,9 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
11563
14533
  z.lazy(() => CreateProjectLatestDeployments$outboundSchema),
11564
14534
  ).optional(),
11565
14535
  link: z.union([
11566
- z.lazy(() => CreateProjectLink3$outboundSchema),
11567
14536
  z.lazy(() => CreateProjectLink4$outboundSchema),
11568
14537
  z.lazy(() => CreateProjectLink5$outboundSchema),
14538
+ z.lazy(() => CreateProjectLink3$outboundSchema),
11569
14539
  z.lazy(() => CreateProjectLink1$outboundSchema),
11570
14540
  z.lazy(() => CreateProjectLink2$outboundSchema),
11571
14541
  ]).optional(),
@@ -11651,6 +14621,13 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
11651
14621
  tier: CreateProjectTier$outboundSchema.optional(),
11652
14622
  features: z.lazy(() => CreateProjectFeatures$outboundSchema).optional(),
11653
14623
  v0: z.boolean().optional(),
14624
+ abuse: z.lazy(() => CreateProjectAbuse$outboundSchema).optional(),
14625
+ internalRoutes: z.array(
14626
+ z.union([
14627
+ z.lazy(() => CreateProjectInternalRoutes1$outboundSchema),
14628
+ z.lazy(() => CreateProjectInternalRoutes2$outboundSchema),
14629
+ ]),
14630
+ ).optional(),
11654
14631
  });
11655
14632
 
11656
14633
  /**