@getlatedev/node 0.2.256 → 0.2.258

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
@@ -7592,9 +7592,9 @@ type GetMediaPresignedUrlResponse = ({
7592
7592
  */
7593
7593
  key?: string;
7594
7594
  /**
7595
- * Detected file type based on content type
7595
+ * Seconds until the presigned uploadUrl expires (always 3600)
7596
7596
  */
7597
- type?: 'image' | 'video' | 'document';
7597
+ expiresIn?: number;
7598
7598
  });
7599
7599
  type GetMediaPresignedUrlError = ({
7600
7600
  error?: string;
@@ -15352,6 +15352,13 @@ type GetWhatsAppNumberKycFormResponse = ({
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
+ }>;
15355
15362
  } | null;
15356
15363
  });
15357
15364
  type GetWhatsAppNumberKycFormError = (unknown | {
package/dist/index.d.ts CHANGED
@@ -7592,9 +7592,9 @@ type GetMediaPresignedUrlResponse = ({
7592
7592
  */
7593
7593
  key?: string;
7594
7594
  /**
7595
- * Detected file type based on content type
7595
+ * Seconds until the presigned uploadUrl expires (always 3600)
7596
7596
  */
7597
- type?: 'image' | 'video' | 'document';
7597
+ expiresIn?: number;
7598
7598
  });
7599
7599
  type GetMediaPresignedUrlError = ({
7600
7600
  error?: string;
@@ -15352,6 +15352,13 @@ type GetWhatsAppNumberKycFormResponse = ({
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
+ }>;
15355
15362
  } | null;
15356
15363
  });
15357
15364
  type GetWhatsAppNumberKycFormError = (unknown | {
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.256",
39
+ version: "0.2.258",
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.256",
8
+ version: "0.2.258",
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.256",
3
+ "version": "0.2.258",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -7176,9 +7176,9 @@ export type GetMediaPresignedUrlResponse = ({
7176
7176
  */
7177
7177
  key?: string;
7178
7178
  /**
7179
- * Detected file type based on content type
7179
+ * Seconds until the presigned uploadUrl expires (always 3600)
7180
7180
  */
7181
- type?: 'image' | 'video' | 'document';
7181
+ expiresIn?: number;
7182
7182
  });
7183
7183
 
7184
7184
  export type GetMediaPresignedUrlError = ({
@@ -15531,6 +15531,13 @@ export type GetWhatsAppNumberKycFormResponse = ({
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
+ }>;
15534
15541
  } | null;
15535
15542
  });
15536
15543