@easybits.cloud/mailmask 0.4.0 → 0.4.1
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.cjs +4 -0
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -131,6 +131,10 @@ var AliasesResource = class {
|
|
|
131
131
|
deleteMailbox(domainId, alias) {
|
|
132
132
|
return this.req(`/api/domains/${domainId}/alias/${alias}/mailbox`, { method: "DELETE" });
|
|
133
133
|
}
|
|
134
|
+
/** Genera una contraseña nueva para el buzón. Sólo se devuelve aquí; no se guarda. */
|
|
135
|
+
resetMailboxPassword(domainId, alias) {
|
|
136
|
+
return this.req(`/api/domains/${domainId}/alias/${alias}/mailbox/password`, { method: "POST" });
|
|
137
|
+
}
|
|
134
138
|
update(domainId, alias, input) {
|
|
135
139
|
return this.req(`/api/domains/${domainId}/alias/${alias}`, { method: "PUT", body: JSON.stringify(input) });
|
|
136
140
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -419,6 +419,10 @@ declare class AliasesResource {
|
|
|
419
419
|
deleteMailbox(domainId: string, alias: string): Promise<{
|
|
420
420
|
ok: boolean;
|
|
421
421
|
}>;
|
|
422
|
+
/** Genera una contraseña nueva para el buzón. Sólo se devuelve aquí; no se guarda. */
|
|
423
|
+
resetMailboxPassword(domainId: string, alias: string): Promise<{
|
|
424
|
+
password: string;
|
|
425
|
+
}>;
|
|
422
426
|
update(domainId: string, alias: string, input: UpdateAliasInput): Promise<Alias>;
|
|
423
427
|
delete(domainId: string, alias: string): Promise<{
|
|
424
428
|
ok: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -419,6 +419,10 @@ declare class AliasesResource {
|
|
|
419
419
|
deleteMailbox(domainId: string, alias: string): Promise<{
|
|
420
420
|
ok: boolean;
|
|
421
421
|
}>;
|
|
422
|
+
/** Genera una contraseña nueva para el buzón. Sólo se devuelve aquí; no se guarda. */
|
|
423
|
+
resetMailboxPassword(domainId: string, alias: string): Promise<{
|
|
424
|
+
password: string;
|
|
425
|
+
}>;
|
|
422
426
|
update(domainId: string, alias: string, input: UpdateAliasInput): Promise<Alias>;
|
|
423
427
|
delete(domainId: string, alias: string): Promise<{
|
|
424
428
|
ok: boolean;
|
package/dist/index.js
CHANGED
|
@@ -103,6 +103,10 @@ var AliasesResource = class {
|
|
|
103
103
|
deleteMailbox(domainId, alias) {
|
|
104
104
|
return this.req(`/api/domains/${domainId}/alias/${alias}/mailbox`, { method: "DELETE" });
|
|
105
105
|
}
|
|
106
|
+
/** Genera una contraseña nueva para el buzón. Sólo se devuelve aquí; no se guarda. */
|
|
107
|
+
resetMailboxPassword(domainId, alias) {
|
|
108
|
+
return this.req(`/api/domains/${domainId}/alias/${alias}/mailbox/password`, { method: "POST" });
|
|
109
|
+
}
|
|
106
110
|
update(domainId, alias, input) {
|
|
107
111
|
return this.req(`/api/domains/${domainId}/alias/${alias}`, { method: "PUT", body: JSON.stringify(input) });
|
|
108
112
|
}
|