diff --git a/.apigentools-info b/.apigentools-info index 33c64bbda5b0..dfd120228944 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-07-02 08:49:18.349386", - "spec_repo_commit": "b431a9be" + "regenerated": "2025-07-02 11:31:50.129984", + "spec_repo_commit": "ab77d015" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-07-02 08:49:18.368578", - "spec_repo_commit": "b431a9be" + "regenerated": "2025-07-02 11:31:50.146274", + "spec_repo_commit": "ab77d015" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index d2a0d3f130cb..f6fdf8cd2dc3 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -16735,6 +16735,7 @@ components: - assertRequests - click - extractFromJavascript + - extractFromEmailBody - extractVariable - goToEmailLink - goToUrl @@ -16764,6 +16765,7 @@ components: - ASSERT_REQUESTS - CLICK - EXTRACT_FROM_JAVASCRIPT + - EXTRACT_FROM_EMAIL_BODY - EXTRACT_VARIABLE - GO_TO_EMAIL_LINK - GO_TO_URL diff --git a/cassettes/features/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.frozen b/cassettes/features/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.frozen index 78f5e2f6e2c2..54f773518d83 100644 --- a/cassettes/features/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.frozen +++ b/cassettes/features/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.frozen @@ -1 +1 @@ -2024-12-09T11:17:45.545Z \ No newline at end of file +2025-06-30T13:20:04.184Z \ No newline at end of file diff --git a/cassettes/features/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.yml b/cassettes/features/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.yml index c7dcf66b58cc..c97a58f4e872 100644 --- a/cassettes/features/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.yml +++ b/cassettes/features/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.yml @@ -1,10 +1,10 @@ http_interactions: -- recorded_at: Mon, 09 Dec 2024 11:17:45 GMT +- recorded_at: Mon, 30 Jun 2025 13:20:04 GMT request: body: encoding: UTF-8 string: '{"config":{"assertions":[],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"example":"secret","name":"TEST_VARIABLE","pattern":"secret","secure":true,"type":"text"}]},"locations":["aws:us-east-2"],"message":"Test - message","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1733743065","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["chrome.laptop_large"],"disableCors":true,"enableProfiling":true,"enableSecurityTesting":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"steps":[{"allowFailure":false,"alwaysExecute":true,"exitIfSucceed":true,"isCritical":true,"name":"Refresh + message","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1751289604","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["chrome.laptop_large"],"disableCors":true,"enableProfiling":true,"enableSecurityTesting":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"steps":[{"allowFailure":false,"alwaysExecute":true,"exitIfSucceed":true,"isCritical":true,"name":"Refresh page","params":{},"type":"refresh"}],"tags":["testing:browser"],"type":"browser"}' headers: Accept: @@ -16,20 +16,20 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"public_id":"y49-diz-cwy","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1733743065","status":"paused","type":"browser","tags":["testing:browser"],"created_at":"2024-12-09T11:17:46.150300+00:00","modified_at":"2024-12-09T11:17:46.150300+00:00","config":{"assertions":[],"configVariables":[{"name":"PROPERTY","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"name":"TEST_VARIABLE","secure":true,"type":"text"}]},"message":"Test - message","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["chrome.laptop_large"],"disableCors":true,"enableProfiling":true,"enableSecurityTesting":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"locations":["aws:us-east-2"],"created_by":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":159881002,"org_id":321813,"modified_by":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"steps":[{"name":"Refresh - page","params":{},"type":"refresh","public_id":"uyu-hni-jav","allowFailure":false,"isCritical":true,"exitIfSucceed":true,"alwaysExecute":true}],"stepCount":{"assertions":0,"subtests":0,"total":1}}' + string: '{"public_id":"yyg-vy3-ii9","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1751289604","status":"paused","type":"browser","tags":["testing:browser"],"created_at":"2025-06-30T13:20:04.867493+00:00","modified_at":"2025-06-30T13:20:04.867493+00:00","config":{"assertions":[],"configVariables":[{"name":"PROPERTY","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"name":"TEST_VARIABLE","secure":true,"type":"text"}]},"message":"Test + message","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["chrome.laptop_large"],"disableCors":true,"enableProfiling":true,"enableSecurityTesting":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"locations":["aws:us-east-2"],"created_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":176509426,"org_id":321813,"modified_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"steps":[{"name":"Refresh + page","params":{},"type":"refresh","public_id":"kbc-j4p-uxx","allowFailure":false,"isCritical":true,"exitIfSucceed":true,"alwaysExecute":true}],"stepCount":{"assertions":0,"subtests":0,"total":1}}' headers: Content-Type: - application/json status: code: 200 message: OK -- recorded_at: Mon, 09 Dec 2024 11:17:45 GMT +- recorded_at: Mon, 30 Jun 2025 13:20:04 GMT request: body: encoding: UTF-8 - string: '{"public_ids":["y49-diz-cwy"]}' + string: '{"public_ids":["yyg-vy3-ii9"]}' headers: Accept: - application/json @@ -40,7 +40,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"deleted_tests":[{"public_id":"y49-diz-cwy","deleted_at":"2024-12-09T11:17:47.130391+00:00"}]} + string: '{"deleted_tests":[{"public_id":"yyg-vy3-ii9","deleted_at":"2025-06-30T13:20:05.692513+00:00"}]} ' headers: diff --git a/lib/datadog_api_client/v1/models/synthetics_step_type.rb b/lib/datadog_api_client/v1/models/synthetics_step_type.rb index 014a9f186f71..b0baf4658ecc 100644 --- a/lib/datadog_api_client/v1/models/synthetics_step_type.rb +++ b/lib/datadog_api_client/v1/models/synthetics_step_type.rb @@ -33,6 +33,7 @@ class SyntheticsStepType ASSERT_REQUESTS = "assertRequests".freeze CLICK = "click".freeze EXTRACT_FROM_JAVASCRIPT = "extractFromJavascript".freeze + EXTRACT_FROM_EMAIL_BODY = "extractFromEmailBody".freeze EXTRACT_VARIABLE = "extractVariable".freeze GO_TO_EMAIL_LINK = "goToEmailLink".freeze GO_TO_URL = "goToUrl".freeze