@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 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<Record<string, unknown>>;
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<Record<string, unknown>>;
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easybits.cloud/mailmask",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Official SDK for the MailMask email alias/forwarding API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",