@getlatedev/node 0.2.258 → 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 +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +15 -1
package/dist/index.d.mts
CHANGED
|
@@ -15347,7 +15347,7 @@ 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;
|
|
@@ -15359,6 +15359,16 @@ type GetWhatsAppNumberKycFormResponse = ({
|
|
|
15359
15359
|
label?: string;
|
|
15360
15360
|
value?: string;
|
|
15361
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
|
+
}>;
|
|
15362
15372
|
} | null;
|
|
15363
15373
|
});
|
|
15364
15374
|
type GetWhatsAppNumberKycFormError = (unknown | {
|
|
@@ -15376,6 +15386,10 @@ type SubmitWhatsAppNumberKycData = {
|
|
|
15376
15386
|
* Reuse a prior approved verification for this country (skips document/field collection; places the order immediately).
|
|
15377
15387
|
*/
|
|
15378
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;
|
|
15379
15393
|
/**
|
|
15380
15394
|
* End user's legal first name. Required when the country has an action/ID-verification (Onfido) requirement.
|
|
15381
15395
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -15347,7 +15347,7 @@ 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;
|
|
@@ -15359,6 +15359,16 @@ type GetWhatsAppNumberKycFormResponse = ({
|
|
|
15359
15359
|
label?: string;
|
|
15360
15360
|
value?: string;
|
|
15361
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
|
+
}>;
|
|
15362
15372
|
} | null;
|
|
15363
15373
|
});
|
|
15364
15374
|
type GetWhatsAppNumberKycFormError = (unknown | {
|
|
@@ -15376,6 +15386,10 @@ type SubmitWhatsAppNumberKycData = {
|
|
|
15376
15386
|
* Reuse a prior approved verification for this country (skips document/field collection; places the order immediately).
|
|
15377
15387
|
*/
|
|
15378
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;
|
|
15379
15393
|
/**
|
|
15380
15394
|
* End user's legal first name. Required when the country has an action/ID-verification (Onfido) requirement.
|
|
15381
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.
|
|
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.
|
|
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
|
@@ -15526,7 +15526,7 @@ 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;
|
|
@@ -15538,6 +15538,16 @@ export type GetWhatsAppNumberKycFormResponse = ({
|
|
|
15538
15538
|
label?: string;
|
|
15539
15539
|
value?: string;
|
|
15540
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
|
+
}>;
|
|
15541
15551
|
} | null;
|
|
15542
15552
|
});
|
|
15543
15553
|
|
|
@@ -15557,6 +15567,10 @@ export type SubmitWhatsAppNumberKycData = {
|
|
|
15557
15567
|
* Reuse a prior approved verification for this country (skips document/field collection; places the order immediately).
|
|
15558
15568
|
*/
|
|
15559
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;
|
|
15560
15574
|
/**
|
|
15561
15575
|
* End user's legal first name. Required when the country has an action/ID-verification (Onfido) requirement.
|
|
15562
15576
|
*/
|