netlify-api 0.6.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -125,6 +125,7 @@ var deleteSite = (variables, signal) => fetch2({
125
125
  });
126
126
  var provisionSiteTLSCertificate = (variables, signal) => fetch2({ url: "/sites/{siteId}/ssl", method: "post", ...variables, signal });
127
127
  var showSiteTLSCertificate = (variables, signal) => fetch2({ url: "/sites/{siteId}/ssl", method: "get", ...variables, signal });
128
+ var getAllCertificates = (variables, signal) => fetch2({ url: "/sites/{siteId}/ssl/certificates", method: "get", ...variables, signal });
128
129
  var getEnvVars = (variables, signal) => fetch2({
129
130
  url: "/accounts/{accountId}/env",
130
131
  method: "get",
@@ -679,7 +680,7 @@ var operationsByTag = {
679
680
  createSiteInTeam,
680
681
  listSitesForAccount
681
682
  },
682
- sniCertificate: { provisionSiteTLSCertificate, showSiteTLSCertificate },
683
+ sniCertificate: { provisionSiteTLSCertificate, showSiteTLSCertificate, getAllCertificates },
683
684
  environmentVariables: {
684
685
  getEnvVars,
685
686
  createEnvVars,