@getlatedev/node 0.2.304 → 0.2.306
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -15800,6 +15800,10 @@ type GetWhatsAppNumberKycFormResponse = ({
|
|
|
15800
15800
|
* ISO country the value must be local to
|
|
15801
15801
|
*/
|
|
15802
15802
|
localTo?: (string) | null;
|
|
15803
|
+
/**
|
|
15804
|
+
* When set, the requirement applies ONLY to this end-user type — provide it for that type and OMIT it for the other (e.g. Brazil: "Cartão CNPJ" is business-only, "CPF" and "ID/Passport Copy" are personal-only). Submitting both sets makes the regulator ask whether the number is for personal or business use and stalls the review. Pass `entityType` on POST so the server drops the inapplicable set.
|
|
15805
|
+
*/
|
|
15806
|
+
audience?: ('business' | 'individual') | null;
|
|
15803
15807
|
}>;
|
|
15804
15808
|
/**
|
|
15805
15809
|
* 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.
|
package/dist/index.d.ts
CHANGED
|
@@ -15800,6 +15800,10 @@ type GetWhatsAppNumberKycFormResponse = ({
|
|
|
15800
15800
|
* ISO country the value must be local to
|
|
15801
15801
|
*/
|
|
15802
15802
|
localTo?: (string) | null;
|
|
15803
|
+
/**
|
|
15804
|
+
* When set, the requirement applies ONLY to this end-user type — provide it for that type and OMIT it for the other (e.g. Brazil: "Cartão CNPJ" is business-only, "CPF" and "ID/Passport Copy" are personal-only). Submitting both sets makes the regulator ask whether the number is for personal or business use and stalls the review. Pass `entityType` on POST so the server drops the inapplicable set.
|
|
15805
|
+
*/
|
|
15806
|
+
audience?: ('business' | 'individual') | null;
|
|
15803
15807
|
}>;
|
|
15804
15808
|
/**
|
|
15805
15809
|
* 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.
|
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.306",
|
|
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.306",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1496,7 +1496,7 @@ export const deleteGoogleBusinessReviewReply = <ThrowOnError extends boolean = f
|
|
|
1496
1496
|
* Get pending OAuth data
|
|
1497
1497
|
* Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL.
|
|
1498
1498
|
*
|
|
1499
|
-
* **Scope**: This endpoint is used
|
|
1499
|
+
* **Scope**: This endpoint is used for LinkedIn organizations, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook, Google Business and other platforms pass selection state directly via URL query params on the redirect (`profileId`, `tempToken`, `step`), no pending record is created, so this endpoint will return 404 for those flows. Use the platform-specific selection endpoint instead (e.g. `/v1/connect/whatsapp/select-phone-number`).
|
|
1500
1500
|
*
|
|
1501
1501
|
* Token is one-time use and expires after 10 minutes. No authentication required.
|
|
1502
1502
|
*
|
|
@@ -15986,6 +15986,10 @@ export type GetWhatsAppNumberKycFormResponse = ({
|
|
|
15986
15986
|
* ISO country the value must be local to
|
|
15987
15987
|
*/
|
|
15988
15988
|
localTo?: (string) | null;
|
|
15989
|
+
/**
|
|
15990
|
+
* When set, the requirement applies ONLY to this end-user type — provide it for that type and OMIT it for the other (e.g. Brazil: "Cartão CNPJ" is business-only, "CPF" and "ID/Passport Copy" are personal-only). Submitting both sets makes the regulator ask whether the number is for personal or business use and stalls the review. Pass `entityType` on POST so the server drops the inapplicable set.
|
|
15991
|
+
*/
|
|
15992
|
+
audience?: ('business' | 'individual') | null;
|
|
15989
15993
|
}>;
|
|
15990
15994
|
/**
|
|
15991
15995
|
* 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.
|