@parseapi/sdk 1.1.0 → 1.2.0

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 CHANGED
@@ -17,7 +17,7 @@ Get a key at [parseapi.com](https://parseapi.com). The client also reads `PARSEA
17
17
 
18
18
  ## API versions
19
19
 
20
- Version 1.1.0 explicitly selects the API contract supported by this SDK. It sends `Parse-Version: 2.0.0` on every lookup so responses match the API contract supported by the package. Your key and the team's saved default stay the same.
20
+ Version 1.2.0 explicitly selects the API contract supported by this SDK. It sends `Parse-Version: 2.0.0` on every lookup so responses match the API contract supported by the package. Your key and the team's saved default stay the same.
21
21
 
22
22
  Upgrade the dependency in staging, review the [release notes](https://parseapi.com/docs/releases), and test the application before deploying the same code and dependency version to production. Commit your dependency lockfile so the tested package travels with your deployment. Future major SDK upgrades can select a newer API contract.
23
23
 
@@ -210,7 +210,7 @@ Choose enrichment for the question you need answered.
210
210
  |---|---|
211
211
  | IP | Richer IP fields included with a paid plan. No separate check meter. |
212
212
  | Domain | Registration dates, registrar, status and DNSSEC, included with a paid plan. Use `dns` for DNS records and `mx` for mail routing. |
213
- | Email | A metered deliverability check, using included email checks or enabled on-demand usage. |
213
+ | Email | A metered mailbox check with deliverability, catch-all, status, reason and address hints, using included email checks or enabled on-demand usage. |
214
214
  | VAT | A metered registry check where supported, using included VAT checks or enabled on-demand usage. |
215
215
  | Phone, Time, Date, Currency, Language, Emoji, IBAN, Point | Optional detail in the same pooled request on every plan. |
216
216
  | Country, State, District, City, Postal | The place profile on paid plans, including demographic and tax facts where held. |
@@ -219,6 +219,10 @@ Choose enrichment for the question you need answered.
219
219
  | Weather | Specialist current measurements and the existing forecast, alert, air and history bag on paid plans. |
220
220
  | Carrier, HLR | Optional diagnostic detail within the same metered core unit, including Free allowance units. No second gate or additional check. |
221
221
 
222
+ Email deep includes mailbox status and the reason for the result, plus a suggested first name, no-reply flag, plus-address tag and mail service. The suggested name is not a verified identity. Unavailable details are null.
223
+
224
+ Reasons include `accepted`, `invalid_format`, `invalid_domain`, `no_mail_server`, `mailbox_not_found`, `mailbox_disabled`, `mailbox_full`, `catchall`, `disposable`, `temporary_failure`, `rejected` and `unconfirmed`.
225
+
222
226
  Carrier, caller, and HLR are separate metered operations. Choose them explicitly when you need their answers. Ordinary lookups retry twice by default. Metered checks use one attempt by default. Setting retries explicitly can repeat paid usage.
223
227
 
224
228
  Without `deep`, the response omits that key. When requested, it is an empty object if access is locked or the operation has no deep fields. Otherwise it contains the available fields. A missing or null field means unknown.
package/dist/index.cjs CHANGED
@@ -24,7 +24,7 @@ __export(index_exports, {
24
24
  parseAPI: () => parseAPI
25
25
  });
26
26
  module.exports = __toCommonJS(index_exports);
27
- var VERSION = "1.1.0";
27
+ var VERSION = "1.2.0";
28
28
  var API_VERSION = "2.0.0";
29
29
  var DEFAULT_BASE_URL = "https://api.parseapi.com";
30
30
  var DEFAULT_TIMEOUT_MS = 1e4;
package/dist/index.d.cts CHANGED
@@ -250,8 +250,19 @@ interface PostalDistance {
250
250
  distance_mi: number;
251
251
  }
252
252
  interface EmailDeep {
253
+ /** Suggested first name. Not a verified identity. */
254
+ first_name?: string | null;
255
+ no_reply?: boolean | null;
256
+ /** Plus-address tag, without the plus sign. */
257
+ tag?: string | null;
258
+ /** Mail service handling the address, such as Google or Microsoft. */
259
+ mail_provider?: string | null;
253
260
  deliverable: boolean | null;
254
261
  catchall: boolean | null;
262
+ /** Mailbox status: deliverable, undeliverable or risky. Null when unavailable. */
263
+ status?: string | null;
264
+ /** Why the address received this result, such as mailbox_full or mailbox_not_found. Null when unavailable. */
265
+ reason?: string | null;
255
266
  }
256
267
  interface Email {
257
268
  email: string;
package/dist/index.d.ts CHANGED
@@ -250,8 +250,19 @@ interface PostalDistance {
250
250
  distance_mi: number;
251
251
  }
252
252
  interface EmailDeep {
253
+ /** Suggested first name. Not a verified identity. */
254
+ first_name?: string | null;
255
+ no_reply?: boolean | null;
256
+ /** Plus-address tag, without the plus sign. */
257
+ tag?: string | null;
258
+ /** Mail service handling the address, such as Google or Microsoft. */
259
+ mail_provider?: string | null;
253
260
  deliverable: boolean | null;
254
261
  catchall: boolean | null;
262
+ /** Mailbox status: deliverable, undeliverable or risky. Null when unavailable. */
263
+ status?: string | null;
264
+ /** Why the address received this result, such as mailbox_full or mailbox_not_found. Null when unavailable. */
265
+ reason?: string | null;
255
266
  }
256
267
  interface Email {
257
268
  email: string;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/index.ts
2
- var VERSION = "1.1.0";
2
+ var VERSION = "1.2.0";
3
3
  var API_VERSION = "2.0.0";
4
4
  var DEFAULT_BASE_URL = "https://api.parseapi.com";
5
5
  var DEFAULT_TIMEOUT_MS = 1e4;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parseapi/sdk",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Official ParseAPI client for Node and TypeScript. One key, minimal JSON, fast.",
5
5
  "keywords": [
6
6
  "parseapi",