@vercel/sdk 1.10.1 → 1.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/bin/mcp-server.js +436 -1558
  2. package/bin/mcp-server.js.map +19 -19
  3. package/esm/__tests__/teams.test.js +2 -4
  4. package/esm/__tests__/teams.test.js.map +1 -1
  5. package/esm/funcs/domainsBuyDomain.js +2 -2
  6. package/esm/funcs/domainsBuyDomain.js.map +1 -1
  7. package/esm/funcs/domainsGetDomainConfig.js +1 -0
  8. package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
  9. package/esm/funcs/domainsPatchDomain.js +2 -2
  10. package/esm/funcs/domainsPatchDomain.js.map +1 -1
  11. package/esm/lib/config.d.ts +3 -3
  12. package/esm/lib/config.js +3 -3
  13. package/esm/mcp-server/mcp-server.js +1 -1
  14. package/esm/mcp-server/server.js +1 -1
  15. package/esm/models/canceldeploymentop.d.ts +49 -49
  16. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  17. package/esm/models/canceldeploymentop.js +53 -55
  18. package/esm/models/canceldeploymentop.js.map +1 -1
  19. package/esm/models/createdeploymentop.d.ts +174 -174
  20. package/esm/models/createdeploymentop.d.ts.map +1 -1
  21. package/esm/models/createdeploymentop.js +166 -165
  22. package/esm/models/createdeploymentop.js.map +1 -1
  23. package/esm/models/createprojectop.d.ts +33 -585
  24. package/esm/models/createprojectop.d.ts.map +1 -1
  25. package/esm/models/createprojectop.js +31 -530
  26. package/esm/models/createprojectop.js.map +1 -1
  27. package/esm/models/getdeploymentop.d.ts +90 -90
  28. package/esm/models/getdeploymentop.d.ts.map +1 -1
  29. package/esm/models/getdeploymentop.js +101 -102
  30. package/esm/models/getdeploymentop.js.map +1 -1
  31. package/esm/models/getdomainconfigop.d.ts +63 -0
  32. package/esm/models/getdomainconfigop.d.ts.map +1 -1
  33. package/esm/models/getdomainconfigop.js +52 -0
  34. package/esm/models/getdomainconfigop.js.map +1 -1
  35. package/esm/models/getprojectsop.d.ts +33 -585
  36. package/esm/models/getprojectsop.d.ts.map +1 -1
  37. package/esm/models/getprojectsop.js +31 -530
  38. package/esm/models/getprojectsop.js.map +1 -1
  39. package/esm/models/team.d.ts +13 -12
  40. package/esm/models/team.d.ts.map +1 -1
  41. package/esm/models/team.js +6 -7
  42. package/esm/models/team.js.map +1 -1
  43. package/esm/models/teamlimited.d.ts +0 -2
  44. package/esm/models/teamlimited.d.ts.map +1 -1
  45. package/esm/models/teamlimited.js +0 -2
  46. package/esm/models/teamlimited.js.map +1 -1
  47. package/esm/models/updateprojectdatacacheop.d.ts +41 -593
  48. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  49. package/esm/models/updateprojectdatacacheop.js +43 -561
  50. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  51. package/esm/models/updateprojectop.d.ts +33 -585
  52. package/esm/models/updateprojectop.d.ts.map +1 -1
  53. package/esm/models/updateprojectop.js +31 -530
  54. package/esm/models/updateprojectop.js.map +1 -1
  55. package/esm/models/userevent.d.ts +154 -124
  56. package/esm/models/userevent.d.ts.map +1 -1
  57. package/esm/models/userevent.js +166 -135
  58. package/esm/models/userevent.js.map +1 -1
  59. package/examples/package-lock.json +1 -1
  60. package/examples/projectsUpdateProject.example.ts +1 -1
  61. package/jsr.json +1 -1
  62. package/package.json +1 -1
  63. package/src/__tests__/teams.test.ts +2 -4
  64. package/src/funcs/domainsBuyDomain.ts +2 -2
  65. package/src/funcs/domainsGetDomainConfig.ts +1 -0
  66. package/src/funcs/domainsPatchDomain.ts +2 -2
  67. package/src/lib/config.ts +3 -3
  68. package/src/mcp-server/mcp-server.ts +1 -1
  69. package/src/mcp-server/server.ts +1 -1
  70. package/src/models/canceldeploymentop.ts +78 -104
  71. package/src/models/createdeploymentop.ts +347 -350
  72. package/src/models/createprojectop.ts +197 -1221
  73. package/src/models/getdeploymentop.ts +214 -216
  74. package/src/models/getdomainconfigop.ts +129 -0
  75. package/src/models/getprojectsop.ts +202 -1207
  76. package/src/models/team.ts +13 -16
  77. package/src/models/teamlimited.ts +0 -4
  78. package/src/models/updateprojectdatacacheop.ts +171 -1168
  79. package/src/models/updateprojectop.ts +197 -1221
  80. package/src/models/userevent.ts +309 -236
  81. package/vercel-spec.json +141 -1530
@@ -1439,6 +1439,7 @@ export type CreateProjectPermissions = {
1439
1439
  observabilityFunnel?: Array<ACLAction> | undefined;
1440
1440
  openTelemetryEndpoint?: Array<ACLAction> | undefined;
1441
1441
  vercelAppInstallation?: Array<ACLAction> | undefined;
1442
+ vercelAppInstallationRequest?: Array<ACLAction> | undefined;
1442
1443
  paymentMethod?: Array<ACLAction> | undefined;
1443
1444
  permissions?: Array<ACLAction> | undefined;
1444
1445
  postgres?: Array<ACLAction> | undefined;
@@ -1612,157 +1613,35 @@ export type CreateProjectWebAnalytics = {
1612
1613
  enabledAt?: number | undefined;
1613
1614
  hasData?: boolean | undefined;
1614
1615
  };
1615
- export type CreateProjectSrc2 = {
1616
- re?: string | undefined;
1617
- eq?: string | undefined;
1618
- neq?: string | undefined;
1619
- inc?: Array<string> | undefined;
1620
- ninc?: Array<string> | undefined;
1621
- pre?: string | undefined;
1622
- suf?: string | undefined;
1623
- gt?: number | undefined;
1624
- gte?: number | undefined;
1625
- lt?: number | undefined;
1626
- lte?: number | undefined;
1627
- };
1628
- export type CreateProjectSrc = CreateProjectSrc2 | string;
1629
- export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType: {
1630
- readonly Path: "path";
1631
- readonly Host: "host";
1632
- readonly Method: "method";
1633
- readonly Header: "header";
1634
- readonly Cookie: "cookie";
1635
- readonly Query: "query";
1636
- readonly IpAddress: "ip_address";
1637
- readonly Protocol: "protocol";
1638
- readonly Scheme: "scheme";
1639
- readonly Environment: "environment";
1640
- readonly Region: "region";
1641
- readonly InitialRequestPath: "initial_request_path";
1642
- };
1643
- export type CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType>;
1644
- export type CreateProjectValue2 = {
1645
- re?: string | undefined;
1646
- eq?: string | undefined;
1647
- neq?: string | undefined;
1648
- inc?: Array<string> | undefined;
1649
- ninc?: Array<string> | undefined;
1650
- pre?: string | undefined;
1651
- suf?: string | undefined;
1652
- gt?: number | undefined;
1653
- gte?: number | undefined;
1654
- lt?: number | undefined;
1655
- lte?: number | undefined;
1656
- };
1657
- export type CreateProjectValue = CreateProjectValue2 | string;
1658
- export type CreateProjectHas = {
1659
- type: CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType;
1660
- key?: string | undefined;
1661
- value?: CreateProjectValue2 | string | undefined;
1662
- };
1663
- export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType: {
1664
- readonly Path: "path";
1665
- readonly Host: "host";
1666
- readonly Method: "method";
1667
- readonly Header: "header";
1668
- readonly Cookie: "cookie";
1669
- readonly Query: "query";
1670
- readonly IpAddress: "ip_address";
1671
- readonly Protocol: "protocol";
1672
- readonly Scheme: "scheme";
1673
- readonly Environment: "environment";
1674
- readonly Region: "region";
1675
- readonly InitialRequestPath: "initial_request_path";
1676
- };
1677
- export type CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType>;
1678
- export type CreateProjectValueProjects2 = {
1679
- re?: string | undefined;
1680
- eq?: string | undefined;
1681
- neq?: string | undefined;
1682
- inc?: Array<string> | undefined;
1683
- ninc?: Array<string> | undefined;
1684
- pre?: string | undefined;
1685
- suf?: string | undefined;
1686
- gt?: number | undefined;
1687
- gte?: number | undefined;
1688
- lt?: number | undefined;
1689
- lte?: number | undefined;
1690
- };
1691
- export type CreateProjectProjectsValue = CreateProjectValueProjects2 | string;
1692
- export type CreateProjectMissing = {
1693
- type: CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType;
1694
- key?: string | undefined;
1695
- value?: CreateProjectValueProjects2 | string | undefined;
1696
- };
1697
- export declare const CreateProjectHandle: {
1698
- readonly Init: "init";
1699
- readonly Finalize: "finalize";
1700
- };
1701
- export type CreateProjectHandle = ClosedEnum<typeof CreateProjectHandle>;
1702
1616
  export declare const CreateProjectAction: {
1703
- readonly Deny: "deny";
1704
- readonly Challenge: "challenge";
1705
1617
  readonly Log: "log";
1706
- readonly Bypass: "bypass";
1707
- readonly RateLimit: "rate_limit";
1708
- readonly Redirect: "redirect";
1618
+ readonly Challenge: "challenge";
1619
+ readonly Deny: "deny";
1709
1620
  };
1710
1621
  export type CreateProjectAction = ClosedEnum<typeof CreateProjectAction>;
1711
- export declare const CreateProjectAlgo: {
1712
- readonly FixedWindow: "fixed_window";
1713
- readonly TokenBucket: "token_bucket";
1714
- };
1715
- export type CreateProjectAlgo = ClosedEnum<typeof CreateProjectAlgo>;
1716
- export type CreateProjectErl = {
1717
- algo: CreateProjectAlgo;
1718
- window: number;
1719
- limit: number;
1720
- keys: Array<string>;
1721
- };
1722
- export type CreateProjectMitigate = {
1723
- action: CreateProjectAction;
1724
- ruleId: string;
1725
- ttl?: number | undefined;
1726
- erl?: CreateProjectErl | undefined;
1727
- };
1728
- export type CreateProjectFirewallRoutes = {
1729
- src?: CreateProjectSrc2 | string | undefined;
1730
- has?: Array<CreateProjectHas> | undefined;
1731
- missing?: Array<CreateProjectMissing> | undefined;
1732
- dest?: string | undefined;
1733
- status?: number | undefined;
1734
- handle?: CreateProjectHandle | undefined;
1735
- mitigate?: CreateProjectMitigate | undefined;
1622
+ export type CreateProjectBotFilter = {
1623
+ active: boolean;
1624
+ action?: CreateProjectAction | undefined;
1736
1625
  };
1737
1626
  export declare const CreateProjectProjectsAction: {
1738
- readonly Deny: "deny";
1739
- readonly Challenge: "challenge";
1740
1627
  readonly Log: "log";
1628
+ readonly Challenge: "challenge";
1629
+ readonly Deny: "deny";
1741
1630
  };
1742
1631
  export type CreateProjectProjectsAction = ClosedEnum<typeof CreateProjectProjectsAction>;
1743
- export type CreateProjectBotFilter = {
1632
+ export type CreateProjectAiBots = {
1744
1633
  active: boolean;
1745
1634
  action?: CreateProjectProjectsAction | undefined;
1746
1635
  };
1747
1636
  export declare const CreateProjectProjectsResponseAction: {
1748
- readonly Deny: "deny";
1749
- readonly Challenge: "challenge";
1750
1637
  readonly Log: "log";
1751
- };
1752
- export type CreateProjectProjectsResponseAction = ClosedEnum<typeof CreateProjectProjectsResponseAction>;
1753
- export type CreateProjectAiBots = {
1754
- active: boolean;
1755
- action?: CreateProjectProjectsResponseAction | undefined;
1756
- };
1757
- export declare const CreateProjectProjectsResponse200Action: {
1758
- readonly Deny: "deny";
1759
1638
  readonly Challenge: "challenge";
1760
- readonly Log: "log";
1639
+ readonly Deny: "deny";
1761
1640
  };
1762
- export type CreateProjectProjectsResponse200Action = ClosedEnum<typeof CreateProjectProjectsResponse200Action>;
1641
+ export type CreateProjectProjectsResponseAction = ClosedEnum<typeof CreateProjectProjectsResponseAction>;
1763
1642
  export type CreateProjectOwasp = {
1764
1643
  active: boolean;
1765
- action?: CreateProjectProjectsResponse200Action | undefined;
1644
+ action?: CreateProjectProjectsResponseAction | undefined;
1766
1645
  };
1767
1646
  export type CreateProjectManagedRules = {
1768
1647
  botFilter: CreateProjectBotFilter;
@@ -1776,7 +1655,6 @@ export type CreateProjectSecurity = {
1776
1655
  firewallUpdatedAt?: number | undefined;
1777
1656
  attackModeActiveUntil?: number | null | undefined;
1778
1657
  firewallConfigVersion?: number | undefined;
1779
- firewallRoutes?: Array<CreateProjectFirewallRoutes> | undefined;
1780
1658
  firewallSeawallEnabled?: boolean | undefined;
1781
1659
  ja3Enabled?: boolean | undefined;
1782
1660
  ja4Enabled?: boolean | undefined;
@@ -5464,6 +5342,7 @@ export type CreateProjectPermissions$Outbound = {
5464
5342
  observabilityFunnel?: Array<string> | undefined;
5465
5343
  openTelemetryEndpoint?: Array<string> | undefined;
5466
5344
  vercelAppInstallation?: Array<string> | undefined;
5345
+ vercelAppInstallationRequest?: Array<string> | undefined;
5467
5346
  paymentMethod?: Array<string> | undefined;
5468
5347
  permissions?: Array<string> | undefined;
5469
5348
  postgres?: Array<string> | undefined;
@@ -5988,310 +5867,6 @@ export declare namespace CreateProjectWebAnalytics$ {
5988
5867
  export declare function createProjectWebAnalyticsToJSON(createProjectWebAnalytics: CreateProjectWebAnalytics): string;
5989
5868
  export declare function createProjectWebAnalyticsFromJSON(jsonString: string): SafeParseResult<CreateProjectWebAnalytics, SDKValidationError>;
5990
5869
  /** @internal */
5991
- export declare const CreateProjectSrc2$inboundSchema: z.ZodType<CreateProjectSrc2, z.ZodTypeDef, unknown>;
5992
- /** @internal */
5993
- export type CreateProjectSrc2$Outbound = {
5994
- re?: string | undefined;
5995
- eq?: string | undefined;
5996
- neq?: string | undefined;
5997
- inc?: Array<string> | undefined;
5998
- ninc?: Array<string> | undefined;
5999
- pre?: string | undefined;
6000
- suf?: string | undefined;
6001
- gt?: number | undefined;
6002
- gte?: number | undefined;
6003
- lt?: number | undefined;
6004
- lte?: number | undefined;
6005
- };
6006
- /** @internal */
6007
- export declare const CreateProjectSrc2$outboundSchema: z.ZodType<CreateProjectSrc2$Outbound, z.ZodTypeDef, CreateProjectSrc2>;
6008
- /**
6009
- * @internal
6010
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6011
- */
6012
- export declare namespace CreateProjectSrc2$ {
6013
- /** @deprecated use `CreateProjectSrc2$inboundSchema` instead. */
6014
- const inboundSchema: z.ZodType<CreateProjectSrc2, z.ZodTypeDef, unknown>;
6015
- /** @deprecated use `CreateProjectSrc2$outboundSchema` instead. */
6016
- const outboundSchema: z.ZodType<CreateProjectSrc2$Outbound, z.ZodTypeDef, CreateProjectSrc2>;
6017
- /** @deprecated use `CreateProjectSrc2$Outbound` instead. */
6018
- type Outbound = CreateProjectSrc2$Outbound;
6019
- }
6020
- export declare function createProjectSrc2ToJSON(createProjectSrc2: CreateProjectSrc2): string;
6021
- export declare function createProjectSrc2FromJSON(jsonString: string): SafeParseResult<CreateProjectSrc2, SDKValidationError>;
6022
- /** @internal */
6023
- export declare const CreateProjectSrc$inboundSchema: z.ZodType<CreateProjectSrc, z.ZodTypeDef, unknown>;
6024
- /** @internal */
6025
- export type CreateProjectSrc$Outbound = CreateProjectSrc2$Outbound | string;
6026
- /** @internal */
6027
- export declare const CreateProjectSrc$outboundSchema: z.ZodType<CreateProjectSrc$Outbound, z.ZodTypeDef, CreateProjectSrc>;
6028
- /**
6029
- * @internal
6030
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6031
- */
6032
- export declare namespace CreateProjectSrc$ {
6033
- /** @deprecated use `CreateProjectSrc$inboundSchema` instead. */
6034
- const inboundSchema: z.ZodType<CreateProjectSrc, z.ZodTypeDef, unknown>;
6035
- /** @deprecated use `CreateProjectSrc$outboundSchema` instead. */
6036
- const outboundSchema: z.ZodType<CreateProjectSrc$Outbound, z.ZodTypeDef, CreateProjectSrc>;
6037
- /** @deprecated use `CreateProjectSrc$Outbound` instead. */
6038
- type Outbound = CreateProjectSrc$Outbound;
6039
- }
6040
- export declare function createProjectSrcToJSON(createProjectSrc: CreateProjectSrc): string;
6041
- export declare function createProjectSrcFromJSON(jsonString: string): SafeParseResult<CreateProjectSrc, SDKValidationError>;
6042
- /** @internal */
6043
- export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType>;
6044
- /** @internal */
6045
- export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType>;
6046
- /**
6047
- * @internal
6048
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6049
- */
6050
- export declare namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$ {
6051
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */
6052
- const inboundSchema: z.ZodNativeEnum<{
6053
- readonly Path: "path";
6054
- readonly Host: "host";
6055
- readonly Method: "method";
6056
- readonly Header: "header";
6057
- readonly Cookie: "cookie";
6058
- readonly Query: "query";
6059
- readonly IpAddress: "ip_address";
6060
- readonly Protocol: "protocol";
6061
- readonly Scheme: "scheme";
6062
- readonly Environment: "environment";
6063
- readonly Region: "region";
6064
- readonly InitialRequestPath: "initial_request_path";
6065
- }>;
6066
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */
6067
- const outboundSchema: z.ZodNativeEnum<{
6068
- readonly Path: "path";
6069
- readonly Host: "host";
6070
- readonly Method: "method";
6071
- readonly Header: "header";
6072
- readonly Cookie: "cookie";
6073
- readonly Query: "query";
6074
- readonly IpAddress: "ip_address";
6075
- readonly Protocol: "protocol";
6076
- readonly Scheme: "scheme";
6077
- readonly Environment: "environment";
6078
- readonly Region: "region";
6079
- readonly InitialRequestPath: "initial_request_path";
6080
- }>;
6081
- }
6082
- /** @internal */
6083
- export declare const CreateProjectValue2$inboundSchema: z.ZodType<CreateProjectValue2, z.ZodTypeDef, unknown>;
6084
- /** @internal */
6085
- export type CreateProjectValue2$Outbound = {
6086
- re?: string | undefined;
6087
- eq?: string | undefined;
6088
- neq?: string | undefined;
6089
- inc?: Array<string> | undefined;
6090
- ninc?: Array<string> | undefined;
6091
- pre?: string | undefined;
6092
- suf?: string | undefined;
6093
- gt?: number | undefined;
6094
- gte?: number | undefined;
6095
- lt?: number | undefined;
6096
- lte?: number | undefined;
6097
- };
6098
- /** @internal */
6099
- export declare const CreateProjectValue2$outboundSchema: z.ZodType<CreateProjectValue2$Outbound, z.ZodTypeDef, CreateProjectValue2>;
6100
- /**
6101
- * @internal
6102
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6103
- */
6104
- export declare namespace CreateProjectValue2$ {
6105
- /** @deprecated use `CreateProjectValue2$inboundSchema` instead. */
6106
- const inboundSchema: z.ZodType<CreateProjectValue2, z.ZodTypeDef, unknown>;
6107
- /** @deprecated use `CreateProjectValue2$outboundSchema` instead. */
6108
- const outboundSchema: z.ZodType<CreateProjectValue2$Outbound, z.ZodTypeDef, CreateProjectValue2>;
6109
- /** @deprecated use `CreateProjectValue2$Outbound` instead. */
6110
- type Outbound = CreateProjectValue2$Outbound;
6111
- }
6112
- export declare function createProjectValue2ToJSON(createProjectValue2: CreateProjectValue2): string;
6113
- export declare function createProjectValue2FromJSON(jsonString: string): SafeParseResult<CreateProjectValue2, SDKValidationError>;
6114
- /** @internal */
6115
- export declare const CreateProjectValue$inboundSchema: z.ZodType<CreateProjectValue, z.ZodTypeDef, unknown>;
6116
- /** @internal */
6117
- export type CreateProjectValue$Outbound = CreateProjectValue2$Outbound | string;
6118
- /** @internal */
6119
- export declare const CreateProjectValue$outboundSchema: z.ZodType<CreateProjectValue$Outbound, z.ZodTypeDef, CreateProjectValue>;
6120
- /**
6121
- * @internal
6122
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6123
- */
6124
- export declare namespace CreateProjectValue$ {
6125
- /** @deprecated use `CreateProjectValue$inboundSchema` instead. */
6126
- const inboundSchema: z.ZodType<CreateProjectValue, z.ZodTypeDef, unknown>;
6127
- /** @deprecated use `CreateProjectValue$outboundSchema` instead. */
6128
- const outboundSchema: z.ZodType<CreateProjectValue$Outbound, z.ZodTypeDef, CreateProjectValue>;
6129
- /** @deprecated use `CreateProjectValue$Outbound` instead. */
6130
- type Outbound = CreateProjectValue$Outbound;
6131
- }
6132
- export declare function createProjectValueToJSON(createProjectValue: CreateProjectValue): string;
6133
- export declare function createProjectValueFromJSON(jsonString: string): SafeParseResult<CreateProjectValue, SDKValidationError>;
6134
- /** @internal */
6135
- export declare const CreateProjectHas$inboundSchema: z.ZodType<CreateProjectHas, z.ZodTypeDef, unknown>;
6136
- /** @internal */
6137
- export type CreateProjectHas$Outbound = {
6138
- type: string;
6139
- key?: string | undefined;
6140
- value?: CreateProjectValue2$Outbound | string | undefined;
6141
- };
6142
- /** @internal */
6143
- export declare const CreateProjectHas$outboundSchema: z.ZodType<CreateProjectHas$Outbound, z.ZodTypeDef, CreateProjectHas>;
6144
- /**
6145
- * @internal
6146
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6147
- */
6148
- export declare namespace CreateProjectHas$ {
6149
- /** @deprecated use `CreateProjectHas$inboundSchema` instead. */
6150
- const inboundSchema: z.ZodType<CreateProjectHas, z.ZodTypeDef, unknown>;
6151
- /** @deprecated use `CreateProjectHas$outboundSchema` instead. */
6152
- const outboundSchema: z.ZodType<CreateProjectHas$Outbound, z.ZodTypeDef, CreateProjectHas>;
6153
- /** @deprecated use `CreateProjectHas$Outbound` instead. */
6154
- type Outbound = CreateProjectHas$Outbound;
6155
- }
6156
- export declare function createProjectHasToJSON(createProjectHas: CreateProjectHas): string;
6157
- export declare function createProjectHasFromJSON(jsonString: string): SafeParseResult<CreateProjectHas, SDKValidationError>;
6158
- /** @internal */
6159
- export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType>;
6160
- /** @internal */
6161
- export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType>;
6162
- /**
6163
- * @internal
6164
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6165
- */
6166
- export declare namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ {
6167
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */
6168
- const inboundSchema: z.ZodNativeEnum<{
6169
- readonly Path: "path";
6170
- readonly Host: "host";
6171
- readonly Method: "method";
6172
- readonly Header: "header";
6173
- readonly Cookie: "cookie";
6174
- readonly Query: "query";
6175
- readonly IpAddress: "ip_address";
6176
- readonly Protocol: "protocol";
6177
- readonly Scheme: "scheme";
6178
- readonly Environment: "environment";
6179
- readonly Region: "region";
6180
- readonly InitialRequestPath: "initial_request_path";
6181
- }>;
6182
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */
6183
- const outboundSchema: z.ZodNativeEnum<{
6184
- readonly Path: "path";
6185
- readonly Host: "host";
6186
- readonly Method: "method";
6187
- readonly Header: "header";
6188
- readonly Cookie: "cookie";
6189
- readonly Query: "query";
6190
- readonly IpAddress: "ip_address";
6191
- readonly Protocol: "protocol";
6192
- readonly Scheme: "scheme";
6193
- readonly Environment: "environment";
6194
- readonly Region: "region";
6195
- readonly InitialRequestPath: "initial_request_path";
6196
- }>;
6197
- }
6198
- /** @internal */
6199
- export declare const CreateProjectValueProjects2$inboundSchema: z.ZodType<CreateProjectValueProjects2, z.ZodTypeDef, unknown>;
6200
- /** @internal */
6201
- export type CreateProjectValueProjects2$Outbound = {
6202
- re?: string | undefined;
6203
- eq?: string | undefined;
6204
- neq?: string | undefined;
6205
- inc?: Array<string> | undefined;
6206
- ninc?: Array<string> | undefined;
6207
- pre?: string | undefined;
6208
- suf?: string | undefined;
6209
- gt?: number | undefined;
6210
- gte?: number | undefined;
6211
- lt?: number | undefined;
6212
- lte?: number | undefined;
6213
- };
6214
- /** @internal */
6215
- export declare const CreateProjectValueProjects2$outboundSchema: z.ZodType<CreateProjectValueProjects2$Outbound, z.ZodTypeDef, CreateProjectValueProjects2>;
6216
- /**
6217
- * @internal
6218
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6219
- */
6220
- export declare namespace CreateProjectValueProjects2$ {
6221
- /** @deprecated use `CreateProjectValueProjects2$inboundSchema` instead. */
6222
- const inboundSchema: z.ZodType<CreateProjectValueProjects2, z.ZodTypeDef, unknown>;
6223
- /** @deprecated use `CreateProjectValueProjects2$outboundSchema` instead. */
6224
- const outboundSchema: z.ZodType<CreateProjectValueProjects2$Outbound, z.ZodTypeDef, CreateProjectValueProjects2>;
6225
- /** @deprecated use `CreateProjectValueProjects2$Outbound` instead. */
6226
- type Outbound = CreateProjectValueProjects2$Outbound;
6227
- }
6228
- export declare function createProjectValueProjects2ToJSON(createProjectValueProjects2: CreateProjectValueProjects2): string;
6229
- export declare function createProjectValueProjects2FromJSON(jsonString: string): SafeParseResult<CreateProjectValueProjects2, SDKValidationError>;
6230
- /** @internal */
6231
- export declare const CreateProjectProjectsValue$inboundSchema: z.ZodType<CreateProjectProjectsValue, z.ZodTypeDef, unknown>;
6232
- /** @internal */
6233
- export type CreateProjectProjectsValue$Outbound = CreateProjectValueProjects2$Outbound | string;
6234
- /** @internal */
6235
- export declare const CreateProjectProjectsValue$outboundSchema: z.ZodType<CreateProjectProjectsValue$Outbound, z.ZodTypeDef, CreateProjectProjectsValue>;
6236
- /**
6237
- * @internal
6238
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6239
- */
6240
- export declare namespace CreateProjectProjectsValue$ {
6241
- /** @deprecated use `CreateProjectProjectsValue$inboundSchema` instead. */
6242
- const inboundSchema: z.ZodType<CreateProjectProjectsValue, z.ZodTypeDef, unknown>;
6243
- /** @deprecated use `CreateProjectProjectsValue$outboundSchema` instead. */
6244
- const outboundSchema: z.ZodType<CreateProjectProjectsValue$Outbound, z.ZodTypeDef, CreateProjectProjectsValue>;
6245
- /** @deprecated use `CreateProjectProjectsValue$Outbound` instead. */
6246
- type Outbound = CreateProjectProjectsValue$Outbound;
6247
- }
6248
- export declare function createProjectProjectsValueToJSON(createProjectProjectsValue: CreateProjectProjectsValue): string;
6249
- export declare function createProjectProjectsValueFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsValue, SDKValidationError>;
6250
- /** @internal */
6251
- export declare const CreateProjectMissing$inboundSchema: z.ZodType<CreateProjectMissing, z.ZodTypeDef, unknown>;
6252
- /** @internal */
6253
- export type CreateProjectMissing$Outbound = {
6254
- type: string;
6255
- key?: string | undefined;
6256
- value?: CreateProjectValueProjects2$Outbound | string | undefined;
6257
- };
6258
- /** @internal */
6259
- export declare const CreateProjectMissing$outboundSchema: z.ZodType<CreateProjectMissing$Outbound, z.ZodTypeDef, CreateProjectMissing>;
6260
- /**
6261
- * @internal
6262
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6263
- */
6264
- export declare namespace CreateProjectMissing$ {
6265
- /** @deprecated use `CreateProjectMissing$inboundSchema` instead. */
6266
- const inboundSchema: z.ZodType<CreateProjectMissing, z.ZodTypeDef, unknown>;
6267
- /** @deprecated use `CreateProjectMissing$outboundSchema` instead. */
6268
- const outboundSchema: z.ZodType<CreateProjectMissing$Outbound, z.ZodTypeDef, CreateProjectMissing>;
6269
- /** @deprecated use `CreateProjectMissing$Outbound` instead. */
6270
- type Outbound = CreateProjectMissing$Outbound;
6271
- }
6272
- export declare function createProjectMissingToJSON(createProjectMissing: CreateProjectMissing): string;
6273
- export declare function createProjectMissingFromJSON(jsonString: string): SafeParseResult<CreateProjectMissing, SDKValidationError>;
6274
- /** @internal */
6275
- export declare const CreateProjectHandle$inboundSchema: z.ZodNativeEnum<typeof CreateProjectHandle>;
6276
- /** @internal */
6277
- export declare const CreateProjectHandle$outboundSchema: z.ZodNativeEnum<typeof CreateProjectHandle>;
6278
- /**
6279
- * @internal
6280
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6281
- */
6282
- export declare namespace CreateProjectHandle$ {
6283
- /** @deprecated use `CreateProjectHandle$inboundSchema` instead. */
6284
- const inboundSchema: z.ZodNativeEnum<{
6285
- readonly Init: "init";
6286
- readonly Finalize: "finalize";
6287
- }>;
6288
- /** @deprecated use `CreateProjectHandle$outboundSchema` instead. */
6289
- const outboundSchema: z.ZodNativeEnum<{
6290
- readonly Init: "init";
6291
- readonly Finalize: "finalize";
6292
- }>;
6293
- }
6294
- /** @internal */
6295
5870
  export declare const CreateProjectAction$inboundSchema: z.ZodNativeEnum<typeof CreateProjectAction>;
6296
5871
  /** @internal */
6297
5872
  export declare const CreateProjectAction$outboundSchema: z.ZodNativeEnum<typeof CreateProjectAction>;
@@ -6302,141 +5877,15 @@ export declare const CreateProjectAction$outboundSchema: z.ZodNativeEnum<typeof
6302
5877
  export declare namespace CreateProjectAction$ {
6303
5878
  /** @deprecated use `CreateProjectAction$inboundSchema` instead. */
6304
5879
  const inboundSchema: z.ZodNativeEnum<{
6305
- readonly Deny: "deny";
6306
- readonly Challenge: "challenge";
6307
5880
  readonly Log: "log";
6308
- readonly Bypass: "bypass";
6309
- readonly RateLimit: "rate_limit";
6310
- readonly Redirect: "redirect";
5881
+ readonly Challenge: "challenge";
5882
+ readonly Deny: "deny";
6311
5883
  }>;
6312
5884
  /** @deprecated use `CreateProjectAction$outboundSchema` instead. */
6313
5885
  const outboundSchema: z.ZodNativeEnum<{
6314
- readonly Deny: "deny";
6315
- readonly Challenge: "challenge";
6316
5886
  readonly Log: "log";
6317
- readonly Bypass: "bypass";
6318
- readonly RateLimit: "rate_limit";
6319
- readonly Redirect: "redirect";
6320
- }>;
6321
- }
6322
- /** @internal */
6323
- export declare const CreateProjectAlgo$inboundSchema: z.ZodNativeEnum<typeof CreateProjectAlgo>;
6324
- /** @internal */
6325
- export declare const CreateProjectAlgo$outboundSchema: z.ZodNativeEnum<typeof CreateProjectAlgo>;
6326
- /**
6327
- * @internal
6328
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6329
- */
6330
- export declare namespace CreateProjectAlgo$ {
6331
- /** @deprecated use `CreateProjectAlgo$inboundSchema` instead. */
6332
- const inboundSchema: z.ZodNativeEnum<{
6333
- readonly FixedWindow: "fixed_window";
6334
- readonly TokenBucket: "token_bucket";
6335
- }>;
6336
- /** @deprecated use `CreateProjectAlgo$outboundSchema` instead. */
6337
- const outboundSchema: z.ZodNativeEnum<{
6338
- readonly FixedWindow: "fixed_window";
6339
- readonly TokenBucket: "token_bucket";
6340
- }>;
6341
- }
6342
- /** @internal */
6343
- export declare const CreateProjectErl$inboundSchema: z.ZodType<CreateProjectErl, z.ZodTypeDef, unknown>;
6344
- /** @internal */
6345
- export type CreateProjectErl$Outbound = {
6346
- algo: string;
6347
- window: number;
6348
- limit: number;
6349
- keys: Array<string>;
6350
- };
6351
- /** @internal */
6352
- export declare const CreateProjectErl$outboundSchema: z.ZodType<CreateProjectErl$Outbound, z.ZodTypeDef, CreateProjectErl>;
6353
- /**
6354
- * @internal
6355
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6356
- */
6357
- export declare namespace CreateProjectErl$ {
6358
- /** @deprecated use `CreateProjectErl$inboundSchema` instead. */
6359
- const inboundSchema: z.ZodType<CreateProjectErl, z.ZodTypeDef, unknown>;
6360
- /** @deprecated use `CreateProjectErl$outboundSchema` instead. */
6361
- const outboundSchema: z.ZodType<CreateProjectErl$Outbound, z.ZodTypeDef, CreateProjectErl>;
6362
- /** @deprecated use `CreateProjectErl$Outbound` instead. */
6363
- type Outbound = CreateProjectErl$Outbound;
6364
- }
6365
- export declare function createProjectErlToJSON(createProjectErl: CreateProjectErl): string;
6366
- export declare function createProjectErlFromJSON(jsonString: string): SafeParseResult<CreateProjectErl, SDKValidationError>;
6367
- /** @internal */
6368
- export declare const CreateProjectMitigate$inboundSchema: z.ZodType<CreateProjectMitigate, z.ZodTypeDef, unknown>;
6369
- /** @internal */
6370
- export type CreateProjectMitigate$Outbound = {
6371
- action: string;
6372
- rule_id: string;
6373
- ttl?: number | undefined;
6374
- erl?: CreateProjectErl$Outbound | undefined;
6375
- };
6376
- /** @internal */
6377
- export declare const CreateProjectMitigate$outboundSchema: z.ZodType<CreateProjectMitigate$Outbound, z.ZodTypeDef, CreateProjectMitigate>;
6378
- /**
6379
- * @internal
6380
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6381
- */
6382
- export declare namespace CreateProjectMitigate$ {
6383
- /** @deprecated use `CreateProjectMitigate$inboundSchema` instead. */
6384
- const inboundSchema: z.ZodType<CreateProjectMitigate, z.ZodTypeDef, unknown>;
6385
- /** @deprecated use `CreateProjectMitigate$outboundSchema` instead. */
6386
- const outboundSchema: z.ZodType<CreateProjectMitigate$Outbound, z.ZodTypeDef, CreateProjectMitigate>;
6387
- /** @deprecated use `CreateProjectMitigate$Outbound` instead. */
6388
- type Outbound = CreateProjectMitigate$Outbound;
6389
- }
6390
- export declare function createProjectMitigateToJSON(createProjectMitigate: CreateProjectMitigate): string;
6391
- export declare function createProjectMitigateFromJSON(jsonString: string): SafeParseResult<CreateProjectMitigate, SDKValidationError>;
6392
- /** @internal */
6393
- export declare const CreateProjectFirewallRoutes$inboundSchema: z.ZodType<CreateProjectFirewallRoutes, z.ZodTypeDef, unknown>;
6394
- /** @internal */
6395
- export type CreateProjectFirewallRoutes$Outbound = {
6396
- src?: CreateProjectSrc2$Outbound | string | undefined;
6397
- has?: Array<CreateProjectHas$Outbound> | undefined;
6398
- missing?: Array<CreateProjectMissing$Outbound> | undefined;
6399
- dest?: string | undefined;
6400
- status?: number | undefined;
6401
- handle?: string | undefined;
6402
- mitigate?: CreateProjectMitigate$Outbound | undefined;
6403
- };
6404
- /** @internal */
6405
- export declare const CreateProjectFirewallRoutes$outboundSchema: z.ZodType<CreateProjectFirewallRoutes$Outbound, z.ZodTypeDef, CreateProjectFirewallRoutes>;
6406
- /**
6407
- * @internal
6408
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6409
- */
6410
- export declare namespace CreateProjectFirewallRoutes$ {
6411
- /** @deprecated use `CreateProjectFirewallRoutes$inboundSchema` instead. */
6412
- const inboundSchema: z.ZodType<CreateProjectFirewallRoutes, z.ZodTypeDef, unknown>;
6413
- /** @deprecated use `CreateProjectFirewallRoutes$outboundSchema` instead. */
6414
- const outboundSchema: z.ZodType<CreateProjectFirewallRoutes$Outbound, z.ZodTypeDef, CreateProjectFirewallRoutes>;
6415
- /** @deprecated use `CreateProjectFirewallRoutes$Outbound` instead. */
6416
- type Outbound = CreateProjectFirewallRoutes$Outbound;
6417
- }
6418
- export declare function createProjectFirewallRoutesToJSON(createProjectFirewallRoutes: CreateProjectFirewallRoutes): string;
6419
- export declare function createProjectFirewallRoutesFromJSON(jsonString: string): SafeParseResult<CreateProjectFirewallRoutes, SDKValidationError>;
6420
- /** @internal */
6421
- export declare const CreateProjectProjectsAction$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsAction>;
6422
- /** @internal */
6423
- export declare const CreateProjectProjectsAction$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsAction>;
6424
- /**
6425
- * @internal
6426
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6427
- */
6428
- export declare namespace CreateProjectProjectsAction$ {
6429
- /** @deprecated use `CreateProjectProjectsAction$inboundSchema` instead. */
6430
- const inboundSchema: z.ZodNativeEnum<{
6431
- readonly Deny: "deny";
6432
5887
  readonly Challenge: "challenge";
6433
- readonly Log: "log";
6434
- }>;
6435
- /** @deprecated use `CreateProjectProjectsAction$outboundSchema` instead. */
6436
- const outboundSchema: z.ZodNativeEnum<{
6437
5888
  readonly Deny: "deny";
6438
- readonly Challenge: "challenge";
6439
- readonly Log: "log";
6440
5889
  }>;
6441
5890
  }
6442
5891
  /** @internal */
@@ -6463,25 +5912,25 @@ export declare namespace CreateProjectBotFilter$ {
6463
5912
  export declare function createProjectBotFilterToJSON(createProjectBotFilter: CreateProjectBotFilter): string;
6464
5913
  export declare function createProjectBotFilterFromJSON(jsonString: string): SafeParseResult<CreateProjectBotFilter, SDKValidationError>;
6465
5914
  /** @internal */
6466
- export declare const CreateProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseAction>;
5915
+ export declare const CreateProjectProjectsAction$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsAction>;
6467
5916
  /** @internal */
6468
- export declare const CreateProjectProjectsResponseAction$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseAction>;
5917
+ export declare const CreateProjectProjectsAction$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsAction>;
6469
5918
  /**
6470
5919
  * @internal
6471
5920
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6472
5921
  */
6473
- export declare namespace CreateProjectProjectsResponseAction$ {
6474
- /** @deprecated use `CreateProjectProjectsResponseAction$inboundSchema` instead. */
5922
+ export declare namespace CreateProjectProjectsAction$ {
5923
+ /** @deprecated use `CreateProjectProjectsAction$inboundSchema` instead. */
6475
5924
  const inboundSchema: z.ZodNativeEnum<{
6476
- readonly Deny: "deny";
6477
- readonly Challenge: "challenge";
6478
5925
  readonly Log: "log";
5926
+ readonly Challenge: "challenge";
5927
+ readonly Deny: "deny";
6479
5928
  }>;
6480
- /** @deprecated use `CreateProjectProjectsResponseAction$outboundSchema` instead. */
5929
+ /** @deprecated use `CreateProjectProjectsAction$outboundSchema` instead. */
6481
5930
  const outboundSchema: z.ZodNativeEnum<{
6482
- readonly Deny: "deny";
6483
- readonly Challenge: "challenge";
6484
5931
  readonly Log: "log";
5932
+ readonly Challenge: "challenge";
5933
+ readonly Deny: "deny";
6485
5934
  }>;
6486
5935
  }
6487
5936
  /** @internal */
@@ -6508,25 +5957,25 @@ export declare namespace CreateProjectAiBots$ {
6508
5957
  export declare function createProjectAiBotsToJSON(createProjectAiBots: CreateProjectAiBots): string;
6509
5958
  export declare function createProjectAiBotsFromJSON(jsonString: string): SafeParseResult<CreateProjectAiBots, SDKValidationError>;
6510
5959
  /** @internal */
6511
- export declare const CreateProjectProjectsResponse200Action$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Action>;
5960
+ export declare const CreateProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseAction>;
6512
5961
  /** @internal */
6513
- export declare const CreateProjectProjectsResponse200Action$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Action>;
5962
+ export declare const CreateProjectProjectsResponseAction$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseAction>;
6514
5963
  /**
6515
5964
  * @internal
6516
5965
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6517
5966
  */
6518
- export declare namespace CreateProjectProjectsResponse200Action$ {
6519
- /** @deprecated use `CreateProjectProjectsResponse200Action$inboundSchema` instead. */
5967
+ export declare namespace CreateProjectProjectsResponseAction$ {
5968
+ /** @deprecated use `CreateProjectProjectsResponseAction$inboundSchema` instead. */
6520
5969
  const inboundSchema: z.ZodNativeEnum<{
6521
- readonly Deny: "deny";
6522
- readonly Challenge: "challenge";
6523
5970
  readonly Log: "log";
5971
+ readonly Challenge: "challenge";
5972
+ readonly Deny: "deny";
6524
5973
  }>;
6525
- /** @deprecated use `CreateProjectProjectsResponse200Action$outboundSchema` instead. */
5974
+ /** @deprecated use `CreateProjectProjectsResponseAction$outboundSchema` instead. */
6526
5975
  const outboundSchema: z.ZodNativeEnum<{
6527
- readonly Deny: "deny";
6528
- readonly Challenge: "challenge";
6529
5976
  readonly Log: "log";
5977
+ readonly Challenge: "challenge";
5978
+ readonly Deny: "deny";
6530
5979
  }>;
6531
5980
  }
6532
5981
  /** @internal */
@@ -6586,7 +6035,6 @@ export type CreateProjectSecurity$Outbound = {
6586
6035
  firewallUpdatedAt?: number | undefined;
6587
6036
  attackModeActiveUntil?: number | null | undefined;
6588
6037
  firewallConfigVersion?: number | undefined;
6589
- firewallRoutes?: Array<CreateProjectFirewallRoutes$Outbound> | undefined;
6590
6038
  firewallSeawallEnabled?: boolean | undefined;
6591
6039
  ja3Enabled?: boolean | undefined;
6592
6040
  ja4Enabled?: boolean | undefined;