@distilled.cloud/cloudflare 0.19.1 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,7 +34,7 @@ export interface GetPhasResponse {
34
34
  /** The phase of the ruleset. */
35
35
  phase: "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit";
36
36
  /** The list of rules in the ruleset. */
37
- rules: ({
37
+ rules?: ({
38
38
  lastUpdated: string;
39
39
  version: string;
40
40
  id?: string | null;
@@ -733,7 +733,7 @@ export interface GetPhasResponse {
733
733
  scoreResponseHeaderName?: string | null;
734
734
  } | null;
735
735
  ref?: string | null;
736
- })[];
736
+ })[] | null;
737
737
  /** The version of the ruleset. */
738
738
  version: string;
739
739
  /** An informative description of the ruleset. */
@@ -1417,7 +1417,7 @@ export interface PutPhasResponse {
1417
1417
  /** The phase of the ruleset. */
1418
1418
  phase: "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit";
1419
1419
  /** The list of rules in the ruleset. */
1420
- rules: ({
1420
+ rules?: ({
1421
1421
  lastUpdated: string;
1422
1422
  version: string;
1423
1423
  id?: string | null;
@@ -2116,7 +2116,7 @@ export interface PutPhasResponse {
2116
2116
  scoreResponseHeaderName?: string | null;
2117
2117
  } | null;
2118
2118
  ref?: string | null;
2119
- })[];
2119
+ })[] | null;
2120
2120
  /** The version of the ruleset. */
2121
2121
  version: string;
2122
2122
  /** An informative description of the ruleset. */