@vercel/sdk 1.10.1 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +816 -1951
- package/bin/mcp-server.js.map +22 -22
- package/esm/__tests__/teams.test.js +2 -2
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/funcs/domainsBuyDomain.js +2 -2
- package/esm/funcs/domainsBuyDomain.js.map +1 -1
- package/esm/funcs/domainsPatchDomain.js +2 -2
- package/esm/funcs/domainsPatchDomain.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 +49 -49
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +53 -55
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +139 -139
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +153 -152
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +189 -741
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +179 -678
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +90 -90
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +101 -102
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +3 -0
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +1 -0
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +33 -585
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +31 -530
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +3 -0
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +1 -0
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/team.d.ts +13 -10
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +6 -5
- package/esm/models/team.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +41 -593
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +43 -561
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +33 -585
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +31 -530
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +154 -124
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +166 -135
- package/esm/models/userevent.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/teams.test.ts +2 -2
- package/src/funcs/domainsBuyDomain.ts +2 -2
- package/src/funcs/domainsPatchDomain.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 +78 -104
- package/src/models/createdeploymentop.ts +332 -335
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +448 -1472
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getdeploymentop.ts +214 -216
- package/src/models/getfirewallconfigop.ts +1 -0
- package/src/models/getprojectsop.ts +202 -1207
- package/src/models/putfirewallconfigop.ts +1 -0
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/team.ts +13 -12
- package/src/models/updateprojectdatacacheop.ts +171 -1168
- package/src/models/updateprojectop.ts +197 -1221
- package/src/models/userevent.ts +309 -236
- package/vercel-spec.json +429 -1834
|
@@ -1498,6 +1498,7 @@ export type GetProjectsPermissions = {
|
|
|
1498
1498
|
observabilityFunnel?: Array<ACLAction> | undefined;
|
|
1499
1499
|
openTelemetryEndpoint?: Array<ACLAction> | undefined;
|
|
1500
1500
|
vercelAppInstallation?: Array<ACLAction> | undefined;
|
|
1501
|
+
vercelAppInstallationRequest?: Array<ACLAction> | undefined;
|
|
1501
1502
|
paymentMethod?: Array<ACLAction> | undefined;
|
|
1502
1503
|
permissions?: Array<ACLAction> | undefined;
|
|
1503
1504
|
postgres?: Array<ACLAction> | undefined;
|
|
@@ -1710,194 +1711,44 @@ export type GetProjectsWebAnalytics = {
|
|
|
1710
1711
|
hasData?: boolean | undefined;
|
|
1711
1712
|
};
|
|
1712
1713
|
|
|
1713
|
-
export type GetProjectsSrc2 = {
|
|
1714
|
-
re?: string | undefined;
|
|
1715
|
-
eq?: string | undefined;
|
|
1716
|
-
neq?: string | undefined;
|
|
1717
|
-
inc?: Array<string> | undefined;
|
|
1718
|
-
ninc?: Array<string> | undefined;
|
|
1719
|
-
pre?: string | undefined;
|
|
1720
|
-
suf?: string | undefined;
|
|
1721
|
-
gt?: number | undefined;
|
|
1722
|
-
gte?: number | undefined;
|
|
1723
|
-
lt?: number | undefined;
|
|
1724
|
-
lte?: number | undefined;
|
|
1725
|
-
};
|
|
1726
|
-
|
|
1727
|
-
export type GetProjectsSrc = GetProjectsSrc2 | string;
|
|
1728
|
-
|
|
1729
|
-
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType =
|
|
1730
|
-
{
|
|
1731
|
-
Path: "path",
|
|
1732
|
-
Host: "host",
|
|
1733
|
-
Method: "method",
|
|
1734
|
-
Header: "header",
|
|
1735
|
-
Cookie: "cookie",
|
|
1736
|
-
Query: "query",
|
|
1737
|
-
IpAddress: "ip_address",
|
|
1738
|
-
Protocol: "protocol",
|
|
1739
|
-
Scheme: "scheme",
|
|
1740
|
-
Environment: "environment",
|
|
1741
|
-
Region: "region",
|
|
1742
|
-
InitialRequestPath: "initial_request_path",
|
|
1743
|
-
} as const;
|
|
1744
|
-
export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType =
|
|
1745
|
-
ClosedEnum<
|
|
1746
|
-
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType
|
|
1747
|
-
>;
|
|
1748
|
-
|
|
1749
|
-
export type GetProjectsValue2 = {
|
|
1750
|
-
re?: string | undefined;
|
|
1751
|
-
eq?: string | undefined;
|
|
1752
|
-
neq?: string | undefined;
|
|
1753
|
-
inc?: Array<string> | undefined;
|
|
1754
|
-
ninc?: Array<string> | undefined;
|
|
1755
|
-
pre?: string | undefined;
|
|
1756
|
-
suf?: string | undefined;
|
|
1757
|
-
gt?: number | undefined;
|
|
1758
|
-
gte?: number | undefined;
|
|
1759
|
-
lt?: number | undefined;
|
|
1760
|
-
lte?: number | undefined;
|
|
1761
|
-
};
|
|
1762
|
-
|
|
1763
|
-
export type GetProjectsValue = GetProjectsValue2 | string;
|
|
1764
|
-
|
|
1765
|
-
export type GetProjectsHas = {
|
|
1766
|
-
type:
|
|
1767
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType;
|
|
1768
|
-
key?: string | undefined;
|
|
1769
|
-
value?: GetProjectsValue2 | string | undefined;
|
|
1770
|
-
};
|
|
1771
|
-
|
|
1772
|
-
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType =
|
|
1773
|
-
{
|
|
1774
|
-
Path: "path",
|
|
1775
|
-
Host: "host",
|
|
1776
|
-
Method: "method",
|
|
1777
|
-
Header: "header",
|
|
1778
|
-
Cookie: "cookie",
|
|
1779
|
-
Query: "query",
|
|
1780
|
-
IpAddress: "ip_address",
|
|
1781
|
-
Protocol: "protocol",
|
|
1782
|
-
Scheme: "scheme",
|
|
1783
|
-
Environment: "environment",
|
|
1784
|
-
Region: "region",
|
|
1785
|
-
InitialRequestPath: "initial_request_path",
|
|
1786
|
-
} as const;
|
|
1787
|
-
export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType =
|
|
1788
|
-
ClosedEnum<
|
|
1789
|
-
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType
|
|
1790
|
-
>;
|
|
1791
|
-
|
|
1792
|
-
export type GetProjectsValueProjects2 = {
|
|
1793
|
-
re?: string | undefined;
|
|
1794
|
-
eq?: string | undefined;
|
|
1795
|
-
neq?: string | undefined;
|
|
1796
|
-
inc?: Array<string> | undefined;
|
|
1797
|
-
ninc?: Array<string> | undefined;
|
|
1798
|
-
pre?: string | undefined;
|
|
1799
|
-
suf?: string | undefined;
|
|
1800
|
-
gt?: number | undefined;
|
|
1801
|
-
gte?: number | undefined;
|
|
1802
|
-
lt?: number | undefined;
|
|
1803
|
-
lte?: number | undefined;
|
|
1804
|
-
};
|
|
1805
|
-
|
|
1806
|
-
export type GetProjectsProjectsValue = GetProjectsValueProjects2 | string;
|
|
1807
|
-
|
|
1808
|
-
export type GetProjectsMissing = {
|
|
1809
|
-
type:
|
|
1810
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType;
|
|
1811
|
-
key?: string | undefined;
|
|
1812
|
-
value?: GetProjectsValueProjects2 | string | undefined;
|
|
1813
|
-
};
|
|
1814
|
-
|
|
1815
|
-
export const GetProjectsHandle = {
|
|
1816
|
-
Init: "init",
|
|
1817
|
-
Finalize: "finalize",
|
|
1818
|
-
} as const;
|
|
1819
|
-
export type GetProjectsHandle = ClosedEnum<typeof GetProjectsHandle>;
|
|
1820
|
-
|
|
1821
1714
|
export const GetProjectsAction = {
|
|
1822
|
-
Deny: "deny",
|
|
1823
|
-
Challenge: "challenge",
|
|
1824
1715
|
Log: "log",
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
Redirect: "redirect",
|
|
1716
|
+
Challenge: "challenge",
|
|
1717
|
+
Deny: "deny",
|
|
1828
1718
|
} as const;
|
|
1829
1719
|
export type GetProjectsAction = ClosedEnum<typeof GetProjectsAction>;
|
|
1830
1720
|
|
|
1831
|
-
export
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
} as const;
|
|
1835
|
-
export type GetProjectsAlgo = ClosedEnum<typeof GetProjectsAlgo>;
|
|
1836
|
-
|
|
1837
|
-
export type GetProjectsErl = {
|
|
1838
|
-
algo: GetProjectsAlgo;
|
|
1839
|
-
window: number;
|
|
1840
|
-
limit: number;
|
|
1841
|
-
keys: Array<string>;
|
|
1842
|
-
};
|
|
1843
|
-
|
|
1844
|
-
export type GetProjectsMitigate = {
|
|
1845
|
-
action: GetProjectsAction;
|
|
1846
|
-
ruleId: string;
|
|
1847
|
-
ttl?: number | undefined;
|
|
1848
|
-
erl?: GetProjectsErl | undefined;
|
|
1849
|
-
};
|
|
1850
|
-
|
|
1851
|
-
export type GetProjectsFirewallRoutes = {
|
|
1852
|
-
src?: GetProjectsSrc2 | string | undefined;
|
|
1853
|
-
has?: Array<GetProjectsHas> | undefined;
|
|
1854
|
-
missing?: Array<GetProjectsMissing> | undefined;
|
|
1855
|
-
dest?: string | undefined;
|
|
1856
|
-
status?: number | undefined;
|
|
1857
|
-
handle?: GetProjectsHandle | undefined;
|
|
1858
|
-
mitigate?: GetProjectsMitigate | undefined;
|
|
1721
|
+
export type GetProjectsBotFilter = {
|
|
1722
|
+
active: boolean;
|
|
1723
|
+
action?: GetProjectsAction | undefined;
|
|
1859
1724
|
};
|
|
1860
1725
|
|
|
1861
1726
|
export const GetProjectsProjectsAction = {
|
|
1862
|
-
Deny: "deny",
|
|
1863
|
-
Challenge: "challenge",
|
|
1864
1727
|
Log: "log",
|
|
1728
|
+
Challenge: "challenge",
|
|
1729
|
+
Deny: "deny",
|
|
1865
1730
|
} as const;
|
|
1866
1731
|
export type GetProjectsProjectsAction = ClosedEnum<
|
|
1867
1732
|
typeof GetProjectsProjectsAction
|
|
1868
1733
|
>;
|
|
1869
1734
|
|
|
1870
|
-
export type
|
|
1735
|
+
export type GetProjectsAiBots = {
|
|
1871
1736
|
active: boolean;
|
|
1872
1737
|
action?: GetProjectsProjectsAction | undefined;
|
|
1873
1738
|
};
|
|
1874
1739
|
|
|
1875
1740
|
export const GetProjectsProjectsResponseAction = {
|
|
1876
|
-
Deny: "deny",
|
|
1877
|
-
Challenge: "challenge",
|
|
1878
1741
|
Log: "log",
|
|
1742
|
+
Challenge: "challenge",
|
|
1743
|
+
Deny: "deny",
|
|
1879
1744
|
} as const;
|
|
1880
1745
|
export type GetProjectsProjectsResponseAction = ClosedEnum<
|
|
1881
1746
|
typeof GetProjectsProjectsResponseAction
|
|
1882
1747
|
>;
|
|
1883
1748
|
|
|
1884
|
-
export type GetProjectsAiBots = {
|
|
1885
|
-
active: boolean;
|
|
1886
|
-
action?: GetProjectsProjectsResponseAction | undefined;
|
|
1887
|
-
};
|
|
1888
|
-
|
|
1889
|
-
export const GetProjectsProjectsResponse200Action = {
|
|
1890
|
-
Deny: "deny",
|
|
1891
|
-
Challenge: "challenge",
|
|
1892
|
-
Log: "log",
|
|
1893
|
-
} as const;
|
|
1894
|
-
export type GetProjectsProjectsResponse200Action = ClosedEnum<
|
|
1895
|
-
typeof GetProjectsProjectsResponse200Action
|
|
1896
|
-
>;
|
|
1897
|
-
|
|
1898
1749
|
export type GetProjectsOwasp = {
|
|
1899
1750
|
active: boolean;
|
|
1900
|
-
action?:
|
|
1751
|
+
action?: GetProjectsProjectsResponseAction | undefined;
|
|
1901
1752
|
};
|
|
1902
1753
|
|
|
1903
1754
|
export type GetProjectsManagedRules = {
|
|
@@ -1913,7 +1764,6 @@ export type GetProjectsSecurity = {
|
|
|
1913
1764
|
firewallUpdatedAt?: number | undefined;
|
|
1914
1765
|
attackModeActiveUntil?: number | null | undefined;
|
|
1915
1766
|
firewallConfigVersion?: number | undefined;
|
|
1916
|
-
firewallRoutes?: Array<GetProjectsFirewallRoutes> | undefined;
|
|
1917
1767
|
firewallSeawallEnabled?: boolean | undefined;
|
|
1918
1768
|
ja3Enabled?: boolean | undefined;
|
|
1919
1769
|
ja4Enabled?: boolean | undefined;
|
|
@@ -8418,6 +8268,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
|
|
|
8418
8268
|
observabilityFunnel: z.array(ACLAction$inboundSchema).optional(),
|
|
8419
8269
|
openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
|
|
8420
8270
|
vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(),
|
|
8271
|
+
vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(),
|
|
8421
8272
|
paymentMethod: z.array(ACLAction$inboundSchema).optional(),
|
|
8422
8273
|
permissions: z.array(ACLAction$inboundSchema).optional(),
|
|
8423
8274
|
postgres: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -8638,6 +8489,7 @@ export type GetProjectsPermissions$Outbound = {
|
|
|
8638
8489
|
observabilityFunnel?: Array<string> | undefined;
|
|
8639
8490
|
openTelemetryEndpoint?: Array<string> | undefined;
|
|
8640
8491
|
vercelAppInstallation?: Array<string> | undefined;
|
|
8492
|
+
vercelAppInstallationRequest?: Array<string> | undefined;
|
|
8641
8493
|
paymentMethod?: Array<string> | undefined;
|
|
8642
8494
|
permissions?: Array<string> | undefined;
|
|
8643
8495
|
postgres?: Array<string> | undefined;
|
|
@@ -8863,6 +8715,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
|
|
|
8863
8715
|
observabilityFunnel: z.array(ACLAction$outboundSchema).optional(),
|
|
8864
8716
|
openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
|
|
8865
8717
|
vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(),
|
|
8718
|
+
vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(),
|
|
8866
8719
|
paymentMethod: z.array(ACLAction$outboundSchema).optional(),
|
|
8867
8720
|
permissions: z.array(ACLAction$outboundSchema).optional(),
|
|
8868
8721
|
postgres: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -9859,1165 +9712,313 @@ export function getProjectsWebAnalyticsFromJSON(
|
|
|
9859
9712
|
}
|
|
9860
9713
|
|
|
9861
9714
|
/** @internal */
|
|
9862
|
-
export const
|
|
9863
|
-
|
|
9715
|
+
export const GetProjectsAction$inboundSchema: z.ZodNativeEnum<
|
|
9716
|
+
typeof GetProjectsAction
|
|
9717
|
+
> = z.nativeEnum(GetProjectsAction);
|
|
9718
|
+
|
|
9719
|
+
/** @internal */
|
|
9720
|
+
export const GetProjectsAction$outboundSchema: z.ZodNativeEnum<
|
|
9721
|
+
typeof GetProjectsAction
|
|
9722
|
+
> = GetProjectsAction$inboundSchema;
|
|
9723
|
+
|
|
9724
|
+
/**
|
|
9725
|
+
* @internal
|
|
9726
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9727
|
+
*/
|
|
9728
|
+
export namespace GetProjectsAction$ {
|
|
9729
|
+
/** @deprecated use `GetProjectsAction$inboundSchema` instead. */
|
|
9730
|
+
export const inboundSchema = GetProjectsAction$inboundSchema;
|
|
9731
|
+
/** @deprecated use `GetProjectsAction$outboundSchema` instead. */
|
|
9732
|
+
export const outboundSchema = GetProjectsAction$outboundSchema;
|
|
9733
|
+
}
|
|
9734
|
+
|
|
9735
|
+
/** @internal */
|
|
9736
|
+
export const GetProjectsBotFilter$inboundSchema: z.ZodType<
|
|
9737
|
+
GetProjectsBotFilter,
|
|
9864
9738
|
z.ZodTypeDef,
|
|
9865
9739
|
unknown
|
|
9866
9740
|
> = z.object({
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
neq: z.string().optional(),
|
|
9870
|
-
inc: z.array(z.string()).optional(),
|
|
9871
|
-
ninc: z.array(z.string()).optional(),
|
|
9872
|
-
pre: z.string().optional(),
|
|
9873
|
-
suf: z.string().optional(),
|
|
9874
|
-
gt: z.number().optional(),
|
|
9875
|
-
gte: z.number().optional(),
|
|
9876
|
-
lt: z.number().optional(),
|
|
9877
|
-
lte: z.number().optional(),
|
|
9741
|
+
active: z.boolean(),
|
|
9742
|
+
action: GetProjectsAction$inboundSchema.optional(),
|
|
9878
9743
|
});
|
|
9879
9744
|
|
|
9880
9745
|
/** @internal */
|
|
9881
|
-
export type
|
|
9882
|
-
|
|
9883
|
-
|
|
9884
|
-
neq?: string | undefined;
|
|
9885
|
-
inc?: Array<string> | undefined;
|
|
9886
|
-
ninc?: Array<string> | undefined;
|
|
9887
|
-
pre?: string | undefined;
|
|
9888
|
-
suf?: string | undefined;
|
|
9889
|
-
gt?: number | undefined;
|
|
9890
|
-
gte?: number | undefined;
|
|
9891
|
-
lt?: number | undefined;
|
|
9892
|
-
lte?: number | undefined;
|
|
9746
|
+
export type GetProjectsBotFilter$Outbound = {
|
|
9747
|
+
active: boolean;
|
|
9748
|
+
action?: string | undefined;
|
|
9893
9749
|
};
|
|
9894
9750
|
|
|
9895
9751
|
/** @internal */
|
|
9896
|
-
export const
|
|
9897
|
-
|
|
9752
|
+
export const GetProjectsBotFilter$outboundSchema: z.ZodType<
|
|
9753
|
+
GetProjectsBotFilter$Outbound,
|
|
9898
9754
|
z.ZodTypeDef,
|
|
9899
|
-
|
|
9755
|
+
GetProjectsBotFilter
|
|
9900
9756
|
> = z.object({
|
|
9901
|
-
|
|
9902
|
-
|
|
9903
|
-
neq: z.string().optional(),
|
|
9904
|
-
inc: z.array(z.string()).optional(),
|
|
9905
|
-
ninc: z.array(z.string()).optional(),
|
|
9906
|
-
pre: z.string().optional(),
|
|
9907
|
-
suf: z.string().optional(),
|
|
9908
|
-
gt: z.number().optional(),
|
|
9909
|
-
gte: z.number().optional(),
|
|
9910
|
-
lt: z.number().optional(),
|
|
9911
|
-
lte: z.number().optional(),
|
|
9757
|
+
active: z.boolean(),
|
|
9758
|
+
action: GetProjectsAction$outboundSchema.optional(),
|
|
9912
9759
|
});
|
|
9913
9760
|
|
|
9914
9761
|
/**
|
|
9915
9762
|
* @internal
|
|
9916
9763
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9917
9764
|
*/
|
|
9918
|
-
export namespace
|
|
9919
|
-
/** @deprecated use `
|
|
9920
|
-
export const inboundSchema =
|
|
9921
|
-
/** @deprecated use `
|
|
9922
|
-
export const outboundSchema =
|
|
9923
|
-
/** @deprecated use `
|
|
9924
|
-
export type Outbound =
|
|
9765
|
+
export namespace GetProjectsBotFilter$ {
|
|
9766
|
+
/** @deprecated use `GetProjectsBotFilter$inboundSchema` instead. */
|
|
9767
|
+
export const inboundSchema = GetProjectsBotFilter$inboundSchema;
|
|
9768
|
+
/** @deprecated use `GetProjectsBotFilter$outboundSchema` instead. */
|
|
9769
|
+
export const outboundSchema = GetProjectsBotFilter$outboundSchema;
|
|
9770
|
+
/** @deprecated use `GetProjectsBotFilter$Outbound` instead. */
|
|
9771
|
+
export type Outbound = GetProjectsBotFilter$Outbound;
|
|
9925
9772
|
}
|
|
9926
9773
|
|
|
9927
|
-
export function
|
|
9928
|
-
|
|
9774
|
+
export function getProjectsBotFilterToJSON(
|
|
9775
|
+
getProjectsBotFilter: GetProjectsBotFilter,
|
|
9929
9776
|
): string {
|
|
9930
|
-
return JSON.stringify(
|
|
9777
|
+
return JSON.stringify(
|
|
9778
|
+
GetProjectsBotFilter$outboundSchema.parse(getProjectsBotFilter),
|
|
9779
|
+
);
|
|
9931
9780
|
}
|
|
9932
9781
|
|
|
9933
|
-
export function
|
|
9782
|
+
export function getProjectsBotFilterFromJSON(
|
|
9934
9783
|
jsonString: string,
|
|
9935
|
-
): SafeParseResult<
|
|
9784
|
+
): SafeParseResult<GetProjectsBotFilter, SDKValidationError> {
|
|
9936
9785
|
return safeParse(
|
|
9937
9786
|
jsonString,
|
|
9938
|
-
(x) =>
|
|
9939
|
-
`Failed to parse '
|
|
9787
|
+
(x) => GetProjectsBotFilter$inboundSchema.parse(JSON.parse(x)),
|
|
9788
|
+
`Failed to parse 'GetProjectsBotFilter' from JSON`,
|
|
9940
9789
|
);
|
|
9941
9790
|
}
|
|
9942
9791
|
|
|
9943
9792
|
/** @internal */
|
|
9944
|
-
export const
|
|
9945
|
-
|
|
9793
|
+
export const GetProjectsProjectsAction$inboundSchema: z.ZodNativeEnum<
|
|
9794
|
+
typeof GetProjectsProjectsAction
|
|
9795
|
+
> = z.nativeEnum(GetProjectsProjectsAction);
|
|
9796
|
+
|
|
9797
|
+
/** @internal */
|
|
9798
|
+
export const GetProjectsProjectsAction$outboundSchema: z.ZodNativeEnum<
|
|
9799
|
+
typeof GetProjectsProjectsAction
|
|
9800
|
+
> = GetProjectsProjectsAction$inboundSchema;
|
|
9801
|
+
|
|
9802
|
+
/**
|
|
9803
|
+
* @internal
|
|
9804
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9805
|
+
*/
|
|
9806
|
+
export namespace GetProjectsProjectsAction$ {
|
|
9807
|
+
/** @deprecated use `GetProjectsProjectsAction$inboundSchema` instead. */
|
|
9808
|
+
export const inboundSchema = GetProjectsProjectsAction$inboundSchema;
|
|
9809
|
+
/** @deprecated use `GetProjectsProjectsAction$outboundSchema` instead. */
|
|
9810
|
+
export const outboundSchema = GetProjectsProjectsAction$outboundSchema;
|
|
9811
|
+
}
|
|
9812
|
+
|
|
9813
|
+
/** @internal */
|
|
9814
|
+
export const GetProjectsAiBots$inboundSchema: z.ZodType<
|
|
9815
|
+
GetProjectsAiBots,
|
|
9946
9816
|
z.ZodTypeDef,
|
|
9947
9817
|
unknown
|
|
9948
|
-
> = z.
|
|
9818
|
+
> = z.object({
|
|
9819
|
+
active: z.boolean(),
|
|
9820
|
+
action: GetProjectsProjectsAction$inboundSchema.optional(),
|
|
9821
|
+
});
|
|
9949
9822
|
|
|
9950
9823
|
/** @internal */
|
|
9951
|
-
export type
|
|
9824
|
+
export type GetProjectsAiBots$Outbound = {
|
|
9825
|
+
active: boolean;
|
|
9826
|
+
action?: string | undefined;
|
|
9827
|
+
};
|
|
9952
9828
|
|
|
9953
9829
|
/** @internal */
|
|
9954
|
-
export const
|
|
9955
|
-
|
|
9830
|
+
export const GetProjectsAiBots$outboundSchema: z.ZodType<
|
|
9831
|
+
GetProjectsAiBots$Outbound,
|
|
9956
9832
|
z.ZodTypeDef,
|
|
9957
|
-
|
|
9958
|
-
> = z.
|
|
9833
|
+
GetProjectsAiBots
|
|
9834
|
+
> = z.object({
|
|
9835
|
+
active: z.boolean(),
|
|
9836
|
+
action: GetProjectsProjectsAction$outboundSchema.optional(),
|
|
9837
|
+
});
|
|
9959
9838
|
|
|
9960
9839
|
/**
|
|
9961
9840
|
* @internal
|
|
9962
9841
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9963
9842
|
*/
|
|
9964
|
-
export namespace
|
|
9965
|
-
/** @deprecated use `
|
|
9966
|
-
export const inboundSchema =
|
|
9967
|
-
/** @deprecated use `
|
|
9968
|
-
export const outboundSchema =
|
|
9969
|
-
/** @deprecated use `
|
|
9970
|
-
export type Outbound =
|
|
9843
|
+
export namespace GetProjectsAiBots$ {
|
|
9844
|
+
/** @deprecated use `GetProjectsAiBots$inboundSchema` instead. */
|
|
9845
|
+
export const inboundSchema = GetProjectsAiBots$inboundSchema;
|
|
9846
|
+
/** @deprecated use `GetProjectsAiBots$outboundSchema` instead. */
|
|
9847
|
+
export const outboundSchema = GetProjectsAiBots$outboundSchema;
|
|
9848
|
+
/** @deprecated use `GetProjectsAiBots$Outbound` instead. */
|
|
9849
|
+
export type Outbound = GetProjectsAiBots$Outbound;
|
|
9971
9850
|
}
|
|
9972
9851
|
|
|
9973
|
-
export function
|
|
9974
|
-
|
|
9852
|
+
export function getProjectsAiBotsToJSON(
|
|
9853
|
+
getProjectsAiBots: GetProjectsAiBots,
|
|
9854
|
+
): string {
|
|
9855
|
+
return JSON.stringify(
|
|
9856
|
+
GetProjectsAiBots$outboundSchema.parse(getProjectsAiBots),
|
|
9857
|
+
);
|
|
9975
9858
|
}
|
|
9976
9859
|
|
|
9977
|
-
export function
|
|
9860
|
+
export function getProjectsAiBotsFromJSON(
|
|
9978
9861
|
jsonString: string,
|
|
9979
|
-
): SafeParseResult<
|
|
9862
|
+
): SafeParseResult<GetProjectsAiBots, SDKValidationError> {
|
|
9980
9863
|
return safeParse(
|
|
9981
9864
|
jsonString,
|
|
9982
|
-
(x) =>
|
|
9983
|
-
`Failed to parse '
|
|
9865
|
+
(x) => GetProjectsAiBots$inboundSchema.parse(JSON.parse(x)),
|
|
9866
|
+
`Failed to parse 'GetProjectsAiBots' from JSON`,
|
|
9984
9867
|
);
|
|
9985
9868
|
}
|
|
9986
9869
|
|
|
9987
9870
|
/** @internal */
|
|
9988
|
-
export const
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
> = z.nativeEnum(
|
|
9992
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType,
|
|
9993
|
-
);
|
|
9871
|
+
export const GetProjectsProjectsResponseAction$inboundSchema: z.ZodNativeEnum<
|
|
9872
|
+
typeof GetProjectsProjectsResponseAction
|
|
9873
|
+
> = z.nativeEnum(GetProjectsProjectsResponseAction);
|
|
9994
9874
|
|
|
9995
9875
|
/** @internal */
|
|
9996
|
-
export const
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
> =
|
|
10000
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema;
|
|
9876
|
+
export const GetProjectsProjectsResponseAction$outboundSchema: z.ZodNativeEnum<
|
|
9877
|
+
typeof GetProjectsProjectsResponseAction
|
|
9878
|
+
> = GetProjectsProjectsResponseAction$inboundSchema;
|
|
10001
9879
|
|
|
10002
9880
|
/**
|
|
10003
9881
|
* @internal
|
|
10004
9882
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10005
9883
|
*/
|
|
10006
|
-
export namespace
|
|
10007
|
-
/** @deprecated use `
|
|
10008
|
-
export const inboundSchema =
|
|
10009
|
-
|
|
10010
|
-
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema` instead. */
|
|
9884
|
+
export namespace GetProjectsProjectsResponseAction$ {
|
|
9885
|
+
/** @deprecated use `GetProjectsProjectsResponseAction$inboundSchema` instead. */
|
|
9886
|
+
export const inboundSchema = GetProjectsProjectsResponseAction$inboundSchema;
|
|
9887
|
+
/** @deprecated use `GetProjectsProjectsResponseAction$outboundSchema` instead. */
|
|
10011
9888
|
export const outboundSchema =
|
|
10012
|
-
|
|
9889
|
+
GetProjectsProjectsResponseAction$outboundSchema;
|
|
10013
9890
|
}
|
|
10014
9891
|
|
|
10015
9892
|
/** @internal */
|
|
10016
|
-
export const
|
|
10017
|
-
|
|
9893
|
+
export const GetProjectsOwasp$inboundSchema: z.ZodType<
|
|
9894
|
+
GetProjectsOwasp,
|
|
10018
9895
|
z.ZodTypeDef,
|
|
10019
9896
|
unknown
|
|
10020
9897
|
> = z.object({
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
neq: z.string().optional(),
|
|
10024
|
-
inc: z.array(z.string()).optional(),
|
|
10025
|
-
ninc: z.array(z.string()).optional(),
|
|
10026
|
-
pre: z.string().optional(),
|
|
10027
|
-
suf: z.string().optional(),
|
|
10028
|
-
gt: z.number().optional(),
|
|
10029
|
-
gte: z.number().optional(),
|
|
10030
|
-
lt: z.number().optional(),
|
|
10031
|
-
lte: z.number().optional(),
|
|
9898
|
+
active: z.boolean(),
|
|
9899
|
+
action: GetProjectsProjectsResponseAction$inboundSchema.optional(),
|
|
10032
9900
|
});
|
|
10033
9901
|
|
|
10034
9902
|
/** @internal */
|
|
10035
|
-
export type
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
neq?: string | undefined;
|
|
10039
|
-
inc?: Array<string> | undefined;
|
|
10040
|
-
ninc?: Array<string> | undefined;
|
|
10041
|
-
pre?: string | undefined;
|
|
10042
|
-
suf?: string | undefined;
|
|
10043
|
-
gt?: number | undefined;
|
|
10044
|
-
gte?: number | undefined;
|
|
10045
|
-
lt?: number | undefined;
|
|
10046
|
-
lte?: number | undefined;
|
|
9903
|
+
export type GetProjectsOwasp$Outbound = {
|
|
9904
|
+
active: boolean;
|
|
9905
|
+
action?: string | undefined;
|
|
10047
9906
|
};
|
|
10048
9907
|
|
|
10049
9908
|
/** @internal */
|
|
10050
|
-
export const
|
|
10051
|
-
|
|
9909
|
+
export const GetProjectsOwasp$outboundSchema: z.ZodType<
|
|
9910
|
+
GetProjectsOwasp$Outbound,
|
|
10052
9911
|
z.ZodTypeDef,
|
|
10053
|
-
|
|
9912
|
+
GetProjectsOwasp
|
|
10054
9913
|
> = z.object({
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
neq: z.string().optional(),
|
|
10058
|
-
inc: z.array(z.string()).optional(),
|
|
10059
|
-
ninc: z.array(z.string()).optional(),
|
|
10060
|
-
pre: z.string().optional(),
|
|
10061
|
-
suf: z.string().optional(),
|
|
10062
|
-
gt: z.number().optional(),
|
|
10063
|
-
gte: z.number().optional(),
|
|
10064
|
-
lt: z.number().optional(),
|
|
10065
|
-
lte: z.number().optional(),
|
|
9914
|
+
active: z.boolean(),
|
|
9915
|
+
action: GetProjectsProjectsResponseAction$outboundSchema.optional(),
|
|
10066
9916
|
});
|
|
10067
9917
|
|
|
10068
9918
|
/**
|
|
10069
9919
|
* @internal
|
|
10070
9920
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10071
9921
|
*/
|
|
10072
|
-
export namespace
|
|
10073
|
-
/** @deprecated use `
|
|
10074
|
-
export const inboundSchema =
|
|
10075
|
-
/** @deprecated use `
|
|
10076
|
-
export const outboundSchema =
|
|
10077
|
-
/** @deprecated use `
|
|
10078
|
-
export type Outbound =
|
|
9922
|
+
export namespace GetProjectsOwasp$ {
|
|
9923
|
+
/** @deprecated use `GetProjectsOwasp$inboundSchema` instead. */
|
|
9924
|
+
export const inboundSchema = GetProjectsOwasp$inboundSchema;
|
|
9925
|
+
/** @deprecated use `GetProjectsOwasp$outboundSchema` instead. */
|
|
9926
|
+
export const outboundSchema = GetProjectsOwasp$outboundSchema;
|
|
9927
|
+
/** @deprecated use `GetProjectsOwasp$Outbound` instead. */
|
|
9928
|
+
export type Outbound = GetProjectsOwasp$Outbound;
|
|
10079
9929
|
}
|
|
10080
9930
|
|
|
10081
|
-
export function
|
|
10082
|
-
|
|
9931
|
+
export function getProjectsOwaspToJSON(
|
|
9932
|
+
getProjectsOwasp: GetProjectsOwasp,
|
|
10083
9933
|
): string {
|
|
10084
9934
|
return JSON.stringify(
|
|
10085
|
-
|
|
9935
|
+
GetProjectsOwasp$outboundSchema.parse(getProjectsOwasp),
|
|
10086
9936
|
);
|
|
10087
9937
|
}
|
|
10088
9938
|
|
|
10089
|
-
export function
|
|
9939
|
+
export function getProjectsOwaspFromJSON(
|
|
10090
9940
|
jsonString: string,
|
|
10091
|
-
): SafeParseResult<
|
|
9941
|
+
): SafeParseResult<GetProjectsOwasp, SDKValidationError> {
|
|
10092
9942
|
return safeParse(
|
|
10093
9943
|
jsonString,
|
|
10094
|
-
(x) =>
|
|
10095
|
-
`Failed to parse '
|
|
9944
|
+
(x) => GetProjectsOwasp$inboundSchema.parse(JSON.parse(x)),
|
|
9945
|
+
`Failed to parse 'GetProjectsOwasp' from JSON`,
|
|
10096
9946
|
);
|
|
10097
9947
|
}
|
|
10098
9948
|
|
|
10099
9949
|
/** @internal */
|
|
10100
|
-
export const
|
|
10101
|
-
|
|
9950
|
+
export const GetProjectsManagedRules$inboundSchema: z.ZodType<
|
|
9951
|
+
GetProjectsManagedRules,
|
|
10102
9952
|
z.ZodTypeDef,
|
|
10103
9953
|
unknown
|
|
10104
|
-
> = z.
|
|
9954
|
+
> = z.object({
|
|
9955
|
+
bot_filter: z.lazy(() => GetProjectsBotFilter$inboundSchema),
|
|
9956
|
+
ai_bots: z.lazy(() => GetProjectsAiBots$inboundSchema),
|
|
9957
|
+
owasp: z.lazy(() => GetProjectsOwasp$inboundSchema),
|
|
9958
|
+
}).transform((v) => {
|
|
9959
|
+
return remap$(v, {
|
|
9960
|
+
"bot_filter": "botFilter",
|
|
9961
|
+
"ai_bots": "aiBots",
|
|
9962
|
+
});
|
|
9963
|
+
});
|
|
10105
9964
|
|
|
10106
9965
|
/** @internal */
|
|
10107
|
-
export type
|
|
9966
|
+
export type GetProjectsManagedRules$Outbound = {
|
|
9967
|
+
bot_filter: GetProjectsBotFilter$Outbound;
|
|
9968
|
+
ai_bots: GetProjectsAiBots$Outbound;
|
|
9969
|
+
owasp: GetProjectsOwasp$Outbound;
|
|
9970
|
+
};
|
|
10108
9971
|
|
|
10109
9972
|
/** @internal */
|
|
10110
|
-
export const
|
|
10111
|
-
|
|
9973
|
+
export const GetProjectsManagedRules$outboundSchema: z.ZodType<
|
|
9974
|
+
GetProjectsManagedRules$Outbound,
|
|
10112
9975
|
z.ZodTypeDef,
|
|
10113
|
-
|
|
10114
|
-
> = z.
|
|
9976
|
+
GetProjectsManagedRules
|
|
9977
|
+
> = z.object({
|
|
9978
|
+
botFilter: z.lazy(() => GetProjectsBotFilter$outboundSchema),
|
|
9979
|
+
aiBots: z.lazy(() => GetProjectsAiBots$outboundSchema),
|
|
9980
|
+
owasp: z.lazy(() => GetProjectsOwasp$outboundSchema),
|
|
9981
|
+
}).transform((v) => {
|
|
9982
|
+
return remap$(v, {
|
|
9983
|
+
botFilter: "bot_filter",
|
|
9984
|
+
aiBots: "ai_bots",
|
|
9985
|
+
});
|
|
9986
|
+
});
|
|
10115
9987
|
|
|
10116
9988
|
/**
|
|
10117
9989
|
* @internal
|
|
10118
9990
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10119
9991
|
*/
|
|
10120
|
-
export namespace
|
|
10121
|
-
/** @deprecated use `
|
|
10122
|
-
export const inboundSchema =
|
|
10123
|
-
/** @deprecated use `
|
|
10124
|
-
export const outboundSchema =
|
|
10125
|
-
/** @deprecated use `
|
|
10126
|
-
export type Outbound =
|
|
9992
|
+
export namespace GetProjectsManagedRules$ {
|
|
9993
|
+
/** @deprecated use `GetProjectsManagedRules$inboundSchema` instead. */
|
|
9994
|
+
export const inboundSchema = GetProjectsManagedRules$inboundSchema;
|
|
9995
|
+
/** @deprecated use `GetProjectsManagedRules$outboundSchema` instead. */
|
|
9996
|
+
export const outboundSchema = GetProjectsManagedRules$outboundSchema;
|
|
9997
|
+
/** @deprecated use `GetProjectsManagedRules$Outbound` instead. */
|
|
9998
|
+
export type Outbound = GetProjectsManagedRules$Outbound;
|
|
10127
9999
|
}
|
|
10128
10000
|
|
|
10129
|
-
export function
|
|
10130
|
-
|
|
10001
|
+
export function getProjectsManagedRulesToJSON(
|
|
10002
|
+
getProjectsManagedRules: GetProjectsManagedRules,
|
|
10131
10003
|
): string {
|
|
10132
10004
|
return JSON.stringify(
|
|
10133
|
-
|
|
10005
|
+
GetProjectsManagedRules$outboundSchema.parse(getProjectsManagedRules),
|
|
10134
10006
|
);
|
|
10135
10007
|
}
|
|
10136
10008
|
|
|
10137
|
-
export function
|
|
10009
|
+
export function getProjectsManagedRulesFromJSON(
|
|
10138
10010
|
jsonString: string,
|
|
10139
|
-
): SafeParseResult<
|
|
10011
|
+
): SafeParseResult<GetProjectsManagedRules, SDKValidationError> {
|
|
10140
10012
|
return safeParse(
|
|
10141
10013
|
jsonString,
|
|
10142
|
-
(x) =>
|
|
10143
|
-
`Failed to parse '
|
|
10014
|
+
(x) => GetProjectsManagedRules$inboundSchema.parse(JSON.parse(x)),
|
|
10015
|
+
`Failed to parse 'GetProjectsManagedRules' from JSON`,
|
|
10144
10016
|
);
|
|
10145
10017
|
}
|
|
10146
10018
|
|
|
10147
10019
|
/** @internal */
|
|
10148
|
-
export const
|
|
10149
|
-
|
|
10150
|
-
z.ZodTypeDef,
|
|
10151
|
-
unknown
|
|
10152
|
-
> = z.object({
|
|
10153
|
-
type:
|
|
10154
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$inboundSchema,
|
|
10155
|
-
key: z.string().optional(),
|
|
10156
|
-
value: z.union([z.lazy(() => GetProjectsValue2$inboundSchema), z.string()])
|
|
10157
|
-
.optional(),
|
|
10158
|
-
});
|
|
10159
|
-
|
|
10160
|
-
/** @internal */
|
|
10161
|
-
export type GetProjectsHas$Outbound = {
|
|
10162
|
-
type: string;
|
|
10163
|
-
key?: string | undefined;
|
|
10164
|
-
value?: GetProjectsValue2$Outbound | string | undefined;
|
|
10165
|
-
};
|
|
10166
|
-
|
|
10167
|
-
/** @internal */
|
|
10168
|
-
export const GetProjectsHas$outboundSchema: z.ZodType<
|
|
10169
|
-
GetProjectsHas$Outbound,
|
|
10170
|
-
z.ZodTypeDef,
|
|
10171
|
-
GetProjectsHas
|
|
10172
|
-
> = z.object({
|
|
10173
|
-
type:
|
|
10174
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityType$outboundSchema,
|
|
10175
|
-
key: z.string().optional(),
|
|
10176
|
-
value: z.union([z.lazy(() => GetProjectsValue2$outboundSchema), z.string()])
|
|
10177
|
-
.optional(),
|
|
10178
|
-
});
|
|
10179
|
-
|
|
10180
|
-
/**
|
|
10181
|
-
* @internal
|
|
10182
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10183
|
-
*/
|
|
10184
|
-
export namespace GetProjectsHas$ {
|
|
10185
|
-
/** @deprecated use `GetProjectsHas$inboundSchema` instead. */
|
|
10186
|
-
export const inboundSchema = GetProjectsHas$inboundSchema;
|
|
10187
|
-
/** @deprecated use `GetProjectsHas$outboundSchema` instead. */
|
|
10188
|
-
export const outboundSchema = GetProjectsHas$outboundSchema;
|
|
10189
|
-
/** @deprecated use `GetProjectsHas$Outbound` instead. */
|
|
10190
|
-
export type Outbound = GetProjectsHas$Outbound;
|
|
10191
|
-
}
|
|
10192
|
-
|
|
10193
|
-
export function getProjectsHasToJSON(getProjectsHas: GetProjectsHas): string {
|
|
10194
|
-
return JSON.stringify(GetProjectsHas$outboundSchema.parse(getProjectsHas));
|
|
10195
|
-
}
|
|
10196
|
-
|
|
10197
|
-
export function getProjectsHasFromJSON(
|
|
10198
|
-
jsonString: string,
|
|
10199
|
-
): SafeParseResult<GetProjectsHas, SDKValidationError> {
|
|
10200
|
-
return safeParse(
|
|
10201
|
-
jsonString,
|
|
10202
|
-
(x) => GetProjectsHas$inboundSchema.parse(JSON.parse(x)),
|
|
10203
|
-
`Failed to parse 'GetProjectsHas' from JSON`,
|
|
10204
|
-
);
|
|
10205
|
-
}
|
|
10206
|
-
|
|
10207
|
-
/** @internal */
|
|
10208
|
-
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema:
|
|
10209
|
-
z.ZodNativeEnum<
|
|
10210
|
-
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType
|
|
10211
|
-
> = z.nativeEnum(
|
|
10212
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType,
|
|
10213
|
-
);
|
|
10214
|
-
|
|
10215
|
-
/** @internal */
|
|
10216
|
-
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema:
|
|
10217
|
-
z.ZodNativeEnum<
|
|
10218
|
-
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType
|
|
10219
|
-
> =
|
|
10220
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema;
|
|
10221
|
-
|
|
10222
|
-
/**
|
|
10223
|
-
* @internal
|
|
10224
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10225
|
-
*/
|
|
10226
|
-
export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$ {
|
|
10227
|
-
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema` instead. */
|
|
10228
|
-
export const inboundSchema =
|
|
10229
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema;
|
|
10230
|
-
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema` instead. */
|
|
10231
|
-
export const outboundSchema =
|
|
10232
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema;
|
|
10233
|
-
}
|
|
10234
|
-
|
|
10235
|
-
/** @internal */
|
|
10236
|
-
export const GetProjectsValueProjects2$inboundSchema: z.ZodType<
|
|
10237
|
-
GetProjectsValueProjects2,
|
|
10238
|
-
z.ZodTypeDef,
|
|
10239
|
-
unknown
|
|
10240
|
-
> = z.object({
|
|
10241
|
-
re: z.string().optional(),
|
|
10242
|
-
eq: z.string().optional(),
|
|
10243
|
-
neq: z.string().optional(),
|
|
10244
|
-
inc: z.array(z.string()).optional(),
|
|
10245
|
-
ninc: z.array(z.string()).optional(),
|
|
10246
|
-
pre: z.string().optional(),
|
|
10247
|
-
suf: z.string().optional(),
|
|
10248
|
-
gt: z.number().optional(),
|
|
10249
|
-
gte: z.number().optional(),
|
|
10250
|
-
lt: z.number().optional(),
|
|
10251
|
-
lte: z.number().optional(),
|
|
10252
|
-
});
|
|
10253
|
-
|
|
10254
|
-
/** @internal */
|
|
10255
|
-
export type GetProjectsValueProjects2$Outbound = {
|
|
10256
|
-
re?: string | undefined;
|
|
10257
|
-
eq?: string | undefined;
|
|
10258
|
-
neq?: string | undefined;
|
|
10259
|
-
inc?: Array<string> | undefined;
|
|
10260
|
-
ninc?: Array<string> | undefined;
|
|
10261
|
-
pre?: string | undefined;
|
|
10262
|
-
suf?: string | undefined;
|
|
10263
|
-
gt?: number | undefined;
|
|
10264
|
-
gte?: number | undefined;
|
|
10265
|
-
lt?: number | undefined;
|
|
10266
|
-
lte?: number | undefined;
|
|
10267
|
-
};
|
|
10268
|
-
|
|
10269
|
-
/** @internal */
|
|
10270
|
-
export const GetProjectsValueProjects2$outboundSchema: z.ZodType<
|
|
10271
|
-
GetProjectsValueProjects2$Outbound,
|
|
10272
|
-
z.ZodTypeDef,
|
|
10273
|
-
GetProjectsValueProjects2
|
|
10274
|
-
> = z.object({
|
|
10275
|
-
re: z.string().optional(),
|
|
10276
|
-
eq: z.string().optional(),
|
|
10277
|
-
neq: z.string().optional(),
|
|
10278
|
-
inc: z.array(z.string()).optional(),
|
|
10279
|
-
ninc: z.array(z.string()).optional(),
|
|
10280
|
-
pre: z.string().optional(),
|
|
10281
|
-
suf: z.string().optional(),
|
|
10282
|
-
gt: z.number().optional(),
|
|
10283
|
-
gte: z.number().optional(),
|
|
10284
|
-
lt: z.number().optional(),
|
|
10285
|
-
lte: z.number().optional(),
|
|
10286
|
-
});
|
|
10287
|
-
|
|
10288
|
-
/**
|
|
10289
|
-
* @internal
|
|
10290
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10291
|
-
*/
|
|
10292
|
-
export namespace GetProjectsValueProjects2$ {
|
|
10293
|
-
/** @deprecated use `GetProjectsValueProjects2$inboundSchema` instead. */
|
|
10294
|
-
export const inboundSchema = GetProjectsValueProjects2$inboundSchema;
|
|
10295
|
-
/** @deprecated use `GetProjectsValueProjects2$outboundSchema` instead. */
|
|
10296
|
-
export const outboundSchema = GetProjectsValueProjects2$outboundSchema;
|
|
10297
|
-
/** @deprecated use `GetProjectsValueProjects2$Outbound` instead. */
|
|
10298
|
-
export type Outbound = GetProjectsValueProjects2$Outbound;
|
|
10299
|
-
}
|
|
10300
|
-
|
|
10301
|
-
export function getProjectsValueProjects2ToJSON(
|
|
10302
|
-
getProjectsValueProjects2: GetProjectsValueProjects2,
|
|
10303
|
-
): string {
|
|
10304
|
-
return JSON.stringify(
|
|
10305
|
-
GetProjectsValueProjects2$outboundSchema.parse(getProjectsValueProjects2),
|
|
10306
|
-
);
|
|
10307
|
-
}
|
|
10308
|
-
|
|
10309
|
-
export function getProjectsValueProjects2FromJSON(
|
|
10310
|
-
jsonString: string,
|
|
10311
|
-
): SafeParseResult<GetProjectsValueProjects2, SDKValidationError> {
|
|
10312
|
-
return safeParse(
|
|
10313
|
-
jsonString,
|
|
10314
|
-
(x) => GetProjectsValueProjects2$inboundSchema.parse(JSON.parse(x)),
|
|
10315
|
-
`Failed to parse 'GetProjectsValueProjects2' from JSON`,
|
|
10316
|
-
);
|
|
10317
|
-
}
|
|
10318
|
-
|
|
10319
|
-
/** @internal */
|
|
10320
|
-
export const GetProjectsProjectsValue$inboundSchema: z.ZodType<
|
|
10321
|
-
GetProjectsProjectsValue,
|
|
10322
|
-
z.ZodTypeDef,
|
|
10323
|
-
unknown
|
|
10324
|
-
> = z.union([
|
|
10325
|
-
z.lazy(() => GetProjectsValueProjects2$inboundSchema),
|
|
10326
|
-
z.string(),
|
|
10327
|
-
]);
|
|
10328
|
-
|
|
10329
|
-
/** @internal */
|
|
10330
|
-
export type GetProjectsProjectsValue$Outbound =
|
|
10331
|
-
| GetProjectsValueProjects2$Outbound
|
|
10332
|
-
| string;
|
|
10333
|
-
|
|
10334
|
-
/** @internal */
|
|
10335
|
-
export const GetProjectsProjectsValue$outboundSchema: z.ZodType<
|
|
10336
|
-
GetProjectsProjectsValue$Outbound,
|
|
10337
|
-
z.ZodTypeDef,
|
|
10338
|
-
GetProjectsProjectsValue
|
|
10339
|
-
> = z.union([
|
|
10340
|
-
z.lazy(() => GetProjectsValueProjects2$outboundSchema),
|
|
10341
|
-
z.string(),
|
|
10342
|
-
]);
|
|
10343
|
-
|
|
10344
|
-
/**
|
|
10345
|
-
* @internal
|
|
10346
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10347
|
-
*/
|
|
10348
|
-
export namespace GetProjectsProjectsValue$ {
|
|
10349
|
-
/** @deprecated use `GetProjectsProjectsValue$inboundSchema` instead. */
|
|
10350
|
-
export const inboundSchema = GetProjectsProjectsValue$inboundSchema;
|
|
10351
|
-
/** @deprecated use `GetProjectsProjectsValue$outboundSchema` instead. */
|
|
10352
|
-
export const outboundSchema = GetProjectsProjectsValue$outboundSchema;
|
|
10353
|
-
/** @deprecated use `GetProjectsProjectsValue$Outbound` instead. */
|
|
10354
|
-
export type Outbound = GetProjectsProjectsValue$Outbound;
|
|
10355
|
-
}
|
|
10356
|
-
|
|
10357
|
-
export function getProjectsProjectsValueToJSON(
|
|
10358
|
-
getProjectsProjectsValue: GetProjectsProjectsValue,
|
|
10359
|
-
): string {
|
|
10360
|
-
return JSON.stringify(
|
|
10361
|
-
GetProjectsProjectsValue$outboundSchema.parse(getProjectsProjectsValue),
|
|
10362
|
-
);
|
|
10363
|
-
}
|
|
10364
|
-
|
|
10365
|
-
export function getProjectsProjectsValueFromJSON(
|
|
10366
|
-
jsonString: string,
|
|
10367
|
-
): SafeParseResult<GetProjectsProjectsValue, SDKValidationError> {
|
|
10368
|
-
return safeParse(
|
|
10369
|
-
jsonString,
|
|
10370
|
-
(x) => GetProjectsProjectsValue$inboundSchema.parse(JSON.parse(x)),
|
|
10371
|
-
`Failed to parse 'GetProjectsProjectsValue' from JSON`,
|
|
10372
|
-
);
|
|
10373
|
-
}
|
|
10374
|
-
|
|
10375
|
-
/** @internal */
|
|
10376
|
-
export const GetProjectsMissing$inboundSchema: z.ZodType<
|
|
10377
|
-
GetProjectsMissing,
|
|
10378
|
-
z.ZodTypeDef,
|
|
10379
|
-
unknown
|
|
10380
|
-
> = z.object({
|
|
10381
|
-
type:
|
|
10382
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$inboundSchema,
|
|
10383
|
-
key: z.string().optional(),
|
|
10384
|
-
value: z.union([
|
|
10385
|
-
z.lazy(() => GetProjectsValueProjects2$inboundSchema),
|
|
10386
|
-
z.string(),
|
|
10387
|
-
]).optional(),
|
|
10388
|
-
});
|
|
10389
|
-
|
|
10390
|
-
/** @internal */
|
|
10391
|
-
export type GetProjectsMissing$Outbound = {
|
|
10392
|
-
type: string;
|
|
10393
|
-
key?: string | undefined;
|
|
10394
|
-
value?: GetProjectsValueProjects2$Outbound | string | undefined;
|
|
10395
|
-
};
|
|
10396
|
-
|
|
10397
|
-
/** @internal */
|
|
10398
|
-
export const GetProjectsMissing$outboundSchema: z.ZodType<
|
|
10399
|
-
GetProjectsMissing$Outbound,
|
|
10400
|
-
z.ZodTypeDef,
|
|
10401
|
-
GetProjectsMissing
|
|
10402
|
-
> = z.object({
|
|
10403
|
-
type:
|
|
10404
|
-
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsSecurityFirewallRoutesType$outboundSchema,
|
|
10405
|
-
key: z.string().optional(),
|
|
10406
|
-
value: z.union([
|
|
10407
|
-
z.lazy(() => GetProjectsValueProjects2$outboundSchema),
|
|
10408
|
-
z.string(),
|
|
10409
|
-
]).optional(),
|
|
10410
|
-
});
|
|
10411
|
-
|
|
10412
|
-
/**
|
|
10413
|
-
* @internal
|
|
10414
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10415
|
-
*/
|
|
10416
|
-
export namespace GetProjectsMissing$ {
|
|
10417
|
-
/** @deprecated use `GetProjectsMissing$inboundSchema` instead. */
|
|
10418
|
-
export const inboundSchema = GetProjectsMissing$inboundSchema;
|
|
10419
|
-
/** @deprecated use `GetProjectsMissing$outboundSchema` instead. */
|
|
10420
|
-
export const outboundSchema = GetProjectsMissing$outboundSchema;
|
|
10421
|
-
/** @deprecated use `GetProjectsMissing$Outbound` instead. */
|
|
10422
|
-
export type Outbound = GetProjectsMissing$Outbound;
|
|
10423
|
-
}
|
|
10424
|
-
|
|
10425
|
-
export function getProjectsMissingToJSON(
|
|
10426
|
-
getProjectsMissing: GetProjectsMissing,
|
|
10427
|
-
): string {
|
|
10428
|
-
return JSON.stringify(
|
|
10429
|
-
GetProjectsMissing$outboundSchema.parse(getProjectsMissing),
|
|
10430
|
-
);
|
|
10431
|
-
}
|
|
10432
|
-
|
|
10433
|
-
export function getProjectsMissingFromJSON(
|
|
10434
|
-
jsonString: string,
|
|
10435
|
-
): SafeParseResult<GetProjectsMissing, SDKValidationError> {
|
|
10436
|
-
return safeParse(
|
|
10437
|
-
jsonString,
|
|
10438
|
-
(x) => GetProjectsMissing$inboundSchema.parse(JSON.parse(x)),
|
|
10439
|
-
`Failed to parse 'GetProjectsMissing' from JSON`,
|
|
10440
|
-
);
|
|
10441
|
-
}
|
|
10442
|
-
|
|
10443
|
-
/** @internal */
|
|
10444
|
-
export const GetProjectsHandle$inboundSchema: z.ZodNativeEnum<
|
|
10445
|
-
typeof GetProjectsHandle
|
|
10446
|
-
> = z.nativeEnum(GetProjectsHandle);
|
|
10447
|
-
|
|
10448
|
-
/** @internal */
|
|
10449
|
-
export const GetProjectsHandle$outboundSchema: z.ZodNativeEnum<
|
|
10450
|
-
typeof GetProjectsHandle
|
|
10451
|
-
> = GetProjectsHandle$inboundSchema;
|
|
10452
|
-
|
|
10453
|
-
/**
|
|
10454
|
-
* @internal
|
|
10455
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10456
|
-
*/
|
|
10457
|
-
export namespace GetProjectsHandle$ {
|
|
10458
|
-
/** @deprecated use `GetProjectsHandle$inboundSchema` instead. */
|
|
10459
|
-
export const inboundSchema = GetProjectsHandle$inboundSchema;
|
|
10460
|
-
/** @deprecated use `GetProjectsHandle$outboundSchema` instead. */
|
|
10461
|
-
export const outboundSchema = GetProjectsHandle$outboundSchema;
|
|
10462
|
-
}
|
|
10463
|
-
|
|
10464
|
-
/** @internal */
|
|
10465
|
-
export const GetProjectsAction$inboundSchema: z.ZodNativeEnum<
|
|
10466
|
-
typeof GetProjectsAction
|
|
10467
|
-
> = z.nativeEnum(GetProjectsAction);
|
|
10468
|
-
|
|
10469
|
-
/** @internal */
|
|
10470
|
-
export const GetProjectsAction$outboundSchema: z.ZodNativeEnum<
|
|
10471
|
-
typeof GetProjectsAction
|
|
10472
|
-
> = GetProjectsAction$inboundSchema;
|
|
10473
|
-
|
|
10474
|
-
/**
|
|
10475
|
-
* @internal
|
|
10476
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10477
|
-
*/
|
|
10478
|
-
export namespace GetProjectsAction$ {
|
|
10479
|
-
/** @deprecated use `GetProjectsAction$inboundSchema` instead. */
|
|
10480
|
-
export const inboundSchema = GetProjectsAction$inboundSchema;
|
|
10481
|
-
/** @deprecated use `GetProjectsAction$outboundSchema` instead. */
|
|
10482
|
-
export const outboundSchema = GetProjectsAction$outboundSchema;
|
|
10483
|
-
}
|
|
10484
|
-
|
|
10485
|
-
/** @internal */
|
|
10486
|
-
export const GetProjectsAlgo$inboundSchema: z.ZodNativeEnum<
|
|
10487
|
-
typeof GetProjectsAlgo
|
|
10488
|
-
> = z.nativeEnum(GetProjectsAlgo);
|
|
10489
|
-
|
|
10490
|
-
/** @internal */
|
|
10491
|
-
export const GetProjectsAlgo$outboundSchema: z.ZodNativeEnum<
|
|
10492
|
-
typeof GetProjectsAlgo
|
|
10493
|
-
> = GetProjectsAlgo$inboundSchema;
|
|
10494
|
-
|
|
10495
|
-
/**
|
|
10496
|
-
* @internal
|
|
10497
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10498
|
-
*/
|
|
10499
|
-
export namespace GetProjectsAlgo$ {
|
|
10500
|
-
/** @deprecated use `GetProjectsAlgo$inboundSchema` instead. */
|
|
10501
|
-
export const inboundSchema = GetProjectsAlgo$inboundSchema;
|
|
10502
|
-
/** @deprecated use `GetProjectsAlgo$outboundSchema` instead. */
|
|
10503
|
-
export const outboundSchema = GetProjectsAlgo$outboundSchema;
|
|
10504
|
-
}
|
|
10505
|
-
|
|
10506
|
-
/** @internal */
|
|
10507
|
-
export const GetProjectsErl$inboundSchema: z.ZodType<
|
|
10508
|
-
GetProjectsErl,
|
|
10509
|
-
z.ZodTypeDef,
|
|
10510
|
-
unknown
|
|
10511
|
-
> = z.object({
|
|
10512
|
-
algo: GetProjectsAlgo$inboundSchema,
|
|
10513
|
-
window: z.number(),
|
|
10514
|
-
limit: z.number(),
|
|
10515
|
-
keys: z.array(z.string()),
|
|
10516
|
-
});
|
|
10517
|
-
|
|
10518
|
-
/** @internal */
|
|
10519
|
-
export type GetProjectsErl$Outbound = {
|
|
10520
|
-
algo: string;
|
|
10521
|
-
window: number;
|
|
10522
|
-
limit: number;
|
|
10523
|
-
keys: Array<string>;
|
|
10524
|
-
};
|
|
10525
|
-
|
|
10526
|
-
/** @internal */
|
|
10527
|
-
export const GetProjectsErl$outboundSchema: z.ZodType<
|
|
10528
|
-
GetProjectsErl$Outbound,
|
|
10529
|
-
z.ZodTypeDef,
|
|
10530
|
-
GetProjectsErl
|
|
10531
|
-
> = z.object({
|
|
10532
|
-
algo: GetProjectsAlgo$outboundSchema,
|
|
10533
|
-
window: z.number(),
|
|
10534
|
-
limit: z.number(),
|
|
10535
|
-
keys: z.array(z.string()),
|
|
10536
|
-
});
|
|
10537
|
-
|
|
10538
|
-
/**
|
|
10539
|
-
* @internal
|
|
10540
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10541
|
-
*/
|
|
10542
|
-
export namespace GetProjectsErl$ {
|
|
10543
|
-
/** @deprecated use `GetProjectsErl$inboundSchema` instead. */
|
|
10544
|
-
export const inboundSchema = GetProjectsErl$inboundSchema;
|
|
10545
|
-
/** @deprecated use `GetProjectsErl$outboundSchema` instead. */
|
|
10546
|
-
export const outboundSchema = GetProjectsErl$outboundSchema;
|
|
10547
|
-
/** @deprecated use `GetProjectsErl$Outbound` instead. */
|
|
10548
|
-
export type Outbound = GetProjectsErl$Outbound;
|
|
10549
|
-
}
|
|
10550
|
-
|
|
10551
|
-
export function getProjectsErlToJSON(getProjectsErl: GetProjectsErl): string {
|
|
10552
|
-
return JSON.stringify(GetProjectsErl$outboundSchema.parse(getProjectsErl));
|
|
10553
|
-
}
|
|
10554
|
-
|
|
10555
|
-
export function getProjectsErlFromJSON(
|
|
10556
|
-
jsonString: string,
|
|
10557
|
-
): SafeParseResult<GetProjectsErl, SDKValidationError> {
|
|
10558
|
-
return safeParse(
|
|
10559
|
-
jsonString,
|
|
10560
|
-
(x) => GetProjectsErl$inboundSchema.parse(JSON.parse(x)),
|
|
10561
|
-
`Failed to parse 'GetProjectsErl' from JSON`,
|
|
10562
|
-
);
|
|
10563
|
-
}
|
|
10564
|
-
|
|
10565
|
-
/** @internal */
|
|
10566
|
-
export const GetProjectsMitigate$inboundSchema: z.ZodType<
|
|
10567
|
-
GetProjectsMitigate,
|
|
10568
|
-
z.ZodTypeDef,
|
|
10569
|
-
unknown
|
|
10570
|
-
> = z.object({
|
|
10571
|
-
action: GetProjectsAction$inboundSchema,
|
|
10572
|
-
rule_id: z.string(),
|
|
10573
|
-
ttl: z.number().optional(),
|
|
10574
|
-
erl: z.lazy(() => GetProjectsErl$inboundSchema).optional(),
|
|
10575
|
-
}).transform((v) => {
|
|
10576
|
-
return remap$(v, {
|
|
10577
|
-
"rule_id": "ruleId",
|
|
10578
|
-
});
|
|
10579
|
-
});
|
|
10580
|
-
|
|
10581
|
-
/** @internal */
|
|
10582
|
-
export type GetProjectsMitigate$Outbound = {
|
|
10583
|
-
action: string;
|
|
10584
|
-
rule_id: string;
|
|
10585
|
-
ttl?: number | undefined;
|
|
10586
|
-
erl?: GetProjectsErl$Outbound | undefined;
|
|
10587
|
-
};
|
|
10588
|
-
|
|
10589
|
-
/** @internal */
|
|
10590
|
-
export const GetProjectsMitigate$outboundSchema: z.ZodType<
|
|
10591
|
-
GetProjectsMitigate$Outbound,
|
|
10592
|
-
z.ZodTypeDef,
|
|
10593
|
-
GetProjectsMitigate
|
|
10594
|
-
> = z.object({
|
|
10595
|
-
action: GetProjectsAction$outboundSchema,
|
|
10596
|
-
ruleId: z.string(),
|
|
10597
|
-
ttl: z.number().optional(),
|
|
10598
|
-
erl: z.lazy(() => GetProjectsErl$outboundSchema).optional(),
|
|
10599
|
-
}).transform((v) => {
|
|
10600
|
-
return remap$(v, {
|
|
10601
|
-
ruleId: "rule_id",
|
|
10602
|
-
});
|
|
10603
|
-
});
|
|
10604
|
-
|
|
10605
|
-
/**
|
|
10606
|
-
* @internal
|
|
10607
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10608
|
-
*/
|
|
10609
|
-
export namespace GetProjectsMitigate$ {
|
|
10610
|
-
/** @deprecated use `GetProjectsMitigate$inboundSchema` instead. */
|
|
10611
|
-
export const inboundSchema = GetProjectsMitigate$inboundSchema;
|
|
10612
|
-
/** @deprecated use `GetProjectsMitigate$outboundSchema` instead. */
|
|
10613
|
-
export const outboundSchema = GetProjectsMitigate$outboundSchema;
|
|
10614
|
-
/** @deprecated use `GetProjectsMitigate$Outbound` instead. */
|
|
10615
|
-
export type Outbound = GetProjectsMitigate$Outbound;
|
|
10616
|
-
}
|
|
10617
|
-
|
|
10618
|
-
export function getProjectsMitigateToJSON(
|
|
10619
|
-
getProjectsMitigate: GetProjectsMitigate,
|
|
10620
|
-
): string {
|
|
10621
|
-
return JSON.stringify(
|
|
10622
|
-
GetProjectsMitigate$outboundSchema.parse(getProjectsMitigate),
|
|
10623
|
-
);
|
|
10624
|
-
}
|
|
10625
|
-
|
|
10626
|
-
export function getProjectsMitigateFromJSON(
|
|
10627
|
-
jsonString: string,
|
|
10628
|
-
): SafeParseResult<GetProjectsMitigate, SDKValidationError> {
|
|
10629
|
-
return safeParse(
|
|
10630
|
-
jsonString,
|
|
10631
|
-
(x) => GetProjectsMitigate$inboundSchema.parse(JSON.parse(x)),
|
|
10632
|
-
`Failed to parse 'GetProjectsMitigate' from JSON`,
|
|
10633
|
-
);
|
|
10634
|
-
}
|
|
10635
|
-
|
|
10636
|
-
/** @internal */
|
|
10637
|
-
export const GetProjectsFirewallRoutes$inboundSchema: z.ZodType<
|
|
10638
|
-
GetProjectsFirewallRoutes,
|
|
10639
|
-
z.ZodTypeDef,
|
|
10640
|
-
unknown
|
|
10641
|
-
> = z.object({
|
|
10642
|
-
src: z.union([z.lazy(() => GetProjectsSrc2$inboundSchema), z.string()])
|
|
10643
|
-
.optional(),
|
|
10644
|
-
has: z.array(z.lazy(() => GetProjectsHas$inboundSchema)).optional(),
|
|
10645
|
-
missing: z.array(z.lazy(() => GetProjectsMissing$inboundSchema)).optional(),
|
|
10646
|
-
dest: z.string().optional(),
|
|
10647
|
-
status: z.number().optional(),
|
|
10648
|
-
handle: GetProjectsHandle$inboundSchema.optional(),
|
|
10649
|
-
mitigate: z.lazy(() => GetProjectsMitigate$inboundSchema).optional(),
|
|
10650
|
-
});
|
|
10651
|
-
|
|
10652
|
-
/** @internal */
|
|
10653
|
-
export type GetProjectsFirewallRoutes$Outbound = {
|
|
10654
|
-
src?: GetProjectsSrc2$Outbound | string | undefined;
|
|
10655
|
-
has?: Array<GetProjectsHas$Outbound> | undefined;
|
|
10656
|
-
missing?: Array<GetProjectsMissing$Outbound> | undefined;
|
|
10657
|
-
dest?: string | undefined;
|
|
10658
|
-
status?: number | undefined;
|
|
10659
|
-
handle?: string | undefined;
|
|
10660
|
-
mitigate?: GetProjectsMitigate$Outbound | undefined;
|
|
10661
|
-
};
|
|
10662
|
-
|
|
10663
|
-
/** @internal */
|
|
10664
|
-
export const GetProjectsFirewallRoutes$outboundSchema: z.ZodType<
|
|
10665
|
-
GetProjectsFirewallRoutes$Outbound,
|
|
10666
|
-
z.ZodTypeDef,
|
|
10667
|
-
GetProjectsFirewallRoutes
|
|
10668
|
-
> = z.object({
|
|
10669
|
-
src: z.union([z.lazy(() => GetProjectsSrc2$outboundSchema), z.string()])
|
|
10670
|
-
.optional(),
|
|
10671
|
-
has: z.array(z.lazy(() => GetProjectsHas$outboundSchema)).optional(),
|
|
10672
|
-
missing: z.array(z.lazy(() => GetProjectsMissing$outboundSchema)).optional(),
|
|
10673
|
-
dest: z.string().optional(),
|
|
10674
|
-
status: z.number().optional(),
|
|
10675
|
-
handle: GetProjectsHandle$outboundSchema.optional(),
|
|
10676
|
-
mitigate: z.lazy(() => GetProjectsMitigate$outboundSchema).optional(),
|
|
10677
|
-
});
|
|
10678
|
-
|
|
10679
|
-
/**
|
|
10680
|
-
* @internal
|
|
10681
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10682
|
-
*/
|
|
10683
|
-
export namespace GetProjectsFirewallRoutes$ {
|
|
10684
|
-
/** @deprecated use `GetProjectsFirewallRoutes$inboundSchema` instead. */
|
|
10685
|
-
export const inboundSchema = GetProjectsFirewallRoutes$inboundSchema;
|
|
10686
|
-
/** @deprecated use `GetProjectsFirewallRoutes$outboundSchema` instead. */
|
|
10687
|
-
export const outboundSchema = GetProjectsFirewallRoutes$outboundSchema;
|
|
10688
|
-
/** @deprecated use `GetProjectsFirewallRoutes$Outbound` instead. */
|
|
10689
|
-
export type Outbound = GetProjectsFirewallRoutes$Outbound;
|
|
10690
|
-
}
|
|
10691
|
-
|
|
10692
|
-
export function getProjectsFirewallRoutesToJSON(
|
|
10693
|
-
getProjectsFirewallRoutes: GetProjectsFirewallRoutes,
|
|
10694
|
-
): string {
|
|
10695
|
-
return JSON.stringify(
|
|
10696
|
-
GetProjectsFirewallRoutes$outboundSchema.parse(getProjectsFirewallRoutes),
|
|
10697
|
-
);
|
|
10698
|
-
}
|
|
10699
|
-
|
|
10700
|
-
export function getProjectsFirewallRoutesFromJSON(
|
|
10701
|
-
jsonString: string,
|
|
10702
|
-
): SafeParseResult<GetProjectsFirewallRoutes, SDKValidationError> {
|
|
10703
|
-
return safeParse(
|
|
10704
|
-
jsonString,
|
|
10705
|
-
(x) => GetProjectsFirewallRoutes$inboundSchema.parse(JSON.parse(x)),
|
|
10706
|
-
`Failed to parse 'GetProjectsFirewallRoutes' from JSON`,
|
|
10707
|
-
);
|
|
10708
|
-
}
|
|
10709
|
-
|
|
10710
|
-
/** @internal */
|
|
10711
|
-
export const GetProjectsProjectsAction$inboundSchema: z.ZodNativeEnum<
|
|
10712
|
-
typeof GetProjectsProjectsAction
|
|
10713
|
-
> = z.nativeEnum(GetProjectsProjectsAction);
|
|
10714
|
-
|
|
10715
|
-
/** @internal */
|
|
10716
|
-
export const GetProjectsProjectsAction$outboundSchema: z.ZodNativeEnum<
|
|
10717
|
-
typeof GetProjectsProjectsAction
|
|
10718
|
-
> = GetProjectsProjectsAction$inboundSchema;
|
|
10719
|
-
|
|
10720
|
-
/**
|
|
10721
|
-
* @internal
|
|
10722
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10723
|
-
*/
|
|
10724
|
-
export namespace GetProjectsProjectsAction$ {
|
|
10725
|
-
/** @deprecated use `GetProjectsProjectsAction$inboundSchema` instead. */
|
|
10726
|
-
export const inboundSchema = GetProjectsProjectsAction$inboundSchema;
|
|
10727
|
-
/** @deprecated use `GetProjectsProjectsAction$outboundSchema` instead. */
|
|
10728
|
-
export const outboundSchema = GetProjectsProjectsAction$outboundSchema;
|
|
10729
|
-
}
|
|
10730
|
-
|
|
10731
|
-
/** @internal */
|
|
10732
|
-
export const GetProjectsBotFilter$inboundSchema: z.ZodType<
|
|
10733
|
-
GetProjectsBotFilter,
|
|
10734
|
-
z.ZodTypeDef,
|
|
10735
|
-
unknown
|
|
10736
|
-
> = z.object({
|
|
10737
|
-
active: z.boolean(),
|
|
10738
|
-
action: GetProjectsProjectsAction$inboundSchema.optional(),
|
|
10739
|
-
});
|
|
10740
|
-
|
|
10741
|
-
/** @internal */
|
|
10742
|
-
export type GetProjectsBotFilter$Outbound = {
|
|
10743
|
-
active: boolean;
|
|
10744
|
-
action?: string | undefined;
|
|
10745
|
-
};
|
|
10746
|
-
|
|
10747
|
-
/** @internal */
|
|
10748
|
-
export const GetProjectsBotFilter$outboundSchema: z.ZodType<
|
|
10749
|
-
GetProjectsBotFilter$Outbound,
|
|
10750
|
-
z.ZodTypeDef,
|
|
10751
|
-
GetProjectsBotFilter
|
|
10752
|
-
> = z.object({
|
|
10753
|
-
active: z.boolean(),
|
|
10754
|
-
action: GetProjectsProjectsAction$outboundSchema.optional(),
|
|
10755
|
-
});
|
|
10756
|
-
|
|
10757
|
-
/**
|
|
10758
|
-
* @internal
|
|
10759
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10760
|
-
*/
|
|
10761
|
-
export namespace GetProjectsBotFilter$ {
|
|
10762
|
-
/** @deprecated use `GetProjectsBotFilter$inboundSchema` instead. */
|
|
10763
|
-
export const inboundSchema = GetProjectsBotFilter$inboundSchema;
|
|
10764
|
-
/** @deprecated use `GetProjectsBotFilter$outboundSchema` instead. */
|
|
10765
|
-
export const outboundSchema = GetProjectsBotFilter$outboundSchema;
|
|
10766
|
-
/** @deprecated use `GetProjectsBotFilter$Outbound` instead. */
|
|
10767
|
-
export type Outbound = GetProjectsBotFilter$Outbound;
|
|
10768
|
-
}
|
|
10769
|
-
|
|
10770
|
-
export function getProjectsBotFilterToJSON(
|
|
10771
|
-
getProjectsBotFilter: GetProjectsBotFilter,
|
|
10772
|
-
): string {
|
|
10773
|
-
return JSON.stringify(
|
|
10774
|
-
GetProjectsBotFilter$outboundSchema.parse(getProjectsBotFilter),
|
|
10775
|
-
);
|
|
10776
|
-
}
|
|
10777
|
-
|
|
10778
|
-
export function getProjectsBotFilterFromJSON(
|
|
10779
|
-
jsonString: string,
|
|
10780
|
-
): SafeParseResult<GetProjectsBotFilter, SDKValidationError> {
|
|
10781
|
-
return safeParse(
|
|
10782
|
-
jsonString,
|
|
10783
|
-
(x) => GetProjectsBotFilter$inboundSchema.parse(JSON.parse(x)),
|
|
10784
|
-
`Failed to parse 'GetProjectsBotFilter' from JSON`,
|
|
10785
|
-
);
|
|
10786
|
-
}
|
|
10787
|
-
|
|
10788
|
-
/** @internal */
|
|
10789
|
-
export const GetProjectsProjectsResponseAction$inboundSchema: z.ZodNativeEnum<
|
|
10790
|
-
typeof GetProjectsProjectsResponseAction
|
|
10791
|
-
> = z.nativeEnum(GetProjectsProjectsResponseAction);
|
|
10792
|
-
|
|
10793
|
-
/** @internal */
|
|
10794
|
-
export const GetProjectsProjectsResponseAction$outboundSchema: z.ZodNativeEnum<
|
|
10795
|
-
typeof GetProjectsProjectsResponseAction
|
|
10796
|
-
> = GetProjectsProjectsResponseAction$inboundSchema;
|
|
10797
|
-
|
|
10798
|
-
/**
|
|
10799
|
-
* @internal
|
|
10800
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10801
|
-
*/
|
|
10802
|
-
export namespace GetProjectsProjectsResponseAction$ {
|
|
10803
|
-
/** @deprecated use `GetProjectsProjectsResponseAction$inboundSchema` instead. */
|
|
10804
|
-
export const inboundSchema = GetProjectsProjectsResponseAction$inboundSchema;
|
|
10805
|
-
/** @deprecated use `GetProjectsProjectsResponseAction$outboundSchema` instead. */
|
|
10806
|
-
export const outboundSchema =
|
|
10807
|
-
GetProjectsProjectsResponseAction$outboundSchema;
|
|
10808
|
-
}
|
|
10809
|
-
|
|
10810
|
-
/** @internal */
|
|
10811
|
-
export const GetProjectsAiBots$inboundSchema: z.ZodType<
|
|
10812
|
-
GetProjectsAiBots,
|
|
10813
|
-
z.ZodTypeDef,
|
|
10814
|
-
unknown
|
|
10815
|
-
> = z.object({
|
|
10816
|
-
active: z.boolean(),
|
|
10817
|
-
action: GetProjectsProjectsResponseAction$inboundSchema.optional(),
|
|
10818
|
-
});
|
|
10819
|
-
|
|
10820
|
-
/** @internal */
|
|
10821
|
-
export type GetProjectsAiBots$Outbound = {
|
|
10822
|
-
active: boolean;
|
|
10823
|
-
action?: string | undefined;
|
|
10824
|
-
};
|
|
10825
|
-
|
|
10826
|
-
/** @internal */
|
|
10827
|
-
export const GetProjectsAiBots$outboundSchema: z.ZodType<
|
|
10828
|
-
GetProjectsAiBots$Outbound,
|
|
10829
|
-
z.ZodTypeDef,
|
|
10830
|
-
GetProjectsAiBots
|
|
10831
|
-
> = z.object({
|
|
10832
|
-
active: z.boolean(),
|
|
10833
|
-
action: GetProjectsProjectsResponseAction$outboundSchema.optional(),
|
|
10834
|
-
});
|
|
10835
|
-
|
|
10836
|
-
/**
|
|
10837
|
-
* @internal
|
|
10838
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10839
|
-
*/
|
|
10840
|
-
export namespace GetProjectsAiBots$ {
|
|
10841
|
-
/** @deprecated use `GetProjectsAiBots$inboundSchema` instead. */
|
|
10842
|
-
export const inboundSchema = GetProjectsAiBots$inboundSchema;
|
|
10843
|
-
/** @deprecated use `GetProjectsAiBots$outboundSchema` instead. */
|
|
10844
|
-
export const outboundSchema = GetProjectsAiBots$outboundSchema;
|
|
10845
|
-
/** @deprecated use `GetProjectsAiBots$Outbound` instead. */
|
|
10846
|
-
export type Outbound = GetProjectsAiBots$Outbound;
|
|
10847
|
-
}
|
|
10848
|
-
|
|
10849
|
-
export function getProjectsAiBotsToJSON(
|
|
10850
|
-
getProjectsAiBots: GetProjectsAiBots,
|
|
10851
|
-
): string {
|
|
10852
|
-
return JSON.stringify(
|
|
10853
|
-
GetProjectsAiBots$outboundSchema.parse(getProjectsAiBots),
|
|
10854
|
-
);
|
|
10855
|
-
}
|
|
10856
|
-
|
|
10857
|
-
export function getProjectsAiBotsFromJSON(
|
|
10858
|
-
jsonString: string,
|
|
10859
|
-
): SafeParseResult<GetProjectsAiBots, SDKValidationError> {
|
|
10860
|
-
return safeParse(
|
|
10861
|
-
jsonString,
|
|
10862
|
-
(x) => GetProjectsAiBots$inboundSchema.parse(JSON.parse(x)),
|
|
10863
|
-
`Failed to parse 'GetProjectsAiBots' from JSON`,
|
|
10864
|
-
);
|
|
10865
|
-
}
|
|
10866
|
-
|
|
10867
|
-
/** @internal */
|
|
10868
|
-
export const GetProjectsProjectsResponse200Action$inboundSchema:
|
|
10869
|
-
z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Action> = z.nativeEnum(
|
|
10870
|
-
GetProjectsProjectsResponse200Action,
|
|
10871
|
-
);
|
|
10872
|
-
|
|
10873
|
-
/** @internal */
|
|
10874
|
-
export const GetProjectsProjectsResponse200Action$outboundSchema:
|
|
10875
|
-
z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Action> =
|
|
10876
|
-
GetProjectsProjectsResponse200Action$inboundSchema;
|
|
10877
|
-
|
|
10878
|
-
/**
|
|
10879
|
-
* @internal
|
|
10880
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10881
|
-
*/
|
|
10882
|
-
export namespace GetProjectsProjectsResponse200Action$ {
|
|
10883
|
-
/** @deprecated use `GetProjectsProjectsResponse200Action$inboundSchema` instead. */
|
|
10884
|
-
export const inboundSchema =
|
|
10885
|
-
GetProjectsProjectsResponse200Action$inboundSchema;
|
|
10886
|
-
/** @deprecated use `GetProjectsProjectsResponse200Action$outboundSchema` instead. */
|
|
10887
|
-
export const outboundSchema =
|
|
10888
|
-
GetProjectsProjectsResponse200Action$outboundSchema;
|
|
10889
|
-
}
|
|
10890
|
-
|
|
10891
|
-
/** @internal */
|
|
10892
|
-
export const GetProjectsOwasp$inboundSchema: z.ZodType<
|
|
10893
|
-
GetProjectsOwasp,
|
|
10894
|
-
z.ZodTypeDef,
|
|
10895
|
-
unknown
|
|
10896
|
-
> = z.object({
|
|
10897
|
-
active: z.boolean(),
|
|
10898
|
-
action: GetProjectsProjectsResponse200Action$inboundSchema.optional(),
|
|
10899
|
-
});
|
|
10900
|
-
|
|
10901
|
-
/** @internal */
|
|
10902
|
-
export type GetProjectsOwasp$Outbound = {
|
|
10903
|
-
active: boolean;
|
|
10904
|
-
action?: string | undefined;
|
|
10905
|
-
};
|
|
10906
|
-
|
|
10907
|
-
/** @internal */
|
|
10908
|
-
export const GetProjectsOwasp$outboundSchema: z.ZodType<
|
|
10909
|
-
GetProjectsOwasp$Outbound,
|
|
10910
|
-
z.ZodTypeDef,
|
|
10911
|
-
GetProjectsOwasp
|
|
10912
|
-
> = z.object({
|
|
10913
|
-
active: z.boolean(),
|
|
10914
|
-
action: GetProjectsProjectsResponse200Action$outboundSchema.optional(),
|
|
10915
|
-
});
|
|
10916
|
-
|
|
10917
|
-
/**
|
|
10918
|
-
* @internal
|
|
10919
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10920
|
-
*/
|
|
10921
|
-
export namespace GetProjectsOwasp$ {
|
|
10922
|
-
/** @deprecated use `GetProjectsOwasp$inboundSchema` instead. */
|
|
10923
|
-
export const inboundSchema = GetProjectsOwasp$inboundSchema;
|
|
10924
|
-
/** @deprecated use `GetProjectsOwasp$outboundSchema` instead. */
|
|
10925
|
-
export const outboundSchema = GetProjectsOwasp$outboundSchema;
|
|
10926
|
-
/** @deprecated use `GetProjectsOwasp$Outbound` instead. */
|
|
10927
|
-
export type Outbound = GetProjectsOwasp$Outbound;
|
|
10928
|
-
}
|
|
10929
|
-
|
|
10930
|
-
export function getProjectsOwaspToJSON(
|
|
10931
|
-
getProjectsOwasp: GetProjectsOwasp,
|
|
10932
|
-
): string {
|
|
10933
|
-
return JSON.stringify(
|
|
10934
|
-
GetProjectsOwasp$outboundSchema.parse(getProjectsOwasp),
|
|
10935
|
-
);
|
|
10936
|
-
}
|
|
10937
|
-
|
|
10938
|
-
export function getProjectsOwaspFromJSON(
|
|
10939
|
-
jsonString: string,
|
|
10940
|
-
): SafeParseResult<GetProjectsOwasp, SDKValidationError> {
|
|
10941
|
-
return safeParse(
|
|
10942
|
-
jsonString,
|
|
10943
|
-
(x) => GetProjectsOwasp$inboundSchema.parse(JSON.parse(x)),
|
|
10944
|
-
`Failed to parse 'GetProjectsOwasp' from JSON`,
|
|
10945
|
-
);
|
|
10946
|
-
}
|
|
10947
|
-
|
|
10948
|
-
/** @internal */
|
|
10949
|
-
export const GetProjectsManagedRules$inboundSchema: z.ZodType<
|
|
10950
|
-
GetProjectsManagedRules,
|
|
10951
|
-
z.ZodTypeDef,
|
|
10952
|
-
unknown
|
|
10953
|
-
> = z.object({
|
|
10954
|
-
bot_filter: z.lazy(() => GetProjectsBotFilter$inboundSchema),
|
|
10955
|
-
ai_bots: z.lazy(() => GetProjectsAiBots$inboundSchema),
|
|
10956
|
-
owasp: z.lazy(() => GetProjectsOwasp$inboundSchema),
|
|
10957
|
-
}).transform((v) => {
|
|
10958
|
-
return remap$(v, {
|
|
10959
|
-
"bot_filter": "botFilter",
|
|
10960
|
-
"ai_bots": "aiBots",
|
|
10961
|
-
});
|
|
10962
|
-
});
|
|
10963
|
-
|
|
10964
|
-
/** @internal */
|
|
10965
|
-
export type GetProjectsManagedRules$Outbound = {
|
|
10966
|
-
bot_filter: GetProjectsBotFilter$Outbound;
|
|
10967
|
-
ai_bots: GetProjectsAiBots$Outbound;
|
|
10968
|
-
owasp: GetProjectsOwasp$Outbound;
|
|
10969
|
-
};
|
|
10970
|
-
|
|
10971
|
-
/** @internal */
|
|
10972
|
-
export const GetProjectsManagedRules$outboundSchema: z.ZodType<
|
|
10973
|
-
GetProjectsManagedRules$Outbound,
|
|
10974
|
-
z.ZodTypeDef,
|
|
10975
|
-
GetProjectsManagedRules
|
|
10976
|
-
> = z.object({
|
|
10977
|
-
botFilter: z.lazy(() => GetProjectsBotFilter$outboundSchema),
|
|
10978
|
-
aiBots: z.lazy(() => GetProjectsAiBots$outboundSchema),
|
|
10979
|
-
owasp: z.lazy(() => GetProjectsOwasp$outboundSchema),
|
|
10980
|
-
}).transform((v) => {
|
|
10981
|
-
return remap$(v, {
|
|
10982
|
-
botFilter: "bot_filter",
|
|
10983
|
-
aiBots: "ai_bots",
|
|
10984
|
-
});
|
|
10985
|
-
});
|
|
10986
|
-
|
|
10987
|
-
/**
|
|
10988
|
-
* @internal
|
|
10989
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10990
|
-
*/
|
|
10991
|
-
export namespace GetProjectsManagedRules$ {
|
|
10992
|
-
/** @deprecated use `GetProjectsManagedRules$inboundSchema` instead. */
|
|
10993
|
-
export const inboundSchema = GetProjectsManagedRules$inboundSchema;
|
|
10994
|
-
/** @deprecated use `GetProjectsManagedRules$outboundSchema` instead. */
|
|
10995
|
-
export const outboundSchema = GetProjectsManagedRules$outboundSchema;
|
|
10996
|
-
/** @deprecated use `GetProjectsManagedRules$Outbound` instead. */
|
|
10997
|
-
export type Outbound = GetProjectsManagedRules$Outbound;
|
|
10998
|
-
}
|
|
10999
|
-
|
|
11000
|
-
export function getProjectsManagedRulesToJSON(
|
|
11001
|
-
getProjectsManagedRules: GetProjectsManagedRules,
|
|
11002
|
-
): string {
|
|
11003
|
-
return JSON.stringify(
|
|
11004
|
-
GetProjectsManagedRules$outboundSchema.parse(getProjectsManagedRules),
|
|
11005
|
-
);
|
|
11006
|
-
}
|
|
11007
|
-
|
|
11008
|
-
export function getProjectsManagedRulesFromJSON(
|
|
11009
|
-
jsonString: string,
|
|
11010
|
-
): SafeParseResult<GetProjectsManagedRules, SDKValidationError> {
|
|
11011
|
-
return safeParse(
|
|
11012
|
-
jsonString,
|
|
11013
|
-
(x) => GetProjectsManagedRules$inboundSchema.parse(JSON.parse(x)),
|
|
11014
|
-
`Failed to parse 'GetProjectsManagedRules' from JSON`,
|
|
11015
|
-
);
|
|
11016
|
-
}
|
|
11017
|
-
|
|
11018
|
-
/** @internal */
|
|
11019
|
-
export const GetProjectsSecurity$inboundSchema: z.ZodType<
|
|
11020
|
-
GetProjectsSecurity,
|
|
10020
|
+
export const GetProjectsSecurity$inboundSchema: z.ZodType<
|
|
10021
|
+
GetProjectsSecurity,
|
|
11021
10022
|
z.ZodTypeDef,
|
|
11022
10023
|
unknown
|
|
11023
10024
|
> = z.object({
|
|
@@ -11027,8 +10028,6 @@ export const GetProjectsSecurity$inboundSchema: z.ZodType<
|
|
|
11027
10028
|
firewallUpdatedAt: z.number().optional(),
|
|
11028
10029
|
attackModeActiveUntil: z.nullable(z.number()).optional(),
|
|
11029
10030
|
firewallConfigVersion: z.number().optional(),
|
|
11030
|
-
firewallRoutes: z.array(z.lazy(() => GetProjectsFirewallRoutes$inboundSchema))
|
|
11031
|
-
.optional(),
|
|
11032
10031
|
firewallSeawallEnabled: z.boolean().optional(),
|
|
11033
10032
|
ja3Enabled: z.boolean().optional(),
|
|
11034
10033
|
ja4Enabled: z.boolean().optional(),
|
|
@@ -11046,7 +10045,6 @@ export type GetProjectsSecurity$Outbound = {
|
|
|
11046
10045
|
firewallUpdatedAt?: number | undefined;
|
|
11047
10046
|
attackModeActiveUntil?: number | null | undefined;
|
|
11048
10047
|
firewallConfigVersion?: number | undefined;
|
|
11049
|
-
firewallRoutes?: Array<GetProjectsFirewallRoutes$Outbound> | undefined;
|
|
11050
10048
|
firewallSeawallEnabled?: boolean | undefined;
|
|
11051
10049
|
ja3Enabled?: boolean | undefined;
|
|
11052
10050
|
ja4Enabled?: boolean | undefined;
|
|
@@ -11067,9 +10065,6 @@ export const GetProjectsSecurity$outboundSchema: z.ZodType<
|
|
|
11067
10065
|
firewallUpdatedAt: z.number().optional(),
|
|
11068
10066
|
attackModeActiveUntil: z.nullable(z.number()).optional(),
|
|
11069
10067
|
firewallConfigVersion: z.number().optional(),
|
|
11070
|
-
firewallRoutes: z.array(
|
|
11071
|
-
z.lazy(() => GetProjectsFirewallRoutes$outboundSchema),
|
|
11072
|
-
).optional(),
|
|
11073
10068
|
firewallSeawallEnabled: z.boolean().optional(),
|
|
11074
10069
|
ja3Enabled: z.boolean().optional(),
|
|
11075
10070
|
ja4Enabled: z.boolean().optional(),
|