@vercel/sdk 1.6.3 → 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.
Files changed (144) hide show
  1. package/README.md +2 -0
  2. package/bin/mcp-server.js +3504 -1244
  3. package/bin/mcp-server.js.map +28 -25
  4. package/docs/sdks/edgeconfig/README.md +2 -6
  5. package/docs/sdks/marketplace/README.md +2 -6
  6. package/docs/sdks/security/README.md +90 -0
  7. package/docs/sdks/webhooks/README.md +2 -6
  8. package/esm/__tests__/deployments.test.js +16 -1
  9. package/esm/__tests__/deployments.test.js.map +1 -1
  10. package/esm/__tests__/marketplace.test.js +7 -2
  11. package/esm/__tests__/marketplace.test.js.map +1 -1
  12. package/esm/__tests__/projects.test.js +4 -4
  13. package/esm/__tests__/projects.test.js.map +1 -1
  14. package/esm/__tests__/security.test.js +163 -3
  15. package/esm/__tests__/security.test.js.map +1 -1
  16. package/esm/funcs/projectsCreateProject.js +2 -2
  17. package/esm/funcs/projectsCreateProject.js.map +1 -1
  18. package/esm/funcs/securityPutFirewallConfig.d.ts +19 -0
  19. package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -0
  20. package/esm/funcs/securityPutFirewallConfig.js +88 -0
  21. package/esm/funcs/securityPutFirewallConfig.js.map +1 -0
  22. package/esm/lib/config.d.ts +3 -3
  23. package/esm/lib/config.js +3 -3
  24. package/esm/mcp-server/mcp-server.js +1 -1
  25. package/esm/mcp-server/server.d.ts.map +1 -1
  26. package/esm/mcp-server/server.js +3 -1
  27. package/esm/mcp-server/server.js.map +1 -1
  28. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts +7 -0
  29. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts.map +1 -0
  30. package/esm/mcp-server/tools/securityPutFirewallConfig.js +28 -0
  31. package/esm/mcp-server/tools/securityPutFirewallConfig.js.map +1 -0
  32. package/esm/models/authtoken.d.ts +6 -0
  33. package/esm/models/authtoken.d.ts.map +1 -1
  34. package/esm/models/authtoken.js +2 -0
  35. package/esm/models/authtoken.js.map +1 -1
  36. package/esm/models/authuser.d.ts +46 -0
  37. package/esm/models/authuser.d.ts.map +1 -1
  38. package/esm/models/authuser.js +28 -0
  39. package/esm/models/authuser.js.map +1 -1
  40. package/esm/models/canceldeploymentop.d.ts +274 -73
  41. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  42. package/esm/models/canceldeploymentop.js +270 -72
  43. package/esm/models/canceldeploymentop.js.map +1 -1
  44. package/esm/models/createdeploymentop.d.ts +274 -73
  45. package/esm/models/createdeploymentop.d.ts.map +1 -1
  46. package/esm/models/createdeploymentop.js +270 -72
  47. package/esm/models/createdeploymentop.js.map +1 -1
  48. package/esm/models/createprojectenvop.d.ts +12 -18
  49. package/esm/models/createprojectenvop.d.ts.map +1 -1
  50. package/esm/models/createprojectenvop.js +12 -12
  51. package/esm/models/createprojectenvop.js.map +1 -1
  52. package/esm/models/createprojectop.d.ts +175 -13
  53. package/esm/models/createprojectop.d.ts.map +1 -1
  54. package/esm/models/createprojectop.js +157 -6
  55. package/esm/models/createprojectop.js.map +1 -1
  56. package/esm/models/editprojectenvop.d.ts +4 -7
  57. package/esm/models/editprojectenvop.d.ts.map +1 -1
  58. package/esm/models/editprojectenvop.js +4 -4
  59. package/esm/models/editprojectenvop.js.map +1 -1
  60. package/esm/models/filterprojectenvsop.d.ts +18 -27
  61. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  62. package/esm/models/filterprojectenvsop.js +18 -18
  63. package/esm/models/filterprojectenvsop.js.map +1 -1
  64. package/esm/models/getdeploymentop.d.ts +574 -172
  65. package/esm/models/getdeploymentop.d.ts.map +1 -1
  66. package/esm/models/getdeploymentop.js +567 -171
  67. package/esm/models/getdeploymentop.js.map +1 -1
  68. package/esm/models/getfirewallconfigop.d.ts +214 -214
  69. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  70. package/esm/models/getfirewallconfigop.js +210 -231
  71. package/esm/models/getfirewallconfigop.js.map +1 -1
  72. package/esm/models/getprojectdomainsop.d.ts +198 -36
  73. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  74. package/esm/models/getprojectdomainsop.js +193 -32
  75. package/esm/models/getprojectdomainsop.js.map +1 -1
  76. package/esm/models/getprojectenvop.d.ts +10 -16
  77. package/esm/models/getprojectenvop.d.ts.map +1 -1
  78. package/esm/models/getprojectenvop.js +10 -10
  79. package/esm/models/getprojectenvop.js.map +1 -1
  80. package/esm/models/getprojectsop.d.ts +175 -13
  81. package/esm/models/getprojectsop.d.ts.map +1 -1
  82. package/esm/models/getprojectsop.js +156 -6
  83. package/esm/models/getprojectsop.js.map +1 -1
  84. package/esm/models/putfirewallconfigop.d.ts +2901 -0
  85. package/esm/models/putfirewallconfigop.d.ts.map +1 -0
  86. package/esm/models/putfirewallconfigop.js +2383 -0
  87. package/esm/models/putfirewallconfigop.js.map +1 -0
  88. package/esm/models/removeprojectenvop.d.ts +18 -27
  89. package/esm/models/removeprojectenvop.d.ts.map +1 -1
  90. package/esm/models/removeprojectenvop.js +18 -18
  91. package/esm/models/removeprojectenvop.js.map +1 -1
  92. package/esm/models/updatefirewallconfigop.d.ts +323 -323
  93. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  94. package/esm/models/updatefirewallconfigop.js +379 -357
  95. package/esm/models/updatefirewallconfigop.js.map +1 -1
  96. package/esm/models/updateprojectdatacacheop.d.ts +183 -21
  97. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  98. package/esm/models/updateprojectdatacacheop.js +172 -18
  99. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  100. package/esm/models/updateprojectop.d.ts +175 -13
  101. package/esm/models/updateprojectop.d.ts.map +1 -1
  102. package/esm/models/updateprojectop.js +157 -6
  103. package/esm/models/updateprojectop.js.map +1 -1
  104. package/esm/models/userevent.d.ts +46 -19
  105. package/esm/models/userevent.d.ts.map +1 -1
  106. package/esm/models/userevent.js +34 -10
  107. package/esm/models/userevent.js.map +1 -1
  108. package/esm/sdk/security.d.ts +8 -0
  109. package/esm/sdk/security.d.ts.map +1 -1
  110. package/esm/sdk/security.js +10 -0
  111. package/esm/sdk/security.js.map +1 -1
  112. package/jsr.json +1 -1
  113. package/package.json +3 -3
  114. package/src/__tests__/deployments.test.ts +16 -1
  115. package/src/__tests__/marketplace.test.ts +7 -2
  116. package/src/__tests__/projects.test.ts +4 -4
  117. package/src/__tests__/security.test.ts +165 -5
  118. package/src/funcs/projectsCreateProject.ts +2 -2
  119. package/src/funcs/securityPutFirewallConfig.ts +194 -0
  120. package/src/lib/config.ts +3 -3
  121. package/src/mcp-server/mcp-server.ts +1 -1
  122. package/src/mcp-server/server.ts +3 -1
  123. package/src/mcp-server/tools/securityPutFirewallConfig.ts +37 -0
  124. package/src/models/authtoken.ts +2 -0
  125. package/src/models/authuser.ts +52 -0
  126. package/src/models/canceldeploymentop.ts +591 -148
  127. package/src/models/createdeploymentop.ts +616 -165
  128. package/src/models/createprojectenvop.ts +24 -30
  129. package/src/models/createprojectop.ts +336 -15
  130. package/src/models/editprojectenvop.ts +8 -11
  131. package/src/models/filterprojectenvsop.ts +36 -45
  132. package/src/models/getdeploymentop.ts +1288 -353
  133. package/src/models/getfirewallconfigop.ts +555 -410
  134. package/src/models/getprojectdomainsop.ts +470 -63
  135. package/src/models/getprojectenvop.ts +20 -26
  136. package/src/models/getprojectsop.ts +338 -16
  137. package/src/models/putfirewallconfigop.ts +4932 -0
  138. package/src/models/removeprojectenvop.ts +36 -45
  139. package/src/models/updatefirewallconfigop.ts +820 -612
  140. package/src/models/updateprojectdatacacheop.ts +353 -34
  141. package/src/models/updateprojectop.ts +336 -15
  142. package/src/models/userevent.ts +54 -29
  143. package/src/sdk/security.ts +22 -0
  144. package/vercel-spec.json +1375 -286
@@ -37,7 +37,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSd
37
37
  /**
38
38
  * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools.
39
39
  */
40
- export type Sd = {
40
+ export type GetFirewallConfigSd = {
41
41
  active: boolean;
42
42
  action:
43
43
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction;
@@ -56,7 +56,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMa
56
56
  /**
57
57
  * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding.
58
58
  */
59
- export type Ma = {
59
+ export type GetFirewallConfigMa = {
60
60
  active: boolean;
61
61
  action:
62
62
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction;
@@ -75,7 +75,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLf
75
75
  /**
76
76
  * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications.
77
77
  */
78
- export type Lfi = {
78
+ export type GetFirewallConfigLfi = {
79
79
  active: boolean;
80
80
  action:
81
81
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction;
@@ -92,7 +92,7 @@ export type GetFirewallConfigSecurityResponse200Action = ClosedEnum<
92
92
  /**
93
93
  * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files.
94
94
  */
95
- export type Rfi = {
95
+ export type GetFirewallConfigRfi = {
96
96
  active: boolean;
97
97
  action: GetFirewallConfigSecurityResponse200Action;
98
98
  };
@@ -107,7 +107,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONAction =
107
107
  /**
108
108
  * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands.
109
109
  */
110
- export type Rce = {
110
+ export type GetFirewallConfigRce = {
111
111
  active: boolean;
112
112
  action: GetFirewallConfigSecurityResponse200ApplicationJSONAction;
113
113
  };
@@ -125,7 +125,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActio
125
125
  /**
126
126
  * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications.
127
127
  */
128
- export type Php = {
128
+ export type GetFirewallConfigPhp = {
129
129
  active: boolean;
130
130
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction;
131
131
  };
@@ -143,7 +143,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAc
143
143
  /**
144
144
  * Generic Attack - Provide broad protection from various undefined or novel attack vectors.
145
145
  */
146
- export type Gen = {
146
+ export type GetFirewallConfigGen = {
147
147
  active: boolean;
148
148
  action:
149
149
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction;
@@ -162,7 +162,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXs
162
162
  /**
163
163
  * XSS Attack - Prevent injection of malicious scripts into trusted webpages.
164
164
  */
165
- export type Xss = {
165
+ export type GetFirewallConfigXss = {
166
166
  active: boolean;
167
167
  action:
168
168
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction;
@@ -181,7 +181,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSq
181
181
  /**
182
182
  * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases.
183
183
  */
184
- export type Sqli = {
184
+ export type GetFirewallConfigSqli = {
185
185
  active: boolean;
186
186
  action:
187
187
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction;
@@ -200,7 +200,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSf
200
200
  /**
201
201
  * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs.
202
202
  */
203
- export type Sf = {
203
+ export type GetFirewallConfigSf = {
204
204
  active: boolean;
205
205
  action:
206
206
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction;
@@ -219,7 +219,7 @@ export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJa
219
219
  /**
220
220
  * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components.
221
221
  */
222
- export type Java = {
222
+ export type GetFirewallConfigJava = {
223
223
  active: boolean;
224
224
  action:
225
225
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction;
@@ -228,51 +228,51 @@ export type Java = {
228
228
  /**
229
229
  * Custom Ruleset
230
230
  */
231
- export type Crs = {
231
+ export type GetFirewallConfigCrs = {
232
232
  /**
233
233
  * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools.
234
234
  */
235
- sd: Sd;
235
+ sd: GetFirewallConfigSd;
236
236
  /**
237
237
  * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding.
238
238
  */
239
- ma: Ma;
239
+ ma: GetFirewallConfigMa;
240
240
  /**
241
241
  * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications.
242
242
  */
243
- lfi: Lfi;
243
+ lfi: GetFirewallConfigLfi;
244
244
  /**
245
245
  * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files.
246
246
  */
247
- rfi: Rfi;
247
+ rfi: GetFirewallConfigRfi;
248
248
  /**
249
249
  * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands.
250
250
  */
251
- rce: Rce;
251
+ rce: GetFirewallConfigRce;
252
252
  /**
253
253
  * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications.
254
254
  */
255
- php: Php;
255
+ php: GetFirewallConfigPhp;
256
256
  /**
257
257
  * Generic Attack - Provide broad protection from various undefined or novel attack vectors.
258
258
  */
259
- gen: Gen;
259
+ gen: GetFirewallConfigGen;
260
260
  /**
261
261
  * XSS Attack - Prevent injection of malicious scripts into trusted webpages.
262
262
  */
263
- xss: Xss;
263
+ xss: GetFirewallConfigXss;
264
264
  /**
265
265
  * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases.
266
266
  */
267
- sqli: Sqli;
267
+ sqli: GetFirewallConfigSqli;
268
268
  /**
269
269
  * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs.
270
270
  */
271
- sf: Sf;
271
+ sf: GetFirewallConfigSf;
272
272
  /**
273
273
  * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components.
274
274
  */
275
- java: Java;
275
+ java: GetFirewallConfigJava;
276
276
  };
277
277
 
278
278
  /**
@@ -431,7 +431,7 @@ export type GetFirewallConfigSecurityAction = ClosedEnum<
431
431
  typeof GetFirewallConfigSecurityAction
432
432
  >;
433
433
 
434
- export type Ips = {
434
+ export type GetFirewallConfigIps = {
435
435
  id: string;
436
436
  hostname: string;
437
437
  ip: string;
@@ -450,7 +450,7 @@ export type GetFirewallConfigSecurityResponseAction = ClosedEnum<
450
450
  typeof GetFirewallConfigSecurityResponseAction
451
451
  >;
452
452
 
453
- export type ManagedRules = {
453
+ export type GetFirewallConfigManagedRules = {
454
454
  active: boolean;
455
455
  action?: GetFirewallConfigSecurityResponseAction | undefined;
456
456
  updatedAt?: string | undefined;
@@ -471,11 +471,11 @@ export type GetFirewallConfigResponseBody = {
471
471
  /**
472
472
  * Custom Ruleset
473
473
  */
474
- crs: Crs;
474
+ crs: GetFirewallConfigCrs;
475
475
  rules: Array<GetFirewallConfigRules>;
476
- ips: Array<Ips>;
476
+ ips: Array<GetFirewallConfigIps>;
477
477
  changes: Array<Changes>;
478
- managedRules?: { [k: string]: ManagedRules } | undefined;
478
+ managedRules?: { [k: string]: GetFirewallConfigManagedRules } | undefined;
479
479
  };
480
480
 
481
481
  /** @internal */
@@ -570,50 +570,61 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBody
570
570
  }
571
571
 
572
572
  /** @internal */
573
- export const Sd$inboundSchema: z.ZodType<Sd, z.ZodTypeDef, unknown> = z.object({
573
+ export const GetFirewallConfigSd$inboundSchema: z.ZodType<
574
+ GetFirewallConfigSd,
575
+ z.ZodTypeDef,
576
+ unknown
577
+ > = z.object({
574
578
  active: z.boolean(),
575
579
  action:
576
580
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema,
577
581
  });
578
582
 
579
583
  /** @internal */
580
- export type Sd$Outbound = {
584
+ export type GetFirewallConfigSd$Outbound = {
581
585
  active: boolean;
582
586
  action: string;
583
587
  };
584
588
 
585
589
  /** @internal */
586
- export const Sd$outboundSchema: z.ZodType<Sd$Outbound, z.ZodTypeDef, Sd> = z
587
- .object({
588
- active: z.boolean(),
589
- action:
590
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema,
591
- });
590
+ export const GetFirewallConfigSd$outboundSchema: z.ZodType<
591
+ GetFirewallConfigSd$Outbound,
592
+ z.ZodTypeDef,
593
+ GetFirewallConfigSd
594
+ > = z.object({
595
+ active: z.boolean(),
596
+ action:
597
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema,
598
+ });
592
599
 
593
600
  /**
594
601
  * @internal
595
602
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
596
603
  */
597
- export namespace Sd$ {
598
- /** @deprecated use `Sd$inboundSchema` instead. */
599
- export const inboundSchema = Sd$inboundSchema;
600
- /** @deprecated use `Sd$outboundSchema` instead. */
601
- export const outboundSchema = Sd$outboundSchema;
602
- /** @deprecated use `Sd$Outbound` instead. */
603
- export type Outbound = Sd$Outbound;
604
+ export namespace GetFirewallConfigSd$ {
605
+ /** @deprecated use `GetFirewallConfigSd$inboundSchema` instead. */
606
+ export const inboundSchema = GetFirewallConfigSd$inboundSchema;
607
+ /** @deprecated use `GetFirewallConfigSd$outboundSchema` instead. */
608
+ export const outboundSchema = GetFirewallConfigSd$outboundSchema;
609
+ /** @deprecated use `GetFirewallConfigSd$Outbound` instead. */
610
+ export type Outbound = GetFirewallConfigSd$Outbound;
604
611
  }
605
612
 
606
- export function sdToJSON(sd: Sd): string {
607
- return JSON.stringify(Sd$outboundSchema.parse(sd));
613
+ export function getFirewallConfigSdToJSON(
614
+ getFirewallConfigSd: GetFirewallConfigSd,
615
+ ): string {
616
+ return JSON.stringify(
617
+ GetFirewallConfigSd$outboundSchema.parse(getFirewallConfigSd),
618
+ );
608
619
  }
609
620
 
610
- export function sdFromJSON(
621
+ export function getFirewallConfigSdFromJSON(
611
622
  jsonString: string,
612
- ): SafeParseResult<Sd, SDKValidationError> {
623
+ ): SafeParseResult<GetFirewallConfigSd, SDKValidationError> {
613
624
  return safeParse(
614
625
  jsonString,
615
- (x) => Sd$inboundSchema.parse(JSON.parse(x)),
616
- `Failed to parse 'Sd' from JSON`,
626
+ (x) => GetFirewallConfigSd$inboundSchema.parse(JSON.parse(x)),
627
+ `Failed to parse 'GetFirewallConfigSd' from JSON`,
617
628
  );
618
629
  }
619
630
 
@@ -646,50 +657,61 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBody
646
657
  }
647
658
 
648
659
  /** @internal */
649
- export const Ma$inboundSchema: z.ZodType<Ma, z.ZodTypeDef, unknown> = z.object({
660
+ export const GetFirewallConfigMa$inboundSchema: z.ZodType<
661
+ GetFirewallConfigMa,
662
+ z.ZodTypeDef,
663
+ unknown
664
+ > = z.object({
650
665
  active: z.boolean(),
651
666
  action:
652
667
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema,
653
668
  });
654
669
 
655
670
  /** @internal */
656
- export type Ma$Outbound = {
671
+ export type GetFirewallConfigMa$Outbound = {
657
672
  active: boolean;
658
673
  action: string;
659
674
  };
660
675
 
661
676
  /** @internal */
662
- export const Ma$outboundSchema: z.ZodType<Ma$Outbound, z.ZodTypeDef, Ma> = z
663
- .object({
664
- active: z.boolean(),
665
- action:
666
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema,
667
- });
677
+ export const GetFirewallConfigMa$outboundSchema: z.ZodType<
678
+ GetFirewallConfigMa$Outbound,
679
+ z.ZodTypeDef,
680
+ GetFirewallConfigMa
681
+ > = z.object({
682
+ active: z.boolean(),
683
+ action:
684
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema,
685
+ });
668
686
 
669
687
  /**
670
688
  * @internal
671
689
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
672
690
  */
673
- export namespace Ma$ {
674
- /** @deprecated use `Ma$inboundSchema` instead. */
675
- export const inboundSchema = Ma$inboundSchema;
676
- /** @deprecated use `Ma$outboundSchema` instead. */
677
- export const outboundSchema = Ma$outboundSchema;
678
- /** @deprecated use `Ma$Outbound` instead. */
679
- export type Outbound = Ma$Outbound;
691
+ export namespace GetFirewallConfigMa$ {
692
+ /** @deprecated use `GetFirewallConfigMa$inboundSchema` instead. */
693
+ export const inboundSchema = GetFirewallConfigMa$inboundSchema;
694
+ /** @deprecated use `GetFirewallConfigMa$outboundSchema` instead. */
695
+ export const outboundSchema = GetFirewallConfigMa$outboundSchema;
696
+ /** @deprecated use `GetFirewallConfigMa$Outbound` instead. */
697
+ export type Outbound = GetFirewallConfigMa$Outbound;
680
698
  }
681
699
 
682
- export function maToJSON(ma: Ma): string {
683
- return JSON.stringify(Ma$outboundSchema.parse(ma));
700
+ export function getFirewallConfigMaToJSON(
701
+ getFirewallConfigMa: GetFirewallConfigMa,
702
+ ): string {
703
+ return JSON.stringify(
704
+ GetFirewallConfigMa$outboundSchema.parse(getFirewallConfigMa),
705
+ );
684
706
  }
685
707
 
686
- export function maFromJSON(
708
+ export function getFirewallConfigMaFromJSON(
687
709
  jsonString: string,
688
- ): SafeParseResult<Ma, SDKValidationError> {
710
+ ): SafeParseResult<GetFirewallConfigMa, SDKValidationError> {
689
711
  return safeParse(
690
712
  jsonString,
691
- (x) => Ma$inboundSchema.parse(JSON.parse(x)),
692
- `Failed to parse 'Ma' from JSON`,
713
+ (x) => GetFirewallConfigMa$inboundSchema.parse(JSON.parse(x)),
714
+ `Failed to parse 'GetFirewallConfigMa' from JSON`,
693
715
  );
694
716
  }
695
717
 
@@ -722,51 +744,61 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBody
722
744
  }
723
745
 
724
746
  /** @internal */
725
- export const Lfi$inboundSchema: z.ZodType<Lfi, z.ZodTypeDef, unknown> = z
726
- .object({
727
- active: z.boolean(),
728
- action:
729
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$inboundSchema,
730
- });
747
+ export const GetFirewallConfigLfi$inboundSchema: z.ZodType<
748
+ GetFirewallConfigLfi,
749
+ z.ZodTypeDef,
750
+ unknown
751
+ > = z.object({
752
+ active: z.boolean(),
753
+ action:
754
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$inboundSchema,
755
+ });
731
756
 
732
757
  /** @internal */
733
- export type Lfi$Outbound = {
758
+ export type GetFirewallConfigLfi$Outbound = {
734
759
  active: boolean;
735
760
  action: string;
736
761
  };
737
762
 
738
763
  /** @internal */
739
- export const Lfi$outboundSchema: z.ZodType<Lfi$Outbound, z.ZodTypeDef, Lfi> = z
740
- .object({
741
- active: z.boolean(),
742
- action:
743
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$outboundSchema,
744
- });
764
+ export const GetFirewallConfigLfi$outboundSchema: z.ZodType<
765
+ GetFirewallConfigLfi$Outbound,
766
+ z.ZodTypeDef,
767
+ GetFirewallConfigLfi
768
+ > = z.object({
769
+ active: z.boolean(),
770
+ action:
771
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$outboundSchema,
772
+ });
745
773
 
746
774
  /**
747
775
  * @internal
748
776
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
749
777
  */
750
- export namespace Lfi$ {
751
- /** @deprecated use `Lfi$inboundSchema` instead. */
752
- export const inboundSchema = Lfi$inboundSchema;
753
- /** @deprecated use `Lfi$outboundSchema` instead. */
754
- export const outboundSchema = Lfi$outboundSchema;
755
- /** @deprecated use `Lfi$Outbound` instead. */
756
- export type Outbound = Lfi$Outbound;
778
+ export namespace GetFirewallConfigLfi$ {
779
+ /** @deprecated use `GetFirewallConfigLfi$inboundSchema` instead. */
780
+ export const inboundSchema = GetFirewallConfigLfi$inboundSchema;
781
+ /** @deprecated use `GetFirewallConfigLfi$outboundSchema` instead. */
782
+ export const outboundSchema = GetFirewallConfigLfi$outboundSchema;
783
+ /** @deprecated use `GetFirewallConfigLfi$Outbound` instead. */
784
+ export type Outbound = GetFirewallConfigLfi$Outbound;
757
785
  }
758
786
 
759
- export function lfiToJSON(lfi: Lfi): string {
760
- return JSON.stringify(Lfi$outboundSchema.parse(lfi));
787
+ export function getFirewallConfigLfiToJSON(
788
+ getFirewallConfigLfi: GetFirewallConfigLfi,
789
+ ): string {
790
+ return JSON.stringify(
791
+ GetFirewallConfigLfi$outboundSchema.parse(getFirewallConfigLfi),
792
+ );
761
793
  }
762
794
 
763
- export function lfiFromJSON(
795
+ export function getFirewallConfigLfiFromJSON(
764
796
  jsonString: string,
765
- ): SafeParseResult<Lfi, SDKValidationError> {
797
+ ): SafeParseResult<GetFirewallConfigLfi, SDKValidationError> {
766
798
  return safeParse(
767
799
  jsonString,
768
- (x) => Lfi$inboundSchema.parse(JSON.parse(x)),
769
- `Failed to parse 'Lfi' from JSON`,
800
+ (x) => GetFirewallConfigLfi$inboundSchema.parse(JSON.parse(x)),
801
+ `Failed to parse 'GetFirewallConfigLfi' from JSON`,
770
802
  );
771
803
  }
772
804
 
@@ -794,49 +826,59 @@ export namespace GetFirewallConfigSecurityResponse200Action$ {
794
826
  }
795
827
 
796
828
  /** @internal */
797
- export const Rfi$inboundSchema: z.ZodType<Rfi, z.ZodTypeDef, unknown> = z
798
- .object({
799
- active: z.boolean(),
800
- action: GetFirewallConfigSecurityResponse200Action$inboundSchema,
801
- });
829
+ export const GetFirewallConfigRfi$inboundSchema: z.ZodType<
830
+ GetFirewallConfigRfi,
831
+ z.ZodTypeDef,
832
+ unknown
833
+ > = z.object({
834
+ active: z.boolean(),
835
+ action: GetFirewallConfigSecurityResponse200Action$inboundSchema,
836
+ });
802
837
 
803
838
  /** @internal */
804
- export type Rfi$Outbound = {
839
+ export type GetFirewallConfigRfi$Outbound = {
805
840
  active: boolean;
806
841
  action: string;
807
842
  };
808
843
 
809
844
  /** @internal */
810
- export const Rfi$outboundSchema: z.ZodType<Rfi$Outbound, z.ZodTypeDef, Rfi> = z
811
- .object({
812
- active: z.boolean(),
813
- action: GetFirewallConfigSecurityResponse200Action$outboundSchema,
814
- });
845
+ export const GetFirewallConfigRfi$outboundSchema: z.ZodType<
846
+ GetFirewallConfigRfi$Outbound,
847
+ z.ZodTypeDef,
848
+ GetFirewallConfigRfi
849
+ > = z.object({
850
+ active: z.boolean(),
851
+ action: GetFirewallConfigSecurityResponse200Action$outboundSchema,
852
+ });
815
853
 
816
854
  /**
817
855
  * @internal
818
856
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
819
857
  */
820
- export namespace Rfi$ {
821
- /** @deprecated use `Rfi$inboundSchema` instead. */
822
- export const inboundSchema = Rfi$inboundSchema;
823
- /** @deprecated use `Rfi$outboundSchema` instead. */
824
- export const outboundSchema = Rfi$outboundSchema;
825
- /** @deprecated use `Rfi$Outbound` instead. */
826
- export type Outbound = Rfi$Outbound;
858
+ export namespace GetFirewallConfigRfi$ {
859
+ /** @deprecated use `GetFirewallConfigRfi$inboundSchema` instead. */
860
+ export const inboundSchema = GetFirewallConfigRfi$inboundSchema;
861
+ /** @deprecated use `GetFirewallConfigRfi$outboundSchema` instead. */
862
+ export const outboundSchema = GetFirewallConfigRfi$outboundSchema;
863
+ /** @deprecated use `GetFirewallConfigRfi$Outbound` instead. */
864
+ export type Outbound = GetFirewallConfigRfi$Outbound;
827
865
  }
828
866
 
829
- export function rfiToJSON(rfi: Rfi): string {
830
- return JSON.stringify(Rfi$outboundSchema.parse(rfi));
867
+ export function getFirewallConfigRfiToJSON(
868
+ getFirewallConfigRfi: GetFirewallConfigRfi,
869
+ ): string {
870
+ return JSON.stringify(
871
+ GetFirewallConfigRfi$outboundSchema.parse(getFirewallConfigRfi),
872
+ );
831
873
  }
832
874
 
833
- export function rfiFromJSON(
875
+ export function getFirewallConfigRfiFromJSON(
834
876
  jsonString: string,
835
- ): SafeParseResult<Rfi, SDKValidationError> {
877
+ ): SafeParseResult<GetFirewallConfigRfi, SDKValidationError> {
836
878
  return safeParse(
837
879
  jsonString,
838
- (x) => Rfi$inboundSchema.parse(JSON.parse(x)),
839
- `Failed to parse 'Rfi' from JSON`,
880
+ (x) => GetFirewallConfigRfi$inboundSchema.parse(JSON.parse(x)),
881
+ `Failed to parse 'GetFirewallConfigRfi' from JSON`,
840
882
  );
841
883
  }
842
884
 
@@ -866,51 +908,61 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONAction$ {
866
908
  }
867
909
 
868
910
  /** @internal */
869
- export const Rce$inboundSchema: z.ZodType<Rce, z.ZodTypeDef, unknown> = z
870
- .object({
871
- active: z.boolean(),
872
- action:
873
- GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema,
874
- });
911
+ export const GetFirewallConfigRce$inboundSchema: z.ZodType<
912
+ GetFirewallConfigRce,
913
+ z.ZodTypeDef,
914
+ unknown
915
+ > = z.object({
916
+ active: z.boolean(),
917
+ action:
918
+ GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema,
919
+ });
875
920
 
876
921
  /** @internal */
877
- export type Rce$Outbound = {
922
+ export type GetFirewallConfigRce$Outbound = {
878
923
  active: boolean;
879
924
  action: string;
880
925
  };
881
926
 
882
927
  /** @internal */
883
- export const Rce$outboundSchema: z.ZodType<Rce$Outbound, z.ZodTypeDef, Rce> = z
884
- .object({
885
- active: z.boolean(),
886
- action:
887
- GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema,
888
- });
928
+ export const GetFirewallConfigRce$outboundSchema: z.ZodType<
929
+ GetFirewallConfigRce$Outbound,
930
+ z.ZodTypeDef,
931
+ GetFirewallConfigRce
932
+ > = z.object({
933
+ active: z.boolean(),
934
+ action:
935
+ GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema,
936
+ });
889
937
 
890
938
  /**
891
939
  * @internal
892
940
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
893
941
  */
894
- export namespace Rce$ {
895
- /** @deprecated use `Rce$inboundSchema` instead. */
896
- export const inboundSchema = Rce$inboundSchema;
897
- /** @deprecated use `Rce$outboundSchema` instead. */
898
- export const outboundSchema = Rce$outboundSchema;
899
- /** @deprecated use `Rce$Outbound` instead. */
900
- export type Outbound = Rce$Outbound;
942
+ export namespace GetFirewallConfigRce$ {
943
+ /** @deprecated use `GetFirewallConfigRce$inboundSchema` instead. */
944
+ export const inboundSchema = GetFirewallConfigRce$inboundSchema;
945
+ /** @deprecated use `GetFirewallConfigRce$outboundSchema` instead. */
946
+ export const outboundSchema = GetFirewallConfigRce$outboundSchema;
947
+ /** @deprecated use `GetFirewallConfigRce$Outbound` instead. */
948
+ export type Outbound = GetFirewallConfigRce$Outbound;
901
949
  }
902
950
 
903
- export function rceToJSON(rce: Rce): string {
904
- return JSON.stringify(Rce$outboundSchema.parse(rce));
951
+ export function getFirewallConfigRceToJSON(
952
+ getFirewallConfigRce: GetFirewallConfigRce,
953
+ ): string {
954
+ return JSON.stringify(
955
+ GetFirewallConfigRce$outboundSchema.parse(getFirewallConfigRce),
956
+ );
905
957
  }
906
958
 
907
- export function rceFromJSON(
959
+ export function getFirewallConfigRceFromJSON(
908
960
  jsonString: string,
909
- ): SafeParseResult<Rce, SDKValidationError> {
961
+ ): SafeParseResult<GetFirewallConfigRce, SDKValidationError> {
910
962
  return safeParse(
911
963
  jsonString,
912
- (x) => Rce$inboundSchema.parse(JSON.parse(x)),
913
- `Failed to parse 'Rce' from JSON`,
964
+ (x) => GetFirewallConfigRce$inboundSchema.parse(JSON.parse(x)),
965
+ `Failed to parse 'GetFirewallConfigRce' from JSON`,
914
966
  );
915
967
  }
916
968
 
@@ -943,51 +995,61 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBody
943
995
  }
944
996
 
945
997
  /** @internal */
946
- export const Php$inboundSchema: z.ZodType<Php, z.ZodTypeDef, unknown> = z
947
- .object({
948
- active: z.boolean(),
949
- action:
950
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema,
951
- });
998
+ export const GetFirewallConfigPhp$inboundSchema: z.ZodType<
999
+ GetFirewallConfigPhp,
1000
+ z.ZodTypeDef,
1001
+ unknown
1002
+ > = z.object({
1003
+ active: z.boolean(),
1004
+ action:
1005
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema,
1006
+ });
952
1007
 
953
1008
  /** @internal */
954
- export type Php$Outbound = {
1009
+ export type GetFirewallConfigPhp$Outbound = {
955
1010
  active: boolean;
956
1011
  action: string;
957
1012
  };
958
1013
 
959
1014
  /** @internal */
960
- export const Php$outboundSchema: z.ZodType<Php$Outbound, z.ZodTypeDef, Php> = z
961
- .object({
962
- active: z.boolean(),
963
- action:
964
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema,
965
- });
1015
+ export const GetFirewallConfigPhp$outboundSchema: z.ZodType<
1016
+ GetFirewallConfigPhp$Outbound,
1017
+ z.ZodTypeDef,
1018
+ GetFirewallConfigPhp
1019
+ > = z.object({
1020
+ active: z.boolean(),
1021
+ action:
1022
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema,
1023
+ });
966
1024
 
967
1025
  /**
968
1026
  * @internal
969
1027
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
970
1028
  */
971
- export namespace Php$ {
972
- /** @deprecated use `Php$inboundSchema` instead. */
973
- export const inboundSchema = Php$inboundSchema;
974
- /** @deprecated use `Php$outboundSchema` instead. */
975
- export const outboundSchema = Php$outboundSchema;
976
- /** @deprecated use `Php$Outbound` instead. */
977
- export type Outbound = Php$Outbound;
1029
+ export namespace GetFirewallConfigPhp$ {
1030
+ /** @deprecated use `GetFirewallConfigPhp$inboundSchema` instead. */
1031
+ export const inboundSchema = GetFirewallConfigPhp$inboundSchema;
1032
+ /** @deprecated use `GetFirewallConfigPhp$outboundSchema` instead. */
1033
+ export const outboundSchema = GetFirewallConfigPhp$outboundSchema;
1034
+ /** @deprecated use `GetFirewallConfigPhp$Outbound` instead. */
1035
+ export type Outbound = GetFirewallConfigPhp$Outbound;
978
1036
  }
979
1037
 
980
- export function phpToJSON(php: Php): string {
981
- return JSON.stringify(Php$outboundSchema.parse(php));
1038
+ export function getFirewallConfigPhpToJSON(
1039
+ getFirewallConfigPhp: GetFirewallConfigPhp,
1040
+ ): string {
1041
+ return JSON.stringify(
1042
+ GetFirewallConfigPhp$outboundSchema.parse(getFirewallConfigPhp),
1043
+ );
982
1044
  }
983
1045
 
984
- export function phpFromJSON(
1046
+ export function getFirewallConfigPhpFromJSON(
985
1047
  jsonString: string,
986
- ): SafeParseResult<Php, SDKValidationError> {
1048
+ ): SafeParseResult<GetFirewallConfigPhp, SDKValidationError> {
987
1049
  return safeParse(
988
1050
  jsonString,
989
- (x) => Php$inboundSchema.parse(JSON.parse(x)),
990
- `Failed to parse 'Php' from JSON`,
1051
+ (x) => GetFirewallConfigPhp$inboundSchema.parse(JSON.parse(x)),
1052
+ `Failed to parse 'GetFirewallConfigPhp' from JSON`,
991
1053
  );
992
1054
  }
993
1055
 
@@ -1020,51 +1082,61 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBody
1020
1082
  }
1021
1083
 
1022
1084
  /** @internal */
1023
- export const Gen$inboundSchema: z.ZodType<Gen, z.ZodTypeDef, unknown> = z
1024
- .object({
1025
- active: z.boolean(),
1026
- action:
1027
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema,
1028
- });
1085
+ export const GetFirewallConfigGen$inboundSchema: z.ZodType<
1086
+ GetFirewallConfigGen,
1087
+ z.ZodTypeDef,
1088
+ unknown
1089
+ > = z.object({
1090
+ active: z.boolean(),
1091
+ action:
1092
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema,
1093
+ });
1029
1094
 
1030
1095
  /** @internal */
1031
- export type Gen$Outbound = {
1096
+ export type GetFirewallConfigGen$Outbound = {
1032
1097
  active: boolean;
1033
1098
  action: string;
1034
1099
  };
1035
1100
 
1036
1101
  /** @internal */
1037
- export const Gen$outboundSchema: z.ZodType<Gen$Outbound, z.ZodTypeDef, Gen> = z
1038
- .object({
1039
- active: z.boolean(),
1040
- action:
1041
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema,
1042
- });
1102
+ export const GetFirewallConfigGen$outboundSchema: z.ZodType<
1103
+ GetFirewallConfigGen$Outbound,
1104
+ z.ZodTypeDef,
1105
+ GetFirewallConfigGen
1106
+ > = z.object({
1107
+ active: z.boolean(),
1108
+ action:
1109
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema,
1110
+ });
1043
1111
 
1044
1112
  /**
1045
1113
  * @internal
1046
1114
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1047
1115
  */
1048
- export namespace Gen$ {
1049
- /** @deprecated use `Gen$inboundSchema` instead. */
1050
- export const inboundSchema = Gen$inboundSchema;
1051
- /** @deprecated use `Gen$outboundSchema` instead. */
1052
- export const outboundSchema = Gen$outboundSchema;
1053
- /** @deprecated use `Gen$Outbound` instead. */
1054
- export type Outbound = Gen$Outbound;
1116
+ export namespace GetFirewallConfigGen$ {
1117
+ /** @deprecated use `GetFirewallConfigGen$inboundSchema` instead. */
1118
+ export const inboundSchema = GetFirewallConfigGen$inboundSchema;
1119
+ /** @deprecated use `GetFirewallConfigGen$outboundSchema` instead. */
1120
+ export const outboundSchema = GetFirewallConfigGen$outboundSchema;
1121
+ /** @deprecated use `GetFirewallConfigGen$Outbound` instead. */
1122
+ export type Outbound = GetFirewallConfigGen$Outbound;
1055
1123
  }
1056
1124
 
1057
- export function genToJSON(gen: Gen): string {
1058
- return JSON.stringify(Gen$outboundSchema.parse(gen));
1125
+ export function getFirewallConfigGenToJSON(
1126
+ getFirewallConfigGen: GetFirewallConfigGen,
1127
+ ): string {
1128
+ return JSON.stringify(
1129
+ GetFirewallConfigGen$outboundSchema.parse(getFirewallConfigGen),
1130
+ );
1059
1131
  }
1060
1132
 
1061
- export function genFromJSON(
1133
+ export function getFirewallConfigGenFromJSON(
1062
1134
  jsonString: string,
1063
- ): SafeParseResult<Gen, SDKValidationError> {
1135
+ ): SafeParseResult<GetFirewallConfigGen, SDKValidationError> {
1064
1136
  return safeParse(
1065
1137
  jsonString,
1066
- (x) => Gen$inboundSchema.parse(JSON.parse(x)),
1067
- `Failed to parse 'Gen' from JSON`,
1138
+ (x) => GetFirewallConfigGen$inboundSchema.parse(JSON.parse(x)),
1139
+ `Failed to parse 'GetFirewallConfigGen' from JSON`,
1068
1140
  );
1069
1141
  }
1070
1142
 
@@ -1097,51 +1169,61 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBody
1097
1169
  }
1098
1170
 
1099
1171
  /** @internal */
1100
- export const Xss$inboundSchema: z.ZodType<Xss, z.ZodTypeDef, unknown> = z
1101
- .object({
1102
- active: z.boolean(),
1103
- action:
1104
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema,
1105
- });
1172
+ export const GetFirewallConfigXss$inboundSchema: z.ZodType<
1173
+ GetFirewallConfigXss,
1174
+ z.ZodTypeDef,
1175
+ unknown
1176
+ > = z.object({
1177
+ active: z.boolean(),
1178
+ action:
1179
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema,
1180
+ });
1106
1181
 
1107
1182
  /** @internal */
1108
- export type Xss$Outbound = {
1183
+ export type GetFirewallConfigXss$Outbound = {
1109
1184
  active: boolean;
1110
1185
  action: string;
1111
1186
  };
1112
1187
 
1113
1188
  /** @internal */
1114
- export const Xss$outboundSchema: z.ZodType<Xss$Outbound, z.ZodTypeDef, Xss> = z
1115
- .object({
1116
- active: z.boolean(),
1117
- action:
1118
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema,
1119
- });
1189
+ export const GetFirewallConfigXss$outboundSchema: z.ZodType<
1190
+ GetFirewallConfigXss$Outbound,
1191
+ z.ZodTypeDef,
1192
+ GetFirewallConfigXss
1193
+ > = z.object({
1194
+ active: z.boolean(),
1195
+ action:
1196
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema,
1197
+ });
1120
1198
 
1121
1199
  /**
1122
1200
  * @internal
1123
1201
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1124
1202
  */
1125
- export namespace Xss$ {
1126
- /** @deprecated use `Xss$inboundSchema` instead. */
1127
- export const inboundSchema = Xss$inboundSchema;
1128
- /** @deprecated use `Xss$outboundSchema` instead. */
1129
- export const outboundSchema = Xss$outboundSchema;
1130
- /** @deprecated use `Xss$Outbound` instead. */
1131
- export type Outbound = Xss$Outbound;
1203
+ export namespace GetFirewallConfigXss$ {
1204
+ /** @deprecated use `GetFirewallConfigXss$inboundSchema` instead. */
1205
+ export const inboundSchema = GetFirewallConfigXss$inboundSchema;
1206
+ /** @deprecated use `GetFirewallConfigXss$outboundSchema` instead. */
1207
+ export const outboundSchema = GetFirewallConfigXss$outboundSchema;
1208
+ /** @deprecated use `GetFirewallConfigXss$Outbound` instead. */
1209
+ export type Outbound = GetFirewallConfigXss$Outbound;
1132
1210
  }
1133
1211
 
1134
- export function xssToJSON(xss: Xss): string {
1135
- return JSON.stringify(Xss$outboundSchema.parse(xss));
1212
+ export function getFirewallConfigXssToJSON(
1213
+ getFirewallConfigXss: GetFirewallConfigXss,
1214
+ ): string {
1215
+ return JSON.stringify(
1216
+ GetFirewallConfigXss$outboundSchema.parse(getFirewallConfigXss),
1217
+ );
1136
1218
  }
1137
1219
 
1138
- export function xssFromJSON(
1220
+ export function getFirewallConfigXssFromJSON(
1139
1221
  jsonString: string,
1140
- ): SafeParseResult<Xss, SDKValidationError> {
1222
+ ): SafeParseResult<GetFirewallConfigXss, SDKValidationError> {
1141
1223
  return safeParse(
1142
1224
  jsonString,
1143
- (x) => Xss$inboundSchema.parse(JSON.parse(x)),
1144
- `Failed to parse 'Xss' from JSON`,
1225
+ (x) => GetFirewallConfigXss$inboundSchema.parse(JSON.parse(x)),
1226
+ `Failed to parse 'GetFirewallConfigXss' from JSON`,
1145
1227
  );
1146
1228
  }
1147
1229
 
@@ -1174,51 +1256,61 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBody
1174
1256
  }
1175
1257
 
1176
1258
  /** @internal */
1177
- export const Sqli$inboundSchema: z.ZodType<Sqli, z.ZodTypeDef, unknown> = z
1178
- .object({
1179
- active: z.boolean(),
1180
- action:
1181
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema,
1182
- });
1259
+ export const GetFirewallConfigSqli$inboundSchema: z.ZodType<
1260
+ GetFirewallConfigSqli,
1261
+ z.ZodTypeDef,
1262
+ unknown
1263
+ > = z.object({
1264
+ active: z.boolean(),
1265
+ action:
1266
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema,
1267
+ });
1183
1268
 
1184
1269
  /** @internal */
1185
- export type Sqli$Outbound = {
1270
+ export type GetFirewallConfigSqli$Outbound = {
1186
1271
  active: boolean;
1187
1272
  action: string;
1188
1273
  };
1189
1274
 
1190
1275
  /** @internal */
1191
- export const Sqli$outboundSchema: z.ZodType<Sqli$Outbound, z.ZodTypeDef, Sqli> =
1192
- z.object({
1193
- active: z.boolean(),
1194
- action:
1195
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema,
1196
- });
1276
+ export const GetFirewallConfigSqli$outboundSchema: z.ZodType<
1277
+ GetFirewallConfigSqli$Outbound,
1278
+ z.ZodTypeDef,
1279
+ GetFirewallConfigSqli
1280
+ > = z.object({
1281
+ active: z.boolean(),
1282
+ action:
1283
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema,
1284
+ });
1197
1285
 
1198
1286
  /**
1199
1287
  * @internal
1200
1288
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1201
1289
  */
1202
- export namespace Sqli$ {
1203
- /** @deprecated use `Sqli$inboundSchema` instead. */
1204
- export const inboundSchema = Sqli$inboundSchema;
1205
- /** @deprecated use `Sqli$outboundSchema` instead. */
1206
- export const outboundSchema = Sqli$outboundSchema;
1207
- /** @deprecated use `Sqli$Outbound` instead. */
1208
- export type Outbound = Sqli$Outbound;
1290
+ export namespace GetFirewallConfigSqli$ {
1291
+ /** @deprecated use `GetFirewallConfigSqli$inboundSchema` instead. */
1292
+ export const inboundSchema = GetFirewallConfigSqli$inboundSchema;
1293
+ /** @deprecated use `GetFirewallConfigSqli$outboundSchema` instead. */
1294
+ export const outboundSchema = GetFirewallConfigSqli$outboundSchema;
1295
+ /** @deprecated use `GetFirewallConfigSqli$Outbound` instead. */
1296
+ export type Outbound = GetFirewallConfigSqli$Outbound;
1209
1297
  }
1210
1298
 
1211
- export function sqliToJSON(sqli: Sqli): string {
1212
- return JSON.stringify(Sqli$outboundSchema.parse(sqli));
1299
+ export function getFirewallConfigSqliToJSON(
1300
+ getFirewallConfigSqli: GetFirewallConfigSqli,
1301
+ ): string {
1302
+ return JSON.stringify(
1303
+ GetFirewallConfigSqli$outboundSchema.parse(getFirewallConfigSqli),
1304
+ );
1213
1305
  }
1214
1306
 
1215
- export function sqliFromJSON(
1307
+ export function getFirewallConfigSqliFromJSON(
1216
1308
  jsonString: string,
1217
- ): SafeParseResult<Sqli, SDKValidationError> {
1309
+ ): SafeParseResult<GetFirewallConfigSqli, SDKValidationError> {
1218
1310
  return safeParse(
1219
1311
  jsonString,
1220
- (x) => Sqli$inboundSchema.parse(JSON.parse(x)),
1221
- `Failed to parse 'Sqli' from JSON`,
1312
+ (x) => GetFirewallConfigSqli$inboundSchema.parse(JSON.parse(x)),
1313
+ `Failed to parse 'GetFirewallConfigSqli' from JSON`,
1222
1314
  );
1223
1315
  }
1224
1316
 
@@ -1251,50 +1343,61 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBody
1251
1343
  }
1252
1344
 
1253
1345
  /** @internal */
1254
- export const Sf$inboundSchema: z.ZodType<Sf, z.ZodTypeDef, unknown> = z.object({
1346
+ export const GetFirewallConfigSf$inboundSchema: z.ZodType<
1347
+ GetFirewallConfigSf,
1348
+ z.ZodTypeDef,
1349
+ unknown
1350
+ > = z.object({
1255
1351
  active: z.boolean(),
1256
1352
  action:
1257
1353
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema,
1258
1354
  });
1259
1355
 
1260
1356
  /** @internal */
1261
- export type Sf$Outbound = {
1357
+ export type GetFirewallConfigSf$Outbound = {
1262
1358
  active: boolean;
1263
1359
  action: string;
1264
1360
  };
1265
1361
 
1266
1362
  /** @internal */
1267
- export const Sf$outboundSchema: z.ZodType<Sf$Outbound, z.ZodTypeDef, Sf> = z
1268
- .object({
1269
- active: z.boolean(),
1270
- action:
1271
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema,
1272
- });
1363
+ export const GetFirewallConfigSf$outboundSchema: z.ZodType<
1364
+ GetFirewallConfigSf$Outbound,
1365
+ z.ZodTypeDef,
1366
+ GetFirewallConfigSf
1367
+ > = z.object({
1368
+ active: z.boolean(),
1369
+ action:
1370
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema,
1371
+ });
1273
1372
 
1274
1373
  /**
1275
1374
  * @internal
1276
1375
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1277
1376
  */
1278
- export namespace Sf$ {
1279
- /** @deprecated use `Sf$inboundSchema` instead. */
1280
- export const inboundSchema = Sf$inboundSchema;
1281
- /** @deprecated use `Sf$outboundSchema` instead. */
1282
- export const outboundSchema = Sf$outboundSchema;
1283
- /** @deprecated use `Sf$Outbound` instead. */
1284
- export type Outbound = Sf$Outbound;
1377
+ export namespace GetFirewallConfigSf$ {
1378
+ /** @deprecated use `GetFirewallConfigSf$inboundSchema` instead. */
1379
+ export const inboundSchema = GetFirewallConfigSf$inboundSchema;
1380
+ /** @deprecated use `GetFirewallConfigSf$outboundSchema` instead. */
1381
+ export const outboundSchema = GetFirewallConfigSf$outboundSchema;
1382
+ /** @deprecated use `GetFirewallConfigSf$Outbound` instead. */
1383
+ export type Outbound = GetFirewallConfigSf$Outbound;
1285
1384
  }
1286
1385
 
1287
- export function sfToJSON(sf: Sf): string {
1288
- return JSON.stringify(Sf$outboundSchema.parse(sf));
1386
+ export function getFirewallConfigSfToJSON(
1387
+ getFirewallConfigSf: GetFirewallConfigSf,
1388
+ ): string {
1389
+ return JSON.stringify(
1390
+ GetFirewallConfigSf$outboundSchema.parse(getFirewallConfigSf),
1391
+ );
1289
1392
  }
1290
1393
 
1291
- export function sfFromJSON(
1394
+ export function getFirewallConfigSfFromJSON(
1292
1395
  jsonString: string,
1293
- ): SafeParseResult<Sf, SDKValidationError> {
1396
+ ): SafeParseResult<GetFirewallConfigSf, SDKValidationError> {
1294
1397
  return safeParse(
1295
1398
  jsonString,
1296
- (x) => Sf$inboundSchema.parse(JSON.parse(x)),
1297
- `Failed to parse 'Sf' from JSON`,
1399
+ (x) => GetFirewallConfigSf$inboundSchema.parse(JSON.parse(x)),
1400
+ `Failed to parse 'GetFirewallConfigSf' from JSON`,
1298
1401
  );
1299
1402
  }
1300
1403
 
@@ -1327,125 +1430,145 @@ export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBody
1327
1430
  }
1328
1431
 
1329
1432
  /** @internal */
1330
- export const Java$inboundSchema: z.ZodType<Java, z.ZodTypeDef, unknown> = z
1331
- .object({
1332
- active: z.boolean(),
1333
- action:
1334
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema,
1335
- });
1433
+ export const GetFirewallConfigJava$inboundSchema: z.ZodType<
1434
+ GetFirewallConfigJava,
1435
+ z.ZodTypeDef,
1436
+ unknown
1437
+ > = z.object({
1438
+ active: z.boolean(),
1439
+ action:
1440
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema,
1441
+ });
1336
1442
 
1337
1443
  /** @internal */
1338
- export type Java$Outbound = {
1444
+ export type GetFirewallConfigJava$Outbound = {
1339
1445
  active: boolean;
1340
1446
  action: string;
1341
1447
  };
1342
1448
 
1343
1449
  /** @internal */
1344
- export const Java$outboundSchema: z.ZodType<Java$Outbound, z.ZodTypeDef, Java> =
1345
- z.object({
1346
- active: z.boolean(),
1347
- action:
1348
- GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema,
1349
- });
1450
+ export const GetFirewallConfigJava$outboundSchema: z.ZodType<
1451
+ GetFirewallConfigJava$Outbound,
1452
+ z.ZodTypeDef,
1453
+ GetFirewallConfigJava
1454
+ > = z.object({
1455
+ active: z.boolean(),
1456
+ action:
1457
+ GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema,
1458
+ });
1350
1459
 
1351
1460
  /**
1352
1461
  * @internal
1353
1462
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1354
1463
  */
1355
- export namespace Java$ {
1356
- /** @deprecated use `Java$inboundSchema` instead. */
1357
- export const inboundSchema = Java$inboundSchema;
1358
- /** @deprecated use `Java$outboundSchema` instead. */
1359
- export const outboundSchema = Java$outboundSchema;
1360
- /** @deprecated use `Java$Outbound` instead. */
1361
- export type Outbound = Java$Outbound;
1464
+ export namespace GetFirewallConfigJava$ {
1465
+ /** @deprecated use `GetFirewallConfigJava$inboundSchema` instead. */
1466
+ export const inboundSchema = GetFirewallConfigJava$inboundSchema;
1467
+ /** @deprecated use `GetFirewallConfigJava$outboundSchema` instead. */
1468
+ export const outboundSchema = GetFirewallConfigJava$outboundSchema;
1469
+ /** @deprecated use `GetFirewallConfigJava$Outbound` instead. */
1470
+ export type Outbound = GetFirewallConfigJava$Outbound;
1362
1471
  }
1363
1472
 
1364
- export function javaToJSON(java: Java): string {
1365
- return JSON.stringify(Java$outboundSchema.parse(java));
1473
+ export function getFirewallConfigJavaToJSON(
1474
+ getFirewallConfigJava: GetFirewallConfigJava,
1475
+ ): string {
1476
+ return JSON.stringify(
1477
+ GetFirewallConfigJava$outboundSchema.parse(getFirewallConfigJava),
1478
+ );
1366
1479
  }
1367
1480
 
1368
- export function javaFromJSON(
1481
+ export function getFirewallConfigJavaFromJSON(
1369
1482
  jsonString: string,
1370
- ): SafeParseResult<Java, SDKValidationError> {
1483
+ ): SafeParseResult<GetFirewallConfigJava, SDKValidationError> {
1371
1484
  return safeParse(
1372
1485
  jsonString,
1373
- (x) => Java$inboundSchema.parse(JSON.parse(x)),
1374
- `Failed to parse 'Java' from JSON`,
1486
+ (x) => GetFirewallConfigJava$inboundSchema.parse(JSON.parse(x)),
1487
+ `Failed to parse 'GetFirewallConfigJava' from JSON`,
1375
1488
  );
1376
1489
  }
1377
1490
 
1378
1491
  /** @internal */
1379
- export const Crs$inboundSchema: z.ZodType<Crs, z.ZodTypeDef, unknown> = z
1380
- .object({
1381
- sd: z.lazy(() => Sd$inboundSchema),
1382
- ma: z.lazy(() => Ma$inboundSchema),
1383
- lfi: z.lazy(() => Lfi$inboundSchema),
1384
- rfi: z.lazy(() => Rfi$inboundSchema),
1385
- rce: z.lazy(() => Rce$inboundSchema),
1386
- php: z.lazy(() => Php$inboundSchema),
1387
- gen: z.lazy(() => Gen$inboundSchema),
1388
- xss: z.lazy(() => Xss$inboundSchema),
1389
- sqli: z.lazy(() => Sqli$inboundSchema),
1390
- sf: z.lazy(() => Sf$inboundSchema),
1391
- java: z.lazy(() => Java$inboundSchema),
1392
- });
1393
-
1394
- /** @internal */
1395
- export type Crs$Outbound = {
1396
- sd: Sd$Outbound;
1397
- ma: Ma$Outbound;
1398
- lfi: Lfi$Outbound;
1399
- rfi: Rfi$Outbound;
1400
- rce: Rce$Outbound;
1401
- php: Php$Outbound;
1402
- gen: Gen$Outbound;
1403
- xss: Xss$Outbound;
1404
- sqli: Sqli$Outbound;
1405
- sf: Sf$Outbound;
1406
- java: Java$Outbound;
1492
+ export const GetFirewallConfigCrs$inboundSchema: z.ZodType<
1493
+ GetFirewallConfigCrs,
1494
+ z.ZodTypeDef,
1495
+ unknown
1496
+ > = z.object({
1497
+ sd: z.lazy(() => GetFirewallConfigSd$inboundSchema),
1498
+ ma: z.lazy(() => GetFirewallConfigMa$inboundSchema),
1499
+ lfi: z.lazy(() => GetFirewallConfigLfi$inboundSchema),
1500
+ rfi: z.lazy(() => GetFirewallConfigRfi$inboundSchema),
1501
+ rce: z.lazy(() => GetFirewallConfigRce$inboundSchema),
1502
+ php: z.lazy(() => GetFirewallConfigPhp$inboundSchema),
1503
+ gen: z.lazy(() => GetFirewallConfigGen$inboundSchema),
1504
+ xss: z.lazy(() => GetFirewallConfigXss$inboundSchema),
1505
+ sqli: z.lazy(() => GetFirewallConfigSqli$inboundSchema),
1506
+ sf: z.lazy(() => GetFirewallConfigSf$inboundSchema),
1507
+ java: z.lazy(() => GetFirewallConfigJava$inboundSchema),
1508
+ });
1509
+
1510
+ /** @internal */
1511
+ export type GetFirewallConfigCrs$Outbound = {
1512
+ sd: GetFirewallConfigSd$Outbound;
1513
+ ma: GetFirewallConfigMa$Outbound;
1514
+ lfi: GetFirewallConfigLfi$Outbound;
1515
+ rfi: GetFirewallConfigRfi$Outbound;
1516
+ rce: GetFirewallConfigRce$Outbound;
1517
+ php: GetFirewallConfigPhp$Outbound;
1518
+ gen: GetFirewallConfigGen$Outbound;
1519
+ xss: GetFirewallConfigXss$Outbound;
1520
+ sqli: GetFirewallConfigSqli$Outbound;
1521
+ sf: GetFirewallConfigSf$Outbound;
1522
+ java: GetFirewallConfigJava$Outbound;
1407
1523
  };
1408
1524
 
1409
1525
  /** @internal */
1410
- export const Crs$outboundSchema: z.ZodType<Crs$Outbound, z.ZodTypeDef, Crs> = z
1411
- .object({
1412
- sd: z.lazy(() => Sd$outboundSchema),
1413
- ma: z.lazy(() => Ma$outboundSchema),
1414
- lfi: z.lazy(() => Lfi$outboundSchema),
1415
- rfi: z.lazy(() => Rfi$outboundSchema),
1416
- rce: z.lazy(() => Rce$outboundSchema),
1417
- php: z.lazy(() => Php$outboundSchema),
1418
- gen: z.lazy(() => Gen$outboundSchema),
1419
- xss: z.lazy(() => Xss$outboundSchema),
1420
- sqli: z.lazy(() => Sqli$outboundSchema),
1421
- sf: z.lazy(() => Sf$outboundSchema),
1422
- java: z.lazy(() => Java$outboundSchema),
1423
- });
1526
+ export const GetFirewallConfigCrs$outboundSchema: z.ZodType<
1527
+ GetFirewallConfigCrs$Outbound,
1528
+ z.ZodTypeDef,
1529
+ GetFirewallConfigCrs
1530
+ > = z.object({
1531
+ sd: z.lazy(() => GetFirewallConfigSd$outboundSchema),
1532
+ ma: z.lazy(() => GetFirewallConfigMa$outboundSchema),
1533
+ lfi: z.lazy(() => GetFirewallConfigLfi$outboundSchema),
1534
+ rfi: z.lazy(() => GetFirewallConfigRfi$outboundSchema),
1535
+ rce: z.lazy(() => GetFirewallConfigRce$outboundSchema),
1536
+ php: z.lazy(() => GetFirewallConfigPhp$outboundSchema),
1537
+ gen: z.lazy(() => GetFirewallConfigGen$outboundSchema),
1538
+ xss: z.lazy(() => GetFirewallConfigXss$outboundSchema),
1539
+ sqli: z.lazy(() => GetFirewallConfigSqli$outboundSchema),
1540
+ sf: z.lazy(() => GetFirewallConfigSf$outboundSchema),
1541
+ java: z.lazy(() => GetFirewallConfigJava$outboundSchema),
1542
+ });
1424
1543
 
1425
1544
  /**
1426
1545
  * @internal
1427
1546
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1428
1547
  */
1429
- export namespace Crs$ {
1430
- /** @deprecated use `Crs$inboundSchema` instead. */
1431
- export const inboundSchema = Crs$inboundSchema;
1432
- /** @deprecated use `Crs$outboundSchema` instead. */
1433
- export const outboundSchema = Crs$outboundSchema;
1434
- /** @deprecated use `Crs$Outbound` instead. */
1435
- export type Outbound = Crs$Outbound;
1548
+ export namespace GetFirewallConfigCrs$ {
1549
+ /** @deprecated use `GetFirewallConfigCrs$inboundSchema` instead. */
1550
+ export const inboundSchema = GetFirewallConfigCrs$inboundSchema;
1551
+ /** @deprecated use `GetFirewallConfigCrs$outboundSchema` instead. */
1552
+ export const outboundSchema = GetFirewallConfigCrs$outboundSchema;
1553
+ /** @deprecated use `GetFirewallConfigCrs$Outbound` instead. */
1554
+ export type Outbound = GetFirewallConfigCrs$Outbound;
1436
1555
  }
1437
1556
 
1438
- export function crsToJSON(crs: Crs): string {
1439
- return JSON.stringify(Crs$outboundSchema.parse(crs));
1557
+ export function getFirewallConfigCrsToJSON(
1558
+ getFirewallConfigCrs: GetFirewallConfigCrs,
1559
+ ): string {
1560
+ return JSON.stringify(
1561
+ GetFirewallConfigCrs$outboundSchema.parse(getFirewallConfigCrs),
1562
+ );
1440
1563
  }
1441
1564
 
1442
- export function crsFromJSON(
1565
+ export function getFirewallConfigCrsFromJSON(
1443
1566
  jsonString: string,
1444
- ): SafeParseResult<Crs, SDKValidationError> {
1567
+ ): SafeParseResult<GetFirewallConfigCrs, SDKValidationError> {
1445
1568
  return safeParse(
1446
1569
  jsonString,
1447
- (x) => Crs$inboundSchema.parse(JSON.parse(x)),
1448
- `Failed to parse 'Crs' from JSON`,
1570
+ (x) => GetFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)),
1571
+ `Failed to parse 'GetFirewallConfigCrs' from JSON`,
1449
1572
  );
1450
1573
  }
1451
1574
 
@@ -2088,17 +2211,20 @@ export namespace GetFirewallConfigSecurityAction$ {
2088
2211
  }
2089
2212
 
2090
2213
  /** @internal */
2091
- export const Ips$inboundSchema: z.ZodType<Ips, z.ZodTypeDef, unknown> = z
2092
- .object({
2093
- id: z.string(),
2094
- hostname: z.string(),
2095
- ip: z.string(),
2096
- notes: z.string().optional(),
2097
- action: GetFirewallConfigSecurityAction$inboundSchema,
2098
- });
2214
+ export const GetFirewallConfigIps$inboundSchema: z.ZodType<
2215
+ GetFirewallConfigIps,
2216
+ z.ZodTypeDef,
2217
+ unknown
2218
+ > = z.object({
2219
+ id: z.string(),
2220
+ hostname: z.string(),
2221
+ ip: z.string(),
2222
+ notes: z.string().optional(),
2223
+ action: GetFirewallConfigSecurityAction$inboundSchema,
2224
+ });
2099
2225
 
2100
2226
  /** @internal */
2101
- export type Ips$Outbound = {
2227
+ export type GetFirewallConfigIps$Outbound = {
2102
2228
  id: string;
2103
2229
  hostname: string;
2104
2230
  ip: string;
@@ -2107,39 +2233,46 @@ export type Ips$Outbound = {
2107
2233
  };
2108
2234
 
2109
2235
  /** @internal */
2110
- export const Ips$outboundSchema: z.ZodType<Ips$Outbound, z.ZodTypeDef, Ips> = z
2111
- .object({
2112
- id: z.string(),
2113
- hostname: z.string(),
2114
- ip: z.string(),
2115
- notes: z.string().optional(),
2116
- action: GetFirewallConfigSecurityAction$outboundSchema,
2117
- });
2236
+ export const GetFirewallConfigIps$outboundSchema: z.ZodType<
2237
+ GetFirewallConfigIps$Outbound,
2238
+ z.ZodTypeDef,
2239
+ GetFirewallConfigIps
2240
+ > = z.object({
2241
+ id: z.string(),
2242
+ hostname: z.string(),
2243
+ ip: z.string(),
2244
+ notes: z.string().optional(),
2245
+ action: GetFirewallConfigSecurityAction$outboundSchema,
2246
+ });
2118
2247
 
2119
2248
  /**
2120
2249
  * @internal
2121
2250
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2122
2251
  */
2123
- export namespace Ips$ {
2124
- /** @deprecated use `Ips$inboundSchema` instead. */
2125
- export const inboundSchema = Ips$inboundSchema;
2126
- /** @deprecated use `Ips$outboundSchema` instead. */
2127
- export const outboundSchema = Ips$outboundSchema;
2128
- /** @deprecated use `Ips$Outbound` instead. */
2129
- export type Outbound = Ips$Outbound;
2252
+ export namespace GetFirewallConfigIps$ {
2253
+ /** @deprecated use `GetFirewallConfigIps$inboundSchema` instead. */
2254
+ export const inboundSchema = GetFirewallConfigIps$inboundSchema;
2255
+ /** @deprecated use `GetFirewallConfigIps$outboundSchema` instead. */
2256
+ export const outboundSchema = GetFirewallConfigIps$outboundSchema;
2257
+ /** @deprecated use `GetFirewallConfigIps$Outbound` instead. */
2258
+ export type Outbound = GetFirewallConfigIps$Outbound;
2130
2259
  }
2131
2260
 
2132
- export function ipsToJSON(ips: Ips): string {
2133
- return JSON.stringify(Ips$outboundSchema.parse(ips));
2261
+ export function getFirewallConfigIpsToJSON(
2262
+ getFirewallConfigIps: GetFirewallConfigIps,
2263
+ ): string {
2264
+ return JSON.stringify(
2265
+ GetFirewallConfigIps$outboundSchema.parse(getFirewallConfigIps),
2266
+ );
2134
2267
  }
2135
2268
 
2136
- export function ipsFromJSON(
2269
+ export function getFirewallConfigIpsFromJSON(
2137
2270
  jsonString: string,
2138
- ): SafeParseResult<Ips, SDKValidationError> {
2271
+ ): SafeParseResult<GetFirewallConfigIps, SDKValidationError> {
2139
2272
  return safeParse(
2140
2273
  jsonString,
2141
- (x) => Ips$inboundSchema.parse(JSON.parse(x)),
2142
- `Failed to parse 'Ips' from JSON`,
2274
+ (x) => GetFirewallConfigIps$inboundSchema.parse(JSON.parse(x)),
2275
+ `Failed to parse 'GetFirewallConfigIps' from JSON`,
2143
2276
  );
2144
2277
  }
2145
2278
 
@@ -2208,8 +2341,8 @@ export namespace GetFirewallConfigSecurityResponseAction$ {
2208
2341
  }
2209
2342
 
2210
2343
  /** @internal */
2211
- export const ManagedRules$inboundSchema: z.ZodType<
2212
- ManagedRules,
2344
+ export const GetFirewallConfigManagedRules$inboundSchema: z.ZodType<
2345
+ GetFirewallConfigManagedRules,
2213
2346
  z.ZodTypeDef,
2214
2347
  unknown
2215
2348
  > = z.object({
@@ -2221,7 +2354,7 @@ export const ManagedRules$inboundSchema: z.ZodType<
2221
2354
  });
2222
2355
 
2223
2356
  /** @internal */
2224
- export type ManagedRules$Outbound = {
2357
+ export type GetFirewallConfigManagedRules$Outbound = {
2225
2358
  active: boolean;
2226
2359
  action?: string | undefined;
2227
2360
  updatedAt?: string | undefined;
@@ -2230,10 +2363,10 @@ export type ManagedRules$Outbound = {
2230
2363
  };
2231
2364
 
2232
2365
  /** @internal */
2233
- export const ManagedRules$outboundSchema: z.ZodType<
2234
- ManagedRules$Outbound,
2366
+ export const GetFirewallConfigManagedRules$outboundSchema: z.ZodType<
2367
+ GetFirewallConfigManagedRules$Outbound,
2235
2368
  z.ZodTypeDef,
2236
- ManagedRules
2369
+ GetFirewallConfigManagedRules
2237
2370
  > = z.object({
2238
2371
  active: z.boolean(),
2239
2372
  action: GetFirewallConfigSecurityResponseAction$outboundSchema.optional(),
@@ -2246,26 +2379,32 @@ export const ManagedRules$outboundSchema: z.ZodType<
2246
2379
  * @internal
2247
2380
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2248
2381
  */
2249
- export namespace ManagedRules$ {
2250
- /** @deprecated use `ManagedRules$inboundSchema` instead. */
2251
- export const inboundSchema = ManagedRules$inboundSchema;
2252
- /** @deprecated use `ManagedRules$outboundSchema` instead. */
2253
- export const outboundSchema = ManagedRules$outboundSchema;
2254
- /** @deprecated use `ManagedRules$Outbound` instead. */
2255
- export type Outbound = ManagedRules$Outbound;
2382
+ export namespace GetFirewallConfigManagedRules$ {
2383
+ /** @deprecated use `GetFirewallConfigManagedRules$inboundSchema` instead. */
2384
+ export const inboundSchema = GetFirewallConfigManagedRules$inboundSchema;
2385
+ /** @deprecated use `GetFirewallConfigManagedRules$outboundSchema` instead. */
2386
+ export const outboundSchema = GetFirewallConfigManagedRules$outboundSchema;
2387
+ /** @deprecated use `GetFirewallConfigManagedRules$Outbound` instead. */
2388
+ export type Outbound = GetFirewallConfigManagedRules$Outbound;
2256
2389
  }
2257
2390
 
2258
- export function managedRulesToJSON(managedRules: ManagedRules): string {
2259
- return JSON.stringify(ManagedRules$outboundSchema.parse(managedRules));
2391
+ export function getFirewallConfigManagedRulesToJSON(
2392
+ getFirewallConfigManagedRules: GetFirewallConfigManagedRules,
2393
+ ): string {
2394
+ return JSON.stringify(
2395
+ GetFirewallConfigManagedRules$outboundSchema.parse(
2396
+ getFirewallConfigManagedRules,
2397
+ ),
2398
+ );
2260
2399
  }
2261
2400
 
2262
- export function managedRulesFromJSON(
2401
+ export function getFirewallConfigManagedRulesFromJSON(
2263
2402
  jsonString: string,
2264
- ): SafeParseResult<ManagedRules, SDKValidationError> {
2403
+ ): SafeParseResult<GetFirewallConfigManagedRules, SDKValidationError> {
2265
2404
  return safeParse(
2266
2405
  jsonString,
2267
- (x) => ManagedRules$inboundSchema.parse(JSON.parse(x)),
2268
- `Failed to parse 'ManagedRules' from JSON`,
2406
+ (x) => GetFirewallConfigManagedRules$inboundSchema.parse(JSON.parse(x)),
2407
+ `Failed to parse 'GetFirewallConfigManagedRules' from JSON`,
2269
2408
  );
2270
2409
  }
2271
2410
 
@@ -2281,11 +2420,13 @@ export const GetFirewallConfigResponseBody$inboundSchema: z.ZodType<
2281
2420
  version: z.number(),
2282
2421
  updatedAt: z.string(),
2283
2422
  firewallEnabled: z.boolean(),
2284
- crs: z.lazy(() => Crs$inboundSchema),
2423
+ crs: z.lazy(() => GetFirewallConfigCrs$inboundSchema),
2285
2424
  rules: z.array(z.lazy(() => GetFirewallConfigRules$inboundSchema)),
2286
- ips: z.array(z.lazy(() => Ips$inboundSchema)),
2425
+ ips: z.array(z.lazy(() => GetFirewallConfigIps$inboundSchema)),
2287
2426
  changes: z.array(z.lazy(() => Changes$inboundSchema)),
2288
- managedRules: z.record(z.lazy(() => ManagedRules$inboundSchema)).optional(),
2427
+ managedRules: z.record(
2428
+ z.lazy(() => GetFirewallConfigManagedRules$inboundSchema),
2429
+ ).optional(),
2289
2430
  });
2290
2431
 
2291
2432
  /** @internal */
@@ -2296,11 +2437,13 @@ export type GetFirewallConfigResponseBody$Outbound = {
2296
2437
  version: number;
2297
2438
  updatedAt: string;
2298
2439
  firewallEnabled: boolean;
2299
- crs: Crs$Outbound;
2440
+ crs: GetFirewallConfigCrs$Outbound;
2300
2441
  rules: Array<GetFirewallConfigRules$Outbound>;
2301
- ips: Array<Ips$Outbound>;
2442
+ ips: Array<GetFirewallConfigIps$Outbound>;
2302
2443
  changes: Array<Changes$Outbound>;
2303
- managedRules?: { [k: string]: ManagedRules$Outbound } | undefined;
2444
+ managedRules?:
2445
+ | { [k: string]: GetFirewallConfigManagedRules$Outbound }
2446
+ | undefined;
2304
2447
  };
2305
2448
 
2306
2449
  /** @internal */
@@ -2315,11 +2458,13 @@ export const GetFirewallConfigResponseBody$outboundSchema: z.ZodType<
2315
2458
  version: z.number(),
2316
2459
  updatedAt: z.string(),
2317
2460
  firewallEnabled: z.boolean(),
2318
- crs: z.lazy(() => Crs$outboundSchema),
2461
+ crs: z.lazy(() => GetFirewallConfigCrs$outboundSchema),
2319
2462
  rules: z.array(z.lazy(() => GetFirewallConfigRules$outboundSchema)),
2320
- ips: z.array(z.lazy(() => Ips$outboundSchema)),
2463
+ ips: z.array(z.lazy(() => GetFirewallConfigIps$outboundSchema)),
2321
2464
  changes: z.array(z.lazy(() => Changes$outboundSchema)),
2322
- managedRules: z.record(z.lazy(() => ManagedRules$outboundSchema)).optional(),
2465
+ managedRules: z.record(
2466
+ z.lazy(() => GetFirewallConfigManagedRules$outboundSchema),
2467
+ ).optional(),
2323
2468
  });
2324
2469
 
2325
2470
  /**