@vibiz/app 0.3.22 → 0.3.23

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.ts CHANGED
@@ -538,6 +538,16 @@ export declare class VibizApp {
538
538
  from: string;
539
539
  status: string;
540
540
  }>>;
541
+ /**
542
+ * Whether each mailbox exists, asked of its own mail server (up to 100):
543
+ * `valid`, `invalid` (a send bounces), `catch_all` or `unknown` (never block on it).
544
+ */
545
+ verify: (emails: string[]) => Promise<ActionResult<{
546
+ results: Array<{
547
+ email: string;
548
+ status: "valid" | "invalid" | "catch_all" | "unknown";
549
+ }>;
550
+ }>>;
541
551
  };
542
552
  /**
543
553
  * The project's phone number (docs: phone): text and call from it, read what
package/dist/index.js CHANGED
@@ -305,7 +305,12 @@ var VibizApp = class _VibizApp {
305
305
  }
306
306
  /** Email from the project's own address (needs the `email` resource). */
307
307
  email = {
308
- send: (input) => this.actions.run("email.send", input)
308
+ send: (input) => this.actions.run("email.send", input),
309
+ /**
310
+ * Whether each mailbox exists, asked of its own mail server (up to 100):
311
+ * `valid`, `invalid` (a send bounces), `catch_all` or `unknown` (never block on it).
312
+ */
313
+ verify: (emails) => this.actions.run("email.verify", { emails })
309
314
  };
310
315
  /**
311
316
  * The project's phone number (docs: phone): text and call from it, read what
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibiz/app",
3
- "version": "0.3.22",
3
+ "version": "0.3.23",
4
4
  "description": "One key for your app: env, AI, email, actions and events from thelastapi.",
5
5
  "keywords": [
6
6
  "vibiz",