@getlatedev/node 0.2.931 → 0.2.933

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
@@ -34893,6 +34893,9 @@ type ListLocalServicesLeadsResponse = ({
34893
34893
  */
34894
34894
  contact?: {
34895
34895
  consumerName?: (string) | null;
34896
+ /**
34897
+ * Always null: Google Ads API v25 stopped returning the consumer email on Local Services leads.
34898
+ */
34896
34899
  email?: (string) | null;
34897
34900
  phoneNumber?: (string) | null;
34898
34901
  } | null;
package/dist/index.d.ts CHANGED
@@ -34893,6 +34893,9 @@ type ListLocalServicesLeadsResponse = ({
34893
34893
  */
34894
34894
  contact?: {
34895
34895
  consumerName?: (string) | null;
34896
+ /**
34897
+ * Always null: Google Ads API v25 stopped returning the consumer email on Local Services leads.
34898
+ */
34896
34899
  email?: (string) | null;
34897
34900
  phoneNumber?: (string) | null;
34898
34901
  } | null;
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.931",
39
+ version: "0.2.933",
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.931",
8
+ version: "0.2.933",
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.931",
3
+ "version": "0.2.933",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9697,6 +9697,14 @@ export const generateKeywordHistoricalMetrics = <ThrowOnError extends boolean =
9697
9697
  * an invalid query returns a 400 carrying Google's message (note: selecting `segments.date`
9698
9698
  * requires a finite date filter).
9699
9699
  *
9700
+ * Queries run against Google Ads API **v25**, so write GAQL against the v25 field reference.
9701
+ * One exception is translated for backward compatibility: the legacy `campaign.start_date` /
9702
+ * `campaign.end_date` (removed by Google in v23) are rewritten to `campaign.start_date_time` /
9703
+ * `campaign.end_date_time`, and rows still carry `campaign.startDate` / `campaign.endDate` as
9704
+ * `YYYY-MM-DD`. In WHERE, `=`, `<`, `<=`, `>`, `>=`, `BETWEEN` and `IS [NOT] NULL` against a
9705
+ * `'YYYY-MM-DD'` literal are translated; any other form returns Google's 400. New code should
9706
+ * select the `_date_time` fields directly.
9707
+ *
9700
9708
  */
9701
9709
  export const queryAdInsights = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<QueryAdInsightsData, ThrowOnError>) => {
9702
9710
  return (options?.client ?? client).get<QueryAdInsightsResponse, QueryAdInsightsError, ThrowOnError>({
@@ -35210,6 +35210,9 @@ export type ListLocalServicesLeadsResponse = ({
35210
35210
  */
35211
35211
  contact?: {
35212
35212
  consumerName?: (string) | null;
35213
+ /**
35214
+ * Always null: Google Ads API v25 stopped returning the consumer email on Local Services leads.
35215
+ */
35213
35216
  email?: (string) | null;
35214
35217
  phoneNumber?: (string) | null;
35215
35218
  } | null;