@getlatedev/node 0.2.257 → 0.2.259

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.mts CHANGED
@@ -15347,11 +15347,28 @@ type GetWhatsAppNumberKycFormResponse = ({
15347
15347
  localTo?: (string) | null;
15348
15348
  }>;
15349
15349
  /**
15350
- * Present when this account already has an approved verification for the country that can be reused (skip the form).
15350
+ * Present when this account already has an approved verification for the country that can be reused (skip the form). `fromPhoneNumber`/`details` mirror the newest option; `options` lists ALL approved verifications (agencies hold one per end client) — pass the chosen option's `fromPhoneNumber` as `reuseFrom` on POST.
15351
15351
  */
15352
15352
  reusable?: {
15353
15353
  available?: boolean;
15354
15354
  fromPhoneNumber?: string;
15355
+ /**
15356
+ * Human-readable summary of the verification on file (field labels + values, plus the address as one line). Best-effort — may be empty if the provider lookup fails.
15357
+ */
15358
+ details?: Array<{
15359
+ label?: string;
15360
+ value?: string;
15361
+ }>;
15362
+ /**
15363
+ * One entry per distinct approved verification, newest first.
15364
+ */
15365
+ options?: Array<{
15366
+ fromPhoneNumber?: string;
15367
+ details?: Array<{
15368
+ label?: string;
15369
+ value?: string;
15370
+ }>;
15371
+ }>;
15355
15372
  } | null;
15356
15373
  });
15357
15374
  type GetWhatsAppNumberKycFormError = (unknown | {
@@ -15369,6 +15386,10 @@ type SubmitWhatsAppNumberKycData = {
15369
15386
  * Reuse a prior approved verification for this country (skips document/field collection; places the order immediately).
15370
15387
  */
15371
15388
  reuse?: boolean;
15389
+ /**
15390
+ * Which approved verification to reuse when several exist: the phone number it was originally approved for (GET reusable.options[].fromPhoneNumber). Omitted = newest. No match = 409.
15391
+ */
15392
+ reuseFrom?: string;
15372
15393
  /**
15373
15394
  * End user's legal first name. Required when the country has an action/ID-verification (Onfido) requirement.
15374
15395
  */
package/dist/index.d.ts CHANGED
@@ -15347,11 +15347,28 @@ type GetWhatsAppNumberKycFormResponse = ({
15347
15347
  localTo?: (string) | null;
15348
15348
  }>;
15349
15349
  /**
15350
- * Present when this account already has an approved verification for the country that can be reused (skip the form).
15350
+ * Present when this account already has an approved verification for the country that can be reused (skip the form). `fromPhoneNumber`/`details` mirror the newest option; `options` lists ALL approved verifications (agencies hold one per end client) — pass the chosen option's `fromPhoneNumber` as `reuseFrom` on POST.
15351
15351
  */
15352
15352
  reusable?: {
15353
15353
  available?: boolean;
15354
15354
  fromPhoneNumber?: string;
15355
+ /**
15356
+ * Human-readable summary of the verification on file (field labels + values, plus the address as one line). Best-effort — may be empty if the provider lookup fails.
15357
+ */
15358
+ details?: Array<{
15359
+ label?: string;
15360
+ value?: string;
15361
+ }>;
15362
+ /**
15363
+ * One entry per distinct approved verification, newest first.
15364
+ */
15365
+ options?: Array<{
15366
+ fromPhoneNumber?: string;
15367
+ details?: Array<{
15368
+ label?: string;
15369
+ value?: string;
15370
+ }>;
15371
+ }>;
15355
15372
  } | null;
15356
15373
  });
15357
15374
  type GetWhatsAppNumberKycFormError = (unknown | {
@@ -15369,6 +15386,10 @@ type SubmitWhatsAppNumberKycData = {
15369
15386
  * Reuse a prior approved verification for this country (skips document/field collection; places the order immediately).
15370
15387
  */
15371
15388
  reuse?: boolean;
15389
+ /**
15390
+ * Which approved verification to reuse when several exist: the phone number it was originally approved for (GET reusable.options[].fromPhoneNumber). Omitted = newest. No match = 409.
15391
+ */
15392
+ reuseFrom?: string;
15372
15393
  /**
15373
15394
  * End user's legal first name. Required when the country has an action/ID-verification (Onfido) requirement.
15374
15395
  */
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.257",
39
+ version: "0.2.259",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.257",
8
+ version: "0.2.259",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.257",
3
+ "version": "0.2.259",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -15526,11 +15526,28 @@ export type GetWhatsAppNumberKycFormResponse = ({
15526
15526
  localTo?: (string) | null;
15527
15527
  }>;
15528
15528
  /**
15529
- * Present when this account already has an approved verification for the country that can be reused (skip the form).
15529
+ * Present when this account already has an approved verification for the country that can be reused (skip the form). `fromPhoneNumber`/`details` mirror the newest option; `options` lists ALL approved verifications (agencies hold one per end client) — pass the chosen option's `fromPhoneNumber` as `reuseFrom` on POST.
15530
15530
  */
15531
15531
  reusable?: {
15532
15532
  available?: boolean;
15533
15533
  fromPhoneNumber?: string;
15534
+ /**
15535
+ * Human-readable summary of the verification on file (field labels + values, plus the address as one line). Best-effort — may be empty if the provider lookup fails.
15536
+ */
15537
+ details?: Array<{
15538
+ label?: string;
15539
+ value?: string;
15540
+ }>;
15541
+ /**
15542
+ * One entry per distinct approved verification, newest first.
15543
+ */
15544
+ options?: Array<{
15545
+ fromPhoneNumber?: string;
15546
+ details?: Array<{
15547
+ label?: string;
15548
+ value?: string;
15549
+ }>;
15550
+ }>;
15534
15551
  } | null;
15535
15552
  });
15536
15553
 
@@ -15550,6 +15567,10 @@ export type SubmitWhatsAppNumberKycData = {
15550
15567
  * Reuse a prior approved verification for this country (skips document/field collection; places the order immediately).
15551
15568
  */
15552
15569
  reuse?: boolean;
15570
+ /**
15571
+ * Which approved verification to reuse when several exist: the phone number it was originally approved for (GET reusable.options[].fromPhoneNumber). Omitted = newest. No match = 409.
15572
+ */
15573
+ reuseFrom?: string;
15553
15574
  /**
15554
15575
  * End user's legal first name. Required when the country has an action/ID-verification (Onfido) requirement.
15555
15576
  */