diff --git a/.apigentools-info b/.apigentools-info index 58b57fa08b9..ca533f2146d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.4.0", - "regenerated": "2020-12-16 20:45:50.298040", - "spec_repo_commit": "a663b53" + "regenerated": "2020-12-17 14:42:14.919003", + "spec_repo_commit": "c18e9b3" }, "v2": { "apigentools_version": "1.4.0", - "regenerated": "2020-12-16 20:45:56.596909", - "spec_repo_commit": "a663b53" + "regenerated": "2020-12-17 14:42:21.440887", + "spec_repo_commit": "c18e9b3" } } } \ No newline at end of file diff --git a/api/v1/datadog/api/openapi.yaml b/api/v1/datadog/api/openapi.yaml index 1df98f5ee8c..624959f7c71 100644 --- a/api/v1/datadog/api/openapi.yaml +++ b/api/v1/datadog/api/openapi.yaml @@ -14667,12 +14667,14 @@ components: - element - email - global + - javascript - text type: string x-enum-varnames: - ELEMENT - EMAIL - GLOBAL + - JAVASCRIPT - TEXT SyntheticsCITest: description: Test configuration for Synthetics CI diff --git a/api/v1/datadog/docs/SyntheticsBrowserVariableType.md b/api/v1/datadog/docs/SyntheticsBrowserVariableType.md index f2651ec7cec..cfcd3f68c16 100644 --- a/api/v1/datadog/docs/SyntheticsBrowserVariableType.md +++ b/api/v1/datadog/docs/SyntheticsBrowserVariableType.md @@ -9,6 +9,8 @@ * `GLOBAL` (value: `"global"`) +* `JAVASCRIPT` (value: `"javascript"`) + * `TEXT` (value: `"text"`) diff --git a/api/v1/datadog/model_synthetics_browser_variable_type.go b/api/v1/datadog/model_synthetics_browser_variable_type.go index 3daa93cdda7..b5266e26aa9 100644 --- a/api/v1/datadog/model_synthetics_browser_variable_type.go +++ b/api/v1/datadog/model_synthetics_browser_variable_type.go @@ -18,10 +18,11 @@ type SyntheticsBrowserVariableType string // List of SyntheticsBrowserVariableType const ( - SYNTHETICSBROWSERVARIABLETYPE_ELEMENT SyntheticsBrowserVariableType = "element" - SYNTHETICSBROWSERVARIABLETYPE_EMAIL SyntheticsBrowserVariableType = "email" - SYNTHETICSBROWSERVARIABLETYPE_GLOBAL SyntheticsBrowserVariableType = "global" - SYNTHETICSBROWSERVARIABLETYPE_TEXT SyntheticsBrowserVariableType = "text" + SYNTHETICSBROWSERVARIABLETYPE_ELEMENT SyntheticsBrowserVariableType = "element" + SYNTHETICSBROWSERVARIABLETYPE_EMAIL SyntheticsBrowserVariableType = "email" + SYNTHETICSBROWSERVARIABLETYPE_GLOBAL SyntheticsBrowserVariableType = "global" + SYNTHETICSBROWSERVARIABLETYPE_JAVASCRIPT SyntheticsBrowserVariableType = "javascript" + SYNTHETICSBROWSERVARIABLETYPE_TEXT SyntheticsBrowserVariableType = "text" ) func (v *SyntheticsBrowserVariableType) UnmarshalJSON(src []byte) error { @@ -31,7 +32,7 @@ func (v *SyntheticsBrowserVariableType) UnmarshalJSON(src []byte) error { return err } enumTypeValue := SyntheticsBrowserVariableType(value) - for _, existing := range []SyntheticsBrowserVariableType{"element", "email", "global", "text"} { + for _, existing := range []SyntheticsBrowserVariableType{"element", "email", "global", "javascript", "text"} { if existing == enumTypeValue { *v = enumTypeValue return nil