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