From 2dd2fbc9a995965f18d08337b9e5e86d721f100b Mon Sep 17 00:00:00 2001
From: "ci.datadog-api-spec" <packages@datadoghq.com>
Date: Thu, 30 Jan 2025 13:19:31 +0000
Subject: [PATCH] Regenerate client from commit 833109b8 of spec repo

---
 .apigentools-info                  |  8 ++++----
 .generator/schemas/v1/openapi.yaml | 27 +++++++++++++++------------
 src/datadogV1/api/api_monitors.rs  | 10 ++++++++--
 3 files changed, 27 insertions(+), 18 deletions(-)

diff --git a/.apigentools-info b/.apigentools-info
index e8b12ad50..e7f5dd236 100644
--- a/.apigentools-info
+++ b/.apigentools-info
@@ -4,13 +4,13 @@
     "spec_versions": {
         "v1": {
             "apigentools_version": "1.6.6",
-            "regenerated": "2025-01-29 14:55:50.970209",
-            "spec_repo_commit": "14f5d952"
+            "regenerated": "2025-01-30 13:13:47.834944",
+            "spec_repo_commit": "833109b8"
         },
         "v2": {
             "apigentools_version": "1.6.6",
-            "regenerated": "2025-01-29 14:55:50.987139",
-            "spec_repo_commit": "14f5d952"
+            "regenerated": "2025-01-30 13:13:47.850414",
+            "spec_repo_commit": "833109b8"
         }
     }
 }
\ No newline at end of file
diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml
index dd2d408e6..ad8e3b54c 100644
--- a/.generator/schemas/v1/openapi.yaml
+++ b/.generator/schemas/v1/openapi.yaml
@@ -29252,19 +29252,22 @@ paths:
         or the facet name you want to use.\n- `time_window` #m (between 1 and 2880),
         #h (between 1 and 48).\n- `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.\n-
         `#` an integer or decimal number used to set the threshold.\n\n**Cost Alert
-        Query**\n\nExample: `formula(query).last(time_window).function(parameter)
+        Query**\n\nExample: `formula(query).timeframe_type(time_window).function(parameter)
         operator #`\n\n- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).\n-
-        `time_window` - supports daily roll-up e.g. `7d`\n- `function` - [optional,
-        defaults to `threshold` monitor if omitted] supports `change`, `anomaly`,
-        `forecast`\n- `parameter` Specify the parameter of the type\n    - for `change`:\n
-        \       - supports `relative`, `absolute`\n        - [optional] supports `#`,
-        where `#` is an integer or decimal number used to set the threshold\n    -
-        for `anomaly`:\n        - supports `direction=both`, `direction=above`, `direction=below`\n
-        \       - [optional] supports `threshold=#`, where `#` is an integer or decimal
-        number used to set the threshold\n- `operator`\n    - for `threshold` supports
-        `<`, `<=`, `>`, `>=`, `==`, or `!=`\n    - for `change` supports `>`, `<`\n
-        \   - for `anomaly` supports `>=`\n    - for `forecast` supports `>`\n- `#`
-        an integer or decimal number used to set the threshold."
+        `timeframe_type` The timeframe type to evaluate the cost\n        - for `forecast`
+        supports `current`\n        - for `change`, `anomaly`, `threshold` supports
+        `last`\n- `time_window` - supports daily roll-up e.g. `7d`\n- `function` -
+        [optional, defaults to `threshold` monitor if omitted] supports `change`,
+        `anomaly`, `forecast`\n- `parameter` Specify the parameter of the type\n    -
+        for `change`:\n        - supports `relative`, `absolute`\n        - [optional]
+        supports `#`, where `#` is an integer or decimal number used to set the threshold\n
+        \   - for `anomaly`:\n        - supports `direction=both`, `direction=above`,
+        `direction=below`\n        - [optional] supports `threshold=#`, where `#`
+        is an integer or decimal number used to set the threshold\n- `operator`\n
+        \   - for `threshold` supports `<`, `<=`, `>`, `>=`, `==`, or `!=`\n    -
+        for `change` supports `>`, `<`\n    - for `anomaly` supports `>=`\n    - for
+        `forecast` supports `>`\n- `#` an integer or decimal number used to set the
+        threshold."
       operationId: CreateMonitor
       requestBody:
         content:
diff --git a/src/datadogV1/api/api_monitors.rs b/src/datadogV1/api/api_monitors.rs
index edf1989a5..1a5a832ea 100644
--- a/src/datadogV1/api/api_monitors.rs
+++ b/src/datadogV1/api/api_monitors.rs
@@ -705,9 +705,12 @@ impl MonitorsAPI {
     ///
     /// **Cost Alert Query**
     ///
-    /// Example: `formula(query).last(time_window).function(parameter) operator #`
+    /// Example: `formula(query).timeframe_type(time_window).function(parameter) operator #`
     ///
     /// - `query` The search query - following the [Log search syntax](<https://docs.datadoghq.com/logs/search_syntax/>).
+    /// - `timeframe_type` The timeframe type to evaluate the cost
+    ///         - for `forecast` supports `current`
+    ///         - for `change`, `anomaly`, `threshold` supports `last`
     /// - `time_window` - supports daily roll-up e.g. `7d`
     /// - `function` - [optional, defaults to `threshold` monitor if omitted] supports `change`, `anomaly`, `forecast`
     /// - `parameter` Specify the parameter of the type
@@ -938,9 +941,12 @@ impl MonitorsAPI {
     ///
     /// **Cost Alert Query**
     ///
-    /// Example: `formula(query).last(time_window).function(parameter) operator #`
+    /// Example: `formula(query).timeframe_type(time_window).function(parameter) operator #`
     ///
     /// - `query` The search query - following the [Log search syntax](<https://docs.datadoghq.com/logs/search_syntax/>).
+    /// - `timeframe_type` The timeframe type to evaluate the cost
+    ///         - for `forecast` supports `current`
+    ///         - for `change`, `anomaly`, `threshold` supports `last`
     /// - `time_window` - supports daily roll-up e.g. `7d`
     /// - `function` - [optional, defaults to `threshold` monitor if omitted] supports `change`, `anomaly`, `forecast`
     /// - `parameter` Specify the parameter of the type