@vercel/sdk 1.10.8 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +3728 -805
- package/bin/mcp-server.js.map +28 -28
- package/esm/__tests__/accessgroups.test.js +6 -6
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -0
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +4 -12
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +44 -41
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +44 -41
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +104 -98
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +115 -117
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +2 -0
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +2 -0
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +252 -240
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +298 -294
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +1410 -57
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +1584 -202
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +72 -66
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +24 -22
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/getallchecksop.d.ts +2 -0
- package/esm/models/getallchecksop.d.ts.map +1 -1
- package/esm/models/getallchecksop.js +2 -0
- package/esm/models/getallchecksop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +421 -331
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
- package/esm/models/getconfigurationproductsop.js +482 -410
- package/esm/models/getconfigurationproductsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +19 -16
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +25 -24
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +3 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +1 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +2 -0
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +2 -0
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +1407 -57
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +1578 -202
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +36 -30
- package/esm/models/getteammembersop.d.ts.map +1 -1
- package/esm/models/getteammembersop.js +12 -10
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +36 -33
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +12 -11
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +75 -66
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +25 -22
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +36 -0
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +25 -0
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/listaccessgroupsop.d.ts +2 -5
- package/esm/models/listaccessgroupsop.d.ts.map +1 -1
- package/esm/models/listaccessgroupsop.js +2 -2
- package/esm/models/listaccessgroupsop.js.map +1 -1
- package/esm/models/readaccessgroupop.d.ts +48 -5
- package/esm/models/readaccessgroupop.d.ts.map +1 -1
- package/esm/models/readaccessgroupop.js +30 -2
- package/esm/models/readaccessgroupop.js.map +1 -1
- package/esm/models/team.d.ts +165 -24
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +115 -33
- package/esm/models/team.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +2 -0
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +2 -0
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +1407 -57
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +1587 -200
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +1410 -57
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +1583 -202
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +2 -2
- package/examples/package-lock.json +1 -1
- package/examples/projectsUpdateProject.example.ts +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +6 -6
- package/src/__tests__/checks.test.ts +1 -0
- package/src/__tests__/domains.test.ts +4 -12
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +85 -64
- package/src/models/createdeploymentop.ts +241 -192
- package/src/models/createedgeconfigop.ts +4 -0
- package/src/models/createintegrationstoredirectop.ts +509 -505
- package/src/models/createprojectop.ts +3282 -299
- package/src/models/createwebhookop.ts +24 -22
- package/src/models/getallchecksop.ts +4 -0
- package/src/models/getconfigurationproductsop.ts +847 -706
- package/src/models/getdeploymentop.ts +35 -34
- package/src/models/getdeploymentsop.ts +1 -0
- package/src/models/getedgeconfigop.ts +4 -0
- package/src/models/getprojectsop.ts +3260 -300
- package/src/models/getteammembersop.ts +12 -10
- package/src/models/getwebhookop.ts +12 -11
- package/src/models/getwebhooksop.ts +25 -22
- package/src/models/importresourceop.ts +34 -0
- package/src/models/listaccessgroupsop.ts +4 -7
- package/src/models/readaccessgroupop.ts +42 -7
- package/src/models/team.ts +200 -46
- package/src/models/updateedgeconfigop.ts +4 -0
- package/src/models/updateprojectdatacacheop.ts +3189 -307
- package/src/models/updateprojectop.ts +3296 -298
- package/src/models/userevent.ts +2 -2
- package/vercel-spec.json +5360 -2352
|
@@ -117,6 +117,7 @@ export const CreateProjectFramework = {
|
|
|
117
117
|
Vitepress: "vitepress",
|
|
118
118
|
Vuepress: "vuepress",
|
|
119
119
|
Parcel: "parcel",
|
|
120
|
+
Fastapi: "fastapi",
|
|
120
121
|
Fasthtml: "fasthtml",
|
|
121
122
|
SanityV3: "sanity-v3",
|
|
122
123
|
Sanity: "sanity",
|
|
@@ -937,6 +938,7 @@ export const CreateProjectProjectsFramework = {
|
|
|
937
938
|
Vitepress: "vitepress",
|
|
938
939
|
Vuepress: "vuepress",
|
|
939
940
|
Parcel: "parcel",
|
|
941
|
+
Fastapi: "fastapi",
|
|
940
942
|
Fasthtml: "fasthtml",
|
|
941
943
|
SanityV3: "sanity-v3",
|
|
942
944
|
Sanity: "sanity",
|
|
@@ -1114,7 +1116,7 @@ export type CreateProjectLatestDeployments = {
|
|
|
1114
1116
|
};
|
|
1115
1117
|
|
|
1116
1118
|
export const CreateProjectLinkProjectsResponse200ApplicationJSONType = {
|
|
1117
|
-
|
|
1119
|
+
Bitbucket: "bitbucket",
|
|
1118
1120
|
} as const;
|
|
1119
1121
|
export type CreateProjectLinkProjectsResponse200ApplicationJSONType =
|
|
1120
1122
|
ClosedEnum<typeof CreateProjectLinkProjectsResponse200ApplicationJSONType>;
|
|
@@ -1128,15 +1130,12 @@ export type CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks = {
|
|
|
1128
1130
|
};
|
|
1129
1131
|
|
|
1130
1132
|
export type CreateProjectLink5 = {
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
*/
|
|
1135
|
-
repoOwnerId?: number | undefined;
|
|
1136
|
-
repo?: string | undefined;
|
|
1137
|
-
repoId?: number | undefined;
|
|
1133
|
+
name: string;
|
|
1134
|
+
slug: string;
|
|
1135
|
+
owner: string;
|
|
1138
1136
|
type: CreateProjectLinkProjectsResponse200ApplicationJSONType;
|
|
1139
|
-
|
|
1137
|
+
uuid: string;
|
|
1138
|
+
workspaceUuid: string;
|
|
1140
1139
|
createdAt?: number | undefined;
|
|
1141
1140
|
deployHooks: Array<
|
|
1142
1141
|
CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks
|
|
@@ -1148,7 +1147,7 @@ export type CreateProjectLink5 = {
|
|
|
1148
1147
|
};
|
|
1149
1148
|
|
|
1150
1149
|
export const CreateProjectLinkProjectsResponse200Type = {
|
|
1151
|
-
|
|
1150
|
+
Gitlab: "gitlab",
|
|
1152
1151
|
} as const;
|
|
1153
1152
|
export type CreateProjectLinkProjectsResponse200Type = ClosedEnum<
|
|
1154
1153
|
typeof CreateProjectLinkProjectsResponse200Type
|
|
@@ -1163,12 +1162,16 @@ export type CreateProjectLinkProjectsResponse200DeployHooks = {
|
|
|
1163
1162
|
};
|
|
1164
1163
|
|
|
1165
1164
|
export type CreateProjectLink4 = {
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1165
|
+
projectId: string;
|
|
1166
|
+
projectName: string;
|
|
1167
|
+
projectNameWithNamespace: string;
|
|
1168
|
+
projectNamespace: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* 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).
|
|
1171
|
+
*/
|
|
1172
|
+
projectOwnerId?: number | undefined;
|
|
1173
|
+
projectUrl: string;
|
|
1169
1174
|
type: CreateProjectLinkProjectsResponse200Type;
|
|
1170
|
-
uuid: string;
|
|
1171
|
-
workspaceUuid: string;
|
|
1172
1175
|
createdAt?: number | undefined;
|
|
1173
1176
|
deployHooks: Array<CreateProjectLinkProjectsResponse200DeployHooks>;
|
|
1174
1177
|
gitCredentialId: string;
|
|
@@ -1178,7 +1181,7 @@ export type CreateProjectLink4 = {
|
|
|
1178
1181
|
};
|
|
1179
1182
|
|
|
1180
1183
|
export const CreateProjectLinkProjectsResponseType = {
|
|
1181
|
-
|
|
1184
|
+
GithubCustomHost: "github-custom-host",
|
|
1182
1185
|
} as const;
|
|
1183
1186
|
export type CreateProjectLinkProjectsResponseType = ClosedEnum<
|
|
1184
1187
|
typeof CreateProjectLinkProjectsResponseType
|
|
@@ -1193,16 +1196,15 @@ export type CreateProjectLinkProjectsResponseDeployHooks = {
|
|
|
1193
1196
|
};
|
|
1194
1197
|
|
|
1195
1198
|
export type CreateProjectLink3 = {
|
|
1196
|
-
|
|
1197
|
-
projectName: string;
|
|
1198
|
-
projectNameWithNamespace: string;
|
|
1199
|
-
projectNamespace: string;
|
|
1199
|
+
org: string;
|
|
1200
1200
|
/**
|
|
1201
|
-
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
|
|
1201
|
+
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
|
|
1202
1202
|
*/
|
|
1203
|
-
|
|
1204
|
-
|
|
1203
|
+
repoOwnerId?: number | undefined;
|
|
1204
|
+
repo?: string | undefined;
|
|
1205
|
+
repoId?: number | undefined;
|
|
1205
1206
|
type: CreateProjectLinkProjectsResponseType;
|
|
1207
|
+
host: string;
|
|
1206
1208
|
createdAt?: number | undefined;
|
|
1207
1209
|
deployHooks: Array<CreateProjectLinkProjectsResponseDeployHooks>;
|
|
1208
1210
|
gitCredentialId: string;
|
|
@@ -1274,9 +1276,9 @@ export type CreateProjectLink1 = {
|
|
|
1274
1276
|
};
|
|
1275
1277
|
|
|
1276
1278
|
export type CreateProjectLink =
|
|
1277
|
-
| CreateProjectLink3
|
|
1278
1279
|
| CreateProjectLink4
|
|
1279
1280
|
| CreateProjectLink5
|
|
1281
|
+
| CreateProjectLink3
|
|
1280
1282
|
| CreateProjectLink1
|
|
1281
1283
|
| CreateProjectLink2;
|
|
1282
1284
|
|
|
@@ -1767,6 +1769,7 @@ export type CreateProjectPermissions = {
|
|
|
1767
1769
|
jobGlobal?: Array<ACLAction> | undefined;
|
|
1768
1770
|
drain?: Array<ACLAction> | undefined;
|
|
1769
1771
|
logDrain?: Array<ACLAction> | undefined;
|
|
1772
|
+
traceDrain?: Array<ACLAction> | undefined;
|
|
1770
1773
|
monitoring?: Array<ACLAction> | undefined;
|
|
1771
1774
|
monitoringSettings?: Array<ACLAction> | undefined;
|
|
1772
1775
|
monitoringQuery?: Array<ACLAction> | undefined;
|
|
@@ -1787,6 +1790,7 @@ export type CreateProjectPermissions = {
|
|
|
1787
1790
|
notificationCustomerBudget?: Array<ACLAction> | undefined;
|
|
1788
1791
|
notificationStatementOfReasons?: Array<ACLAction> | undefined;
|
|
1789
1792
|
observabilityConfiguration?: Array<ACLAction> | undefined;
|
|
1793
|
+
alerts?: Array<ACLAction> | undefined;
|
|
1790
1794
|
observabilityNotebook?: Array<ACLAction> | undefined;
|
|
1791
1795
|
observabilityFunnel?: Array<ACLAction> | undefined;
|
|
1792
1796
|
openTelemetryEndpoint?: Array<ACLAction> | undefined;
|
|
@@ -2007,16 +2011,18 @@ export type CreateProjectWebAnalytics = {
|
|
|
2007
2011
|
hasData?: boolean | undefined;
|
|
2008
2012
|
};
|
|
2009
2013
|
|
|
2010
|
-
export const
|
|
2014
|
+
export const CreateProjectProjectsResponse200Action = {
|
|
2011
2015
|
Log: "log",
|
|
2012
2016
|
Challenge: "challenge",
|
|
2013
2017
|
Deny: "deny",
|
|
2014
2018
|
} as const;
|
|
2015
|
-
export type
|
|
2019
|
+
export type CreateProjectProjectsResponse200Action = ClosedEnum<
|
|
2020
|
+
typeof CreateProjectProjectsResponse200Action
|
|
2021
|
+
>;
|
|
2016
2022
|
|
|
2017
2023
|
export type CreateProjectBotFilter = {
|
|
2018
2024
|
active: boolean;
|
|
2019
|
-
action?:
|
|
2025
|
+
action?: CreateProjectProjectsResponse200Action | undefined;
|
|
2020
2026
|
};
|
|
2021
2027
|
|
|
2022
2028
|
export const CreateProjectProjectsAction = {
|
|
@@ -2104,6 +2110,328 @@ export type CreateProjectFeatures = {
|
|
|
2104
2110
|
webAnalytics?: boolean | undefined;
|
|
2105
2111
|
};
|
|
2106
2112
|
|
|
2113
|
+
export type CreateProjectHistory = {
|
|
2114
|
+
scanner: string;
|
|
2115
|
+
reason: string;
|
|
2116
|
+
by: string;
|
|
2117
|
+
byId: string;
|
|
2118
|
+
at: number;
|
|
2119
|
+
};
|
|
2120
|
+
|
|
2121
|
+
export const CreateProjectAction = {
|
|
2122
|
+
Blocked: "blocked",
|
|
2123
|
+
} as const;
|
|
2124
|
+
export type CreateProjectAction = ClosedEnum<typeof CreateProjectAction>;
|
|
2125
|
+
|
|
2126
|
+
export type CreateProjectBlock = {
|
|
2127
|
+
action: CreateProjectAction;
|
|
2128
|
+
reason: string;
|
|
2129
|
+
statusCode: number;
|
|
2130
|
+
createdAt: number;
|
|
2131
|
+
caseId?: string | undefined;
|
|
2132
|
+
actor?: string | undefined;
|
|
2133
|
+
comment?: string | undefined;
|
|
2134
|
+
isCascading?: boolean | undefined;
|
|
2135
|
+
};
|
|
2136
|
+
|
|
2137
|
+
export const CreateProjectBlockHistoryProjectsResponse200Action = {
|
|
2138
|
+
RouteUnblocked: "route-unblocked",
|
|
2139
|
+
} as const;
|
|
2140
|
+
export type CreateProjectBlockHistoryProjectsResponse200Action = ClosedEnum<
|
|
2141
|
+
typeof CreateProjectBlockHistoryProjectsResponse200Action
|
|
2142
|
+
>;
|
|
2143
|
+
|
|
2144
|
+
export const CreateProjectHasProjectsResponse200Type = {
|
|
2145
|
+
Host: "host",
|
|
2146
|
+
} as const;
|
|
2147
|
+
export type CreateProjectHasProjectsResponse200Type = ClosedEnum<
|
|
2148
|
+
typeof CreateProjectHasProjectsResponse200Type
|
|
2149
|
+
>;
|
|
2150
|
+
|
|
2151
|
+
export type CreateProjectHasProjectsResponse200Value = {
|
|
2152
|
+
eq: string;
|
|
2153
|
+
};
|
|
2154
|
+
|
|
2155
|
+
export type CreateProjectHasProjects2 = {
|
|
2156
|
+
type: CreateProjectHasProjectsResponse200Type;
|
|
2157
|
+
value: CreateProjectHasProjectsResponse200Value;
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
export const CreateProjectHasProjectsResponseType = {
|
|
2161
|
+
Header: "header",
|
|
2162
|
+
} as const;
|
|
2163
|
+
export type CreateProjectHasProjectsResponseType = ClosedEnum<
|
|
2164
|
+
typeof CreateProjectHasProjectsResponseType
|
|
2165
|
+
>;
|
|
2166
|
+
|
|
2167
|
+
export const CreateProjectHasProjectsKey = {
|
|
2168
|
+
XVercelIpCountry: "x-vercel-ip-country",
|
|
2169
|
+
} as const;
|
|
2170
|
+
export type CreateProjectHasProjectsKey = ClosedEnum<
|
|
2171
|
+
typeof CreateProjectHasProjectsKey
|
|
2172
|
+
>;
|
|
2173
|
+
|
|
2174
|
+
export type CreateProjectHasProjectsResponseValue = {
|
|
2175
|
+
eq: string;
|
|
2176
|
+
};
|
|
2177
|
+
|
|
2178
|
+
export type CreateProjectHasProjects1 = {
|
|
2179
|
+
type: CreateProjectHasProjectsResponseType;
|
|
2180
|
+
key: CreateProjectHasProjectsKey;
|
|
2181
|
+
value: CreateProjectHasProjectsResponseValue;
|
|
2182
|
+
};
|
|
2183
|
+
|
|
2184
|
+
export type CreateProjectRouteProjectsHas =
|
|
2185
|
+
| CreateProjectHasProjects1
|
|
2186
|
+
| CreateProjectHasProjects2;
|
|
2187
|
+
|
|
2188
|
+
export const CreateProjectRouteProjectsAction = {
|
|
2189
|
+
BlockLegalCwc: "block_legal_cwc",
|
|
2190
|
+
} as const;
|
|
2191
|
+
export type CreateProjectRouteProjectsAction = ClosedEnum<
|
|
2192
|
+
typeof CreateProjectRouteProjectsAction
|
|
2193
|
+
>;
|
|
2194
|
+
|
|
2195
|
+
export type CreateProjectRouteProjectsMitigate = {
|
|
2196
|
+
action: CreateProjectRouteProjectsAction;
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
export type CreateProjectRouteProjects2 = {
|
|
2200
|
+
has: Array<CreateProjectHasProjects1 | CreateProjectHasProjects2>;
|
|
2201
|
+
mitigate: CreateProjectRouteProjectsMitigate;
|
|
2202
|
+
src?: string | undefined;
|
|
2203
|
+
};
|
|
2204
|
+
|
|
2205
|
+
export type CreateProjectRouteProjects1 = {
|
|
2206
|
+
src: string;
|
|
2207
|
+
status: number;
|
|
2208
|
+
};
|
|
2209
|
+
|
|
2210
|
+
export type CreateProjectBlockHistoryProjectsRoute =
|
|
2211
|
+
| CreateProjectRouteProjects1
|
|
2212
|
+
| CreateProjectRouteProjects2;
|
|
2213
|
+
|
|
2214
|
+
export type CreateProjectBlockHistory4 = {
|
|
2215
|
+
action: CreateProjectBlockHistoryProjectsResponse200Action;
|
|
2216
|
+
route: CreateProjectRouteProjects1 | CreateProjectRouteProjects2;
|
|
2217
|
+
statusCode?: number | undefined;
|
|
2218
|
+
createdAt: number;
|
|
2219
|
+
caseId?: string | undefined;
|
|
2220
|
+
actor?: string | undefined;
|
|
2221
|
+
comment?: string | undefined;
|
|
2222
|
+
isCascading?: boolean | undefined;
|
|
2223
|
+
};
|
|
2224
|
+
|
|
2225
|
+
export const CreateProjectBlockHistoryProjectsResponseAction = {
|
|
2226
|
+
RouteBlocked: "route-blocked",
|
|
2227
|
+
} as const;
|
|
2228
|
+
export type CreateProjectBlockHistoryProjectsResponseAction = ClosedEnum<
|
|
2229
|
+
typeof CreateProjectBlockHistoryProjectsResponseAction
|
|
2230
|
+
>;
|
|
2231
|
+
|
|
2232
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType =
|
|
2233
|
+
{
|
|
2234
|
+
Host: "host",
|
|
2235
|
+
} as const;
|
|
2236
|
+
export type CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType =
|
|
2237
|
+
ClosedEnum<
|
|
2238
|
+
typeof CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType
|
|
2239
|
+
>;
|
|
2240
|
+
|
|
2241
|
+
export type CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue =
|
|
2242
|
+
{
|
|
2243
|
+
eq: string;
|
|
2244
|
+
};
|
|
2245
|
+
|
|
2246
|
+
export type CreateProjectHasProjectsResponse2 = {
|
|
2247
|
+
type: CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType;
|
|
2248
|
+
value: CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue;
|
|
2249
|
+
};
|
|
2250
|
+
|
|
2251
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONType = {
|
|
2252
|
+
Header: "header",
|
|
2253
|
+
} as const;
|
|
2254
|
+
export type CreateProjectHasProjectsResponse200ApplicationJSONType = ClosedEnum<
|
|
2255
|
+
typeof CreateProjectHasProjectsResponse200ApplicationJSONType
|
|
2256
|
+
>;
|
|
2257
|
+
|
|
2258
|
+
export const CreateProjectHasKey = {
|
|
2259
|
+
XVercelIpCountry: "x-vercel-ip-country",
|
|
2260
|
+
} as const;
|
|
2261
|
+
export type CreateProjectHasKey = ClosedEnum<typeof CreateProjectHasKey>;
|
|
2262
|
+
|
|
2263
|
+
export type CreateProjectHasProjectsResponse200ApplicationJSONValue = {
|
|
2264
|
+
eq: string;
|
|
2265
|
+
};
|
|
2266
|
+
|
|
2267
|
+
export type CreateProjectHasProjectsResponse1 = {
|
|
2268
|
+
type: CreateProjectHasProjectsResponse200ApplicationJSONType;
|
|
2269
|
+
key: CreateProjectHasKey;
|
|
2270
|
+
value: CreateProjectHasProjectsResponse200ApplicationJSONValue;
|
|
2271
|
+
};
|
|
2272
|
+
|
|
2273
|
+
export type CreateProjectRouteHas =
|
|
2274
|
+
| CreateProjectHasProjectsResponse1
|
|
2275
|
+
| CreateProjectHasProjectsResponse2;
|
|
2276
|
+
|
|
2277
|
+
export const CreateProjectRouteAction = {
|
|
2278
|
+
BlockLegalCwc: "block_legal_cwc",
|
|
2279
|
+
} as const;
|
|
2280
|
+
export type CreateProjectRouteAction = ClosedEnum<
|
|
2281
|
+
typeof CreateProjectRouteAction
|
|
2282
|
+
>;
|
|
2283
|
+
|
|
2284
|
+
export type CreateProjectRouteMitigate = {
|
|
2285
|
+
action: CreateProjectRouteAction;
|
|
2286
|
+
};
|
|
2287
|
+
|
|
2288
|
+
export type CreateProjectRoute2 = {
|
|
2289
|
+
has: Array<
|
|
2290
|
+
CreateProjectHasProjectsResponse1 | CreateProjectHasProjectsResponse2
|
|
2291
|
+
>;
|
|
2292
|
+
mitigate: CreateProjectRouteMitigate;
|
|
2293
|
+
src?: string | undefined;
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
export type CreateProjectRoute1 = {
|
|
2297
|
+
src: string;
|
|
2298
|
+
status: number;
|
|
2299
|
+
};
|
|
2300
|
+
|
|
2301
|
+
export type CreateProjectBlockHistoryRoute =
|
|
2302
|
+
| CreateProjectRoute1
|
|
2303
|
+
| CreateProjectRoute2;
|
|
2304
|
+
|
|
2305
|
+
export type CreateProjectBlockHistory3 = {
|
|
2306
|
+
action: CreateProjectBlockHistoryProjectsResponseAction;
|
|
2307
|
+
route: CreateProjectRoute1 | CreateProjectRoute2;
|
|
2308
|
+
reason: string;
|
|
2309
|
+
createdAt: number;
|
|
2310
|
+
caseId?: string | undefined;
|
|
2311
|
+
actor?: string | undefined;
|
|
2312
|
+
comment?: string | undefined;
|
|
2313
|
+
isCascading?: boolean | undefined;
|
|
2314
|
+
};
|
|
2315
|
+
|
|
2316
|
+
export const CreateProjectBlockHistoryProjectsAction = {
|
|
2317
|
+
Unblocked: "unblocked",
|
|
2318
|
+
} as const;
|
|
2319
|
+
export type CreateProjectBlockHistoryProjectsAction = ClosedEnum<
|
|
2320
|
+
typeof CreateProjectBlockHistoryProjectsAction
|
|
2321
|
+
>;
|
|
2322
|
+
|
|
2323
|
+
export type CreateProjectBlockHistory2 = {
|
|
2324
|
+
action: CreateProjectBlockHistoryProjectsAction;
|
|
2325
|
+
createdAt: number;
|
|
2326
|
+
caseId?: string | undefined;
|
|
2327
|
+
actor?: string | undefined;
|
|
2328
|
+
comment?: string | undefined;
|
|
2329
|
+
isCascading?: boolean | undefined;
|
|
2330
|
+
};
|
|
2331
|
+
|
|
2332
|
+
export const CreateProjectBlockHistoryAction = {
|
|
2333
|
+
Blocked: "blocked",
|
|
2334
|
+
} as const;
|
|
2335
|
+
export type CreateProjectBlockHistoryAction = ClosedEnum<
|
|
2336
|
+
typeof CreateProjectBlockHistoryAction
|
|
2337
|
+
>;
|
|
2338
|
+
|
|
2339
|
+
export type CreateProjectBlockHistory1 = {
|
|
2340
|
+
action: CreateProjectBlockHistoryAction;
|
|
2341
|
+
reason: string;
|
|
2342
|
+
statusCode: number;
|
|
2343
|
+
createdAt: number;
|
|
2344
|
+
caseId?: string | undefined;
|
|
2345
|
+
actor?: string | undefined;
|
|
2346
|
+
comment?: string | undefined;
|
|
2347
|
+
isCascading?: boolean | undefined;
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2350
|
+
export type CreateProjectBlockHistory =
|
|
2351
|
+
| CreateProjectBlockHistory1
|
|
2352
|
+
| CreateProjectBlockHistory3
|
|
2353
|
+
| CreateProjectBlockHistory4
|
|
2354
|
+
| CreateProjectBlockHistory2;
|
|
2355
|
+
|
|
2356
|
+
export type CreateProjectAbuse = {
|
|
2357
|
+
scanner?: string | undefined;
|
|
2358
|
+
history: Array<CreateProjectHistory>;
|
|
2359
|
+
updatedAt: number;
|
|
2360
|
+
block?: CreateProjectBlock | undefined;
|
|
2361
|
+
blockHistory?:
|
|
2362
|
+
| Array<
|
|
2363
|
+
| CreateProjectBlockHistory1
|
|
2364
|
+
| CreateProjectBlockHistory3
|
|
2365
|
+
| CreateProjectBlockHistory4
|
|
2366
|
+
| CreateProjectBlockHistory2
|
|
2367
|
+
>
|
|
2368
|
+
| undefined;
|
|
2369
|
+
};
|
|
2370
|
+
|
|
2371
|
+
export const CreateProjectHasProjectsType = {
|
|
2372
|
+
Host: "host",
|
|
2373
|
+
} as const;
|
|
2374
|
+
export type CreateProjectHasProjectsType = ClosedEnum<
|
|
2375
|
+
typeof CreateProjectHasProjectsType
|
|
2376
|
+
>;
|
|
2377
|
+
|
|
2378
|
+
export type CreateProjectHasProjectsValue = {
|
|
2379
|
+
eq: string;
|
|
2380
|
+
};
|
|
2381
|
+
|
|
2382
|
+
export type CreateProjectHas2 = {
|
|
2383
|
+
type: CreateProjectHasProjectsType;
|
|
2384
|
+
value: CreateProjectHasProjectsValue;
|
|
2385
|
+
};
|
|
2386
|
+
|
|
2387
|
+
export const CreateProjectHasType = {
|
|
2388
|
+
Header: "header",
|
|
2389
|
+
} as const;
|
|
2390
|
+
export type CreateProjectHasType = ClosedEnum<typeof CreateProjectHasType>;
|
|
2391
|
+
|
|
2392
|
+
export const HasKey = {
|
|
2393
|
+
XVercelIpCountry: "x-vercel-ip-country",
|
|
2394
|
+
} as const;
|
|
2395
|
+
export type HasKey = ClosedEnum<typeof HasKey>;
|
|
2396
|
+
|
|
2397
|
+
export type CreateProjectHasValue = {
|
|
2398
|
+
eq: string;
|
|
2399
|
+
};
|
|
2400
|
+
|
|
2401
|
+
export type CreateProjectHas1 = {
|
|
2402
|
+
type: CreateProjectHasType;
|
|
2403
|
+
key: HasKey;
|
|
2404
|
+
value: CreateProjectHasValue;
|
|
2405
|
+
};
|
|
2406
|
+
|
|
2407
|
+
export type InternalRoutesHas = CreateProjectHas1 | CreateProjectHas2;
|
|
2408
|
+
|
|
2409
|
+
export const CreateProjectInternalRoutesAction = {
|
|
2410
|
+
BlockLegalCwc: "block_legal_cwc",
|
|
2411
|
+
} as const;
|
|
2412
|
+
export type CreateProjectInternalRoutesAction = ClosedEnum<
|
|
2413
|
+
typeof CreateProjectInternalRoutesAction
|
|
2414
|
+
>;
|
|
2415
|
+
|
|
2416
|
+
export type InternalRoutesMitigate = {
|
|
2417
|
+
action: CreateProjectInternalRoutesAction;
|
|
2418
|
+
};
|
|
2419
|
+
|
|
2420
|
+
export type CreateProjectInternalRoutes2 = {
|
|
2421
|
+
has: Array<CreateProjectHas1 | CreateProjectHas2>;
|
|
2422
|
+
mitigate: InternalRoutesMitigate;
|
|
2423
|
+
src?: string | undefined;
|
|
2424
|
+
};
|
|
2425
|
+
|
|
2426
|
+
export type CreateProjectInternalRoutes1 = {
|
|
2427
|
+
src: string;
|
|
2428
|
+
status: number;
|
|
2429
|
+
};
|
|
2430
|
+
|
|
2431
|
+
export type CreateProjectInternalRoutes =
|
|
2432
|
+
| CreateProjectInternalRoutes1
|
|
2433
|
+
| CreateProjectInternalRoutes2;
|
|
2434
|
+
|
|
2107
2435
|
/**
|
|
2108
2436
|
* The project was successfuly created
|
|
2109
2437
|
*/
|
|
@@ -2143,9 +2471,9 @@ export type CreateProjectResponseBody = {
|
|
|
2143
2471
|
ipBuckets?: Array<CreateProjectIpBuckets> | undefined;
|
|
2144
2472
|
latestDeployments?: Array<CreateProjectLatestDeployments> | undefined;
|
|
2145
2473
|
link?:
|
|
2146
|
-
| CreateProjectLink3
|
|
2147
2474
|
| CreateProjectLink4
|
|
2148
2475
|
| CreateProjectLink5
|
|
2476
|
+
| CreateProjectLink3
|
|
2149
2477
|
| CreateProjectLink1
|
|
2150
2478
|
| CreateProjectLink2
|
|
2151
2479
|
| undefined;
|
|
@@ -2211,6 +2539,10 @@ export type CreateProjectResponseBody = {
|
|
|
2211
2539
|
tier?: CreateProjectTier | undefined;
|
|
2212
2540
|
features?: CreateProjectFeatures | undefined;
|
|
2213
2541
|
v0?: boolean | undefined;
|
|
2542
|
+
abuse?: CreateProjectAbuse | undefined;
|
|
2543
|
+
internalRoutes?:
|
|
2544
|
+
| Array<CreateProjectInternalRoutes1 | CreateProjectInternalRoutes2>
|
|
2545
|
+
| undefined;
|
|
2214
2546
|
};
|
|
2215
2547
|
|
|
2216
2548
|
/** @internal */
|
|
@@ -6547,12 +6879,12 @@ export const CreateProjectLink5$inboundSchema: z.ZodType<
|
|
|
6547
6879
|
z.ZodTypeDef,
|
|
6548
6880
|
unknown
|
|
6549
6881
|
> = z.object({
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
repoId: z.number().optional(),
|
|
6882
|
+
name: z.string(),
|
|
6883
|
+
slug: z.string(),
|
|
6884
|
+
owner: z.string(),
|
|
6554
6885
|
type: CreateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema,
|
|
6555
|
-
|
|
6886
|
+
uuid: z.string(),
|
|
6887
|
+
workspaceUuid: z.string(),
|
|
6556
6888
|
createdAt: z.number().optional(),
|
|
6557
6889
|
deployHooks: z.array(
|
|
6558
6890
|
z.lazy(() =>
|
|
@@ -6567,12 +6899,12 @@ export const CreateProjectLink5$inboundSchema: z.ZodType<
|
|
|
6567
6899
|
|
|
6568
6900
|
/** @internal */
|
|
6569
6901
|
export type CreateProjectLink5$Outbound = {
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
repoId?: number | undefined;
|
|
6902
|
+
name: string;
|
|
6903
|
+
slug: string;
|
|
6904
|
+
owner: string;
|
|
6574
6905
|
type: string;
|
|
6575
|
-
|
|
6906
|
+
uuid: string;
|
|
6907
|
+
workspaceUuid: string;
|
|
6576
6908
|
createdAt?: number | undefined;
|
|
6577
6909
|
deployHooks: Array<
|
|
6578
6910
|
CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound
|
|
@@ -6589,12 +6921,12 @@ export const CreateProjectLink5$outboundSchema: z.ZodType<
|
|
|
6589
6921
|
z.ZodTypeDef,
|
|
6590
6922
|
CreateProjectLink5
|
|
6591
6923
|
> = z.object({
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
repoId: z.number().optional(),
|
|
6924
|
+
name: z.string(),
|
|
6925
|
+
slug: z.string(),
|
|
6926
|
+
owner: z.string(),
|
|
6596
6927
|
type: CreateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema,
|
|
6597
|
-
|
|
6928
|
+
uuid: z.string(),
|
|
6929
|
+
workspaceUuid: z.string(),
|
|
6598
6930
|
createdAt: z.number().optional(),
|
|
6599
6931
|
deployHooks: z.array(
|
|
6600
6932
|
z.lazy(() =>
|
|
@@ -6747,12 +7079,13 @@ export const CreateProjectLink4$inboundSchema: z.ZodType<
|
|
|
6747
7079
|
z.ZodTypeDef,
|
|
6748
7080
|
unknown
|
|
6749
7081
|
> = z.object({
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
7082
|
+
projectId: z.string(),
|
|
7083
|
+
projectName: z.string(),
|
|
7084
|
+
projectNameWithNamespace: z.string(),
|
|
7085
|
+
projectNamespace: z.string(),
|
|
7086
|
+
projectOwnerId: z.number().optional(),
|
|
7087
|
+
projectUrl: z.string(),
|
|
6753
7088
|
type: CreateProjectLinkProjectsResponse200Type$inboundSchema,
|
|
6754
|
-
uuid: z.string(),
|
|
6755
|
-
workspaceUuid: z.string(),
|
|
6756
7089
|
createdAt: z.number().optional(),
|
|
6757
7090
|
deployHooks: z.array(
|
|
6758
7091
|
z.lazy(() => CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema),
|
|
@@ -6765,12 +7098,13 @@ export const CreateProjectLink4$inboundSchema: z.ZodType<
|
|
|
6765
7098
|
|
|
6766
7099
|
/** @internal */
|
|
6767
7100
|
export type CreateProjectLink4$Outbound = {
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
7101
|
+
projectId: string;
|
|
7102
|
+
projectName: string;
|
|
7103
|
+
projectNameWithNamespace: string;
|
|
7104
|
+
projectNamespace: string;
|
|
7105
|
+
projectOwnerId?: number | undefined;
|
|
7106
|
+
projectUrl: string;
|
|
6771
7107
|
type: string;
|
|
6772
|
-
uuid: string;
|
|
6773
|
-
workspaceUuid: string;
|
|
6774
7108
|
createdAt?: number | undefined;
|
|
6775
7109
|
deployHooks: Array<CreateProjectLinkProjectsResponse200DeployHooks$Outbound>;
|
|
6776
7110
|
gitCredentialId: string;
|
|
@@ -6785,12 +7119,13 @@ export const CreateProjectLink4$outboundSchema: z.ZodType<
|
|
|
6785
7119
|
z.ZodTypeDef,
|
|
6786
7120
|
CreateProjectLink4
|
|
6787
7121
|
> = z.object({
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
7122
|
+
projectId: z.string(),
|
|
7123
|
+
projectName: z.string(),
|
|
7124
|
+
projectNameWithNamespace: z.string(),
|
|
7125
|
+
projectNamespace: z.string(),
|
|
7126
|
+
projectOwnerId: z.number().optional(),
|
|
7127
|
+
projectUrl: z.string(),
|
|
6791
7128
|
type: CreateProjectLinkProjectsResponse200Type$outboundSchema,
|
|
6792
|
-
uuid: z.string(),
|
|
6793
|
-
workspaceUuid: z.string(),
|
|
6794
7129
|
createdAt: z.number().optional(),
|
|
6795
7130
|
deployHooks: z.array(
|
|
6796
7131
|
z.lazy(() =>
|
|
@@ -6943,13 +7278,12 @@ export const CreateProjectLink3$inboundSchema: z.ZodType<
|
|
|
6943
7278
|
z.ZodTypeDef,
|
|
6944
7279
|
unknown
|
|
6945
7280
|
> = z.object({
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
projectOwnerId: z.number().optional(),
|
|
6951
|
-
projectUrl: z.string(),
|
|
7281
|
+
org: z.string(),
|
|
7282
|
+
repoOwnerId: z.number().optional(),
|
|
7283
|
+
repo: z.string().optional(),
|
|
7284
|
+
repoId: z.number().optional(),
|
|
6952
7285
|
type: CreateProjectLinkProjectsResponseType$inboundSchema,
|
|
7286
|
+
host: z.string(),
|
|
6953
7287
|
createdAt: z.number().optional(),
|
|
6954
7288
|
deployHooks: z.array(
|
|
6955
7289
|
z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$inboundSchema),
|
|
@@ -6962,13 +7296,12 @@ export const CreateProjectLink3$inboundSchema: z.ZodType<
|
|
|
6962
7296
|
|
|
6963
7297
|
/** @internal */
|
|
6964
7298
|
export type CreateProjectLink3$Outbound = {
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
projectOwnerId?: number | undefined;
|
|
6970
|
-
projectUrl: string;
|
|
7299
|
+
org: string;
|
|
7300
|
+
repoOwnerId?: number | undefined;
|
|
7301
|
+
repo?: string | undefined;
|
|
7302
|
+
repoId?: number | undefined;
|
|
6971
7303
|
type: string;
|
|
7304
|
+
host: string;
|
|
6972
7305
|
createdAt?: number | undefined;
|
|
6973
7306
|
deployHooks: Array<CreateProjectLinkProjectsResponseDeployHooks$Outbound>;
|
|
6974
7307
|
gitCredentialId: string;
|
|
@@ -6983,13 +7316,12 @@ export const CreateProjectLink3$outboundSchema: z.ZodType<
|
|
|
6983
7316
|
z.ZodTypeDef,
|
|
6984
7317
|
CreateProjectLink3
|
|
6985
7318
|
> = z.object({
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
projectOwnerId: z.number().optional(),
|
|
6991
|
-
projectUrl: z.string(),
|
|
7319
|
+
org: z.string(),
|
|
7320
|
+
repoOwnerId: z.number().optional(),
|
|
7321
|
+
repo: z.string().optional(),
|
|
7322
|
+
repoId: z.number().optional(),
|
|
6992
7323
|
type: CreateProjectLinkProjectsResponseType$outboundSchema,
|
|
7324
|
+
host: z.string(),
|
|
6993
7325
|
createdAt: z.number().optional(),
|
|
6994
7326
|
deployHooks: z.array(
|
|
6995
7327
|
z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$outboundSchema),
|
|
@@ -7394,18 +7726,18 @@ export const CreateProjectLink$inboundSchema: z.ZodType<
|
|
|
7394
7726
|
z.ZodTypeDef,
|
|
7395
7727
|
unknown
|
|
7396
7728
|
> = z.union([
|
|
7397
|
-
z.lazy(() => CreateProjectLink3$inboundSchema),
|
|
7398
7729
|
z.lazy(() => CreateProjectLink4$inboundSchema),
|
|
7399
7730
|
z.lazy(() => CreateProjectLink5$inboundSchema),
|
|
7731
|
+
z.lazy(() => CreateProjectLink3$inboundSchema),
|
|
7400
7732
|
z.lazy(() => CreateProjectLink1$inboundSchema),
|
|
7401
7733
|
z.lazy(() => CreateProjectLink2$inboundSchema),
|
|
7402
7734
|
]);
|
|
7403
7735
|
|
|
7404
7736
|
/** @internal */
|
|
7405
7737
|
export type CreateProjectLink$Outbound =
|
|
7406
|
-
| CreateProjectLink3$Outbound
|
|
7407
7738
|
| CreateProjectLink4$Outbound
|
|
7408
7739
|
| CreateProjectLink5$Outbound
|
|
7740
|
+
| CreateProjectLink3$Outbound
|
|
7409
7741
|
| CreateProjectLink1$Outbound
|
|
7410
7742
|
| CreateProjectLink2$Outbound;
|
|
7411
7743
|
|
|
@@ -7415,9 +7747,9 @@ export const CreateProjectLink$outboundSchema: z.ZodType<
|
|
|
7415
7747
|
z.ZodTypeDef,
|
|
7416
7748
|
CreateProjectLink
|
|
7417
7749
|
> = z.union([
|
|
7418
|
-
z.lazy(() => CreateProjectLink3$outboundSchema),
|
|
7419
7750
|
z.lazy(() => CreateProjectLink4$outboundSchema),
|
|
7420
7751
|
z.lazy(() => CreateProjectLink5$outboundSchema),
|
|
7752
|
+
z.lazy(() => CreateProjectLink3$outboundSchema),
|
|
7421
7753
|
z.lazy(() => CreateProjectLink1$outboundSchema),
|
|
7422
7754
|
z.lazy(() => CreateProjectLink2$outboundSchema),
|
|
7423
7755
|
]);
|
|
@@ -9245,6 +9577,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
9245
9577
|
jobGlobal: z.array(ACLAction$inboundSchema).optional(),
|
|
9246
9578
|
drain: z.array(ACLAction$inboundSchema).optional(),
|
|
9247
9579
|
logDrain: z.array(ACLAction$inboundSchema).optional(),
|
|
9580
|
+
traceDrain: z.array(ACLAction$inboundSchema).optional(),
|
|
9248
9581
|
Monitoring: z.array(ACLAction$inboundSchema).optional(),
|
|
9249
9582
|
monitoringSettings: z.array(ACLAction$inboundSchema).optional(),
|
|
9250
9583
|
monitoringQuery: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -9265,6 +9598,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
9265
9598
|
notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
|
|
9266
9599
|
notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
|
|
9267
9600
|
observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
|
|
9601
|
+
alerts: z.array(ACLAction$inboundSchema).optional(),
|
|
9268
9602
|
observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
|
|
9269
9603
|
observabilityFunnel: z.array(ACLAction$inboundSchema).optional(),
|
|
9270
9604
|
openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -9467,6 +9801,7 @@ export type CreateProjectPermissions$Outbound = {
|
|
|
9467
9801
|
jobGlobal?: Array<string> | undefined;
|
|
9468
9802
|
drain?: Array<string> | undefined;
|
|
9469
9803
|
logDrain?: Array<string> | undefined;
|
|
9804
|
+
traceDrain?: Array<string> | undefined;
|
|
9470
9805
|
Monitoring?: Array<string> | undefined;
|
|
9471
9806
|
monitoringSettings?: Array<string> | undefined;
|
|
9472
9807
|
monitoringQuery?: Array<string> | undefined;
|
|
@@ -9487,6 +9822,7 @@ export type CreateProjectPermissions$Outbound = {
|
|
|
9487
9822
|
notificationCustomerBudget?: Array<string> | undefined;
|
|
9488
9823
|
notificationStatementOfReasons?: Array<string> | undefined;
|
|
9489
9824
|
observabilityConfiguration?: Array<string> | undefined;
|
|
9825
|
+
alerts?: Array<string> | undefined;
|
|
9490
9826
|
observabilityNotebook?: Array<string> | undefined;
|
|
9491
9827
|
observabilityFunnel?: Array<string> | undefined;
|
|
9492
9828
|
openTelemetryEndpoint?: Array<string> | undefined;
|
|
@@ -9694,6 +10030,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
9694
10030
|
jobGlobal: z.array(ACLAction$outboundSchema).optional(),
|
|
9695
10031
|
drain: z.array(ACLAction$outboundSchema).optional(),
|
|
9696
10032
|
logDrain: z.array(ACLAction$outboundSchema).optional(),
|
|
10033
|
+
traceDrain: z.array(ACLAction$outboundSchema).optional(),
|
|
9697
10034
|
monitoring: z.array(ACLAction$outboundSchema).optional(),
|
|
9698
10035
|
monitoringSettings: z.array(ACLAction$outboundSchema).optional(),
|
|
9699
10036
|
monitoringQuery: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -9714,6 +10051,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
9714
10051
|
notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
|
|
9715
10052
|
notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
|
|
9716
10053
|
observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
|
|
10054
|
+
alerts: z.array(ACLAction$outboundSchema).optional(),
|
|
9717
10055
|
observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
|
|
9718
10056
|
observabilityFunnel: z.array(ACLAction$outboundSchema).optional(),
|
|
9719
10057
|
openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -10716,24 +11054,27 @@ export function createProjectWebAnalyticsFromJSON(
|
|
|
10716
11054
|
}
|
|
10717
11055
|
|
|
10718
11056
|
/** @internal */
|
|
10719
|
-
export const
|
|
10720
|
-
typeof
|
|
10721
|
-
|
|
11057
|
+
export const CreateProjectProjectsResponse200Action$inboundSchema:
|
|
11058
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Action> = z.nativeEnum(
|
|
11059
|
+
CreateProjectProjectsResponse200Action,
|
|
11060
|
+
);
|
|
10722
11061
|
|
|
10723
11062
|
/** @internal */
|
|
10724
|
-
export const
|
|
10725
|
-
typeof
|
|
10726
|
-
|
|
11063
|
+
export const CreateProjectProjectsResponse200Action$outboundSchema:
|
|
11064
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Action> =
|
|
11065
|
+
CreateProjectProjectsResponse200Action$inboundSchema;
|
|
10727
11066
|
|
|
10728
11067
|
/**
|
|
10729
11068
|
* @internal
|
|
10730
11069
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10731
11070
|
*/
|
|
10732
|
-
export namespace
|
|
10733
|
-
/** @deprecated use `
|
|
10734
|
-
export const inboundSchema =
|
|
10735
|
-
|
|
10736
|
-
|
|
11071
|
+
export namespace CreateProjectProjectsResponse200Action$ {
|
|
11072
|
+
/** @deprecated use `CreateProjectProjectsResponse200Action$inboundSchema` instead. */
|
|
11073
|
+
export const inboundSchema =
|
|
11074
|
+
CreateProjectProjectsResponse200Action$inboundSchema;
|
|
11075
|
+
/** @deprecated use `CreateProjectProjectsResponse200Action$outboundSchema` instead. */
|
|
11076
|
+
export const outboundSchema =
|
|
11077
|
+
CreateProjectProjectsResponse200Action$outboundSchema;
|
|
10737
11078
|
}
|
|
10738
11079
|
|
|
10739
11080
|
/** @internal */
|
|
@@ -10743,7 +11084,7 @@ export const CreateProjectBotFilter$inboundSchema: z.ZodType<
|
|
|
10743
11084
|
unknown
|
|
10744
11085
|
> = z.object({
|
|
10745
11086
|
active: z.boolean(),
|
|
10746
|
-
action:
|
|
11087
|
+
action: CreateProjectProjectsResponse200Action$inboundSchema.optional(),
|
|
10747
11088
|
});
|
|
10748
11089
|
|
|
10749
11090
|
/** @internal */
|
|
@@ -10759,7 +11100,7 @@ export const CreateProjectBotFilter$outboundSchema: z.ZodType<
|
|
|
10759
11100
|
CreateProjectBotFilter
|
|
10760
11101
|
> = z.object({
|
|
10761
11102
|
active: z.boolean(),
|
|
10762
|
-
action:
|
|
11103
|
+
action: CreateProjectProjectsResponse200Action$outboundSchema.optional(),
|
|
10763
11104
|
});
|
|
10764
11105
|
|
|
10765
11106
|
/**
|
|
@@ -11268,218 +11609,2846 @@ export function createProjectFeaturesFromJSON(
|
|
|
11268
11609
|
}
|
|
11269
11610
|
|
|
11270
11611
|
/** @internal */
|
|
11271
|
-
export const
|
|
11272
|
-
|
|
11612
|
+
export const CreateProjectHistory$inboundSchema: z.ZodType<
|
|
11613
|
+
CreateProjectHistory,
|
|
11273
11614
|
z.ZodTypeDef,
|
|
11274
11615
|
unknown
|
|
11275
11616
|
> = z.object({
|
|
11276
|
-
|
|
11277
|
-
|
|
11278
|
-
|
|
11279
|
-
|
|
11280
|
-
|
|
11281
|
-
autoAssignCustomDomains: z.boolean().optional(),
|
|
11282
|
-
autoAssignCustomDomainsUpdatedBy: z.string().optional(),
|
|
11283
|
-
buildCommand: z.nullable(z.string()).optional(),
|
|
11284
|
-
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
11285
|
-
connectConfigurations: z.nullable(
|
|
11286
|
-
z.array(z.lazy(() => CreateProjectConnectConfigurations$inboundSchema)),
|
|
11287
|
-
).optional(),
|
|
11288
|
-
connectConfigurationId: z.nullable(z.string()).optional(),
|
|
11289
|
-
connectBuildsEnabled: z.boolean().optional(),
|
|
11290
|
-
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
11291
|
-
createdAt: z.number().optional(),
|
|
11292
|
-
customerSupportCodeVisibility: z.boolean().optional(),
|
|
11293
|
-
crons: z.lazy(() => CreateProjectCrons$inboundSchema).optional(),
|
|
11294
|
-
dataCache: z.lazy(() => CreateProjectDataCache$inboundSchema).optional(),
|
|
11295
|
-
deploymentExpiration: z.nullable(
|
|
11296
|
-
z.lazy(() => CreateProjectDeploymentExpiration$inboundSchema),
|
|
11297
|
-
).optional(),
|
|
11298
|
-
devCommand: z.nullable(z.string()).optional(),
|
|
11299
|
-
directoryListing: z.boolean(),
|
|
11300
|
-
installCommand: z.nullable(z.string()).optional(),
|
|
11301
|
-
env: z.array(z.lazy(() => CreateProjectEnv$inboundSchema)).optional(),
|
|
11302
|
-
customEnvironments: z.array(
|
|
11303
|
-
z.lazy(() => CreateProjectCustomEnvironments$inboundSchema),
|
|
11304
|
-
).optional(),
|
|
11305
|
-
framework: z.nullable(CreateProjectProjectsFramework$inboundSchema)
|
|
11306
|
-
.optional(),
|
|
11307
|
-
gitForkProtection: z.boolean().optional(),
|
|
11308
|
-
gitLFS: z.boolean().optional(),
|
|
11309
|
-
id: z.string(),
|
|
11310
|
-
ipBuckets: z.array(z.lazy(() => CreateProjectIpBuckets$inboundSchema))
|
|
11311
|
-
.optional(),
|
|
11312
|
-
latestDeployments: z.array(
|
|
11313
|
-
z.lazy(() => CreateProjectLatestDeployments$inboundSchema),
|
|
11314
|
-
).optional(),
|
|
11315
|
-
link: z.union([
|
|
11316
|
-
z.lazy(() => CreateProjectLink3$inboundSchema),
|
|
11317
|
-
z.lazy(() => CreateProjectLink4$inboundSchema),
|
|
11318
|
-
z.lazy(() => CreateProjectLink5$inboundSchema),
|
|
11319
|
-
z.lazy(() => CreateProjectLink1$inboundSchema),
|
|
11320
|
-
z.lazy(() => CreateProjectLink2$inboundSchema),
|
|
11321
|
-
]).optional(),
|
|
11322
|
-
microfrontends: z.union([
|
|
11323
|
-
z.lazy(() => CreateProjectMicrofrontends1$inboundSchema),
|
|
11324
|
-
z.lazy(() => CreateProjectMicrofrontends2$inboundSchema),
|
|
11325
|
-
]).optional(),
|
|
11326
|
-
name: z.string(),
|
|
11327
|
-
nodeVersion: CreateProjectNodeVersion$inboundSchema,
|
|
11328
|
-
optionsAllowlist: z.nullable(
|
|
11329
|
-
z.lazy(() => CreateProjectOptionsAllowlist$inboundSchema),
|
|
11330
|
-
).optional(),
|
|
11331
|
-
outputDirectory: z.nullable(z.string()).optional(),
|
|
11332
|
-
passwordProtection: z.nullable(
|
|
11333
|
-
z.lazy(() => CreateProjectPasswordProtection$inboundSchema),
|
|
11334
|
-
).optional(),
|
|
11335
|
-
productionDeploymentsFastLane: z.boolean().optional(),
|
|
11336
|
-
publicSource: z.nullable(z.boolean()).optional(),
|
|
11337
|
-
resourceConfig: z.lazy(() =>
|
|
11338
|
-
CreateProjectProjectsResourceConfig$inboundSchema
|
|
11339
|
-
),
|
|
11340
|
-
rollbackDescription: z.lazy(() =>
|
|
11341
|
-
CreateProjectRollbackDescription$inboundSchema
|
|
11342
|
-
).optional(),
|
|
11343
|
-
rollingRelease: z.nullable(
|
|
11344
|
-
z.lazy(() => CreateProjectRollingRelease$inboundSchema),
|
|
11345
|
-
).optional(),
|
|
11346
|
-
defaultResourceConfig: z.lazy(() =>
|
|
11347
|
-
CreateProjectDefaultResourceConfig$inboundSchema
|
|
11348
|
-
),
|
|
11349
|
-
rootDirectory: z.nullable(z.string()).optional(),
|
|
11350
|
-
serverlessFunctionZeroConfigFailover: z.boolean().optional(),
|
|
11351
|
-
skewProtectionBoundaryAt: z.number().optional(),
|
|
11352
|
-
skewProtectionMaxAge: z.number().optional(),
|
|
11353
|
-
skipGitConnectDuringLink: z.boolean().optional(),
|
|
11354
|
-
sourceFilesOutsideRootDirectory: z.boolean().optional(),
|
|
11355
|
-
enableAffectedProjectsDeployments: z.boolean().optional(),
|
|
11356
|
-
ssoProtection: z.nullable(
|
|
11357
|
-
z.lazy(() => CreateProjectProjectsSsoProtection$inboundSchema),
|
|
11358
|
-
).optional(),
|
|
11359
|
-
targets: z.record(
|
|
11360
|
-
z.nullable(z.lazy(() => CreateProjectTargets$inboundSchema)),
|
|
11361
|
-
).optional(),
|
|
11362
|
-
transferCompletedAt: z.number().optional(),
|
|
11363
|
-
transferStartedAt: z.number().optional(),
|
|
11364
|
-
transferToAccountId: z.string().optional(),
|
|
11365
|
-
transferredFromAccountId: z.string().optional(),
|
|
11366
|
-
updatedAt: z.number().optional(),
|
|
11367
|
-
live: z.boolean().optional(),
|
|
11368
|
-
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
11369
|
-
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
11370
|
-
permissions: z.lazy(() => CreateProjectPermissions$inboundSchema).optional(),
|
|
11371
|
-
lastRollbackTarget: z.nullable(
|
|
11372
|
-
z.lazy(() => CreateProjectLastRollbackTarget$inboundSchema),
|
|
11373
|
-
).optional(),
|
|
11374
|
-
lastAliasRequest: z.nullable(
|
|
11375
|
-
z.lazy(() => CreateProjectLastAliasRequest$inboundSchema),
|
|
11376
|
-
).optional(),
|
|
11377
|
-
protectionBypass: z.record(
|
|
11378
|
-
z.union([
|
|
11379
|
-
z.lazy(() => CreateProjectProtectionBypass1$inboundSchema),
|
|
11380
|
-
z.lazy(() => CreateProjectProtectionBypass2$inboundSchema),
|
|
11381
|
-
]),
|
|
11382
|
-
).optional(),
|
|
11383
|
-
hasActiveBranches: z.boolean().optional(),
|
|
11384
|
-
trustedIps: z.nullable(
|
|
11385
|
-
z.union([
|
|
11386
|
-
z.lazy(() => CreateProjectTrustedIps1$inboundSchema),
|
|
11387
|
-
z.lazy(() => CreateProjectTrustedIps2$inboundSchema),
|
|
11388
|
-
]),
|
|
11389
|
-
).optional(),
|
|
11390
|
-
gitComments: z.lazy(() => CreateProjectGitComments$inboundSchema).optional(),
|
|
11391
|
-
gitProviderOptions: z.lazy(() =>
|
|
11392
|
-
CreateProjectGitProviderOptions$inboundSchema
|
|
11393
|
-
).optional(),
|
|
11394
|
-
paused: z.boolean().optional(),
|
|
11395
|
-
concurrencyBucketName: z.string().optional(),
|
|
11396
|
-
webAnalytics: z.lazy(() => CreateProjectWebAnalytics$inboundSchema)
|
|
11397
|
-
.optional(),
|
|
11398
|
-
security: z.lazy(() => CreateProjectSecurity$inboundSchema).optional(),
|
|
11399
|
-
oidcTokenConfig: z.lazy(() => CreateProjectOidcTokenConfig$inboundSchema)
|
|
11400
|
-
.optional(),
|
|
11401
|
-
tier: CreateProjectTier$inboundSchema.optional(),
|
|
11402
|
-
features: z.lazy(() => CreateProjectFeatures$inboundSchema).optional(),
|
|
11403
|
-
v0: z.boolean().optional(),
|
|
11617
|
+
scanner: z.string(),
|
|
11618
|
+
reason: z.string(),
|
|
11619
|
+
by: z.string(),
|
|
11620
|
+
byId: z.string(),
|
|
11621
|
+
at: z.number(),
|
|
11404
11622
|
});
|
|
11405
11623
|
|
|
11406
11624
|
/** @internal */
|
|
11407
|
-
export type
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
|
|
11427
|
-
|
|
11428
|
-
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
|
-
|
|
11448
|
-
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11472
|
-
|
|
11473
|
-
|
|
11474
|
-
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11480
|
-
|
|
11481
|
-
|
|
11482
|
-
|
|
11625
|
+
export type CreateProjectHistory$Outbound = {
|
|
11626
|
+
scanner: string;
|
|
11627
|
+
reason: string;
|
|
11628
|
+
by: string;
|
|
11629
|
+
byId: string;
|
|
11630
|
+
at: number;
|
|
11631
|
+
};
|
|
11632
|
+
|
|
11633
|
+
/** @internal */
|
|
11634
|
+
export const CreateProjectHistory$outboundSchema: z.ZodType<
|
|
11635
|
+
CreateProjectHistory$Outbound,
|
|
11636
|
+
z.ZodTypeDef,
|
|
11637
|
+
CreateProjectHistory
|
|
11638
|
+
> = z.object({
|
|
11639
|
+
scanner: z.string(),
|
|
11640
|
+
reason: z.string(),
|
|
11641
|
+
by: z.string(),
|
|
11642
|
+
byId: z.string(),
|
|
11643
|
+
at: z.number(),
|
|
11644
|
+
});
|
|
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 CreateProjectHistory$ {
|
|
11651
|
+
/** @deprecated use `CreateProjectHistory$inboundSchema` instead. */
|
|
11652
|
+
export const inboundSchema = CreateProjectHistory$inboundSchema;
|
|
11653
|
+
/** @deprecated use `CreateProjectHistory$outboundSchema` instead. */
|
|
11654
|
+
export const outboundSchema = CreateProjectHistory$outboundSchema;
|
|
11655
|
+
/** @deprecated use `CreateProjectHistory$Outbound` instead. */
|
|
11656
|
+
export type Outbound = CreateProjectHistory$Outbound;
|
|
11657
|
+
}
|
|
11658
|
+
|
|
11659
|
+
export function createProjectHistoryToJSON(
|
|
11660
|
+
createProjectHistory: CreateProjectHistory,
|
|
11661
|
+
): string {
|
|
11662
|
+
return JSON.stringify(
|
|
11663
|
+
CreateProjectHistory$outboundSchema.parse(createProjectHistory),
|
|
11664
|
+
);
|
|
11665
|
+
}
|
|
11666
|
+
|
|
11667
|
+
export function createProjectHistoryFromJSON(
|
|
11668
|
+
jsonString: string,
|
|
11669
|
+
): SafeParseResult<CreateProjectHistory, SDKValidationError> {
|
|
11670
|
+
return safeParse(
|
|
11671
|
+
jsonString,
|
|
11672
|
+
(x) => CreateProjectHistory$inboundSchema.parse(JSON.parse(x)),
|
|
11673
|
+
`Failed to parse 'CreateProjectHistory' from JSON`,
|
|
11674
|
+
);
|
|
11675
|
+
}
|
|
11676
|
+
|
|
11677
|
+
/** @internal */
|
|
11678
|
+
export const CreateProjectAction$inboundSchema: z.ZodNativeEnum<
|
|
11679
|
+
typeof CreateProjectAction
|
|
11680
|
+
> = z.nativeEnum(CreateProjectAction);
|
|
11681
|
+
|
|
11682
|
+
/** @internal */
|
|
11683
|
+
export const CreateProjectAction$outboundSchema: z.ZodNativeEnum<
|
|
11684
|
+
typeof CreateProjectAction
|
|
11685
|
+
> = CreateProjectAction$inboundSchema;
|
|
11686
|
+
|
|
11687
|
+
/**
|
|
11688
|
+
* @internal
|
|
11689
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
11690
|
+
*/
|
|
11691
|
+
export namespace CreateProjectAction$ {
|
|
11692
|
+
/** @deprecated use `CreateProjectAction$inboundSchema` instead. */
|
|
11693
|
+
export const inboundSchema = CreateProjectAction$inboundSchema;
|
|
11694
|
+
/** @deprecated use `CreateProjectAction$outboundSchema` instead. */
|
|
11695
|
+
export const outboundSchema = CreateProjectAction$outboundSchema;
|
|
11696
|
+
}
|
|
11697
|
+
|
|
11698
|
+
/** @internal */
|
|
11699
|
+
export const CreateProjectBlock$inboundSchema: z.ZodType<
|
|
11700
|
+
CreateProjectBlock,
|
|
11701
|
+
z.ZodTypeDef,
|
|
11702
|
+
unknown
|
|
11703
|
+
> = z.object({
|
|
11704
|
+
action: CreateProjectAction$inboundSchema,
|
|
11705
|
+
reason: z.string(),
|
|
11706
|
+
statusCode: z.number(),
|
|
11707
|
+
createdAt: z.number(),
|
|
11708
|
+
caseId: z.string().optional(),
|
|
11709
|
+
actor: z.string().optional(),
|
|
11710
|
+
comment: z.string().optional(),
|
|
11711
|
+
isCascading: z.boolean().optional(),
|
|
11712
|
+
});
|
|
11713
|
+
|
|
11714
|
+
/** @internal */
|
|
11715
|
+
export type CreateProjectBlock$Outbound = {
|
|
11716
|
+
action: string;
|
|
11717
|
+
reason: string;
|
|
11718
|
+
statusCode: number;
|
|
11719
|
+
createdAt: number;
|
|
11720
|
+
caseId?: string | undefined;
|
|
11721
|
+
actor?: string | undefined;
|
|
11722
|
+
comment?: string | undefined;
|
|
11723
|
+
isCascading?: boolean | undefined;
|
|
11724
|
+
};
|
|
11725
|
+
|
|
11726
|
+
/** @internal */
|
|
11727
|
+
export const CreateProjectBlock$outboundSchema: z.ZodType<
|
|
11728
|
+
CreateProjectBlock$Outbound,
|
|
11729
|
+
z.ZodTypeDef,
|
|
11730
|
+
CreateProjectBlock
|
|
11731
|
+
> = z.object({
|
|
11732
|
+
action: CreateProjectAction$outboundSchema,
|
|
11733
|
+
reason: z.string(),
|
|
11734
|
+
statusCode: z.number(),
|
|
11735
|
+
createdAt: z.number(),
|
|
11736
|
+
caseId: z.string().optional(),
|
|
11737
|
+
actor: z.string().optional(),
|
|
11738
|
+
comment: z.string().optional(),
|
|
11739
|
+
isCascading: z.boolean().optional(),
|
|
11740
|
+
});
|
|
11741
|
+
|
|
11742
|
+
/**
|
|
11743
|
+
* @internal
|
|
11744
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
11745
|
+
*/
|
|
11746
|
+
export namespace CreateProjectBlock$ {
|
|
11747
|
+
/** @deprecated use `CreateProjectBlock$inboundSchema` instead. */
|
|
11748
|
+
export const inboundSchema = CreateProjectBlock$inboundSchema;
|
|
11749
|
+
/** @deprecated use `CreateProjectBlock$outboundSchema` instead. */
|
|
11750
|
+
export const outboundSchema = CreateProjectBlock$outboundSchema;
|
|
11751
|
+
/** @deprecated use `CreateProjectBlock$Outbound` instead. */
|
|
11752
|
+
export type Outbound = CreateProjectBlock$Outbound;
|
|
11753
|
+
}
|
|
11754
|
+
|
|
11755
|
+
export function createProjectBlockToJSON(
|
|
11756
|
+
createProjectBlock: CreateProjectBlock,
|
|
11757
|
+
): string {
|
|
11758
|
+
return JSON.stringify(
|
|
11759
|
+
CreateProjectBlock$outboundSchema.parse(createProjectBlock),
|
|
11760
|
+
);
|
|
11761
|
+
}
|
|
11762
|
+
|
|
11763
|
+
export function createProjectBlockFromJSON(
|
|
11764
|
+
jsonString: string,
|
|
11765
|
+
): SafeParseResult<CreateProjectBlock, SDKValidationError> {
|
|
11766
|
+
return safeParse(
|
|
11767
|
+
jsonString,
|
|
11768
|
+
(x) => CreateProjectBlock$inboundSchema.parse(JSON.parse(x)),
|
|
11769
|
+
`Failed to parse 'CreateProjectBlock' from JSON`,
|
|
11770
|
+
);
|
|
11771
|
+
}
|
|
11772
|
+
|
|
11773
|
+
/** @internal */
|
|
11774
|
+
export const CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema:
|
|
11775
|
+
z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsResponse200Action> = z
|
|
11776
|
+
.nativeEnum(CreateProjectBlockHistoryProjectsResponse200Action);
|
|
11777
|
+
|
|
11778
|
+
/** @internal */
|
|
11779
|
+
export const CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema:
|
|
11780
|
+
z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsResponse200Action> =
|
|
11781
|
+
CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema;
|
|
11782
|
+
|
|
11783
|
+
/**
|
|
11784
|
+
* @internal
|
|
11785
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
11786
|
+
*/
|
|
11787
|
+
export namespace CreateProjectBlockHistoryProjectsResponse200Action$ {
|
|
11788
|
+
/** @deprecated use `CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema` instead. */
|
|
11789
|
+
export const inboundSchema =
|
|
11790
|
+
CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema;
|
|
11791
|
+
/** @deprecated use `CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema` instead. */
|
|
11792
|
+
export const outboundSchema =
|
|
11793
|
+
CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema;
|
|
11794
|
+
}
|
|
11795
|
+
|
|
11796
|
+
/** @internal */
|
|
11797
|
+
export const CreateProjectHasProjectsResponse200Type$inboundSchema:
|
|
11798
|
+
z.ZodNativeEnum<typeof CreateProjectHasProjectsResponse200Type> = z
|
|
11799
|
+
.nativeEnum(CreateProjectHasProjectsResponse200Type);
|
|
11800
|
+
|
|
11801
|
+
/** @internal */
|
|
11802
|
+
export const CreateProjectHasProjectsResponse200Type$outboundSchema:
|
|
11803
|
+
z.ZodNativeEnum<typeof CreateProjectHasProjectsResponse200Type> =
|
|
11804
|
+
CreateProjectHasProjectsResponse200Type$inboundSchema;
|
|
11805
|
+
|
|
11806
|
+
/**
|
|
11807
|
+
* @internal
|
|
11808
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
11809
|
+
*/
|
|
11810
|
+
export namespace CreateProjectHasProjectsResponse200Type$ {
|
|
11811
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200Type$inboundSchema` instead. */
|
|
11812
|
+
export const inboundSchema =
|
|
11813
|
+
CreateProjectHasProjectsResponse200Type$inboundSchema;
|
|
11814
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200Type$outboundSchema` instead. */
|
|
11815
|
+
export const outboundSchema =
|
|
11816
|
+
CreateProjectHasProjectsResponse200Type$outboundSchema;
|
|
11817
|
+
}
|
|
11818
|
+
|
|
11819
|
+
/** @internal */
|
|
11820
|
+
export const CreateProjectHasProjectsResponse200Value$inboundSchema: z.ZodType<
|
|
11821
|
+
CreateProjectHasProjectsResponse200Value,
|
|
11822
|
+
z.ZodTypeDef,
|
|
11823
|
+
unknown
|
|
11824
|
+
> = z.object({
|
|
11825
|
+
eq: z.string(),
|
|
11826
|
+
});
|
|
11827
|
+
|
|
11828
|
+
/** @internal */
|
|
11829
|
+
export type CreateProjectHasProjectsResponse200Value$Outbound = {
|
|
11830
|
+
eq: string;
|
|
11831
|
+
};
|
|
11832
|
+
|
|
11833
|
+
/** @internal */
|
|
11834
|
+
export const CreateProjectHasProjectsResponse200Value$outboundSchema: z.ZodType<
|
|
11835
|
+
CreateProjectHasProjectsResponse200Value$Outbound,
|
|
11836
|
+
z.ZodTypeDef,
|
|
11837
|
+
CreateProjectHasProjectsResponse200Value
|
|
11838
|
+
> = z.object({
|
|
11839
|
+
eq: z.string(),
|
|
11840
|
+
});
|
|
11841
|
+
|
|
11842
|
+
/**
|
|
11843
|
+
* @internal
|
|
11844
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
11845
|
+
*/
|
|
11846
|
+
export namespace CreateProjectHasProjectsResponse200Value$ {
|
|
11847
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200Value$inboundSchema` instead. */
|
|
11848
|
+
export const inboundSchema =
|
|
11849
|
+
CreateProjectHasProjectsResponse200Value$inboundSchema;
|
|
11850
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200Value$outboundSchema` instead. */
|
|
11851
|
+
export const outboundSchema =
|
|
11852
|
+
CreateProjectHasProjectsResponse200Value$outboundSchema;
|
|
11853
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200Value$Outbound` instead. */
|
|
11854
|
+
export type Outbound = CreateProjectHasProjectsResponse200Value$Outbound;
|
|
11855
|
+
}
|
|
11856
|
+
|
|
11857
|
+
export function createProjectHasProjectsResponse200ValueToJSON(
|
|
11858
|
+
createProjectHasProjectsResponse200Value:
|
|
11859
|
+
CreateProjectHasProjectsResponse200Value,
|
|
11860
|
+
): string {
|
|
11861
|
+
return JSON.stringify(
|
|
11862
|
+
CreateProjectHasProjectsResponse200Value$outboundSchema.parse(
|
|
11863
|
+
createProjectHasProjectsResponse200Value,
|
|
11864
|
+
),
|
|
11865
|
+
);
|
|
11866
|
+
}
|
|
11867
|
+
|
|
11868
|
+
export function createProjectHasProjectsResponse200ValueFromJSON(
|
|
11869
|
+
jsonString: string,
|
|
11870
|
+
): SafeParseResult<
|
|
11871
|
+
CreateProjectHasProjectsResponse200Value,
|
|
11872
|
+
SDKValidationError
|
|
11873
|
+
> {
|
|
11874
|
+
return safeParse(
|
|
11875
|
+
jsonString,
|
|
11876
|
+
(x) =>
|
|
11877
|
+
CreateProjectHasProjectsResponse200Value$inboundSchema.parse(
|
|
11878
|
+
JSON.parse(x),
|
|
11879
|
+
),
|
|
11880
|
+
`Failed to parse 'CreateProjectHasProjectsResponse200Value' from JSON`,
|
|
11881
|
+
);
|
|
11882
|
+
}
|
|
11883
|
+
|
|
11884
|
+
/** @internal */
|
|
11885
|
+
export const CreateProjectHasProjects2$inboundSchema: z.ZodType<
|
|
11886
|
+
CreateProjectHasProjects2,
|
|
11887
|
+
z.ZodTypeDef,
|
|
11888
|
+
unknown
|
|
11889
|
+
> = z.object({
|
|
11890
|
+
type: CreateProjectHasProjectsResponse200Type$inboundSchema,
|
|
11891
|
+
value: z.lazy(() => CreateProjectHasProjectsResponse200Value$inboundSchema),
|
|
11892
|
+
});
|
|
11893
|
+
|
|
11894
|
+
/** @internal */
|
|
11895
|
+
export type CreateProjectHasProjects2$Outbound = {
|
|
11896
|
+
type: string;
|
|
11897
|
+
value: CreateProjectHasProjectsResponse200Value$Outbound;
|
|
11898
|
+
};
|
|
11899
|
+
|
|
11900
|
+
/** @internal */
|
|
11901
|
+
export const CreateProjectHasProjects2$outboundSchema: z.ZodType<
|
|
11902
|
+
CreateProjectHasProjects2$Outbound,
|
|
11903
|
+
z.ZodTypeDef,
|
|
11904
|
+
CreateProjectHasProjects2
|
|
11905
|
+
> = z.object({
|
|
11906
|
+
type: CreateProjectHasProjectsResponse200Type$outboundSchema,
|
|
11907
|
+
value: z.lazy(() => CreateProjectHasProjectsResponse200Value$outboundSchema),
|
|
11908
|
+
});
|
|
11909
|
+
|
|
11910
|
+
/**
|
|
11911
|
+
* @internal
|
|
11912
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
11913
|
+
*/
|
|
11914
|
+
export namespace CreateProjectHasProjects2$ {
|
|
11915
|
+
/** @deprecated use `CreateProjectHasProjects2$inboundSchema` instead. */
|
|
11916
|
+
export const inboundSchema = CreateProjectHasProjects2$inboundSchema;
|
|
11917
|
+
/** @deprecated use `CreateProjectHasProjects2$outboundSchema` instead. */
|
|
11918
|
+
export const outboundSchema = CreateProjectHasProjects2$outboundSchema;
|
|
11919
|
+
/** @deprecated use `CreateProjectHasProjects2$Outbound` instead. */
|
|
11920
|
+
export type Outbound = CreateProjectHasProjects2$Outbound;
|
|
11921
|
+
}
|
|
11922
|
+
|
|
11923
|
+
export function createProjectHasProjects2ToJSON(
|
|
11924
|
+
createProjectHasProjects2: CreateProjectHasProjects2,
|
|
11925
|
+
): string {
|
|
11926
|
+
return JSON.stringify(
|
|
11927
|
+
CreateProjectHasProjects2$outboundSchema.parse(createProjectHasProjects2),
|
|
11928
|
+
);
|
|
11929
|
+
}
|
|
11930
|
+
|
|
11931
|
+
export function createProjectHasProjects2FromJSON(
|
|
11932
|
+
jsonString: string,
|
|
11933
|
+
): SafeParseResult<CreateProjectHasProjects2, SDKValidationError> {
|
|
11934
|
+
return safeParse(
|
|
11935
|
+
jsonString,
|
|
11936
|
+
(x) => CreateProjectHasProjects2$inboundSchema.parse(JSON.parse(x)),
|
|
11937
|
+
`Failed to parse 'CreateProjectHasProjects2' from JSON`,
|
|
11938
|
+
);
|
|
11939
|
+
}
|
|
11940
|
+
|
|
11941
|
+
/** @internal */
|
|
11942
|
+
export const CreateProjectHasProjectsResponseType$inboundSchema:
|
|
11943
|
+
z.ZodNativeEnum<typeof CreateProjectHasProjectsResponseType> = z.nativeEnum(
|
|
11944
|
+
CreateProjectHasProjectsResponseType,
|
|
11945
|
+
);
|
|
11946
|
+
|
|
11947
|
+
/** @internal */
|
|
11948
|
+
export const CreateProjectHasProjectsResponseType$outboundSchema:
|
|
11949
|
+
z.ZodNativeEnum<typeof CreateProjectHasProjectsResponseType> =
|
|
11950
|
+
CreateProjectHasProjectsResponseType$inboundSchema;
|
|
11951
|
+
|
|
11952
|
+
/**
|
|
11953
|
+
* @internal
|
|
11954
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
11955
|
+
*/
|
|
11956
|
+
export namespace CreateProjectHasProjectsResponseType$ {
|
|
11957
|
+
/** @deprecated use `CreateProjectHasProjectsResponseType$inboundSchema` instead. */
|
|
11958
|
+
export const inboundSchema =
|
|
11959
|
+
CreateProjectHasProjectsResponseType$inboundSchema;
|
|
11960
|
+
/** @deprecated use `CreateProjectHasProjectsResponseType$outboundSchema` instead. */
|
|
11961
|
+
export const outboundSchema =
|
|
11962
|
+
CreateProjectHasProjectsResponseType$outboundSchema;
|
|
11963
|
+
}
|
|
11964
|
+
|
|
11965
|
+
/** @internal */
|
|
11966
|
+
export const CreateProjectHasProjectsKey$inboundSchema: z.ZodNativeEnum<
|
|
11967
|
+
typeof CreateProjectHasProjectsKey
|
|
11968
|
+
> = z.nativeEnum(CreateProjectHasProjectsKey);
|
|
11969
|
+
|
|
11970
|
+
/** @internal */
|
|
11971
|
+
export const CreateProjectHasProjectsKey$outboundSchema: z.ZodNativeEnum<
|
|
11972
|
+
typeof CreateProjectHasProjectsKey
|
|
11973
|
+
> = CreateProjectHasProjectsKey$inboundSchema;
|
|
11974
|
+
|
|
11975
|
+
/**
|
|
11976
|
+
* @internal
|
|
11977
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
11978
|
+
*/
|
|
11979
|
+
export namespace CreateProjectHasProjectsKey$ {
|
|
11980
|
+
/** @deprecated use `CreateProjectHasProjectsKey$inboundSchema` instead. */
|
|
11981
|
+
export const inboundSchema = CreateProjectHasProjectsKey$inboundSchema;
|
|
11982
|
+
/** @deprecated use `CreateProjectHasProjectsKey$outboundSchema` instead. */
|
|
11983
|
+
export const outboundSchema = CreateProjectHasProjectsKey$outboundSchema;
|
|
11984
|
+
}
|
|
11985
|
+
|
|
11986
|
+
/** @internal */
|
|
11987
|
+
export const CreateProjectHasProjectsResponseValue$inboundSchema: z.ZodType<
|
|
11988
|
+
CreateProjectHasProjectsResponseValue,
|
|
11989
|
+
z.ZodTypeDef,
|
|
11990
|
+
unknown
|
|
11991
|
+
> = z.object({
|
|
11992
|
+
eq: z.string(),
|
|
11993
|
+
});
|
|
11994
|
+
|
|
11995
|
+
/** @internal */
|
|
11996
|
+
export type CreateProjectHasProjectsResponseValue$Outbound = {
|
|
11997
|
+
eq: string;
|
|
11998
|
+
};
|
|
11999
|
+
|
|
12000
|
+
/** @internal */
|
|
12001
|
+
export const CreateProjectHasProjectsResponseValue$outboundSchema: z.ZodType<
|
|
12002
|
+
CreateProjectHasProjectsResponseValue$Outbound,
|
|
12003
|
+
z.ZodTypeDef,
|
|
12004
|
+
CreateProjectHasProjectsResponseValue
|
|
12005
|
+
> = z.object({
|
|
12006
|
+
eq: z.string(),
|
|
12007
|
+
});
|
|
12008
|
+
|
|
12009
|
+
/**
|
|
12010
|
+
* @internal
|
|
12011
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12012
|
+
*/
|
|
12013
|
+
export namespace CreateProjectHasProjectsResponseValue$ {
|
|
12014
|
+
/** @deprecated use `CreateProjectHasProjectsResponseValue$inboundSchema` instead. */
|
|
12015
|
+
export const inboundSchema =
|
|
12016
|
+
CreateProjectHasProjectsResponseValue$inboundSchema;
|
|
12017
|
+
/** @deprecated use `CreateProjectHasProjectsResponseValue$outboundSchema` instead. */
|
|
12018
|
+
export const outboundSchema =
|
|
12019
|
+
CreateProjectHasProjectsResponseValue$outboundSchema;
|
|
12020
|
+
/** @deprecated use `CreateProjectHasProjectsResponseValue$Outbound` instead. */
|
|
12021
|
+
export type Outbound = CreateProjectHasProjectsResponseValue$Outbound;
|
|
12022
|
+
}
|
|
12023
|
+
|
|
12024
|
+
export function createProjectHasProjectsResponseValueToJSON(
|
|
12025
|
+
createProjectHasProjectsResponseValue: CreateProjectHasProjectsResponseValue,
|
|
12026
|
+
): string {
|
|
12027
|
+
return JSON.stringify(
|
|
12028
|
+
CreateProjectHasProjectsResponseValue$outboundSchema.parse(
|
|
12029
|
+
createProjectHasProjectsResponseValue,
|
|
12030
|
+
),
|
|
12031
|
+
);
|
|
12032
|
+
}
|
|
12033
|
+
|
|
12034
|
+
export function createProjectHasProjectsResponseValueFromJSON(
|
|
12035
|
+
jsonString: string,
|
|
12036
|
+
): SafeParseResult<CreateProjectHasProjectsResponseValue, SDKValidationError> {
|
|
12037
|
+
return safeParse(
|
|
12038
|
+
jsonString,
|
|
12039
|
+
(x) =>
|
|
12040
|
+
CreateProjectHasProjectsResponseValue$inboundSchema.parse(JSON.parse(x)),
|
|
12041
|
+
`Failed to parse 'CreateProjectHasProjectsResponseValue' from JSON`,
|
|
12042
|
+
);
|
|
12043
|
+
}
|
|
12044
|
+
|
|
12045
|
+
/** @internal */
|
|
12046
|
+
export const CreateProjectHasProjects1$inboundSchema: z.ZodType<
|
|
12047
|
+
CreateProjectHasProjects1,
|
|
12048
|
+
z.ZodTypeDef,
|
|
12049
|
+
unknown
|
|
12050
|
+
> = z.object({
|
|
12051
|
+
type: CreateProjectHasProjectsResponseType$inboundSchema,
|
|
12052
|
+
key: CreateProjectHasProjectsKey$inboundSchema,
|
|
12053
|
+
value: z.lazy(() => CreateProjectHasProjectsResponseValue$inboundSchema),
|
|
12054
|
+
});
|
|
12055
|
+
|
|
12056
|
+
/** @internal */
|
|
12057
|
+
export type CreateProjectHasProjects1$Outbound = {
|
|
12058
|
+
type: string;
|
|
12059
|
+
key: string;
|
|
12060
|
+
value: CreateProjectHasProjectsResponseValue$Outbound;
|
|
12061
|
+
};
|
|
12062
|
+
|
|
12063
|
+
/** @internal */
|
|
12064
|
+
export const CreateProjectHasProjects1$outboundSchema: z.ZodType<
|
|
12065
|
+
CreateProjectHasProjects1$Outbound,
|
|
12066
|
+
z.ZodTypeDef,
|
|
12067
|
+
CreateProjectHasProjects1
|
|
12068
|
+
> = z.object({
|
|
12069
|
+
type: CreateProjectHasProjectsResponseType$outboundSchema,
|
|
12070
|
+
key: CreateProjectHasProjectsKey$outboundSchema,
|
|
12071
|
+
value: z.lazy(() => CreateProjectHasProjectsResponseValue$outboundSchema),
|
|
12072
|
+
});
|
|
12073
|
+
|
|
12074
|
+
/**
|
|
12075
|
+
* @internal
|
|
12076
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12077
|
+
*/
|
|
12078
|
+
export namespace CreateProjectHasProjects1$ {
|
|
12079
|
+
/** @deprecated use `CreateProjectHasProjects1$inboundSchema` instead. */
|
|
12080
|
+
export const inboundSchema = CreateProjectHasProjects1$inboundSchema;
|
|
12081
|
+
/** @deprecated use `CreateProjectHasProjects1$outboundSchema` instead. */
|
|
12082
|
+
export const outboundSchema = CreateProjectHasProjects1$outboundSchema;
|
|
12083
|
+
/** @deprecated use `CreateProjectHasProjects1$Outbound` instead. */
|
|
12084
|
+
export type Outbound = CreateProjectHasProjects1$Outbound;
|
|
12085
|
+
}
|
|
12086
|
+
|
|
12087
|
+
export function createProjectHasProjects1ToJSON(
|
|
12088
|
+
createProjectHasProjects1: CreateProjectHasProjects1,
|
|
12089
|
+
): string {
|
|
12090
|
+
return JSON.stringify(
|
|
12091
|
+
CreateProjectHasProjects1$outboundSchema.parse(createProjectHasProjects1),
|
|
12092
|
+
);
|
|
12093
|
+
}
|
|
12094
|
+
|
|
12095
|
+
export function createProjectHasProjects1FromJSON(
|
|
12096
|
+
jsonString: string,
|
|
12097
|
+
): SafeParseResult<CreateProjectHasProjects1, SDKValidationError> {
|
|
12098
|
+
return safeParse(
|
|
12099
|
+
jsonString,
|
|
12100
|
+
(x) => CreateProjectHasProjects1$inboundSchema.parse(JSON.parse(x)),
|
|
12101
|
+
`Failed to parse 'CreateProjectHasProjects1' from JSON`,
|
|
12102
|
+
);
|
|
12103
|
+
}
|
|
12104
|
+
|
|
12105
|
+
/** @internal */
|
|
12106
|
+
export const CreateProjectRouteProjectsHas$inboundSchema: z.ZodType<
|
|
12107
|
+
CreateProjectRouteProjectsHas,
|
|
12108
|
+
z.ZodTypeDef,
|
|
12109
|
+
unknown
|
|
12110
|
+
> = z.union([
|
|
12111
|
+
z.lazy(() => CreateProjectHasProjects1$inboundSchema),
|
|
12112
|
+
z.lazy(() => CreateProjectHasProjects2$inboundSchema),
|
|
12113
|
+
]);
|
|
12114
|
+
|
|
12115
|
+
/** @internal */
|
|
12116
|
+
export type CreateProjectRouteProjectsHas$Outbound =
|
|
12117
|
+
| CreateProjectHasProjects1$Outbound
|
|
12118
|
+
| CreateProjectHasProjects2$Outbound;
|
|
12119
|
+
|
|
12120
|
+
/** @internal */
|
|
12121
|
+
export const CreateProjectRouteProjectsHas$outboundSchema: z.ZodType<
|
|
12122
|
+
CreateProjectRouteProjectsHas$Outbound,
|
|
12123
|
+
z.ZodTypeDef,
|
|
12124
|
+
CreateProjectRouteProjectsHas
|
|
12125
|
+
> = z.union([
|
|
12126
|
+
z.lazy(() => CreateProjectHasProjects1$outboundSchema),
|
|
12127
|
+
z.lazy(() => CreateProjectHasProjects2$outboundSchema),
|
|
12128
|
+
]);
|
|
12129
|
+
|
|
12130
|
+
/**
|
|
12131
|
+
* @internal
|
|
12132
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12133
|
+
*/
|
|
12134
|
+
export namespace CreateProjectRouteProjectsHas$ {
|
|
12135
|
+
/** @deprecated use `CreateProjectRouteProjectsHas$inboundSchema` instead. */
|
|
12136
|
+
export const inboundSchema = CreateProjectRouteProjectsHas$inboundSchema;
|
|
12137
|
+
/** @deprecated use `CreateProjectRouteProjectsHas$outboundSchema` instead. */
|
|
12138
|
+
export const outboundSchema = CreateProjectRouteProjectsHas$outboundSchema;
|
|
12139
|
+
/** @deprecated use `CreateProjectRouteProjectsHas$Outbound` instead. */
|
|
12140
|
+
export type Outbound = CreateProjectRouteProjectsHas$Outbound;
|
|
12141
|
+
}
|
|
12142
|
+
|
|
12143
|
+
export function createProjectRouteProjectsHasToJSON(
|
|
12144
|
+
createProjectRouteProjectsHas: CreateProjectRouteProjectsHas,
|
|
12145
|
+
): string {
|
|
12146
|
+
return JSON.stringify(
|
|
12147
|
+
CreateProjectRouteProjectsHas$outboundSchema.parse(
|
|
12148
|
+
createProjectRouteProjectsHas,
|
|
12149
|
+
),
|
|
12150
|
+
);
|
|
12151
|
+
}
|
|
12152
|
+
|
|
12153
|
+
export function createProjectRouteProjectsHasFromJSON(
|
|
12154
|
+
jsonString: string,
|
|
12155
|
+
): SafeParseResult<CreateProjectRouteProjectsHas, SDKValidationError> {
|
|
12156
|
+
return safeParse(
|
|
12157
|
+
jsonString,
|
|
12158
|
+
(x) => CreateProjectRouteProjectsHas$inboundSchema.parse(JSON.parse(x)),
|
|
12159
|
+
`Failed to parse 'CreateProjectRouteProjectsHas' from JSON`,
|
|
12160
|
+
);
|
|
12161
|
+
}
|
|
12162
|
+
|
|
12163
|
+
/** @internal */
|
|
12164
|
+
export const CreateProjectRouteProjectsAction$inboundSchema: z.ZodNativeEnum<
|
|
12165
|
+
typeof CreateProjectRouteProjectsAction
|
|
12166
|
+
> = z.nativeEnum(CreateProjectRouteProjectsAction);
|
|
12167
|
+
|
|
12168
|
+
/** @internal */
|
|
12169
|
+
export const CreateProjectRouteProjectsAction$outboundSchema: z.ZodNativeEnum<
|
|
12170
|
+
typeof CreateProjectRouteProjectsAction
|
|
12171
|
+
> = CreateProjectRouteProjectsAction$inboundSchema;
|
|
12172
|
+
|
|
12173
|
+
/**
|
|
12174
|
+
* @internal
|
|
12175
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12176
|
+
*/
|
|
12177
|
+
export namespace CreateProjectRouteProjectsAction$ {
|
|
12178
|
+
/** @deprecated use `CreateProjectRouteProjectsAction$inboundSchema` instead. */
|
|
12179
|
+
export const inboundSchema = CreateProjectRouteProjectsAction$inboundSchema;
|
|
12180
|
+
/** @deprecated use `CreateProjectRouteProjectsAction$outboundSchema` instead. */
|
|
12181
|
+
export const outboundSchema = CreateProjectRouteProjectsAction$outboundSchema;
|
|
12182
|
+
}
|
|
12183
|
+
|
|
12184
|
+
/** @internal */
|
|
12185
|
+
export const CreateProjectRouteProjectsMitigate$inboundSchema: z.ZodType<
|
|
12186
|
+
CreateProjectRouteProjectsMitigate,
|
|
12187
|
+
z.ZodTypeDef,
|
|
12188
|
+
unknown
|
|
12189
|
+
> = z.object({
|
|
12190
|
+
action: CreateProjectRouteProjectsAction$inboundSchema,
|
|
12191
|
+
});
|
|
12192
|
+
|
|
12193
|
+
/** @internal */
|
|
12194
|
+
export type CreateProjectRouteProjectsMitigate$Outbound = {
|
|
12195
|
+
action: string;
|
|
12196
|
+
};
|
|
12197
|
+
|
|
12198
|
+
/** @internal */
|
|
12199
|
+
export const CreateProjectRouteProjectsMitigate$outboundSchema: z.ZodType<
|
|
12200
|
+
CreateProjectRouteProjectsMitigate$Outbound,
|
|
12201
|
+
z.ZodTypeDef,
|
|
12202
|
+
CreateProjectRouteProjectsMitigate
|
|
12203
|
+
> = z.object({
|
|
12204
|
+
action: CreateProjectRouteProjectsAction$outboundSchema,
|
|
12205
|
+
});
|
|
12206
|
+
|
|
12207
|
+
/**
|
|
12208
|
+
* @internal
|
|
12209
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12210
|
+
*/
|
|
12211
|
+
export namespace CreateProjectRouteProjectsMitigate$ {
|
|
12212
|
+
/** @deprecated use `CreateProjectRouteProjectsMitigate$inboundSchema` instead. */
|
|
12213
|
+
export const inboundSchema = CreateProjectRouteProjectsMitigate$inboundSchema;
|
|
12214
|
+
/** @deprecated use `CreateProjectRouteProjectsMitigate$outboundSchema` instead. */
|
|
12215
|
+
export const outboundSchema =
|
|
12216
|
+
CreateProjectRouteProjectsMitigate$outboundSchema;
|
|
12217
|
+
/** @deprecated use `CreateProjectRouteProjectsMitigate$Outbound` instead. */
|
|
12218
|
+
export type Outbound = CreateProjectRouteProjectsMitigate$Outbound;
|
|
12219
|
+
}
|
|
12220
|
+
|
|
12221
|
+
export function createProjectRouteProjectsMitigateToJSON(
|
|
12222
|
+
createProjectRouteProjectsMitigate: CreateProjectRouteProjectsMitigate,
|
|
12223
|
+
): string {
|
|
12224
|
+
return JSON.stringify(
|
|
12225
|
+
CreateProjectRouteProjectsMitigate$outboundSchema.parse(
|
|
12226
|
+
createProjectRouteProjectsMitigate,
|
|
12227
|
+
),
|
|
12228
|
+
);
|
|
12229
|
+
}
|
|
12230
|
+
|
|
12231
|
+
export function createProjectRouteProjectsMitigateFromJSON(
|
|
12232
|
+
jsonString: string,
|
|
12233
|
+
): SafeParseResult<CreateProjectRouteProjectsMitigate, SDKValidationError> {
|
|
12234
|
+
return safeParse(
|
|
12235
|
+
jsonString,
|
|
12236
|
+
(x) =>
|
|
12237
|
+
CreateProjectRouteProjectsMitigate$inboundSchema.parse(JSON.parse(x)),
|
|
12238
|
+
`Failed to parse 'CreateProjectRouteProjectsMitigate' from JSON`,
|
|
12239
|
+
);
|
|
12240
|
+
}
|
|
12241
|
+
|
|
12242
|
+
/** @internal */
|
|
12243
|
+
export const CreateProjectRouteProjects2$inboundSchema: z.ZodType<
|
|
12244
|
+
CreateProjectRouteProjects2,
|
|
12245
|
+
z.ZodTypeDef,
|
|
12246
|
+
unknown
|
|
12247
|
+
> = z.object({
|
|
12248
|
+
has: z.array(
|
|
12249
|
+
z.union([
|
|
12250
|
+
z.lazy(() => CreateProjectHasProjects1$inboundSchema),
|
|
12251
|
+
z.lazy(() => CreateProjectHasProjects2$inboundSchema),
|
|
12252
|
+
]),
|
|
12253
|
+
),
|
|
12254
|
+
mitigate: z.lazy(() => CreateProjectRouteProjectsMitigate$inboundSchema),
|
|
12255
|
+
src: z.string().optional(),
|
|
12256
|
+
});
|
|
12257
|
+
|
|
12258
|
+
/** @internal */
|
|
12259
|
+
export type CreateProjectRouteProjects2$Outbound = {
|
|
12260
|
+
has: Array<
|
|
12261
|
+
CreateProjectHasProjects1$Outbound | CreateProjectHasProjects2$Outbound
|
|
12262
|
+
>;
|
|
12263
|
+
mitigate: CreateProjectRouteProjectsMitigate$Outbound;
|
|
12264
|
+
src?: string | undefined;
|
|
12265
|
+
};
|
|
12266
|
+
|
|
12267
|
+
/** @internal */
|
|
12268
|
+
export const CreateProjectRouteProjects2$outboundSchema: z.ZodType<
|
|
12269
|
+
CreateProjectRouteProjects2$Outbound,
|
|
12270
|
+
z.ZodTypeDef,
|
|
12271
|
+
CreateProjectRouteProjects2
|
|
12272
|
+
> = z.object({
|
|
12273
|
+
has: z.array(
|
|
12274
|
+
z.union([
|
|
12275
|
+
z.lazy(() => CreateProjectHasProjects1$outboundSchema),
|
|
12276
|
+
z.lazy(() => CreateProjectHasProjects2$outboundSchema),
|
|
12277
|
+
]),
|
|
12278
|
+
),
|
|
12279
|
+
mitigate: z.lazy(() => CreateProjectRouteProjectsMitigate$outboundSchema),
|
|
12280
|
+
src: z.string().optional(),
|
|
12281
|
+
});
|
|
12282
|
+
|
|
12283
|
+
/**
|
|
12284
|
+
* @internal
|
|
12285
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12286
|
+
*/
|
|
12287
|
+
export namespace CreateProjectRouteProjects2$ {
|
|
12288
|
+
/** @deprecated use `CreateProjectRouteProjects2$inboundSchema` instead. */
|
|
12289
|
+
export const inboundSchema = CreateProjectRouteProjects2$inboundSchema;
|
|
12290
|
+
/** @deprecated use `CreateProjectRouteProjects2$outboundSchema` instead. */
|
|
12291
|
+
export const outboundSchema = CreateProjectRouteProjects2$outboundSchema;
|
|
12292
|
+
/** @deprecated use `CreateProjectRouteProjects2$Outbound` instead. */
|
|
12293
|
+
export type Outbound = CreateProjectRouteProjects2$Outbound;
|
|
12294
|
+
}
|
|
12295
|
+
|
|
12296
|
+
export function createProjectRouteProjects2ToJSON(
|
|
12297
|
+
createProjectRouteProjects2: CreateProjectRouteProjects2,
|
|
12298
|
+
): string {
|
|
12299
|
+
return JSON.stringify(
|
|
12300
|
+
CreateProjectRouteProjects2$outboundSchema.parse(
|
|
12301
|
+
createProjectRouteProjects2,
|
|
12302
|
+
),
|
|
12303
|
+
);
|
|
12304
|
+
}
|
|
12305
|
+
|
|
12306
|
+
export function createProjectRouteProjects2FromJSON(
|
|
12307
|
+
jsonString: string,
|
|
12308
|
+
): SafeParseResult<CreateProjectRouteProjects2, SDKValidationError> {
|
|
12309
|
+
return safeParse(
|
|
12310
|
+
jsonString,
|
|
12311
|
+
(x) => CreateProjectRouteProjects2$inboundSchema.parse(JSON.parse(x)),
|
|
12312
|
+
`Failed to parse 'CreateProjectRouteProjects2' from JSON`,
|
|
12313
|
+
);
|
|
12314
|
+
}
|
|
12315
|
+
|
|
12316
|
+
/** @internal */
|
|
12317
|
+
export const CreateProjectRouteProjects1$inboundSchema: z.ZodType<
|
|
12318
|
+
CreateProjectRouteProjects1,
|
|
12319
|
+
z.ZodTypeDef,
|
|
12320
|
+
unknown
|
|
12321
|
+
> = z.object({
|
|
12322
|
+
src: z.string(),
|
|
12323
|
+
status: z.number(),
|
|
12324
|
+
});
|
|
12325
|
+
|
|
12326
|
+
/** @internal */
|
|
12327
|
+
export type CreateProjectRouteProjects1$Outbound = {
|
|
12328
|
+
src: string;
|
|
12329
|
+
status: number;
|
|
12330
|
+
};
|
|
12331
|
+
|
|
12332
|
+
/** @internal */
|
|
12333
|
+
export const CreateProjectRouteProjects1$outboundSchema: z.ZodType<
|
|
12334
|
+
CreateProjectRouteProjects1$Outbound,
|
|
12335
|
+
z.ZodTypeDef,
|
|
12336
|
+
CreateProjectRouteProjects1
|
|
12337
|
+
> = z.object({
|
|
12338
|
+
src: z.string(),
|
|
12339
|
+
status: z.number(),
|
|
12340
|
+
});
|
|
12341
|
+
|
|
12342
|
+
/**
|
|
12343
|
+
* @internal
|
|
12344
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12345
|
+
*/
|
|
12346
|
+
export namespace CreateProjectRouteProjects1$ {
|
|
12347
|
+
/** @deprecated use `CreateProjectRouteProjects1$inboundSchema` instead. */
|
|
12348
|
+
export const inboundSchema = CreateProjectRouteProjects1$inboundSchema;
|
|
12349
|
+
/** @deprecated use `CreateProjectRouteProjects1$outboundSchema` instead. */
|
|
12350
|
+
export const outboundSchema = CreateProjectRouteProjects1$outboundSchema;
|
|
12351
|
+
/** @deprecated use `CreateProjectRouteProjects1$Outbound` instead. */
|
|
12352
|
+
export type Outbound = CreateProjectRouteProjects1$Outbound;
|
|
12353
|
+
}
|
|
12354
|
+
|
|
12355
|
+
export function createProjectRouteProjects1ToJSON(
|
|
12356
|
+
createProjectRouteProjects1: CreateProjectRouteProjects1,
|
|
12357
|
+
): string {
|
|
12358
|
+
return JSON.stringify(
|
|
12359
|
+
CreateProjectRouteProjects1$outboundSchema.parse(
|
|
12360
|
+
createProjectRouteProjects1,
|
|
12361
|
+
),
|
|
12362
|
+
);
|
|
12363
|
+
}
|
|
12364
|
+
|
|
12365
|
+
export function createProjectRouteProjects1FromJSON(
|
|
12366
|
+
jsonString: string,
|
|
12367
|
+
): SafeParseResult<CreateProjectRouteProjects1, SDKValidationError> {
|
|
12368
|
+
return safeParse(
|
|
12369
|
+
jsonString,
|
|
12370
|
+
(x) => CreateProjectRouteProjects1$inboundSchema.parse(JSON.parse(x)),
|
|
12371
|
+
`Failed to parse 'CreateProjectRouteProjects1' from JSON`,
|
|
12372
|
+
);
|
|
12373
|
+
}
|
|
12374
|
+
|
|
12375
|
+
/** @internal */
|
|
12376
|
+
export const CreateProjectBlockHistoryProjectsRoute$inboundSchema: z.ZodType<
|
|
12377
|
+
CreateProjectBlockHistoryProjectsRoute,
|
|
12378
|
+
z.ZodTypeDef,
|
|
12379
|
+
unknown
|
|
12380
|
+
> = z.union([
|
|
12381
|
+
z.lazy(() => CreateProjectRouteProjects1$inboundSchema),
|
|
12382
|
+
z.lazy(() => CreateProjectRouteProjects2$inboundSchema),
|
|
12383
|
+
]);
|
|
12384
|
+
|
|
12385
|
+
/** @internal */
|
|
12386
|
+
export type CreateProjectBlockHistoryProjectsRoute$Outbound =
|
|
12387
|
+
| CreateProjectRouteProjects1$Outbound
|
|
12388
|
+
| CreateProjectRouteProjects2$Outbound;
|
|
12389
|
+
|
|
12390
|
+
/** @internal */
|
|
12391
|
+
export const CreateProjectBlockHistoryProjectsRoute$outboundSchema: z.ZodType<
|
|
12392
|
+
CreateProjectBlockHistoryProjectsRoute$Outbound,
|
|
12393
|
+
z.ZodTypeDef,
|
|
12394
|
+
CreateProjectBlockHistoryProjectsRoute
|
|
12395
|
+
> = z.union([
|
|
12396
|
+
z.lazy(() => CreateProjectRouteProjects1$outboundSchema),
|
|
12397
|
+
z.lazy(() => CreateProjectRouteProjects2$outboundSchema),
|
|
12398
|
+
]);
|
|
12399
|
+
|
|
12400
|
+
/**
|
|
12401
|
+
* @internal
|
|
12402
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12403
|
+
*/
|
|
12404
|
+
export namespace CreateProjectBlockHistoryProjectsRoute$ {
|
|
12405
|
+
/** @deprecated use `CreateProjectBlockHistoryProjectsRoute$inboundSchema` instead. */
|
|
12406
|
+
export const inboundSchema =
|
|
12407
|
+
CreateProjectBlockHistoryProjectsRoute$inboundSchema;
|
|
12408
|
+
/** @deprecated use `CreateProjectBlockHistoryProjectsRoute$outboundSchema` instead. */
|
|
12409
|
+
export const outboundSchema =
|
|
12410
|
+
CreateProjectBlockHistoryProjectsRoute$outboundSchema;
|
|
12411
|
+
/** @deprecated use `CreateProjectBlockHistoryProjectsRoute$Outbound` instead. */
|
|
12412
|
+
export type Outbound = CreateProjectBlockHistoryProjectsRoute$Outbound;
|
|
12413
|
+
}
|
|
12414
|
+
|
|
12415
|
+
export function createProjectBlockHistoryProjectsRouteToJSON(
|
|
12416
|
+
createProjectBlockHistoryProjectsRoute:
|
|
12417
|
+
CreateProjectBlockHistoryProjectsRoute,
|
|
12418
|
+
): string {
|
|
12419
|
+
return JSON.stringify(
|
|
12420
|
+
CreateProjectBlockHistoryProjectsRoute$outboundSchema.parse(
|
|
12421
|
+
createProjectBlockHistoryProjectsRoute,
|
|
12422
|
+
),
|
|
12423
|
+
);
|
|
12424
|
+
}
|
|
12425
|
+
|
|
12426
|
+
export function createProjectBlockHistoryProjectsRouteFromJSON(
|
|
12427
|
+
jsonString: string,
|
|
12428
|
+
): SafeParseResult<CreateProjectBlockHistoryProjectsRoute, SDKValidationError> {
|
|
12429
|
+
return safeParse(
|
|
12430
|
+
jsonString,
|
|
12431
|
+
(x) =>
|
|
12432
|
+
CreateProjectBlockHistoryProjectsRoute$inboundSchema.parse(JSON.parse(x)),
|
|
12433
|
+
`Failed to parse 'CreateProjectBlockHistoryProjectsRoute' from JSON`,
|
|
12434
|
+
);
|
|
12435
|
+
}
|
|
12436
|
+
|
|
12437
|
+
/** @internal */
|
|
12438
|
+
export const CreateProjectBlockHistory4$inboundSchema: z.ZodType<
|
|
12439
|
+
CreateProjectBlockHistory4,
|
|
12440
|
+
z.ZodTypeDef,
|
|
12441
|
+
unknown
|
|
12442
|
+
> = z.object({
|
|
12443
|
+
action: CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema,
|
|
12444
|
+
route: z.union([
|
|
12445
|
+
z.lazy(() => CreateProjectRouteProjects1$inboundSchema),
|
|
12446
|
+
z.lazy(() => CreateProjectRouteProjects2$inboundSchema),
|
|
12447
|
+
]),
|
|
12448
|
+
statusCode: z.number().optional(),
|
|
12449
|
+
createdAt: z.number(),
|
|
12450
|
+
caseId: z.string().optional(),
|
|
12451
|
+
actor: z.string().optional(),
|
|
12452
|
+
comment: z.string().optional(),
|
|
12453
|
+
isCascading: z.boolean().optional(),
|
|
12454
|
+
});
|
|
12455
|
+
|
|
12456
|
+
/** @internal */
|
|
12457
|
+
export type CreateProjectBlockHistory4$Outbound = {
|
|
12458
|
+
action: string;
|
|
12459
|
+
route:
|
|
12460
|
+
| CreateProjectRouteProjects1$Outbound
|
|
12461
|
+
| CreateProjectRouteProjects2$Outbound;
|
|
12462
|
+
statusCode?: number | undefined;
|
|
12463
|
+
createdAt: number;
|
|
12464
|
+
caseId?: string | undefined;
|
|
12465
|
+
actor?: string | undefined;
|
|
12466
|
+
comment?: string | undefined;
|
|
12467
|
+
isCascading?: boolean | undefined;
|
|
12468
|
+
};
|
|
12469
|
+
|
|
12470
|
+
/** @internal */
|
|
12471
|
+
export const CreateProjectBlockHistory4$outboundSchema: z.ZodType<
|
|
12472
|
+
CreateProjectBlockHistory4$Outbound,
|
|
12473
|
+
z.ZodTypeDef,
|
|
12474
|
+
CreateProjectBlockHistory4
|
|
12475
|
+
> = z.object({
|
|
12476
|
+
action: CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema,
|
|
12477
|
+
route: z.union([
|
|
12478
|
+
z.lazy(() => CreateProjectRouteProjects1$outboundSchema),
|
|
12479
|
+
z.lazy(() => CreateProjectRouteProjects2$outboundSchema),
|
|
12480
|
+
]),
|
|
12481
|
+
statusCode: z.number().optional(),
|
|
12482
|
+
createdAt: z.number(),
|
|
12483
|
+
caseId: z.string().optional(),
|
|
12484
|
+
actor: z.string().optional(),
|
|
12485
|
+
comment: z.string().optional(),
|
|
12486
|
+
isCascading: z.boolean().optional(),
|
|
12487
|
+
});
|
|
12488
|
+
|
|
12489
|
+
/**
|
|
12490
|
+
* @internal
|
|
12491
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12492
|
+
*/
|
|
12493
|
+
export namespace CreateProjectBlockHistory4$ {
|
|
12494
|
+
/** @deprecated use `CreateProjectBlockHistory4$inboundSchema` instead. */
|
|
12495
|
+
export const inboundSchema = CreateProjectBlockHistory4$inboundSchema;
|
|
12496
|
+
/** @deprecated use `CreateProjectBlockHistory4$outboundSchema` instead. */
|
|
12497
|
+
export const outboundSchema = CreateProjectBlockHistory4$outboundSchema;
|
|
12498
|
+
/** @deprecated use `CreateProjectBlockHistory4$Outbound` instead. */
|
|
12499
|
+
export type Outbound = CreateProjectBlockHistory4$Outbound;
|
|
12500
|
+
}
|
|
12501
|
+
|
|
12502
|
+
export function createProjectBlockHistory4ToJSON(
|
|
12503
|
+
createProjectBlockHistory4: CreateProjectBlockHistory4,
|
|
12504
|
+
): string {
|
|
12505
|
+
return JSON.stringify(
|
|
12506
|
+
CreateProjectBlockHistory4$outboundSchema.parse(createProjectBlockHistory4),
|
|
12507
|
+
);
|
|
12508
|
+
}
|
|
12509
|
+
|
|
12510
|
+
export function createProjectBlockHistory4FromJSON(
|
|
12511
|
+
jsonString: string,
|
|
12512
|
+
): SafeParseResult<CreateProjectBlockHistory4, SDKValidationError> {
|
|
12513
|
+
return safeParse(
|
|
12514
|
+
jsonString,
|
|
12515
|
+
(x) => CreateProjectBlockHistory4$inboundSchema.parse(JSON.parse(x)),
|
|
12516
|
+
`Failed to parse 'CreateProjectBlockHistory4' from JSON`,
|
|
12517
|
+
);
|
|
12518
|
+
}
|
|
12519
|
+
|
|
12520
|
+
/** @internal */
|
|
12521
|
+
export const CreateProjectBlockHistoryProjectsResponseAction$inboundSchema:
|
|
12522
|
+
z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsResponseAction> = z
|
|
12523
|
+
.nativeEnum(CreateProjectBlockHistoryProjectsResponseAction);
|
|
12524
|
+
|
|
12525
|
+
/** @internal */
|
|
12526
|
+
export const CreateProjectBlockHistoryProjectsResponseAction$outboundSchema:
|
|
12527
|
+
z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsResponseAction> =
|
|
12528
|
+
CreateProjectBlockHistoryProjectsResponseAction$inboundSchema;
|
|
12529
|
+
|
|
12530
|
+
/**
|
|
12531
|
+
* @internal
|
|
12532
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12533
|
+
*/
|
|
12534
|
+
export namespace CreateProjectBlockHistoryProjectsResponseAction$ {
|
|
12535
|
+
/** @deprecated use `CreateProjectBlockHistoryProjectsResponseAction$inboundSchema` instead. */
|
|
12536
|
+
export const inboundSchema =
|
|
12537
|
+
CreateProjectBlockHistoryProjectsResponseAction$inboundSchema;
|
|
12538
|
+
/** @deprecated use `CreateProjectBlockHistoryProjectsResponseAction$outboundSchema` instead. */
|
|
12539
|
+
export const outboundSchema =
|
|
12540
|
+
CreateProjectBlockHistoryProjectsResponseAction$outboundSchema;
|
|
12541
|
+
}
|
|
12542
|
+
|
|
12543
|
+
/** @internal */
|
|
12544
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
12545
|
+
z.ZodNativeEnum<
|
|
12546
|
+
typeof CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType
|
|
12547
|
+
> = z.nativeEnum(
|
|
12548
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType,
|
|
12549
|
+
);
|
|
12550
|
+
|
|
12551
|
+
/** @internal */
|
|
12552
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
12553
|
+
z.ZodNativeEnum<
|
|
12554
|
+
typeof CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType
|
|
12555
|
+
> =
|
|
12556
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
12557
|
+
|
|
12558
|
+
/**
|
|
12559
|
+
* @internal
|
|
12560
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12561
|
+
*/
|
|
12562
|
+
export namespace CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$ {
|
|
12563
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
12564
|
+
export const inboundSchema =
|
|
12565
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
12566
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
12567
|
+
export const outboundSchema =
|
|
12568
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
12569
|
+
}
|
|
12570
|
+
|
|
12571
|
+
/** @internal */
|
|
12572
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema:
|
|
12573
|
+
z.ZodType<
|
|
12574
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue,
|
|
12575
|
+
z.ZodTypeDef,
|
|
12576
|
+
unknown
|
|
12577
|
+
> = z.object({
|
|
12578
|
+
eq: z.string(),
|
|
12579
|
+
});
|
|
12580
|
+
|
|
12581
|
+
/** @internal */
|
|
12582
|
+
export type CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound =
|
|
12583
|
+
{
|
|
12584
|
+
eq: string;
|
|
12585
|
+
};
|
|
12586
|
+
|
|
12587
|
+
/** @internal */
|
|
12588
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema:
|
|
12589
|
+
z.ZodType<
|
|
12590
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound,
|
|
12591
|
+
z.ZodTypeDef,
|
|
12592
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue
|
|
12593
|
+
> = z.object({
|
|
12594
|
+
eq: z.string(),
|
|
12595
|
+
});
|
|
12596
|
+
|
|
12597
|
+
/**
|
|
12598
|
+
* @internal
|
|
12599
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12600
|
+
*/
|
|
12601
|
+
export namespace CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$ {
|
|
12602
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema` instead. */
|
|
12603
|
+
export const inboundSchema =
|
|
12604
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema;
|
|
12605
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema` instead. */
|
|
12606
|
+
export const outboundSchema =
|
|
12607
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema;
|
|
12608
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound` instead. */
|
|
12609
|
+
export type Outbound =
|
|
12610
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound;
|
|
12611
|
+
}
|
|
12612
|
+
|
|
12613
|
+
export function createProjectHasProjectsResponse200ApplicationJSONResponseBodyValueToJSON(
|
|
12614
|
+
createProjectHasProjectsResponse200ApplicationJSONResponseBodyValue:
|
|
12615
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue,
|
|
12616
|
+
): string {
|
|
12617
|
+
return JSON.stringify(
|
|
12618
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema
|
|
12619
|
+
.parse(
|
|
12620
|
+
createProjectHasProjectsResponse200ApplicationJSONResponseBodyValue,
|
|
12621
|
+
),
|
|
12622
|
+
);
|
|
12623
|
+
}
|
|
12624
|
+
|
|
12625
|
+
export function createProjectHasProjectsResponse200ApplicationJSONResponseBodyValueFromJSON(
|
|
12626
|
+
jsonString: string,
|
|
12627
|
+
): SafeParseResult<
|
|
12628
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue,
|
|
12629
|
+
SDKValidationError
|
|
12630
|
+
> {
|
|
12631
|
+
return safeParse(
|
|
12632
|
+
jsonString,
|
|
12633
|
+
(x) =>
|
|
12634
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema
|
|
12635
|
+
.parse(JSON.parse(x)),
|
|
12636
|
+
`Failed to parse 'CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue' from JSON`,
|
|
12637
|
+
);
|
|
12638
|
+
}
|
|
12639
|
+
|
|
12640
|
+
/** @internal */
|
|
12641
|
+
export const CreateProjectHasProjectsResponse2$inboundSchema: z.ZodType<
|
|
12642
|
+
CreateProjectHasProjectsResponse2,
|
|
12643
|
+
z.ZodTypeDef,
|
|
12644
|
+
unknown
|
|
12645
|
+
> = z.object({
|
|
12646
|
+
type:
|
|
12647
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
12648
|
+
value: z.lazy(() =>
|
|
12649
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema
|
|
12650
|
+
),
|
|
12651
|
+
});
|
|
12652
|
+
|
|
12653
|
+
/** @internal */
|
|
12654
|
+
export type CreateProjectHasProjectsResponse2$Outbound = {
|
|
12655
|
+
type: string;
|
|
12656
|
+
value:
|
|
12657
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound;
|
|
12658
|
+
};
|
|
12659
|
+
|
|
12660
|
+
/** @internal */
|
|
12661
|
+
export const CreateProjectHasProjectsResponse2$outboundSchema: z.ZodType<
|
|
12662
|
+
CreateProjectHasProjectsResponse2$Outbound,
|
|
12663
|
+
z.ZodTypeDef,
|
|
12664
|
+
CreateProjectHasProjectsResponse2
|
|
12665
|
+
> = z.object({
|
|
12666
|
+
type:
|
|
12667
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
12668
|
+
value: z.lazy(() =>
|
|
12669
|
+
CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema
|
|
12670
|
+
),
|
|
12671
|
+
});
|
|
12672
|
+
|
|
12673
|
+
/**
|
|
12674
|
+
* @internal
|
|
12675
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12676
|
+
*/
|
|
12677
|
+
export namespace CreateProjectHasProjectsResponse2$ {
|
|
12678
|
+
/** @deprecated use `CreateProjectHasProjectsResponse2$inboundSchema` instead. */
|
|
12679
|
+
export const inboundSchema = CreateProjectHasProjectsResponse2$inboundSchema;
|
|
12680
|
+
/** @deprecated use `CreateProjectHasProjectsResponse2$outboundSchema` instead. */
|
|
12681
|
+
export const outboundSchema =
|
|
12682
|
+
CreateProjectHasProjectsResponse2$outboundSchema;
|
|
12683
|
+
/** @deprecated use `CreateProjectHasProjectsResponse2$Outbound` instead. */
|
|
12684
|
+
export type Outbound = CreateProjectHasProjectsResponse2$Outbound;
|
|
12685
|
+
}
|
|
12686
|
+
|
|
12687
|
+
export function createProjectHasProjectsResponse2ToJSON(
|
|
12688
|
+
createProjectHasProjectsResponse2: CreateProjectHasProjectsResponse2,
|
|
12689
|
+
): string {
|
|
12690
|
+
return JSON.stringify(
|
|
12691
|
+
CreateProjectHasProjectsResponse2$outboundSchema.parse(
|
|
12692
|
+
createProjectHasProjectsResponse2,
|
|
12693
|
+
),
|
|
12694
|
+
);
|
|
12695
|
+
}
|
|
12696
|
+
|
|
12697
|
+
export function createProjectHasProjectsResponse2FromJSON(
|
|
12698
|
+
jsonString: string,
|
|
12699
|
+
): SafeParseResult<CreateProjectHasProjectsResponse2, SDKValidationError> {
|
|
12700
|
+
return safeParse(
|
|
12701
|
+
jsonString,
|
|
12702
|
+
(x) => CreateProjectHasProjectsResponse2$inboundSchema.parse(JSON.parse(x)),
|
|
12703
|
+
`Failed to parse 'CreateProjectHasProjectsResponse2' from JSON`,
|
|
12704
|
+
);
|
|
12705
|
+
}
|
|
12706
|
+
|
|
12707
|
+
/** @internal */
|
|
12708
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema:
|
|
12709
|
+
z.ZodNativeEnum<
|
|
12710
|
+
typeof CreateProjectHasProjectsResponse200ApplicationJSONType
|
|
12711
|
+
> = z.nativeEnum(CreateProjectHasProjectsResponse200ApplicationJSONType);
|
|
12712
|
+
|
|
12713
|
+
/** @internal */
|
|
12714
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema:
|
|
12715
|
+
z.ZodNativeEnum<
|
|
12716
|
+
typeof CreateProjectHasProjectsResponse200ApplicationJSONType
|
|
12717
|
+
> = CreateProjectHasProjectsResponse200ApplicationJSONType$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 CreateProjectHasProjectsResponse200ApplicationJSONType$ {
|
|
12724
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
12725
|
+
export const inboundSchema =
|
|
12726
|
+
CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
12727
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
12728
|
+
export const outboundSchema =
|
|
12729
|
+
CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema;
|
|
12730
|
+
}
|
|
12731
|
+
|
|
12732
|
+
/** @internal */
|
|
12733
|
+
export const CreateProjectHasKey$inboundSchema: z.ZodNativeEnum<
|
|
12734
|
+
typeof CreateProjectHasKey
|
|
12735
|
+
> = z.nativeEnum(CreateProjectHasKey);
|
|
12736
|
+
|
|
12737
|
+
/** @internal */
|
|
12738
|
+
export const CreateProjectHasKey$outboundSchema: z.ZodNativeEnum<
|
|
12739
|
+
typeof CreateProjectHasKey
|
|
12740
|
+
> = CreateProjectHasKey$inboundSchema;
|
|
12741
|
+
|
|
12742
|
+
/**
|
|
12743
|
+
* @internal
|
|
12744
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12745
|
+
*/
|
|
12746
|
+
export namespace CreateProjectHasKey$ {
|
|
12747
|
+
/** @deprecated use `CreateProjectHasKey$inboundSchema` instead. */
|
|
12748
|
+
export const inboundSchema = CreateProjectHasKey$inboundSchema;
|
|
12749
|
+
/** @deprecated use `CreateProjectHasKey$outboundSchema` instead. */
|
|
12750
|
+
export const outboundSchema = CreateProjectHasKey$outboundSchema;
|
|
12751
|
+
}
|
|
12752
|
+
|
|
12753
|
+
/** @internal */
|
|
12754
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema:
|
|
12755
|
+
z.ZodType<
|
|
12756
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue,
|
|
12757
|
+
z.ZodTypeDef,
|
|
12758
|
+
unknown
|
|
12759
|
+
> = z.object({
|
|
12760
|
+
eq: z.string(),
|
|
12761
|
+
});
|
|
12762
|
+
|
|
12763
|
+
/** @internal */
|
|
12764
|
+
export type CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound = {
|
|
12765
|
+
eq: string;
|
|
12766
|
+
};
|
|
12767
|
+
|
|
12768
|
+
/** @internal */
|
|
12769
|
+
export const CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema:
|
|
12770
|
+
z.ZodType<
|
|
12771
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound,
|
|
12772
|
+
z.ZodTypeDef,
|
|
12773
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue
|
|
12774
|
+
> = z.object({
|
|
12775
|
+
eq: z.string(),
|
|
12776
|
+
});
|
|
12777
|
+
|
|
12778
|
+
/**
|
|
12779
|
+
* @internal
|
|
12780
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12781
|
+
*/
|
|
12782
|
+
export namespace CreateProjectHasProjectsResponse200ApplicationJSONValue$ {
|
|
12783
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema` instead. */
|
|
12784
|
+
export const inboundSchema =
|
|
12785
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema;
|
|
12786
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema` instead. */
|
|
12787
|
+
export const outboundSchema =
|
|
12788
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema;
|
|
12789
|
+
/** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound` instead. */
|
|
12790
|
+
export type Outbound =
|
|
12791
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound;
|
|
12792
|
+
}
|
|
12793
|
+
|
|
12794
|
+
export function createProjectHasProjectsResponse200ApplicationJSONValueToJSON(
|
|
12795
|
+
createProjectHasProjectsResponse200ApplicationJSONValue:
|
|
12796
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue,
|
|
12797
|
+
): string {
|
|
12798
|
+
return JSON.stringify(
|
|
12799
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema
|
|
12800
|
+
.parse(createProjectHasProjectsResponse200ApplicationJSONValue),
|
|
12801
|
+
);
|
|
12802
|
+
}
|
|
12803
|
+
|
|
12804
|
+
export function createProjectHasProjectsResponse200ApplicationJSONValueFromJSON(
|
|
12805
|
+
jsonString: string,
|
|
12806
|
+
): SafeParseResult<
|
|
12807
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue,
|
|
12808
|
+
SDKValidationError
|
|
12809
|
+
> {
|
|
12810
|
+
return safeParse(
|
|
12811
|
+
jsonString,
|
|
12812
|
+
(x) =>
|
|
12813
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema
|
|
12814
|
+
.parse(JSON.parse(x)),
|
|
12815
|
+
`Failed to parse 'CreateProjectHasProjectsResponse200ApplicationJSONValue' from JSON`,
|
|
12816
|
+
);
|
|
12817
|
+
}
|
|
12818
|
+
|
|
12819
|
+
/** @internal */
|
|
12820
|
+
export const CreateProjectHasProjectsResponse1$inboundSchema: z.ZodType<
|
|
12821
|
+
CreateProjectHasProjectsResponse1,
|
|
12822
|
+
z.ZodTypeDef,
|
|
12823
|
+
unknown
|
|
12824
|
+
> = z.object({
|
|
12825
|
+
type: CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema,
|
|
12826
|
+
key: CreateProjectHasKey$inboundSchema,
|
|
12827
|
+
value: z.lazy(() =>
|
|
12828
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema
|
|
12829
|
+
),
|
|
12830
|
+
});
|
|
12831
|
+
|
|
12832
|
+
/** @internal */
|
|
12833
|
+
export type CreateProjectHasProjectsResponse1$Outbound = {
|
|
12834
|
+
type: string;
|
|
12835
|
+
key: string;
|
|
12836
|
+
value: CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound;
|
|
12837
|
+
};
|
|
12838
|
+
|
|
12839
|
+
/** @internal */
|
|
12840
|
+
export const CreateProjectHasProjectsResponse1$outboundSchema: z.ZodType<
|
|
12841
|
+
CreateProjectHasProjectsResponse1$Outbound,
|
|
12842
|
+
z.ZodTypeDef,
|
|
12843
|
+
CreateProjectHasProjectsResponse1
|
|
12844
|
+
> = z.object({
|
|
12845
|
+
type: CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema,
|
|
12846
|
+
key: CreateProjectHasKey$outboundSchema,
|
|
12847
|
+
value: z.lazy(() =>
|
|
12848
|
+
CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema
|
|
12849
|
+
),
|
|
12850
|
+
});
|
|
12851
|
+
|
|
12852
|
+
/**
|
|
12853
|
+
* @internal
|
|
12854
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12855
|
+
*/
|
|
12856
|
+
export namespace CreateProjectHasProjectsResponse1$ {
|
|
12857
|
+
/** @deprecated use `CreateProjectHasProjectsResponse1$inboundSchema` instead. */
|
|
12858
|
+
export const inboundSchema = CreateProjectHasProjectsResponse1$inboundSchema;
|
|
12859
|
+
/** @deprecated use `CreateProjectHasProjectsResponse1$outboundSchema` instead. */
|
|
12860
|
+
export const outboundSchema =
|
|
12861
|
+
CreateProjectHasProjectsResponse1$outboundSchema;
|
|
12862
|
+
/** @deprecated use `CreateProjectHasProjectsResponse1$Outbound` instead. */
|
|
12863
|
+
export type Outbound = CreateProjectHasProjectsResponse1$Outbound;
|
|
12864
|
+
}
|
|
12865
|
+
|
|
12866
|
+
export function createProjectHasProjectsResponse1ToJSON(
|
|
12867
|
+
createProjectHasProjectsResponse1: CreateProjectHasProjectsResponse1,
|
|
12868
|
+
): string {
|
|
12869
|
+
return JSON.stringify(
|
|
12870
|
+
CreateProjectHasProjectsResponse1$outboundSchema.parse(
|
|
12871
|
+
createProjectHasProjectsResponse1,
|
|
12872
|
+
),
|
|
12873
|
+
);
|
|
12874
|
+
}
|
|
12875
|
+
|
|
12876
|
+
export function createProjectHasProjectsResponse1FromJSON(
|
|
12877
|
+
jsonString: string,
|
|
12878
|
+
): SafeParseResult<CreateProjectHasProjectsResponse1, SDKValidationError> {
|
|
12879
|
+
return safeParse(
|
|
12880
|
+
jsonString,
|
|
12881
|
+
(x) => CreateProjectHasProjectsResponse1$inboundSchema.parse(JSON.parse(x)),
|
|
12882
|
+
`Failed to parse 'CreateProjectHasProjectsResponse1' from JSON`,
|
|
12883
|
+
);
|
|
12884
|
+
}
|
|
12885
|
+
|
|
12886
|
+
/** @internal */
|
|
12887
|
+
export const CreateProjectRouteHas$inboundSchema: z.ZodType<
|
|
12888
|
+
CreateProjectRouteHas,
|
|
12889
|
+
z.ZodTypeDef,
|
|
12890
|
+
unknown
|
|
12891
|
+
> = z.union([
|
|
12892
|
+
z.lazy(() => CreateProjectHasProjectsResponse1$inboundSchema),
|
|
12893
|
+
z.lazy(() => CreateProjectHasProjectsResponse2$inboundSchema),
|
|
12894
|
+
]);
|
|
12895
|
+
|
|
12896
|
+
/** @internal */
|
|
12897
|
+
export type CreateProjectRouteHas$Outbound =
|
|
12898
|
+
| CreateProjectHasProjectsResponse1$Outbound
|
|
12899
|
+
| CreateProjectHasProjectsResponse2$Outbound;
|
|
12900
|
+
|
|
12901
|
+
/** @internal */
|
|
12902
|
+
export const CreateProjectRouteHas$outboundSchema: z.ZodType<
|
|
12903
|
+
CreateProjectRouteHas$Outbound,
|
|
12904
|
+
z.ZodTypeDef,
|
|
12905
|
+
CreateProjectRouteHas
|
|
12906
|
+
> = z.union([
|
|
12907
|
+
z.lazy(() => CreateProjectHasProjectsResponse1$outboundSchema),
|
|
12908
|
+
z.lazy(() => CreateProjectHasProjectsResponse2$outboundSchema),
|
|
12909
|
+
]);
|
|
12910
|
+
|
|
12911
|
+
/**
|
|
12912
|
+
* @internal
|
|
12913
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12914
|
+
*/
|
|
12915
|
+
export namespace CreateProjectRouteHas$ {
|
|
12916
|
+
/** @deprecated use `CreateProjectRouteHas$inboundSchema` instead. */
|
|
12917
|
+
export const inboundSchema = CreateProjectRouteHas$inboundSchema;
|
|
12918
|
+
/** @deprecated use `CreateProjectRouteHas$outboundSchema` instead. */
|
|
12919
|
+
export const outboundSchema = CreateProjectRouteHas$outboundSchema;
|
|
12920
|
+
/** @deprecated use `CreateProjectRouteHas$Outbound` instead. */
|
|
12921
|
+
export type Outbound = CreateProjectRouteHas$Outbound;
|
|
12922
|
+
}
|
|
12923
|
+
|
|
12924
|
+
export function createProjectRouteHasToJSON(
|
|
12925
|
+
createProjectRouteHas: CreateProjectRouteHas,
|
|
12926
|
+
): string {
|
|
12927
|
+
return JSON.stringify(
|
|
12928
|
+
CreateProjectRouteHas$outboundSchema.parse(createProjectRouteHas),
|
|
12929
|
+
);
|
|
12930
|
+
}
|
|
12931
|
+
|
|
12932
|
+
export function createProjectRouteHasFromJSON(
|
|
12933
|
+
jsonString: string,
|
|
12934
|
+
): SafeParseResult<CreateProjectRouteHas, SDKValidationError> {
|
|
12935
|
+
return safeParse(
|
|
12936
|
+
jsonString,
|
|
12937
|
+
(x) => CreateProjectRouteHas$inboundSchema.parse(JSON.parse(x)),
|
|
12938
|
+
`Failed to parse 'CreateProjectRouteHas' from JSON`,
|
|
12939
|
+
);
|
|
12940
|
+
}
|
|
12941
|
+
|
|
12942
|
+
/** @internal */
|
|
12943
|
+
export const CreateProjectRouteAction$inboundSchema: z.ZodNativeEnum<
|
|
12944
|
+
typeof CreateProjectRouteAction
|
|
12945
|
+
> = z.nativeEnum(CreateProjectRouteAction);
|
|
12946
|
+
|
|
12947
|
+
/** @internal */
|
|
12948
|
+
export const CreateProjectRouteAction$outboundSchema: z.ZodNativeEnum<
|
|
12949
|
+
typeof CreateProjectRouteAction
|
|
12950
|
+
> = CreateProjectRouteAction$inboundSchema;
|
|
12951
|
+
|
|
12952
|
+
/**
|
|
12953
|
+
* @internal
|
|
12954
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12955
|
+
*/
|
|
12956
|
+
export namespace CreateProjectRouteAction$ {
|
|
12957
|
+
/** @deprecated use `CreateProjectRouteAction$inboundSchema` instead. */
|
|
12958
|
+
export const inboundSchema = CreateProjectRouteAction$inboundSchema;
|
|
12959
|
+
/** @deprecated use `CreateProjectRouteAction$outboundSchema` instead. */
|
|
12960
|
+
export const outboundSchema = CreateProjectRouteAction$outboundSchema;
|
|
12961
|
+
}
|
|
12962
|
+
|
|
12963
|
+
/** @internal */
|
|
12964
|
+
export const CreateProjectRouteMitigate$inboundSchema: z.ZodType<
|
|
12965
|
+
CreateProjectRouteMitigate,
|
|
12966
|
+
z.ZodTypeDef,
|
|
12967
|
+
unknown
|
|
12968
|
+
> = z.object({
|
|
12969
|
+
action: CreateProjectRouteAction$inboundSchema,
|
|
12970
|
+
});
|
|
12971
|
+
|
|
12972
|
+
/** @internal */
|
|
12973
|
+
export type CreateProjectRouteMitigate$Outbound = {
|
|
12974
|
+
action: string;
|
|
12975
|
+
};
|
|
12976
|
+
|
|
12977
|
+
/** @internal */
|
|
12978
|
+
export const CreateProjectRouteMitigate$outboundSchema: z.ZodType<
|
|
12979
|
+
CreateProjectRouteMitigate$Outbound,
|
|
12980
|
+
z.ZodTypeDef,
|
|
12981
|
+
CreateProjectRouteMitigate
|
|
12982
|
+
> = z.object({
|
|
12983
|
+
action: CreateProjectRouteAction$outboundSchema,
|
|
12984
|
+
});
|
|
12985
|
+
|
|
12986
|
+
/**
|
|
12987
|
+
* @internal
|
|
12988
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12989
|
+
*/
|
|
12990
|
+
export namespace CreateProjectRouteMitigate$ {
|
|
12991
|
+
/** @deprecated use `CreateProjectRouteMitigate$inboundSchema` instead. */
|
|
12992
|
+
export const inboundSchema = CreateProjectRouteMitigate$inboundSchema;
|
|
12993
|
+
/** @deprecated use `CreateProjectRouteMitigate$outboundSchema` instead. */
|
|
12994
|
+
export const outboundSchema = CreateProjectRouteMitigate$outboundSchema;
|
|
12995
|
+
/** @deprecated use `CreateProjectRouteMitigate$Outbound` instead. */
|
|
12996
|
+
export type Outbound = CreateProjectRouteMitigate$Outbound;
|
|
12997
|
+
}
|
|
12998
|
+
|
|
12999
|
+
export function createProjectRouteMitigateToJSON(
|
|
13000
|
+
createProjectRouteMitigate: CreateProjectRouteMitigate,
|
|
13001
|
+
): string {
|
|
13002
|
+
return JSON.stringify(
|
|
13003
|
+
CreateProjectRouteMitigate$outboundSchema.parse(createProjectRouteMitigate),
|
|
13004
|
+
);
|
|
13005
|
+
}
|
|
13006
|
+
|
|
13007
|
+
export function createProjectRouteMitigateFromJSON(
|
|
13008
|
+
jsonString: string,
|
|
13009
|
+
): SafeParseResult<CreateProjectRouteMitigate, SDKValidationError> {
|
|
13010
|
+
return safeParse(
|
|
13011
|
+
jsonString,
|
|
13012
|
+
(x) => CreateProjectRouteMitigate$inboundSchema.parse(JSON.parse(x)),
|
|
13013
|
+
`Failed to parse 'CreateProjectRouteMitigate' from JSON`,
|
|
13014
|
+
);
|
|
13015
|
+
}
|
|
13016
|
+
|
|
13017
|
+
/** @internal */
|
|
13018
|
+
export const CreateProjectRoute2$inboundSchema: z.ZodType<
|
|
13019
|
+
CreateProjectRoute2,
|
|
13020
|
+
z.ZodTypeDef,
|
|
13021
|
+
unknown
|
|
13022
|
+
> = z.object({
|
|
13023
|
+
has: z.array(
|
|
13024
|
+
z.union([
|
|
13025
|
+
z.lazy(() => CreateProjectHasProjectsResponse1$inboundSchema),
|
|
13026
|
+
z.lazy(() => CreateProjectHasProjectsResponse2$inboundSchema),
|
|
13027
|
+
]),
|
|
13028
|
+
),
|
|
13029
|
+
mitigate: z.lazy(() => CreateProjectRouteMitigate$inboundSchema),
|
|
13030
|
+
src: z.string().optional(),
|
|
13031
|
+
});
|
|
13032
|
+
|
|
13033
|
+
/** @internal */
|
|
13034
|
+
export type CreateProjectRoute2$Outbound = {
|
|
13035
|
+
has: Array<
|
|
13036
|
+
| CreateProjectHasProjectsResponse1$Outbound
|
|
13037
|
+
| CreateProjectHasProjectsResponse2$Outbound
|
|
13038
|
+
>;
|
|
13039
|
+
mitigate: CreateProjectRouteMitigate$Outbound;
|
|
13040
|
+
src?: string | undefined;
|
|
13041
|
+
};
|
|
13042
|
+
|
|
13043
|
+
/** @internal */
|
|
13044
|
+
export const CreateProjectRoute2$outboundSchema: z.ZodType<
|
|
13045
|
+
CreateProjectRoute2$Outbound,
|
|
13046
|
+
z.ZodTypeDef,
|
|
13047
|
+
CreateProjectRoute2
|
|
13048
|
+
> = z.object({
|
|
13049
|
+
has: z.array(
|
|
13050
|
+
z.union([
|
|
13051
|
+
z.lazy(() => CreateProjectHasProjectsResponse1$outboundSchema),
|
|
13052
|
+
z.lazy(() => CreateProjectHasProjectsResponse2$outboundSchema),
|
|
13053
|
+
]),
|
|
13054
|
+
),
|
|
13055
|
+
mitigate: z.lazy(() => CreateProjectRouteMitigate$outboundSchema),
|
|
13056
|
+
src: z.string().optional(),
|
|
13057
|
+
});
|
|
13058
|
+
|
|
13059
|
+
/**
|
|
13060
|
+
* @internal
|
|
13061
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13062
|
+
*/
|
|
13063
|
+
export namespace CreateProjectRoute2$ {
|
|
13064
|
+
/** @deprecated use `CreateProjectRoute2$inboundSchema` instead. */
|
|
13065
|
+
export const inboundSchema = CreateProjectRoute2$inboundSchema;
|
|
13066
|
+
/** @deprecated use `CreateProjectRoute2$outboundSchema` instead. */
|
|
13067
|
+
export const outboundSchema = CreateProjectRoute2$outboundSchema;
|
|
13068
|
+
/** @deprecated use `CreateProjectRoute2$Outbound` instead. */
|
|
13069
|
+
export type Outbound = CreateProjectRoute2$Outbound;
|
|
13070
|
+
}
|
|
13071
|
+
|
|
13072
|
+
export function createProjectRoute2ToJSON(
|
|
13073
|
+
createProjectRoute2: CreateProjectRoute2,
|
|
13074
|
+
): string {
|
|
13075
|
+
return JSON.stringify(
|
|
13076
|
+
CreateProjectRoute2$outboundSchema.parse(createProjectRoute2),
|
|
13077
|
+
);
|
|
13078
|
+
}
|
|
13079
|
+
|
|
13080
|
+
export function createProjectRoute2FromJSON(
|
|
13081
|
+
jsonString: string,
|
|
13082
|
+
): SafeParseResult<CreateProjectRoute2, SDKValidationError> {
|
|
13083
|
+
return safeParse(
|
|
13084
|
+
jsonString,
|
|
13085
|
+
(x) => CreateProjectRoute2$inboundSchema.parse(JSON.parse(x)),
|
|
13086
|
+
`Failed to parse 'CreateProjectRoute2' from JSON`,
|
|
13087
|
+
);
|
|
13088
|
+
}
|
|
13089
|
+
|
|
13090
|
+
/** @internal */
|
|
13091
|
+
export const CreateProjectRoute1$inboundSchema: z.ZodType<
|
|
13092
|
+
CreateProjectRoute1,
|
|
13093
|
+
z.ZodTypeDef,
|
|
13094
|
+
unknown
|
|
13095
|
+
> = z.object({
|
|
13096
|
+
src: z.string(),
|
|
13097
|
+
status: z.number(),
|
|
13098
|
+
});
|
|
13099
|
+
|
|
13100
|
+
/** @internal */
|
|
13101
|
+
export type CreateProjectRoute1$Outbound = {
|
|
13102
|
+
src: string;
|
|
13103
|
+
status: number;
|
|
13104
|
+
};
|
|
13105
|
+
|
|
13106
|
+
/** @internal */
|
|
13107
|
+
export const CreateProjectRoute1$outboundSchema: z.ZodType<
|
|
13108
|
+
CreateProjectRoute1$Outbound,
|
|
13109
|
+
z.ZodTypeDef,
|
|
13110
|
+
CreateProjectRoute1
|
|
13111
|
+
> = z.object({
|
|
13112
|
+
src: z.string(),
|
|
13113
|
+
status: z.number(),
|
|
13114
|
+
});
|
|
13115
|
+
|
|
13116
|
+
/**
|
|
13117
|
+
* @internal
|
|
13118
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13119
|
+
*/
|
|
13120
|
+
export namespace CreateProjectRoute1$ {
|
|
13121
|
+
/** @deprecated use `CreateProjectRoute1$inboundSchema` instead. */
|
|
13122
|
+
export const inboundSchema = CreateProjectRoute1$inboundSchema;
|
|
13123
|
+
/** @deprecated use `CreateProjectRoute1$outboundSchema` instead. */
|
|
13124
|
+
export const outboundSchema = CreateProjectRoute1$outboundSchema;
|
|
13125
|
+
/** @deprecated use `CreateProjectRoute1$Outbound` instead. */
|
|
13126
|
+
export type Outbound = CreateProjectRoute1$Outbound;
|
|
13127
|
+
}
|
|
13128
|
+
|
|
13129
|
+
export function createProjectRoute1ToJSON(
|
|
13130
|
+
createProjectRoute1: CreateProjectRoute1,
|
|
13131
|
+
): string {
|
|
13132
|
+
return JSON.stringify(
|
|
13133
|
+
CreateProjectRoute1$outboundSchema.parse(createProjectRoute1),
|
|
13134
|
+
);
|
|
13135
|
+
}
|
|
13136
|
+
|
|
13137
|
+
export function createProjectRoute1FromJSON(
|
|
13138
|
+
jsonString: string,
|
|
13139
|
+
): SafeParseResult<CreateProjectRoute1, SDKValidationError> {
|
|
13140
|
+
return safeParse(
|
|
13141
|
+
jsonString,
|
|
13142
|
+
(x) => CreateProjectRoute1$inboundSchema.parse(JSON.parse(x)),
|
|
13143
|
+
`Failed to parse 'CreateProjectRoute1' from JSON`,
|
|
13144
|
+
);
|
|
13145
|
+
}
|
|
13146
|
+
|
|
13147
|
+
/** @internal */
|
|
13148
|
+
export const CreateProjectBlockHistoryRoute$inboundSchema: z.ZodType<
|
|
13149
|
+
CreateProjectBlockHistoryRoute,
|
|
13150
|
+
z.ZodTypeDef,
|
|
13151
|
+
unknown
|
|
13152
|
+
> = z.union([
|
|
13153
|
+
z.lazy(() => CreateProjectRoute1$inboundSchema),
|
|
13154
|
+
z.lazy(() => CreateProjectRoute2$inboundSchema),
|
|
13155
|
+
]);
|
|
13156
|
+
|
|
13157
|
+
/** @internal */
|
|
13158
|
+
export type CreateProjectBlockHistoryRoute$Outbound =
|
|
13159
|
+
| CreateProjectRoute1$Outbound
|
|
13160
|
+
| CreateProjectRoute2$Outbound;
|
|
13161
|
+
|
|
13162
|
+
/** @internal */
|
|
13163
|
+
export const CreateProjectBlockHistoryRoute$outboundSchema: z.ZodType<
|
|
13164
|
+
CreateProjectBlockHistoryRoute$Outbound,
|
|
13165
|
+
z.ZodTypeDef,
|
|
13166
|
+
CreateProjectBlockHistoryRoute
|
|
13167
|
+
> = z.union([
|
|
13168
|
+
z.lazy(() => CreateProjectRoute1$outboundSchema),
|
|
13169
|
+
z.lazy(() => CreateProjectRoute2$outboundSchema),
|
|
13170
|
+
]);
|
|
13171
|
+
|
|
13172
|
+
/**
|
|
13173
|
+
* @internal
|
|
13174
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13175
|
+
*/
|
|
13176
|
+
export namespace CreateProjectBlockHistoryRoute$ {
|
|
13177
|
+
/** @deprecated use `CreateProjectBlockHistoryRoute$inboundSchema` instead. */
|
|
13178
|
+
export const inboundSchema = CreateProjectBlockHistoryRoute$inboundSchema;
|
|
13179
|
+
/** @deprecated use `CreateProjectBlockHistoryRoute$outboundSchema` instead. */
|
|
13180
|
+
export const outboundSchema = CreateProjectBlockHistoryRoute$outboundSchema;
|
|
13181
|
+
/** @deprecated use `CreateProjectBlockHistoryRoute$Outbound` instead. */
|
|
13182
|
+
export type Outbound = CreateProjectBlockHistoryRoute$Outbound;
|
|
13183
|
+
}
|
|
13184
|
+
|
|
13185
|
+
export function createProjectBlockHistoryRouteToJSON(
|
|
13186
|
+
createProjectBlockHistoryRoute: CreateProjectBlockHistoryRoute,
|
|
13187
|
+
): string {
|
|
13188
|
+
return JSON.stringify(
|
|
13189
|
+
CreateProjectBlockHistoryRoute$outboundSchema.parse(
|
|
13190
|
+
createProjectBlockHistoryRoute,
|
|
13191
|
+
),
|
|
13192
|
+
);
|
|
13193
|
+
}
|
|
13194
|
+
|
|
13195
|
+
export function createProjectBlockHistoryRouteFromJSON(
|
|
13196
|
+
jsonString: string,
|
|
13197
|
+
): SafeParseResult<CreateProjectBlockHistoryRoute, SDKValidationError> {
|
|
13198
|
+
return safeParse(
|
|
13199
|
+
jsonString,
|
|
13200
|
+
(x) => CreateProjectBlockHistoryRoute$inboundSchema.parse(JSON.parse(x)),
|
|
13201
|
+
`Failed to parse 'CreateProjectBlockHistoryRoute' from JSON`,
|
|
13202
|
+
);
|
|
13203
|
+
}
|
|
13204
|
+
|
|
13205
|
+
/** @internal */
|
|
13206
|
+
export const CreateProjectBlockHistory3$inboundSchema: z.ZodType<
|
|
13207
|
+
CreateProjectBlockHistory3,
|
|
13208
|
+
z.ZodTypeDef,
|
|
13209
|
+
unknown
|
|
13210
|
+
> = z.object({
|
|
13211
|
+
action: CreateProjectBlockHistoryProjectsResponseAction$inboundSchema,
|
|
13212
|
+
route: z.union([
|
|
13213
|
+
z.lazy(() => CreateProjectRoute1$inboundSchema),
|
|
13214
|
+
z.lazy(() => CreateProjectRoute2$inboundSchema),
|
|
13215
|
+
]),
|
|
13216
|
+
reason: z.string(),
|
|
13217
|
+
createdAt: z.number(),
|
|
13218
|
+
caseId: z.string().optional(),
|
|
13219
|
+
actor: z.string().optional(),
|
|
13220
|
+
comment: z.string().optional(),
|
|
13221
|
+
isCascading: z.boolean().optional(),
|
|
13222
|
+
});
|
|
13223
|
+
|
|
13224
|
+
/** @internal */
|
|
13225
|
+
export type CreateProjectBlockHistory3$Outbound = {
|
|
13226
|
+
action: string;
|
|
13227
|
+
route: CreateProjectRoute1$Outbound | CreateProjectRoute2$Outbound;
|
|
13228
|
+
reason: string;
|
|
13229
|
+
createdAt: number;
|
|
13230
|
+
caseId?: string | undefined;
|
|
13231
|
+
actor?: string | undefined;
|
|
13232
|
+
comment?: string | undefined;
|
|
13233
|
+
isCascading?: boolean | undefined;
|
|
13234
|
+
};
|
|
13235
|
+
|
|
13236
|
+
/** @internal */
|
|
13237
|
+
export const CreateProjectBlockHistory3$outboundSchema: z.ZodType<
|
|
13238
|
+
CreateProjectBlockHistory3$Outbound,
|
|
13239
|
+
z.ZodTypeDef,
|
|
13240
|
+
CreateProjectBlockHistory3
|
|
13241
|
+
> = z.object({
|
|
13242
|
+
action: CreateProjectBlockHistoryProjectsResponseAction$outboundSchema,
|
|
13243
|
+
route: z.union([
|
|
13244
|
+
z.lazy(() => CreateProjectRoute1$outboundSchema),
|
|
13245
|
+
z.lazy(() => CreateProjectRoute2$outboundSchema),
|
|
13246
|
+
]),
|
|
13247
|
+
reason: z.string(),
|
|
13248
|
+
createdAt: z.number(),
|
|
13249
|
+
caseId: z.string().optional(),
|
|
13250
|
+
actor: z.string().optional(),
|
|
13251
|
+
comment: z.string().optional(),
|
|
13252
|
+
isCascading: z.boolean().optional(),
|
|
13253
|
+
});
|
|
13254
|
+
|
|
13255
|
+
/**
|
|
13256
|
+
* @internal
|
|
13257
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13258
|
+
*/
|
|
13259
|
+
export namespace CreateProjectBlockHistory3$ {
|
|
13260
|
+
/** @deprecated use `CreateProjectBlockHistory3$inboundSchema` instead. */
|
|
13261
|
+
export const inboundSchema = CreateProjectBlockHistory3$inboundSchema;
|
|
13262
|
+
/** @deprecated use `CreateProjectBlockHistory3$outboundSchema` instead. */
|
|
13263
|
+
export const outboundSchema = CreateProjectBlockHistory3$outboundSchema;
|
|
13264
|
+
/** @deprecated use `CreateProjectBlockHistory3$Outbound` instead. */
|
|
13265
|
+
export type Outbound = CreateProjectBlockHistory3$Outbound;
|
|
13266
|
+
}
|
|
13267
|
+
|
|
13268
|
+
export function createProjectBlockHistory3ToJSON(
|
|
13269
|
+
createProjectBlockHistory3: CreateProjectBlockHistory3,
|
|
13270
|
+
): string {
|
|
13271
|
+
return JSON.stringify(
|
|
13272
|
+
CreateProjectBlockHistory3$outboundSchema.parse(createProjectBlockHistory3),
|
|
13273
|
+
);
|
|
13274
|
+
}
|
|
13275
|
+
|
|
13276
|
+
export function createProjectBlockHistory3FromJSON(
|
|
13277
|
+
jsonString: string,
|
|
13278
|
+
): SafeParseResult<CreateProjectBlockHistory3, SDKValidationError> {
|
|
13279
|
+
return safeParse(
|
|
13280
|
+
jsonString,
|
|
13281
|
+
(x) => CreateProjectBlockHistory3$inboundSchema.parse(JSON.parse(x)),
|
|
13282
|
+
`Failed to parse 'CreateProjectBlockHistory3' from JSON`,
|
|
13283
|
+
);
|
|
13284
|
+
}
|
|
13285
|
+
|
|
13286
|
+
/** @internal */
|
|
13287
|
+
export const CreateProjectBlockHistoryProjectsAction$inboundSchema:
|
|
13288
|
+
z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsAction> = z
|
|
13289
|
+
.nativeEnum(CreateProjectBlockHistoryProjectsAction);
|
|
13290
|
+
|
|
13291
|
+
/** @internal */
|
|
13292
|
+
export const CreateProjectBlockHistoryProjectsAction$outboundSchema:
|
|
13293
|
+
z.ZodNativeEnum<typeof CreateProjectBlockHistoryProjectsAction> =
|
|
13294
|
+
CreateProjectBlockHistoryProjectsAction$inboundSchema;
|
|
13295
|
+
|
|
13296
|
+
/**
|
|
13297
|
+
* @internal
|
|
13298
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13299
|
+
*/
|
|
13300
|
+
export namespace CreateProjectBlockHistoryProjectsAction$ {
|
|
13301
|
+
/** @deprecated use `CreateProjectBlockHistoryProjectsAction$inboundSchema` instead. */
|
|
13302
|
+
export const inboundSchema =
|
|
13303
|
+
CreateProjectBlockHistoryProjectsAction$inboundSchema;
|
|
13304
|
+
/** @deprecated use `CreateProjectBlockHistoryProjectsAction$outboundSchema` instead. */
|
|
13305
|
+
export const outboundSchema =
|
|
13306
|
+
CreateProjectBlockHistoryProjectsAction$outboundSchema;
|
|
13307
|
+
}
|
|
13308
|
+
|
|
13309
|
+
/** @internal */
|
|
13310
|
+
export const CreateProjectBlockHistory2$inboundSchema: z.ZodType<
|
|
13311
|
+
CreateProjectBlockHistory2,
|
|
13312
|
+
z.ZodTypeDef,
|
|
13313
|
+
unknown
|
|
13314
|
+
> = z.object({
|
|
13315
|
+
action: CreateProjectBlockHistoryProjectsAction$inboundSchema,
|
|
13316
|
+
createdAt: z.number(),
|
|
13317
|
+
caseId: z.string().optional(),
|
|
13318
|
+
actor: z.string().optional(),
|
|
13319
|
+
comment: z.string().optional(),
|
|
13320
|
+
isCascading: z.boolean().optional(),
|
|
13321
|
+
});
|
|
13322
|
+
|
|
13323
|
+
/** @internal */
|
|
13324
|
+
export type CreateProjectBlockHistory2$Outbound = {
|
|
13325
|
+
action: string;
|
|
13326
|
+
createdAt: number;
|
|
13327
|
+
caseId?: string | undefined;
|
|
13328
|
+
actor?: string | undefined;
|
|
13329
|
+
comment?: string | undefined;
|
|
13330
|
+
isCascading?: boolean | undefined;
|
|
13331
|
+
};
|
|
13332
|
+
|
|
13333
|
+
/** @internal */
|
|
13334
|
+
export const CreateProjectBlockHistory2$outboundSchema: z.ZodType<
|
|
13335
|
+
CreateProjectBlockHistory2$Outbound,
|
|
13336
|
+
z.ZodTypeDef,
|
|
13337
|
+
CreateProjectBlockHistory2
|
|
13338
|
+
> = z.object({
|
|
13339
|
+
action: CreateProjectBlockHistoryProjectsAction$outboundSchema,
|
|
13340
|
+
createdAt: z.number(),
|
|
13341
|
+
caseId: z.string().optional(),
|
|
13342
|
+
actor: z.string().optional(),
|
|
13343
|
+
comment: z.string().optional(),
|
|
13344
|
+
isCascading: z.boolean().optional(),
|
|
13345
|
+
});
|
|
13346
|
+
|
|
13347
|
+
/**
|
|
13348
|
+
* @internal
|
|
13349
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13350
|
+
*/
|
|
13351
|
+
export namespace CreateProjectBlockHistory2$ {
|
|
13352
|
+
/** @deprecated use `CreateProjectBlockHistory2$inboundSchema` instead. */
|
|
13353
|
+
export const inboundSchema = CreateProjectBlockHistory2$inboundSchema;
|
|
13354
|
+
/** @deprecated use `CreateProjectBlockHistory2$outboundSchema` instead. */
|
|
13355
|
+
export const outboundSchema = CreateProjectBlockHistory2$outboundSchema;
|
|
13356
|
+
/** @deprecated use `CreateProjectBlockHistory2$Outbound` instead. */
|
|
13357
|
+
export type Outbound = CreateProjectBlockHistory2$Outbound;
|
|
13358
|
+
}
|
|
13359
|
+
|
|
13360
|
+
export function createProjectBlockHistory2ToJSON(
|
|
13361
|
+
createProjectBlockHistory2: CreateProjectBlockHistory2,
|
|
13362
|
+
): string {
|
|
13363
|
+
return JSON.stringify(
|
|
13364
|
+
CreateProjectBlockHistory2$outboundSchema.parse(createProjectBlockHistory2),
|
|
13365
|
+
);
|
|
13366
|
+
}
|
|
13367
|
+
|
|
13368
|
+
export function createProjectBlockHistory2FromJSON(
|
|
13369
|
+
jsonString: string,
|
|
13370
|
+
): SafeParseResult<CreateProjectBlockHistory2, SDKValidationError> {
|
|
13371
|
+
return safeParse(
|
|
13372
|
+
jsonString,
|
|
13373
|
+
(x) => CreateProjectBlockHistory2$inboundSchema.parse(JSON.parse(x)),
|
|
13374
|
+
`Failed to parse 'CreateProjectBlockHistory2' from JSON`,
|
|
13375
|
+
);
|
|
13376
|
+
}
|
|
13377
|
+
|
|
13378
|
+
/** @internal */
|
|
13379
|
+
export const CreateProjectBlockHistoryAction$inboundSchema: z.ZodNativeEnum<
|
|
13380
|
+
typeof CreateProjectBlockHistoryAction
|
|
13381
|
+
> = z.nativeEnum(CreateProjectBlockHistoryAction);
|
|
13382
|
+
|
|
13383
|
+
/** @internal */
|
|
13384
|
+
export const CreateProjectBlockHistoryAction$outboundSchema: z.ZodNativeEnum<
|
|
13385
|
+
typeof CreateProjectBlockHistoryAction
|
|
13386
|
+
> = CreateProjectBlockHistoryAction$inboundSchema;
|
|
13387
|
+
|
|
13388
|
+
/**
|
|
13389
|
+
* @internal
|
|
13390
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13391
|
+
*/
|
|
13392
|
+
export namespace CreateProjectBlockHistoryAction$ {
|
|
13393
|
+
/** @deprecated use `CreateProjectBlockHistoryAction$inboundSchema` instead. */
|
|
13394
|
+
export const inboundSchema = CreateProjectBlockHistoryAction$inboundSchema;
|
|
13395
|
+
/** @deprecated use `CreateProjectBlockHistoryAction$outboundSchema` instead. */
|
|
13396
|
+
export const outboundSchema = CreateProjectBlockHistoryAction$outboundSchema;
|
|
13397
|
+
}
|
|
13398
|
+
|
|
13399
|
+
/** @internal */
|
|
13400
|
+
export const CreateProjectBlockHistory1$inboundSchema: z.ZodType<
|
|
13401
|
+
CreateProjectBlockHistory1,
|
|
13402
|
+
z.ZodTypeDef,
|
|
13403
|
+
unknown
|
|
13404
|
+
> = z.object({
|
|
13405
|
+
action: CreateProjectBlockHistoryAction$inboundSchema,
|
|
13406
|
+
reason: z.string(),
|
|
13407
|
+
statusCode: z.number(),
|
|
13408
|
+
createdAt: z.number(),
|
|
13409
|
+
caseId: z.string().optional(),
|
|
13410
|
+
actor: z.string().optional(),
|
|
13411
|
+
comment: z.string().optional(),
|
|
13412
|
+
isCascading: z.boolean().optional(),
|
|
13413
|
+
});
|
|
13414
|
+
|
|
13415
|
+
/** @internal */
|
|
13416
|
+
export type CreateProjectBlockHistory1$Outbound = {
|
|
13417
|
+
action: string;
|
|
13418
|
+
reason: string;
|
|
13419
|
+
statusCode: number;
|
|
13420
|
+
createdAt: number;
|
|
13421
|
+
caseId?: string | undefined;
|
|
13422
|
+
actor?: string | undefined;
|
|
13423
|
+
comment?: string | undefined;
|
|
13424
|
+
isCascading?: boolean | undefined;
|
|
13425
|
+
};
|
|
13426
|
+
|
|
13427
|
+
/** @internal */
|
|
13428
|
+
export const CreateProjectBlockHistory1$outboundSchema: z.ZodType<
|
|
13429
|
+
CreateProjectBlockHistory1$Outbound,
|
|
13430
|
+
z.ZodTypeDef,
|
|
13431
|
+
CreateProjectBlockHistory1
|
|
13432
|
+
> = z.object({
|
|
13433
|
+
action: CreateProjectBlockHistoryAction$outboundSchema,
|
|
13434
|
+
reason: z.string(),
|
|
13435
|
+
statusCode: z.number(),
|
|
13436
|
+
createdAt: z.number(),
|
|
13437
|
+
caseId: z.string().optional(),
|
|
13438
|
+
actor: z.string().optional(),
|
|
13439
|
+
comment: z.string().optional(),
|
|
13440
|
+
isCascading: z.boolean().optional(),
|
|
13441
|
+
});
|
|
13442
|
+
|
|
13443
|
+
/**
|
|
13444
|
+
* @internal
|
|
13445
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13446
|
+
*/
|
|
13447
|
+
export namespace CreateProjectBlockHistory1$ {
|
|
13448
|
+
/** @deprecated use `CreateProjectBlockHistory1$inboundSchema` instead. */
|
|
13449
|
+
export const inboundSchema = CreateProjectBlockHistory1$inboundSchema;
|
|
13450
|
+
/** @deprecated use `CreateProjectBlockHistory1$outboundSchema` instead. */
|
|
13451
|
+
export const outboundSchema = CreateProjectBlockHistory1$outboundSchema;
|
|
13452
|
+
/** @deprecated use `CreateProjectBlockHistory1$Outbound` instead. */
|
|
13453
|
+
export type Outbound = CreateProjectBlockHistory1$Outbound;
|
|
13454
|
+
}
|
|
13455
|
+
|
|
13456
|
+
export function createProjectBlockHistory1ToJSON(
|
|
13457
|
+
createProjectBlockHistory1: CreateProjectBlockHistory1,
|
|
13458
|
+
): string {
|
|
13459
|
+
return JSON.stringify(
|
|
13460
|
+
CreateProjectBlockHistory1$outboundSchema.parse(createProjectBlockHistory1),
|
|
13461
|
+
);
|
|
13462
|
+
}
|
|
13463
|
+
|
|
13464
|
+
export function createProjectBlockHistory1FromJSON(
|
|
13465
|
+
jsonString: string,
|
|
13466
|
+
): SafeParseResult<CreateProjectBlockHistory1, SDKValidationError> {
|
|
13467
|
+
return safeParse(
|
|
13468
|
+
jsonString,
|
|
13469
|
+
(x) => CreateProjectBlockHistory1$inboundSchema.parse(JSON.parse(x)),
|
|
13470
|
+
`Failed to parse 'CreateProjectBlockHistory1' from JSON`,
|
|
13471
|
+
);
|
|
13472
|
+
}
|
|
13473
|
+
|
|
13474
|
+
/** @internal */
|
|
13475
|
+
export const CreateProjectBlockHistory$inboundSchema: z.ZodType<
|
|
13476
|
+
CreateProjectBlockHistory,
|
|
13477
|
+
z.ZodTypeDef,
|
|
13478
|
+
unknown
|
|
13479
|
+
> = z.union([
|
|
13480
|
+
z.lazy(() => CreateProjectBlockHistory1$inboundSchema),
|
|
13481
|
+
z.lazy(() => CreateProjectBlockHistory3$inboundSchema),
|
|
13482
|
+
z.lazy(() => CreateProjectBlockHistory4$inboundSchema),
|
|
13483
|
+
z.lazy(() => CreateProjectBlockHistory2$inboundSchema),
|
|
13484
|
+
]);
|
|
13485
|
+
|
|
13486
|
+
/** @internal */
|
|
13487
|
+
export type CreateProjectBlockHistory$Outbound =
|
|
13488
|
+
| CreateProjectBlockHistory1$Outbound
|
|
13489
|
+
| CreateProjectBlockHistory3$Outbound
|
|
13490
|
+
| CreateProjectBlockHistory4$Outbound
|
|
13491
|
+
| CreateProjectBlockHistory2$Outbound;
|
|
13492
|
+
|
|
13493
|
+
/** @internal */
|
|
13494
|
+
export const CreateProjectBlockHistory$outboundSchema: z.ZodType<
|
|
13495
|
+
CreateProjectBlockHistory$Outbound,
|
|
13496
|
+
z.ZodTypeDef,
|
|
13497
|
+
CreateProjectBlockHistory
|
|
13498
|
+
> = z.union([
|
|
13499
|
+
z.lazy(() => CreateProjectBlockHistory1$outboundSchema),
|
|
13500
|
+
z.lazy(() => CreateProjectBlockHistory3$outboundSchema),
|
|
13501
|
+
z.lazy(() => CreateProjectBlockHistory4$outboundSchema),
|
|
13502
|
+
z.lazy(() => CreateProjectBlockHistory2$outboundSchema),
|
|
13503
|
+
]);
|
|
13504
|
+
|
|
13505
|
+
/**
|
|
13506
|
+
* @internal
|
|
13507
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13508
|
+
*/
|
|
13509
|
+
export namespace CreateProjectBlockHistory$ {
|
|
13510
|
+
/** @deprecated use `CreateProjectBlockHistory$inboundSchema` instead. */
|
|
13511
|
+
export const inboundSchema = CreateProjectBlockHistory$inboundSchema;
|
|
13512
|
+
/** @deprecated use `CreateProjectBlockHistory$outboundSchema` instead. */
|
|
13513
|
+
export const outboundSchema = CreateProjectBlockHistory$outboundSchema;
|
|
13514
|
+
/** @deprecated use `CreateProjectBlockHistory$Outbound` instead. */
|
|
13515
|
+
export type Outbound = CreateProjectBlockHistory$Outbound;
|
|
13516
|
+
}
|
|
13517
|
+
|
|
13518
|
+
export function createProjectBlockHistoryToJSON(
|
|
13519
|
+
createProjectBlockHistory: CreateProjectBlockHistory,
|
|
13520
|
+
): string {
|
|
13521
|
+
return JSON.stringify(
|
|
13522
|
+
CreateProjectBlockHistory$outboundSchema.parse(createProjectBlockHistory),
|
|
13523
|
+
);
|
|
13524
|
+
}
|
|
13525
|
+
|
|
13526
|
+
export function createProjectBlockHistoryFromJSON(
|
|
13527
|
+
jsonString: string,
|
|
13528
|
+
): SafeParseResult<CreateProjectBlockHistory, SDKValidationError> {
|
|
13529
|
+
return safeParse(
|
|
13530
|
+
jsonString,
|
|
13531
|
+
(x) => CreateProjectBlockHistory$inboundSchema.parse(JSON.parse(x)),
|
|
13532
|
+
`Failed to parse 'CreateProjectBlockHistory' from JSON`,
|
|
13533
|
+
);
|
|
13534
|
+
}
|
|
13535
|
+
|
|
13536
|
+
/** @internal */
|
|
13537
|
+
export const CreateProjectAbuse$inboundSchema: z.ZodType<
|
|
13538
|
+
CreateProjectAbuse,
|
|
13539
|
+
z.ZodTypeDef,
|
|
13540
|
+
unknown
|
|
13541
|
+
> = z.object({
|
|
13542
|
+
scanner: z.string().optional(),
|
|
13543
|
+
history: z.array(z.lazy(() => CreateProjectHistory$inboundSchema)),
|
|
13544
|
+
updatedAt: z.number(),
|
|
13545
|
+
block: z.lazy(() => CreateProjectBlock$inboundSchema).optional(),
|
|
13546
|
+
blockHistory: z.array(
|
|
13547
|
+
z.union([
|
|
13548
|
+
z.lazy(() => CreateProjectBlockHistory1$inboundSchema),
|
|
13549
|
+
z.lazy(() => CreateProjectBlockHistory3$inboundSchema),
|
|
13550
|
+
z.lazy(() => CreateProjectBlockHistory4$inboundSchema),
|
|
13551
|
+
z.lazy(() => CreateProjectBlockHistory2$inboundSchema),
|
|
13552
|
+
]),
|
|
13553
|
+
).optional(),
|
|
13554
|
+
});
|
|
13555
|
+
|
|
13556
|
+
/** @internal */
|
|
13557
|
+
export type CreateProjectAbuse$Outbound = {
|
|
13558
|
+
scanner?: string | undefined;
|
|
13559
|
+
history: Array<CreateProjectHistory$Outbound>;
|
|
13560
|
+
updatedAt: number;
|
|
13561
|
+
block?: CreateProjectBlock$Outbound | undefined;
|
|
13562
|
+
blockHistory?:
|
|
13563
|
+
| Array<
|
|
13564
|
+
| CreateProjectBlockHistory1$Outbound
|
|
13565
|
+
| CreateProjectBlockHistory3$Outbound
|
|
13566
|
+
| CreateProjectBlockHistory4$Outbound
|
|
13567
|
+
| CreateProjectBlockHistory2$Outbound
|
|
13568
|
+
>
|
|
13569
|
+
| undefined;
|
|
13570
|
+
};
|
|
13571
|
+
|
|
13572
|
+
/** @internal */
|
|
13573
|
+
export const CreateProjectAbuse$outboundSchema: z.ZodType<
|
|
13574
|
+
CreateProjectAbuse$Outbound,
|
|
13575
|
+
z.ZodTypeDef,
|
|
13576
|
+
CreateProjectAbuse
|
|
13577
|
+
> = z.object({
|
|
13578
|
+
scanner: z.string().optional(),
|
|
13579
|
+
history: z.array(z.lazy(() => CreateProjectHistory$outboundSchema)),
|
|
13580
|
+
updatedAt: z.number(),
|
|
13581
|
+
block: z.lazy(() => CreateProjectBlock$outboundSchema).optional(),
|
|
13582
|
+
blockHistory: z.array(
|
|
13583
|
+
z.union([
|
|
13584
|
+
z.lazy(() => CreateProjectBlockHistory1$outboundSchema),
|
|
13585
|
+
z.lazy(() => CreateProjectBlockHistory3$outboundSchema),
|
|
13586
|
+
z.lazy(() => CreateProjectBlockHistory4$outboundSchema),
|
|
13587
|
+
z.lazy(() => CreateProjectBlockHistory2$outboundSchema),
|
|
13588
|
+
]),
|
|
13589
|
+
).optional(),
|
|
13590
|
+
});
|
|
13591
|
+
|
|
13592
|
+
/**
|
|
13593
|
+
* @internal
|
|
13594
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13595
|
+
*/
|
|
13596
|
+
export namespace CreateProjectAbuse$ {
|
|
13597
|
+
/** @deprecated use `CreateProjectAbuse$inboundSchema` instead. */
|
|
13598
|
+
export const inboundSchema = CreateProjectAbuse$inboundSchema;
|
|
13599
|
+
/** @deprecated use `CreateProjectAbuse$outboundSchema` instead. */
|
|
13600
|
+
export const outboundSchema = CreateProjectAbuse$outboundSchema;
|
|
13601
|
+
/** @deprecated use `CreateProjectAbuse$Outbound` instead. */
|
|
13602
|
+
export type Outbound = CreateProjectAbuse$Outbound;
|
|
13603
|
+
}
|
|
13604
|
+
|
|
13605
|
+
export function createProjectAbuseToJSON(
|
|
13606
|
+
createProjectAbuse: CreateProjectAbuse,
|
|
13607
|
+
): string {
|
|
13608
|
+
return JSON.stringify(
|
|
13609
|
+
CreateProjectAbuse$outboundSchema.parse(createProjectAbuse),
|
|
13610
|
+
);
|
|
13611
|
+
}
|
|
13612
|
+
|
|
13613
|
+
export function createProjectAbuseFromJSON(
|
|
13614
|
+
jsonString: string,
|
|
13615
|
+
): SafeParseResult<CreateProjectAbuse, SDKValidationError> {
|
|
13616
|
+
return safeParse(
|
|
13617
|
+
jsonString,
|
|
13618
|
+
(x) => CreateProjectAbuse$inboundSchema.parse(JSON.parse(x)),
|
|
13619
|
+
`Failed to parse 'CreateProjectAbuse' from JSON`,
|
|
13620
|
+
);
|
|
13621
|
+
}
|
|
13622
|
+
|
|
13623
|
+
/** @internal */
|
|
13624
|
+
export const CreateProjectHasProjectsType$inboundSchema: z.ZodNativeEnum<
|
|
13625
|
+
typeof CreateProjectHasProjectsType
|
|
13626
|
+
> = z.nativeEnum(CreateProjectHasProjectsType);
|
|
13627
|
+
|
|
13628
|
+
/** @internal */
|
|
13629
|
+
export const CreateProjectHasProjectsType$outboundSchema: z.ZodNativeEnum<
|
|
13630
|
+
typeof CreateProjectHasProjectsType
|
|
13631
|
+
> = CreateProjectHasProjectsType$inboundSchema;
|
|
13632
|
+
|
|
13633
|
+
/**
|
|
13634
|
+
* @internal
|
|
13635
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13636
|
+
*/
|
|
13637
|
+
export namespace CreateProjectHasProjectsType$ {
|
|
13638
|
+
/** @deprecated use `CreateProjectHasProjectsType$inboundSchema` instead. */
|
|
13639
|
+
export const inboundSchema = CreateProjectHasProjectsType$inboundSchema;
|
|
13640
|
+
/** @deprecated use `CreateProjectHasProjectsType$outboundSchema` instead. */
|
|
13641
|
+
export const outboundSchema = CreateProjectHasProjectsType$outboundSchema;
|
|
13642
|
+
}
|
|
13643
|
+
|
|
13644
|
+
/** @internal */
|
|
13645
|
+
export const CreateProjectHasProjectsValue$inboundSchema: z.ZodType<
|
|
13646
|
+
CreateProjectHasProjectsValue,
|
|
13647
|
+
z.ZodTypeDef,
|
|
13648
|
+
unknown
|
|
13649
|
+
> = z.object({
|
|
13650
|
+
eq: z.string(),
|
|
13651
|
+
});
|
|
13652
|
+
|
|
13653
|
+
/** @internal */
|
|
13654
|
+
export type CreateProjectHasProjectsValue$Outbound = {
|
|
13655
|
+
eq: string;
|
|
13656
|
+
};
|
|
13657
|
+
|
|
13658
|
+
/** @internal */
|
|
13659
|
+
export const CreateProjectHasProjectsValue$outboundSchema: z.ZodType<
|
|
13660
|
+
CreateProjectHasProjectsValue$Outbound,
|
|
13661
|
+
z.ZodTypeDef,
|
|
13662
|
+
CreateProjectHasProjectsValue
|
|
13663
|
+
> = z.object({
|
|
13664
|
+
eq: z.string(),
|
|
13665
|
+
});
|
|
13666
|
+
|
|
13667
|
+
/**
|
|
13668
|
+
* @internal
|
|
13669
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13670
|
+
*/
|
|
13671
|
+
export namespace CreateProjectHasProjectsValue$ {
|
|
13672
|
+
/** @deprecated use `CreateProjectHasProjectsValue$inboundSchema` instead. */
|
|
13673
|
+
export const inboundSchema = CreateProjectHasProjectsValue$inboundSchema;
|
|
13674
|
+
/** @deprecated use `CreateProjectHasProjectsValue$outboundSchema` instead. */
|
|
13675
|
+
export const outboundSchema = CreateProjectHasProjectsValue$outboundSchema;
|
|
13676
|
+
/** @deprecated use `CreateProjectHasProjectsValue$Outbound` instead. */
|
|
13677
|
+
export type Outbound = CreateProjectHasProjectsValue$Outbound;
|
|
13678
|
+
}
|
|
13679
|
+
|
|
13680
|
+
export function createProjectHasProjectsValueToJSON(
|
|
13681
|
+
createProjectHasProjectsValue: CreateProjectHasProjectsValue,
|
|
13682
|
+
): string {
|
|
13683
|
+
return JSON.stringify(
|
|
13684
|
+
CreateProjectHasProjectsValue$outboundSchema.parse(
|
|
13685
|
+
createProjectHasProjectsValue,
|
|
13686
|
+
),
|
|
13687
|
+
);
|
|
13688
|
+
}
|
|
13689
|
+
|
|
13690
|
+
export function createProjectHasProjectsValueFromJSON(
|
|
13691
|
+
jsonString: string,
|
|
13692
|
+
): SafeParseResult<CreateProjectHasProjectsValue, SDKValidationError> {
|
|
13693
|
+
return safeParse(
|
|
13694
|
+
jsonString,
|
|
13695
|
+
(x) => CreateProjectHasProjectsValue$inboundSchema.parse(JSON.parse(x)),
|
|
13696
|
+
`Failed to parse 'CreateProjectHasProjectsValue' from JSON`,
|
|
13697
|
+
);
|
|
13698
|
+
}
|
|
13699
|
+
|
|
13700
|
+
/** @internal */
|
|
13701
|
+
export const CreateProjectHas2$inboundSchema: z.ZodType<
|
|
13702
|
+
CreateProjectHas2,
|
|
13703
|
+
z.ZodTypeDef,
|
|
13704
|
+
unknown
|
|
13705
|
+
> = z.object({
|
|
13706
|
+
type: CreateProjectHasProjectsType$inboundSchema,
|
|
13707
|
+
value: z.lazy(() => CreateProjectHasProjectsValue$inboundSchema),
|
|
13708
|
+
});
|
|
13709
|
+
|
|
13710
|
+
/** @internal */
|
|
13711
|
+
export type CreateProjectHas2$Outbound = {
|
|
13712
|
+
type: string;
|
|
13713
|
+
value: CreateProjectHasProjectsValue$Outbound;
|
|
13714
|
+
};
|
|
13715
|
+
|
|
13716
|
+
/** @internal */
|
|
13717
|
+
export const CreateProjectHas2$outboundSchema: z.ZodType<
|
|
13718
|
+
CreateProjectHas2$Outbound,
|
|
13719
|
+
z.ZodTypeDef,
|
|
13720
|
+
CreateProjectHas2
|
|
13721
|
+
> = z.object({
|
|
13722
|
+
type: CreateProjectHasProjectsType$outboundSchema,
|
|
13723
|
+
value: z.lazy(() => CreateProjectHasProjectsValue$outboundSchema),
|
|
13724
|
+
});
|
|
13725
|
+
|
|
13726
|
+
/**
|
|
13727
|
+
* @internal
|
|
13728
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13729
|
+
*/
|
|
13730
|
+
export namespace CreateProjectHas2$ {
|
|
13731
|
+
/** @deprecated use `CreateProjectHas2$inboundSchema` instead. */
|
|
13732
|
+
export const inboundSchema = CreateProjectHas2$inboundSchema;
|
|
13733
|
+
/** @deprecated use `CreateProjectHas2$outboundSchema` instead. */
|
|
13734
|
+
export const outboundSchema = CreateProjectHas2$outboundSchema;
|
|
13735
|
+
/** @deprecated use `CreateProjectHas2$Outbound` instead. */
|
|
13736
|
+
export type Outbound = CreateProjectHas2$Outbound;
|
|
13737
|
+
}
|
|
13738
|
+
|
|
13739
|
+
export function createProjectHas2ToJSON(
|
|
13740
|
+
createProjectHas2: CreateProjectHas2,
|
|
13741
|
+
): string {
|
|
13742
|
+
return JSON.stringify(
|
|
13743
|
+
CreateProjectHas2$outboundSchema.parse(createProjectHas2),
|
|
13744
|
+
);
|
|
13745
|
+
}
|
|
13746
|
+
|
|
13747
|
+
export function createProjectHas2FromJSON(
|
|
13748
|
+
jsonString: string,
|
|
13749
|
+
): SafeParseResult<CreateProjectHas2, SDKValidationError> {
|
|
13750
|
+
return safeParse(
|
|
13751
|
+
jsonString,
|
|
13752
|
+
(x) => CreateProjectHas2$inboundSchema.parse(JSON.parse(x)),
|
|
13753
|
+
`Failed to parse 'CreateProjectHas2' from JSON`,
|
|
13754
|
+
);
|
|
13755
|
+
}
|
|
13756
|
+
|
|
13757
|
+
/** @internal */
|
|
13758
|
+
export const CreateProjectHasType$inboundSchema: z.ZodNativeEnum<
|
|
13759
|
+
typeof CreateProjectHasType
|
|
13760
|
+
> = z.nativeEnum(CreateProjectHasType);
|
|
13761
|
+
|
|
13762
|
+
/** @internal */
|
|
13763
|
+
export const CreateProjectHasType$outboundSchema: z.ZodNativeEnum<
|
|
13764
|
+
typeof CreateProjectHasType
|
|
13765
|
+
> = CreateProjectHasType$inboundSchema;
|
|
13766
|
+
|
|
13767
|
+
/**
|
|
13768
|
+
* @internal
|
|
13769
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13770
|
+
*/
|
|
13771
|
+
export namespace CreateProjectHasType$ {
|
|
13772
|
+
/** @deprecated use `CreateProjectHasType$inboundSchema` instead. */
|
|
13773
|
+
export const inboundSchema = CreateProjectHasType$inboundSchema;
|
|
13774
|
+
/** @deprecated use `CreateProjectHasType$outboundSchema` instead. */
|
|
13775
|
+
export const outboundSchema = CreateProjectHasType$outboundSchema;
|
|
13776
|
+
}
|
|
13777
|
+
|
|
13778
|
+
/** @internal */
|
|
13779
|
+
export const HasKey$inboundSchema: z.ZodNativeEnum<typeof HasKey> = z
|
|
13780
|
+
.nativeEnum(HasKey);
|
|
13781
|
+
|
|
13782
|
+
/** @internal */
|
|
13783
|
+
export const HasKey$outboundSchema: z.ZodNativeEnum<typeof HasKey> =
|
|
13784
|
+
HasKey$inboundSchema;
|
|
13785
|
+
|
|
13786
|
+
/**
|
|
13787
|
+
* @internal
|
|
13788
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13789
|
+
*/
|
|
13790
|
+
export namespace HasKey$ {
|
|
13791
|
+
/** @deprecated use `HasKey$inboundSchema` instead. */
|
|
13792
|
+
export const inboundSchema = HasKey$inboundSchema;
|
|
13793
|
+
/** @deprecated use `HasKey$outboundSchema` instead. */
|
|
13794
|
+
export const outboundSchema = HasKey$outboundSchema;
|
|
13795
|
+
}
|
|
13796
|
+
|
|
13797
|
+
/** @internal */
|
|
13798
|
+
export const CreateProjectHasValue$inboundSchema: z.ZodType<
|
|
13799
|
+
CreateProjectHasValue,
|
|
13800
|
+
z.ZodTypeDef,
|
|
13801
|
+
unknown
|
|
13802
|
+
> = z.object({
|
|
13803
|
+
eq: z.string(),
|
|
13804
|
+
});
|
|
13805
|
+
|
|
13806
|
+
/** @internal */
|
|
13807
|
+
export type CreateProjectHasValue$Outbound = {
|
|
13808
|
+
eq: string;
|
|
13809
|
+
};
|
|
13810
|
+
|
|
13811
|
+
/** @internal */
|
|
13812
|
+
export const CreateProjectHasValue$outboundSchema: z.ZodType<
|
|
13813
|
+
CreateProjectHasValue$Outbound,
|
|
13814
|
+
z.ZodTypeDef,
|
|
13815
|
+
CreateProjectHasValue
|
|
13816
|
+
> = z.object({
|
|
13817
|
+
eq: z.string(),
|
|
13818
|
+
});
|
|
13819
|
+
|
|
13820
|
+
/**
|
|
13821
|
+
* @internal
|
|
13822
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13823
|
+
*/
|
|
13824
|
+
export namespace CreateProjectHasValue$ {
|
|
13825
|
+
/** @deprecated use `CreateProjectHasValue$inboundSchema` instead. */
|
|
13826
|
+
export const inboundSchema = CreateProjectHasValue$inboundSchema;
|
|
13827
|
+
/** @deprecated use `CreateProjectHasValue$outboundSchema` instead. */
|
|
13828
|
+
export const outboundSchema = CreateProjectHasValue$outboundSchema;
|
|
13829
|
+
/** @deprecated use `CreateProjectHasValue$Outbound` instead. */
|
|
13830
|
+
export type Outbound = CreateProjectHasValue$Outbound;
|
|
13831
|
+
}
|
|
13832
|
+
|
|
13833
|
+
export function createProjectHasValueToJSON(
|
|
13834
|
+
createProjectHasValue: CreateProjectHasValue,
|
|
13835
|
+
): string {
|
|
13836
|
+
return JSON.stringify(
|
|
13837
|
+
CreateProjectHasValue$outboundSchema.parse(createProjectHasValue),
|
|
13838
|
+
);
|
|
13839
|
+
}
|
|
13840
|
+
|
|
13841
|
+
export function createProjectHasValueFromJSON(
|
|
13842
|
+
jsonString: string,
|
|
13843
|
+
): SafeParseResult<CreateProjectHasValue, SDKValidationError> {
|
|
13844
|
+
return safeParse(
|
|
13845
|
+
jsonString,
|
|
13846
|
+
(x) => CreateProjectHasValue$inboundSchema.parse(JSON.parse(x)),
|
|
13847
|
+
`Failed to parse 'CreateProjectHasValue' from JSON`,
|
|
13848
|
+
);
|
|
13849
|
+
}
|
|
13850
|
+
|
|
13851
|
+
/** @internal */
|
|
13852
|
+
export const CreateProjectHas1$inboundSchema: z.ZodType<
|
|
13853
|
+
CreateProjectHas1,
|
|
13854
|
+
z.ZodTypeDef,
|
|
13855
|
+
unknown
|
|
13856
|
+
> = z.object({
|
|
13857
|
+
type: CreateProjectHasType$inboundSchema,
|
|
13858
|
+
key: HasKey$inboundSchema,
|
|
13859
|
+
value: z.lazy(() => CreateProjectHasValue$inboundSchema),
|
|
13860
|
+
});
|
|
13861
|
+
|
|
13862
|
+
/** @internal */
|
|
13863
|
+
export type CreateProjectHas1$Outbound = {
|
|
13864
|
+
type: string;
|
|
13865
|
+
key: string;
|
|
13866
|
+
value: CreateProjectHasValue$Outbound;
|
|
13867
|
+
};
|
|
13868
|
+
|
|
13869
|
+
/** @internal */
|
|
13870
|
+
export const CreateProjectHas1$outboundSchema: z.ZodType<
|
|
13871
|
+
CreateProjectHas1$Outbound,
|
|
13872
|
+
z.ZodTypeDef,
|
|
13873
|
+
CreateProjectHas1
|
|
13874
|
+
> = z.object({
|
|
13875
|
+
type: CreateProjectHasType$outboundSchema,
|
|
13876
|
+
key: HasKey$outboundSchema,
|
|
13877
|
+
value: z.lazy(() => CreateProjectHasValue$outboundSchema),
|
|
13878
|
+
});
|
|
13879
|
+
|
|
13880
|
+
/**
|
|
13881
|
+
* @internal
|
|
13882
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13883
|
+
*/
|
|
13884
|
+
export namespace CreateProjectHas1$ {
|
|
13885
|
+
/** @deprecated use `CreateProjectHas1$inboundSchema` instead. */
|
|
13886
|
+
export const inboundSchema = CreateProjectHas1$inboundSchema;
|
|
13887
|
+
/** @deprecated use `CreateProjectHas1$outboundSchema` instead. */
|
|
13888
|
+
export const outboundSchema = CreateProjectHas1$outboundSchema;
|
|
13889
|
+
/** @deprecated use `CreateProjectHas1$Outbound` instead. */
|
|
13890
|
+
export type Outbound = CreateProjectHas1$Outbound;
|
|
13891
|
+
}
|
|
13892
|
+
|
|
13893
|
+
export function createProjectHas1ToJSON(
|
|
13894
|
+
createProjectHas1: CreateProjectHas1,
|
|
13895
|
+
): string {
|
|
13896
|
+
return JSON.stringify(
|
|
13897
|
+
CreateProjectHas1$outboundSchema.parse(createProjectHas1),
|
|
13898
|
+
);
|
|
13899
|
+
}
|
|
13900
|
+
|
|
13901
|
+
export function createProjectHas1FromJSON(
|
|
13902
|
+
jsonString: string,
|
|
13903
|
+
): SafeParseResult<CreateProjectHas1, SDKValidationError> {
|
|
13904
|
+
return safeParse(
|
|
13905
|
+
jsonString,
|
|
13906
|
+
(x) => CreateProjectHas1$inboundSchema.parse(JSON.parse(x)),
|
|
13907
|
+
`Failed to parse 'CreateProjectHas1' from JSON`,
|
|
13908
|
+
);
|
|
13909
|
+
}
|
|
13910
|
+
|
|
13911
|
+
/** @internal */
|
|
13912
|
+
export const InternalRoutesHas$inboundSchema: z.ZodType<
|
|
13913
|
+
InternalRoutesHas,
|
|
13914
|
+
z.ZodTypeDef,
|
|
13915
|
+
unknown
|
|
13916
|
+
> = z.union([
|
|
13917
|
+
z.lazy(() => CreateProjectHas1$inboundSchema),
|
|
13918
|
+
z.lazy(() => CreateProjectHas2$inboundSchema),
|
|
13919
|
+
]);
|
|
13920
|
+
|
|
13921
|
+
/** @internal */
|
|
13922
|
+
export type InternalRoutesHas$Outbound =
|
|
13923
|
+
| CreateProjectHas1$Outbound
|
|
13924
|
+
| CreateProjectHas2$Outbound;
|
|
13925
|
+
|
|
13926
|
+
/** @internal */
|
|
13927
|
+
export const InternalRoutesHas$outboundSchema: z.ZodType<
|
|
13928
|
+
InternalRoutesHas$Outbound,
|
|
13929
|
+
z.ZodTypeDef,
|
|
13930
|
+
InternalRoutesHas
|
|
13931
|
+
> = z.union([
|
|
13932
|
+
z.lazy(() => CreateProjectHas1$outboundSchema),
|
|
13933
|
+
z.lazy(() => CreateProjectHas2$outboundSchema),
|
|
13934
|
+
]);
|
|
13935
|
+
|
|
13936
|
+
/**
|
|
13937
|
+
* @internal
|
|
13938
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13939
|
+
*/
|
|
13940
|
+
export namespace InternalRoutesHas$ {
|
|
13941
|
+
/** @deprecated use `InternalRoutesHas$inboundSchema` instead. */
|
|
13942
|
+
export const inboundSchema = InternalRoutesHas$inboundSchema;
|
|
13943
|
+
/** @deprecated use `InternalRoutesHas$outboundSchema` instead. */
|
|
13944
|
+
export const outboundSchema = InternalRoutesHas$outboundSchema;
|
|
13945
|
+
/** @deprecated use `InternalRoutesHas$Outbound` instead. */
|
|
13946
|
+
export type Outbound = InternalRoutesHas$Outbound;
|
|
13947
|
+
}
|
|
13948
|
+
|
|
13949
|
+
export function internalRoutesHasToJSON(
|
|
13950
|
+
internalRoutesHas: InternalRoutesHas,
|
|
13951
|
+
): string {
|
|
13952
|
+
return JSON.stringify(
|
|
13953
|
+
InternalRoutesHas$outboundSchema.parse(internalRoutesHas),
|
|
13954
|
+
);
|
|
13955
|
+
}
|
|
13956
|
+
|
|
13957
|
+
export function internalRoutesHasFromJSON(
|
|
13958
|
+
jsonString: string,
|
|
13959
|
+
): SafeParseResult<InternalRoutesHas, SDKValidationError> {
|
|
13960
|
+
return safeParse(
|
|
13961
|
+
jsonString,
|
|
13962
|
+
(x) => InternalRoutesHas$inboundSchema.parse(JSON.parse(x)),
|
|
13963
|
+
`Failed to parse 'InternalRoutesHas' from JSON`,
|
|
13964
|
+
);
|
|
13965
|
+
}
|
|
13966
|
+
|
|
13967
|
+
/** @internal */
|
|
13968
|
+
export const CreateProjectInternalRoutesAction$inboundSchema: z.ZodNativeEnum<
|
|
13969
|
+
typeof CreateProjectInternalRoutesAction
|
|
13970
|
+
> = z.nativeEnum(CreateProjectInternalRoutesAction);
|
|
13971
|
+
|
|
13972
|
+
/** @internal */
|
|
13973
|
+
export const CreateProjectInternalRoutesAction$outboundSchema: z.ZodNativeEnum<
|
|
13974
|
+
typeof CreateProjectInternalRoutesAction
|
|
13975
|
+
> = CreateProjectInternalRoutesAction$inboundSchema;
|
|
13976
|
+
|
|
13977
|
+
/**
|
|
13978
|
+
* @internal
|
|
13979
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13980
|
+
*/
|
|
13981
|
+
export namespace CreateProjectInternalRoutesAction$ {
|
|
13982
|
+
/** @deprecated use `CreateProjectInternalRoutesAction$inboundSchema` instead. */
|
|
13983
|
+
export const inboundSchema = CreateProjectInternalRoutesAction$inboundSchema;
|
|
13984
|
+
/** @deprecated use `CreateProjectInternalRoutesAction$outboundSchema` instead. */
|
|
13985
|
+
export const outboundSchema =
|
|
13986
|
+
CreateProjectInternalRoutesAction$outboundSchema;
|
|
13987
|
+
}
|
|
13988
|
+
|
|
13989
|
+
/** @internal */
|
|
13990
|
+
export const InternalRoutesMitigate$inboundSchema: z.ZodType<
|
|
13991
|
+
InternalRoutesMitigate,
|
|
13992
|
+
z.ZodTypeDef,
|
|
13993
|
+
unknown
|
|
13994
|
+
> = z.object({
|
|
13995
|
+
action: CreateProjectInternalRoutesAction$inboundSchema,
|
|
13996
|
+
});
|
|
13997
|
+
|
|
13998
|
+
/** @internal */
|
|
13999
|
+
export type InternalRoutesMitigate$Outbound = {
|
|
14000
|
+
action: string;
|
|
14001
|
+
};
|
|
14002
|
+
|
|
14003
|
+
/** @internal */
|
|
14004
|
+
export const InternalRoutesMitigate$outboundSchema: z.ZodType<
|
|
14005
|
+
InternalRoutesMitigate$Outbound,
|
|
14006
|
+
z.ZodTypeDef,
|
|
14007
|
+
InternalRoutesMitigate
|
|
14008
|
+
> = z.object({
|
|
14009
|
+
action: CreateProjectInternalRoutesAction$outboundSchema,
|
|
14010
|
+
});
|
|
14011
|
+
|
|
14012
|
+
/**
|
|
14013
|
+
* @internal
|
|
14014
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
14015
|
+
*/
|
|
14016
|
+
export namespace InternalRoutesMitigate$ {
|
|
14017
|
+
/** @deprecated use `InternalRoutesMitigate$inboundSchema` instead. */
|
|
14018
|
+
export const inboundSchema = InternalRoutesMitigate$inboundSchema;
|
|
14019
|
+
/** @deprecated use `InternalRoutesMitigate$outboundSchema` instead. */
|
|
14020
|
+
export const outboundSchema = InternalRoutesMitigate$outboundSchema;
|
|
14021
|
+
/** @deprecated use `InternalRoutesMitigate$Outbound` instead. */
|
|
14022
|
+
export type Outbound = InternalRoutesMitigate$Outbound;
|
|
14023
|
+
}
|
|
14024
|
+
|
|
14025
|
+
export function internalRoutesMitigateToJSON(
|
|
14026
|
+
internalRoutesMitigate: InternalRoutesMitigate,
|
|
14027
|
+
): string {
|
|
14028
|
+
return JSON.stringify(
|
|
14029
|
+
InternalRoutesMitigate$outboundSchema.parse(internalRoutesMitigate),
|
|
14030
|
+
);
|
|
14031
|
+
}
|
|
14032
|
+
|
|
14033
|
+
export function internalRoutesMitigateFromJSON(
|
|
14034
|
+
jsonString: string,
|
|
14035
|
+
): SafeParseResult<InternalRoutesMitigate, SDKValidationError> {
|
|
14036
|
+
return safeParse(
|
|
14037
|
+
jsonString,
|
|
14038
|
+
(x) => InternalRoutesMitigate$inboundSchema.parse(JSON.parse(x)),
|
|
14039
|
+
`Failed to parse 'InternalRoutesMitigate' from JSON`,
|
|
14040
|
+
);
|
|
14041
|
+
}
|
|
14042
|
+
|
|
14043
|
+
/** @internal */
|
|
14044
|
+
export const CreateProjectInternalRoutes2$inboundSchema: z.ZodType<
|
|
14045
|
+
CreateProjectInternalRoutes2,
|
|
14046
|
+
z.ZodTypeDef,
|
|
14047
|
+
unknown
|
|
14048
|
+
> = z.object({
|
|
14049
|
+
has: z.array(
|
|
14050
|
+
z.union([
|
|
14051
|
+
z.lazy(() => CreateProjectHas1$inboundSchema),
|
|
14052
|
+
z.lazy(() => CreateProjectHas2$inboundSchema),
|
|
14053
|
+
]),
|
|
14054
|
+
),
|
|
14055
|
+
mitigate: z.lazy(() => InternalRoutesMitigate$inboundSchema),
|
|
14056
|
+
src: z.string().optional(),
|
|
14057
|
+
});
|
|
14058
|
+
|
|
14059
|
+
/** @internal */
|
|
14060
|
+
export type CreateProjectInternalRoutes2$Outbound = {
|
|
14061
|
+
has: Array<CreateProjectHas1$Outbound | CreateProjectHas2$Outbound>;
|
|
14062
|
+
mitigate: InternalRoutesMitigate$Outbound;
|
|
14063
|
+
src?: string | undefined;
|
|
14064
|
+
};
|
|
14065
|
+
|
|
14066
|
+
/** @internal */
|
|
14067
|
+
export const CreateProjectInternalRoutes2$outboundSchema: z.ZodType<
|
|
14068
|
+
CreateProjectInternalRoutes2$Outbound,
|
|
14069
|
+
z.ZodTypeDef,
|
|
14070
|
+
CreateProjectInternalRoutes2
|
|
14071
|
+
> = z.object({
|
|
14072
|
+
has: z.array(
|
|
14073
|
+
z.union([
|
|
14074
|
+
z.lazy(() => CreateProjectHas1$outboundSchema),
|
|
14075
|
+
z.lazy(() => CreateProjectHas2$outboundSchema),
|
|
14076
|
+
]),
|
|
14077
|
+
),
|
|
14078
|
+
mitigate: z.lazy(() => InternalRoutesMitigate$outboundSchema),
|
|
14079
|
+
src: z.string().optional(),
|
|
14080
|
+
});
|
|
14081
|
+
|
|
14082
|
+
/**
|
|
14083
|
+
* @internal
|
|
14084
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
14085
|
+
*/
|
|
14086
|
+
export namespace CreateProjectInternalRoutes2$ {
|
|
14087
|
+
/** @deprecated use `CreateProjectInternalRoutes2$inboundSchema` instead. */
|
|
14088
|
+
export const inboundSchema = CreateProjectInternalRoutes2$inboundSchema;
|
|
14089
|
+
/** @deprecated use `CreateProjectInternalRoutes2$outboundSchema` instead. */
|
|
14090
|
+
export const outboundSchema = CreateProjectInternalRoutes2$outboundSchema;
|
|
14091
|
+
/** @deprecated use `CreateProjectInternalRoutes2$Outbound` instead. */
|
|
14092
|
+
export type Outbound = CreateProjectInternalRoutes2$Outbound;
|
|
14093
|
+
}
|
|
14094
|
+
|
|
14095
|
+
export function createProjectInternalRoutes2ToJSON(
|
|
14096
|
+
createProjectInternalRoutes2: CreateProjectInternalRoutes2,
|
|
14097
|
+
): string {
|
|
14098
|
+
return JSON.stringify(
|
|
14099
|
+
CreateProjectInternalRoutes2$outboundSchema.parse(
|
|
14100
|
+
createProjectInternalRoutes2,
|
|
14101
|
+
),
|
|
14102
|
+
);
|
|
14103
|
+
}
|
|
14104
|
+
|
|
14105
|
+
export function createProjectInternalRoutes2FromJSON(
|
|
14106
|
+
jsonString: string,
|
|
14107
|
+
): SafeParseResult<CreateProjectInternalRoutes2, SDKValidationError> {
|
|
14108
|
+
return safeParse(
|
|
14109
|
+
jsonString,
|
|
14110
|
+
(x) => CreateProjectInternalRoutes2$inboundSchema.parse(JSON.parse(x)),
|
|
14111
|
+
`Failed to parse 'CreateProjectInternalRoutes2' from JSON`,
|
|
14112
|
+
);
|
|
14113
|
+
}
|
|
14114
|
+
|
|
14115
|
+
/** @internal */
|
|
14116
|
+
export const CreateProjectInternalRoutes1$inboundSchema: z.ZodType<
|
|
14117
|
+
CreateProjectInternalRoutes1,
|
|
14118
|
+
z.ZodTypeDef,
|
|
14119
|
+
unknown
|
|
14120
|
+
> = z.object({
|
|
14121
|
+
src: z.string(),
|
|
14122
|
+
status: z.number(),
|
|
14123
|
+
});
|
|
14124
|
+
|
|
14125
|
+
/** @internal */
|
|
14126
|
+
export type CreateProjectInternalRoutes1$Outbound = {
|
|
14127
|
+
src: string;
|
|
14128
|
+
status: number;
|
|
14129
|
+
};
|
|
14130
|
+
|
|
14131
|
+
/** @internal */
|
|
14132
|
+
export const CreateProjectInternalRoutes1$outboundSchema: z.ZodType<
|
|
14133
|
+
CreateProjectInternalRoutes1$Outbound,
|
|
14134
|
+
z.ZodTypeDef,
|
|
14135
|
+
CreateProjectInternalRoutes1
|
|
14136
|
+
> = z.object({
|
|
14137
|
+
src: z.string(),
|
|
14138
|
+
status: z.number(),
|
|
14139
|
+
});
|
|
14140
|
+
|
|
14141
|
+
/**
|
|
14142
|
+
* @internal
|
|
14143
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
14144
|
+
*/
|
|
14145
|
+
export namespace CreateProjectInternalRoutes1$ {
|
|
14146
|
+
/** @deprecated use `CreateProjectInternalRoutes1$inboundSchema` instead. */
|
|
14147
|
+
export const inboundSchema = CreateProjectInternalRoutes1$inboundSchema;
|
|
14148
|
+
/** @deprecated use `CreateProjectInternalRoutes1$outboundSchema` instead. */
|
|
14149
|
+
export const outboundSchema = CreateProjectInternalRoutes1$outboundSchema;
|
|
14150
|
+
/** @deprecated use `CreateProjectInternalRoutes1$Outbound` instead. */
|
|
14151
|
+
export type Outbound = CreateProjectInternalRoutes1$Outbound;
|
|
14152
|
+
}
|
|
14153
|
+
|
|
14154
|
+
export function createProjectInternalRoutes1ToJSON(
|
|
14155
|
+
createProjectInternalRoutes1: CreateProjectInternalRoutes1,
|
|
14156
|
+
): string {
|
|
14157
|
+
return JSON.stringify(
|
|
14158
|
+
CreateProjectInternalRoutes1$outboundSchema.parse(
|
|
14159
|
+
createProjectInternalRoutes1,
|
|
14160
|
+
),
|
|
14161
|
+
);
|
|
14162
|
+
}
|
|
14163
|
+
|
|
14164
|
+
export function createProjectInternalRoutes1FromJSON(
|
|
14165
|
+
jsonString: string,
|
|
14166
|
+
): SafeParseResult<CreateProjectInternalRoutes1, SDKValidationError> {
|
|
14167
|
+
return safeParse(
|
|
14168
|
+
jsonString,
|
|
14169
|
+
(x) => CreateProjectInternalRoutes1$inboundSchema.parse(JSON.parse(x)),
|
|
14170
|
+
`Failed to parse 'CreateProjectInternalRoutes1' from JSON`,
|
|
14171
|
+
);
|
|
14172
|
+
}
|
|
14173
|
+
|
|
14174
|
+
/** @internal */
|
|
14175
|
+
export const CreateProjectInternalRoutes$inboundSchema: z.ZodType<
|
|
14176
|
+
CreateProjectInternalRoutes,
|
|
14177
|
+
z.ZodTypeDef,
|
|
14178
|
+
unknown
|
|
14179
|
+
> = z.union([
|
|
14180
|
+
z.lazy(() => CreateProjectInternalRoutes1$inboundSchema),
|
|
14181
|
+
z.lazy(() => CreateProjectInternalRoutes2$inboundSchema),
|
|
14182
|
+
]);
|
|
14183
|
+
|
|
14184
|
+
/** @internal */
|
|
14185
|
+
export type CreateProjectInternalRoutes$Outbound =
|
|
14186
|
+
| CreateProjectInternalRoutes1$Outbound
|
|
14187
|
+
| CreateProjectInternalRoutes2$Outbound;
|
|
14188
|
+
|
|
14189
|
+
/** @internal */
|
|
14190
|
+
export const CreateProjectInternalRoutes$outboundSchema: z.ZodType<
|
|
14191
|
+
CreateProjectInternalRoutes$Outbound,
|
|
14192
|
+
z.ZodTypeDef,
|
|
14193
|
+
CreateProjectInternalRoutes
|
|
14194
|
+
> = z.union([
|
|
14195
|
+
z.lazy(() => CreateProjectInternalRoutes1$outboundSchema),
|
|
14196
|
+
z.lazy(() => CreateProjectInternalRoutes2$outboundSchema),
|
|
14197
|
+
]);
|
|
14198
|
+
|
|
14199
|
+
/**
|
|
14200
|
+
* @internal
|
|
14201
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
14202
|
+
*/
|
|
14203
|
+
export namespace CreateProjectInternalRoutes$ {
|
|
14204
|
+
/** @deprecated use `CreateProjectInternalRoutes$inboundSchema` instead. */
|
|
14205
|
+
export const inboundSchema = CreateProjectInternalRoutes$inboundSchema;
|
|
14206
|
+
/** @deprecated use `CreateProjectInternalRoutes$outboundSchema` instead. */
|
|
14207
|
+
export const outboundSchema = CreateProjectInternalRoutes$outboundSchema;
|
|
14208
|
+
/** @deprecated use `CreateProjectInternalRoutes$Outbound` instead. */
|
|
14209
|
+
export type Outbound = CreateProjectInternalRoutes$Outbound;
|
|
14210
|
+
}
|
|
14211
|
+
|
|
14212
|
+
export function createProjectInternalRoutesToJSON(
|
|
14213
|
+
createProjectInternalRoutes: CreateProjectInternalRoutes,
|
|
14214
|
+
): string {
|
|
14215
|
+
return JSON.stringify(
|
|
14216
|
+
CreateProjectInternalRoutes$outboundSchema.parse(
|
|
14217
|
+
createProjectInternalRoutes,
|
|
14218
|
+
),
|
|
14219
|
+
);
|
|
14220
|
+
}
|
|
14221
|
+
|
|
14222
|
+
export function createProjectInternalRoutesFromJSON(
|
|
14223
|
+
jsonString: string,
|
|
14224
|
+
): SafeParseResult<CreateProjectInternalRoutes, SDKValidationError> {
|
|
14225
|
+
return safeParse(
|
|
14226
|
+
jsonString,
|
|
14227
|
+
(x) => CreateProjectInternalRoutes$inboundSchema.parse(JSON.parse(x)),
|
|
14228
|
+
`Failed to parse 'CreateProjectInternalRoutes' from JSON`,
|
|
14229
|
+
);
|
|
14230
|
+
}
|
|
14231
|
+
|
|
14232
|
+
/** @internal */
|
|
14233
|
+
export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
14234
|
+
CreateProjectResponseBody,
|
|
14235
|
+
z.ZodTypeDef,
|
|
14236
|
+
unknown
|
|
14237
|
+
> = z.object({
|
|
14238
|
+
accountId: z.string(),
|
|
14239
|
+
analytics: z.lazy(() => CreateProjectAnalytics$inboundSchema).optional(),
|
|
14240
|
+
speedInsights: z.lazy(() => CreateProjectSpeedInsights$inboundSchema)
|
|
14241
|
+
.optional(),
|
|
14242
|
+
autoExposeSystemEnvs: z.boolean().optional(),
|
|
14243
|
+
autoAssignCustomDomains: z.boolean().optional(),
|
|
14244
|
+
autoAssignCustomDomainsUpdatedBy: z.string().optional(),
|
|
14245
|
+
buildCommand: z.nullable(z.string()).optional(),
|
|
14246
|
+
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
14247
|
+
connectConfigurations: z.nullable(
|
|
14248
|
+
z.array(z.lazy(() => CreateProjectConnectConfigurations$inboundSchema)),
|
|
14249
|
+
).optional(),
|
|
14250
|
+
connectConfigurationId: z.nullable(z.string()).optional(),
|
|
14251
|
+
connectBuildsEnabled: z.boolean().optional(),
|
|
14252
|
+
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
14253
|
+
createdAt: z.number().optional(),
|
|
14254
|
+
customerSupportCodeVisibility: z.boolean().optional(),
|
|
14255
|
+
crons: z.lazy(() => CreateProjectCrons$inboundSchema).optional(),
|
|
14256
|
+
dataCache: z.lazy(() => CreateProjectDataCache$inboundSchema).optional(),
|
|
14257
|
+
deploymentExpiration: z.nullable(
|
|
14258
|
+
z.lazy(() => CreateProjectDeploymentExpiration$inboundSchema),
|
|
14259
|
+
).optional(),
|
|
14260
|
+
devCommand: z.nullable(z.string()).optional(),
|
|
14261
|
+
directoryListing: z.boolean(),
|
|
14262
|
+
installCommand: z.nullable(z.string()).optional(),
|
|
14263
|
+
env: z.array(z.lazy(() => CreateProjectEnv$inboundSchema)).optional(),
|
|
14264
|
+
customEnvironments: z.array(
|
|
14265
|
+
z.lazy(() => CreateProjectCustomEnvironments$inboundSchema),
|
|
14266
|
+
).optional(),
|
|
14267
|
+
framework: z.nullable(CreateProjectProjectsFramework$inboundSchema)
|
|
14268
|
+
.optional(),
|
|
14269
|
+
gitForkProtection: z.boolean().optional(),
|
|
14270
|
+
gitLFS: z.boolean().optional(),
|
|
14271
|
+
id: z.string(),
|
|
14272
|
+
ipBuckets: z.array(z.lazy(() => CreateProjectIpBuckets$inboundSchema))
|
|
14273
|
+
.optional(),
|
|
14274
|
+
latestDeployments: z.array(
|
|
14275
|
+
z.lazy(() => CreateProjectLatestDeployments$inboundSchema),
|
|
14276
|
+
).optional(),
|
|
14277
|
+
link: z.union([
|
|
14278
|
+
z.lazy(() => CreateProjectLink4$inboundSchema),
|
|
14279
|
+
z.lazy(() => CreateProjectLink5$inboundSchema),
|
|
14280
|
+
z.lazy(() => CreateProjectLink3$inboundSchema),
|
|
14281
|
+
z.lazy(() => CreateProjectLink1$inboundSchema),
|
|
14282
|
+
z.lazy(() => CreateProjectLink2$inboundSchema),
|
|
14283
|
+
]).optional(),
|
|
14284
|
+
microfrontends: z.union([
|
|
14285
|
+
z.lazy(() => CreateProjectMicrofrontends1$inboundSchema),
|
|
14286
|
+
z.lazy(() => CreateProjectMicrofrontends2$inboundSchema),
|
|
14287
|
+
]).optional(),
|
|
14288
|
+
name: z.string(),
|
|
14289
|
+
nodeVersion: CreateProjectNodeVersion$inboundSchema,
|
|
14290
|
+
optionsAllowlist: z.nullable(
|
|
14291
|
+
z.lazy(() => CreateProjectOptionsAllowlist$inboundSchema),
|
|
14292
|
+
).optional(),
|
|
14293
|
+
outputDirectory: z.nullable(z.string()).optional(),
|
|
14294
|
+
passwordProtection: z.nullable(
|
|
14295
|
+
z.lazy(() => CreateProjectPasswordProtection$inboundSchema),
|
|
14296
|
+
).optional(),
|
|
14297
|
+
productionDeploymentsFastLane: z.boolean().optional(),
|
|
14298
|
+
publicSource: z.nullable(z.boolean()).optional(),
|
|
14299
|
+
resourceConfig: z.lazy(() =>
|
|
14300
|
+
CreateProjectProjectsResourceConfig$inboundSchema
|
|
14301
|
+
),
|
|
14302
|
+
rollbackDescription: z.lazy(() =>
|
|
14303
|
+
CreateProjectRollbackDescription$inboundSchema
|
|
14304
|
+
).optional(),
|
|
14305
|
+
rollingRelease: z.nullable(
|
|
14306
|
+
z.lazy(() => CreateProjectRollingRelease$inboundSchema),
|
|
14307
|
+
).optional(),
|
|
14308
|
+
defaultResourceConfig: z.lazy(() =>
|
|
14309
|
+
CreateProjectDefaultResourceConfig$inboundSchema
|
|
14310
|
+
),
|
|
14311
|
+
rootDirectory: z.nullable(z.string()).optional(),
|
|
14312
|
+
serverlessFunctionZeroConfigFailover: z.boolean().optional(),
|
|
14313
|
+
skewProtectionBoundaryAt: z.number().optional(),
|
|
14314
|
+
skewProtectionMaxAge: z.number().optional(),
|
|
14315
|
+
skipGitConnectDuringLink: z.boolean().optional(),
|
|
14316
|
+
sourceFilesOutsideRootDirectory: z.boolean().optional(),
|
|
14317
|
+
enableAffectedProjectsDeployments: z.boolean().optional(),
|
|
14318
|
+
ssoProtection: z.nullable(
|
|
14319
|
+
z.lazy(() => CreateProjectProjectsSsoProtection$inboundSchema),
|
|
14320
|
+
).optional(),
|
|
14321
|
+
targets: z.record(
|
|
14322
|
+
z.nullable(z.lazy(() => CreateProjectTargets$inboundSchema)),
|
|
14323
|
+
).optional(),
|
|
14324
|
+
transferCompletedAt: z.number().optional(),
|
|
14325
|
+
transferStartedAt: z.number().optional(),
|
|
14326
|
+
transferToAccountId: z.string().optional(),
|
|
14327
|
+
transferredFromAccountId: z.string().optional(),
|
|
14328
|
+
updatedAt: z.number().optional(),
|
|
14329
|
+
live: z.boolean().optional(),
|
|
14330
|
+
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
14331
|
+
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
14332
|
+
permissions: z.lazy(() => CreateProjectPermissions$inboundSchema).optional(),
|
|
14333
|
+
lastRollbackTarget: z.nullable(
|
|
14334
|
+
z.lazy(() => CreateProjectLastRollbackTarget$inboundSchema),
|
|
14335
|
+
).optional(),
|
|
14336
|
+
lastAliasRequest: z.nullable(
|
|
14337
|
+
z.lazy(() => CreateProjectLastAliasRequest$inboundSchema),
|
|
14338
|
+
).optional(),
|
|
14339
|
+
protectionBypass: z.record(
|
|
14340
|
+
z.union([
|
|
14341
|
+
z.lazy(() => CreateProjectProtectionBypass1$inboundSchema),
|
|
14342
|
+
z.lazy(() => CreateProjectProtectionBypass2$inboundSchema),
|
|
14343
|
+
]),
|
|
14344
|
+
).optional(),
|
|
14345
|
+
hasActiveBranches: z.boolean().optional(),
|
|
14346
|
+
trustedIps: z.nullable(
|
|
14347
|
+
z.union([
|
|
14348
|
+
z.lazy(() => CreateProjectTrustedIps1$inboundSchema),
|
|
14349
|
+
z.lazy(() => CreateProjectTrustedIps2$inboundSchema),
|
|
14350
|
+
]),
|
|
14351
|
+
).optional(),
|
|
14352
|
+
gitComments: z.lazy(() => CreateProjectGitComments$inboundSchema).optional(),
|
|
14353
|
+
gitProviderOptions: z.lazy(() =>
|
|
14354
|
+
CreateProjectGitProviderOptions$inboundSchema
|
|
14355
|
+
).optional(),
|
|
14356
|
+
paused: z.boolean().optional(),
|
|
14357
|
+
concurrencyBucketName: z.string().optional(),
|
|
14358
|
+
webAnalytics: z.lazy(() => CreateProjectWebAnalytics$inboundSchema)
|
|
14359
|
+
.optional(),
|
|
14360
|
+
security: z.lazy(() => CreateProjectSecurity$inboundSchema).optional(),
|
|
14361
|
+
oidcTokenConfig: z.lazy(() => CreateProjectOidcTokenConfig$inboundSchema)
|
|
14362
|
+
.optional(),
|
|
14363
|
+
tier: CreateProjectTier$inboundSchema.optional(),
|
|
14364
|
+
features: z.lazy(() => CreateProjectFeatures$inboundSchema).optional(),
|
|
14365
|
+
v0: z.boolean().optional(),
|
|
14366
|
+
abuse: z.lazy(() => CreateProjectAbuse$inboundSchema).optional(),
|
|
14367
|
+
internalRoutes: z.array(
|
|
14368
|
+
z.union([
|
|
14369
|
+
z.lazy(() => CreateProjectInternalRoutes1$inboundSchema),
|
|
14370
|
+
z.lazy(() => CreateProjectInternalRoutes2$inboundSchema),
|
|
14371
|
+
]),
|
|
14372
|
+
).optional(),
|
|
14373
|
+
});
|
|
14374
|
+
|
|
14375
|
+
/** @internal */
|
|
14376
|
+
export type CreateProjectResponseBody$Outbound = {
|
|
14377
|
+
accountId: string;
|
|
14378
|
+
analytics?: CreateProjectAnalytics$Outbound | undefined;
|
|
14379
|
+
speedInsights?: CreateProjectSpeedInsights$Outbound | undefined;
|
|
14380
|
+
autoExposeSystemEnvs?: boolean | undefined;
|
|
14381
|
+
autoAssignCustomDomains?: boolean | undefined;
|
|
14382
|
+
autoAssignCustomDomainsUpdatedBy?: string | undefined;
|
|
14383
|
+
buildCommand?: string | null | undefined;
|
|
14384
|
+
commandForIgnoringBuildStep?: string | null | undefined;
|
|
14385
|
+
connectConfigurations?:
|
|
14386
|
+
| Array<CreateProjectConnectConfigurations$Outbound>
|
|
14387
|
+
| null
|
|
14388
|
+
| undefined;
|
|
14389
|
+
connectConfigurationId?: string | null | undefined;
|
|
14390
|
+
connectBuildsEnabled?: boolean | undefined;
|
|
14391
|
+
passiveConnectConfigurationId?: string | null | undefined;
|
|
14392
|
+
createdAt?: number | undefined;
|
|
14393
|
+
customerSupportCodeVisibility?: boolean | undefined;
|
|
14394
|
+
crons?: CreateProjectCrons$Outbound | undefined;
|
|
14395
|
+
dataCache?: CreateProjectDataCache$Outbound | undefined;
|
|
14396
|
+
deploymentExpiration?:
|
|
14397
|
+
| CreateProjectDeploymentExpiration$Outbound
|
|
14398
|
+
| null
|
|
14399
|
+
| undefined;
|
|
14400
|
+
devCommand?: string | null | undefined;
|
|
14401
|
+
directoryListing: boolean;
|
|
14402
|
+
installCommand?: string | null | undefined;
|
|
14403
|
+
env?: Array<CreateProjectEnv$Outbound> | undefined;
|
|
14404
|
+
customEnvironments?:
|
|
14405
|
+
| Array<CreateProjectCustomEnvironments$Outbound>
|
|
14406
|
+
| undefined;
|
|
14407
|
+
framework?: string | null | undefined;
|
|
14408
|
+
gitForkProtection?: boolean | undefined;
|
|
14409
|
+
gitLFS?: boolean | undefined;
|
|
14410
|
+
id: string;
|
|
14411
|
+
ipBuckets?: Array<CreateProjectIpBuckets$Outbound> | undefined;
|
|
14412
|
+
latestDeployments?:
|
|
14413
|
+
| Array<CreateProjectLatestDeployments$Outbound>
|
|
14414
|
+
| undefined;
|
|
14415
|
+
link?:
|
|
14416
|
+
| CreateProjectLink4$Outbound
|
|
14417
|
+
| CreateProjectLink5$Outbound
|
|
14418
|
+
| CreateProjectLink3$Outbound
|
|
14419
|
+
| CreateProjectLink1$Outbound
|
|
14420
|
+
| CreateProjectLink2$Outbound
|
|
14421
|
+
| undefined;
|
|
14422
|
+
microfrontends?:
|
|
14423
|
+
| CreateProjectMicrofrontends1$Outbound
|
|
14424
|
+
| CreateProjectMicrofrontends2$Outbound
|
|
14425
|
+
| undefined;
|
|
14426
|
+
name: string;
|
|
14427
|
+
nodeVersion: string;
|
|
14428
|
+
optionsAllowlist?: CreateProjectOptionsAllowlist$Outbound | null | undefined;
|
|
14429
|
+
outputDirectory?: string | null | undefined;
|
|
14430
|
+
passwordProtection?:
|
|
14431
|
+
| CreateProjectPasswordProtection$Outbound
|
|
14432
|
+
| null
|
|
14433
|
+
| undefined;
|
|
14434
|
+
productionDeploymentsFastLane?: boolean | undefined;
|
|
14435
|
+
publicSource?: boolean | null | undefined;
|
|
14436
|
+
resourceConfig: CreateProjectProjectsResourceConfig$Outbound;
|
|
14437
|
+
rollbackDescription?: CreateProjectRollbackDescription$Outbound | undefined;
|
|
14438
|
+
rollingRelease?: CreateProjectRollingRelease$Outbound | null | undefined;
|
|
14439
|
+
defaultResourceConfig: CreateProjectDefaultResourceConfig$Outbound;
|
|
14440
|
+
rootDirectory?: string | null | undefined;
|
|
14441
|
+
serverlessFunctionZeroConfigFailover?: boolean | undefined;
|
|
14442
|
+
skewProtectionBoundaryAt?: number | undefined;
|
|
14443
|
+
skewProtectionMaxAge?: number | undefined;
|
|
14444
|
+
skipGitConnectDuringLink?: boolean | undefined;
|
|
14445
|
+
sourceFilesOutsideRootDirectory?: boolean | undefined;
|
|
14446
|
+
enableAffectedProjectsDeployments?: boolean | undefined;
|
|
14447
|
+
ssoProtection?:
|
|
14448
|
+
| CreateProjectProjectsSsoProtection$Outbound
|
|
14449
|
+
| null
|
|
14450
|
+
| undefined;
|
|
14451
|
+
targets?: { [k: string]: CreateProjectTargets$Outbound | null } | undefined;
|
|
11483
14452
|
transferCompletedAt?: number | undefined;
|
|
11484
14453
|
transferStartedAt?: number | undefined;
|
|
11485
14454
|
transferToAccountId?: string | undefined;
|
|
@@ -11515,6 +14484,13 @@ export type CreateProjectResponseBody$Outbound = {
|
|
|
11515
14484
|
tier?: string | undefined;
|
|
11516
14485
|
features?: CreateProjectFeatures$Outbound | undefined;
|
|
11517
14486
|
v0?: boolean | undefined;
|
|
14487
|
+
abuse?: CreateProjectAbuse$Outbound | undefined;
|
|
14488
|
+
internalRoutes?:
|
|
14489
|
+
| Array<
|
|
14490
|
+
| CreateProjectInternalRoutes1$Outbound
|
|
14491
|
+
| CreateProjectInternalRoutes2$Outbound
|
|
14492
|
+
>
|
|
14493
|
+
| undefined;
|
|
11518
14494
|
};
|
|
11519
14495
|
|
|
11520
14496
|
/** @internal */
|
|
@@ -11563,9 +14539,9 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
11563
14539
|
z.lazy(() => CreateProjectLatestDeployments$outboundSchema),
|
|
11564
14540
|
).optional(),
|
|
11565
14541
|
link: z.union([
|
|
11566
|
-
z.lazy(() => CreateProjectLink3$outboundSchema),
|
|
11567
14542
|
z.lazy(() => CreateProjectLink4$outboundSchema),
|
|
11568
14543
|
z.lazy(() => CreateProjectLink5$outboundSchema),
|
|
14544
|
+
z.lazy(() => CreateProjectLink3$outboundSchema),
|
|
11569
14545
|
z.lazy(() => CreateProjectLink1$outboundSchema),
|
|
11570
14546
|
z.lazy(() => CreateProjectLink2$outboundSchema),
|
|
11571
14547
|
]).optional(),
|
|
@@ -11651,6 +14627,13 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
11651
14627
|
tier: CreateProjectTier$outboundSchema.optional(),
|
|
11652
14628
|
features: z.lazy(() => CreateProjectFeatures$outboundSchema).optional(),
|
|
11653
14629
|
v0: z.boolean().optional(),
|
|
14630
|
+
abuse: z.lazy(() => CreateProjectAbuse$outboundSchema).optional(),
|
|
14631
|
+
internalRoutes: z.array(
|
|
14632
|
+
z.union([
|
|
14633
|
+
z.lazy(() => CreateProjectInternalRoutes1$outboundSchema),
|
|
14634
|
+
z.lazy(() => CreateProjectInternalRoutes2$outboundSchema),
|
|
14635
|
+
]),
|
|
14636
|
+
).optional(),
|
|
11654
14637
|
});
|
|
11655
14638
|
|
|
11656
14639
|
/**
|