@easybits.cloud/mailmask 0.2.0 → 0.2.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.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -15,6 +15,15 @@ interface Domain {
|
|
|
15
15
|
mxConfigured: boolean;
|
|
16
16
|
createdAt: string;
|
|
17
17
|
}
|
|
18
|
+
/** Respuesta de `domains.verify`. */
|
|
19
|
+
interface DomainVerification {
|
|
20
|
+
domain: string;
|
|
21
|
+
verified: boolean;
|
|
22
|
+
dkimVerified: boolean;
|
|
23
|
+
/** true cuando no se pudo consultar a SES: los campos son el último estado conocido. */
|
|
24
|
+
stale?: boolean;
|
|
25
|
+
error?: string;
|
|
26
|
+
}
|
|
18
27
|
interface Alias {
|
|
19
28
|
alias: string;
|
|
20
29
|
domainId: string;
|
|
@@ -174,7 +183,7 @@ declare class DomainsResource {
|
|
|
174
183
|
ok: boolean;
|
|
175
184
|
}>;
|
|
176
185
|
health(id: string): Promise<Record<string, unknown>>;
|
|
177
|
-
verify(id: string): Promise<
|
|
186
|
+
verify(id: string): Promise<DomainVerification>;
|
|
178
187
|
}
|
|
179
188
|
declare class AliasesResource {
|
|
180
189
|
private req;
|
|
@@ -231,4 +240,4 @@ declare class ApiKeysResource {
|
|
|
231
240
|
}>;
|
|
232
241
|
}
|
|
233
242
|
|
|
234
|
-
export { type Alias, type ApiKey, type BulkJob, type BulkJobCreated, type BulkSendInput, type CreateAliasInput, type CreateRuleInput, type Domain, type EmailLog, MailMask, type MailMaskConfig, MailMaskError, type Rule, type SendEmailInput, type SmtpCredential, type SmtpCredentialCreated, type UpdateAliasInput, type UpdateRuleInput };
|
|
243
|
+
export { type Alias, type ApiKey, type BulkJob, type BulkJobCreated, type BulkSendInput, type CreateAliasInput, type CreateRuleInput, type Domain, type DomainVerification, type EmailLog, MailMask, type MailMaskConfig, MailMaskError, type Rule, type SendEmailInput, type SmtpCredential, type SmtpCredentialCreated, type UpdateAliasInput, type UpdateRuleInput };
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,15 @@ interface Domain {
|
|
|
15
15
|
mxConfigured: boolean;
|
|
16
16
|
createdAt: string;
|
|
17
17
|
}
|
|
18
|
+
/** Respuesta de `domains.verify`. */
|
|
19
|
+
interface DomainVerification {
|
|
20
|
+
domain: string;
|
|
21
|
+
verified: boolean;
|
|
22
|
+
dkimVerified: boolean;
|
|
23
|
+
/** true cuando no se pudo consultar a SES: los campos son el último estado conocido. */
|
|
24
|
+
stale?: boolean;
|
|
25
|
+
error?: string;
|
|
26
|
+
}
|
|
18
27
|
interface Alias {
|
|
19
28
|
alias: string;
|
|
20
29
|
domainId: string;
|
|
@@ -174,7 +183,7 @@ declare class DomainsResource {
|
|
|
174
183
|
ok: boolean;
|
|
175
184
|
}>;
|
|
176
185
|
health(id: string): Promise<Record<string, unknown>>;
|
|
177
|
-
verify(id: string): Promise<
|
|
186
|
+
verify(id: string): Promise<DomainVerification>;
|
|
178
187
|
}
|
|
179
188
|
declare class AliasesResource {
|
|
180
189
|
private req;
|
|
@@ -231,4 +240,4 @@ declare class ApiKeysResource {
|
|
|
231
240
|
}>;
|
|
232
241
|
}
|
|
233
242
|
|
|
234
|
-
export { type Alias, type ApiKey, type BulkJob, type BulkJobCreated, type BulkSendInput, type CreateAliasInput, type CreateRuleInput, type Domain, type EmailLog, MailMask, type MailMaskConfig, MailMaskError, type Rule, type SendEmailInput, type SmtpCredential, type SmtpCredentialCreated, type UpdateAliasInput, type UpdateRuleInput };
|
|
243
|
+
export { type Alias, type ApiKey, type BulkJob, type BulkJobCreated, type BulkSendInput, type CreateAliasInput, type CreateRuleInput, type Domain, type DomainVerification, type EmailLog, MailMask, type MailMaskConfig, MailMaskError, type Rule, type SendEmailInput, type SmtpCredential, type SmtpCredentialCreated, type UpdateAliasInput, type UpdateRuleInput };
|