@vercel/sdk 1.6.2 → 1.6.4
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/README.md +2 -10
- package/bin/mcp-server.js +4541 -3497
- package/bin/mcp-server.js.map +36 -48
- package/docs/sdks/edgeconfig/README.md +2 -6
- package/docs/sdks/integrations/README.md +0 -161
- package/docs/sdks/logdrains/README.md +0 -260
- package/docs/sdks/marketplace/README.md +2 -6
- package/docs/sdks/security/README.md +90 -0
- package/docs/sdks/webhooks/README.md +2 -6
- package/esm/__tests__/deployments.test.js +16 -1
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +5 -40
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +7 -89
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +7 -2
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +4 -4
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/security.test.js +164 -17
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/securityPutFirewallConfig.d.ts +19 -0
- package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -0
- package/esm/funcs/{logDrainsCreateConfigurableLogDrain.js → securityPutFirewallConfig.js} +13 -11
- package/esm/funcs/securityPutFirewallConfig.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/matchers.d.ts +3 -1
- package/esm/lib/matchers.d.ts.map +1 -1
- package/esm/lib/matchers.js +10 -0
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/sdks.js +7 -2
- package/esm/lib/sdks.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -11
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts +7 -0
- package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts.map +1 -0
- package/esm/mcp-server/tools/securityPutFirewallConfig.js +28 -0
- package/esm/mcp-server/tools/{integrationsGitNamespaces.js.map → securityPutFirewallConfig.js.map} +1 -1
- package/esm/models/authtoken.d.ts +6 -0
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +2 -0
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/authuser.d.ts +87 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +57 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +277 -76
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +271 -73
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +274 -73
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +270 -72
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +51 -51
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +74 -75
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +12 -18
- package/esm/models/createprojectenvop.d.ts.map +1 -1
- package/esm/models/createprojectenvop.js +12 -12
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +221 -29
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +174 -11
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +4 -7
- package/esm/models/editprojectenvop.d.ts.map +1 -1
- package/esm/models/editprojectenvop.js +4 -4
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/exchangessotokenop.d.ts +34 -0
- package/esm/models/exchangessotokenop.d.ts.map +1 -1
- package/esm/models/exchangessotokenop.js +25 -0
- package/esm/models/exchangessotokenop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +18 -27
- package/esm/models/filterprojectenvsop.d.ts.map +1 -1
- package/esm/models/filterprojectenvsop.js +18 -18
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +19 -16
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +25 -27
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getcustomenvironmentop.d.ts +3 -0
- package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
- package/esm/models/getcustomenvironmentop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +574 -172
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +567 -171
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +214 -214
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +210 -231
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +11 -11
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +14 -13
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectdomainsop.d.ts +198 -36
- package/esm/models/getprojectdomainsop.d.ts.map +1 -1
- package/esm/models/getprojectdomainsop.js +193 -32
- package/esm/models/getprojectdomainsop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +10 -16
- package/esm/models/getprojectenvop.d.ts.map +1 -1
- package/esm/models/getprojectenvop.js +10 -10
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +221 -29
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +173 -11
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +9 -9
- package/esm/models/getteammembersop.js +3 -3
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -0
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +2901 -0
- package/esm/models/putfirewallconfigop.d.ts.map +1 -0
- package/esm/models/putfirewallconfigop.js +2383 -0
- package/esm/models/putfirewallconfigop.js.map +1 -0
- package/esm/models/removeprojectenvop.d.ts +18 -27
- package/esm/models/removeprojectenvop.d.ts.map +1 -1
- package/esm/models/removeprojectenvop.js +18 -18
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +323 -323
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +379 -357
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +229 -37
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +189 -23
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +221 -29
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +174 -11
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +608 -524
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +748 -666
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/integrations.d.ts +0 -16
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +0 -20
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/logdrains.d.ts +0 -24
- package/esm/sdk/logdrains.d.ts.map +1 -1
- package/esm/sdk/logdrains.js +0 -30
- package/esm/sdk/logdrains.js.map +1 -1
- package/esm/sdk/security.d.ts +8 -0
- package/esm/sdk/security.d.ts.map +1 -1
- package/esm/sdk/security.js +10 -0
- package/esm/sdk/security.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/__tests__/deployments.test.ts +16 -1
- package/src/__tests__/integrations.test.ts +9 -44
- package/src/__tests__/logdrains.test.ts +13 -95
- package/src/__tests__/marketplace.test.ts +7 -2
- package/src/__tests__/projects.test.ts +4 -4
- package/src/__tests__/security.test.ts +166 -19
- package/src/funcs/{logDrainsCreateConfigurableLogDrain.ts → securityPutFirewallConfig.ts} +31 -22
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +8 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -11
- package/src/mcp-server/tools/securityPutFirewallConfig.ts +37 -0
- package/src/models/authtoken.ts +2 -0
- package/src/models/authuser.ts +126 -0
- package/src/models/canceldeploymentop.ts +592 -149
- package/src/models/createdeploymentop.ts +616 -165
- package/src/models/createlogdrainop.ts +95 -112
- package/src/models/createprojectenvop.ts +24 -30
- package/src/models/createprojectop.ts +378 -21
- package/src/models/editprojectenvop.ts +8 -11
- package/src/models/exchangessotokenop.ts +44 -0
- package/src/models/filterprojectenvsop.ts +36 -45
- package/src/models/getconfigurationsop.ts +34 -39
- package/src/models/getcustomenvironmentop.ts +3 -0
- package/src/models/getdeploymentop.ts +1288 -353
- package/src/models/getfirewallconfigop.ts +555 -410
- package/src/models/getintegrationlogdrainsop.ts +15 -20
- package/src/models/getprojectdomainsop.ts +470 -63
- package/src/models/getprojectenvop.ts +20 -26
- package/src/models/getprojectsop.ts +380 -22
- package/src/models/getteammembersop.ts +3 -3
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +3 -0
- package/src/models/putfirewallconfigop.ts +4932 -0
- package/src/models/removeprojectenvop.ts +36 -45
- package/src/models/updatefirewallconfigop.ts +820 -612
- package/src/models/updateprojectdatacacheop.ts +395 -40
- package/src/models/updateprojectop.ts +378 -21
- package/src/models/userevent.ts +1363 -1203
- package/src/sdk/integrations.ts +0 -44
- package/src/sdk/logdrains.ts +0 -66
- package/src/sdk/security.ts +22 -0
- package/vercel-spec.json +1780 -1622
- package/esm/funcs/integrationsGitNamespaces.d.ts +0 -18
- package/esm/funcs/integrationsGitNamespaces.d.ts.map +0 -1
- package/esm/funcs/integrationsGitNamespaces.js +0 -86
- package/esm/funcs/integrationsGitNamespaces.js.map +0 -1
- package/esm/funcs/integrationsSearchRepo.d.ts +0 -17
- package/esm/funcs/integrationsSearchRepo.d.ts.map +0 -1
- package/esm/funcs/integrationsSearchRepo.js +0 -89
- package/esm/funcs/integrationsSearchRepo.js.map +0 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +0 -18
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +0 -1
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts +0 -18
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts.map +0 -1
- package/esm/funcs/logDrainsGetAllLogDrains.js +0 -88
- package/esm/funcs/logDrainsGetAllLogDrains.js.map +0 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +0 -19
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js +0 -92
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts +0 -7
- package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts.map +0 -1
- package/esm/mcp-server/tools/integrationsGitNamespaces.js +0 -28
- package/esm/mcp-server/tools/integrationsSearchRepo.d.ts +0 -7
- package/esm/mcp-server/tools/integrationsSearchRepo.d.ts.map +0 -1
- package/esm/mcp-server/tools/integrationsSearchRepo.js +0 -28
- package/esm/mcp-server/tools/integrationsSearchRepo.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +0 -28
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +0 -28
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +0 -28
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js.map +0 -1
- package/esm/models/createconfigurablelogdrainop.d.ts +0 -451
- package/esm/models/createconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/createconfigurablelogdrainop.js +0 -348
- package/esm/models/createconfigurablelogdrainop.js.map +0 -1
- package/esm/models/getalllogdrainsop.d.ts +0 -294
- package/esm/models/getalllogdrainsop.d.ts.map +0 -1
- package/esm/models/getalllogdrainsop.js +0 -231
- package/esm/models/getalllogdrainsop.js.map +0 -1
- package/esm/models/getconfigurablelogdrainop.d.ts +0 -292
- package/esm/models/getconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/getconfigurablelogdrainop.js +0 -230
- package/esm/models/getconfigurablelogdrainop.js.map +0 -1
- package/esm/models/gitnamespacesop.d.ts +0 -126
- package/esm/models/gitnamespacesop.d.ts.map +0 -1
- package/esm/models/gitnamespacesop.js +0 -115
- package/esm/models/gitnamespacesop.js.map +0 -1
- package/esm/models/searchrepoop.d.ts +0 -421
- package/esm/models/searchrepoop.d.ts.map +0 -1
- package/esm/models/searchrepoop.js +0 -385
- package/esm/models/searchrepoop.js.map +0 -1
- package/src/funcs/integrationsGitNamespaces.ts +0 -185
- package/src/funcs/integrationsSearchRepo.ts +0 -181
- package/src/funcs/logDrainsGetAllLogDrains.ts +0 -187
- package/src/funcs/logDrainsGetConfigurableLogDrain.ts +0 -199
- package/src/mcp-server/tools/integrationsGitNamespaces.ts +0 -37
- package/src/mcp-server/tools/integrationsSearchRepo.ts +0 -37
- package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +0 -39
- package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +0 -37
- package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +0 -39
- package/src/models/createconfigurablelogdrainop.ts +0 -652
- package/src/models/getalllogdrainsop.ts +0 -416
- package/src/models/getconfigurablelogdrainop.ts +0 -420
- package/src/models/gitnamespacesop.ts +0 -235
- package/src/models/searchrepoop.ts +0 -784
|
@@ -169,13 +169,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdA
|
|
|
169
169
|
GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema;
|
|
170
170
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$ = {}));
|
|
171
171
|
/** @internal */
|
|
172
|
-
export const
|
|
172
|
+
export const GetFirewallConfigSd$inboundSchema = z.object({
|
|
173
173
|
active: z.boolean(),
|
|
174
174
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema,
|
|
175
175
|
});
|
|
176
176
|
/** @internal */
|
|
177
|
-
export const
|
|
178
|
-
.object({
|
|
177
|
+
export const GetFirewallConfigSd$outboundSchema = z.object({
|
|
179
178
|
active: z.boolean(),
|
|
180
179
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema,
|
|
181
180
|
});
|
|
@@ -183,18 +182,18 @@ export const Sd$outboundSchema = z
|
|
|
183
182
|
* @internal
|
|
184
183
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
185
184
|
*/
|
|
186
|
-
export var
|
|
187
|
-
(function (
|
|
188
|
-
/** @deprecated use `
|
|
189
|
-
|
|
190
|
-
/** @deprecated use `
|
|
191
|
-
|
|
192
|
-
})(
|
|
193
|
-
export function
|
|
194
|
-
return JSON.stringify(
|
|
185
|
+
export var GetFirewallConfigSd$;
|
|
186
|
+
(function (GetFirewallConfigSd$) {
|
|
187
|
+
/** @deprecated use `GetFirewallConfigSd$inboundSchema` instead. */
|
|
188
|
+
GetFirewallConfigSd$.inboundSchema = GetFirewallConfigSd$inboundSchema;
|
|
189
|
+
/** @deprecated use `GetFirewallConfigSd$outboundSchema` instead. */
|
|
190
|
+
GetFirewallConfigSd$.outboundSchema = GetFirewallConfigSd$outboundSchema;
|
|
191
|
+
})(GetFirewallConfigSd$ || (GetFirewallConfigSd$ = {}));
|
|
192
|
+
export function getFirewallConfigSdToJSON(getFirewallConfigSd) {
|
|
193
|
+
return JSON.stringify(GetFirewallConfigSd$outboundSchema.parse(getFirewallConfigSd));
|
|
195
194
|
}
|
|
196
|
-
export function
|
|
197
|
-
return safeParse(jsonString, (x) =>
|
|
195
|
+
export function getFirewallConfigSdFromJSON(jsonString) {
|
|
196
|
+
return safeParse(jsonString, (x) => GetFirewallConfigSd$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigSd' from JSON`);
|
|
198
197
|
}
|
|
199
198
|
/** @internal */
|
|
200
199
|
export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction);
|
|
@@ -212,13 +211,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaA
|
|
|
212
211
|
GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema;
|
|
213
212
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$ = {}));
|
|
214
213
|
/** @internal */
|
|
215
|
-
export const
|
|
214
|
+
export const GetFirewallConfigMa$inboundSchema = z.object({
|
|
216
215
|
active: z.boolean(),
|
|
217
216
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema,
|
|
218
217
|
});
|
|
219
218
|
/** @internal */
|
|
220
|
-
export const
|
|
221
|
-
.object({
|
|
219
|
+
export const GetFirewallConfigMa$outboundSchema = z.object({
|
|
222
220
|
active: z.boolean(),
|
|
223
221
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema,
|
|
224
222
|
});
|
|
@@ -226,18 +224,18 @@ export const Ma$outboundSchema = z
|
|
|
226
224
|
* @internal
|
|
227
225
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
228
226
|
*/
|
|
229
|
-
export var
|
|
230
|
-
(function (
|
|
231
|
-
/** @deprecated use `
|
|
232
|
-
|
|
233
|
-
/** @deprecated use `
|
|
234
|
-
|
|
235
|
-
})(
|
|
236
|
-
export function
|
|
237
|
-
return JSON.stringify(
|
|
227
|
+
export var GetFirewallConfigMa$;
|
|
228
|
+
(function (GetFirewallConfigMa$) {
|
|
229
|
+
/** @deprecated use `GetFirewallConfigMa$inboundSchema` instead. */
|
|
230
|
+
GetFirewallConfigMa$.inboundSchema = GetFirewallConfigMa$inboundSchema;
|
|
231
|
+
/** @deprecated use `GetFirewallConfigMa$outboundSchema` instead. */
|
|
232
|
+
GetFirewallConfigMa$.outboundSchema = GetFirewallConfigMa$outboundSchema;
|
|
233
|
+
})(GetFirewallConfigMa$ || (GetFirewallConfigMa$ = {}));
|
|
234
|
+
export function getFirewallConfigMaToJSON(getFirewallConfigMa) {
|
|
235
|
+
return JSON.stringify(GetFirewallConfigMa$outboundSchema.parse(getFirewallConfigMa));
|
|
238
236
|
}
|
|
239
|
-
export function
|
|
240
|
-
return safeParse(jsonString, (x) =>
|
|
237
|
+
export function getFirewallConfigMaFromJSON(jsonString) {
|
|
238
|
+
return safeParse(jsonString, (x) => GetFirewallConfigMa$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigMa' from JSON`);
|
|
241
239
|
}
|
|
242
240
|
/** @internal */
|
|
243
241
|
export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction);
|
|
@@ -255,14 +253,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfi
|
|
|
255
253
|
GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$outboundSchema;
|
|
256
254
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$ = {}));
|
|
257
255
|
/** @internal */
|
|
258
|
-
export const
|
|
259
|
-
.object({
|
|
256
|
+
export const GetFirewallConfigLfi$inboundSchema = z.object({
|
|
260
257
|
active: z.boolean(),
|
|
261
258
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$inboundSchema,
|
|
262
259
|
});
|
|
263
260
|
/** @internal */
|
|
264
|
-
export const
|
|
265
|
-
.object({
|
|
261
|
+
export const GetFirewallConfigLfi$outboundSchema = z.object({
|
|
266
262
|
active: z.boolean(),
|
|
267
263
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$outboundSchema,
|
|
268
264
|
});
|
|
@@ -270,18 +266,18 @@ export const Lfi$outboundSchema = z
|
|
|
270
266
|
* @internal
|
|
271
267
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
272
268
|
*/
|
|
273
|
-
export var
|
|
274
|
-
(function (
|
|
275
|
-
/** @deprecated use `
|
|
276
|
-
|
|
277
|
-
/** @deprecated use `
|
|
278
|
-
|
|
279
|
-
})(
|
|
280
|
-
export function
|
|
281
|
-
return JSON.stringify(
|
|
269
|
+
export var GetFirewallConfigLfi$;
|
|
270
|
+
(function (GetFirewallConfigLfi$) {
|
|
271
|
+
/** @deprecated use `GetFirewallConfigLfi$inboundSchema` instead. */
|
|
272
|
+
GetFirewallConfigLfi$.inboundSchema = GetFirewallConfigLfi$inboundSchema;
|
|
273
|
+
/** @deprecated use `GetFirewallConfigLfi$outboundSchema` instead. */
|
|
274
|
+
GetFirewallConfigLfi$.outboundSchema = GetFirewallConfigLfi$outboundSchema;
|
|
275
|
+
})(GetFirewallConfigLfi$ || (GetFirewallConfigLfi$ = {}));
|
|
276
|
+
export function getFirewallConfigLfiToJSON(getFirewallConfigLfi) {
|
|
277
|
+
return JSON.stringify(GetFirewallConfigLfi$outboundSchema.parse(getFirewallConfigLfi));
|
|
282
278
|
}
|
|
283
|
-
export function
|
|
284
|
-
return safeParse(jsonString, (x) =>
|
|
279
|
+
export function getFirewallConfigLfiFromJSON(jsonString) {
|
|
280
|
+
return safeParse(jsonString, (x) => GetFirewallConfigLfi$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigLfi' from JSON`);
|
|
285
281
|
}
|
|
286
282
|
/** @internal */
|
|
287
283
|
export const GetFirewallConfigSecurityResponse200Action$inboundSchema = z
|
|
@@ -300,14 +296,12 @@ export var GetFirewallConfigSecurityResponse200Action$;
|
|
|
300
296
|
GetFirewallConfigSecurityResponse200Action$.outboundSchema = GetFirewallConfigSecurityResponse200Action$outboundSchema;
|
|
301
297
|
})(GetFirewallConfigSecurityResponse200Action$ || (GetFirewallConfigSecurityResponse200Action$ = {}));
|
|
302
298
|
/** @internal */
|
|
303
|
-
export const
|
|
304
|
-
.object({
|
|
299
|
+
export const GetFirewallConfigRfi$inboundSchema = z.object({
|
|
305
300
|
active: z.boolean(),
|
|
306
301
|
action: GetFirewallConfigSecurityResponse200Action$inboundSchema,
|
|
307
302
|
});
|
|
308
303
|
/** @internal */
|
|
309
|
-
export const
|
|
310
|
-
.object({
|
|
304
|
+
export const GetFirewallConfigRfi$outboundSchema = z.object({
|
|
311
305
|
active: z.boolean(),
|
|
312
306
|
action: GetFirewallConfigSecurityResponse200Action$outboundSchema,
|
|
313
307
|
});
|
|
@@ -315,18 +309,18 @@ export const Rfi$outboundSchema = z
|
|
|
315
309
|
* @internal
|
|
316
310
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
317
311
|
*/
|
|
318
|
-
export var
|
|
319
|
-
(function (
|
|
320
|
-
/** @deprecated use `
|
|
321
|
-
|
|
322
|
-
/** @deprecated use `
|
|
323
|
-
|
|
324
|
-
})(
|
|
325
|
-
export function
|
|
326
|
-
return JSON.stringify(
|
|
312
|
+
export var GetFirewallConfigRfi$;
|
|
313
|
+
(function (GetFirewallConfigRfi$) {
|
|
314
|
+
/** @deprecated use `GetFirewallConfigRfi$inboundSchema` instead. */
|
|
315
|
+
GetFirewallConfigRfi$.inboundSchema = GetFirewallConfigRfi$inboundSchema;
|
|
316
|
+
/** @deprecated use `GetFirewallConfigRfi$outboundSchema` instead. */
|
|
317
|
+
GetFirewallConfigRfi$.outboundSchema = GetFirewallConfigRfi$outboundSchema;
|
|
318
|
+
})(GetFirewallConfigRfi$ || (GetFirewallConfigRfi$ = {}));
|
|
319
|
+
export function getFirewallConfigRfiToJSON(getFirewallConfigRfi) {
|
|
320
|
+
return JSON.stringify(GetFirewallConfigRfi$outboundSchema.parse(getFirewallConfigRfi));
|
|
327
321
|
}
|
|
328
|
-
export function
|
|
329
|
-
return safeParse(jsonString, (x) =>
|
|
322
|
+
export function getFirewallConfigRfiFromJSON(jsonString) {
|
|
323
|
+
return safeParse(jsonString, (x) => GetFirewallConfigRfi$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigRfi' from JSON`);
|
|
330
324
|
}
|
|
331
325
|
/** @internal */
|
|
332
326
|
export const GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONAction);
|
|
@@ -344,14 +338,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONAction$;
|
|
|
344
338
|
GetFirewallConfigSecurityResponse200ApplicationJSONAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema;
|
|
345
339
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONAction$ = {}));
|
|
346
340
|
/** @internal */
|
|
347
|
-
export const
|
|
348
|
-
.object({
|
|
341
|
+
export const GetFirewallConfigRce$inboundSchema = z.object({
|
|
349
342
|
active: z.boolean(),
|
|
350
343
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema,
|
|
351
344
|
});
|
|
352
345
|
/** @internal */
|
|
353
|
-
export const
|
|
354
|
-
.object({
|
|
346
|
+
export const GetFirewallConfigRce$outboundSchema = z.object({
|
|
355
347
|
active: z.boolean(),
|
|
356
348
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema,
|
|
357
349
|
});
|
|
@@ -359,18 +351,18 @@ export const Rce$outboundSchema = z
|
|
|
359
351
|
* @internal
|
|
360
352
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
361
353
|
*/
|
|
362
|
-
export var
|
|
363
|
-
(function (
|
|
364
|
-
/** @deprecated use `
|
|
365
|
-
|
|
366
|
-
/** @deprecated use `
|
|
367
|
-
|
|
368
|
-
})(
|
|
369
|
-
export function
|
|
370
|
-
return JSON.stringify(
|
|
354
|
+
export var GetFirewallConfigRce$;
|
|
355
|
+
(function (GetFirewallConfigRce$) {
|
|
356
|
+
/** @deprecated use `GetFirewallConfigRce$inboundSchema` instead. */
|
|
357
|
+
GetFirewallConfigRce$.inboundSchema = GetFirewallConfigRce$inboundSchema;
|
|
358
|
+
/** @deprecated use `GetFirewallConfigRce$outboundSchema` instead. */
|
|
359
|
+
GetFirewallConfigRce$.outboundSchema = GetFirewallConfigRce$outboundSchema;
|
|
360
|
+
})(GetFirewallConfigRce$ || (GetFirewallConfigRce$ = {}));
|
|
361
|
+
export function getFirewallConfigRceToJSON(getFirewallConfigRce) {
|
|
362
|
+
return JSON.stringify(GetFirewallConfigRce$outboundSchema.parse(getFirewallConfigRce));
|
|
371
363
|
}
|
|
372
|
-
export function
|
|
373
|
-
return safeParse(jsonString, (x) =>
|
|
364
|
+
export function getFirewallConfigRceFromJSON(jsonString) {
|
|
365
|
+
return safeParse(jsonString, (x) => GetFirewallConfigRce$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigRce' from JSON`);
|
|
374
366
|
}
|
|
375
367
|
/** @internal */
|
|
376
368
|
export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction);
|
|
@@ -388,14 +380,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction
|
|
|
388
380
|
GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema;
|
|
389
381
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$ = {}));
|
|
390
382
|
/** @internal */
|
|
391
|
-
export const
|
|
392
|
-
.object({
|
|
383
|
+
export const GetFirewallConfigPhp$inboundSchema = z.object({
|
|
393
384
|
active: z.boolean(),
|
|
394
385
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema,
|
|
395
386
|
});
|
|
396
387
|
/** @internal */
|
|
397
|
-
export const
|
|
398
|
-
.object({
|
|
388
|
+
export const GetFirewallConfigPhp$outboundSchema = z.object({
|
|
399
389
|
active: z.boolean(),
|
|
400
390
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema,
|
|
401
391
|
});
|
|
@@ -403,18 +393,18 @@ export const Php$outboundSchema = z
|
|
|
403
393
|
* @internal
|
|
404
394
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
405
395
|
*/
|
|
406
|
-
export var
|
|
407
|
-
(function (
|
|
408
|
-
/** @deprecated use `
|
|
409
|
-
|
|
410
|
-
/** @deprecated use `
|
|
411
|
-
|
|
412
|
-
})(
|
|
413
|
-
export function
|
|
414
|
-
return JSON.stringify(
|
|
396
|
+
export var GetFirewallConfigPhp$;
|
|
397
|
+
(function (GetFirewallConfigPhp$) {
|
|
398
|
+
/** @deprecated use `GetFirewallConfigPhp$inboundSchema` instead. */
|
|
399
|
+
GetFirewallConfigPhp$.inboundSchema = GetFirewallConfigPhp$inboundSchema;
|
|
400
|
+
/** @deprecated use `GetFirewallConfigPhp$outboundSchema` instead. */
|
|
401
|
+
GetFirewallConfigPhp$.outboundSchema = GetFirewallConfigPhp$outboundSchema;
|
|
402
|
+
})(GetFirewallConfigPhp$ || (GetFirewallConfigPhp$ = {}));
|
|
403
|
+
export function getFirewallConfigPhpToJSON(getFirewallConfigPhp) {
|
|
404
|
+
return JSON.stringify(GetFirewallConfigPhp$outboundSchema.parse(getFirewallConfigPhp));
|
|
415
405
|
}
|
|
416
|
-
export function
|
|
417
|
-
return safeParse(jsonString, (x) =>
|
|
406
|
+
export function getFirewallConfigPhpFromJSON(jsonString) {
|
|
407
|
+
return safeParse(jsonString, (x) => GetFirewallConfigPhp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigPhp' from JSON`);
|
|
418
408
|
}
|
|
419
409
|
/** @internal */
|
|
420
410
|
export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction);
|
|
@@ -432,14 +422,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAct
|
|
|
432
422
|
GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema;
|
|
433
423
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$ = {}));
|
|
434
424
|
/** @internal */
|
|
435
|
-
export const
|
|
436
|
-
.object({
|
|
425
|
+
export const GetFirewallConfigGen$inboundSchema = z.object({
|
|
437
426
|
active: z.boolean(),
|
|
438
427
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema,
|
|
439
428
|
});
|
|
440
429
|
/** @internal */
|
|
441
|
-
export const
|
|
442
|
-
.object({
|
|
430
|
+
export const GetFirewallConfigGen$outboundSchema = z.object({
|
|
443
431
|
active: z.boolean(),
|
|
444
432
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema,
|
|
445
433
|
});
|
|
@@ -447,18 +435,18 @@ export const Gen$outboundSchema = z
|
|
|
447
435
|
* @internal
|
|
448
436
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
449
437
|
*/
|
|
450
|
-
export var
|
|
451
|
-
(function (
|
|
452
|
-
/** @deprecated use `
|
|
453
|
-
|
|
454
|
-
/** @deprecated use `
|
|
455
|
-
|
|
456
|
-
})(
|
|
457
|
-
export function
|
|
458
|
-
return JSON.stringify(
|
|
438
|
+
export var GetFirewallConfigGen$;
|
|
439
|
+
(function (GetFirewallConfigGen$) {
|
|
440
|
+
/** @deprecated use `GetFirewallConfigGen$inboundSchema` instead. */
|
|
441
|
+
GetFirewallConfigGen$.inboundSchema = GetFirewallConfigGen$inboundSchema;
|
|
442
|
+
/** @deprecated use `GetFirewallConfigGen$outboundSchema` instead. */
|
|
443
|
+
GetFirewallConfigGen$.outboundSchema = GetFirewallConfigGen$outboundSchema;
|
|
444
|
+
})(GetFirewallConfigGen$ || (GetFirewallConfigGen$ = {}));
|
|
445
|
+
export function getFirewallConfigGenToJSON(getFirewallConfigGen) {
|
|
446
|
+
return JSON.stringify(GetFirewallConfigGen$outboundSchema.parse(getFirewallConfigGen));
|
|
459
447
|
}
|
|
460
|
-
export function
|
|
461
|
-
return safeParse(jsonString, (x) =>
|
|
448
|
+
export function getFirewallConfigGenFromJSON(jsonString) {
|
|
449
|
+
return safeParse(jsonString, (x) => GetFirewallConfigGen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigGen' from JSON`);
|
|
462
450
|
}
|
|
463
451
|
/** @internal */
|
|
464
452
|
export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction);
|
|
@@ -476,14 +464,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXss
|
|
|
476
464
|
GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema;
|
|
477
465
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$ = {}));
|
|
478
466
|
/** @internal */
|
|
479
|
-
export const
|
|
480
|
-
.object({
|
|
467
|
+
export const GetFirewallConfigXss$inboundSchema = z.object({
|
|
481
468
|
active: z.boolean(),
|
|
482
469
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema,
|
|
483
470
|
});
|
|
484
471
|
/** @internal */
|
|
485
|
-
export const
|
|
486
|
-
.object({
|
|
472
|
+
export const GetFirewallConfigXss$outboundSchema = z.object({
|
|
487
473
|
active: z.boolean(),
|
|
488
474
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema,
|
|
489
475
|
});
|
|
@@ -491,18 +477,18 @@ export const Xss$outboundSchema = z
|
|
|
491
477
|
* @internal
|
|
492
478
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
493
479
|
*/
|
|
494
|
-
export var
|
|
495
|
-
(function (
|
|
496
|
-
/** @deprecated use `
|
|
497
|
-
|
|
498
|
-
/** @deprecated use `
|
|
499
|
-
|
|
500
|
-
})(
|
|
501
|
-
export function
|
|
502
|
-
return JSON.stringify(
|
|
480
|
+
export var GetFirewallConfigXss$;
|
|
481
|
+
(function (GetFirewallConfigXss$) {
|
|
482
|
+
/** @deprecated use `GetFirewallConfigXss$inboundSchema` instead. */
|
|
483
|
+
GetFirewallConfigXss$.inboundSchema = GetFirewallConfigXss$inboundSchema;
|
|
484
|
+
/** @deprecated use `GetFirewallConfigXss$outboundSchema` instead. */
|
|
485
|
+
GetFirewallConfigXss$.outboundSchema = GetFirewallConfigXss$outboundSchema;
|
|
486
|
+
})(GetFirewallConfigXss$ || (GetFirewallConfigXss$ = {}));
|
|
487
|
+
export function getFirewallConfigXssToJSON(getFirewallConfigXss) {
|
|
488
|
+
return JSON.stringify(GetFirewallConfigXss$outboundSchema.parse(getFirewallConfigXss));
|
|
503
489
|
}
|
|
504
|
-
export function
|
|
505
|
-
return safeParse(jsonString, (x) =>
|
|
490
|
+
export function getFirewallConfigXssFromJSON(jsonString) {
|
|
491
|
+
return safeParse(jsonString, (x) => GetFirewallConfigXss$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigXss' from JSON`);
|
|
506
492
|
}
|
|
507
493
|
/** @internal */
|
|
508
494
|
export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction);
|
|
@@ -520,13 +506,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSql
|
|
|
520
506
|
GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema;
|
|
521
507
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$ = {}));
|
|
522
508
|
/** @internal */
|
|
523
|
-
export const
|
|
524
|
-
.object({
|
|
509
|
+
export const GetFirewallConfigSqli$inboundSchema = z.object({
|
|
525
510
|
active: z.boolean(),
|
|
526
511
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema,
|
|
527
512
|
});
|
|
528
513
|
/** @internal */
|
|
529
|
-
export const
|
|
514
|
+
export const GetFirewallConfigSqli$outboundSchema = z.object({
|
|
530
515
|
active: z.boolean(),
|
|
531
516
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema,
|
|
532
517
|
});
|
|
@@ -534,18 +519,18 @@ export const Sqli$outboundSchema = z.object({
|
|
|
534
519
|
* @internal
|
|
535
520
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
536
521
|
*/
|
|
537
|
-
export var
|
|
538
|
-
(function (
|
|
539
|
-
/** @deprecated use `
|
|
540
|
-
|
|
541
|
-
/** @deprecated use `
|
|
542
|
-
|
|
543
|
-
})(
|
|
544
|
-
export function
|
|
545
|
-
return JSON.stringify(
|
|
522
|
+
export var GetFirewallConfigSqli$;
|
|
523
|
+
(function (GetFirewallConfigSqli$) {
|
|
524
|
+
/** @deprecated use `GetFirewallConfigSqli$inboundSchema` instead. */
|
|
525
|
+
GetFirewallConfigSqli$.inboundSchema = GetFirewallConfigSqli$inboundSchema;
|
|
526
|
+
/** @deprecated use `GetFirewallConfigSqli$outboundSchema` instead. */
|
|
527
|
+
GetFirewallConfigSqli$.outboundSchema = GetFirewallConfigSqli$outboundSchema;
|
|
528
|
+
})(GetFirewallConfigSqli$ || (GetFirewallConfigSqli$ = {}));
|
|
529
|
+
export function getFirewallConfigSqliToJSON(getFirewallConfigSqli) {
|
|
530
|
+
return JSON.stringify(GetFirewallConfigSqli$outboundSchema.parse(getFirewallConfigSqli));
|
|
546
531
|
}
|
|
547
|
-
export function
|
|
548
|
-
return safeParse(jsonString, (x) =>
|
|
532
|
+
export function getFirewallConfigSqliFromJSON(jsonString) {
|
|
533
|
+
return safeParse(jsonString, (x) => GetFirewallConfigSqli$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigSqli' from JSON`);
|
|
549
534
|
}
|
|
550
535
|
/** @internal */
|
|
551
536
|
export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction);
|
|
@@ -563,13 +548,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfA
|
|
|
563
548
|
GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema;
|
|
564
549
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$ = {}));
|
|
565
550
|
/** @internal */
|
|
566
|
-
export const
|
|
551
|
+
export const GetFirewallConfigSf$inboundSchema = z.object({
|
|
567
552
|
active: z.boolean(),
|
|
568
553
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema,
|
|
569
554
|
});
|
|
570
555
|
/** @internal */
|
|
571
|
-
export const
|
|
572
|
-
.object({
|
|
556
|
+
export const GetFirewallConfigSf$outboundSchema = z.object({
|
|
573
557
|
active: z.boolean(),
|
|
574
558
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema,
|
|
575
559
|
});
|
|
@@ -577,18 +561,18 @@ export const Sf$outboundSchema = z
|
|
|
577
561
|
* @internal
|
|
578
562
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
579
563
|
*/
|
|
580
|
-
export var
|
|
581
|
-
(function (
|
|
582
|
-
/** @deprecated use `
|
|
583
|
-
|
|
584
|
-
/** @deprecated use `
|
|
585
|
-
|
|
586
|
-
})(
|
|
587
|
-
export function
|
|
588
|
-
return JSON.stringify(
|
|
564
|
+
export var GetFirewallConfigSf$;
|
|
565
|
+
(function (GetFirewallConfigSf$) {
|
|
566
|
+
/** @deprecated use `GetFirewallConfigSf$inboundSchema` instead. */
|
|
567
|
+
GetFirewallConfigSf$.inboundSchema = GetFirewallConfigSf$inboundSchema;
|
|
568
|
+
/** @deprecated use `GetFirewallConfigSf$outboundSchema` instead. */
|
|
569
|
+
GetFirewallConfigSf$.outboundSchema = GetFirewallConfigSf$outboundSchema;
|
|
570
|
+
})(GetFirewallConfigSf$ || (GetFirewallConfigSf$ = {}));
|
|
571
|
+
export function getFirewallConfigSfToJSON(getFirewallConfigSf) {
|
|
572
|
+
return JSON.stringify(GetFirewallConfigSf$outboundSchema.parse(getFirewallConfigSf));
|
|
589
573
|
}
|
|
590
|
-
export function
|
|
591
|
-
return safeParse(jsonString, (x) =>
|
|
574
|
+
export function getFirewallConfigSfFromJSON(jsonString) {
|
|
575
|
+
return safeParse(jsonString, (x) => GetFirewallConfigSf$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigSf' from JSON`);
|
|
592
576
|
}
|
|
593
577
|
/** @internal */
|
|
594
578
|
export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction);
|
|
@@ -606,13 +590,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJav
|
|
|
606
590
|
GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema;
|
|
607
591
|
})(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$ = {}));
|
|
608
592
|
/** @internal */
|
|
609
|
-
export const
|
|
610
|
-
.object({
|
|
593
|
+
export const GetFirewallConfigJava$inboundSchema = z.object({
|
|
611
594
|
active: z.boolean(),
|
|
612
595
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema,
|
|
613
596
|
});
|
|
614
597
|
/** @internal */
|
|
615
|
-
export const
|
|
598
|
+
export const GetFirewallConfigJava$outboundSchema = z.object({
|
|
616
599
|
active: z.boolean(),
|
|
617
600
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema,
|
|
618
601
|
});
|
|
@@ -620,65 +603,63 @@ export const Java$outboundSchema = z.object({
|
|
|
620
603
|
* @internal
|
|
621
604
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
622
605
|
*/
|
|
623
|
-
export var
|
|
624
|
-
(function (
|
|
625
|
-
/** @deprecated use `
|
|
626
|
-
|
|
627
|
-
/** @deprecated use `
|
|
628
|
-
|
|
629
|
-
})(
|
|
630
|
-
export function
|
|
631
|
-
return JSON.stringify(
|
|
606
|
+
export var GetFirewallConfigJava$;
|
|
607
|
+
(function (GetFirewallConfigJava$) {
|
|
608
|
+
/** @deprecated use `GetFirewallConfigJava$inboundSchema` instead. */
|
|
609
|
+
GetFirewallConfigJava$.inboundSchema = GetFirewallConfigJava$inboundSchema;
|
|
610
|
+
/** @deprecated use `GetFirewallConfigJava$outboundSchema` instead. */
|
|
611
|
+
GetFirewallConfigJava$.outboundSchema = GetFirewallConfigJava$outboundSchema;
|
|
612
|
+
})(GetFirewallConfigJava$ || (GetFirewallConfigJava$ = {}));
|
|
613
|
+
export function getFirewallConfigJavaToJSON(getFirewallConfigJava) {
|
|
614
|
+
return JSON.stringify(GetFirewallConfigJava$outboundSchema.parse(getFirewallConfigJava));
|
|
632
615
|
}
|
|
633
|
-
export function
|
|
634
|
-
return safeParse(jsonString, (x) =>
|
|
616
|
+
export function getFirewallConfigJavaFromJSON(jsonString) {
|
|
617
|
+
return safeParse(jsonString, (x) => GetFirewallConfigJava$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigJava' from JSON`);
|
|
635
618
|
}
|
|
636
619
|
/** @internal */
|
|
637
|
-
export const
|
|
638
|
-
.
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
java: z.lazy(() => Java$inboundSchema),
|
|
620
|
+
export const GetFirewallConfigCrs$inboundSchema = z.object({
|
|
621
|
+
sd: z.lazy(() => GetFirewallConfigSd$inboundSchema),
|
|
622
|
+
ma: z.lazy(() => GetFirewallConfigMa$inboundSchema),
|
|
623
|
+
lfi: z.lazy(() => GetFirewallConfigLfi$inboundSchema),
|
|
624
|
+
rfi: z.lazy(() => GetFirewallConfigRfi$inboundSchema),
|
|
625
|
+
rce: z.lazy(() => GetFirewallConfigRce$inboundSchema),
|
|
626
|
+
php: z.lazy(() => GetFirewallConfigPhp$inboundSchema),
|
|
627
|
+
gen: z.lazy(() => GetFirewallConfigGen$inboundSchema),
|
|
628
|
+
xss: z.lazy(() => GetFirewallConfigXss$inboundSchema),
|
|
629
|
+
sqli: z.lazy(() => GetFirewallConfigSqli$inboundSchema),
|
|
630
|
+
sf: z.lazy(() => GetFirewallConfigSf$inboundSchema),
|
|
631
|
+
java: z.lazy(() => GetFirewallConfigJava$inboundSchema),
|
|
650
632
|
});
|
|
651
633
|
/** @internal */
|
|
652
|
-
export const
|
|
653
|
-
.
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
java: z.lazy(() => Java$outboundSchema),
|
|
634
|
+
export const GetFirewallConfigCrs$outboundSchema = z.object({
|
|
635
|
+
sd: z.lazy(() => GetFirewallConfigSd$outboundSchema),
|
|
636
|
+
ma: z.lazy(() => GetFirewallConfigMa$outboundSchema),
|
|
637
|
+
lfi: z.lazy(() => GetFirewallConfigLfi$outboundSchema),
|
|
638
|
+
rfi: z.lazy(() => GetFirewallConfigRfi$outboundSchema),
|
|
639
|
+
rce: z.lazy(() => GetFirewallConfigRce$outboundSchema),
|
|
640
|
+
php: z.lazy(() => GetFirewallConfigPhp$outboundSchema),
|
|
641
|
+
gen: z.lazy(() => GetFirewallConfigGen$outboundSchema),
|
|
642
|
+
xss: z.lazy(() => GetFirewallConfigXss$outboundSchema),
|
|
643
|
+
sqli: z.lazy(() => GetFirewallConfigSqli$outboundSchema),
|
|
644
|
+
sf: z.lazy(() => GetFirewallConfigSf$outboundSchema),
|
|
645
|
+
java: z.lazy(() => GetFirewallConfigJava$outboundSchema),
|
|
665
646
|
});
|
|
666
647
|
/**
|
|
667
648
|
* @internal
|
|
668
649
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
669
650
|
*/
|
|
670
|
-
export var
|
|
671
|
-
(function (
|
|
672
|
-
/** @deprecated use `
|
|
673
|
-
|
|
674
|
-
/** @deprecated use `
|
|
675
|
-
|
|
676
|
-
})(
|
|
677
|
-
export function
|
|
678
|
-
return JSON.stringify(
|
|
651
|
+
export var GetFirewallConfigCrs$;
|
|
652
|
+
(function (GetFirewallConfigCrs$) {
|
|
653
|
+
/** @deprecated use `GetFirewallConfigCrs$inboundSchema` instead. */
|
|
654
|
+
GetFirewallConfigCrs$.inboundSchema = GetFirewallConfigCrs$inboundSchema;
|
|
655
|
+
/** @deprecated use `GetFirewallConfigCrs$outboundSchema` instead. */
|
|
656
|
+
GetFirewallConfigCrs$.outboundSchema = GetFirewallConfigCrs$outboundSchema;
|
|
657
|
+
})(GetFirewallConfigCrs$ || (GetFirewallConfigCrs$ = {}));
|
|
658
|
+
export function getFirewallConfigCrsToJSON(getFirewallConfigCrs) {
|
|
659
|
+
return JSON.stringify(GetFirewallConfigCrs$outboundSchema.parse(getFirewallConfigCrs));
|
|
679
660
|
}
|
|
680
|
-
export function
|
|
681
|
-
return safeParse(jsonString, (x) =>
|
|
661
|
+
export function getFirewallConfigCrsFromJSON(jsonString) {
|
|
662
|
+
return safeParse(jsonString, (x) => GetFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigCrs' from JSON`);
|
|
682
663
|
}
|
|
683
664
|
/** @internal */
|
|
684
665
|
export const GetFirewallConfigType$inboundSchema = z.nativeEnum(GetFirewallConfigType);
|
|
@@ -1007,8 +988,7 @@ export var GetFirewallConfigSecurityAction$;
|
|
|
1007
988
|
GetFirewallConfigSecurityAction$.outboundSchema = GetFirewallConfigSecurityAction$outboundSchema;
|
|
1008
989
|
})(GetFirewallConfigSecurityAction$ || (GetFirewallConfigSecurityAction$ = {}));
|
|
1009
990
|
/** @internal */
|
|
1010
|
-
export const
|
|
1011
|
-
.object({
|
|
991
|
+
export const GetFirewallConfigIps$inboundSchema = z.object({
|
|
1012
992
|
id: z.string(),
|
|
1013
993
|
hostname: z.string(),
|
|
1014
994
|
ip: z.string(),
|
|
@@ -1016,8 +996,7 @@ export const Ips$inboundSchema = z
|
|
|
1016
996
|
action: GetFirewallConfigSecurityAction$inboundSchema,
|
|
1017
997
|
});
|
|
1018
998
|
/** @internal */
|
|
1019
|
-
export const
|
|
1020
|
-
.object({
|
|
999
|
+
export const GetFirewallConfigIps$outboundSchema = z.object({
|
|
1021
1000
|
id: z.string(),
|
|
1022
1001
|
hostname: z.string(),
|
|
1023
1002
|
ip: z.string(),
|
|
@@ -1028,18 +1007,18 @@ export const Ips$outboundSchema = z
|
|
|
1028
1007
|
* @internal
|
|
1029
1008
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1030
1009
|
*/
|
|
1031
|
-
export var
|
|
1032
|
-
(function (
|
|
1033
|
-
/** @deprecated use `
|
|
1034
|
-
|
|
1035
|
-
/** @deprecated use `
|
|
1036
|
-
|
|
1037
|
-
})(
|
|
1038
|
-
export function
|
|
1039
|
-
return JSON.stringify(
|
|
1010
|
+
export var GetFirewallConfigIps$;
|
|
1011
|
+
(function (GetFirewallConfigIps$) {
|
|
1012
|
+
/** @deprecated use `GetFirewallConfigIps$inboundSchema` instead. */
|
|
1013
|
+
GetFirewallConfigIps$.inboundSchema = GetFirewallConfigIps$inboundSchema;
|
|
1014
|
+
/** @deprecated use `GetFirewallConfigIps$outboundSchema` instead. */
|
|
1015
|
+
GetFirewallConfigIps$.outboundSchema = GetFirewallConfigIps$outboundSchema;
|
|
1016
|
+
})(GetFirewallConfigIps$ || (GetFirewallConfigIps$ = {}));
|
|
1017
|
+
export function getFirewallConfigIpsToJSON(getFirewallConfigIps) {
|
|
1018
|
+
return JSON.stringify(GetFirewallConfigIps$outboundSchema.parse(getFirewallConfigIps));
|
|
1040
1019
|
}
|
|
1041
|
-
export function
|
|
1042
|
-
return safeParse(jsonString, (x) =>
|
|
1020
|
+
export function getFirewallConfigIpsFromJSON(jsonString) {
|
|
1021
|
+
return safeParse(jsonString, (x) => GetFirewallConfigIps$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigIps' from JSON`);
|
|
1043
1022
|
}
|
|
1044
1023
|
/** @internal */
|
|
1045
1024
|
export const Changes$inboundSchema = z.object({});
|
|
@@ -1079,7 +1058,7 @@ export var GetFirewallConfigSecurityResponseAction$;
|
|
|
1079
1058
|
GetFirewallConfigSecurityResponseAction$.outboundSchema = GetFirewallConfigSecurityResponseAction$outboundSchema;
|
|
1080
1059
|
})(GetFirewallConfigSecurityResponseAction$ || (GetFirewallConfigSecurityResponseAction$ = {}));
|
|
1081
1060
|
/** @internal */
|
|
1082
|
-
export const
|
|
1061
|
+
export const GetFirewallConfigManagedRules$inboundSchema = z.object({
|
|
1083
1062
|
active: z.boolean(),
|
|
1084
1063
|
action: GetFirewallConfigSecurityResponseAction$inboundSchema.optional(),
|
|
1085
1064
|
updatedAt: z.string().optional(),
|
|
@@ -1087,7 +1066,7 @@ export const ManagedRules$inboundSchema = z.object({
|
|
|
1087
1066
|
username: z.string().optional(),
|
|
1088
1067
|
});
|
|
1089
1068
|
/** @internal */
|
|
1090
|
-
export const
|
|
1069
|
+
export const GetFirewallConfigManagedRules$outboundSchema = z.object({
|
|
1091
1070
|
active: z.boolean(),
|
|
1092
1071
|
action: GetFirewallConfigSecurityResponseAction$outboundSchema.optional(),
|
|
1093
1072
|
updatedAt: z.string().optional(),
|
|
@@ -1098,18 +1077,18 @@ export const ManagedRules$outboundSchema = z.object({
|
|
|
1098
1077
|
* @internal
|
|
1099
1078
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1100
1079
|
*/
|
|
1101
|
-
export var
|
|
1102
|
-
(function (
|
|
1103
|
-
/** @deprecated use `
|
|
1104
|
-
|
|
1105
|
-
/** @deprecated use `
|
|
1106
|
-
|
|
1107
|
-
})(
|
|
1108
|
-
export function
|
|
1109
|
-
return JSON.stringify(
|
|
1080
|
+
export var GetFirewallConfigManagedRules$;
|
|
1081
|
+
(function (GetFirewallConfigManagedRules$) {
|
|
1082
|
+
/** @deprecated use `GetFirewallConfigManagedRules$inboundSchema` instead. */
|
|
1083
|
+
GetFirewallConfigManagedRules$.inboundSchema = GetFirewallConfigManagedRules$inboundSchema;
|
|
1084
|
+
/** @deprecated use `GetFirewallConfigManagedRules$outboundSchema` instead. */
|
|
1085
|
+
GetFirewallConfigManagedRules$.outboundSchema = GetFirewallConfigManagedRules$outboundSchema;
|
|
1086
|
+
})(GetFirewallConfigManagedRules$ || (GetFirewallConfigManagedRules$ = {}));
|
|
1087
|
+
export function getFirewallConfigManagedRulesToJSON(getFirewallConfigManagedRules) {
|
|
1088
|
+
return JSON.stringify(GetFirewallConfigManagedRules$outboundSchema.parse(getFirewallConfigManagedRules));
|
|
1110
1089
|
}
|
|
1111
|
-
export function
|
|
1112
|
-
return safeParse(jsonString, (x) =>
|
|
1090
|
+
export function getFirewallConfigManagedRulesFromJSON(jsonString) {
|
|
1091
|
+
return safeParse(jsonString, (x) => GetFirewallConfigManagedRules$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigManagedRules' from JSON`);
|
|
1113
1092
|
}
|
|
1114
1093
|
/** @internal */
|
|
1115
1094
|
export const GetFirewallConfigResponseBody$inboundSchema = z.object({
|
|
@@ -1119,11 +1098,11 @@ export const GetFirewallConfigResponseBody$inboundSchema = z.object({
|
|
|
1119
1098
|
version: z.number(),
|
|
1120
1099
|
updatedAt: z.string(),
|
|
1121
1100
|
firewallEnabled: z.boolean(),
|
|
1122
|
-
crs: z.lazy(() =>
|
|
1101
|
+
crs: z.lazy(() => GetFirewallConfigCrs$inboundSchema),
|
|
1123
1102
|
rules: z.array(z.lazy(() => GetFirewallConfigRules$inboundSchema)),
|
|
1124
|
-
ips: z.array(z.lazy(() =>
|
|
1103
|
+
ips: z.array(z.lazy(() => GetFirewallConfigIps$inboundSchema)),
|
|
1125
1104
|
changes: z.array(z.lazy(() => Changes$inboundSchema)),
|
|
1126
|
-
managedRules: z.record(z.lazy(() =>
|
|
1105
|
+
managedRules: z.record(z.lazy(() => GetFirewallConfigManagedRules$inboundSchema)).optional(),
|
|
1127
1106
|
});
|
|
1128
1107
|
/** @internal */
|
|
1129
1108
|
export const GetFirewallConfigResponseBody$outboundSchema = z.object({
|
|
@@ -1133,11 +1112,11 @@ export const GetFirewallConfigResponseBody$outboundSchema = z.object({
|
|
|
1133
1112
|
version: z.number(),
|
|
1134
1113
|
updatedAt: z.string(),
|
|
1135
1114
|
firewallEnabled: z.boolean(),
|
|
1136
|
-
crs: z.lazy(() =>
|
|
1115
|
+
crs: z.lazy(() => GetFirewallConfigCrs$outboundSchema),
|
|
1137
1116
|
rules: z.array(z.lazy(() => GetFirewallConfigRules$outboundSchema)),
|
|
1138
|
-
ips: z.array(z.lazy(() =>
|
|
1117
|
+
ips: z.array(z.lazy(() => GetFirewallConfigIps$outboundSchema)),
|
|
1139
1118
|
changes: z.array(z.lazy(() => Changes$outboundSchema)),
|
|
1140
|
-
managedRules: z.record(z.lazy(() =>
|
|
1119
|
+
managedRules: z.record(z.lazy(() => GetFirewallConfigManagedRules$outboundSchema)).optional(),
|
|
1141
1120
|
});
|
|
1142
1121
|
/**
|
|
1143
1122
|
* @internal
|