@vercel/sdk 1.10.7 → 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 (119) hide show
  1. package/bin/mcp-server.js +3751 -930
  2. package/bin/mcp-server.js.map +23 -23
  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 +11 -4
  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 +1 -1
  11. package/esm/__tests__/security.test.js +11 -1
  12. package/esm/__tests__/security.test.js.map +1 -1
  13. package/esm/__tests__/teams.test.js +2 -2
  14. package/esm/__tests__/teams.test.js.map +1 -1
  15. package/esm/lib/config.d.ts +3 -3
  16. package/esm/lib/config.js +3 -3
  17. package/esm/mcp-server/mcp-server.js +1 -1
  18. package/esm/mcp-server/server.js +1 -1
  19. package/esm/models/canceldeploymentop.d.ts +41 -41
  20. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  21. package/esm/models/canceldeploymentop.js +43 -41
  22. package/esm/models/canceldeploymentop.js.map +1 -1
  23. package/esm/models/createdeploymentop.d.ts +98 -98
  24. package/esm/models/createdeploymentop.d.ts.map +1 -1
  25. package/esm/models/createdeploymentop.js +113 -117
  26. package/esm/models/createdeploymentop.js.map +1 -1
  27. package/esm/models/createintegrationstoredirectop.d.ts +240 -240
  28. package/esm/models/createintegrationstoredirectop.js +294 -294
  29. package/esm/models/createortransferdomainop.d.ts +33 -0
  30. package/esm/models/createortransferdomainop.d.ts.map +1 -1
  31. package/esm/models/createortransferdomainop.js +23 -0
  32. package/esm/models/createortransferdomainop.js.map +1 -1
  33. package/esm/models/createprojectop.d.ts +1626 -281
  34. package/esm/models/createprojectop.d.ts.map +1 -1
  35. package/esm/models/createprojectop.js +1676 -298
  36. package/esm/models/createprojectop.js.map +1 -1
  37. package/esm/models/createwebhookop.d.ts +72 -66
  38. package/esm/models/createwebhookop.d.ts.map +1 -1
  39. package/esm/models/createwebhookop.js +24 -22
  40. package/esm/models/createwebhookop.js.map +1 -1
  41. package/esm/models/getconfigurationproductsop.d.ts +330 -330
  42. package/esm/models/getconfigurationproductsop.js +408 -408
  43. package/esm/models/getdeploymentop.d.ts +16 -16
  44. package/esm/models/getdeploymentop.d.ts.map +1 -1
  45. package/esm/models/getdeploymentop.js +24 -24
  46. package/esm/models/getdeploymentop.js.map +1 -1
  47. package/esm/models/getdomainop.d.ts +33 -0
  48. package/esm/models/getdomainop.d.ts.map +1 -1
  49. package/esm/models/getdomainop.js +24 -0
  50. package/esm/models/getdomainop.js.map +1 -1
  51. package/esm/models/getdomainsop.d.ts +33 -0
  52. package/esm/models/getdomainsop.d.ts.map +1 -1
  53. package/esm/models/getdomainsop.js +23 -0
  54. package/esm/models/getdomainsop.js.map +1 -1
  55. package/esm/models/getprojectsop.d.ts +1402 -57
  56. package/esm/models/getprojectsop.d.ts.map +1 -1
  57. package/esm/models/getprojectsop.js +1575 -202
  58. package/esm/models/getprojectsop.js.map +1 -1
  59. package/esm/models/getwebhookop.d.ts +36 -33
  60. package/esm/models/getwebhookop.d.ts.map +1 -1
  61. package/esm/models/getwebhookop.js +12 -11
  62. package/esm/models/getwebhookop.js.map +1 -1
  63. package/esm/models/getwebhooksop.d.ts +72 -66
  64. package/esm/models/getwebhooksop.d.ts.map +1 -1
  65. package/esm/models/getwebhooksop.js +24 -22
  66. package/esm/models/getwebhooksop.js.map +1 -1
  67. package/esm/models/listaccessgroupsop.d.ts +2 -5
  68. package/esm/models/listaccessgroupsop.d.ts.map +1 -1
  69. package/esm/models/listaccessgroupsop.js +2 -2
  70. package/esm/models/listaccessgroupsop.js.map +1 -1
  71. package/esm/models/readaccessgroupop.d.ts +48 -5
  72. package/esm/models/readaccessgroupop.d.ts.map +1 -1
  73. package/esm/models/readaccessgroupop.js +30 -2
  74. package/esm/models/readaccessgroupop.js.map +1 -1
  75. package/esm/models/team.d.ts +35 -18
  76. package/esm/models/team.d.ts.map +1 -1
  77. package/esm/models/team.js +15 -13
  78. package/esm/models/team.js.map +1 -1
  79. package/esm/models/updateprojectdatacacheop.d.ts +1402 -57
  80. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  81. package/esm/models/updateprojectdatacacheop.js +1584 -200
  82. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  83. package/esm/models/updateprojectop.d.ts +1402 -57
  84. package/esm/models/updateprojectop.d.ts.map +1 -1
  85. package/esm/models/updateprojectop.js +1579 -202
  86. package/esm/models/updateprojectop.js.map +1 -1
  87. package/examples/package-lock.json +1 -1
  88. package/examples/projectsUpdateProject.example.ts +1 -1
  89. package/jsr.json +1 -1
  90. package/package.json +1 -1
  91. package/src/__tests__/accessgroups.test.ts +6 -6
  92. package/src/__tests__/domains.test.ts +11 -4
  93. package/src/__tests__/edgeconfig.test.ts +6 -6
  94. package/src/__tests__/integrations.test.ts +1 -1
  95. package/src/__tests__/rollingrelease.test.ts +1 -1
  96. package/src/__tests__/security.test.ts +11 -1
  97. package/src/__tests__/teams.test.ts +2 -2
  98. package/src/lib/config.ts +3 -3
  99. package/src/mcp-server/mcp-server.ts +1 -1
  100. package/src/mcp-server/server.ts +1 -1
  101. package/src/models/canceldeploymentop.ts +84 -64
  102. package/src/models/createdeploymentop.ts +239 -192
  103. package/src/models/createintegrationstoredirectop.ts +505 -505
  104. package/src/models/createortransferdomainop.ts +41 -0
  105. package/src/models/createprojectop.ts +3443 -466
  106. package/src/models/createwebhookop.ts +24 -22
  107. package/src/models/getconfigurationproductsop.ts +703 -703
  108. package/src/models/getdeploymentop.ts +34 -34
  109. package/src/models/getdomainop.ts +37 -0
  110. package/src/models/getdomainsop.ts +39 -0
  111. package/src/models/getprojectsop.ts +3255 -300
  112. package/src/models/getwebhookop.ts +12 -11
  113. package/src/models/getwebhooksop.ts +24 -22
  114. package/src/models/listaccessgroupsop.ts +4 -7
  115. package/src/models/readaccessgroupop.ts +42 -7
  116. package/src/models/team.ts +47 -28
  117. package/src/models/updateprojectdatacacheop.ts +3184 -307
  118. package/src/models/updateprojectop.ts +3290 -298
  119. package/vercel-spec.json +4916 -2034
@@ -884,7 +884,7 @@ export type GetProjectsLatestDeployments = {
884
884
  };
885
885
 
886
886
  export const GetProjectsLinkProjectsResponse200ApplicationJSONType = {
887
- GithubCustomHost: "github-custom-host",
887
+ Bitbucket: "bitbucket",
888
888
  } as const;
889
889
  export type GetProjectsLinkProjectsResponse200ApplicationJSONType = ClosedEnum<
890
890
  typeof GetProjectsLinkProjectsResponse200ApplicationJSONType
@@ -899,15 +899,12 @@ export type GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks = {
899
899
  };
900
900
 
901
901
  export type GetProjectsLink5 = {
902
- org: string;
903
- /**
904
- * 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.
905
- */
906
- repoOwnerId?: number | undefined;
907
- repo?: string | undefined;
908
- repoId?: number | undefined;
902
+ name: string;
903
+ slug: string;
904
+ owner: string;
909
905
  type: GetProjectsLinkProjectsResponse200ApplicationJSONType;
910
- host: string;
906
+ uuid: string;
907
+ workspaceUuid: string;
911
908
  createdAt?: number | undefined;
912
909
  deployHooks: Array<
913
910
  GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks
@@ -919,7 +916,7 @@ export type GetProjectsLink5 = {
919
916
  };
920
917
 
921
918
  export const GetProjectsLinkProjectsResponse200Type = {
922
- Bitbucket: "bitbucket",
919
+ Gitlab: "gitlab",
923
920
  } as const;
924
921
  export type GetProjectsLinkProjectsResponse200Type = ClosedEnum<
925
922
  typeof GetProjectsLinkProjectsResponse200Type
@@ -934,12 +931,16 @@ export type GetProjectsLinkProjectsResponse200DeployHooks = {
934
931
  };
935
932
 
936
933
  export type GetProjectsLink4 = {
937
- name: string;
938
- slug: string;
939
- owner: string;
934
+ projectId: string;
935
+ projectName: string;
936
+ projectNameWithNamespace: string;
937
+ projectNamespace: string;
938
+ /**
939
+ * 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).
940
+ */
941
+ projectOwnerId?: number | undefined;
942
+ projectUrl: string;
940
943
  type: GetProjectsLinkProjectsResponse200Type;
941
- uuid: string;
942
- workspaceUuid: string;
943
944
  createdAt?: number | undefined;
944
945
  deployHooks: Array<GetProjectsLinkProjectsResponse200DeployHooks>;
945
946
  gitCredentialId: string;
@@ -949,7 +950,7 @@ export type GetProjectsLink4 = {
949
950
  };
950
951
 
951
952
  export const GetProjectsLinkProjectsResponseType = {
952
- Gitlab: "gitlab",
953
+ GithubCustomHost: "github-custom-host",
953
954
  } as const;
954
955
  export type GetProjectsLinkProjectsResponseType = ClosedEnum<
955
956
  typeof GetProjectsLinkProjectsResponseType
@@ -964,16 +965,15 @@ export type GetProjectsLinkProjectsResponseDeployHooks = {
964
965
  };
965
966
 
966
967
  export type GetProjectsLink3 = {
967
- projectId: string;
968
- projectName: string;
969
- projectNameWithNamespace: string;
970
- projectNamespace: string;
968
+ org: string;
971
969
  /**
972
- * 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).
970
+ * 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.
973
971
  */
974
- projectOwnerId?: number | undefined;
975
- projectUrl: string;
972
+ repoOwnerId?: number | undefined;
973
+ repo?: string | undefined;
974
+ repoId?: number | undefined;
976
975
  type: GetProjectsLinkProjectsResponseType;
976
+ host: string;
977
977
  createdAt?: number | undefined;
978
978
  deployHooks: Array<GetProjectsLinkProjectsResponseDeployHooks>;
979
979
  gitCredentialId: string;
@@ -1045,9 +1045,9 @@ export type GetProjectsLink1 = {
1045
1045
  };
1046
1046
 
1047
1047
  export type GetProjectsLink =
1048
- | GetProjectsLink3
1049
1048
  | GetProjectsLink4
1050
1049
  | GetProjectsLink5
1050
+ | GetProjectsLink3
1051
1051
  | GetProjectsLink1
1052
1052
  | GetProjectsLink2;
1053
1053
 
@@ -1553,6 +1553,7 @@ export type GetProjectsPermissions = {
1553
1553
  notificationCustomerBudget?: Array<ACLAction> | undefined;
1554
1554
  notificationStatementOfReasons?: Array<ACLAction> | undefined;
1555
1555
  observabilityConfiguration?: Array<ACLAction> | undefined;
1556
+ alerts?: Array<ACLAction> | undefined;
1556
1557
  observabilityNotebook?: Array<ACLAction> | undefined;
1557
1558
  observabilityFunnel?: Array<ACLAction> | undefined;
1558
1559
  openTelemetryEndpoint?: Array<ACLAction> | undefined;
@@ -1770,16 +1771,18 @@ export type GetProjectsWebAnalytics = {
1770
1771
  hasData?: boolean | undefined;
1771
1772
  };
1772
1773
 
1773
- export const GetProjectsAction = {
1774
+ export const GetProjectsProjectsResponse200Action = {
1774
1775
  Log: "log",
1775
1776
  Challenge: "challenge",
1776
1777
  Deny: "deny",
1777
1778
  } as const;
1778
- export type GetProjectsAction = ClosedEnum<typeof GetProjectsAction>;
1779
+ export type GetProjectsProjectsResponse200Action = ClosedEnum<
1780
+ typeof GetProjectsProjectsResponse200Action
1781
+ >;
1779
1782
 
1780
1783
  export type GetProjectsBotFilter = {
1781
1784
  active: boolean;
1782
- action?: GetProjectsAction | undefined;
1785
+ action?: GetProjectsProjectsResponse200Action | undefined;
1783
1786
  };
1784
1787
 
1785
1788
  export const GetProjectsProjectsAction = {
@@ -1865,6 +1868,326 @@ export type GetProjectsFeatures = {
1865
1868
  webAnalytics?: boolean | undefined;
1866
1869
  };
1867
1870
 
1871
+ export type GetProjectsHistory = {
1872
+ scanner: string;
1873
+ reason: string;
1874
+ by: string;
1875
+ byId: string;
1876
+ at: number;
1877
+ };
1878
+
1879
+ export const GetProjectsAction = {
1880
+ Blocked: "blocked",
1881
+ } as const;
1882
+ export type GetProjectsAction = ClosedEnum<typeof GetProjectsAction>;
1883
+
1884
+ export type GetProjectsBlock = {
1885
+ action: GetProjectsAction;
1886
+ reason: string;
1887
+ statusCode: number;
1888
+ createdAt: number;
1889
+ caseId?: string | undefined;
1890
+ actor?: string | undefined;
1891
+ comment?: string | undefined;
1892
+ isCascading?: boolean | undefined;
1893
+ };
1894
+
1895
+ export const GetProjectsBlockHistoryProjectsResponse200Action = {
1896
+ RouteUnblocked: "route-unblocked",
1897
+ } as const;
1898
+ export type GetProjectsBlockHistoryProjectsResponse200Action = ClosedEnum<
1899
+ typeof GetProjectsBlockHistoryProjectsResponse200Action
1900
+ >;
1901
+
1902
+ export const GetProjectsHasProjectsResponse200Type = {
1903
+ Host: "host",
1904
+ } as const;
1905
+ export type GetProjectsHasProjectsResponse200Type = ClosedEnum<
1906
+ typeof GetProjectsHasProjectsResponse200Type
1907
+ >;
1908
+
1909
+ export type GetProjectsHasProjectsResponse200Value = {
1910
+ eq: string;
1911
+ };
1912
+
1913
+ export type GetProjectsHasProjects2 = {
1914
+ type: GetProjectsHasProjectsResponse200Type;
1915
+ value: GetProjectsHasProjectsResponse200Value;
1916
+ };
1917
+
1918
+ export const GetProjectsHasProjectsResponseType = {
1919
+ Header: "header",
1920
+ } as const;
1921
+ export type GetProjectsHasProjectsResponseType = ClosedEnum<
1922
+ typeof GetProjectsHasProjectsResponseType
1923
+ >;
1924
+
1925
+ export const GetProjectsHasProjectsKey = {
1926
+ XVercelIpCountry: "x-vercel-ip-country",
1927
+ } as const;
1928
+ export type GetProjectsHasProjectsKey = ClosedEnum<
1929
+ typeof GetProjectsHasProjectsKey
1930
+ >;
1931
+
1932
+ export type GetProjectsHasProjectsResponseValue = {
1933
+ eq: string;
1934
+ };
1935
+
1936
+ export type GetProjectsHasProjects1 = {
1937
+ type: GetProjectsHasProjectsResponseType;
1938
+ key: GetProjectsHasProjectsKey;
1939
+ value: GetProjectsHasProjectsResponseValue;
1940
+ };
1941
+
1942
+ export type GetProjectsRouteProjectsHas =
1943
+ | GetProjectsHasProjects1
1944
+ | GetProjectsHasProjects2;
1945
+
1946
+ export const GetProjectsRouteProjectsAction = {
1947
+ BlockLegalCwc: "block_legal_cwc",
1948
+ } as const;
1949
+ export type GetProjectsRouteProjectsAction = ClosedEnum<
1950
+ typeof GetProjectsRouteProjectsAction
1951
+ >;
1952
+
1953
+ export type GetProjectsRouteProjectsMitigate = {
1954
+ action: GetProjectsRouteProjectsAction;
1955
+ };
1956
+
1957
+ export type GetProjectsRouteProjects2 = {
1958
+ has: Array<GetProjectsHasProjects1 | GetProjectsHasProjects2>;
1959
+ mitigate: GetProjectsRouteProjectsMitigate;
1960
+ src?: string | undefined;
1961
+ };
1962
+
1963
+ export type GetProjectsRouteProjects1 = {
1964
+ src: string;
1965
+ status: number;
1966
+ };
1967
+
1968
+ export type GetProjectsBlockHistoryProjectsRoute =
1969
+ | GetProjectsRouteProjects1
1970
+ | GetProjectsRouteProjects2;
1971
+
1972
+ export type GetProjectsBlockHistory4 = {
1973
+ action: GetProjectsBlockHistoryProjectsResponse200Action;
1974
+ route: GetProjectsRouteProjects1 | GetProjectsRouteProjects2;
1975
+ statusCode?: number | undefined;
1976
+ createdAt: number;
1977
+ caseId?: string | undefined;
1978
+ actor?: string | undefined;
1979
+ comment?: string | undefined;
1980
+ isCascading?: boolean | undefined;
1981
+ };
1982
+
1983
+ export const GetProjectsBlockHistoryProjectsResponseAction = {
1984
+ RouteBlocked: "route-blocked",
1985
+ } as const;
1986
+ export type GetProjectsBlockHistoryProjectsResponseAction = ClosedEnum<
1987
+ typeof GetProjectsBlockHistoryProjectsResponseAction
1988
+ >;
1989
+
1990
+ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType =
1991
+ {
1992
+ Host: "host",
1993
+ } as const;
1994
+ export type GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType =
1995
+ ClosedEnum<
1996
+ typeof GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType
1997
+ >;
1998
+
1999
+ export type GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue =
2000
+ {
2001
+ eq: string;
2002
+ };
2003
+
2004
+ export type GetProjectsHasProjectsResponse2 = {
2005
+ type: GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType;
2006
+ value: GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue;
2007
+ };
2008
+
2009
+ export const GetProjectsHasProjectsResponse200ApplicationJSONType = {
2010
+ Header: "header",
2011
+ } as const;
2012
+ export type GetProjectsHasProjectsResponse200ApplicationJSONType = ClosedEnum<
2013
+ typeof GetProjectsHasProjectsResponse200ApplicationJSONType
2014
+ >;
2015
+
2016
+ export const GetProjectsHasProjectsResponseKey = {
2017
+ XVercelIpCountry: "x-vercel-ip-country",
2018
+ } as const;
2019
+ export type GetProjectsHasProjectsResponseKey = ClosedEnum<
2020
+ typeof GetProjectsHasProjectsResponseKey
2021
+ >;
2022
+
2023
+ export type GetProjectsHasProjectsResponse200ApplicationJSONValue = {
2024
+ eq: string;
2025
+ };
2026
+
2027
+ export type GetProjectsHasProjectsResponse1 = {
2028
+ type: GetProjectsHasProjectsResponse200ApplicationJSONType;
2029
+ key: GetProjectsHasProjectsResponseKey;
2030
+ value: GetProjectsHasProjectsResponse200ApplicationJSONValue;
2031
+ };
2032
+
2033
+ export type GetProjectsRouteHas =
2034
+ | GetProjectsHasProjectsResponse1
2035
+ | GetProjectsHasProjectsResponse2;
2036
+
2037
+ export const GetProjectsRouteAction = {
2038
+ BlockLegalCwc: "block_legal_cwc",
2039
+ } as const;
2040
+ export type GetProjectsRouteAction = ClosedEnum<typeof GetProjectsRouteAction>;
2041
+
2042
+ export type GetProjectsRouteMitigate = {
2043
+ action: GetProjectsRouteAction;
2044
+ };
2045
+
2046
+ export type GetProjectsRoute2 = {
2047
+ has: Array<GetProjectsHasProjectsResponse1 | GetProjectsHasProjectsResponse2>;
2048
+ mitigate: GetProjectsRouteMitigate;
2049
+ src?: string | undefined;
2050
+ };
2051
+
2052
+ export type GetProjectsRoute1 = {
2053
+ src: string;
2054
+ status: number;
2055
+ };
2056
+
2057
+ export type GetProjectsBlockHistoryRoute =
2058
+ | GetProjectsRoute1
2059
+ | GetProjectsRoute2;
2060
+
2061
+ export type GetProjectsBlockHistory3 = {
2062
+ action: GetProjectsBlockHistoryProjectsResponseAction;
2063
+ route: GetProjectsRoute1 | GetProjectsRoute2;
2064
+ reason: string;
2065
+ createdAt: number;
2066
+ caseId?: string | undefined;
2067
+ actor?: string | undefined;
2068
+ comment?: string | undefined;
2069
+ isCascading?: boolean | undefined;
2070
+ };
2071
+
2072
+ export const GetProjectsBlockHistoryProjectsAction = {
2073
+ Unblocked: "unblocked",
2074
+ } as const;
2075
+ export type GetProjectsBlockHistoryProjectsAction = ClosedEnum<
2076
+ typeof GetProjectsBlockHistoryProjectsAction
2077
+ >;
2078
+
2079
+ export type GetProjectsBlockHistory2 = {
2080
+ action: GetProjectsBlockHistoryProjectsAction;
2081
+ createdAt: number;
2082
+ caseId?: string | undefined;
2083
+ actor?: string | undefined;
2084
+ comment?: string | undefined;
2085
+ isCascading?: boolean | undefined;
2086
+ };
2087
+
2088
+ export const GetProjectsBlockHistoryAction = {
2089
+ Blocked: "blocked",
2090
+ } as const;
2091
+ export type GetProjectsBlockHistoryAction = ClosedEnum<
2092
+ typeof GetProjectsBlockHistoryAction
2093
+ >;
2094
+
2095
+ export type GetProjectsBlockHistory1 = {
2096
+ action: GetProjectsBlockHistoryAction;
2097
+ reason: string;
2098
+ statusCode: number;
2099
+ createdAt: number;
2100
+ caseId?: string | undefined;
2101
+ actor?: string | undefined;
2102
+ comment?: string | undefined;
2103
+ isCascading?: boolean | undefined;
2104
+ };
2105
+
2106
+ export type GetProjectsBlockHistory =
2107
+ | GetProjectsBlockHistory1
2108
+ | GetProjectsBlockHistory3
2109
+ | GetProjectsBlockHistory4
2110
+ | GetProjectsBlockHistory2;
2111
+
2112
+ export type GetProjectsAbuse = {
2113
+ scanner?: string | undefined;
2114
+ history: Array<GetProjectsHistory>;
2115
+ updatedAt: number;
2116
+ block?: GetProjectsBlock | undefined;
2117
+ blockHistory?:
2118
+ | Array<
2119
+ | GetProjectsBlockHistory1
2120
+ | GetProjectsBlockHistory3
2121
+ | GetProjectsBlockHistory4
2122
+ | GetProjectsBlockHistory2
2123
+ >
2124
+ | undefined;
2125
+ };
2126
+
2127
+ export const GetProjectsHasProjectsType = {
2128
+ Host: "host",
2129
+ } as const;
2130
+ export type GetProjectsHasProjectsType = ClosedEnum<
2131
+ typeof GetProjectsHasProjectsType
2132
+ >;
2133
+
2134
+ export type GetProjectsHasProjectsValue = {
2135
+ eq: string;
2136
+ };
2137
+
2138
+ export type GetProjectsHas2 = {
2139
+ type: GetProjectsHasProjectsType;
2140
+ value: GetProjectsHasProjectsValue;
2141
+ };
2142
+
2143
+ export const GetProjectsHasType = {
2144
+ Header: "header",
2145
+ } as const;
2146
+ export type GetProjectsHasType = ClosedEnum<typeof GetProjectsHasType>;
2147
+
2148
+ export const GetProjectsHasKey = {
2149
+ XVercelIpCountry: "x-vercel-ip-country",
2150
+ } as const;
2151
+ export type GetProjectsHasKey = ClosedEnum<typeof GetProjectsHasKey>;
2152
+
2153
+ export type GetProjectsHasValue = {
2154
+ eq: string;
2155
+ };
2156
+
2157
+ export type GetProjectsHas1 = {
2158
+ type: GetProjectsHasType;
2159
+ key: GetProjectsHasKey;
2160
+ value: GetProjectsHasValue;
2161
+ };
2162
+
2163
+ export type GetProjectsInternalRoutesHas = GetProjectsHas1 | GetProjectsHas2;
2164
+
2165
+ export const GetProjectsInternalRoutesAction = {
2166
+ BlockLegalCwc: "block_legal_cwc",
2167
+ } as const;
2168
+ export type GetProjectsInternalRoutesAction = ClosedEnum<
2169
+ typeof GetProjectsInternalRoutesAction
2170
+ >;
2171
+
2172
+ export type GetProjectsInternalRoutesMitigate = {
2173
+ action: GetProjectsInternalRoutesAction;
2174
+ };
2175
+
2176
+ export type GetProjectsInternalRoutes2 = {
2177
+ has: Array<GetProjectsHas1 | GetProjectsHas2>;
2178
+ mitigate: GetProjectsInternalRoutesMitigate;
2179
+ src?: string | undefined;
2180
+ };
2181
+
2182
+ export type GetProjectsInternalRoutes1 = {
2183
+ src: string;
2184
+ status: number;
2185
+ };
2186
+
2187
+ export type GetProjectsInternalRoutes =
2188
+ | GetProjectsInternalRoutes1
2189
+ | GetProjectsInternalRoutes2;
2190
+
1868
2191
  export type GetProjectsProjects = {
1869
2192
  accountId: string;
1870
2193
  analytics?: GetProjectsAnalytics | undefined;
@@ -1901,9 +2224,9 @@ export type GetProjectsProjects = {
1901
2224
  ipBuckets?: Array<GetProjectsIpBuckets> | undefined;
1902
2225
  latestDeployments?: Array<GetProjectsLatestDeployments> | undefined;
1903
2226
  link?:
1904
- | GetProjectsLink3
1905
2227
  | GetProjectsLink4
1906
2228
  | GetProjectsLink5
2229
+ | GetProjectsLink3
1907
2230
  | GetProjectsLink1
1908
2231
  | GetProjectsLink2
1909
2232
  | undefined;
@@ -1967,6 +2290,10 @@ export type GetProjectsProjects = {
1967
2290
  tier?: GetProjectsTier | undefined;
1968
2291
  features?: GetProjectsFeatures | undefined;
1969
2292
  v0?: boolean | undefined;
2293
+ abuse?: GetProjectsAbuse | undefined;
2294
+ internalRoutes?:
2295
+ | Array<GetProjectsInternalRoutes1 | GetProjectsInternalRoutes2>
2296
+ | undefined;
1970
2297
  };
1971
2298
 
1972
2299
  /**
@@ -5719,12 +6046,12 @@ export const GetProjectsLink5$inboundSchema: z.ZodType<
5719
6046
  z.ZodTypeDef,
5720
6047
  unknown
5721
6048
  > = z.object({
5722
- org: z.string(),
5723
- repoOwnerId: z.number().optional(),
5724
- repo: z.string().optional(),
5725
- repoId: z.number().optional(),
6049
+ name: z.string(),
6050
+ slug: z.string(),
6051
+ owner: z.string(),
5726
6052
  type: GetProjectsLinkProjectsResponse200ApplicationJSONType$inboundSchema,
5727
- host: z.string(),
6053
+ uuid: z.string(),
6054
+ workspaceUuid: z.string(),
5728
6055
  createdAt: z.number().optional(),
5729
6056
  deployHooks: z.array(
5730
6057
  z.lazy(() =>
@@ -5739,12 +6066,12 @@ export const GetProjectsLink5$inboundSchema: z.ZodType<
5739
6066
 
5740
6067
  /** @internal */
5741
6068
  export type GetProjectsLink5$Outbound = {
5742
- org: string;
5743
- repoOwnerId?: number | undefined;
5744
- repo?: string | undefined;
5745
- repoId?: number | undefined;
6069
+ name: string;
6070
+ slug: string;
6071
+ owner: string;
5746
6072
  type: string;
5747
- host: string;
6073
+ uuid: string;
6074
+ workspaceUuid: string;
5748
6075
  createdAt?: number | undefined;
5749
6076
  deployHooks: Array<
5750
6077
  GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound
@@ -5761,12 +6088,12 @@ export const GetProjectsLink5$outboundSchema: z.ZodType<
5761
6088
  z.ZodTypeDef,
5762
6089
  GetProjectsLink5
5763
6090
  > = z.object({
5764
- org: z.string(),
5765
- repoOwnerId: z.number().optional(),
5766
- repo: z.string().optional(),
5767
- repoId: z.number().optional(),
6091
+ name: z.string(),
6092
+ slug: z.string(),
6093
+ owner: z.string(),
5768
6094
  type: GetProjectsLinkProjectsResponse200ApplicationJSONType$outboundSchema,
5769
- host: z.string(),
6095
+ uuid: z.string(),
6096
+ workspaceUuid: z.string(),
5770
6097
  createdAt: z.number().optional(),
5771
6098
  deployHooks: z.array(
5772
6099
  z.lazy(() =>
@@ -5919,12 +6246,13 @@ export const GetProjectsLink4$inboundSchema: z.ZodType<
5919
6246
  z.ZodTypeDef,
5920
6247
  unknown
5921
6248
  > = z.object({
5922
- name: z.string(),
5923
- slug: z.string(),
5924
- owner: z.string(),
6249
+ projectId: z.string(),
6250
+ projectName: z.string(),
6251
+ projectNameWithNamespace: z.string(),
6252
+ projectNamespace: z.string(),
6253
+ projectOwnerId: z.number().optional(),
6254
+ projectUrl: z.string(),
5925
6255
  type: GetProjectsLinkProjectsResponse200Type$inboundSchema,
5926
- uuid: z.string(),
5927
- workspaceUuid: z.string(),
5928
6256
  createdAt: z.number().optional(),
5929
6257
  deployHooks: z.array(
5930
6258
  z.lazy(() => GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema),
@@ -5937,12 +6265,13 @@ export const GetProjectsLink4$inboundSchema: z.ZodType<
5937
6265
 
5938
6266
  /** @internal */
5939
6267
  export type GetProjectsLink4$Outbound = {
5940
- name: string;
5941
- slug: string;
5942
- owner: string;
6268
+ projectId: string;
6269
+ projectName: string;
6270
+ projectNameWithNamespace: string;
6271
+ projectNamespace: string;
6272
+ projectOwnerId?: number | undefined;
6273
+ projectUrl: string;
5943
6274
  type: string;
5944
- uuid: string;
5945
- workspaceUuid: string;
5946
6275
  createdAt?: number | undefined;
5947
6276
  deployHooks: Array<GetProjectsLinkProjectsResponse200DeployHooks$Outbound>;
5948
6277
  gitCredentialId: string;
@@ -5957,12 +6286,13 @@ export const GetProjectsLink4$outboundSchema: z.ZodType<
5957
6286
  z.ZodTypeDef,
5958
6287
  GetProjectsLink4
5959
6288
  > = z.object({
5960
- name: z.string(),
5961
- slug: z.string(),
5962
- owner: z.string(),
6289
+ projectId: z.string(),
6290
+ projectName: z.string(),
6291
+ projectNameWithNamespace: z.string(),
6292
+ projectNamespace: z.string(),
6293
+ projectOwnerId: z.number().optional(),
6294
+ projectUrl: z.string(),
5963
6295
  type: GetProjectsLinkProjectsResponse200Type$outboundSchema,
5964
- uuid: z.string(),
5965
- workspaceUuid: z.string(),
5966
6296
  createdAt: z.number().optional(),
5967
6297
  deployHooks: z.array(
5968
6298
  z.lazy(() => GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema),
@@ -6109,13 +6439,12 @@ export const GetProjectsLink3$inboundSchema: z.ZodType<
6109
6439
  z.ZodTypeDef,
6110
6440
  unknown
6111
6441
  > = z.object({
6112
- projectId: z.string(),
6113
- projectName: z.string(),
6114
- projectNameWithNamespace: z.string(),
6115
- projectNamespace: z.string(),
6116
- projectOwnerId: z.number().optional(),
6117
- projectUrl: z.string(),
6442
+ org: z.string(),
6443
+ repoOwnerId: z.number().optional(),
6444
+ repo: z.string().optional(),
6445
+ repoId: z.number().optional(),
6118
6446
  type: GetProjectsLinkProjectsResponseType$inboundSchema,
6447
+ host: z.string(),
6119
6448
  createdAt: z.number().optional(),
6120
6449
  deployHooks: z.array(
6121
6450
  z.lazy(() => GetProjectsLinkProjectsResponseDeployHooks$inboundSchema),
@@ -6128,13 +6457,12 @@ export const GetProjectsLink3$inboundSchema: z.ZodType<
6128
6457
 
6129
6458
  /** @internal */
6130
6459
  export type GetProjectsLink3$Outbound = {
6131
- projectId: string;
6132
- projectName: string;
6133
- projectNameWithNamespace: string;
6134
- projectNamespace: string;
6135
- projectOwnerId?: number | undefined;
6136
- projectUrl: string;
6460
+ org: string;
6461
+ repoOwnerId?: number | undefined;
6462
+ repo?: string | undefined;
6463
+ repoId?: number | undefined;
6137
6464
  type: string;
6465
+ host: string;
6138
6466
  createdAt?: number | undefined;
6139
6467
  deployHooks: Array<GetProjectsLinkProjectsResponseDeployHooks$Outbound>;
6140
6468
  gitCredentialId: string;
@@ -6149,13 +6477,12 @@ export const GetProjectsLink3$outboundSchema: z.ZodType<
6149
6477
  z.ZodTypeDef,
6150
6478
  GetProjectsLink3
6151
6479
  > = z.object({
6152
- projectId: z.string(),
6153
- projectName: z.string(),
6154
- projectNameWithNamespace: z.string(),
6155
- projectNamespace: z.string(),
6156
- projectOwnerId: z.number().optional(),
6157
- projectUrl: z.string(),
6480
+ org: z.string(),
6481
+ repoOwnerId: z.number().optional(),
6482
+ repo: z.string().optional(),
6483
+ repoId: z.number().optional(),
6158
6484
  type: GetProjectsLinkProjectsResponseType$outboundSchema,
6485
+ host: z.string(),
6159
6486
  createdAt: z.number().optional(),
6160
6487
  deployHooks: z.array(
6161
6488
  z.lazy(() => GetProjectsLinkProjectsResponseDeployHooks$outboundSchema),
@@ -6553,18 +6880,18 @@ export const GetProjectsLink$inboundSchema: z.ZodType<
6553
6880
  z.ZodTypeDef,
6554
6881
  unknown
6555
6882
  > = z.union([
6556
- z.lazy(() => GetProjectsLink3$inboundSchema),
6557
6883
  z.lazy(() => GetProjectsLink4$inboundSchema),
6558
6884
  z.lazy(() => GetProjectsLink5$inboundSchema),
6885
+ z.lazy(() => GetProjectsLink3$inboundSchema),
6559
6886
  z.lazy(() => GetProjectsLink1$inboundSchema),
6560
6887
  z.lazy(() => GetProjectsLink2$inboundSchema),
6561
6888
  ]);
6562
6889
 
6563
6890
  /** @internal */
6564
6891
  export type GetProjectsLink$Outbound =
6565
- | GetProjectsLink3$Outbound
6566
6892
  | GetProjectsLink4$Outbound
6567
6893
  | GetProjectsLink5$Outbound
6894
+ | GetProjectsLink3$Outbound
6568
6895
  | GetProjectsLink1$Outbound
6569
6896
  | GetProjectsLink2$Outbound;
6570
6897
 
@@ -6574,9 +6901,9 @@ export const GetProjectsLink$outboundSchema: z.ZodType<
6574
6901
  z.ZodTypeDef,
6575
6902
  GetProjectsLink
6576
6903
  > = z.union([
6577
- z.lazy(() => GetProjectsLink3$outboundSchema),
6578
6904
  z.lazy(() => GetProjectsLink4$outboundSchema),
6579
6905
  z.lazy(() => GetProjectsLink5$outboundSchema),
6906
+ z.lazy(() => GetProjectsLink3$outboundSchema),
6580
6907
  z.lazy(() => GetProjectsLink1$outboundSchema),
6581
6908
  z.lazy(() => GetProjectsLink2$outboundSchema),
6582
6909
  ]);
@@ -8380,6 +8707,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
8380
8707
  notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
8381
8708
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
8382
8709
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
8710
+ alerts: z.array(ACLAction$inboundSchema).optional(),
8383
8711
  observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
8384
8712
  observabilityFunnel: z.array(ACLAction$inboundSchema).optional(),
8385
8713
  openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
@@ -8602,6 +8930,7 @@ export type GetProjectsPermissions$Outbound = {
8602
8930
  notificationCustomerBudget?: Array<string> | undefined;
8603
8931
  notificationStatementOfReasons?: Array<string> | undefined;
8604
8932
  observabilityConfiguration?: Array<string> | undefined;
8933
+ alerts?: Array<string> | undefined;
8605
8934
  observabilityNotebook?: Array<string> | undefined;
8606
8935
  observabilityFunnel?: Array<string> | undefined;
8607
8936
  openTelemetryEndpoint?: Array<string> | undefined;
@@ -8829,6 +9158,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
8829
9158
  notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
8830
9159
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
8831
9160
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
9161
+ alerts: z.array(ACLAction$outboundSchema).optional(),
8832
9162
  observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
8833
9163
  observabilityFunnel: z.array(ACLAction$outboundSchema).optional(),
8834
9164
  openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
@@ -9830,24 +10160,27 @@ export function getProjectsWebAnalyticsFromJSON(
9830
10160
  }
9831
10161
 
9832
10162
  /** @internal */
9833
- export const GetProjectsAction$inboundSchema: z.ZodNativeEnum<
9834
- typeof GetProjectsAction
9835
- > = z.nativeEnum(GetProjectsAction);
10163
+ export const GetProjectsProjectsResponse200Action$inboundSchema:
10164
+ z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Action> = z.nativeEnum(
10165
+ GetProjectsProjectsResponse200Action,
10166
+ );
9836
10167
 
9837
10168
  /** @internal */
9838
- export const GetProjectsAction$outboundSchema: z.ZodNativeEnum<
9839
- typeof GetProjectsAction
9840
- > = GetProjectsAction$inboundSchema;
10169
+ export const GetProjectsProjectsResponse200Action$outboundSchema:
10170
+ z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Action> =
10171
+ GetProjectsProjectsResponse200Action$inboundSchema;
9841
10172
 
9842
10173
  /**
9843
10174
  * @internal
9844
10175
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9845
10176
  */
9846
- export namespace GetProjectsAction$ {
9847
- /** @deprecated use `GetProjectsAction$inboundSchema` instead. */
9848
- export const inboundSchema = GetProjectsAction$inboundSchema;
9849
- /** @deprecated use `GetProjectsAction$outboundSchema` instead. */
9850
- export const outboundSchema = GetProjectsAction$outboundSchema;
10177
+ export namespace GetProjectsProjectsResponse200Action$ {
10178
+ /** @deprecated use `GetProjectsProjectsResponse200Action$inboundSchema` instead. */
10179
+ export const inboundSchema =
10180
+ GetProjectsProjectsResponse200Action$inboundSchema;
10181
+ /** @deprecated use `GetProjectsProjectsResponse200Action$outboundSchema` instead. */
10182
+ export const outboundSchema =
10183
+ GetProjectsProjectsResponse200Action$outboundSchema;
9851
10184
  }
9852
10185
 
9853
10186
  /** @internal */
@@ -9857,7 +10190,7 @@ export const GetProjectsBotFilter$inboundSchema: z.ZodType<
9857
10190
  unknown
9858
10191
  > = z.object({
9859
10192
  active: z.boolean(),
9860
- action: GetProjectsAction$inboundSchema.optional(),
10193
+ action: GetProjectsProjectsResponse200Action$inboundSchema.optional(),
9861
10194
  });
9862
10195
 
9863
10196
  /** @internal */
@@ -9873,7 +10206,7 @@ export const GetProjectsBotFilter$outboundSchema: z.ZodType<
9873
10206
  GetProjectsBotFilter
9874
10207
  > = z.object({
9875
10208
  active: z.boolean(),
9876
- action: GetProjectsAction$outboundSchema.optional(),
10209
+ action: GetProjectsProjectsResponse200Action$outboundSchema.optional(),
9877
10210
  });
9878
10211
 
9879
10212
  /**
@@ -10377,219 +10710,2828 @@ export function getProjectsFeaturesFromJSON(
10377
10710
  }
10378
10711
 
10379
10712
  /** @internal */
10380
- export const GetProjectsProjects$inboundSchema: z.ZodType<
10381
- GetProjectsProjects,
10713
+ export const GetProjectsHistory$inboundSchema: z.ZodType<
10714
+ GetProjectsHistory,
10382
10715
  z.ZodTypeDef,
10383
10716
  unknown
10384
10717
  > = z.object({
10385
- accountId: z.string(),
10386
- analytics: z.lazy(() => GetProjectsAnalytics$inboundSchema).optional(),
10387
- speedInsights: z.lazy(() => GetProjectsSpeedInsights$inboundSchema)
10388
- .optional(),
10389
- autoExposeSystemEnvs: z.boolean().optional(),
10390
- autoAssignCustomDomains: z.boolean().optional(),
10391
- autoAssignCustomDomainsUpdatedBy: z.string().optional(),
10392
- buildCommand: z.nullable(z.string()).optional(),
10393
- commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
10394
- connectConfigurations: z.nullable(
10395
- z.array(z.lazy(() => GetProjectsConnectConfigurations$inboundSchema)),
10396
- ).optional(),
10397
- connectConfigurationId: z.nullable(z.string()).optional(),
10398
- connectBuildsEnabled: z.boolean().optional(),
10399
- passiveConnectConfigurationId: z.nullable(z.string()).optional(),
10400
- createdAt: z.number().optional(),
10401
- customerSupportCodeVisibility: z.boolean().optional(),
10402
- crons: z.lazy(() => GetProjectsCrons$inboundSchema).optional(),
10403
- dataCache: z.lazy(() => GetProjectsDataCache$inboundSchema).optional(),
10404
- deploymentExpiration: z.nullable(
10405
- z.lazy(() => GetProjectsDeploymentExpiration$inboundSchema),
10406
- ).optional(),
10407
- devCommand: z.nullable(z.string()).optional(),
10408
- directoryListing: z.boolean(),
10409
- installCommand: z.nullable(z.string()).optional(),
10410
- env: z.array(z.lazy(() => GetProjectsEnv$inboundSchema)).optional(),
10411
- customEnvironments: z.array(
10412
- z.lazy(() => GetProjectsCustomEnvironments$inboundSchema),
10413
- ).optional(),
10414
- framework: z.nullable(GetProjectsFramework$inboundSchema).optional(),
10415
- gitForkProtection: z.boolean().optional(),
10416
- gitLFS: z.boolean().optional(),
10417
- id: z.string(),
10418
- ipBuckets: z.array(z.lazy(() => GetProjectsIpBuckets$inboundSchema))
10419
- .optional(),
10420
- latestDeployments: z.array(
10421
- z.lazy(() => GetProjectsLatestDeployments$inboundSchema),
10422
- ).optional(),
10423
- link: z.union([
10424
- z.lazy(() => GetProjectsLink3$inboundSchema),
10425
- z.lazy(() => GetProjectsLink4$inboundSchema),
10426
- z.lazy(() => GetProjectsLink5$inboundSchema),
10427
- z.lazy(() => GetProjectsLink1$inboundSchema),
10428
- z.lazy(() => GetProjectsLink2$inboundSchema),
10429
- ]).optional(),
10430
- microfrontends: z.union([
10431
- z.lazy(() => GetProjectsMicrofrontends1$inboundSchema),
10432
- z.lazy(() => GetProjectsMicrofrontends2$inboundSchema),
10433
- ]).optional(),
10434
- name: z.string(),
10435
- nodeVersion: GetProjectsNodeVersion$inboundSchema,
10436
- optionsAllowlist: z.nullable(
10437
- z.lazy(() => GetProjectsOptionsAllowlist$inboundSchema),
10438
- ).optional(),
10439
- outputDirectory: z.nullable(z.string()).optional(),
10440
- passwordProtection: z.nullable(
10441
- z.lazy(() => GetProjectsPasswordProtection$inboundSchema),
10442
- ).optional(),
10443
- productionDeploymentsFastLane: z.boolean().optional(),
10444
- publicSource: z.nullable(z.boolean()).optional(),
10445
- resourceConfig: z.lazy(() => GetProjectsResourceConfig$inboundSchema),
10446
- rollbackDescription: z.lazy(() =>
10447
- GetProjectsRollbackDescription$inboundSchema
10448
- ).optional(),
10449
- rollingRelease: z.nullable(
10450
- z.lazy(() => GetProjectsRollingRelease$inboundSchema),
10451
- ).optional(),
10452
- defaultResourceConfig: z.lazy(() =>
10453
- GetProjectsDefaultResourceConfig$inboundSchema
10454
- ),
10455
- rootDirectory: z.nullable(z.string()).optional(),
10456
- serverlessFunctionZeroConfigFailover: z.boolean().optional(),
10457
- skewProtectionBoundaryAt: z.number().optional(),
10458
- skewProtectionMaxAge: z.number().optional(),
10459
- skipGitConnectDuringLink: z.boolean().optional(),
10460
- sourceFilesOutsideRootDirectory: z.boolean().optional(),
10461
- enableAffectedProjectsDeployments: z.boolean().optional(),
10462
- ssoProtection: z.nullable(
10463
- z.lazy(() => GetProjectsSsoProtection$inboundSchema),
10464
- ).optional(),
10465
- targets: z.record(z.nullable(z.lazy(() => GetProjectsTargets$inboundSchema)))
10466
- .optional(),
10467
- transferCompletedAt: z.number().optional(),
10468
- transferStartedAt: z.number().optional(),
10469
- transferToAccountId: z.string().optional(),
10470
- transferredFromAccountId: z.string().optional(),
10471
- updatedAt: z.number().optional(),
10472
- live: z.boolean().optional(),
10473
- enablePreviewFeedback: z.nullable(z.boolean()).optional(),
10474
- enableProductionFeedback: z.nullable(z.boolean()).optional(),
10475
- permissions: z.lazy(() => GetProjectsPermissions$inboundSchema).optional(),
10476
- lastRollbackTarget: z.nullable(
10477
- z.lazy(() => GetProjectsLastRollbackTarget$inboundSchema),
10478
- ).optional(),
10479
- lastAliasRequest: z.nullable(
10480
- z.lazy(() => GetProjectsLastAliasRequest$inboundSchema),
10481
- ).optional(),
10482
- protectionBypass: z.record(
10483
- z.union([
10484
- z.lazy(() => GetProjectsProtectionBypass1$inboundSchema),
10485
- z.lazy(() => GetProjectsProtectionBypass2$inboundSchema),
10486
- ]),
10487
- ).optional(),
10488
- hasActiveBranches: z.boolean().optional(),
10489
- trustedIps: z.nullable(
10490
- z.union([
10491
- z.lazy(() => GetProjectsTrustedIps1$inboundSchema),
10492
- z.lazy(() => GetProjectsTrustedIps2$inboundSchema),
10493
- ]),
10494
- ).optional(),
10495
- gitComments: z.lazy(() => GetProjectsGitComments$inboundSchema).optional(),
10496
- gitProviderOptions: z.lazy(() => GetProjectsGitProviderOptions$inboundSchema)
10497
- .optional(),
10498
- paused: z.boolean().optional(),
10499
- concurrencyBucketName: z.string().optional(),
10500
- webAnalytics: z.lazy(() => GetProjectsWebAnalytics$inboundSchema).optional(),
10501
- security: z.lazy(() => GetProjectsSecurity$inboundSchema).optional(),
10502
- oidcTokenConfig: z.lazy(() => GetProjectsOidcTokenConfig$inboundSchema)
10503
- .optional(),
10504
- tier: GetProjectsTier$inboundSchema.optional(),
10505
- features: z.lazy(() => GetProjectsFeatures$inboundSchema).optional(),
10506
- v0: z.boolean().optional(),
10718
+ scanner: z.string(),
10719
+ reason: z.string(),
10720
+ by: z.string(),
10721
+ byId: z.string(),
10722
+ at: z.number(),
10507
10723
  });
10508
10724
 
10509
10725
  /** @internal */
10510
- export type GetProjectsProjects$Outbound = {
10511
- accountId: string;
10512
- analytics?: GetProjectsAnalytics$Outbound | undefined;
10513
- speedInsights?: GetProjectsSpeedInsights$Outbound | undefined;
10514
- autoExposeSystemEnvs?: boolean | undefined;
10515
- autoAssignCustomDomains?: boolean | undefined;
10516
- autoAssignCustomDomainsUpdatedBy?: string | undefined;
10517
- buildCommand?: string | null | undefined;
10518
- commandForIgnoringBuildStep?: string | null | undefined;
10519
- connectConfigurations?:
10520
- | Array<GetProjectsConnectConfigurations$Outbound>
10521
- | null
10522
- | undefined;
10523
- connectConfigurationId?: string | null | undefined;
10524
- connectBuildsEnabled?: boolean | undefined;
10525
- passiveConnectConfigurationId?: string | null | undefined;
10526
- createdAt?: number | undefined;
10527
- customerSupportCodeVisibility?: boolean | undefined;
10528
- crons?: GetProjectsCrons$Outbound | undefined;
10529
- dataCache?: GetProjectsDataCache$Outbound | undefined;
10530
- deploymentExpiration?:
10531
- | GetProjectsDeploymentExpiration$Outbound
10532
- | null
10533
- | undefined;
10534
- devCommand?: string | null | undefined;
10535
- directoryListing: boolean;
10536
- installCommand?: string | null | undefined;
10537
- env?: Array<GetProjectsEnv$Outbound> | undefined;
10538
- customEnvironments?:
10539
- | Array<GetProjectsCustomEnvironments$Outbound>
10540
- | undefined;
10541
- framework?: string | null | undefined;
10542
- gitForkProtection?: boolean | undefined;
10543
- gitLFS?: boolean | undefined;
10544
- id: string;
10545
- ipBuckets?: Array<GetProjectsIpBuckets$Outbound> | undefined;
10546
- latestDeployments?: Array<GetProjectsLatestDeployments$Outbound> | undefined;
10547
- link?:
10548
- | GetProjectsLink3$Outbound
10549
- | GetProjectsLink4$Outbound
10550
- | GetProjectsLink5$Outbound
10551
- | GetProjectsLink1$Outbound
10552
- | GetProjectsLink2$Outbound
10553
- | undefined;
10554
- microfrontends?:
10555
- | GetProjectsMicrofrontends1$Outbound
10556
- | GetProjectsMicrofrontends2$Outbound
10557
- | undefined;
10558
- name: string;
10559
- nodeVersion: string;
10560
- optionsAllowlist?: GetProjectsOptionsAllowlist$Outbound | null | undefined;
10561
- outputDirectory?: string | null | undefined;
10562
- passwordProtection?:
10563
- | GetProjectsPasswordProtection$Outbound
10564
- | null
10565
- | undefined;
10566
- productionDeploymentsFastLane?: boolean | undefined;
10567
- publicSource?: boolean | null | undefined;
10568
- resourceConfig: GetProjectsResourceConfig$Outbound;
10569
- rollbackDescription?: GetProjectsRollbackDescription$Outbound | undefined;
10570
- rollingRelease?: GetProjectsRollingRelease$Outbound | null | undefined;
10571
- defaultResourceConfig: GetProjectsDefaultResourceConfig$Outbound;
10572
- rootDirectory?: string | null | undefined;
10573
- serverlessFunctionZeroConfigFailover?: boolean | undefined;
10574
- skewProtectionBoundaryAt?: number | undefined;
10575
- skewProtectionMaxAge?: number | undefined;
10576
- skipGitConnectDuringLink?: boolean | undefined;
10577
- sourceFilesOutsideRootDirectory?: boolean | undefined;
10578
- enableAffectedProjectsDeployments?: boolean | undefined;
10579
- ssoProtection?: GetProjectsSsoProtection$Outbound | null | undefined;
10580
- targets?: { [k: string]: GetProjectsTargets$Outbound | null } | undefined;
10581
- transferCompletedAt?: number | undefined;
10582
- transferStartedAt?: number | undefined;
10583
- transferToAccountId?: string | undefined;
10584
- transferredFromAccountId?: string | undefined;
10585
- updatedAt?: number | undefined;
10586
- live?: boolean | undefined;
10587
- enablePreviewFeedback?: boolean | null | undefined;
10588
- enableProductionFeedback?: boolean | null | undefined;
10589
- permissions?: GetProjectsPermissions$Outbound | undefined;
10590
- lastRollbackTarget?:
10591
- | GetProjectsLastRollbackTarget$Outbound
10592
- | null
10726
+ export type GetProjectsHistory$Outbound = {
10727
+ scanner: string;
10728
+ reason: string;
10729
+ by: string;
10730
+ byId: string;
10731
+ at: number;
10732
+ };
10733
+
10734
+ /** @internal */
10735
+ export const GetProjectsHistory$outboundSchema: z.ZodType<
10736
+ GetProjectsHistory$Outbound,
10737
+ z.ZodTypeDef,
10738
+ GetProjectsHistory
10739
+ > = z.object({
10740
+ scanner: z.string(),
10741
+ reason: z.string(),
10742
+ by: z.string(),
10743
+ byId: z.string(),
10744
+ at: z.number(),
10745
+ });
10746
+
10747
+ /**
10748
+ * @internal
10749
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10750
+ */
10751
+ export namespace GetProjectsHistory$ {
10752
+ /** @deprecated use `GetProjectsHistory$inboundSchema` instead. */
10753
+ export const inboundSchema = GetProjectsHistory$inboundSchema;
10754
+ /** @deprecated use `GetProjectsHistory$outboundSchema` instead. */
10755
+ export const outboundSchema = GetProjectsHistory$outboundSchema;
10756
+ /** @deprecated use `GetProjectsHistory$Outbound` instead. */
10757
+ export type Outbound = GetProjectsHistory$Outbound;
10758
+ }
10759
+
10760
+ export function getProjectsHistoryToJSON(
10761
+ getProjectsHistory: GetProjectsHistory,
10762
+ ): string {
10763
+ return JSON.stringify(
10764
+ GetProjectsHistory$outboundSchema.parse(getProjectsHistory),
10765
+ );
10766
+ }
10767
+
10768
+ export function getProjectsHistoryFromJSON(
10769
+ jsonString: string,
10770
+ ): SafeParseResult<GetProjectsHistory, SDKValidationError> {
10771
+ return safeParse(
10772
+ jsonString,
10773
+ (x) => GetProjectsHistory$inboundSchema.parse(JSON.parse(x)),
10774
+ `Failed to parse 'GetProjectsHistory' from JSON`,
10775
+ );
10776
+ }
10777
+
10778
+ /** @internal */
10779
+ export const GetProjectsAction$inboundSchema: z.ZodNativeEnum<
10780
+ typeof GetProjectsAction
10781
+ > = z.nativeEnum(GetProjectsAction);
10782
+
10783
+ /** @internal */
10784
+ export const GetProjectsAction$outboundSchema: z.ZodNativeEnum<
10785
+ typeof GetProjectsAction
10786
+ > = GetProjectsAction$inboundSchema;
10787
+
10788
+ /**
10789
+ * @internal
10790
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10791
+ */
10792
+ export namespace GetProjectsAction$ {
10793
+ /** @deprecated use `GetProjectsAction$inboundSchema` instead. */
10794
+ export const inboundSchema = GetProjectsAction$inboundSchema;
10795
+ /** @deprecated use `GetProjectsAction$outboundSchema` instead. */
10796
+ export const outboundSchema = GetProjectsAction$outboundSchema;
10797
+ }
10798
+
10799
+ /** @internal */
10800
+ export const GetProjectsBlock$inboundSchema: z.ZodType<
10801
+ GetProjectsBlock,
10802
+ z.ZodTypeDef,
10803
+ unknown
10804
+ > = z.object({
10805
+ action: GetProjectsAction$inboundSchema,
10806
+ reason: z.string(),
10807
+ statusCode: z.number(),
10808
+ createdAt: z.number(),
10809
+ caseId: z.string().optional(),
10810
+ actor: z.string().optional(),
10811
+ comment: z.string().optional(),
10812
+ isCascading: z.boolean().optional(),
10813
+ });
10814
+
10815
+ /** @internal */
10816
+ export type GetProjectsBlock$Outbound = {
10817
+ action: string;
10818
+ reason: string;
10819
+ statusCode: number;
10820
+ createdAt: number;
10821
+ caseId?: string | undefined;
10822
+ actor?: string | undefined;
10823
+ comment?: string | undefined;
10824
+ isCascading?: boolean | undefined;
10825
+ };
10826
+
10827
+ /** @internal */
10828
+ export const GetProjectsBlock$outboundSchema: z.ZodType<
10829
+ GetProjectsBlock$Outbound,
10830
+ z.ZodTypeDef,
10831
+ GetProjectsBlock
10832
+ > = z.object({
10833
+ action: GetProjectsAction$outboundSchema,
10834
+ reason: z.string(),
10835
+ statusCode: z.number(),
10836
+ createdAt: z.number(),
10837
+ caseId: z.string().optional(),
10838
+ actor: z.string().optional(),
10839
+ comment: z.string().optional(),
10840
+ isCascading: z.boolean().optional(),
10841
+ });
10842
+
10843
+ /**
10844
+ * @internal
10845
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10846
+ */
10847
+ export namespace GetProjectsBlock$ {
10848
+ /** @deprecated use `GetProjectsBlock$inboundSchema` instead. */
10849
+ export const inboundSchema = GetProjectsBlock$inboundSchema;
10850
+ /** @deprecated use `GetProjectsBlock$outboundSchema` instead. */
10851
+ export const outboundSchema = GetProjectsBlock$outboundSchema;
10852
+ /** @deprecated use `GetProjectsBlock$Outbound` instead. */
10853
+ export type Outbound = GetProjectsBlock$Outbound;
10854
+ }
10855
+
10856
+ export function getProjectsBlockToJSON(
10857
+ getProjectsBlock: GetProjectsBlock,
10858
+ ): string {
10859
+ return JSON.stringify(
10860
+ GetProjectsBlock$outboundSchema.parse(getProjectsBlock),
10861
+ );
10862
+ }
10863
+
10864
+ export function getProjectsBlockFromJSON(
10865
+ jsonString: string,
10866
+ ): SafeParseResult<GetProjectsBlock, SDKValidationError> {
10867
+ return safeParse(
10868
+ jsonString,
10869
+ (x) => GetProjectsBlock$inboundSchema.parse(JSON.parse(x)),
10870
+ `Failed to parse 'GetProjectsBlock' from JSON`,
10871
+ );
10872
+ }
10873
+
10874
+ /** @internal */
10875
+ export const GetProjectsBlockHistoryProjectsResponse200Action$inboundSchema:
10876
+ z.ZodNativeEnum<typeof GetProjectsBlockHistoryProjectsResponse200Action> = z
10877
+ .nativeEnum(GetProjectsBlockHistoryProjectsResponse200Action);
10878
+
10879
+ /** @internal */
10880
+ export const GetProjectsBlockHistoryProjectsResponse200Action$outboundSchema:
10881
+ z.ZodNativeEnum<typeof GetProjectsBlockHistoryProjectsResponse200Action> =
10882
+ GetProjectsBlockHistoryProjectsResponse200Action$inboundSchema;
10883
+
10884
+ /**
10885
+ * @internal
10886
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10887
+ */
10888
+ export namespace GetProjectsBlockHistoryProjectsResponse200Action$ {
10889
+ /** @deprecated use `GetProjectsBlockHistoryProjectsResponse200Action$inboundSchema` instead. */
10890
+ export const inboundSchema =
10891
+ GetProjectsBlockHistoryProjectsResponse200Action$inboundSchema;
10892
+ /** @deprecated use `GetProjectsBlockHistoryProjectsResponse200Action$outboundSchema` instead. */
10893
+ export const outboundSchema =
10894
+ GetProjectsBlockHistoryProjectsResponse200Action$outboundSchema;
10895
+ }
10896
+
10897
+ /** @internal */
10898
+ export const GetProjectsHasProjectsResponse200Type$inboundSchema:
10899
+ z.ZodNativeEnum<typeof GetProjectsHasProjectsResponse200Type> = z.nativeEnum(
10900
+ GetProjectsHasProjectsResponse200Type,
10901
+ );
10902
+
10903
+ /** @internal */
10904
+ export const GetProjectsHasProjectsResponse200Type$outboundSchema:
10905
+ z.ZodNativeEnum<typeof GetProjectsHasProjectsResponse200Type> =
10906
+ GetProjectsHasProjectsResponse200Type$inboundSchema;
10907
+
10908
+ /**
10909
+ * @internal
10910
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10911
+ */
10912
+ export namespace GetProjectsHasProjectsResponse200Type$ {
10913
+ /** @deprecated use `GetProjectsHasProjectsResponse200Type$inboundSchema` instead. */
10914
+ export const inboundSchema =
10915
+ GetProjectsHasProjectsResponse200Type$inboundSchema;
10916
+ /** @deprecated use `GetProjectsHasProjectsResponse200Type$outboundSchema` instead. */
10917
+ export const outboundSchema =
10918
+ GetProjectsHasProjectsResponse200Type$outboundSchema;
10919
+ }
10920
+
10921
+ /** @internal */
10922
+ export const GetProjectsHasProjectsResponse200Value$inboundSchema: z.ZodType<
10923
+ GetProjectsHasProjectsResponse200Value,
10924
+ z.ZodTypeDef,
10925
+ unknown
10926
+ > = z.object({
10927
+ eq: z.string(),
10928
+ });
10929
+
10930
+ /** @internal */
10931
+ export type GetProjectsHasProjectsResponse200Value$Outbound = {
10932
+ eq: string;
10933
+ };
10934
+
10935
+ /** @internal */
10936
+ export const GetProjectsHasProjectsResponse200Value$outboundSchema: z.ZodType<
10937
+ GetProjectsHasProjectsResponse200Value$Outbound,
10938
+ z.ZodTypeDef,
10939
+ GetProjectsHasProjectsResponse200Value
10940
+ > = z.object({
10941
+ eq: z.string(),
10942
+ });
10943
+
10944
+ /**
10945
+ * @internal
10946
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10947
+ */
10948
+ export namespace GetProjectsHasProjectsResponse200Value$ {
10949
+ /** @deprecated use `GetProjectsHasProjectsResponse200Value$inboundSchema` instead. */
10950
+ export const inboundSchema =
10951
+ GetProjectsHasProjectsResponse200Value$inboundSchema;
10952
+ /** @deprecated use `GetProjectsHasProjectsResponse200Value$outboundSchema` instead. */
10953
+ export const outboundSchema =
10954
+ GetProjectsHasProjectsResponse200Value$outboundSchema;
10955
+ /** @deprecated use `GetProjectsHasProjectsResponse200Value$Outbound` instead. */
10956
+ export type Outbound = GetProjectsHasProjectsResponse200Value$Outbound;
10957
+ }
10958
+
10959
+ export function getProjectsHasProjectsResponse200ValueToJSON(
10960
+ getProjectsHasProjectsResponse200Value:
10961
+ GetProjectsHasProjectsResponse200Value,
10962
+ ): string {
10963
+ return JSON.stringify(
10964
+ GetProjectsHasProjectsResponse200Value$outboundSchema.parse(
10965
+ getProjectsHasProjectsResponse200Value,
10966
+ ),
10967
+ );
10968
+ }
10969
+
10970
+ export function getProjectsHasProjectsResponse200ValueFromJSON(
10971
+ jsonString: string,
10972
+ ): SafeParseResult<GetProjectsHasProjectsResponse200Value, SDKValidationError> {
10973
+ return safeParse(
10974
+ jsonString,
10975
+ (x) =>
10976
+ GetProjectsHasProjectsResponse200Value$inboundSchema.parse(JSON.parse(x)),
10977
+ `Failed to parse 'GetProjectsHasProjectsResponse200Value' from JSON`,
10978
+ );
10979
+ }
10980
+
10981
+ /** @internal */
10982
+ export const GetProjectsHasProjects2$inboundSchema: z.ZodType<
10983
+ GetProjectsHasProjects2,
10984
+ z.ZodTypeDef,
10985
+ unknown
10986
+ > = z.object({
10987
+ type: GetProjectsHasProjectsResponse200Type$inboundSchema,
10988
+ value: z.lazy(() => GetProjectsHasProjectsResponse200Value$inboundSchema),
10989
+ });
10990
+
10991
+ /** @internal */
10992
+ export type GetProjectsHasProjects2$Outbound = {
10993
+ type: string;
10994
+ value: GetProjectsHasProjectsResponse200Value$Outbound;
10995
+ };
10996
+
10997
+ /** @internal */
10998
+ export const GetProjectsHasProjects2$outboundSchema: z.ZodType<
10999
+ GetProjectsHasProjects2$Outbound,
11000
+ z.ZodTypeDef,
11001
+ GetProjectsHasProjects2
11002
+ > = z.object({
11003
+ type: GetProjectsHasProjectsResponse200Type$outboundSchema,
11004
+ value: z.lazy(() => GetProjectsHasProjectsResponse200Value$outboundSchema),
11005
+ });
11006
+
11007
+ /**
11008
+ * @internal
11009
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11010
+ */
11011
+ export namespace GetProjectsHasProjects2$ {
11012
+ /** @deprecated use `GetProjectsHasProjects2$inboundSchema` instead. */
11013
+ export const inboundSchema = GetProjectsHasProjects2$inboundSchema;
11014
+ /** @deprecated use `GetProjectsHasProjects2$outboundSchema` instead. */
11015
+ export const outboundSchema = GetProjectsHasProjects2$outboundSchema;
11016
+ /** @deprecated use `GetProjectsHasProjects2$Outbound` instead. */
11017
+ export type Outbound = GetProjectsHasProjects2$Outbound;
11018
+ }
11019
+
11020
+ export function getProjectsHasProjects2ToJSON(
11021
+ getProjectsHasProjects2: GetProjectsHasProjects2,
11022
+ ): string {
11023
+ return JSON.stringify(
11024
+ GetProjectsHasProjects2$outboundSchema.parse(getProjectsHasProjects2),
11025
+ );
11026
+ }
11027
+
11028
+ export function getProjectsHasProjects2FromJSON(
11029
+ jsonString: string,
11030
+ ): SafeParseResult<GetProjectsHasProjects2, SDKValidationError> {
11031
+ return safeParse(
11032
+ jsonString,
11033
+ (x) => GetProjectsHasProjects2$inboundSchema.parse(JSON.parse(x)),
11034
+ `Failed to parse 'GetProjectsHasProjects2' from JSON`,
11035
+ );
11036
+ }
11037
+
11038
+ /** @internal */
11039
+ export const GetProjectsHasProjectsResponseType$inboundSchema: z.ZodNativeEnum<
11040
+ typeof GetProjectsHasProjectsResponseType
11041
+ > = z.nativeEnum(GetProjectsHasProjectsResponseType);
11042
+
11043
+ /** @internal */
11044
+ export const GetProjectsHasProjectsResponseType$outboundSchema: z.ZodNativeEnum<
11045
+ typeof GetProjectsHasProjectsResponseType
11046
+ > = GetProjectsHasProjectsResponseType$inboundSchema;
11047
+
11048
+ /**
11049
+ * @internal
11050
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11051
+ */
11052
+ export namespace GetProjectsHasProjectsResponseType$ {
11053
+ /** @deprecated use `GetProjectsHasProjectsResponseType$inboundSchema` instead. */
11054
+ export const inboundSchema = GetProjectsHasProjectsResponseType$inboundSchema;
11055
+ /** @deprecated use `GetProjectsHasProjectsResponseType$outboundSchema` instead. */
11056
+ export const outboundSchema =
11057
+ GetProjectsHasProjectsResponseType$outboundSchema;
11058
+ }
11059
+
11060
+ /** @internal */
11061
+ export const GetProjectsHasProjectsKey$inboundSchema: z.ZodNativeEnum<
11062
+ typeof GetProjectsHasProjectsKey
11063
+ > = z.nativeEnum(GetProjectsHasProjectsKey);
11064
+
11065
+ /** @internal */
11066
+ export const GetProjectsHasProjectsKey$outboundSchema: z.ZodNativeEnum<
11067
+ typeof GetProjectsHasProjectsKey
11068
+ > = GetProjectsHasProjectsKey$inboundSchema;
11069
+
11070
+ /**
11071
+ * @internal
11072
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11073
+ */
11074
+ export namespace GetProjectsHasProjectsKey$ {
11075
+ /** @deprecated use `GetProjectsHasProjectsKey$inboundSchema` instead. */
11076
+ export const inboundSchema = GetProjectsHasProjectsKey$inboundSchema;
11077
+ /** @deprecated use `GetProjectsHasProjectsKey$outboundSchema` instead. */
11078
+ export const outboundSchema = GetProjectsHasProjectsKey$outboundSchema;
11079
+ }
11080
+
11081
+ /** @internal */
11082
+ export const GetProjectsHasProjectsResponseValue$inboundSchema: z.ZodType<
11083
+ GetProjectsHasProjectsResponseValue,
11084
+ z.ZodTypeDef,
11085
+ unknown
11086
+ > = z.object({
11087
+ eq: z.string(),
11088
+ });
11089
+
11090
+ /** @internal */
11091
+ export type GetProjectsHasProjectsResponseValue$Outbound = {
11092
+ eq: string;
11093
+ };
11094
+
11095
+ /** @internal */
11096
+ export const GetProjectsHasProjectsResponseValue$outboundSchema: z.ZodType<
11097
+ GetProjectsHasProjectsResponseValue$Outbound,
11098
+ z.ZodTypeDef,
11099
+ GetProjectsHasProjectsResponseValue
11100
+ > = z.object({
11101
+ eq: z.string(),
11102
+ });
11103
+
11104
+ /**
11105
+ * @internal
11106
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11107
+ */
11108
+ export namespace GetProjectsHasProjectsResponseValue$ {
11109
+ /** @deprecated use `GetProjectsHasProjectsResponseValue$inboundSchema` instead. */
11110
+ export const inboundSchema =
11111
+ GetProjectsHasProjectsResponseValue$inboundSchema;
11112
+ /** @deprecated use `GetProjectsHasProjectsResponseValue$outboundSchema` instead. */
11113
+ export const outboundSchema =
11114
+ GetProjectsHasProjectsResponseValue$outboundSchema;
11115
+ /** @deprecated use `GetProjectsHasProjectsResponseValue$Outbound` instead. */
11116
+ export type Outbound = GetProjectsHasProjectsResponseValue$Outbound;
11117
+ }
11118
+
11119
+ export function getProjectsHasProjectsResponseValueToJSON(
11120
+ getProjectsHasProjectsResponseValue: GetProjectsHasProjectsResponseValue,
11121
+ ): string {
11122
+ return JSON.stringify(
11123
+ GetProjectsHasProjectsResponseValue$outboundSchema.parse(
11124
+ getProjectsHasProjectsResponseValue,
11125
+ ),
11126
+ );
11127
+ }
11128
+
11129
+ export function getProjectsHasProjectsResponseValueFromJSON(
11130
+ jsonString: string,
11131
+ ): SafeParseResult<GetProjectsHasProjectsResponseValue, SDKValidationError> {
11132
+ return safeParse(
11133
+ jsonString,
11134
+ (x) =>
11135
+ GetProjectsHasProjectsResponseValue$inboundSchema.parse(JSON.parse(x)),
11136
+ `Failed to parse 'GetProjectsHasProjectsResponseValue' from JSON`,
11137
+ );
11138
+ }
11139
+
11140
+ /** @internal */
11141
+ export const GetProjectsHasProjects1$inboundSchema: z.ZodType<
11142
+ GetProjectsHasProjects1,
11143
+ z.ZodTypeDef,
11144
+ unknown
11145
+ > = z.object({
11146
+ type: GetProjectsHasProjectsResponseType$inboundSchema,
11147
+ key: GetProjectsHasProjectsKey$inboundSchema,
11148
+ value: z.lazy(() => GetProjectsHasProjectsResponseValue$inboundSchema),
11149
+ });
11150
+
11151
+ /** @internal */
11152
+ export type GetProjectsHasProjects1$Outbound = {
11153
+ type: string;
11154
+ key: string;
11155
+ value: GetProjectsHasProjectsResponseValue$Outbound;
11156
+ };
11157
+
11158
+ /** @internal */
11159
+ export const GetProjectsHasProjects1$outboundSchema: z.ZodType<
11160
+ GetProjectsHasProjects1$Outbound,
11161
+ z.ZodTypeDef,
11162
+ GetProjectsHasProjects1
11163
+ > = z.object({
11164
+ type: GetProjectsHasProjectsResponseType$outboundSchema,
11165
+ key: GetProjectsHasProjectsKey$outboundSchema,
11166
+ value: z.lazy(() => GetProjectsHasProjectsResponseValue$outboundSchema),
11167
+ });
11168
+
11169
+ /**
11170
+ * @internal
11171
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11172
+ */
11173
+ export namespace GetProjectsHasProjects1$ {
11174
+ /** @deprecated use `GetProjectsHasProjects1$inboundSchema` instead. */
11175
+ export const inboundSchema = GetProjectsHasProjects1$inboundSchema;
11176
+ /** @deprecated use `GetProjectsHasProjects1$outboundSchema` instead. */
11177
+ export const outboundSchema = GetProjectsHasProjects1$outboundSchema;
11178
+ /** @deprecated use `GetProjectsHasProjects1$Outbound` instead. */
11179
+ export type Outbound = GetProjectsHasProjects1$Outbound;
11180
+ }
11181
+
11182
+ export function getProjectsHasProjects1ToJSON(
11183
+ getProjectsHasProjects1: GetProjectsHasProjects1,
11184
+ ): string {
11185
+ return JSON.stringify(
11186
+ GetProjectsHasProjects1$outboundSchema.parse(getProjectsHasProjects1),
11187
+ );
11188
+ }
11189
+
11190
+ export function getProjectsHasProjects1FromJSON(
11191
+ jsonString: string,
11192
+ ): SafeParseResult<GetProjectsHasProjects1, SDKValidationError> {
11193
+ return safeParse(
11194
+ jsonString,
11195
+ (x) => GetProjectsHasProjects1$inboundSchema.parse(JSON.parse(x)),
11196
+ `Failed to parse 'GetProjectsHasProjects1' from JSON`,
11197
+ );
11198
+ }
11199
+
11200
+ /** @internal */
11201
+ export const GetProjectsRouteProjectsHas$inboundSchema: z.ZodType<
11202
+ GetProjectsRouteProjectsHas,
11203
+ z.ZodTypeDef,
11204
+ unknown
11205
+ > = z.union([
11206
+ z.lazy(() => GetProjectsHasProjects1$inboundSchema),
11207
+ z.lazy(() => GetProjectsHasProjects2$inboundSchema),
11208
+ ]);
11209
+
11210
+ /** @internal */
11211
+ export type GetProjectsRouteProjectsHas$Outbound =
11212
+ | GetProjectsHasProjects1$Outbound
11213
+ | GetProjectsHasProjects2$Outbound;
11214
+
11215
+ /** @internal */
11216
+ export const GetProjectsRouteProjectsHas$outboundSchema: z.ZodType<
11217
+ GetProjectsRouteProjectsHas$Outbound,
11218
+ z.ZodTypeDef,
11219
+ GetProjectsRouteProjectsHas
11220
+ > = z.union([
11221
+ z.lazy(() => GetProjectsHasProjects1$outboundSchema),
11222
+ z.lazy(() => GetProjectsHasProjects2$outboundSchema),
11223
+ ]);
11224
+
11225
+ /**
11226
+ * @internal
11227
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11228
+ */
11229
+ export namespace GetProjectsRouteProjectsHas$ {
11230
+ /** @deprecated use `GetProjectsRouteProjectsHas$inboundSchema` instead. */
11231
+ export const inboundSchema = GetProjectsRouteProjectsHas$inboundSchema;
11232
+ /** @deprecated use `GetProjectsRouteProjectsHas$outboundSchema` instead. */
11233
+ export const outboundSchema = GetProjectsRouteProjectsHas$outboundSchema;
11234
+ /** @deprecated use `GetProjectsRouteProjectsHas$Outbound` instead. */
11235
+ export type Outbound = GetProjectsRouteProjectsHas$Outbound;
11236
+ }
11237
+
11238
+ export function getProjectsRouteProjectsHasToJSON(
11239
+ getProjectsRouteProjectsHas: GetProjectsRouteProjectsHas,
11240
+ ): string {
11241
+ return JSON.stringify(
11242
+ GetProjectsRouteProjectsHas$outboundSchema.parse(
11243
+ getProjectsRouteProjectsHas,
11244
+ ),
11245
+ );
11246
+ }
11247
+
11248
+ export function getProjectsRouteProjectsHasFromJSON(
11249
+ jsonString: string,
11250
+ ): SafeParseResult<GetProjectsRouteProjectsHas, SDKValidationError> {
11251
+ return safeParse(
11252
+ jsonString,
11253
+ (x) => GetProjectsRouteProjectsHas$inboundSchema.parse(JSON.parse(x)),
11254
+ `Failed to parse 'GetProjectsRouteProjectsHas' from JSON`,
11255
+ );
11256
+ }
11257
+
11258
+ /** @internal */
11259
+ export const GetProjectsRouteProjectsAction$inboundSchema: z.ZodNativeEnum<
11260
+ typeof GetProjectsRouteProjectsAction
11261
+ > = z.nativeEnum(GetProjectsRouteProjectsAction);
11262
+
11263
+ /** @internal */
11264
+ export const GetProjectsRouteProjectsAction$outboundSchema: z.ZodNativeEnum<
11265
+ typeof GetProjectsRouteProjectsAction
11266
+ > = GetProjectsRouteProjectsAction$inboundSchema;
11267
+
11268
+ /**
11269
+ * @internal
11270
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11271
+ */
11272
+ export namespace GetProjectsRouteProjectsAction$ {
11273
+ /** @deprecated use `GetProjectsRouteProjectsAction$inboundSchema` instead. */
11274
+ export const inboundSchema = GetProjectsRouteProjectsAction$inboundSchema;
11275
+ /** @deprecated use `GetProjectsRouteProjectsAction$outboundSchema` instead. */
11276
+ export const outboundSchema = GetProjectsRouteProjectsAction$outboundSchema;
11277
+ }
11278
+
11279
+ /** @internal */
11280
+ export const GetProjectsRouteProjectsMitigate$inboundSchema: z.ZodType<
11281
+ GetProjectsRouteProjectsMitigate,
11282
+ z.ZodTypeDef,
11283
+ unknown
11284
+ > = z.object({
11285
+ action: GetProjectsRouteProjectsAction$inboundSchema,
11286
+ });
11287
+
11288
+ /** @internal */
11289
+ export type GetProjectsRouteProjectsMitigate$Outbound = {
11290
+ action: string;
11291
+ };
11292
+
11293
+ /** @internal */
11294
+ export const GetProjectsRouteProjectsMitigate$outboundSchema: z.ZodType<
11295
+ GetProjectsRouteProjectsMitigate$Outbound,
11296
+ z.ZodTypeDef,
11297
+ GetProjectsRouteProjectsMitigate
11298
+ > = z.object({
11299
+ action: GetProjectsRouteProjectsAction$outboundSchema,
11300
+ });
11301
+
11302
+ /**
11303
+ * @internal
11304
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11305
+ */
11306
+ export namespace GetProjectsRouteProjectsMitigate$ {
11307
+ /** @deprecated use `GetProjectsRouteProjectsMitigate$inboundSchema` instead. */
11308
+ export const inboundSchema = GetProjectsRouteProjectsMitigate$inboundSchema;
11309
+ /** @deprecated use `GetProjectsRouteProjectsMitigate$outboundSchema` instead. */
11310
+ export const outboundSchema = GetProjectsRouteProjectsMitigate$outboundSchema;
11311
+ /** @deprecated use `GetProjectsRouteProjectsMitigate$Outbound` instead. */
11312
+ export type Outbound = GetProjectsRouteProjectsMitigate$Outbound;
11313
+ }
11314
+
11315
+ export function getProjectsRouteProjectsMitigateToJSON(
11316
+ getProjectsRouteProjectsMitigate: GetProjectsRouteProjectsMitigate,
11317
+ ): string {
11318
+ return JSON.stringify(
11319
+ GetProjectsRouteProjectsMitigate$outboundSchema.parse(
11320
+ getProjectsRouteProjectsMitigate,
11321
+ ),
11322
+ );
11323
+ }
11324
+
11325
+ export function getProjectsRouteProjectsMitigateFromJSON(
11326
+ jsonString: string,
11327
+ ): SafeParseResult<GetProjectsRouteProjectsMitigate, SDKValidationError> {
11328
+ return safeParse(
11329
+ jsonString,
11330
+ (x) => GetProjectsRouteProjectsMitigate$inboundSchema.parse(JSON.parse(x)),
11331
+ `Failed to parse 'GetProjectsRouteProjectsMitigate' from JSON`,
11332
+ );
11333
+ }
11334
+
11335
+ /** @internal */
11336
+ export const GetProjectsRouteProjects2$inboundSchema: z.ZodType<
11337
+ GetProjectsRouteProjects2,
11338
+ z.ZodTypeDef,
11339
+ unknown
11340
+ > = z.object({
11341
+ has: z.array(
11342
+ z.union([
11343
+ z.lazy(() => GetProjectsHasProjects1$inboundSchema),
11344
+ z.lazy(() => GetProjectsHasProjects2$inboundSchema),
11345
+ ]),
11346
+ ),
11347
+ mitigate: z.lazy(() => GetProjectsRouteProjectsMitigate$inboundSchema),
11348
+ src: z.string().optional(),
11349
+ });
11350
+
11351
+ /** @internal */
11352
+ export type GetProjectsRouteProjects2$Outbound = {
11353
+ has: Array<
11354
+ GetProjectsHasProjects1$Outbound | GetProjectsHasProjects2$Outbound
11355
+ >;
11356
+ mitigate: GetProjectsRouteProjectsMitigate$Outbound;
11357
+ src?: string | undefined;
11358
+ };
11359
+
11360
+ /** @internal */
11361
+ export const GetProjectsRouteProjects2$outboundSchema: z.ZodType<
11362
+ GetProjectsRouteProjects2$Outbound,
11363
+ z.ZodTypeDef,
11364
+ GetProjectsRouteProjects2
11365
+ > = z.object({
11366
+ has: z.array(
11367
+ z.union([
11368
+ z.lazy(() => GetProjectsHasProjects1$outboundSchema),
11369
+ z.lazy(() => GetProjectsHasProjects2$outboundSchema),
11370
+ ]),
11371
+ ),
11372
+ mitigate: z.lazy(() => GetProjectsRouteProjectsMitigate$outboundSchema),
11373
+ src: z.string().optional(),
11374
+ });
11375
+
11376
+ /**
11377
+ * @internal
11378
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11379
+ */
11380
+ export namespace GetProjectsRouteProjects2$ {
11381
+ /** @deprecated use `GetProjectsRouteProjects2$inboundSchema` instead. */
11382
+ export const inboundSchema = GetProjectsRouteProjects2$inboundSchema;
11383
+ /** @deprecated use `GetProjectsRouteProjects2$outboundSchema` instead. */
11384
+ export const outboundSchema = GetProjectsRouteProjects2$outboundSchema;
11385
+ /** @deprecated use `GetProjectsRouteProjects2$Outbound` instead. */
11386
+ export type Outbound = GetProjectsRouteProjects2$Outbound;
11387
+ }
11388
+
11389
+ export function getProjectsRouteProjects2ToJSON(
11390
+ getProjectsRouteProjects2: GetProjectsRouteProjects2,
11391
+ ): string {
11392
+ return JSON.stringify(
11393
+ GetProjectsRouteProjects2$outboundSchema.parse(getProjectsRouteProjects2),
11394
+ );
11395
+ }
11396
+
11397
+ export function getProjectsRouteProjects2FromJSON(
11398
+ jsonString: string,
11399
+ ): SafeParseResult<GetProjectsRouteProjects2, SDKValidationError> {
11400
+ return safeParse(
11401
+ jsonString,
11402
+ (x) => GetProjectsRouteProjects2$inboundSchema.parse(JSON.parse(x)),
11403
+ `Failed to parse 'GetProjectsRouteProjects2' from JSON`,
11404
+ );
11405
+ }
11406
+
11407
+ /** @internal */
11408
+ export const GetProjectsRouteProjects1$inboundSchema: z.ZodType<
11409
+ GetProjectsRouteProjects1,
11410
+ z.ZodTypeDef,
11411
+ unknown
11412
+ > = z.object({
11413
+ src: z.string(),
11414
+ status: z.number(),
11415
+ });
11416
+
11417
+ /** @internal */
11418
+ export type GetProjectsRouteProjects1$Outbound = {
11419
+ src: string;
11420
+ status: number;
11421
+ };
11422
+
11423
+ /** @internal */
11424
+ export const GetProjectsRouteProjects1$outboundSchema: z.ZodType<
11425
+ GetProjectsRouteProjects1$Outbound,
11426
+ z.ZodTypeDef,
11427
+ GetProjectsRouteProjects1
11428
+ > = z.object({
11429
+ src: z.string(),
11430
+ status: z.number(),
11431
+ });
11432
+
11433
+ /**
11434
+ * @internal
11435
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11436
+ */
11437
+ export namespace GetProjectsRouteProjects1$ {
11438
+ /** @deprecated use `GetProjectsRouteProjects1$inboundSchema` instead. */
11439
+ export const inboundSchema = GetProjectsRouteProjects1$inboundSchema;
11440
+ /** @deprecated use `GetProjectsRouteProjects1$outboundSchema` instead. */
11441
+ export const outboundSchema = GetProjectsRouteProjects1$outboundSchema;
11442
+ /** @deprecated use `GetProjectsRouteProjects1$Outbound` instead. */
11443
+ export type Outbound = GetProjectsRouteProjects1$Outbound;
11444
+ }
11445
+
11446
+ export function getProjectsRouteProjects1ToJSON(
11447
+ getProjectsRouteProjects1: GetProjectsRouteProjects1,
11448
+ ): string {
11449
+ return JSON.stringify(
11450
+ GetProjectsRouteProjects1$outboundSchema.parse(getProjectsRouteProjects1),
11451
+ );
11452
+ }
11453
+
11454
+ export function getProjectsRouteProjects1FromJSON(
11455
+ jsonString: string,
11456
+ ): SafeParseResult<GetProjectsRouteProjects1, SDKValidationError> {
11457
+ return safeParse(
11458
+ jsonString,
11459
+ (x) => GetProjectsRouteProjects1$inboundSchema.parse(JSON.parse(x)),
11460
+ `Failed to parse 'GetProjectsRouteProjects1' from JSON`,
11461
+ );
11462
+ }
11463
+
11464
+ /** @internal */
11465
+ export const GetProjectsBlockHistoryProjectsRoute$inboundSchema: z.ZodType<
11466
+ GetProjectsBlockHistoryProjectsRoute,
11467
+ z.ZodTypeDef,
11468
+ unknown
11469
+ > = z.union([
11470
+ z.lazy(() => GetProjectsRouteProjects1$inboundSchema),
11471
+ z.lazy(() => GetProjectsRouteProjects2$inboundSchema),
11472
+ ]);
11473
+
11474
+ /** @internal */
11475
+ export type GetProjectsBlockHistoryProjectsRoute$Outbound =
11476
+ | GetProjectsRouteProjects1$Outbound
11477
+ | GetProjectsRouteProjects2$Outbound;
11478
+
11479
+ /** @internal */
11480
+ export const GetProjectsBlockHistoryProjectsRoute$outboundSchema: z.ZodType<
11481
+ GetProjectsBlockHistoryProjectsRoute$Outbound,
11482
+ z.ZodTypeDef,
11483
+ GetProjectsBlockHistoryProjectsRoute
11484
+ > = z.union([
11485
+ z.lazy(() => GetProjectsRouteProjects1$outboundSchema),
11486
+ z.lazy(() => GetProjectsRouteProjects2$outboundSchema),
11487
+ ]);
11488
+
11489
+ /**
11490
+ * @internal
11491
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11492
+ */
11493
+ export namespace GetProjectsBlockHistoryProjectsRoute$ {
11494
+ /** @deprecated use `GetProjectsBlockHistoryProjectsRoute$inboundSchema` instead. */
11495
+ export const inboundSchema =
11496
+ GetProjectsBlockHistoryProjectsRoute$inboundSchema;
11497
+ /** @deprecated use `GetProjectsBlockHistoryProjectsRoute$outboundSchema` instead. */
11498
+ export const outboundSchema =
11499
+ GetProjectsBlockHistoryProjectsRoute$outboundSchema;
11500
+ /** @deprecated use `GetProjectsBlockHistoryProjectsRoute$Outbound` instead. */
11501
+ export type Outbound = GetProjectsBlockHistoryProjectsRoute$Outbound;
11502
+ }
11503
+
11504
+ export function getProjectsBlockHistoryProjectsRouteToJSON(
11505
+ getProjectsBlockHistoryProjectsRoute: GetProjectsBlockHistoryProjectsRoute,
11506
+ ): string {
11507
+ return JSON.stringify(
11508
+ GetProjectsBlockHistoryProjectsRoute$outboundSchema.parse(
11509
+ getProjectsBlockHistoryProjectsRoute,
11510
+ ),
11511
+ );
11512
+ }
11513
+
11514
+ export function getProjectsBlockHistoryProjectsRouteFromJSON(
11515
+ jsonString: string,
11516
+ ): SafeParseResult<GetProjectsBlockHistoryProjectsRoute, SDKValidationError> {
11517
+ return safeParse(
11518
+ jsonString,
11519
+ (x) =>
11520
+ GetProjectsBlockHistoryProjectsRoute$inboundSchema.parse(JSON.parse(x)),
11521
+ `Failed to parse 'GetProjectsBlockHistoryProjectsRoute' from JSON`,
11522
+ );
11523
+ }
11524
+
11525
+ /** @internal */
11526
+ export const GetProjectsBlockHistory4$inboundSchema: z.ZodType<
11527
+ GetProjectsBlockHistory4,
11528
+ z.ZodTypeDef,
11529
+ unknown
11530
+ > = z.object({
11531
+ action: GetProjectsBlockHistoryProjectsResponse200Action$inboundSchema,
11532
+ route: z.union([
11533
+ z.lazy(() => GetProjectsRouteProjects1$inboundSchema),
11534
+ z.lazy(() => GetProjectsRouteProjects2$inboundSchema),
11535
+ ]),
11536
+ statusCode: z.number().optional(),
11537
+ createdAt: z.number(),
11538
+ caseId: z.string().optional(),
11539
+ actor: z.string().optional(),
11540
+ comment: z.string().optional(),
11541
+ isCascading: z.boolean().optional(),
11542
+ });
11543
+
11544
+ /** @internal */
11545
+ export type GetProjectsBlockHistory4$Outbound = {
11546
+ action: string;
11547
+ route:
11548
+ | GetProjectsRouteProjects1$Outbound
11549
+ | GetProjectsRouteProjects2$Outbound;
11550
+ statusCode?: number | undefined;
11551
+ createdAt: number;
11552
+ caseId?: string | undefined;
11553
+ actor?: string | undefined;
11554
+ comment?: string | undefined;
11555
+ isCascading?: boolean | undefined;
11556
+ };
11557
+
11558
+ /** @internal */
11559
+ export const GetProjectsBlockHistory4$outboundSchema: z.ZodType<
11560
+ GetProjectsBlockHistory4$Outbound,
11561
+ z.ZodTypeDef,
11562
+ GetProjectsBlockHistory4
11563
+ > = z.object({
11564
+ action: GetProjectsBlockHistoryProjectsResponse200Action$outboundSchema,
11565
+ route: z.union([
11566
+ z.lazy(() => GetProjectsRouteProjects1$outboundSchema),
11567
+ z.lazy(() => GetProjectsRouteProjects2$outboundSchema),
11568
+ ]),
11569
+ statusCode: z.number().optional(),
11570
+ createdAt: z.number(),
11571
+ caseId: z.string().optional(),
11572
+ actor: z.string().optional(),
11573
+ comment: z.string().optional(),
11574
+ isCascading: z.boolean().optional(),
11575
+ });
11576
+
11577
+ /**
11578
+ * @internal
11579
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11580
+ */
11581
+ export namespace GetProjectsBlockHistory4$ {
11582
+ /** @deprecated use `GetProjectsBlockHistory4$inboundSchema` instead. */
11583
+ export const inboundSchema = GetProjectsBlockHistory4$inboundSchema;
11584
+ /** @deprecated use `GetProjectsBlockHistory4$outboundSchema` instead. */
11585
+ export const outboundSchema = GetProjectsBlockHistory4$outboundSchema;
11586
+ /** @deprecated use `GetProjectsBlockHistory4$Outbound` instead. */
11587
+ export type Outbound = GetProjectsBlockHistory4$Outbound;
11588
+ }
11589
+
11590
+ export function getProjectsBlockHistory4ToJSON(
11591
+ getProjectsBlockHistory4: GetProjectsBlockHistory4,
11592
+ ): string {
11593
+ return JSON.stringify(
11594
+ GetProjectsBlockHistory4$outboundSchema.parse(getProjectsBlockHistory4),
11595
+ );
11596
+ }
11597
+
11598
+ export function getProjectsBlockHistory4FromJSON(
11599
+ jsonString: string,
11600
+ ): SafeParseResult<GetProjectsBlockHistory4, SDKValidationError> {
11601
+ return safeParse(
11602
+ jsonString,
11603
+ (x) => GetProjectsBlockHistory4$inboundSchema.parse(JSON.parse(x)),
11604
+ `Failed to parse 'GetProjectsBlockHistory4' from JSON`,
11605
+ );
11606
+ }
11607
+
11608
+ /** @internal */
11609
+ export const GetProjectsBlockHistoryProjectsResponseAction$inboundSchema:
11610
+ z.ZodNativeEnum<typeof GetProjectsBlockHistoryProjectsResponseAction> = z
11611
+ .nativeEnum(GetProjectsBlockHistoryProjectsResponseAction);
11612
+
11613
+ /** @internal */
11614
+ export const GetProjectsBlockHistoryProjectsResponseAction$outboundSchema:
11615
+ z.ZodNativeEnum<typeof GetProjectsBlockHistoryProjectsResponseAction> =
11616
+ GetProjectsBlockHistoryProjectsResponseAction$inboundSchema;
11617
+
11618
+ /**
11619
+ * @internal
11620
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11621
+ */
11622
+ export namespace GetProjectsBlockHistoryProjectsResponseAction$ {
11623
+ /** @deprecated use `GetProjectsBlockHistoryProjectsResponseAction$inboundSchema` instead. */
11624
+ export const inboundSchema =
11625
+ GetProjectsBlockHistoryProjectsResponseAction$inboundSchema;
11626
+ /** @deprecated use `GetProjectsBlockHistoryProjectsResponseAction$outboundSchema` instead. */
11627
+ export const outboundSchema =
11628
+ GetProjectsBlockHistoryProjectsResponseAction$outboundSchema;
11629
+ }
11630
+
11631
+ /** @internal */
11632
+ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
11633
+ z.ZodNativeEnum<
11634
+ typeof GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType
11635
+ > = z.nativeEnum(
11636
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType,
11637
+ );
11638
+
11639
+ /** @internal */
11640
+ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
11641
+ z.ZodNativeEnum<
11642
+ typeof GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType
11643
+ > =
11644
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
11645
+
11646
+ /**
11647
+ * @internal
11648
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11649
+ */
11650
+ export namespace GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$ {
11651
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
11652
+ export const inboundSchema =
11653
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
11654
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
11655
+ export const outboundSchema =
11656
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
11657
+ }
11658
+
11659
+ /** @internal */
11660
+ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema:
11661
+ z.ZodType<
11662
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue,
11663
+ z.ZodTypeDef,
11664
+ unknown
11665
+ > = z.object({
11666
+ eq: z.string(),
11667
+ });
11668
+
11669
+ /** @internal */
11670
+ export type GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound =
11671
+ {
11672
+ eq: string;
11673
+ };
11674
+
11675
+ /** @internal */
11676
+ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema:
11677
+ z.ZodType<
11678
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound,
11679
+ z.ZodTypeDef,
11680
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue
11681
+ > = z.object({
11682
+ eq: z.string(),
11683
+ });
11684
+
11685
+ /**
11686
+ * @internal
11687
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11688
+ */
11689
+ export namespace GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$ {
11690
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema` instead. */
11691
+ export const inboundSchema =
11692
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema;
11693
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema` instead. */
11694
+ export const outboundSchema =
11695
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema;
11696
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound` instead. */
11697
+ export type Outbound =
11698
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound;
11699
+ }
11700
+
11701
+ export function getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValueToJSON(
11702
+ getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue:
11703
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue,
11704
+ ): string {
11705
+ return JSON.stringify(
11706
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema
11707
+ .parse(getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue),
11708
+ );
11709
+ }
11710
+
11711
+ export function getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValueFromJSON(
11712
+ jsonString: string,
11713
+ ): SafeParseResult<
11714
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue,
11715
+ SDKValidationError
11716
+ > {
11717
+ return safeParse(
11718
+ jsonString,
11719
+ (x) =>
11720
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema
11721
+ .parse(JSON.parse(x)),
11722
+ `Failed to parse 'GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue' from JSON`,
11723
+ );
11724
+ }
11725
+
11726
+ /** @internal */
11727
+ export const GetProjectsHasProjectsResponse2$inboundSchema: z.ZodType<
11728
+ GetProjectsHasProjectsResponse2,
11729
+ z.ZodTypeDef,
11730
+ unknown
11731
+ > = z.object({
11732
+ type:
11733
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
11734
+ value: z.lazy(() =>
11735
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema
11736
+ ),
11737
+ });
11738
+
11739
+ /** @internal */
11740
+ export type GetProjectsHasProjectsResponse2$Outbound = {
11741
+ type: string;
11742
+ value:
11743
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound;
11744
+ };
11745
+
11746
+ /** @internal */
11747
+ export const GetProjectsHasProjectsResponse2$outboundSchema: z.ZodType<
11748
+ GetProjectsHasProjectsResponse2$Outbound,
11749
+ z.ZodTypeDef,
11750
+ GetProjectsHasProjectsResponse2
11751
+ > = z.object({
11752
+ type:
11753
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
11754
+ value: z.lazy(() =>
11755
+ GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema
11756
+ ),
11757
+ });
11758
+
11759
+ /**
11760
+ * @internal
11761
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11762
+ */
11763
+ export namespace GetProjectsHasProjectsResponse2$ {
11764
+ /** @deprecated use `GetProjectsHasProjectsResponse2$inboundSchema` instead. */
11765
+ export const inboundSchema = GetProjectsHasProjectsResponse2$inboundSchema;
11766
+ /** @deprecated use `GetProjectsHasProjectsResponse2$outboundSchema` instead. */
11767
+ export const outboundSchema = GetProjectsHasProjectsResponse2$outboundSchema;
11768
+ /** @deprecated use `GetProjectsHasProjectsResponse2$Outbound` instead. */
11769
+ export type Outbound = GetProjectsHasProjectsResponse2$Outbound;
11770
+ }
11771
+
11772
+ export function getProjectsHasProjectsResponse2ToJSON(
11773
+ getProjectsHasProjectsResponse2: GetProjectsHasProjectsResponse2,
11774
+ ): string {
11775
+ return JSON.stringify(
11776
+ GetProjectsHasProjectsResponse2$outboundSchema.parse(
11777
+ getProjectsHasProjectsResponse2,
11778
+ ),
11779
+ );
11780
+ }
11781
+
11782
+ export function getProjectsHasProjectsResponse2FromJSON(
11783
+ jsonString: string,
11784
+ ): SafeParseResult<GetProjectsHasProjectsResponse2, SDKValidationError> {
11785
+ return safeParse(
11786
+ jsonString,
11787
+ (x) => GetProjectsHasProjectsResponse2$inboundSchema.parse(JSON.parse(x)),
11788
+ `Failed to parse 'GetProjectsHasProjectsResponse2' from JSON`,
11789
+ );
11790
+ }
11791
+
11792
+ /** @internal */
11793
+ export const GetProjectsHasProjectsResponse200ApplicationJSONType$inboundSchema:
11794
+ z.ZodNativeEnum<typeof GetProjectsHasProjectsResponse200ApplicationJSONType> =
11795
+ z.nativeEnum(GetProjectsHasProjectsResponse200ApplicationJSONType);
11796
+
11797
+ /** @internal */
11798
+ export const GetProjectsHasProjectsResponse200ApplicationJSONType$outboundSchema:
11799
+ z.ZodNativeEnum<typeof GetProjectsHasProjectsResponse200ApplicationJSONType> =
11800
+ GetProjectsHasProjectsResponse200ApplicationJSONType$inboundSchema;
11801
+
11802
+ /**
11803
+ * @internal
11804
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11805
+ */
11806
+ export namespace GetProjectsHasProjectsResponse200ApplicationJSONType$ {
11807
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
11808
+ export const inboundSchema =
11809
+ GetProjectsHasProjectsResponse200ApplicationJSONType$inboundSchema;
11810
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
11811
+ export const outboundSchema =
11812
+ GetProjectsHasProjectsResponse200ApplicationJSONType$outboundSchema;
11813
+ }
11814
+
11815
+ /** @internal */
11816
+ export const GetProjectsHasProjectsResponseKey$inboundSchema: z.ZodNativeEnum<
11817
+ typeof GetProjectsHasProjectsResponseKey
11818
+ > = z.nativeEnum(GetProjectsHasProjectsResponseKey);
11819
+
11820
+ /** @internal */
11821
+ export const GetProjectsHasProjectsResponseKey$outboundSchema: z.ZodNativeEnum<
11822
+ typeof GetProjectsHasProjectsResponseKey
11823
+ > = GetProjectsHasProjectsResponseKey$inboundSchema;
11824
+
11825
+ /**
11826
+ * @internal
11827
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11828
+ */
11829
+ export namespace GetProjectsHasProjectsResponseKey$ {
11830
+ /** @deprecated use `GetProjectsHasProjectsResponseKey$inboundSchema` instead. */
11831
+ export const inboundSchema = GetProjectsHasProjectsResponseKey$inboundSchema;
11832
+ /** @deprecated use `GetProjectsHasProjectsResponseKey$outboundSchema` instead. */
11833
+ export const outboundSchema =
11834
+ GetProjectsHasProjectsResponseKey$outboundSchema;
11835
+ }
11836
+
11837
+ /** @internal */
11838
+ export const GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema:
11839
+ z.ZodType<
11840
+ GetProjectsHasProjectsResponse200ApplicationJSONValue,
11841
+ z.ZodTypeDef,
11842
+ unknown
11843
+ > = z.object({
11844
+ eq: z.string(),
11845
+ });
11846
+
11847
+ /** @internal */
11848
+ export type GetProjectsHasProjectsResponse200ApplicationJSONValue$Outbound = {
11849
+ eq: string;
11850
+ };
11851
+
11852
+ /** @internal */
11853
+ export const GetProjectsHasProjectsResponse200ApplicationJSONValue$outboundSchema:
11854
+ z.ZodType<
11855
+ GetProjectsHasProjectsResponse200ApplicationJSONValue$Outbound,
11856
+ z.ZodTypeDef,
11857
+ GetProjectsHasProjectsResponse200ApplicationJSONValue
11858
+ > = z.object({
11859
+ eq: z.string(),
11860
+ });
11861
+
11862
+ /**
11863
+ * @internal
11864
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11865
+ */
11866
+ export namespace GetProjectsHasProjectsResponse200ApplicationJSONValue$ {
11867
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema` instead. */
11868
+ export const inboundSchema =
11869
+ GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema;
11870
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONValue$outboundSchema` instead. */
11871
+ export const outboundSchema =
11872
+ GetProjectsHasProjectsResponse200ApplicationJSONValue$outboundSchema;
11873
+ /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONValue$Outbound` instead. */
11874
+ export type Outbound =
11875
+ GetProjectsHasProjectsResponse200ApplicationJSONValue$Outbound;
11876
+ }
11877
+
11878
+ export function getProjectsHasProjectsResponse200ApplicationJSONValueToJSON(
11879
+ getProjectsHasProjectsResponse200ApplicationJSONValue:
11880
+ GetProjectsHasProjectsResponse200ApplicationJSONValue,
11881
+ ): string {
11882
+ return JSON.stringify(
11883
+ GetProjectsHasProjectsResponse200ApplicationJSONValue$outboundSchema.parse(
11884
+ getProjectsHasProjectsResponse200ApplicationJSONValue,
11885
+ ),
11886
+ );
11887
+ }
11888
+
11889
+ export function getProjectsHasProjectsResponse200ApplicationJSONValueFromJSON(
11890
+ jsonString: string,
11891
+ ): SafeParseResult<
11892
+ GetProjectsHasProjectsResponse200ApplicationJSONValue,
11893
+ SDKValidationError
11894
+ > {
11895
+ return safeParse(
11896
+ jsonString,
11897
+ (x) =>
11898
+ GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema.parse(
11899
+ JSON.parse(x),
11900
+ ),
11901
+ `Failed to parse 'GetProjectsHasProjectsResponse200ApplicationJSONValue' from JSON`,
11902
+ );
11903
+ }
11904
+
11905
+ /** @internal */
11906
+ export const GetProjectsHasProjectsResponse1$inboundSchema: z.ZodType<
11907
+ GetProjectsHasProjectsResponse1,
11908
+ z.ZodTypeDef,
11909
+ unknown
11910
+ > = z.object({
11911
+ type: GetProjectsHasProjectsResponse200ApplicationJSONType$inboundSchema,
11912
+ key: GetProjectsHasProjectsResponseKey$inboundSchema,
11913
+ value: z.lazy(() =>
11914
+ GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema
11915
+ ),
11916
+ });
11917
+
11918
+ /** @internal */
11919
+ export type GetProjectsHasProjectsResponse1$Outbound = {
11920
+ type: string;
11921
+ key: string;
11922
+ value: GetProjectsHasProjectsResponse200ApplicationJSONValue$Outbound;
11923
+ };
11924
+
11925
+ /** @internal */
11926
+ export const GetProjectsHasProjectsResponse1$outboundSchema: z.ZodType<
11927
+ GetProjectsHasProjectsResponse1$Outbound,
11928
+ z.ZodTypeDef,
11929
+ GetProjectsHasProjectsResponse1
11930
+ > = z.object({
11931
+ type: GetProjectsHasProjectsResponse200ApplicationJSONType$outboundSchema,
11932
+ key: GetProjectsHasProjectsResponseKey$outboundSchema,
11933
+ value: z.lazy(() =>
11934
+ GetProjectsHasProjectsResponse200ApplicationJSONValue$outboundSchema
11935
+ ),
11936
+ });
11937
+
11938
+ /**
11939
+ * @internal
11940
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11941
+ */
11942
+ export namespace GetProjectsHasProjectsResponse1$ {
11943
+ /** @deprecated use `GetProjectsHasProjectsResponse1$inboundSchema` instead. */
11944
+ export const inboundSchema = GetProjectsHasProjectsResponse1$inboundSchema;
11945
+ /** @deprecated use `GetProjectsHasProjectsResponse1$outboundSchema` instead. */
11946
+ export const outboundSchema = GetProjectsHasProjectsResponse1$outboundSchema;
11947
+ /** @deprecated use `GetProjectsHasProjectsResponse1$Outbound` instead. */
11948
+ export type Outbound = GetProjectsHasProjectsResponse1$Outbound;
11949
+ }
11950
+
11951
+ export function getProjectsHasProjectsResponse1ToJSON(
11952
+ getProjectsHasProjectsResponse1: GetProjectsHasProjectsResponse1,
11953
+ ): string {
11954
+ return JSON.stringify(
11955
+ GetProjectsHasProjectsResponse1$outboundSchema.parse(
11956
+ getProjectsHasProjectsResponse1,
11957
+ ),
11958
+ );
11959
+ }
11960
+
11961
+ export function getProjectsHasProjectsResponse1FromJSON(
11962
+ jsonString: string,
11963
+ ): SafeParseResult<GetProjectsHasProjectsResponse1, SDKValidationError> {
11964
+ return safeParse(
11965
+ jsonString,
11966
+ (x) => GetProjectsHasProjectsResponse1$inboundSchema.parse(JSON.parse(x)),
11967
+ `Failed to parse 'GetProjectsHasProjectsResponse1' from JSON`,
11968
+ );
11969
+ }
11970
+
11971
+ /** @internal */
11972
+ export const GetProjectsRouteHas$inboundSchema: z.ZodType<
11973
+ GetProjectsRouteHas,
11974
+ z.ZodTypeDef,
11975
+ unknown
11976
+ > = z.union([
11977
+ z.lazy(() => GetProjectsHasProjectsResponse1$inboundSchema),
11978
+ z.lazy(() => GetProjectsHasProjectsResponse2$inboundSchema),
11979
+ ]);
11980
+
11981
+ /** @internal */
11982
+ export type GetProjectsRouteHas$Outbound =
11983
+ | GetProjectsHasProjectsResponse1$Outbound
11984
+ | GetProjectsHasProjectsResponse2$Outbound;
11985
+
11986
+ /** @internal */
11987
+ export const GetProjectsRouteHas$outboundSchema: z.ZodType<
11988
+ GetProjectsRouteHas$Outbound,
11989
+ z.ZodTypeDef,
11990
+ GetProjectsRouteHas
11991
+ > = z.union([
11992
+ z.lazy(() => GetProjectsHasProjectsResponse1$outboundSchema),
11993
+ z.lazy(() => GetProjectsHasProjectsResponse2$outboundSchema),
11994
+ ]);
11995
+
11996
+ /**
11997
+ * @internal
11998
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
11999
+ */
12000
+ export namespace GetProjectsRouteHas$ {
12001
+ /** @deprecated use `GetProjectsRouteHas$inboundSchema` instead. */
12002
+ export const inboundSchema = GetProjectsRouteHas$inboundSchema;
12003
+ /** @deprecated use `GetProjectsRouteHas$outboundSchema` instead. */
12004
+ export const outboundSchema = GetProjectsRouteHas$outboundSchema;
12005
+ /** @deprecated use `GetProjectsRouteHas$Outbound` instead. */
12006
+ export type Outbound = GetProjectsRouteHas$Outbound;
12007
+ }
12008
+
12009
+ export function getProjectsRouteHasToJSON(
12010
+ getProjectsRouteHas: GetProjectsRouteHas,
12011
+ ): string {
12012
+ return JSON.stringify(
12013
+ GetProjectsRouteHas$outboundSchema.parse(getProjectsRouteHas),
12014
+ );
12015
+ }
12016
+
12017
+ export function getProjectsRouteHasFromJSON(
12018
+ jsonString: string,
12019
+ ): SafeParseResult<GetProjectsRouteHas, SDKValidationError> {
12020
+ return safeParse(
12021
+ jsonString,
12022
+ (x) => GetProjectsRouteHas$inboundSchema.parse(JSON.parse(x)),
12023
+ `Failed to parse 'GetProjectsRouteHas' from JSON`,
12024
+ );
12025
+ }
12026
+
12027
+ /** @internal */
12028
+ export const GetProjectsRouteAction$inboundSchema: z.ZodNativeEnum<
12029
+ typeof GetProjectsRouteAction
12030
+ > = z.nativeEnum(GetProjectsRouteAction);
12031
+
12032
+ /** @internal */
12033
+ export const GetProjectsRouteAction$outboundSchema: z.ZodNativeEnum<
12034
+ typeof GetProjectsRouteAction
12035
+ > = GetProjectsRouteAction$inboundSchema;
12036
+
12037
+ /**
12038
+ * @internal
12039
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12040
+ */
12041
+ export namespace GetProjectsRouteAction$ {
12042
+ /** @deprecated use `GetProjectsRouteAction$inboundSchema` instead. */
12043
+ export const inboundSchema = GetProjectsRouteAction$inboundSchema;
12044
+ /** @deprecated use `GetProjectsRouteAction$outboundSchema` instead. */
12045
+ export const outboundSchema = GetProjectsRouteAction$outboundSchema;
12046
+ }
12047
+
12048
+ /** @internal */
12049
+ export const GetProjectsRouteMitigate$inboundSchema: z.ZodType<
12050
+ GetProjectsRouteMitigate,
12051
+ z.ZodTypeDef,
12052
+ unknown
12053
+ > = z.object({
12054
+ action: GetProjectsRouteAction$inboundSchema,
12055
+ });
12056
+
12057
+ /** @internal */
12058
+ export type GetProjectsRouteMitigate$Outbound = {
12059
+ action: string;
12060
+ };
12061
+
12062
+ /** @internal */
12063
+ export const GetProjectsRouteMitigate$outboundSchema: z.ZodType<
12064
+ GetProjectsRouteMitigate$Outbound,
12065
+ z.ZodTypeDef,
12066
+ GetProjectsRouteMitigate
12067
+ > = z.object({
12068
+ action: GetProjectsRouteAction$outboundSchema,
12069
+ });
12070
+
12071
+ /**
12072
+ * @internal
12073
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12074
+ */
12075
+ export namespace GetProjectsRouteMitigate$ {
12076
+ /** @deprecated use `GetProjectsRouteMitigate$inboundSchema` instead. */
12077
+ export const inboundSchema = GetProjectsRouteMitigate$inboundSchema;
12078
+ /** @deprecated use `GetProjectsRouteMitigate$outboundSchema` instead. */
12079
+ export const outboundSchema = GetProjectsRouteMitigate$outboundSchema;
12080
+ /** @deprecated use `GetProjectsRouteMitigate$Outbound` instead. */
12081
+ export type Outbound = GetProjectsRouteMitigate$Outbound;
12082
+ }
12083
+
12084
+ export function getProjectsRouteMitigateToJSON(
12085
+ getProjectsRouteMitigate: GetProjectsRouteMitigate,
12086
+ ): string {
12087
+ return JSON.stringify(
12088
+ GetProjectsRouteMitigate$outboundSchema.parse(getProjectsRouteMitigate),
12089
+ );
12090
+ }
12091
+
12092
+ export function getProjectsRouteMitigateFromJSON(
12093
+ jsonString: string,
12094
+ ): SafeParseResult<GetProjectsRouteMitigate, SDKValidationError> {
12095
+ return safeParse(
12096
+ jsonString,
12097
+ (x) => GetProjectsRouteMitigate$inboundSchema.parse(JSON.parse(x)),
12098
+ `Failed to parse 'GetProjectsRouteMitigate' from JSON`,
12099
+ );
12100
+ }
12101
+
12102
+ /** @internal */
12103
+ export const GetProjectsRoute2$inboundSchema: z.ZodType<
12104
+ GetProjectsRoute2,
12105
+ z.ZodTypeDef,
12106
+ unknown
12107
+ > = z.object({
12108
+ has: z.array(
12109
+ z.union([
12110
+ z.lazy(() => GetProjectsHasProjectsResponse1$inboundSchema),
12111
+ z.lazy(() => GetProjectsHasProjectsResponse2$inboundSchema),
12112
+ ]),
12113
+ ),
12114
+ mitigate: z.lazy(() => GetProjectsRouteMitigate$inboundSchema),
12115
+ src: z.string().optional(),
12116
+ });
12117
+
12118
+ /** @internal */
12119
+ export type GetProjectsRoute2$Outbound = {
12120
+ has: Array<
12121
+ | GetProjectsHasProjectsResponse1$Outbound
12122
+ | GetProjectsHasProjectsResponse2$Outbound
12123
+ >;
12124
+ mitigate: GetProjectsRouteMitigate$Outbound;
12125
+ src?: string | undefined;
12126
+ };
12127
+
12128
+ /** @internal */
12129
+ export const GetProjectsRoute2$outboundSchema: z.ZodType<
12130
+ GetProjectsRoute2$Outbound,
12131
+ z.ZodTypeDef,
12132
+ GetProjectsRoute2
12133
+ > = z.object({
12134
+ has: z.array(
12135
+ z.union([
12136
+ z.lazy(() => GetProjectsHasProjectsResponse1$outboundSchema),
12137
+ z.lazy(() => GetProjectsHasProjectsResponse2$outboundSchema),
12138
+ ]),
12139
+ ),
12140
+ mitigate: z.lazy(() => GetProjectsRouteMitigate$outboundSchema),
12141
+ src: z.string().optional(),
12142
+ });
12143
+
12144
+ /**
12145
+ * @internal
12146
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12147
+ */
12148
+ export namespace GetProjectsRoute2$ {
12149
+ /** @deprecated use `GetProjectsRoute2$inboundSchema` instead. */
12150
+ export const inboundSchema = GetProjectsRoute2$inboundSchema;
12151
+ /** @deprecated use `GetProjectsRoute2$outboundSchema` instead. */
12152
+ export const outboundSchema = GetProjectsRoute2$outboundSchema;
12153
+ /** @deprecated use `GetProjectsRoute2$Outbound` instead. */
12154
+ export type Outbound = GetProjectsRoute2$Outbound;
12155
+ }
12156
+
12157
+ export function getProjectsRoute2ToJSON(
12158
+ getProjectsRoute2: GetProjectsRoute2,
12159
+ ): string {
12160
+ return JSON.stringify(
12161
+ GetProjectsRoute2$outboundSchema.parse(getProjectsRoute2),
12162
+ );
12163
+ }
12164
+
12165
+ export function getProjectsRoute2FromJSON(
12166
+ jsonString: string,
12167
+ ): SafeParseResult<GetProjectsRoute2, SDKValidationError> {
12168
+ return safeParse(
12169
+ jsonString,
12170
+ (x) => GetProjectsRoute2$inboundSchema.parse(JSON.parse(x)),
12171
+ `Failed to parse 'GetProjectsRoute2' from JSON`,
12172
+ );
12173
+ }
12174
+
12175
+ /** @internal */
12176
+ export const GetProjectsRoute1$inboundSchema: z.ZodType<
12177
+ GetProjectsRoute1,
12178
+ z.ZodTypeDef,
12179
+ unknown
12180
+ > = z.object({
12181
+ src: z.string(),
12182
+ status: z.number(),
12183
+ });
12184
+
12185
+ /** @internal */
12186
+ export type GetProjectsRoute1$Outbound = {
12187
+ src: string;
12188
+ status: number;
12189
+ };
12190
+
12191
+ /** @internal */
12192
+ export const GetProjectsRoute1$outboundSchema: z.ZodType<
12193
+ GetProjectsRoute1$Outbound,
12194
+ z.ZodTypeDef,
12195
+ GetProjectsRoute1
12196
+ > = z.object({
12197
+ src: z.string(),
12198
+ status: z.number(),
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 GetProjectsRoute1$ {
12206
+ /** @deprecated use `GetProjectsRoute1$inboundSchema` instead. */
12207
+ export const inboundSchema = GetProjectsRoute1$inboundSchema;
12208
+ /** @deprecated use `GetProjectsRoute1$outboundSchema` instead. */
12209
+ export const outboundSchema = GetProjectsRoute1$outboundSchema;
12210
+ /** @deprecated use `GetProjectsRoute1$Outbound` instead. */
12211
+ export type Outbound = GetProjectsRoute1$Outbound;
12212
+ }
12213
+
12214
+ export function getProjectsRoute1ToJSON(
12215
+ getProjectsRoute1: GetProjectsRoute1,
12216
+ ): string {
12217
+ return JSON.stringify(
12218
+ GetProjectsRoute1$outboundSchema.parse(getProjectsRoute1),
12219
+ );
12220
+ }
12221
+
12222
+ export function getProjectsRoute1FromJSON(
12223
+ jsonString: string,
12224
+ ): SafeParseResult<GetProjectsRoute1, SDKValidationError> {
12225
+ return safeParse(
12226
+ jsonString,
12227
+ (x) => GetProjectsRoute1$inboundSchema.parse(JSON.parse(x)),
12228
+ `Failed to parse 'GetProjectsRoute1' from JSON`,
12229
+ );
12230
+ }
12231
+
12232
+ /** @internal */
12233
+ export const GetProjectsBlockHistoryRoute$inboundSchema: z.ZodType<
12234
+ GetProjectsBlockHistoryRoute,
12235
+ z.ZodTypeDef,
12236
+ unknown
12237
+ > = z.union([
12238
+ z.lazy(() => GetProjectsRoute1$inboundSchema),
12239
+ z.lazy(() => GetProjectsRoute2$inboundSchema),
12240
+ ]);
12241
+
12242
+ /** @internal */
12243
+ export type GetProjectsBlockHistoryRoute$Outbound =
12244
+ | GetProjectsRoute1$Outbound
12245
+ | GetProjectsRoute2$Outbound;
12246
+
12247
+ /** @internal */
12248
+ export const GetProjectsBlockHistoryRoute$outboundSchema: z.ZodType<
12249
+ GetProjectsBlockHistoryRoute$Outbound,
12250
+ z.ZodTypeDef,
12251
+ GetProjectsBlockHistoryRoute
12252
+ > = z.union([
12253
+ z.lazy(() => GetProjectsRoute1$outboundSchema),
12254
+ z.lazy(() => GetProjectsRoute2$outboundSchema),
12255
+ ]);
12256
+
12257
+ /**
12258
+ * @internal
12259
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12260
+ */
12261
+ export namespace GetProjectsBlockHistoryRoute$ {
12262
+ /** @deprecated use `GetProjectsBlockHistoryRoute$inboundSchema` instead. */
12263
+ export const inboundSchema = GetProjectsBlockHistoryRoute$inboundSchema;
12264
+ /** @deprecated use `GetProjectsBlockHistoryRoute$outboundSchema` instead. */
12265
+ export const outboundSchema = GetProjectsBlockHistoryRoute$outboundSchema;
12266
+ /** @deprecated use `GetProjectsBlockHistoryRoute$Outbound` instead. */
12267
+ export type Outbound = GetProjectsBlockHistoryRoute$Outbound;
12268
+ }
12269
+
12270
+ export function getProjectsBlockHistoryRouteToJSON(
12271
+ getProjectsBlockHistoryRoute: GetProjectsBlockHistoryRoute,
12272
+ ): string {
12273
+ return JSON.stringify(
12274
+ GetProjectsBlockHistoryRoute$outboundSchema.parse(
12275
+ getProjectsBlockHistoryRoute,
12276
+ ),
12277
+ );
12278
+ }
12279
+
12280
+ export function getProjectsBlockHistoryRouteFromJSON(
12281
+ jsonString: string,
12282
+ ): SafeParseResult<GetProjectsBlockHistoryRoute, SDKValidationError> {
12283
+ return safeParse(
12284
+ jsonString,
12285
+ (x) => GetProjectsBlockHistoryRoute$inboundSchema.parse(JSON.parse(x)),
12286
+ `Failed to parse 'GetProjectsBlockHistoryRoute' from JSON`,
12287
+ );
12288
+ }
12289
+
12290
+ /** @internal */
12291
+ export const GetProjectsBlockHistory3$inboundSchema: z.ZodType<
12292
+ GetProjectsBlockHistory3,
12293
+ z.ZodTypeDef,
12294
+ unknown
12295
+ > = z.object({
12296
+ action: GetProjectsBlockHistoryProjectsResponseAction$inboundSchema,
12297
+ route: z.union([
12298
+ z.lazy(() => GetProjectsRoute1$inboundSchema),
12299
+ z.lazy(() => GetProjectsRoute2$inboundSchema),
12300
+ ]),
12301
+ reason: z.string(),
12302
+ createdAt: z.number(),
12303
+ caseId: z.string().optional(),
12304
+ actor: z.string().optional(),
12305
+ comment: z.string().optional(),
12306
+ isCascading: z.boolean().optional(),
12307
+ });
12308
+
12309
+ /** @internal */
12310
+ export type GetProjectsBlockHistory3$Outbound = {
12311
+ action: string;
12312
+ route: GetProjectsRoute1$Outbound | GetProjectsRoute2$Outbound;
12313
+ reason: string;
12314
+ createdAt: number;
12315
+ caseId?: string | undefined;
12316
+ actor?: string | undefined;
12317
+ comment?: string | undefined;
12318
+ isCascading?: boolean | undefined;
12319
+ };
12320
+
12321
+ /** @internal */
12322
+ export const GetProjectsBlockHistory3$outboundSchema: z.ZodType<
12323
+ GetProjectsBlockHistory3$Outbound,
12324
+ z.ZodTypeDef,
12325
+ GetProjectsBlockHistory3
12326
+ > = z.object({
12327
+ action: GetProjectsBlockHistoryProjectsResponseAction$outboundSchema,
12328
+ route: z.union([
12329
+ z.lazy(() => GetProjectsRoute1$outboundSchema),
12330
+ z.lazy(() => GetProjectsRoute2$outboundSchema),
12331
+ ]),
12332
+ reason: z.string(),
12333
+ createdAt: z.number(),
12334
+ caseId: z.string().optional(),
12335
+ actor: z.string().optional(),
12336
+ comment: z.string().optional(),
12337
+ isCascading: z.boolean().optional(),
12338
+ });
12339
+
12340
+ /**
12341
+ * @internal
12342
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12343
+ */
12344
+ export namespace GetProjectsBlockHistory3$ {
12345
+ /** @deprecated use `GetProjectsBlockHistory3$inboundSchema` instead. */
12346
+ export const inboundSchema = GetProjectsBlockHistory3$inboundSchema;
12347
+ /** @deprecated use `GetProjectsBlockHistory3$outboundSchema` instead. */
12348
+ export const outboundSchema = GetProjectsBlockHistory3$outboundSchema;
12349
+ /** @deprecated use `GetProjectsBlockHistory3$Outbound` instead. */
12350
+ export type Outbound = GetProjectsBlockHistory3$Outbound;
12351
+ }
12352
+
12353
+ export function getProjectsBlockHistory3ToJSON(
12354
+ getProjectsBlockHistory3: GetProjectsBlockHistory3,
12355
+ ): string {
12356
+ return JSON.stringify(
12357
+ GetProjectsBlockHistory3$outboundSchema.parse(getProjectsBlockHistory3),
12358
+ );
12359
+ }
12360
+
12361
+ export function getProjectsBlockHistory3FromJSON(
12362
+ jsonString: string,
12363
+ ): SafeParseResult<GetProjectsBlockHistory3, SDKValidationError> {
12364
+ return safeParse(
12365
+ jsonString,
12366
+ (x) => GetProjectsBlockHistory3$inboundSchema.parse(JSON.parse(x)),
12367
+ `Failed to parse 'GetProjectsBlockHistory3' from JSON`,
12368
+ );
12369
+ }
12370
+
12371
+ /** @internal */
12372
+ export const GetProjectsBlockHistoryProjectsAction$inboundSchema:
12373
+ z.ZodNativeEnum<typeof GetProjectsBlockHistoryProjectsAction> = z.nativeEnum(
12374
+ GetProjectsBlockHistoryProjectsAction,
12375
+ );
12376
+
12377
+ /** @internal */
12378
+ export const GetProjectsBlockHistoryProjectsAction$outboundSchema:
12379
+ z.ZodNativeEnum<typeof GetProjectsBlockHistoryProjectsAction> =
12380
+ GetProjectsBlockHistoryProjectsAction$inboundSchema;
12381
+
12382
+ /**
12383
+ * @internal
12384
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12385
+ */
12386
+ export namespace GetProjectsBlockHistoryProjectsAction$ {
12387
+ /** @deprecated use `GetProjectsBlockHistoryProjectsAction$inboundSchema` instead. */
12388
+ export const inboundSchema =
12389
+ GetProjectsBlockHistoryProjectsAction$inboundSchema;
12390
+ /** @deprecated use `GetProjectsBlockHistoryProjectsAction$outboundSchema` instead. */
12391
+ export const outboundSchema =
12392
+ GetProjectsBlockHistoryProjectsAction$outboundSchema;
12393
+ }
12394
+
12395
+ /** @internal */
12396
+ export const GetProjectsBlockHistory2$inboundSchema: z.ZodType<
12397
+ GetProjectsBlockHistory2,
12398
+ z.ZodTypeDef,
12399
+ unknown
12400
+ > = z.object({
12401
+ action: GetProjectsBlockHistoryProjectsAction$inboundSchema,
12402
+ createdAt: z.number(),
12403
+ caseId: z.string().optional(),
12404
+ actor: z.string().optional(),
12405
+ comment: z.string().optional(),
12406
+ isCascading: z.boolean().optional(),
12407
+ });
12408
+
12409
+ /** @internal */
12410
+ export type GetProjectsBlockHistory2$Outbound = {
12411
+ action: string;
12412
+ createdAt: number;
12413
+ caseId?: string | undefined;
12414
+ actor?: string | undefined;
12415
+ comment?: string | undefined;
12416
+ isCascading?: boolean | undefined;
12417
+ };
12418
+
12419
+ /** @internal */
12420
+ export const GetProjectsBlockHistory2$outboundSchema: z.ZodType<
12421
+ GetProjectsBlockHistory2$Outbound,
12422
+ z.ZodTypeDef,
12423
+ GetProjectsBlockHistory2
12424
+ > = z.object({
12425
+ action: GetProjectsBlockHistoryProjectsAction$outboundSchema,
12426
+ createdAt: z.number(),
12427
+ caseId: z.string().optional(),
12428
+ actor: z.string().optional(),
12429
+ comment: z.string().optional(),
12430
+ isCascading: z.boolean().optional(),
12431
+ });
12432
+
12433
+ /**
12434
+ * @internal
12435
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12436
+ */
12437
+ export namespace GetProjectsBlockHistory2$ {
12438
+ /** @deprecated use `GetProjectsBlockHistory2$inboundSchema` instead. */
12439
+ export const inboundSchema = GetProjectsBlockHistory2$inboundSchema;
12440
+ /** @deprecated use `GetProjectsBlockHistory2$outboundSchema` instead. */
12441
+ export const outboundSchema = GetProjectsBlockHistory2$outboundSchema;
12442
+ /** @deprecated use `GetProjectsBlockHistory2$Outbound` instead. */
12443
+ export type Outbound = GetProjectsBlockHistory2$Outbound;
12444
+ }
12445
+
12446
+ export function getProjectsBlockHistory2ToJSON(
12447
+ getProjectsBlockHistory2: GetProjectsBlockHistory2,
12448
+ ): string {
12449
+ return JSON.stringify(
12450
+ GetProjectsBlockHistory2$outboundSchema.parse(getProjectsBlockHistory2),
12451
+ );
12452
+ }
12453
+
12454
+ export function getProjectsBlockHistory2FromJSON(
12455
+ jsonString: string,
12456
+ ): SafeParseResult<GetProjectsBlockHistory2, SDKValidationError> {
12457
+ return safeParse(
12458
+ jsonString,
12459
+ (x) => GetProjectsBlockHistory2$inboundSchema.parse(JSON.parse(x)),
12460
+ `Failed to parse 'GetProjectsBlockHistory2' from JSON`,
12461
+ );
12462
+ }
12463
+
12464
+ /** @internal */
12465
+ export const GetProjectsBlockHistoryAction$inboundSchema: z.ZodNativeEnum<
12466
+ typeof GetProjectsBlockHistoryAction
12467
+ > = z.nativeEnum(GetProjectsBlockHistoryAction);
12468
+
12469
+ /** @internal */
12470
+ export const GetProjectsBlockHistoryAction$outboundSchema: z.ZodNativeEnum<
12471
+ typeof GetProjectsBlockHistoryAction
12472
+ > = GetProjectsBlockHistoryAction$inboundSchema;
12473
+
12474
+ /**
12475
+ * @internal
12476
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12477
+ */
12478
+ export namespace GetProjectsBlockHistoryAction$ {
12479
+ /** @deprecated use `GetProjectsBlockHistoryAction$inboundSchema` instead. */
12480
+ export const inboundSchema = GetProjectsBlockHistoryAction$inboundSchema;
12481
+ /** @deprecated use `GetProjectsBlockHistoryAction$outboundSchema` instead. */
12482
+ export const outboundSchema = GetProjectsBlockHistoryAction$outboundSchema;
12483
+ }
12484
+
12485
+ /** @internal */
12486
+ export const GetProjectsBlockHistory1$inboundSchema: z.ZodType<
12487
+ GetProjectsBlockHistory1,
12488
+ z.ZodTypeDef,
12489
+ unknown
12490
+ > = z.object({
12491
+ action: GetProjectsBlockHistoryAction$inboundSchema,
12492
+ reason: z.string(),
12493
+ statusCode: z.number(),
12494
+ createdAt: z.number(),
12495
+ caseId: z.string().optional(),
12496
+ actor: z.string().optional(),
12497
+ comment: z.string().optional(),
12498
+ isCascading: z.boolean().optional(),
12499
+ });
12500
+
12501
+ /** @internal */
12502
+ export type GetProjectsBlockHistory1$Outbound = {
12503
+ action: string;
12504
+ reason: string;
12505
+ statusCode: number;
12506
+ createdAt: number;
12507
+ caseId?: string | undefined;
12508
+ actor?: string | undefined;
12509
+ comment?: string | undefined;
12510
+ isCascading?: boolean | undefined;
12511
+ };
12512
+
12513
+ /** @internal */
12514
+ export const GetProjectsBlockHistory1$outboundSchema: z.ZodType<
12515
+ GetProjectsBlockHistory1$Outbound,
12516
+ z.ZodTypeDef,
12517
+ GetProjectsBlockHistory1
12518
+ > = z.object({
12519
+ action: GetProjectsBlockHistoryAction$outboundSchema,
12520
+ reason: z.string(),
12521
+ statusCode: z.number(),
12522
+ createdAt: z.number(),
12523
+ caseId: z.string().optional(),
12524
+ actor: z.string().optional(),
12525
+ comment: z.string().optional(),
12526
+ isCascading: z.boolean().optional(),
12527
+ });
12528
+
12529
+ /**
12530
+ * @internal
12531
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12532
+ */
12533
+ export namespace GetProjectsBlockHistory1$ {
12534
+ /** @deprecated use `GetProjectsBlockHistory1$inboundSchema` instead. */
12535
+ export const inboundSchema = GetProjectsBlockHistory1$inboundSchema;
12536
+ /** @deprecated use `GetProjectsBlockHistory1$outboundSchema` instead. */
12537
+ export const outboundSchema = GetProjectsBlockHistory1$outboundSchema;
12538
+ /** @deprecated use `GetProjectsBlockHistory1$Outbound` instead. */
12539
+ export type Outbound = GetProjectsBlockHistory1$Outbound;
12540
+ }
12541
+
12542
+ export function getProjectsBlockHistory1ToJSON(
12543
+ getProjectsBlockHistory1: GetProjectsBlockHistory1,
12544
+ ): string {
12545
+ return JSON.stringify(
12546
+ GetProjectsBlockHistory1$outboundSchema.parse(getProjectsBlockHistory1),
12547
+ );
12548
+ }
12549
+
12550
+ export function getProjectsBlockHistory1FromJSON(
12551
+ jsonString: string,
12552
+ ): SafeParseResult<GetProjectsBlockHistory1, SDKValidationError> {
12553
+ return safeParse(
12554
+ jsonString,
12555
+ (x) => GetProjectsBlockHistory1$inboundSchema.parse(JSON.parse(x)),
12556
+ `Failed to parse 'GetProjectsBlockHistory1' from JSON`,
12557
+ );
12558
+ }
12559
+
12560
+ /** @internal */
12561
+ export const GetProjectsBlockHistory$inboundSchema: z.ZodType<
12562
+ GetProjectsBlockHistory,
12563
+ z.ZodTypeDef,
12564
+ unknown
12565
+ > = z.union([
12566
+ z.lazy(() => GetProjectsBlockHistory1$inboundSchema),
12567
+ z.lazy(() => GetProjectsBlockHistory3$inboundSchema),
12568
+ z.lazy(() => GetProjectsBlockHistory4$inboundSchema),
12569
+ z.lazy(() => GetProjectsBlockHistory2$inboundSchema),
12570
+ ]);
12571
+
12572
+ /** @internal */
12573
+ export type GetProjectsBlockHistory$Outbound =
12574
+ | GetProjectsBlockHistory1$Outbound
12575
+ | GetProjectsBlockHistory3$Outbound
12576
+ | GetProjectsBlockHistory4$Outbound
12577
+ | GetProjectsBlockHistory2$Outbound;
12578
+
12579
+ /** @internal */
12580
+ export const GetProjectsBlockHistory$outboundSchema: z.ZodType<
12581
+ GetProjectsBlockHistory$Outbound,
12582
+ z.ZodTypeDef,
12583
+ GetProjectsBlockHistory
12584
+ > = z.union([
12585
+ z.lazy(() => GetProjectsBlockHistory1$outboundSchema),
12586
+ z.lazy(() => GetProjectsBlockHistory3$outboundSchema),
12587
+ z.lazy(() => GetProjectsBlockHistory4$outboundSchema),
12588
+ z.lazy(() => GetProjectsBlockHistory2$outboundSchema),
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 GetProjectsBlockHistory$ {
12596
+ /** @deprecated use `GetProjectsBlockHistory$inboundSchema` instead. */
12597
+ export const inboundSchema = GetProjectsBlockHistory$inboundSchema;
12598
+ /** @deprecated use `GetProjectsBlockHistory$outboundSchema` instead. */
12599
+ export const outboundSchema = GetProjectsBlockHistory$outboundSchema;
12600
+ /** @deprecated use `GetProjectsBlockHistory$Outbound` instead. */
12601
+ export type Outbound = GetProjectsBlockHistory$Outbound;
12602
+ }
12603
+
12604
+ export function getProjectsBlockHistoryToJSON(
12605
+ getProjectsBlockHistory: GetProjectsBlockHistory,
12606
+ ): string {
12607
+ return JSON.stringify(
12608
+ GetProjectsBlockHistory$outboundSchema.parse(getProjectsBlockHistory),
12609
+ );
12610
+ }
12611
+
12612
+ export function getProjectsBlockHistoryFromJSON(
12613
+ jsonString: string,
12614
+ ): SafeParseResult<GetProjectsBlockHistory, SDKValidationError> {
12615
+ return safeParse(
12616
+ jsonString,
12617
+ (x) => GetProjectsBlockHistory$inboundSchema.parse(JSON.parse(x)),
12618
+ `Failed to parse 'GetProjectsBlockHistory' from JSON`,
12619
+ );
12620
+ }
12621
+
12622
+ /** @internal */
12623
+ export const GetProjectsAbuse$inboundSchema: z.ZodType<
12624
+ GetProjectsAbuse,
12625
+ z.ZodTypeDef,
12626
+ unknown
12627
+ > = z.object({
12628
+ scanner: z.string().optional(),
12629
+ history: z.array(z.lazy(() => GetProjectsHistory$inboundSchema)),
12630
+ updatedAt: z.number(),
12631
+ block: z.lazy(() => GetProjectsBlock$inboundSchema).optional(),
12632
+ blockHistory: z.array(
12633
+ z.union([
12634
+ z.lazy(() => GetProjectsBlockHistory1$inboundSchema),
12635
+ z.lazy(() => GetProjectsBlockHistory3$inboundSchema),
12636
+ z.lazy(() => GetProjectsBlockHistory4$inboundSchema),
12637
+ z.lazy(() => GetProjectsBlockHistory2$inboundSchema),
12638
+ ]),
12639
+ ).optional(),
12640
+ });
12641
+
12642
+ /** @internal */
12643
+ export type GetProjectsAbuse$Outbound = {
12644
+ scanner?: string | undefined;
12645
+ history: Array<GetProjectsHistory$Outbound>;
12646
+ updatedAt: number;
12647
+ block?: GetProjectsBlock$Outbound | undefined;
12648
+ blockHistory?:
12649
+ | Array<
12650
+ | GetProjectsBlockHistory1$Outbound
12651
+ | GetProjectsBlockHistory3$Outbound
12652
+ | GetProjectsBlockHistory4$Outbound
12653
+ | GetProjectsBlockHistory2$Outbound
12654
+ >
12655
+ | undefined;
12656
+ };
12657
+
12658
+ /** @internal */
12659
+ export const GetProjectsAbuse$outboundSchema: z.ZodType<
12660
+ GetProjectsAbuse$Outbound,
12661
+ z.ZodTypeDef,
12662
+ GetProjectsAbuse
12663
+ > = z.object({
12664
+ scanner: z.string().optional(),
12665
+ history: z.array(z.lazy(() => GetProjectsHistory$outboundSchema)),
12666
+ updatedAt: z.number(),
12667
+ block: z.lazy(() => GetProjectsBlock$outboundSchema).optional(),
12668
+ blockHistory: z.array(
12669
+ z.union([
12670
+ z.lazy(() => GetProjectsBlockHistory1$outboundSchema),
12671
+ z.lazy(() => GetProjectsBlockHistory3$outboundSchema),
12672
+ z.lazy(() => GetProjectsBlockHistory4$outboundSchema),
12673
+ z.lazy(() => GetProjectsBlockHistory2$outboundSchema),
12674
+ ]),
12675
+ ).optional(),
12676
+ });
12677
+
12678
+ /**
12679
+ * @internal
12680
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12681
+ */
12682
+ export namespace GetProjectsAbuse$ {
12683
+ /** @deprecated use `GetProjectsAbuse$inboundSchema` instead. */
12684
+ export const inboundSchema = GetProjectsAbuse$inboundSchema;
12685
+ /** @deprecated use `GetProjectsAbuse$outboundSchema` instead. */
12686
+ export const outboundSchema = GetProjectsAbuse$outboundSchema;
12687
+ /** @deprecated use `GetProjectsAbuse$Outbound` instead. */
12688
+ export type Outbound = GetProjectsAbuse$Outbound;
12689
+ }
12690
+
12691
+ export function getProjectsAbuseToJSON(
12692
+ getProjectsAbuse: GetProjectsAbuse,
12693
+ ): string {
12694
+ return JSON.stringify(
12695
+ GetProjectsAbuse$outboundSchema.parse(getProjectsAbuse),
12696
+ );
12697
+ }
12698
+
12699
+ export function getProjectsAbuseFromJSON(
12700
+ jsonString: string,
12701
+ ): SafeParseResult<GetProjectsAbuse, SDKValidationError> {
12702
+ return safeParse(
12703
+ jsonString,
12704
+ (x) => GetProjectsAbuse$inboundSchema.parse(JSON.parse(x)),
12705
+ `Failed to parse 'GetProjectsAbuse' from JSON`,
12706
+ );
12707
+ }
12708
+
12709
+ /** @internal */
12710
+ export const GetProjectsHasProjectsType$inboundSchema: z.ZodNativeEnum<
12711
+ typeof GetProjectsHasProjectsType
12712
+ > = z.nativeEnum(GetProjectsHasProjectsType);
12713
+
12714
+ /** @internal */
12715
+ export const GetProjectsHasProjectsType$outboundSchema: z.ZodNativeEnum<
12716
+ typeof GetProjectsHasProjectsType
12717
+ > = GetProjectsHasProjectsType$inboundSchema;
12718
+
12719
+ /**
12720
+ * @internal
12721
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12722
+ */
12723
+ export namespace GetProjectsHasProjectsType$ {
12724
+ /** @deprecated use `GetProjectsHasProjectsType$inboundSchema` instead. */
12725
+ export const inboundSchema = GetProjectsHasProjectsType$inboundSchema;
12726
+ /** @deprecated use `GetProjectsHasProjectsType$outboundSchema` instead. */
12727
+ export const outboundSchema = GetProjectsHasProjectsType$outboundSchema;
12728
+ }
12729
+
12730
+ /** @internal */
12731
+ export const GetProjectsHasProjectsValue$inboundSchema: z.ZodType<
12732
+ GetProjectsHasProjectsValue,
12733
+ z.ZodTypeDef,
12734
+ unknown
12735
+ > = z.object({
12736
+ eq: z.string(),
12737
+ });
12738
+
12739
+ /** @internal */
12740
+ export type GetProjectsHasProjectsValue$Outbound = {
12741
+ eq: string;
12742
+ };
12743
+
12744
+ /** @internal */
12745
+ export const GetProjectsHasProjectsValue$outboundSchema: z.ZodType<
12746
+ GetProjectsHasProjectsValue$Outbound,
12747
+ z.ZodTypeDef,
12748
+ GetProjectsHasProjectsValue
12749
+ > = z.object({
12750
+ eq: z.string(),
12751
+ });
12752
+
12753
+ /**
12754
+ * @internal
12755
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12756
+ */
12757
+ export namespace GetProjectsHasProjectsValue$ {
12758
+ /** @deprecated use `GetProjectsHasProjectsValue$inboundSchema` instead. */
12759
+ export const inboundSchema = GetProjectsHasProjectsValue$inboundSchema;
12760
+ /** @deprecated use `GetProjectsHasProjectsValue$outboundSchema` instead. */
12761
+ export const outboundSchema = GetProjectsHasProjectsValue$outboundSchema;
12762
+ /** @deprecated use `GetProjectsHasProjectsValue$Outbound` instead. */
12763
+ export type Outbound = GetProjectsHasProjectsValue$Outbound;
12764
+ }
12765
+
12766
+ export function getProjectsHasProjectsValueToJSON(
12767
+ getProjectsHasProjectsValue: GetProjectsHasProjectsValue,
12768
+ ): string {
12769
+ return JSON.stringify(
12770
+ GetProjectsHasProjectsValue$outboundSchema.parse(
12771
+ getProjectsHasProjectsValue,
12772
+ ),
12773
+ );
12774
+ }
12775
+
12776
+ export function getProjectsHasProjectsValueFromJSON(
12777
+ jsonString: string,
12778
+ ): SafeParseResult<GetProjectsHasProjectsValue, SDKValidationError> {
12779
+ return safeParse(
12780
+ jsonString,
12781
+ (x) => GetProjectsHasProjectsValue$inboundSchema.parse(JSON.parse(x)),
12782
+ `Failed to parse 'GetProjectsHasProjectsValue' from JSON`,
12783
+ );
12784
+ }
12785
+
12786
+ /** @internal */
12787
+ export const GetProjectsHas2$inboundSchema: z.ZodType<
12788
+ GetProjectsHas2,
12789
+ z.ZodTypeDef,
12790
+ unknown
12791
+ > = z.object({
12792
+ type: GetProjectsHasProjectsType$inboundSchema,
12793
+ value: z.lazy(() => GetProjectsHasProjectsValue$inboundSchema),
12794
+ });
12795
+
12796
+ /** @internal */
12797
+ export type GetProjectsHas2$Outbound = {
12798
+ type: string;
12799
+ value: GetProjectsHasProjectsValue$Outbound;
12800
+ };
12801
+
12802
+ /** @internal */
12803
+ export const GetProjectsHas2$outboundSchema: z.ZodType<
12804
+ GetProjectsHas2$Outbound,
12805
+ z.ZodTypeDef,
12806
+ GetProjectsHas2
12807
+ > = z.object({
12808
+ type: GetProjectsHasProjectsType$outboundSchema,
12809
+ value: z.lazy(() => GetProjectsHasProjectsValue$outboundSchema),
12810
+ });
12811
+
12812
+ /**
12813
+ * @internal
12814
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12815
+ */
12816
+ export namespace GetProjectsHas2$ {
12817
+ /** @deprecated use `GetProjectsHas2$inboundSchema` instead. */
12818
+ export const inboundSchema = GetProjectsHas2$inboundSchema;
12819
+ /** @deprecated use `GetProjectsHas2$outboundSchema` instead. */
12820
+ export const outboundSchema = GetProjectsHas2$outboundSchema;
12821
+ /** @deprecated use `GetProjectsHas2$Outbound` instead. */
12822
+ export type Outbound = GetProjectsHas2$Outbound;
12823
+ }
12824
+
12825
+ export function getProjectsHas2ToJSON(
12826
+ getProjectsHas2: GetProjectsHas2,
12827
+ ): string {
12828
+ return JSON.stringify(GetProjectsHas2$outboundSchema.parse(getProjectsHas2));
12829
+ }
12830
+
12831
+ export function getProjectsHas2FromJSON(
12832
+ jsonString: string,
12833
+ ): SafeParseResult<GetProjectsHas2, SDKValidationError> {
12834
+ return safeParse(
12835
+ jsonString,
12836
+ (x) => GetProjectsHas2$inboundSchema.parse(JSON.parse(x)),
12837
+ `Failed to parse 'GetProjectsHas2' from JSON`,
12838
+ );
12839
+ }
12840
+
12841
+ /** @internal */
12842
+ export const GetProjectsHasType$inboundSchema: z.ZodNativeEnum<
12843
+ typeof GetProjectsHasType
12844
+ > = z.nativeEnum(GetProjectsHasType);
12845
+
12846
+ /** @internal */
12847
+ export const GetProjectsHasType$outboundSchema: z.ZodNativeEnum<
12848
+ typeof GetProjectsHasType
12849
+ > = GetProjectsHasType$inboundSchema;
12850
+
12851
+ /**
12852
+ * @internal
12853
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12854
+ */
12855
+ export namespace GetProjectsHasType$ {
12856
+ /** @deprecated use `GetProjectsHasType$inboundSchema` instead. */
12857
+ export const inboundSchema = GetProjectsHasType$inboundSchema;
12858
+ /** @deprecated use `GetProjectsHasType$outboundSchema` instead. */
12859
+ export const outboundSchema = GetProjectsHasType$outboundSchema;
12860
+ }
12861
+
12862
+ /** @internal */
12863
+ export const GetProjectsHasKey$inboundSchema: z.ZodNativeEnum<
12864
+ typeof GetProjectsHasKey
12865
+ > = z.nativeEnum(GetProjectsHasKey);
12866
+
12867
+ /** @internal */
12868
+ export const GetProjectsHasKey$outboundSchema: z.ZodNativeEnum<
12869
+ typeof GetProjectsHasKey
12870
+ > = GetProjectsHasKey$inboundSchema;
12871
+
12872
+ /**
12873
+ * @internal
12874
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12875
+ */
12876
+ export namespace GetProjectsHasKey$ {
12877
+ /** @deprecated use `GetProjectsHasKey$inboundSchema` instead. */
12878
+ export const inboundSchema = GetProjectsHasKey$inboundSchema;
12879
+ /** @deprecated use `GetProjectsHasKey$outboundSchema` instead. */
12880
+ export const outboundSchema = GetProjectsHasKey$outboundSchema;
12881
+ }
12882
+
12883
+ /** @internal */
12884
+ export const GetProjectsHasValue$inboundSchema: z.ZodType<
12885
+ GetProjectsHasValue,
12886
+ z.ZodTypeDef,
12887
+ unknown
12888
+ > = z.object({
12889
+ eq: z.string(),
12890
+ });
12891
+
12892
+ /** @internal */
12893
+ export type GetProjectsHasValue$Outbound = {
12894
+ eq: string;
12895
+ };
12896
+
12897
+ /** @internal */
12898
+ export const GetProjectsHasValue$outboundSchema: z.ZodType<
12899
+ GetProjectsHasValue$Outbound,
12900
+ z.ZodTypeDef,
12901
+ GetProjectsHasValue
12902
+ > = z.object({
12903
+ eq: z.string(),
12904
+ });
12905
+
12906
+ /**
12907
+ * @internal
12908
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12909
+ */
12910
+ export namespace GetProjectsHasValue$ {
12911
+ /** @deprecated use `GetProjectsHasValue$inboundSchema` instead. */
12912
+ export const inboundSchema = GetProjectsHasValue$inboundSchema;
12913
+ /** @deprecated use `GetProjectsHasValue$outboundSchema` instead. */
12914
+ export const outboundSchema = GetProjectsHasValue$outboundSchema;
12915
+ /** @deprecated use `GetProjectsHasValue$Outbound` instead. */
12916
+ export type Outbound = GetProjectsHasValue$Outbound;
12917
+ }
12918
+
12919
+ export function getProjectsHasValueToJSON(
12920
+ getProjectsHasValue: GetProjectsHasValue,
12921
+ ): string {
12922
+ return JSON.stringify(
12923
+ GetProjectsHasValue$outboundSchema.parse(getProjectsHasValue),
12924
+ );
12925
+ }
12926
+
12927
+ export function getProjectsHasValueFromJSON(
12928
+ jsonString: string,
12929
+ ): SafeParseResult<GetProjectsHasValue, SDKValidationError> {
12930
+ return safeParse(
12931
+ jsonString,
12932
+ (x) => GetProjectsHasValue$inboundSchema.parse(JSON.parse(x)),
12933
+ `Failed to parse 'GetProjectsHasValue' from JSON`,
12934
+ );
12935
+ }
12936
+
12937
+ /** @internal */
12938
+ export const GetProjectsHas1$inboundSchema: z.ZodType<
12939
+ GetProjectsHas1,
12940
+ z.ZodTypeDef,
12941
+ unknown
12942
+ > = z.object({
12943
+ type: GetProjectsHasType$inboundSchema,
12944
+ key: GetProjectsHasKey$inboundSchema,
12945
+ value: z.lazy(() => GetProjectsHasValue$inboundSchema),
12946
+ });
12947
+
12948
+ /** @internal */
12949
+ export type GetProjectsHas1$Outbound = {
12950
+ type: string;
12951
+ key: string;
12952
+ value: GetProjectsHasValue$Outbound;
12953
+ };
12954
+
12955
+ /** @internal */
12956
+ export const GetProjectsHas1$outboundSchema: z.ZodType<
12957
+ GetProjectsHas1$Outbound,
12958
+ z.ZodTypeDef,
12959
+ GetProjectsHas1
12960
+ > = z.object({
12961
+ type: GetProjectsHasType$outboundSchema,
12962
+ key: GetProjectsHasKey$outboundSchema,
12963
+ value: z.lazy(() => GetProjectsHasValue$outboundSchema),
12964
+ });
12965
+
12966
+ /**
12967
+ * @internal
12968
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12969
+ */
12970
+ export namespace GetProjectsHas1$ {
12971
+ /** @deprecated use `GetProjectsHas1$inboundSchema` instead. */
12972
+ export const inboundSchema = GetProjectsHas1$inboundSchema;
12973
+ /** @deprecated use `GetProjectsHas1$outboundSchema` instead. */
12974
+ export const outboundSchema = GetProjectsHas1$outboundSchema;
12975
+ /** @deprecated use `GetProjectsHas1$Outbound` instead. */
12976
+ export type Outbound = GetProjectsHas1$Outbound;
12977
+ }
12978
+
12979
+ export function getProjectsHas1ToJSON(
12980
+ getProjectsHas1: GetProjectsHas1,
12981
+ ): string {
12982
+ return JSON.stringify(GetProjectsHas1$outboundSchema.parse(getProjectsHas1));
12983
+ }
12984
+
12985
+ export function getProjectsHas1FromJSON(
12986
+ jsonString: string,
12987
+ ): SafeParseResult<GetProjectsHas1, SDKValidationError> {
12988
+ return safeParse(
12989
+ jsonString,
12990
+ (x) => GetProjectsHas1$inboundSchema.parse(JSON.parse(x)),
12991
+ `Failed to parse 'GetProjectsHas1' from JSON`,
12992
+ );
12993
+ }
12994
+
12995
+ /** @internal */
12996
+ export const GetProjectsInternalRoutesHas$inboundSchema: z.ZodType<
12997
+ GetProjectsInternalRoutesHas,
12998
+ z.ZodTypeDef,
12999
+ unknown
13000
+ > = z.union([
13001
+ z.lazy(() => GetProjectsHas1$inboundSchema),
13002
+ z.lazy(() => GetProjectsHas2$inboundSchema),
13003
+ ]);
13004
+
13005
+ /** @internal */
13006
+ export type GetProjectsInternalRoutesHas$Outbound =
13007
+ | GetProjectsHas1$Outbound
13008
+ | GetProjectsHas2$Outbound;
13009
+
13010
+ /** @internal */
13011
+ export const GetProjectsInternalRoutesHas$outboundSchema: z.ZodType<
13012
+ GetProjectsInternalRoutesHas$Outbound,
13013
+ z.ZodTypeDef,
13014
+ GetProjectsInternalRoutesHas
13015
+ > = z.union([
13016
+ z.lazy(() => GetProjectsHas1$outboundSchema),
13017
+ z.lazy(() => GetProjectsHas2$outboundSchema),
13018
+ ]);
13019
+
13020
+ /**
13021
+ * @internal
13022
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13023
+ */
13024
+ export namespace GetProjectsInternalRoutesHas$ {
13025
+ /** @deprecated use `GetProjectsInternalRoutesHas$inboundSchema` instead. */
13026
+ export const inboundSchema = GetProjectsInternalRoutesHas$inboundSchema;
13027
+ /** @deprecated use `GetProjectsInternalRoutesHas$outboundSchema` instead. */
13028
+ export const outboundSchema = GetProjectsInternalRoutesHas$outboundSchema;
13029
+ /** @deprecated use `GetProjectsInternalRoutesHas$Outbound` instead. */
13030
+ export type Outbound = GetProjectsInternalRoutesHas$Outbound;
13031
+ }
13032
+
13033
+ export function getProjectsInternalRoutesHasToJSON(
13034
+ getProjectsInternalRoutesHas: GetProjectsInternalRoutesHas,
13035
+ ): string {
13036
+ return JSON.stringify(
13037
+ GetProjectsInternalRoutesHas$outboundSchema.parse(
13038
+ getProjectsInternalRoutesHas,
13039
+ ),
13040
+ );
13041
+ }
13042
+
13043
+ export function getProjectsInternalRoutesHasFromJSON(
13044
+ jsonString: string,
13045
+ ): SafeParseResult<GetProjectsInternalRoutesHas, SDKValidationError> {
13046
+ return safeParse(
13047
+ jsonString,
13048
+ (x) => GetProjectsInternalRoutesHas$inboundSchema.parse(JSON.parse(x)),
13049
+ `Failed to parse 'GetProjectsInternalRoutesHas' from JSON`,
13050
+ );
13051
+ }
13052
+
13053
+ /** @internal */
13054
+ export const GetProjectsInternalRoutesAction$inboundSchema: z.ZodNativeEnum<
13055
+ typeof GetProjectsInternalRoutesAction
13056
+ > = z.nativeEnum(GetProjectsInternalRoutesAction);
13057
+
13058
+ /** @internal */
13059
+ export const GetProjectsInternalRoutesAction$outboundSchema: z.ZodNativeEnum<
13060
+ typeof GetProjectsInternalRoutesAction
13061
+ > = GetProjectsInternalRoutesAction$inboundSchema;
13062
+
13063
+ /**
13064
+ * @internal
13065
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13066
+ */
13067
+ export namespace GetProjectsInternalRoutesAction$ {
13068
+ /** @deprecated use `GetProjectsInternalRoutesAction$inboundSchema` instead. */
13069
+ export const inboundSchema = GetProjectsInternalRoutesAction$inboundSchema;
13070
+ /** @deprecated use `GetProjectsInternalRoutesAction$outboundSchema` instead. */
13071
+ export const outboundSchema = GetProjectsInternalRoutesAction$outboundSchema;
13072
+ }
13073
+
13074
+ /** @internal */
13075
+ export const GetProjectsInternalRoutesMitigate$inboundSchema: z.ZodType<
13076
+ GetProjectsInternalRoutesMitigate,
13077
+ z.ZodTypeDef,
13078
+ unknown
13079
+ > = z.object({
13080
+ action: GetProjectsInternalRoutesAction$inboundSchema,
13081
+ });
13082
+
13083
+ /** @internal */
13084
+ export type GetProjectsInternalRoutesMitigate$Outbound = {
13085
+ action: string;
13086
+ };
13087
+
13088
+ /** @internal */
13089
+ export const GetProjectsInternalRoutesMitigate$outboundSchema: z.ZodType<
13090
+ GetProjectsInternalRoutesMitigate$Outbound,
13091
+ z.ZodTypeDef,
13092
+ GetProjectsInternalRoutesMitigate
13093
+ > = z.object({
13094
+ action: GetProjectsInternalRoutesAction$outboundSchema,
13095
+ });
13096
+
13097
+ /**
13098
+ * @internal
13099
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13100
+ */
13101
+ export namespace GetProjectsInternalRoutesMitigate$ {
13102
+ /** @deprecated use `GetProjectsInternalRoutesMitigate$inboundSchema` instead. */
13103
+ export const inboundSchema = GetProjectsInternalRoutesMitigate$inboundSchema;
13104
+ /** @deprecated use `GetProjectsInternalRoutesMitigate$outboundSchema` instead. */
13105
+ export const outboundSchema =
13106
+ GetProjectsInternalRoutesMitigate$outboundSchema;
13107
+ /** @deprecated use `GetProjectsInternalRoutesMitigate$Outbound` instead. */
13108
+ export type Outbound = GetProjectsInternalRoutesMitigate$Outbound;
13109
+ }
13110
+
13111
+ export function getProjectsInternalRoutesMitigateToJSON(
13112
+ getProjectsInternalRoutesMitigate: GetProjectsInternalRoutesMitigate,
13113
+ ): string {
13114
+ return JSON.stringify(
13115
+ GetProjectsInternalRoutesMitigate$outboundSchema.parse(
13116
+ getProjectsInternalRoutesMitigate,
13117
+ ),
13118
+ );
13119
+ }
13120
+
13121
+ export function getProjectsInternalRoutesMitigateFromJSON(
13122
+ jsonString: string,
13123
+ ): SafeParseResult<GetProjectsInternalRoutesMitigate, SDKValidationError> {
13124
+ return safeParse(
13125
+ jsonString,
13126
+ (x) => GetProjectsInternalRoutesMitigate$inboundSchema.parse(JSON.parse(x)),
13127
+ `Failed to parse 'GetProjectsInternalRoutesMitigate' from JSON`,
13128
+ );
13129
+ }
13130
+
13131
+ /** @internal */
13132
+ export const GetProjectsInternalRoutes2$inboundSchema: z.ZodType<
13133
+ GetProjectsInternalRoutes2,
13134
+ z.ZodTypeDef,
13135
+ unknown
13136
+ > = z.object({
13137
+ has: z.array(
13138
+ z.union([
13139
+ z.lazy(() => GetProjectsHas1$inboundSchema),
13140
+ z.lazy(() => GetProjectsHas2$inboundSchema),
13141
+ ]),
13142
+ ),
13143
+ mitigate: z.lazy(() => GetProjectsInternalRoutesMitigate$inboundSchema),
13144
+ src: z.string().optional(),
13145
+ });
13146
+
13147
+ /** @internal */
13148
+ export type GetProjectsInternalRoutes2$Outbound = {
13149
+ has: Array<GetProjectsHas1$Outbound | GetProjectsHas2$Outbound>;
13150
+ mitigate: GetProjectsInternalRoutesMitigate$Outbound;
13151
+ src?: string | undefined;
13152
+ };
13153
+
13154
+ /** @internal */
13155
+ export const GetProjectsInternalRoutes2$outboundSchema: z.ZodType<
13156
+ GetProjectsInternalRoutes2$Outbound,
13157
+ z.ZodTypeDef,
13158
+ GetProjectsInternalRoutes2
13159
+ > = z.object({
13160
+ has: z.array(
13161
+ z.union([
13162
+ z.lazy(() => GetProjectsHas1$outboundSchema),
13163
+ z.lazy(() => GetProjectsHas2$outboundSchema),
13164
+ ]),
13165
+ ),
13166
+ mitigate: z.lazy(() => GetProjectsInternalRoutesMitigate$outboundSchema),
13167
+ src: z.string().optional(),
13168
+ });
13169
+
13170
+ /**
13171
+ * @internal
13172
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13173
+ */
13174
+ export namespace GetProjectsInternalRoutes2$ {
13175
+ /** @deprecated use `GetProjectsInternalRoutes2$inboundSchema` instead. */
13176
+ export const inboundSchema = GetProjectsInternalRoutes2$inboundSchema;
13177
+ /** @deprecated use `GetProjectsInternalRoutes2$outboundSchema` instead. */
13178
+ export const outboundSchema = GetProjectsInternalRoutes2$outboundSchema;
13179
+ /** @deprecated use `GetProjectsInternalRoutes2$Outbound` instead. */
13180
+ export type Outbound = GetProjectsInternalRoutes2$Outbound;
13181
+ }
13182
+
13183
+ export function getProjectsInternalRoutes2ToJSON(
13184
+ getProjectsInternalRoutes2: GetProjectsInternalRoutes2,
13185
+ ): string {
13186
+ return JSON.stringify(
13187
+ GetProjectsInternalRoutes2$outboundSchema.parse(getProjectsInternalRoutes2),
13188
+ );
13189
+ }
13190
+
13191
+ export function getProjectsInternalRoutes2FromJSON(
13192
+ jsonString: string,
13193
+ ): SafeParseResult<GetProjectsInternalRoutes2, SDKValidationError> {
13194
+ return safeParse(
13195
+ jsonString,
13196
+ (x) => GetProjectsInternalRoutes2$inboundSchema.parse(JSON.parse(x)),
13197
+ `Failed to parse 'GetProjectsInternalRoutes2' from JSON`,
13198
+ );
13199
+ }
13200
+
13201
+ /** @internal */
13202
+ export const GetProjectsInternalRoutes1$inboundSchema: z.ZodType<
13203
+ GetProjectsInternalRoutes1,
13204
+ z.ZodTypeDef,
13205
+ unknown
13206
+ > = z.object({
13207
+ src: z.string(),
13208
+ status: z.number(),
13209
+ });
13210
+
13211
+ /** @internal */
13212
+ export type GetProjectsInternalRoutes1$Outbound = {
13213
+ src: string;
13214
+ status: number;
13215
+ };
13216
+
13217
+ /** @internal */
13218
+ export const GetProjectsInternalRoutes1$outboundSchema: z.ZodType<
13219
+ GetProjectsInternalRoutes1$Outbound,
13220
+ z.ZodTypeDef,
13221
+ GetProjectsInternalRoutes1
13222
+ > = z.object({
13223
+ src: z.string(),
13224
+ status: z.number(),
13225
+ });
13226
+
13227
+ /**
13228
+ * @internal
13229
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13230
+ */
13231
+ export namespace GetProjectsInternalRoutes1$ {
13232
+ /** @deprecated use `GetProjectsInternalRoutes1$inboundSchema` instead. */
13233
+ export const inboundSchema = GetProjectsInternalRoutes1$inboundSchema;
13234
+ /** @deprecated use `GetProjectsInternalRoutes1$outboundSchema` instead. */
13235
+ export const outboundSchema = GetProjectsInternalRoutes1$outboundSchema;
13236
+ /** @deprecated use `GetProjectsInternalRoutes1$Outbound` instead. */
13237
+ export type Outbound = GetProjectsInternalRoutes1$Outbound;
13238
+ }
13239
+
13240
+ export function getProjectsInternalRoutes1ToJSON(
13241
+ getProjectsInternalRoutes1: GetProjectsInternalRoutes1,
13242
+ ): string {
13243
+ return JSON.stringify(
13244
+ GetProjectsInternalRoutes1$outboundSchema.parse(getProjectsInternalRoutes1),
13245
+ );
13246
+ }
13247
+
13248
+ export function getProjectsInternalRoutes1FromJSON(
13249
+ jsonString: string,
13250
+ ): SafeParseResult<GetProjectsInternalRoutes1, SDKValidationError> {
13251
+ return safeParse(
13252
+ jsonString,
13253
+ (x) => GetProjectsInternalRoutes1$inboundSchema.parse(JSON.parse(x)),
13254
+ `Failed to parse 'GetProjectsInternalRoutes1' from JSON`,
13255
+ );
13256
+ }
13257
+
13258
+ /** @internal */
13259
+ export const GetProjectsInternalRoutes$inboundSchema: z.ZodType<
13260
+ GetProjectsInternalRoutes,
13261
+ z.ZodTypeDef,
13262
+ unknown
13263
+ > = z.union([
13264
+ z.lazy(() => GetProjectsInternalRoutes1$inboundSchema),
13265
+ z.lazy(() => GetProjectsInternalRoutes2$inboundSchema),
13266
+ ]);
13267
+
13268
+ /** @internal */
13269
+ export type GetProjectsInternalRoutes$Outbound =
13270
+ | GetProjectsInternalRoutes1$Outbound
13271
+ | GetProjectsInternalRoutes2$Outbound;
13272
+
13273
+ /** @internal */
13274
+ export const GetProjectsInternalRoutes$outboundSchema: z.ZodType<
13275
+ GetProjectsInternalRoutes$Outbound,
13276
+ z.ZodTypeDef,
13277
+ GetProjectsInternalRoutes
13278
+ > = z.union([
13279
+ z.lazy(() => GetProjectsInternalRoutes1$outboundSchema),
13280
+ z.lazy(() => GetProjectsInternalRoutes2$outboundSchema),
13281
+ ]);
13282
+
13283
+ /**
13284
+ * @internal
13285
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
13286
+ */
13287
+ export namespace GetProjectsInternalRoutes$ {
13288
+ /** @deprecated use `GetProjectsInternalRoutes$inboundSchema` instead. */
13289
+ export const inboundSchema = GetProjectsInternalRoutes$inboundSchema;
13290
+ /** @deprecated use `GetProjectsInternalRoutes$outboundSchema` instead. */
13291
+ export const outboundSchema = GetProjectsInternalRoutes$outboundSchema;
13292
+ /** @deprecated use `GetProjectsInternalRoutes$Outbound` instead. */
13293
+ export type Outbound = GetProjectsInternalRoutes$Outbound;
13294
+ }
13295
+
13296
+ export function getProjectsInternalRoutesToJSON(
13297
+ getProjectsInternalRoutes: GetProjectsInternalRoutes,
13298
+ ): string {
13299
+ return JSON.stringify(
13300
+ GetProjectsInternalRoutes$outboundSchema.parse(getProjectsInternalRoutes),
13301
+ );
13302
+ }
13303
+
13304
+ export function getProjectsInternalRoutesFromJSON(
13305
+ jsonString: string,
13306
+ ): SafeParseResult<GetProjectsInternalRoutes, SDKValidationError> {
13307
+ return safeParse(
13308
+ jsonString,
13309
+ (x) => GetProjectsInternalRoutes$inboundSchema.parse(JSON.parse(x)),
13310
+ `Failed to parse 'GetProjectsInternalRoutes' from JSON`,
13311
+ );
13312
+ }
13313
+
13314
+ /** @internal */
13315
+ export const GetProjectsProjects$inboundSchema: z.ZodType<
13316
+ GetProjectsProjects,
13317
+ z.ZodTypeDef,
13318
+ unknown
13319
+ > = z.object({
13320
+ accountId: z.string(),
13321
+ analytics: z.lazy(() => GetProjectsAnalytics$inboundSchema).optional(),
13322
+ speedInsights: z.lazy(() => GetProjectsSpeedInsights$inboundSchema)
13323
+ .optional(),
13324
+ autoExposeSystemEnvs: z.boolean().optional(),
13325
+ autoAssignCustomDomains: z.boolean().optional(),
13326
+ autoAssignCustomDomainsUpdatedBy: z.string().optional(),
13327
+ buildCommand: z.nullable(z.string()).optional(),
13328
+ commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
13329
+ connectConfigurations: z.nullable(
13330
+ z.array(z.lazy(() => GetProjectsConnectConfigurations$inboundSchema)),
13331
+ ).optional(),
13332
+ connectConfigurationId: z.nullable(z.string()).optional(),
13333
+ connectBuildsEnabled: z.boolean().optional(),
13334
+ passiveConnectConfigurationId: z.nullable(z.string()).optional(),
13335
+ createdAt: z.number().optional(),
13336
+ customerSupportCodeVisibility: z.boolean().optional(),
13337
+ crons: z.lazy(() => GetProjectsCrons$inboundSchema).optional(),
13338
+ dataCache: z.lazy(() => GetProjectsDataCache$inboundSchema).optional(),
13339
+ deploymentExpiration: z.nullable(
13340
+ z.lazy(() => GetProjectsDeploymentExpiration$inboundSchema),
13341
+ ).optional(),
13342
+ devCommand: z.nullable(z.string()).optional(),
13343
+ directoryListing: z.boolean(),
13344
+ installCommand: z.nullable(z.string()).optional(),
13345
+ env: z.array(z.lazy(() => GetProjectsEnv$inboundSchema)).optional(),
13346
+ customEnvironments: z.array(
13347
+ z.lazy(() => GetProjectsCustomEnvironments$inboundSchema),
13348
+ ).optional(),
13349
+ framework: z.nullable(GetProjectsFramework$inboundSchema).optional(),
13350
+ gitForkProtection: z.boolean().optional(),
13351
+ gitLFS: z.boolean().optional(),
13352
+ id: z.string(),
13353
+ ipBuckets: z.array(z.lazy(() => GetProjectsIpBuckets$inboundSchema))
13354
+ .optional(),
13355
+ latestDeployments: z.array(
13356
+ z.lazy(() => GetProjectsLatestDeployments$inboundSchema),
13357
+ ).optional(),
13358
+ link: z.union([
13359
+ z.lazy(() => GetProjectsLink4$inboundSchema),
13360
+ z.lazy(() => GetProjectsLink5$inboundSchema),
13361
+ z.lazy(() => GetProjectsLink3$inboundSchema),
13362
+ z.lazy(() => GetProjectsLink1$inboundSchema),
13363
+ z.lazy(() => GetProjectsLink2$inboundSchema),
13364
+ ]).optional(),
13365
+ microfrontends: z.union([
13366
+ z.lazy(() => GetProjectsMicrofrontends1$inboundSchema),
13367
+ z.lazy(() => GetProjectsMicrofrontends2$inboundSchema),
13368
+ ]).optional(),
13369
+ name: z.string(),
13370
+ nodeVersion: GetProjectsNodeVersion$inboundSchema,
13371
+ optionsAllowlist: z.nullable(
13372
+ z.lazy(() => GetProjectsOptionsAllowlist$inboundSchema),
13373
+ ).optional(),
13374
+ outputDirectory: z.nullable(z.string()).optional(),
13375
+ passwordProtection: z.nullable(
13376
+ z.lazy(() => GetProjectsPasswordProtection$inboundSchema),
13377
+ ).optional(),
13378
+ productionDeploymentsFastLane: z.boolean().optional(),
13379
+ publicSource: z.nullable(z.boolean()).optional(),
13380
+ resourceConfig: z.lazy(() => GetProjectsResourceConfig$inboundSchema),
13381
+ rollbackDescription: z.lazy(() =>
13382
+ GetProjectsRollbackDescription$inboundSchema
13383
+ ).optional(),
13384
+ rollingRelease: z.nullable(
13385
+ z.lazy(() => GetProjectsRollingRelease$inboundSchema),
13386
+ ).optional(),
13387
+ defaultResourceConfig: z.lazy(() =>
13388
+ GetProjectsDefaultResourceConfig$inboundSchema
13389
+ ),
13390
+ rootDirectory: z.nullable(z.string()).optional(),
13391
+ serverlessFunctionZeroConfigFailover: z.boolean().optional(),
13392
+ skewProtectionBoundaryAt: z.number().optional(),
13393
+ skewProtectionMaxAge: z.number().optional(),
13394
+ skipGitConnectDuringLink: z.boolean().optional(),
13395
+ sourceFilesOutsideRootDirectory: z.boolean().optional(),
13396
+ enableAffectedProjectsDeployments: z.boolean().optional(),
13397
+ ssoProtection: z.nullable(
13398
+ z.lazy(() => GetProjectsSsoProtection$inboundSchema),
13399
+ ).optional(),
13400
+ targets: z.record(z.nullable(z.lazy(() => GetProjectsTargets$inboundSchema)))
13401
+ .optional(),
13402
+ transferCompletedAt: z.number().optional(),
13403
+ transferStartedAt: z.number().optional(),
13404
+ transferToAccountId: z.string().optional(),
13405
+ transferredFromAccountId: z.string().optional(),
13406
+ updatedAt: z.number().optional(),
13407
+ live: z.boolean().optional(),
13408
+ enablePreviewFeedback: z.nullable(z.boolean()).optional(),
13409
+ enableProductionFeedback: z.nullable(z.boolean()).optional(),
13410
+ permissions: z.lazy(() => GetProjectsPermissions$inboundSchema).optional(),
13411
+ lastRollbackTarget: z.nullable(
13412
+ z.lazy(() => GetProjectsLastRollbackTarget$inboundSchema),
13413
+ ).optional(),
13414
+ lastAliasRequest: z.nullable(
13415
+ z.lazy(() => GetProjectsLastAliasRequest$inboundSchema),
13416
+ ).optional(),
13417
+ protectionBypass: z.record(
13418
+ z.union([
13419
+ z.lazy(() => GetProjectsProtectionBypass1$inboundSchema),
13420
+ z.lazy(() => GetProjectsProtectionBypass2$inboundSchema),
13421
+ ]),
13422
+ ).optional(),
13423
+ hasActiveBranches: z.boolean().optional(),
13424
+ trustedIps: z.nullable(
13425
+ z.union([
13426
+ z.lazy(() => GetProjectsTrustedIps1$inboundSchema),
13427
+ z.lazy(() => GetProjectsTrustedIps2$inboundSchema),
13428
+ ]),
13429
+ ).optional(),
13430
+ gitComments: z.lazy(() => GetProjectsGitComments$inboundSchema).optional(),
13431
+ gitProviderOptions: z.lazy(() => GetProjectsGitProviderOptions$inboundSchema)
13432
+ .optional(),
13433
+ paused: z.boolean().optional(),
13434
+ concurrencyBucketName: z.string().optional(),
13435
+ webAnalytics: z.lazy(() => GetProjectsWebAnalytics$inboundSchema).optional(),
13436
+ security: z.lazy(() => GetProjectsSecurity$inboundSchema).optional(),
13437
+ oidcTokenConfig: z.lazy(() => GetProjectsOidcTokenConfig$inboundSchema)
13438
+ .optional(),
13439
+ tier: GetProjectsTier$inboundSchema.optional(),
13440
+ features: z.lazy(() => GetProjectsFeatures$inboundSchema).optional(),
13441
+ v0: z.boolean().optional(),
13442
+ abuse: z.lazy(() => GetProjectsAbuse$inboundSchema).optional(),
13443
+ internalRoutes: z.array(
13444
+ z.union([
13445
+ z.lazy(() => GetProjectsInternalRoutes1$inboundSchema),
13446
+ z.lazy(() => GetProjectsInternalRoutes2$inboundSchema),
13447
+ ]),
13448
+ ).optional(),
13449
+ });
13450
+
13451
+ /** @internal */
13452
+ export type GetProjectsProjects$Outbound = {
13453
+ accountId: string;
13454
+ analytics?: GetProjectsAnalytics$Outbound | undefined;
13455
+ speedInsights?: GetProjectsSpeedInsights$Outbound | undefined;
13456
+ autoExposeSystemEnvs?: boolean | undefined;
13457
+ autoAssignCustomDomains?: boolean | undefined;
13458
+ autoAssignCustomDomainsUpdatedBy?: string | undefined;
13459
+ buildCommand?: string | null | undefined;
13460
+ commandForIgnoringBuildStep?: string | null | undefined;
13461
+ connectConfigurations?:
13462
+ | Array<GetProjectsConnectConfigurations$Outbound>
13463
+ | null
13464
+ | undefined;
13465
+ connectConfigurationId?: string | null | undefined;
13466
+ connectBuildsEnabled?: boolean | undefined;
13467
+ passiveConnectConfigurationId?: string | null | undefined;
13468
+ createdAt?: number | undefined;
13469
+ customerSupportCodeVisibility?: boolean | undefined;
13470
+ crons?: GetProjectsCrons$Outbound | undefined;
13471
+ dataCache?: GetProjectsDataCache$Outbound | undefined;
13472
+ deploymentExpiration?:
13473
+ | GetProjectsDeploymentExpiration$Outbound
13474
+ | null
13475
+ | undefined;
13476
+ devCommand?: string | null | undefined;
13477
+ directoryListing: boolean;
13478
+ installCommand?: string | null | undefined;
13479
+ env?: Array<GetProjectsEnv$Outbound> | undefined;
13480
+ customEnvironments?:
13481
+ | Array<GetProjectsCustomEnvironments$Outbound>
13482
+ | undefined;
13483
+ framework?: string | null | undefined;
13484
+ gitForkProtection?: boolean | undefined;
13485
+ gitLFS?: boolean | undefined;
13486
+ id: string;
13487
+ ipBuckets?: Array<GetProjectsIpBuckets$Outbound> | undefined;
13488
+ latestDeployments?: Array<GetProjectsLatestDeployments$Outbound> | undefined;
13489
+ link?:
13490
+ | GetProjectsLink4$Outbound
13491
+ | GetProjectsLink5$Outbound
13492
+ | GetProjectsLink3$Outbound
13493
+ | GetProjectsLink1$Outbound
13494
+ | GetProjectsLink2$Outbound
13495
+ | undefined;
13496
+ microfrontends?:
13497
+ | GetProjectsMicrofrontends1$Outbound
13498
+ | GetProjectsMicrofrontends2$Outbound
13499
+ | undefined;
13500
+ name: string;
13501
+ nodeVersion: string;
13502
+ optionsAllowlist?: GetProjectsOptionsAllowlist$Outbound | null | undefined;
13503
+ outputDirectory?: string | null | undefined;
13504
+ passwordProtection?:
13505
+ | GetProjectsPasswordProtection$Outbound
13506
+ | null
13507
+ | undefined;
13508
+ productionDeploymentsFastLane?: boolean | undefined;
13509
+ publicSource?: boolean | null | undefined;
13510
+ resourceConfig: GetProjectsResourceConfig$Outbound;
13511
+ rollbackDescription?: GetProjectsRollbackDescription$Outbound | undefined;
13512
+ rollingRelease?: GetProjectsRollingRelease$Outbound | null | undefined;
13513
+ defaultResourceConfig: GetProjectsDefaultResourceConfig$Outbound;
13514
+ rootDirectory?: string | null | undefined;
13515
+ serverlessFunctionZeroConfigFailover?: boolean | undefined;
13516
+ skewProtectionBoundaryAt?: number | undefined;
13517
+ skewProtectionMaxAge?: number | undefined;
13518
+ skipGitConnectDuringLink?: boolean | undefined;
13519
+ sourceFilesOutsideRootDirectory?: boolean | undefined;
13520
+ enableAffectedProjectsDeployments?: boolean | undefined;
13521
+ ssoProtection?: GetProjectsSsoProtection$Outbound | null | undefined;
13522
+ targets?: { [k: string]: GetProjectsTargets$Outbound | null } | undefined;
13523
+ transferCompletedAt?: number | undefined;
13524
+ transferStartedAt?: number | undefined;
13525
+ transferToAccountId?: string | undefined;
13526
+ transferredFromAccountId?: string | undefined;
13527
+ updatedAt?: number | undefined;
13528
+ live?: boolean | undefined;
13529
+ enablePreviewFeedback?: boolean | null | undefined;
13530
+ enableProductionFeedback?: boolean | null | undefined;
13531
+ permissions?: GetProjectsPermissions$Outbound | undefined;
13532
+ lastRollbackTarget?:
13533
+ | GetProjectsLastRollbackTarget$Outbound
13534
+ | null
10593
13535
  | undefined;
10594
13536
  lastAliasRequest?: GetProjectsLastAliasRequest$Outbound | null | undefined;
10595
13537
  protectionBypass?: {
@@ -10613,6 +13555,12 @@ export type GetProjectsProjects$Outbound = {
10613
13555
  tier?: string | undefined;
10614
13556
  features?: GetProjectsFeatures$Outbound | undefined;
10615
13557
  v0?: boolean | undefined;
13558
+ abuse?: GetProjectsAbuse$Outbound | undefined;
13559
+ internalRoutes?:
13560
+ | Array<
13561
+ GetProjectsInternalRoutes1$Outbound | GetProjectsInternalRoutes2$Outbound
13562
+ >
13563
+ | undefined;
10616
13564
  };
10617
13565
 
10618
13566
  /** @internal */
@@ -10660,9 +13608,9 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
10660
13608
  z.lazy(() => GetProjectsLatestDeployments$outboundSchema),
10661
13609
  ).optional(),
10662
13610
  link: z.union([
10663
- z.lazy(() => GetProjectsLink3$outboundSchema),
10664
13611
  z.lazy(() => GetProjectsLink4$outboundSchema),
10665
13612
  z.lazy(() => GetProjectsLink5$outboundSchema),
13613
+ z.lazy(() => GetProjectsLink3$outboundSchema),
10666
13614
  z.lazy(() => GetProjectsLink1$outboundSchema),
10667
13615
  z.lazy(() => GetProjectsLink2$outboundSchema),
10668
13616
  ]).optional(),
@@ -10743,6 +13691,13 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
10743
13691
  tier: GetProjectsTier$outboundSchema.optional(),
10744
13692
  features: z.lazy(() => GetProjectsFeatures$outboundSchema).optional(),
10745
13693
  v0: z.boolean().optional(),
13694
+ abuse: z.lazy(() => GetProjectsAbuse$outboundSchema).optional(),
13695
+ internalRoutes: z.array(
13696
+ z.union([
13697
+ z.lazy(() => GetProjectsInternalRoutes1$outboundSchema),
13698
+ z.lazy(() => GetProjectsInternalRoutes2$outboundSchema),
13699
+ ]),
13700
+ ).optional(),
10746
13701
  });
10747
13702
 
10748
13703
  /**