@zernio/node 0.2.273 → 0.2.274
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 +42 -3
- package/dist/index.d.ts +42 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +42 -3
package/dist/index.d.mts
CHANGED
|
@@ -20045,8 +20045,47 @@ type GetLeadFormData = {
|
|
|
20045
20045
|
};
|
|
20046
20046
|
type GetLeadFormResponse = ({
|
|
20047
20047
|
status?: string;
|
|
20048
|
+
/**
|
|
20049
|
+
* Full form config — sufficient to duplicate the form via POST /v1/ads/lead-forms.
|
|
20050
|
+
*/
|
|
20048
20051
|
form?: {
|
|
20049
|
-
|
|
20052
|
+
id?: string;
|
|
20053
|
+
name?: string;
|
|
20054
|
+
/**
|
|
20055
|
+
* ARCHIVED forms can't receive new leads.
|
|
20056
|
+
*/
|
|
20057
|
+
status?: 'ACTIVE' | 'ARCHIVED';
|
|
20058
|
+
locale?: string;
|
|
20059
|
+
created_time?: string;
|
|
20060
|
+
leads_count?: number;
|
|
20061
|
+
privacy_policy_url?: string;
|
|
20062
|
+
follow_up_action_url?: (string) | null;
|
|
20063
|
+
questions?: Array<{
|
|
20064
|
+
key?: string;
|
|
20065
|
+
label?: string;
|
|
20066
|
+
/**
|
|
20067
|
+
* EMAIL, PHONE, FULL_NAME, FIRST_NAME, LAST_NAME, CUSTOM, …
|
|
20068
|
+
*/
|
|
20069
|
+
type?: string;
|
|
20070
|
+
options?: Array<{
|
|
20071
|
+
key?: string;
|
|
20072
|
+
value?: string;
|
|
20073
|
+
}>;
|
|
20074
|
+
inline_context?: string;
|
|
20075
|
+
}>;
|
|
20076
|
+
thank_you_page?: {
|
|
20077
|
+
title?: string;
|
|
20078
|
+
body?: string;
|
|
20079
|
+
button_text?: string;
|
|
20080
|
+
button_type?: string;
|
|
20081
|
+
website_url?: string;
|
|
20082
|
+
} | null;
|
|
20083
|
+
/**
|
|
20084
|
+
* Intro card shown before the form questions (title, content, button label).
|
|
20085
|
+
*/
|
|
20086
|
+
context_card?: {
|
|
20087
|
+
[key: string]: unknown;
|
|
20088
|
+
} | null;
|
|
20050
20089
|
};
|
|
20051
20090
|
});
|
|
20052
20091
|
type GetLeadFormError = ({
|
|
@@ -20162,9 +20201,9 @@ type SearchAdTargetingData = {
|
|
|
20162
20201
|
*/
|
|
20163
20202
|
dimension?: 'geo' | 'interest' | 'behavior' | 'income';
|
|
20164
20203
|
/**
|
|
20165
|
-
* Only used when `dimension=geo`. The kind of location to resolve. Defaults to `city`.
|
|
20204
|
+
* Only used when `dimension=geo`. The kind of location to resolve. `place` resolves named points of interest (businesses, landmarks) by proximity. `neighborhood` resolves named neighbourhood areas. Defaults to `city`.
|
|
20166
20205
|
*/
|
|
20167
|
-
geoType?: 'country' | 'region' | 'city' | 'zip' | '
|
|
20206
|
+
geoType?: 'country' | 'region' | 'city' | 'subcity' | 'neighborhood' | 'place' | 'zip' | 'metro_area' | 'geo_market';
|
|
20168
20207
|
/**
|
|
20169
20208
|
* Maximum results to return.
|
|
20170
20209
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -20045,8 +20045,47 @@ type GetLeadFormData = {
|
|
|
20045
20045
|
};
|
|
20046
20046
|
type GetLeadFormResponse = ({
|
|
20047
20047
|
status?: string;
|
|
20048
|
+
/**
|
|
20049
|
+
* Full form config — sufficient to duplicate the form via POST /v1/ads/lead-forms.
|
|
20050
|
+
*/
|
|
20048
20051
|
form?: {
|
|
20049
|
-
|
|
20052
|
+
id?: string;
|
|
20053
|
+
name?: string;
|
|
20054
|
+
/**
|
|
20055
|
+
* ARCHIVED forms can't receive new leads.
|
|
20056
|
+
*/
|
|
20057
|
+
status?: 'ACTIVE' | 'ARCHIVED';
|
|
20058
|
+
locale?: string;
|
|
20059
|
+
created_time?: string;
|
|
20060
|
+
leads_count?: number;
|
|
20061
|
+
privacy_policy_url?: string;
|
|
20062
|
+
follow_up_action_url?: (string) | null;
|
|
20063
|
+
questions?: Array<{
|
|
20064
|
+
key?: string;
|
|
20065
|
+
label?: string;
|
|
20066
|
+
/**
|
|
20067
|
+
* EMAIL, PHONE, FULL_NAME, FIRST_NAME, LAST_NAME, CUSTOM, …
|
|
20068
|
+
*/
|
|
20069
|
+
type?: string;
|
|
20070
|
+
options?: Array<{
|
|
20071
|
+
key?: string;
|
|
20072
|
+
value?: string;
|
|
20073
|
+
}>;
|
|
20074
|
+
inline_context?: string;
|
|
20075
|
+
}>;
|
|
20076
|
+
thank_you_page?: {
|
|
20077
|
+
title?: string;
|
|
20078
|
+
body?: string;
|
|
20079
|
+
button_text?: string;
|
|
20080
|
+
button_type?: string;
|
|
20081
|
+
website_url?: string;
|
|
20082
|
+
} | null;
|
|
20083
|
+
/**
|
|
20084
|
+
* Intro card shown before the form questions (title, content, button label).
|
|
20085
|
+
*/
|
|
20086
|
+
context_card?: {
|
|
20087
|
+
[key: string]: unknown;
|
|
20088
|
+
} | null;
|
|
20050
20089
|
};
|
|
20051
20090
|
});
|
|
20052
20091
|
type GetLeadFormError = ({
|
|
@@ -20162,9 +20201,9 @@ type SearchAdTargetingData = {
|
|
|
20162
20201
|
*/
|
|
20163
20202
|
dimension?: 'geo' | 'interest' | 'behavior' | 'income';
|
|
20164
20203
|
/**
|
|
20165
|
-
* Only used when `dimension=geo`. The kind of location to resolve. Defaults to `city`.
|
|
20204
|
+
* Only used when `dimension=geo`. The kind of location to resolve. `place` resolves named points of interest (businesses, landmarks) by proximity. `neighborhood` resolves named neighbourhood areas. Defaults to `city`.
|
|
20166
20205
|
*/
|
|
20167
|
-
geoType?: 'country' | 'region' | 'city' | 'zip' | '
|
|
20206
|
+
geoType?: 'country' | 'region' | 'city' | 'subcity' | 'neighborhood' | 'place' | 'zip' | 'metro_area' | 'geo_market';
|
|
20168
20207
|
/**
|
|
20169
20208
|
* Maximum results to return.
|
|
20170
20209
|
*/
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.274",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.274",
|
|
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
|
@@ -20560,8 +20560,47 @@ export type GetLeadFormData = {
|
|
|
20560
20560
|
|
|
20561
20561
|
export type GetLeadFormResponse = ({
|
|
20562
20562
|
status?: string;
|
|
20563
|
+
/**
|
|
20564
|
+
* Full form config — sufficient to duplicate the form via POST /v1/ads/lead-forms.
|
|
20565
|
+
*/
|
|
20563
20566
|
form?: {
|
|
20564
|
-
|
|
20567
|
+
id?: string;
|
|
20568
|
+
name?: string;
|
|
20569
|
+
/**
|
|
20570
|
+
* ARCHIVED forms can't receive new leads.
|
|
20571
|
+
*/
|
|
20572
|
+
status?: 'ACTIVE' | 'ARCHIVED';
|
|
20573
|
+
locale?: string;
|
|
20574
|
+
created_time?: string;
|
|
20575
|
+
leads_count?: number;
|
|
20576
|
+
privacy_policy_url?: string;
|
|
20577
|
+
follow_up_action_url?: (string) | null;
|
|
20578
|
+
questions?: Array<{
|
|
20579
|
+
key?: string;
|
|
20580
|
+
label?: string;
|
|
20581
|
+
/**
|
|
20582
|
+
* EMAIL, PHONE, FULL_NAME, FIRST_NAME, LAST_NAME, CUSTOM, …
|
|
20583
|
+
*/
|
|
20584
|
+
type?: string;
|
|
20585
|
+
options?: Array<{
|
|
20586
|
+
key?: string;
|
|
20587
|
+
value?: string;
|
|
20588
|
+
}>;
|
|
20589
|
+
inline_context?: string;
|
|
20590
|
+
}>;
|
|
20591
|
+
thank_you_page?: {
|
|
20592
|
+
title?: string;
|
|
20593
|
+
body?: string;
|
|
20594
|
+
button_text?: string;
|
|
20595
|
+
button_type?: string;
|
|
20596
|
+
website_url?: string;
|
|
20597
|
+
} | null;
|
|
20598
|
+
/**
|
|
20599
|
+
* Intro card shown before the form questions (title, content, button label).
|
|
20600
|
+
*/
|
|
20601
|
+
context_card?: {
|
|
20602
|
+
[key: string]: unknown;
|
|
20603
|
+
} | null;
|
|
20565
20604
|
};
|
|
20566
20605
|
});
|
|
20567
20606
|
|
|
@@ -20691,9 +20730,9 @@ export type SearchAdTargetingData = {
|
|
|
20691
20730
|
*/
|
|
20692
20731
|
dimension?: 'geo' | 'interest' | 'behavior' | 'income';
|
|
20693
20732
|
/**
|
|
20694
|
-
* Only used when `dimension=geo`. The kind of location to resolve. Defaults to `city`.
|
|
20733
|
+
* Only used when `dimension=geo`. The kind of location to resolve. `place` resolves named points of interest (businesses, landmarks) by proximity. `neighborhood` resolves named neighbourhood areas. Defaults to `city`.
|
|
20695
20734
|
*/
|
|
20696
|
-
geoType?: 'country' | 'region' | 'city' | 'zip' | '
|
|
20735
|
+
geoType?: 'country' | 'region' | 'city' | 'subcity' | 'neighborhood' | 'place' | 'zip' | 'metro_area' | 'geo_market';
|
|
20697
20736
|
/**
|
|
20698
20737
|
* Maximum results to return.
|
|
20699
20738
|
*/
|