UNPKG

191 kBJavaScriptView Raw
1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.NetlifyClient=t():e.NetlifyClient=t()}(window,(function(){return function(e){var t={};function r(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)r.d(i,s,function(t){return e[t]}.bind(null,s));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=14)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){e.exports=r(15)},function(e,t){function r(e,t,r,i,s,n,p){try{var a=e[n](p),o=a.value}catch(e){return void r(e)}a.done?t(o):Promise.resolve(o).then(i,s)}e.exports=function(e){return function(){var t=this,i=arguments;return new Promise((function(s,n){var p=e.apply(t,i);function a(e){r(p,s,n,a,o,"next",e)}function o(e){r(p,s,n,a,o,"throw",e)}a(void 0)}))}}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var i=r(26),s=r(27),n=r(9),p=r(28);e.exports=function(e){return i(e)||s(e)||n(e)||p()}},function(e,t,r){"use strict";var i=Object.prototype.hasOwnProperty,s=Array.isArray,n=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),p=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},i=0;i<e.length;++i)void 0!==e[i]&&(r[i]=e[i]);return r};e.exports={arrayToObject:p,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],i=0;i<t.length;++i)for(var n=t[i],p=n.obj[n.prop],a=Object.keys(p),o=0;o<a.length;++o){var y=a[o],d=p[y];"object"==typeof d&&null!==d&&-1===r.indexOf(d)&&(t.push({obj:p,prop:y}),r.push(d))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(s(r)){for(var i=[],n=0;n<r.length;++n)void 0!==r[n]&&i.push(r[n]);t.obj[t.prop]=i}}}(t),e},decode:function(e,t,r){var i=e.replace(/\+/g," ");if("iso-8859-1"===r)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(e){return i}},encode:function(e,t,r){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",p=0;p<i.length;++p){var a=i.charCodeAt(p);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?s+=i.charAt(p):a<128?s+=n[a]:a<2048?s+=n[192|a>>6]+n[128|63&a]:a<55296||a>=57344?s+=n[224|a>>12]+n[128|a>>6&63]+n[128|63&a]:(p+=1,a=65536+((1023&a)<<10|1023&i.charCodeAt(p)),s+=n[240|a>>18]+n[128|a>>12&63]+n[128|a>>6&63]+n[128|63&a])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(s(e)){for(var r=[],i=0;i<e.length;i+=1)r.push(t(e[i]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(s(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return s(t)&&!s(r)&&(a=p(t,n)),s(t)&&s(r)?(r.forEach((function(r,s){if(i.call(t,s)){var p=t[s];p&&"object"==typeof p&&r&&"object"==typeof r?t[s]=e(p,r,n):t.push(r)}else t[s]=r})),t):Object.keys(r).reduce((function(t,s){var p=r[s];return i.call(t,s)?t[s]=e(t[s],p,n):t[s]=p,t}),a)}}},function(e){e.exports=JSON.parse('{"swagger":"2.0","info":{"version":"0.16.0","title":"Netlify\'s API documentation","description":"Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.\\n\\nThis document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify’s API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).\\n\\nAdditionally, we have two API clients for your convenience:\\n- [Go Client](https://github.com/netlify/open-api#go-client)\\n- [JS Client](https://github.com/netlify/js-client)","termsOfService":"https://www.netlify.com/legal/terms-of-use/","x-logo":{"url":"netlify-logo.png","href":"https://www.netlify.com/docs/","altText":"Netlify"}},"externalDocs":{"url":"https://www.netlify.com/docs/api/","description":"Online documentation"},"securityDefinitions":{"netlifyAuth":{"type":"oauth2","flow":"implicit","authorizationUrl":"https://app.netlify.com/authorize"}},"security":[{"netlifyAuth":[]}],"consumes":["application/json"],"produces":["application/json"],"schemes":["https"],"responses":{"error":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}},"host":"api.netlify.com","basePath":"/api/v1","paths":{"/sites":{"get":{"operationId":"listSites","tags":["site"],"parameters":[{"name":"name","in":"query","type":"string"},{"name":"filter","in":"query","type":"string","enum":["all","owner","guest"]}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSite","tags":["site"],"consumes":["application/json"],"parameters":[{"name":"site","in":"body","schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}}}}]},"required":true},{"name":"configure_dns","type":"boolean","in":"query"}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSite","tags":["site"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"patch":{"operationId":"updateSite","tags":["site"],"consumes":["application/json"],"parameters":[{"name":"site","in":"body","schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}}}}]},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSite","tags":["site"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/ssl":{"post":{"operationId":"provisionSiteTLSCertificate","tags":["sniCertificate"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"certificate","type":"string","in":"query"},{"name":"key","type":"string","in":"query"},{"name":"ca_certificates","type":"string","in":"query"}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"state":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"expires_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"showSiteTLSCertificate","tags":["sniCertificate"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"state":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"expires_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/forms":{"get":{"operationId":"listSiteForms","tags":["form"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}},"submission_count":{"type":"integer","format":"int32"},"fields":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/forms/{form_id}":{"delete":{"operationId":"deleteSiteForm","tags":["form"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"form_id","type":"string","in":"path","required":true}],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/submissions":{"get":{"operationId":"listSiteSubmissions","tags":["submission"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/files":{"get":{"operationId":"listSiteFiles","tags":["file"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/assets":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteAssets","tags":["asset"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteAsset","tags":["asset"],"parameters":[{"name":"name","type":"string","in":"query","required":true},{"name":"size","type":"integer","format":"int64","in":"query","required":true},{"name":"content_type","type":"string","in":"query","required":true},{"name":"visibility","type":"string","in":"query"}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"form":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"asset":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/assets/{asset_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"asset_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteAssetInfo","tags":["asset"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteAsset","tags":["asset"],"parameters":[{"name":"state","type":"string","in":"query","required":true}],"responses":{"200":{"description":"Updated","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSiteAsset","tags":["asset"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/assets/{asset_id}/public_signature":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"asset_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteAssetPublicSignature","tags":["assetPublicSignature"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"url":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/files/{file_path}":{"get":{"operationId":"getSiteFileByPathName","tags":["file"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"file_path","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/snippets":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteSnippets","tags":["snippet"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteSnippet","tags":["snippet"],"consumes":["application/json"],"parameters":[{"name":"snippet","in":"body","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}},"required":true}],"responses":{"201":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/snippets/{snippet_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"snippet_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteSnippet","tags":["snippet"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteSnippet","tags":["snippet"],"consumes":["application/json"],"parameters":[{"name":"snippet","in":"body","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}},"required":true}],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSiteSnippet","tags":["snippet"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/metadata":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteMetadata","tags":["metadata"],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteMetadata","tags":["metadata"],"parameters":[{"name":"metadata","in":"body","schema":{"type":"object"},"required":true}],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/build_hooks":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteBuildHooks","tags":["buildHook"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteBuildHook","tags":["buildHook"],"consumes":["application/json"],"parameters":[{"name":"buildHook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/build_hooks/{id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteBuildHook","tags":["buildHook"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteBuildHook","tags":["buildHook"],"consumes":["application/json"],"parameters":[{"name":"buildHook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"required":true}],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSiteBuildHook","tags":["buildHook"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deploys":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteDeploys","tags":["deploy"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteDeploy","tags":["deploy"],"parameters":[{"name":"title","type":"string","in":"query"},{"name":"deploy","in":"body","schema":{"type":"object","properties":{"files":{"type":"object"},"draft":{"type":"boolean"},"async":{"type":"boolean"},"functions":{"type":"object"},"branch":{"type":"string"}}},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deploys/{deploy_id}":{"get":{"operationId":"getSiteDeploy","tags":["deploy"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteDeploy","tags":["deploy"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"deploy","in":"body","schema":{"type":"object","properties":{"files":{"type":"object"},"draft":{"type":"boolean"},"async":{"type":"boolean"},"functions":{"type":"object"},"branch":{"type":"string"}}},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/cancel":{"post":{"operationId":"cancelSiteDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"201":{"description":"Cancelled","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deploys/{deploy_id}/restore":{"post":{"operationId":"restoreSiteDeploy","tags":["deploy"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/builds":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteBuilds","tags":["build"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteBuild","tags":["build"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deployed-branches":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteDeployedBranches","tags":["deployedBranch"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/unlink_repo":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"put":{"operationId":"unlinkSiteRepo","tags":["site"],"description":"[Beta] Unlinks the repo from the site.\\n\\nThis action will also:\\n- Delete associated deploy keys\\n- Delete outgoing webhooks for the repo\\n- Delete the site\'s build hooks","responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"404":{"description":"Site not found"}}}},"/builds/{build_id}":{"parameters":[{"name":"build_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteBuild","tags":["build"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/builds/{build_id}/log":{"parameters":[{"name":"build_id","type":"string","in":"path","required":true},{"name":"msg","in":"body","schema":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"boolean"}}},"required":true}],"post":{"operationId":"updateSiteBuildLog","tags":["buildLogMsg"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/builds/{build_id}/start":{"parameters":[{"name":"build_id","type":"string","in":"path","required":true}],"post":{"operationId":"notifyBuildStart","tags":["build"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/dns":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDNSForSite","tags":["dnsZone"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"configureDNSForSite","tags":["dnsZone"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}":{"get":{"operationId":"getDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/lock":{"post":{"operationId":"lockDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/unlock":{"post":{"operationId":"unlockDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/files/{path}":{"put":{"operationId":"uploadDeployFile","tags":["file"],"consumes":["application/octet-stream"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"path","type":"string","in":"path","required":true},{"name":"size","type":"integer","in":"query"},{"name":"file_body","in":"body","schema":{"type":"string","format":"binary"},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/functions/{name}":{"put":{"operationId":"uploadDeployFunction","tags":["function"],"consumes":["application/octet-stream"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"name","type":"string","in":"path","required":true},{"name":"runtime","type":"string","in":"query"},{"name":"size","type":"integer","in":"query"},{"name":"file_body","in":"body","schema":{"type":"string","format":"binary"},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sha":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/plugin_runs":{"post":{"operationId":"createPluginRun","tags":["x-internal"],"description":"This is an internal-only endpoint.","parameters":[{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"plugin_run","in":"body","schema":{"type":"object","properties":{"package":{"type":"string"},"version":{"type":"string"},"state":{"type":"string"},"reporting_event":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"text":{"type":"string"}}}}],"responses":{"201":{"description":"CREATED","schema":{"allOf":[{"type":"object","properties":{"package":{"type":"string"},"version":{"type":"string"},"state":{"type":"string"},"reporting_event":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"text":{"type":"string"}}},{"type":"object","properties":{"deploy_id":{"type":"string"}}}]}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/forms":{"get":{"operationId":"listForms","tags":["form"],"parameters":[{"name":"site_id","in":"query","type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}},"submission_count":{"type":"integer","format":"int32"},"fields":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/forms/{form_id}/submissions":{"get":{"operationId":"listFormSubmissions","tags":["submission"],"parameters":[{"name":"form_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/hooks":{"get":{"operationId":"listHooksBySiteId","tags":["hook"],"parameters":[{"name":"site_id","in":"query","type":"string","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createHookBySiteId","tags":["hook"],"consumes":["application/json"],"parameters":[{"name":"site_id","type":"string","in":"query","required":true},{"name":"hook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}},"required":true}],"responses":{"201":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/hooks/{hook_id}":{"parameters":[{"name":"hook_id","type":"string","in":"path","required":true}],"get":{"operationId":"getHook","tags":["hook"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateHook","tags":["hook"],"parameters":[{"name":"hook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteHook","tags":["hook"],"responses":{"204":{"description":"No content"}}}},"/hooks/{hook_id}/enable":{"parameters":[{"name":"hook_id","type":"string","in":"path","required":true}],"post":{"operationId":"enableHook","tags":["hook"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/hooks/types":{"get":{"operationId":"listHookTypes","tags":["hookType"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"fields":{"type":"array","items":{"type":"object"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/oauth/tickets":{"post":{"operationId":"createTicket","tags":["ticket"],"parameters":[{"name":"client_id","type":"string","in":"query","required":true}],"responses":{"201":{"description":"ok","schema":{"type":"object","properties":{"id":{"type":"string"},"client_id":{"type":"string"},"authorized":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/oauth/tickets/{ticket_id}":{"get":{"operationId":"showTicket","tags":["ticket"],"parameters":[{"name":"ticket_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"ok","schema":{"type":"object","properties":{"id":{"type":"string"},"client_id":{"type":"string"},"authorized":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/oauth/tickets/{ticket_id}/exchange":{"post":{"operationId":"exchangeTicket","tags":["accessToken"],"parameters":[{"name":"ticket_id","type":"string","in":"path","required":true}],"responses":{"201":{"description":"ok","schema":{"type":"object","properties":{"id":{"type":"string"},"access_token":{"type":"string"},"user_id":{"type":"string"},"user_email":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploy_keys":{"get":{"operationId":"listDeployKeys","tags":["deployKey"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createDeployKey","tags":["deployKey"],"consumes":["application/json"],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploy_keys/{key_id}":{"parameters":[{"name":"key_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDeployKey","tags":["deployKey"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteDeployKey","tags":["deployKey"],"responses":{"204":{"description":"Not Content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/{account_slug}/sites":{"post":{"operationId":"createSiteInTeam","tags":["site"],"consumes":["application/json"],"parameters":[{"name":"site","in":"body","schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}}}}]}},{"name":"configure_dns","type":"boolean","in":"query"},{"name":"account_slug","in":"path","type":"string","required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"listSitesForAccount","tags":["site"],"parameters":[{"name":"name","in":"query","type":"string"},{"name":"account_slug","in":"path","type":"string","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/{account_slug}/members":{"parameters":[{"name":"account_slug","in":"path","type":"string","required":true}],"get":{"operationId":"listMembersForAccount","tags":["member"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"},"role":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"addMemberToAccount","tags":["member"],"parameters":[{"name":"role","in":"query","type":"string","enum":["Owner","Collaborator","Controller"]},{"name":"email","in":"query","type":"string","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"},"role":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/billing/payment_methods":{"get":{"operationId":"listPaymentMethodsForUser","tags":["paymentMethod"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"method_name":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"data":{"type":"object","properties":{"card_type":{"type":"string"},"last4":{"type":"string"},"email":{"type":"string"}}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts/types":{"get":{"operationId":"listAccountTypesForUser","tags":["accountType"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"capabilities":{"type":"object"},"monthly_dollar_price":{"type":"integer"},"yearly_dollar_price":{"type":"integer"},"monthly_seats_addon_dollar_price":{"type":"integer"},"yearly_seats_addon_dollar_price":{"type":"integer"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts":{"get":{"operationId":"listAccountsForUser","tags":["accountMembership"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createAccount","tags":["accountMembership"],"parameters":[{"name":"accountSetup","in":"body","schema":{"type":"object","required":["name","type_id"],"properties":{"name":{"type":"string"},"type_id":{"type":"string"},"payment_method_id":{"type":"string"},"period":{"type":"string","enum":["monthly","yearly"]},"extra_seats_block":{"type":"integer"}}},"required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts/{account_id}":{"parameters":[{"name":"account_id","type":"string","in":"path","required":true}],"get":{"operationId":"getAccount","tags":["accountMembership"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateAccount","tags":["accountMembership"],"parameters":[{"name":"accountUpdateSetup","in":"body","schema":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"type_id":{"type":"string"},"extra_seats_block":{"type":"integer"},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"}}}}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"cancelAccount","tags":["accountMembership"],"responses":{"204":{"description":"Not Content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts/{account_id}/audit":{"parameters":[{"name":"account_id","type":"string","in":"path","required":true}],"get":{"operationId":"listAccountAuditEvents","tags":["auditLog"],"parameters":[{"name":"query","type":"string","in":"query"},{"name":"log_type","type":"string","in":"query"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"account_id":{"type":"string"},"payload":{"type":"object","properties":{"actor_id":{"type":"string"},"actor_name":{"type":"string"},"actor_email":{"type":"string"},"action":{"type":"string"},"timestamp":{"type":"string","format":"dateTime"},"log_type":{"type":"string"}},"additionalProperties":{"type":"object"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/submissions/{submission_id}":{"parameters":[{"name":"submission_id","type":"string","in":"path","required":true}],"get":{"operationId":"listFormSubmission","tags":["submission"],"parameters":[{"name":"query","type":"string","in":"query"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSubmission","tags":["submission"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/services/{addon}/instances":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"addon","type":"string","in":"path","required":true}],"post":{"operationId":"createServiceInstance","tags":["serviceInstance"],"consumes":["application/json"],"parameters":[{"name":"config","in":"body","required":true,"schema":{"type":"object"}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"showServiceInstance","tags":["serviceInstance"],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateServiceInstance","tags":["serviceInstance"],"consumes":["application/json"],"parameters":[{"name":"config","in":"body","required":true,"schema":{"type":"object"}}],"responses":{"204":{"description":"Created"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteServiceInstance","tags":["serviceInstance"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/services/":{"parameters":[{"name":"search","type":"string","in":"query"}],"get":{"operationId":"getServices","tags":["service"],"responses":{"200":{"description":"services","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"service_path":{"type":"string"},"long_description":{"type":"string"},"description":{"type":"string"},"events":{"type":"array","items":{"type":"object"}},"tags":{"type":"array","items":{"type":"string"}},"icon":{"type":"string"},"manifest_url":{"type":"string"},"environments":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/services/{addonName}":{"parameters":[{"name":"addonName","type":"string","in":"path","required":true}],"get":{"operationId":"showService","tags":["service"],"responses":{"200":{"description":"services","schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/services/{addonName}/manifest":{"parameters":[{"name":"addonName","type":"string","in":"path","required":true}],"get":{"operationId":"showServiceManifest","tags":["service"],"responses":{"201":{"description":"retrieving from provider","schema":{"type":"object"}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/user":{"get":{"operationId":"getCurrentUser","tags":["user"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"uid":{"type":"string"},"full_name":{"type":"string"},"avatar_url":{"type":"string"},"email":{"type":"string"},"affiliate_id":{"type":"string"},"site_count":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"last_login":{"type":"string","format":"dateTime"},"login_providers":{"type":"array","items":{"type":"string"}},"onboarding_progress":{"type":"object","properties":{"slides":{"type":"string"}}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/traffic_splits":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"post":{"operationId":"createSplitTest","tags":["splitTest"],"consumes":["application/json"],"parameters":[{"name":"branch_tests","in":"body","required":true,"schema":{"type":"object","properties":{"branch_tests":{"type":"object"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"getSplitTests","tags":["splitTest"],"responses":{"200":{"description":"split_tests","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/traffic_splits/{split_test_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"split_test_id","type":"string","in":"path","required":true}],"put":{"operationId":"updateSplitTest","tags":["splitTest"],"consumes":["application/json"],"parameters":[{"name":"branch_tests","in":"body","required":true,"schema":{"type":"object","properties":{"branch_tests":{"type":"object"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"getSplitTest","tags":["splitTest"],"responses":{"200":{"description":"split_test","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/traffic_splits/{split_test_id}/publish":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"split_test_id","type":"string","in":"path","required":true}],"post":{"operationId":"enableSplitTest","tags":["splitTest"],"responses":{"204":{"description":"enable"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/traffic_splits/{split_test_id}/unpublish":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"split_test_id","type":"string","in":"path","required":true}],"post":{"operationId":"disableSplitTest","tags":["splitTest"],"responses":{"204":{"description":"disabled"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones":{"post":{"operationId":"createDnsZone","tags":["dnsZone"],"consumes":["application/json"],"parameters":[{"name":"DnsZoneParams","in":"body","required":true,"schema":{"type":"object","properties":{"account_slug":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"getDnsZones","tags":["dnsZone"],"parameters":[{"name":"account_slug","in":"query","type":"string","required":false}],"responses":{"200":{"description":"get all DNS zones the user has access to","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones/{zone_id}":{"parameters":[{"name":"zone_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDnsZone","tags":["dnsZone"],"responses":{"200":{"description":"get a single DNS zone","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteDnsZone","tags":["dnsZone"],"responses":{"204":{"description":"delete a single DNS zone"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones/{zone_id}/transfer":{"parameters":[{"name":"zone_id","type":"string","in":"path","required":true},{"name":"account_id","type":"string","in":"query","description":"the account of the dns zone","required":true},{"name":"transfer_account_id","type":"string","in":"query","description":"the account you want to transfer the dns zone to","required":true},{"name":"transfer_user_id","type":"string","in":"query","description":"the user you want to transfer the dns zone to","required":true}],"put":{"operationId":"transferDnsZone","tags":["dnsZone"],"responses":{"200":{"description":"transfer a DNS zone to another account","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones/{zone_id}/dns_records":{"parameters":[{"name":"zone_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDnsRecords","tags":["dnsZone"],"responses":{"200":{"description":"get all DNS records for a single DNS zone","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createDnsRecord","tags":["dnsZone"],"consumes":["application/json"],"parameters":[{"name":"dns_record","in":"body","required":true,"schema":{"type":"object","properties":{"type":{"type":"string"},"hostname":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"weight":{"type":"integer","format":"int64"},"port":{"type":"integer","format":"int64"},"flag":{"type":"integer","format":"int64"},"tag":{"type":"string"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones/{zone_id}/dns_records/{dns_record_id}":{"parameters":[{"name":"zone_id","type":"string","in":"path","required":true},{"name":"dns_record_id","type":"string","in":"path","required":true}],"get":{"operationId":"getIndividualDnsRecord","tags":["dnsZone"],"responses":{"200":{"description":"get a single DNS record","schema":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteDnsRecord","tags":["dnsZone"],"responses":{"204":{"description":"record deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}}},"definitions":{"splitTestSetup":{"type":"object","properties":{"branch_tests":{"type":"object"}}},"splitTests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"splitTest":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}},"serviceInstance":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"service":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"service_path":{"type":"string"},"long_description":{"type":"string"},"description":{"type":"string"},"events":{"type":"array","items":{"type":"object"}},"tags":{"type":"array","items":{"type":"string"}},"icon":{"type":"string"},"manifest_url":{"type":"string"},"environments":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"site":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},"siteSetup":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}}}}]},"repoInfo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"submission":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}},"form":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}},"submission_count":{"type":"integer","format":"int32"},"fields":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"dateTime"}}},"hookType":{"type":"object","properties":{"name":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"fields":{"type":"array","items":{"type":"object"}}}},"hook":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}},"file":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}},"function":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sha":{"type":"string"}}},"snippet":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}},"deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"deployFiles":{"type":"object","properties":{"files":{"type":"object"},"draft":{"type":"boolean"},"async":{"type":"boolean"},"functions":{"type":"object"},"branch":{"type":"string"}}},"build":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"buildLogMsg":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"boolean"}}},"pluginRunData":{"type":"object","properties":{"package":{"type":"string"},"version":{"type":"string"},"state":{"type":"string"},"reporting_event":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"text":{"type":"string"}}},"pluginRun":{"allOf":[{"type":"object","properties":{"package":{"type":"string"},"version":{"type":"string"},"state":{"type":"string"},"reporting_event":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"text":{"type":"string"}}},{"type":"object","properties":{"deploy_id":{"type":"string"}}}]},"metadata":{"type":"object"},"dnsZoneSetup":{"type":"object","properties":{"account_slug":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"}}},"dnsZones":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}},"dnsZone":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}},"dnsRecordCreate":{"type":"object","properties":{"type":{"type":"string"},"hostname":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"weight":{"type":"integer","format":"int64"},"port":{"type":"integer","format":"int64"},"flag":{"type":"integer","format":"int64"},"tag":{"type":"string"}}},"dnsRecords":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dnsRecord":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}},"sniCertificate":{"type":"object","properties":{"state":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"expires_at":{"type":"string","format":"dateTime"}}},"ticket":{"type":"object","properties":{"id":{"type":"string"},"client_id":{"type":"string"},"authorized":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"}}},"accessToken":{"type":"object","properties":{"id":{"type":"string"},"access_token":{"type":"string"},"user_id":{"type":"string"},"user_email":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"asset":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"assetForm":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"assetSignature":{"type":"object","properties":{"form":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"asset":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"assetPublicSignature":{"type":"object","properties":{"url":{"type":"string"}}},"deployKey":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"member":{"type":"object","properties":{"id":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"},"role":{"type":"string"}}},"paymentMethod":{"type":"object","properties":{"id":{"type":"string"},"method_name":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"data":{"type":"object","properties":{"card_type":{"type":"string"},"last4":{"type":"string"},"email":{"type":"string"}}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"accountType":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"capabilities":{"type":"object"},"monthly_dollar_price":{"type":"integer"},"yearly_dollar_price":{"type":"integer"},"monthly_seats_addon_dollar_price":{"type":"integer"},"yearly_seats_addon_dollar_price":{"type":"integer"}}},"accountSetup":{"type":"object","required":["name","type_id"],"properties":{"name":{"type":"string"},"type_id":{"type":"string"},"payment_method_id":{"type":"string"},"period":{"type":"string","enum":["monthly","yearly"]},"extra_seats_block":{"type":"integer"}}},"accountUpdateSetup":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"type_id":{"type":"string"},"extra_seats_block":{"type":"integer"},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"}}},"accountMembership":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"auditLog":{"type":"object","properties":{"id":{"type":"string"},"account_id":{"type":"string"},"payload":{"type":"object","properties":{"actor_id":{"type":"string"},"actor_name":{"type":"string"},"actor_email":{"type":"string"},"action":{"type":"string"},"timestamp":{"type":"string","format":"dateTime"},"log_type":{"type":"string"}},"additionalProperties":{"type":"object"}}}},"accountUsageCapability":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"minifyOptions":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"buildHook":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"deployedBranch":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"}}},"user":{"type":"object","properties":{"id":{"type":"string"},"uid":{"type":"string"},"full_name":{"type":"string"},"avatar_url":{"type":"string"},"email":{"type":"string"},"affiliate_id":{"type":"string"},"site_count":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"last_login":{"type":"string","format":"dateTime"},"login_providers":{"type":"array","items":{"type":"string"}},"onboarding_progress":{"type":"object","properties":{"slides":{"type":"string"}}}}},"error":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}},"x-tagGroups":[{"name":"OAuth","tags":["ticket","accessToken"]},{"name":"User accounts","tags":["user","accountMembership","member","accountType","paymentMethod","auditLog"]},{"name":"Site","tags":["site","file","metadata","snippet"]},{"name":"Domain names","tags":["dnsZone","sniCertificate"]},{"name":"Deploys","tags":["deploy","deployedBranch","deployKey"]},{"name":"Builds","tags":["build","buildLogMsg"]},{"name":"Webhooks and notifications","tags":["hook","hookType","buildHook"]},{"name":"Services","tags":["service","serviceInstance"]},{"name":"Functions","tags":["function"]},{"name":"Forms","tags":["form","submission"]},{"name":"Split tests","tags":["splitTest"]},{"name":"Large media","tags":["asset","assetPublicSignature"]}],"tags":[{"name":"ticket","x-displayName":"Ticket"},{"name":"accessToken","x-displayName":"Access token"},{"name":"user","x-displayName":"User"},{"name":"accountMembership","x-displayName":"Accounts"},{"name":"member","x-displayName":"Member"},{"name":"accountType","x-displayName":"Access type"},{"name":"paymentMethod","x-displayName":"Payment method"},{"name":"auditLog","x-displayName":"Audit log"},{"name":"site","x-displayName":"Site"},{"name":"file","x-displayName":"File"},{"name":"metadata","x-displayName":"Metadata"},{"name":"snippet","x-displayName":"Snippet"},{"name":"dnsZone","x-displayName":"DNS zone"},{"name":"sniCertificate","x-displayName":"SNI certificate"},{"name":"deploy","x-displayName":"Deploy"},{"name":"deployedBranch","x-displayName":"Deployed branch"},{"name":"deployKey","x-displayName":"Deploy key"},{"name":"build","x-displayName":"Build"},{"name":"buildLogMsg","x-displayName":"Build log message"},{"name":"hook","x-displayName":"Hook"},{"name":"hookType","x-displayName":"Hook type"},{"name":"buildHook","x-displayName":"Build hook"},{"name":"service","x-displayName":"Service"},{"name":"serviceInstance","x-displayName":"Service instance"},{"name":"function","x-displayName":"Function"},{"name":"form","x-displayName":"Form"},{"name":"submission","x-displayName":"Form submission"},{"name":"splitTest","x-displayName":"Split test"},{"name":"asset","x-displayName":"Asset"},{"name":"assetPublicSignature","x-displayName":"Asset public signature"}]}')},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}},function(e,t,r){var i=r(8);e.exports=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}},function(e,t,r){"use strict";var i=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==i)return i;throw new Error("unable to locate global object")}();e.exports=t=i.fetch,t.default=i.fetch.bind(i),t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response},function(e,t,r){"use strict";var i=r(0),s=i(r(3)),n=i(r(12)),p=i(r(5)),a=r(7).paths,o=r(32).omit,y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[].concat((0,p.default)(e),(0,p.default)(t));return r.reduce(d,{path:{},query:{},body:{}})},d=function(e,t){return Object.assign({},e,(0,s.default)({},t.in,Object.assign({},e[t.in],(0,s.default)({},t.name,t))))};e.exports={getOperations:function(){var e;return(e=[]).concat.apply(e,(0,p.default)(Object.entries(a).map((function(e){var t=(0,n.default)(e,2),r=t[0],i=t[1],s=o(i,["parameters"]);return Object.entries(s).map((function(e){var t=(0,n.default)(e,2),s=t[0],p=t[1],a=y(i.parameters,p.parameters);return Object.assign({},p,{verb:s,path:r,parameters:a})}))}))))}}},function(e,t,r){var i=r(29),s=r(30),n=r(9),p=r(31);e.exports=function(e,t){return i(e)||s(e,t)||n(e,t)||p()}},function(e,t,r){"use strict";var i=String.prototype.replace,s=/%20/g,n=r(6),p={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=n.assign({default:p.RFC3986,formatters:{RFC1738:function(e){return i.call(e,s,"+")},RFC3986:function(e){return String(e)}}},p)},function(e,t,r){"use strict";var i=r(0),s=i(r(1)),n=i(r(2)),p=i(r(16)),a=i(r(17)),o=i(r(18)),y=r(7),d=r(19),l=r(20),g=r(21),c=r(24),u=r(25).addMethods,m=r(11).getOperations,f=function(){function e(t,r){(0,a.default)(this,e),u(this),"object"===(0,p.default)(t)&&(r=t,t=null),r=Object.assign({userAgent:"netlify/js-client",scheme:y.schemes[0],host:y.host,pathPrefix:y.basePath,accessToken:t,globalParams:{}},r),this.defaultHeaders={"User-agent":r.userAgent,accept:"application/json"},this.scheme=r.scheme,this.host=r.host,this.pathPrefix=r.pathPrefix,this.globalParams=r.globalParams,this.accessToken=r.accessToken,this.agent=r.agent}var t,r;return(0,o.default)(e,[{key:"getAccessToken",value:(r=(0,n.default)(s.default.mark((function e(t,r){var i,p,a,o,y;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object.assign({poll:1e3,timeout:36e5},r),i=this,p=t.id,o=function(){var e=(0,n.default)(s.default.mark((function e(){var t;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.showTicket({ticketId:p});case 2:return(t=e.sent).authorized&&(a=t),e.abrupt("return",!!t.authorized);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=6,g(o,{interval:r.poll,timeout:r.timeout,message:"Timeout while waiting for ticket grant"});case 6:return e.next=8,i.exchangeTicket({ticketId:a.id});case 8:return y=e.sent,this.accessToken=y.access_token,e.abrupt("return",y.access_token);case 11:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"deploy",value:(t=(0,n.default)(s.default.mark((function e(t,r,i){return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.accessToken){e.next=2;break}throw new Error("Missing access token");case 2:return e.next=4,c(this,t,r,i);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e,r,i){return t.apply(this,arguments)})},{key:"accessToken",get:function(){return(d(this,"defaultHeaders.Authorization")||"").replace("Bearer ","")||null},set:function(e){e?l(this,"defaultHeaders.Authorization","Bearer "+e):delete this.defaultHeaders.Authorization}},{key:"basePath",get:function(){return"".concat(this.scheme,"://").concat(this.host).concat(this.pathPrefix)}}]),e}();e.exports=f,e.exports.methods=m()},function(e,t,r){var i=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",n=i.asyncIterator||"@@asyncIterator",p=i.toStringTag||"@@toStringTag";function a(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,r){return e[t]=r}}function o(e,t,r,i){var s=t&&t.prototype instanceof l?t:l,n=Object.create(s.prototype),p=new T(i||[]);return n._invoke=function(e,t,r){var i="suspendedStart";return function(s,n){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===s)throw n;return k()}for(r.method=s,r.arg=n;;){var p=r.delegate;if(p){var a=j(p,r);if(a){if(a===d)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var o=y(e,t,r);if("normal"===o.type){if(i=r.done?"completed":"suspendedYield",o.arg===d)continue;return{value:o.arg,done:r.done}}"throw"===o.type&&(i="completed",r.method="throw",r.arg=o.arg)}}}(e,r,p),n}function y(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=o;var d={};function l(){}function g(){}function c(){}var u={};u[s]=function(){return this};var m=Object.getPrototypeOf,f=m&&m(m(w([])));f&&f!==t&&r.call(f,s)&&(u=f);var _=c.prototype=l.prototype=Object.create(u);function b(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function h(e,t){var i;this._invoke=function(s,n){function p(){return new t((function(i,p){!function i(s,n,p,a){var o=y(e[s],e,n);if("throw"!==o.type){var d=o.arg,l=d.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){i("next",e,p,a)}),(function(e){i("throw",e,p,a)})):t.resolve(l).then((function(e){d.value=e,p(d)}),(function(e){return i("throw",e,p,a)}))}a(o.arg)}(s,n,i,p)}))}return i=i?i.then(p,p):p()}}function j(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=y(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var s=i.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function w(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(r.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:k}}function k(){return{value:void 0,done:!0}}return g.prototype=_.constructor=c,c.constructor=g,g.displayName=a(c,p,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,a(e,p,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},b(h.prototype),h.prototype[n]=function(){return this},e.AsyncIterator=h,e.async=function(t,r,i,s,n){void 0===n&&(n=Promise);var p=new h(o(t,r,i,s),n);return e.isGeneratorFunction(r)?p:p.next().then((function(e){return e.done?e.value:p.next()}))},b(_),a(_,p,"Generator"),_[s]=function(){return this},_.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var i=t.pop();if(i in e)return r.value=i,r.done=!1,r}return r.done=!0,r}},e.values=w,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(r,i){return p.type="throw",p.arg=e,t.next=r,i&&(t.method="next",t.arg=void 0),!!i}for(var s=this.tryEntries.length-1;s>=0;--s){var n=this.tryEntries[s],p=n.completion;if("root"===n.tryLoc)return i("end");if(n.tryLoc<=this.prev){var a=r.call(n,"catchLoc"),o=r.call(n,"finallyLoc");if(a&&o){if(this.prev<n.catchLoc)return i(n.catchLoc,!0);if(this.prev<n.finallyLoc)return i(n.finallyLoc)}else if(a){if(this.prev<n.catchLoc)return i(n.catchLoc,!0)}else{if(!o)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return i(n.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i];if(s.tryLoc<=this.prev&&r.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var n=s;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var p=n?n.completion:{};return p.type=e,p.arg=t,n?(this.method="next",this.next=n.finallyLoc,d):this.complete(p)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var i=r.completion;if("throw"===i.type){var s=i.arg;x(r)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:w(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}(e.exports);try{regeneratorRuntime=i}catch(e){Function("r","regeneratorRuntime = r")(i)}},function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(e){return typeof e}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(t)}e.exports=r},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}e.exports=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e}},function(e,t,r){(function(t){var r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/,s=/^\./,n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,a=/^\[object .+?Constructor\]$/,o="object"==typeof t&&t&&t.Object===Object&&t,y="object"==typeof self&&self&&self.Object===Object&&self,d=o||y||Function("return this")();var l,g=Array.prototype,c=Function.prototype,u=Object.prototype,m=d["__core-js_shared__"],f=(l=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",_=c.toString,b=u.hasOwnProperty,h=u.toString,j=RegExp("^"+_.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),v=d.Symbol,x=g.splice,T=z(d,"Map"),w=z(Object,"create"),k=v?v.prototype:void 0,q=k?k.toString:void 0;function O(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function S(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function I(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function P(e,t){for(var r,i,s=e.length;s--;)if((r=e[s][0])===(i=t)||r!=r&&i!=i)return s;return-1}function N(e,t){for(var s,n=0,p=(t=function(e,t){if(K(e))return!1;var s=typeof e;if("number"==s||"symbol"==s||"boolean"==s||null==e||H(e))return!0;return i.test(e)||!r.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:K(s=t)?s:D(s)).length;null!=e&&n<p;)e=e[C(t[n++])];return n&&n==p?e:void 0}function E(e){return!(!R(e)||(t=e,f&&f in t))&&(function(e){var t=R(e)?h.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?j:a).test(function(e){if(null!=e){try{return _.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function A(e,t){var r,i,s=e.__data__;return("string"==(i=typeof(r=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?s["string"==typeof t?"string":"hash"]:s.map}function z(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return E(r)?r:void 0}O.prototype.clear=function(){this.__data__=w?w(null):{}},O.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},O.prototype.get=function(e){var t=this.__data__;if(w){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return b.call(t,e)?t[e]:void 0},O.prototype.has=function(e){var t=this.__data__;return w?void 0!==t[e]:b.call(t,e)},O.prototype.set=function(e,t){return this.__data__[e]=w&&void 0===t?"__lodash_hash_undefined__":t,this},S.prototype.clear=function(){this.__data__=[]},S.prototype.delete=function(e){var t=this.__data__,r=P(t,e);return!(r<0)&&(r==t.length-1?t.pop():x.call(t,r,1),!0)},S.prototype.get=function(e){var t=this.__data__,r=P(t,e);return r<0?void 0:t[r][1]},S.prototype.has=function(e){return P(this.__data__,e)>-1},S.prototype.set=function(e,t){var r=this.__data__,i=P(r,e);return i<0?r.push([e,t]):r[i][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new O,map:new(T||S),string:new O}},I.prototype.delete=function(e){return A(this,e).delete(e)},I.prototype.get=function(e){return A(this,e).get(e)},I.prototype.has=function(e){return A(this,e).has(e)},I.prototype.set=function(e,t){return A(this,e).set(e,t),this};var D=L((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(H(e))return q?q.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var r=[];return s.test(e)&&r.push(""),e.replace(n,(function(e,t,i,s){r.push(i?s.replace(p,"$1"):t||e)})),r}));function C(e){if("string"==typeof e||H(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function L(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var i=arguments,s=t?t.apply(this,i):i[0],n=r.cache;if(n.has(s))return n.get(s);var p=e.apply(this,i);return r.cache=n.set(s,p),p};return r.cache=new(L.Cache||I),r}L.Cache=I;var K=Array.isArray;function R(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function H(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}e.exports=function(e,t,r){var i=null==e?void 0:N(e,t);return void 0===i?r:i}}).call(this,r(4))},function(e,t,r){(function(t){var r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/,s=/^\./,n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,a=/^\[object .+?Constructor\]$/,o=/^(?:0|[1-9]\d*)$/,y="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,l=y||d||Function("return this")();var g,c=Array.prototype,u=Function.prototype,m=Object.prototype,f=l["__core-js_shared__"],_=(g=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",b=u.toString,h=m.hasOwnProperty,j=m.toString,v=RegExp("^"+b.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=l.Symbol,T=c.splice,w=C(l,"Map"),k=C(Object,"create"),q=x?x.prototype:void 0,O=q?q.toString:void 0;function S(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function I(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function P(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function N(e,t,r){var i=e[t];h.call(e,t)&&F(i,r)&&(void 0!==r||t in e)||(e[t]=r)}function E(e,t){for(var r=e.length;r--;)if(F(e[r][0],t))return r;return-1}function A(e){return!(!B(e)||(t=e,_&&_ in t))&&(function(e){var t=B(e)?j.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?v:a).test(function(e){if(null!=e){try{return b.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function z(e,t,s,n){if(!B(e))return e;for(var p=-1,a=(t=function(e,t){if(M(e))return!1;var s=typeof e;if("number"==s||"symbol"==s||"boolean"==s||null==e||U(e))return!0;return i.test(e)||!r.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:function(e){return M(e)?e:K(e)}(t)).length,o=a-1,y=e;null!=y&&++p<a;){var d=R(t[p]),l=s;if(p!=o){var g=y[d];void 0===(l=n?n(g,d,y):void 0)&&(l=B(g)?g:L(t[p+1])?[]:{})}N(y,d,l),y=y[d]}return e}function D(e,t){var r,i,s=e.__data__;return("string"==(i=typeof(r=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?s["string"==typeof t?"string":"hash"]:s.map}function C(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return A(r)?r:void 0}function L(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}S.prototype.clear=function(){this.__data__=k?k(null):{}},S.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},S.prototype.get=function(e){var t=this.__data__;if(k){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return h.call(t,e)?t[e]:void 0},S.prototype.has=function(e){var t=this.__data__;return k?void 0!==t[e]:h.call(t,e)},S.prototype.set=function(e,t){return this.__data__[e]=k&&void 0===t?"__lodash_hash_undefined__":t,this},I.prototype.clear=function(){this.__data__=[]},I.prototype.delete=function(e){var t=this.__data__,r=E(t,e);return!(r<0)&&(r==t.length-1?t.pop():T.call(t,r,1),!0)},I.prototype.get=function(e){var t=this.__data__,r=E(t,e);return r<0?void 0:t[r][1]},I.prototype.has=function(e){return E(this.__data__,e)>-1},I.prototype.set=function(e,t){var r=this.__data__,i=E(r,e);return i<0?r.push([e,t]):r[i][1]=t,this},P.prototype.clear=function(){this.__data__={hash:new S,map:new(w||I),string:new S}},P.prototype.delete=function(e){return D(this,e).delete(e)},P.prototype.get=function(e){return D(this,e).get(e)},P.prototype.has=function(e){return D(this,e).has(e)},P.prototype.set=function(e,t){return D(this,e).set(e,t),this};var K=H((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(U(e))return O?O.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var r=[];return s.test(e)&&r.push(""),e.replace(n,(function(e,t,i,s){r.push(i?s.replace(p,"$1"):t||e)})),r}));function R(e){if("string"==typeof e||U(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function H(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var i=arguments,s=t?t.apply(this,i):i[0],n=r.cache;if(n.has(s))return n.get(s);var p=e.apply(this,i);return r.cache=n.set(s,p),p};return r.cache=new(H.Cache||P),r}function F(e,t){return e===t||e!=e&&t!=t}H.Cache=P;var M=Array.isArray;function B(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function U(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==j.call(e)}e.exports=function(e,t,r){return null==e?e:z(e,t,r)}}).call(this,r(4))},function(e,t,r){"use strict";const i=r(22),s=async(e,t)=>{let r;t={interval:20,timeout:1/0,...t};const s=new Promise((i,s)=>{const n=async()=>{try{const s=await e();if("boolean"!=typeof s)throw new TypeError("Expected condition to return a boolean");!0===s?i():r=setTimeout(n,t.interval)}catch(e){s(e)}};n()});if(t.timeout!==1/0)try{return await i(s,t.timeout)}catch(e){throw r&&clearTimeout(r),e}return s};e.exports=s,e.exports.default=s},function(e,t,r){"use strict";const i=r(23);class s extends Error{constructor(e){super(e),this.name="TimeoutError"}}const n=(e,t,r)=>new Promise((n,p)=>{if("number"!=typeof t||t<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void n(e);const a=setTimeout(()=>{if("function"==typeof r){try{n(r())}catch(e){p(e)}return}const i=r instanceof Error?r:new s("string"==typeof r?r:`Promise timed out after ${t} milliseconds`);"function"==typeof e.cancel&&e.cancel(),p(i)},t);i(e.then(n,p),()=>{clearTimeout(a)})});e.exports=n,e.exports.default=n,e.exports.TimeoutError=s},function(e,t,r){"use strict";e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},function(e,t,r){"use strict";e.exports=function(){throw new Error("Deploys not supported in the browser")}},function(e,t,r){"use strict";var i=r(0),s=i(r(1)),n=i(r(2)),p=i(r(3)),a=i(r(5)),o=r(10).default||r(10),y=r(11).getOperations,d=r(34).addBody,l=r(35),g=l.parseResponse,c=l.getFetchError,u=r(38),m=u.shouldRetry,f=u.waitForRetry,_=u.MAX_RETRY,b=r(39).getUrl,h=function(e){var t=y().map((function(t){return j(t,e)}));return Object.assign.apply(Object,[{}].concat((0,a.default)(t)))},j=function(e,t){return(0,p.default)({},e.operationId,(function(r,i){return v(e,t,r,i)}))},v=function(){var e=(0,n.default)(s.default.mark((function e(t,r,i,n){var p,a,o,y;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p=Object.assign({},r.globalParams,i),a=b(t,r,p),e.next=4,q({url:a,method:t,NetlifyApi:r,requestParams:p,opts:n});case 4:return o=e.sent,e.next=7,g(o);case 7:return y=e.sent,e.abrupt("return",y);case 9:case"end":return e.stop()}}),e)})));return function(t,r,i,s){return e.apply(this,arguments)}}(),x=function(e,t,r,i){var s=e.verb,n=e.parameters,p=r.body,a=T(s,i),o=w(t,a),y=d(p,n,o);return k(t,y)},T=function(e,t){return Object.assign({},t,{method:e.toUpperCase()})},w=function(e,t){return Object.assign({},t,{headers:Object.assign({},e.defaultHeaders,t.headers)})},k=function(e,t){return e.agent?Object.assign({},t,{agent:e.agent}):t},q=function(){var e=(0,n.default)(s.default.mark((function e(t){var r,i,n,p,a,o,y,d;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.url,i=t.method,n=t.NetlifyApi,p=t.requestParams,a=t.opts,o=0;case 2:if(!(o<=_)){e.next=16;break}return y=x(i,n,p,a),e.next=6,O(r,y);case 6:if(d=e.sent,!m(d,o)){e.next=12;break}return e.next=10,f(d);case 10:e.next=13;break;case 12:return e.abrupt("return",d);case 13:o++,e.next=2;break;case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=(0,n.default)(s.default.mark((function e(t,r){return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o(t,r);case 3:return e.abrupt("return",e.sent);case 6:throw e.prev=6,e.t0=e.catch(0),c(e.t0,t,r);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,r){return e.apply(this,arguments)}}();e.exports={addMethods:function(e){var t=h(e);Object.assign(e,t)}}},function(e,t,r){var i=r(8);e.exports=function(e){if(Array.isArray(e))return i(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],i=!0,s=!1,n=void 0;try{for(var p,a=e[Symbol.iterator]();!(i=(p=a.next()).done)&&(r.push(p.value),!t||r.length!==t);i=!0);}catch(e){s=!0,n=e}finally{try{i||null==a.return||a.return()}finally{if(s)throw n}}return r}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";var i=r(33);e.exports={omit:function(e,t){return i(e,(function(e){return!t.includes(e)}))}}},function(e,t,r){"use strict";e.exports=(e,t)=>{const r={},i=Array.isArray(t);for(const[s,n]of Object.entries(e))(i?t.includes(s):t(s,n,e))&&(r[s]=n);return r}},function(e,t,r){"use strict";var i=r(0)(r(3));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=function(e){return Object.values(e.body).some(a)},a=function(e){var t=e.schema;return t&&"binary"===t.format};e.exports={addBody:function(e,t,r){if(!e)return r;var i="function"==typeof e?e():e;return p(t)?n(n({},r),{},{body:i,headers:n({"Content-Type":"application/octet-stream"},r.headers)}):n(n({},r),{},{body:JSON.stringify(i),headers:n({"Content-Type":"application/json"},r.headers)})}}},function(e,t,r){"use strict";var i=r(0),s=i(r(1)),n=i(r(2)),p=r(36),a=p.JSONHTTPError,o=p.TextHTTPError,y=function(){var e=(0,n.default)(s.default.mark((function e(t){var r,i,n;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=d(t),e.next=3,t.text();case 3:if(i=e.sent,n=l(t,i,r),t.ok){e.next=8;break}throw new("json"===r?a:o)(t,n);case 8:return e.abrupt("return",n);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(e){var t=e.headers.get("Content-Type");return null!=t&&t.includes("json")?"json":"text"},l=function(e,t,r){if("text"===r)return t;try{return JSON.parse(t)}catch(r){throw new o(e,t)}};e.exports={parseResponse:y,getFetchError:function(e,t,r){var i=Object.assign({},r);return delete i.Authorization,Object.assign(e,{name:"FetchError",url:t,data:i}),e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONHTTPError=t.TextHTTPError=t.HTTPError=t.getPagination=void 0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},s=function(){function e(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),n=r(37);function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"getPagination",{enumerable:!0,get:function(){return n.getPagination}});var y=t.HTTPError=function(e){function t(e){p(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.statusText));return r.name=r.constructor.name,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(r,r.constructor):r.stack=new Error(e.statusText).stack,r.status=e.status,r}return o(t,e),t}(function(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error)),d=t.TextHTTPError=function(e){function t(e,r){p(this,t);var i=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.data=r,i}return o(t,e),t}(y),l=t.JSONHTTPError=function(e){function t(e,r){p(this,t);var i=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.json=r,i}return o(t,e),t}(y),g=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments[1];p(this,e),this.apiURL=t,this.apiURL.match(/\/[^\/]?/)&&(this._sameOrigin=!0),this.defaultHeaders=r&&r.defaultHeaders||{}}return s(e,[{key:"headers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i({},this.defaultHeaders,{"Content-Type":"application/json"},e)}},{key:"parseJsonResponse",value:function(e){return e.json().then((function(t){if(!e.ok)return Promise.reject(new l(e,t));var r=(0,n.getPagination)(e);return r?{pagination:r,items:t}:t}))}},{key:"request",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=this.headers(r.headers||{});return this._sameOrigin&&(r.credentials=r.credentials||"same-origin"),fetch(this.apiURL+e,i({},r,{headers:s})).then((function(e){var r=e.headers.get("Content-Type");return r&&r.match(/json/)?t.parseJsonResponse(e):e.ok?e.text().then((function(e){})):e.text().then((function(t){return Promise.reject(new d(e,t))}))}))}}]),e}();t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],i=!0,s=!1,n=void 0;try{for(var p,a=e[Symbol.iterator]();!(i=(p=a.next()).done)&&(r.push(p.value),!t||r.length!==t);i=!0);}catch(e){s=!0,n=e}finally{try{!i&&a.return&&a.return()}finally{if(s)throw n}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.getPagination=function(e){var t=e.headers.get("Link"),r={};if(null==t)return null;t=t.split(",");for(var s=e.headers.get("X-Total-Count"),n=0,p=t.length;n<p;n++){var a=t[n].replace(/(^\s*|\s*$)/,"").split(";"),o=i(a,2),y=o[0],d=o[1],l=y.match(/page=(\d+)/),g=l&&parseInt(l[1],10);d.match(/last/)?r.last=g:d.match(/next/)?r.next=g:d.match(/prev/)?r.prev=g:d.match(/first/)&&(r.first=g)}return r.last=Math.max(r.last||0,r.prev&&r.prev+1||0),r.current=r.next?r.next-1:r.last||1,r.total=s?parseInt(s,10):null,r}},function(e,t,r){"use strict";var i=r(0),s=i(r(1)),n=i(r(2)),p=function(){var e=(0,n.default)(s.default.mark((function e(t){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a(t),e.next=3,o(r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),a=function(e){var t=e.headers.get(u);return t?Math.max(Number(t)*l-Date.now(),d):y},o=function(e){return new Promise((function(t){return setTimeout(t,e)}))},y=5e3,d=1e3,l=1e3,g=10,c=429,u="X-RateLimit-Reset";e.exports={shouldRetry:function(e,t){return e.status===c&&t!==g},waitForRetry:p,MAX_RETRY:g}},function(e,t,r){"use strict";var i=r(0),s=i(r(3)),n=i(r(5)),p=i(r(12)),a=r(40),o=r(41),y=function(e,t,r){var i=g(t.path,r,"path variable");return Object.entries(i).reduce(d,e)},d=function(e,t){var r=(0,p.default)(t,2),i=r[0],s=r[1];return e.replace("{".concat(i,"}"),s)},l=function(e,t,r){var i=g(t.query,r,"query variable");return 0===Object.keys(i).length?e:"".concat(e,"?").concat(o.stringify(i))},g=function(e,t,r){var i=Object.values(e).map((function(e){return c(e,t,r)}));return Object.assign.apply(Object,[{}].concat((0,n.default)(i)))},c=function(e,t,r){var i=t[e.name]||t[a(e.name)];if(void 0!==i)return(0,s.default)({},e.name,i);if(e.required)throw new Error("Missing required ".concat(r," '").concat(e.name,"'"))};e.exports={getUrl:function(e,t,r){var i=e.path,s=e.parameters,n="".concat(t.basePath).concat(i),p=y(n,s,r);return l(p,s,r)}}},function(e,t,r){(function(t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="[\\ud800-\\udfff]",p="["+s+"]",a="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",o="\\d+",y="[\\u2700-\\u27bf]",d="[a-z\\xdf-\\xf6\\xf8-\\xff]",l="[^\\ud800-\\udfff"+s+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",g="\\ud83c[\\udffb-\\udfff]",c="[^\\ud800-\\udfff]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",f="[A-Z\\xc0-\\xd6\\xd8-\\xde]",_="(?:"+d+"|"+l+")",b="(?:"+f+"|"+l+")",h="(?:"+a+"|"+g+")"+"?",j="[\\ufe0e\\ufe0f]?"+h+("(?:\\u200d(?:"+[c,u,m].join("|")+")[\\ufe0e\\ufe0f]?"+h+")*"),v="(?:"+[y,u,m].join("|")+")"+j,x="(?:"+[c+a+"?",a,u,m,n].join("|")+")",T=RegExp("['’]","g"),w=RegExp(a,"g"),k=RegExp(g+"(?="+g+")|"+x+j,"g"),q=RegExp([f+"?"+d+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[p,f,"$"].join("|")+")",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[p,f+_,"$"].join("|")+")",f+"?"+_+"+(?:['’](?:d|ll|m|re|s|t|ve))?",f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",o,v].join("|"),"g"),O=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),S=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,I="object"==typeof t&&t&&t.Object===Object&&t,P="object"==typeof self&&self&&self.Object===Object&&self,N=I||P||Function("return this")();var E,A=(E={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==E?void 0:E[e]});function z(e){return O.test(e)}function D(e){return z(e)?function(e){return e.match(k)||[]}(e):function(e){return e.split("")}(e)}var C=Object.prototype.toString,L=N.Symbol,K=L?L.prototype:void 0,R=K?K.toString:void 0;function H(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==C.call(e)}(e))return R?R.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function F(e,t,r){var i=e.length;return r=void 0===r?i:r,!t&&r>=i?e:function(e,t,r){var i=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(r=r>s?s:r)<0&&(r+=s),s=t>r?0:r-t>>>0,t>>>=0;for(var n=Array(s);++i<s;)n[i]=e[i+t];return n}(e,t,r)}function M(e){return null==e?"":H(e)}var B,U=(B=function(e,t,r){return t=t.toLowerCase(),e+(r?$(M(t).toLowerCase()):t)},function(e){return function(e,t,r,i){var s=-1,n=e?e.length:0;for(i&&n&&(r=e[++s]);++s<n;)r=t(r,e[s],s,e);return r}(function(e,t,i){return e=M(e),void 0===(t=i?void 0:t)?function(e){return S.test(e)}(e)?function(e){return e.match(q)||[]}(e):function(e){return e.match(r)||[]}(e):e.match(t)||[]}(function(e){return(e=M(e))&&e.replace(i,A).replace(w,"")}(e).replace(T,"")),B,"")});var Z,$=(Z="toUpperCase",function(e){var t=z(e=M(e))?D(e):void 0,r=t?t[0]:e.charAt(0),i=t?F(t,1).join(""):e.slice(1);return r[Z]()+i});e.exports=U}).call(this,r(4))},function(e,t,r){"use strict";var i=r(42),s=r(43),n=r(13);e.exports={formats:n,parse:s,stringify:i}},function(e,t,r){"use strict";var i=r(6),s=r(13),n=Object.prototype.hasOwnProperty,p={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Array.isArray,o=Array.prototype.push,y=function(e,t){o.apply(e,a(t)?t:[t])},d=Date.prototype.toISOString,l=s.default,g={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:l,formatter:s.formatters[l],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},c=function e(t,r,s,n,p,o,d,l,c,u,m,f,_){var b,h=t;if("function"==typeof d?h=d(r,h):h instanceof Date?h=u(h):"comma"===s&&a(h)&&(h=i.maybeMap(h,(function(e){return e instanceof Date?u(e):e})).join(",")),null===h){if(n)return o&&!f?o(r,g.encoder,_,"key"):r;h=""}if("string"==typeof(b=h)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||i.isBuffer(h))return o?[m(f?r:o(r,g.encoder,_,"key"))+"="+m(o(h,g.encoder,_,"value"))]:[m(r)+"="+m(String(h))];var j,v=[];if(void 0===h)return v;if(a(d))j=d;else{var x=Object.keys(h);j=l?x.sort(l):x}for(var T=0;T<j.length;++T){var w=j[T],k=h[w];if(!p||null!==k){var q=a(h)?"function"==typeof s?s(r,w):r:r+(c?"."+w:"["+w+"]");y(v,e(k,q,s,n,p,o,d,l,c,u,m,f,_))}}return v};e.exports=function(e,t){var r,i=e,o=function(e){if(!e)return g;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||g.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=s.default;if(void 0!==e.format){if(!n.call(s.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var i=s.formatters[r],p=g.filter;return("function"==typeof e.filter||a(e.filter))&&(p=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:g.addQueryPrefix,allowDots:void 0===e.allowDots?g.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:g.charsetSentinel,delimiter:void 0===e.delimiter?g.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:g.encode,encoder:"function"==typeof e.encoder?e.encoder:g.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:g.encodeValuesOnly,filter:p,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:g.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:g.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:g.strictNullHandling}}(t);"function"==typeof o.filter?i=(0,o.filter)("",i):a(o.filter)&&(r=o.filter);var d,l=[];if("object"!=typeof i||null===i)return"";d=t&&t.arrayFormat in p?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var u=p[d];r||(r=Object.keys(i)),o.sort&&r.sort(o.sort);for(var m=0;m<r.length;++m){var f=r[m];o.skipNulls&&null===i[f]||y(l,c(i[f],f,u,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.formatter,o.encodeValuesOnly,o.charset))}var _=l.join(o.delimiter),b=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),_.length>0?b+_:""}},function(e,t,r){"use strict";var i=r(6),s=Object.prototype.hasOwnProperty,n=Array.isArray,p={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},o=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},y=function(e,t,r,i){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,p=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(n),y=a?n.slice(0,a.index):n,d=[];if(y){if(!r.plainObjects&&s.call(Object.prototype,y)&&!r.allowPrototypes)return;d.push(y)}for(var l=0;r.depth>0&&null!==(a=p.exec(n))&&l<r.depth;){if(l+=1,!r.plainObjects&&s.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;d.push(a[1])}return a&&d.push("["+n.slice(a.index)+"]"),function(e,t,r,i){for(var s=i?t:o(t,r),n=e.length-1;n>=0;--n){var p,a=e[n];if("[]"===a&&r.parseArrays)p=[].concat(s);else{p=r.plainObjects?Object.create(null):{};var y="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,d=parseInt(y,10);r.parseArrays||""!==y?!isNaN(d)&&a!==y&&String(d)===y&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(p=[])[d]=s:p[y]=s:p={0:s}}s=p}return s}(d,t,r,i)}};e.exports=function(e,t){var r=function(e){if(!e)return p;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?p.charset:e.charset;return{allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:p.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:p.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:p.comma,decoder:"function"==typeof e.decoder?e.decoder:p.decoder,delimiter:"string"==typeof e.delimiter||i.isRegExp(e.delimiter)?e.delimiter:p.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:p.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:p.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:p.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:p.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var d="string"==typeof e?function(e,t){var r,y={},d=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,g=d.split(t.delimiter,l),c=-1,u=t.charset;if(t.charsetSentinel)for(r=0;r<g.length;++r)0===g[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===g[r]?u="utf-8":"utf8=%26%2310003%3B"===g[r]&&(u="iso-8859-1"),c=r,r=g.length);for(r=0;r<g.length;++r)if(r!==c){var m,f,_=g[r],b=_.indexOf("]="),h=-1===b?_.indexOf("="):b+1;-1===h?(m=t.decoder(_,p.decoder,u,"key"),f=t.strictNullHandling?null:""):(m=t.decoder(_.slice(0,h),p.decoder,u,"key"),f=i.maybeMap(o(_.slice(h+1),t),(function(e){return t.decoder(e,p.decoder,u,"value")}))),f&&t.interpretNumericEntities&&"iso-8859-1"===u&&(f=a(f)),_.indexOf("[]=")>-1&&(f=n(f)?[f]:f),s.call(y,m)?y[m]=i.combine(y[m],f):y[m]=f}return y}(e,r):e,l=r.plainObjects?Object.create(null):{},g=Object.keys(d),c=0;c<g.length;++c){var u=g[c],m=y(u,d[u],r,"string"==typeof e);l=i.merge(l,m,r)}return i.compact(l)}}])}));
2//# sourceMappingURL=main.js.map
\No newline at end of file