@easybits.cloud/mailmask 0.4.7 → 0.4.9
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/README.md +9 -0
- package/dist/client.d.ts +410 -0
- package/dist/index.cjs +8 -0
- package/dist/index.d.ts +4 -1177
- package/dist/index.js +8 -0
- package/dist/types.d.ts +802 -0
- package/dist/verify.d.ts +12 -0
- package/package.json +6 -3
- package/dist/index.d.cts +0 -1177
package/dist/index.js
CHANGED
|
@@ -125,6 +125,14 @@ var DnsResource = class {
|
|
|
125
125
|
preset(domainId, preset, target, subdomain) {
|
|
126
126
|
return this.req(`/api/domains/${domainId}/dns/preset`, { method: "POST", body: JSON.stringify({ preset, target, subdomain }) });
|
|
127
127
|
}
|
|
128
|
+
/** Vista previa de una plantilla: lo que escribiría y lo que hay hoy, sin tocar nada. */
|
|
129
|
+
presetPreview(domainId, preset, target, subdomain) {
|
|
130
|
+
return this.req(`/api/domains/${domainId}/dns/preset`, { method: "POST", body: JSON.stringify({ preset, target, subdomain, dryRun: true }) });
|
|
131
|
+
}
|
|
132
|
+
/** A dónde apunta el sitio (raíz, www y subdominios), qué plataforma es, qué está mal y si responde por HTTPS. */
|
|
133
|
+
website(domainId) {
|
|
134
|
+
return this.req(`/api/domains/${domainId}/website`);
|
|
135
|
+
}
|
|
128
136
|
};
|
|
129
137
|
var AliasesResource = class {
|
|
130
138
|
constructor(req, raw) {
|