diff --git a/package-lock.json b/package-lock.json index 4f80bd3..3081d25 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "11.0.3", "license": "MIT", "dependencies": { - "@netlify/open-api": "^2.10.0", + "@netlify/open-api": "^2.11.0", "lodash.camelcase": "^4.3.0", "micro-api-client": "^3.3.0", "node-fetch": "^3.0.0", @@ -1028,9 +1028,9 @@ } }, "node_modules/@netlify/open-api": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-2.10.0.tgz", - "integrity": "sha512-ZJF4nbLPfxsWrVgp2reCb23HMxsWl5+r+K0RtIhxcZ/RxbHVihRA9mwyzIcxPWrT5x9uAAxCr1aKGP7IdsDe+Q==" + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-2.11.0.tgz", + "integrity": "sha512-ni6R1xdR8EtH0iB8ixGt9ocuboW+Q8eN4ilTX8lfNHS6Y6Q2S+O/aB2n1BnAgv39wopeQsQ2meL9vfEePURl7w==" }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", @@ -8575,9 +8575,9 @@ } }, "@netlify/open-api": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-2.10.0.tgz", - "integrity": "sha512-ZJF4nbLPfxsWrVgp2reCb23HMxsWl5+r+K0RtIhxcZ/RxbHVihRA9mwyzIcxPWrT5x9uAAxCr1aKGP7IdsDe+Q==" + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-2.11.0.tgz", + "integrity": "sha512-ni6R1xdR8EtH0iB8ixGt9ocuboW+Q8eN4ilTX8lfNHS6Y6Q2S+O/aB2n1BnAgv39wopeQsQ2meL9vfEePURl7w==" }, "@nodelib/fs.scandir": { "version": "2.1.5", diff --git a/package.json b/package.json index 5572820..9efedcf 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "node client" ], "dependencies": { - "@netlify/open-api": "^2.10.0", + "@netlify/open-api": "^2.11.0", "lodash.camelcase": "^4.3.0", "micro-api-client": "^3.3.0", "node-fetch": "^3.0.0", diff --git a/src/operations.test.js.md b/src/operations.test.js.md index ca7434d..4ca2873 100644 --- a/src/operations.test.js.md +++ b/src/operations.test.js.md @@ -2537,7 +2537,7 @@ Generated by [AVA](https://avajs.dev). verb: 'get', }, { - description: '[Beta] Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI.', + description: '[Beta] Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI. To use this endpoint, opt in to the beta environment variable experience using the Netlify UI.', operationId: 'getEnvVars', parameters: { body: {}, @@ -2708,7 +2708,7 @@ Generated by [AVA](https://avajs.dev). verb: 'get', }, { - description: '[Beta] Creates new environment variables. Granular scopes are available on Pro plans and above.', + description: '[Beta] Creates new environment variables. Granular scopes are available on Pro plans and above. To use this endpoint, opt in to the beta environment variable experience using the Netlify UI.', operationId: 'createEnvVars', parameters: { body: { @@ -2912,7 +2912,7 @@ Generated by [AVA](https://avajs.dev). verb: 'post', }, { - description: '[Beta] Returns an individual environment variable.', + description: '[Beta] Returns an individual environment variable. To use this endpoint, opt in to the beta environment variable experience using the Netlify UI.', operationId: 'getEnvVar', parameters: { body: {}, @@ -3060,7 +3060,7 @@ Generated by [AVA](https://avajs.dev). verb: 'get', }, { - description: '[Beta] Updates an existing environment variable and all of its values. Existing values will be replaced by values provided.', + description: '[Beta] Updates an existing environment variable and all of its values. Existing values will be replaced by values provided. To use this endpoint, opt in to the beta environment variable experience using the Netlify UI.', operationId: 'updateEnvVar', parameters: { body: { @@ -3265,7 +3265,7 @@ Generated by [AVA](https://avajs.dev). verb: 'put', }, { - description: '[Beta] Deletes an environment variable.', + description: '[Beta] Deletes an environment variable. To use this endpoint, opt in to the beta environment variable experience using the Netlify UI.', operationId: 'deleteEnvVar', parameters: { body: {}, @@ -3326,7 +3326,7 @@ Generated by [AVA](https://avajs.dev). verb: 'delete', }, { - description: '[Beta] Deletes a specific environment variable value.', + description: '[Beta] Deletes a specific environment variable value. To use this endpoint, opt in to the beta environment variable experience using the Netlify UI.', operationId: 'deleteEnvVarValue', parameters: { body: {}, @@ -8096,6 +8096,13 @@ Generated by [AVA](https://avajs.dev). }, }, }, + header: { + 'X-Nf-Retry-Count': { + in: 'header', + name: 'X-Nf-Retry-Count', + type: 'integer', + }, + }, path: { deploy_id: { in: 'path', diff --git a/src/operations.test.js.snap b/src/operations.test.js.snap index 0b66b2a..f3720ac 100644 Binary files a/src/operations.test.js.snap and b/src/operations.test.js.snap differ