@getlatedev/node 0.2.1656 → 0.2.1657

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
@@ -1534,9 +1534,9 @@ declare class Zernio {
1534
1534
  createCustomConversionGoal: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateCustomConversionGoalData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateCustomConversionGoalResponse, unknown, ThrowOnError>;
1535
1535
  updateCustomConversionGoal: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateCustomConversionGoalData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateCustomConversionGoalResponse, unknown, ThrowOnError>;
1536
1536
  removeCustomConversionGoal: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RemoveCustomConversionGoalData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RemoveCustomConversionGoalResponse, unknown, ThrowOnError>;
1537
- listEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListEventsResponse, ListEventsError, ThrowOnError>;
1537
+ listEvents: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListEventsResponse, ListEventsError, ThrowOnError>;
1538
1538
  sendEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendEventsResponse, unknown, ThrowOnError>;
1539
- getEventsOverview: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventsOverviewResponse, GetEventsOverviewError, ThrowOnError>;
1539
+ getEventsOverview: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventsOverviewResponse, GetEventsOverviewError, ThrowOnError>;
1540
1540
  getEvent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventResponse, GetEventError, ThrowOnError>;
1541
1541
  restateEvent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RestateEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RestateEventResponse, RestateEventError, ThrowOnError>;
1542
1542
  retractEvent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RetractEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RetractEventResponse, RetractEventError, ThrowOnError>;
@@ -2211,11 +2211,11 @@ declare class Zernio {
2211
2211
  /** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
2212
2212
  removeCustomConversionGoal: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RemoveCustomConversionGoalData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RemoveCustomConversionGoalResponse, unknown, ThrowOnError>;
2213
2213
  /** @deprecated Use `zernio.conversions.listEvents` instead. */
2214
- listEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListEventsResponse, ListEventsError, ThrowOnError>;
2214
+ listEvents: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListEventsResponse, ListEventsError, ThrowOnError>;
2215
2215
  /** @deprecated Use `zernio.conversions.sendEvents` instead. */
2216
2216
  sendEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendEventsResponse, unknown, ThrowOnError>;
2217
2217
  /** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
2218
- getEventsOverview: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventsOverviewResponse, GetEventsOverviewError, ThrowOnError>;
2218
+ getEventsOverview: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventsOverviewResponse, GetEventsOverviewError, ThrowOnError>;
2219
2219
  /** @deprecated Use `zernio.conversions.getEvent` instead. */
2220
2220
  getEvent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventResponse, GetEventError, ThrowOnError>;
2221
2221
  /** @deprecated Use `zernio.conversions.restateEvent` instead. */
@@ -20215,6 +20215,10 @@ type platform16 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' |
20215
20215
  type tiktokAccountType = 'business' | 'personal' | 'unknown';
20216
20216
  type StoredEvent = {
20217
20217
  eventId?: string;
20218
+ /**
20219
+ * The profile the event was stored under.
20220
+ */
20221
+ profileId?: string;
20218
20222
  /**
20219
20223
  * Where the event came from: `api`, `relay`, `web`, `shopify`, `woocommerce`, `hubspot`, `meta_leads`, `google_leads`, `linkedin_leads` or `tiktok_leads`.
20220
20224
  */
@@ -71308,7 +71312,7 @@ type RemoveCustomConversionGoalResponse = ({
71308
71312
  });
71309
71313
  type RemoveCustomConversionGoalError = (ErrorResponse | unknown);
71310
71314
  type ListEventsData = {
71311
- query: {
71315
+ query?: {
71312
71316
  /**
71313
71317
  * `nextCursor` from the previous page.
71314
71318
  */
@@ -71330,7 +71334,10 @@ type ListEventsData = {
71330
71334
  * Only events sent to this ad platform, such as `metaads` or `googleads`.
71331
71335
  */
71332
71336
  platform?: string;
71333
- profileId: string;
71337
+ /**
71338
+ * The profile to list. Omit to cover every profile you can access.
71339
+ */
71340
+ profileId?: string;
71334
71341
  /**
71335
71342
  * Only events from this source, such as `stripe` for the payments of a connected Stripe account.
71336
71343
  */
@@ -71485,8 +71492,11 @@ type SendEventsError = (ErrorResponse | {
71485
71492
  error?: string;
71486
71493
  } | unknown);
71487
71494
  type GetEventsOverviewData = {
71488
- query: {
71489
- profileId: string;
71495
+ query?: {
71496
+ /**
71497
+ * The profile to read. Omit to cover every profile you can access, summed across them.
71498
+ */
71499
+ profileId?: string;
71490
71500
  };
71491
71501
  };
71492
71502
  type GetEventsOverviewResponse = ({
@@ -71517,9 +71527,13 @@ type GetEventsOverviewResponse = ({
71517
71527
  matched?: number;
71518
71528
  };
71519
71529
  /**
71520
- * One entry per forwarding rule of the profile.
71530
+ * One entry per forwarding rule of the profiles covered.
71521
71531
  */
71522
71532
  platforms?: Array<{
71533
+ /**
71534
+ * The profile the forwarding rule belongs to.
71535
+ */
71536
+ profileId?: string;
71523
71537
  accountId?: string;
71524
71538
  /**
71525
71539
  * Ad platform, such as `metaads` or `googleads`.
@@ -71579,7 +71593,7 @@ type GetEventsOverviewResponse = ({
71579
71593
  lastSeenAt?: (string) | null;
71580
71594
  }>;
71581
71595
  /**
71582
- * `null` when the profile has no tracking site. Hit counts are approximate distinct counts.
71596
+ * `null` when no profile covered has a tracking site. Hit counts are approximate distinct counts.
71583
71597
  */
71584
71598
  website?: {
71585
71599
  /**
@@ -71619,10 +71633,14 @@ type GetEventsOverviewResponse = ({
71619
71633
  serverPlatforms?: Array<(string)>;
71620
71634
  } | null;
71621
71635
  /**
71622
- * Each tracking site of the profile with its activity. Hit counts are approximate distinct counts without bots.
71636
+ * Each tracking site of the profiles covered, with its activity. Hit counts are approximate distinct counts without bots.
71623
71637
  */
71624
71638
  sites?: Array<{
71625
71639
  siteId?: string;
71640
+ /**
71641
+ * The profile the site belongs to.
71642
+ */
71643
+ profileId?: string;
71626
71644
  /**
71627
71645
  * Hits today.
71628
71646
  */
package/dist/index.d.ts CHANGED
@@ -1534,9 +1534,9 @@ declare class Zernio {
1534
1534
  createCustomConversionGoal: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateCustomConversionGoalData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateCustomConversionGoalResponse, unknown, ThrowOnError>;
1535
1535
  updateCustomConversionGoal: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateCustomConversionGoalData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateCustomConversionGoalResponse, unknown, ThrowOnError>;
1536
1536
  removeCustomConversionGoal: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RemoveCustomConversionGoalData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RemoveCustomConversionGoalResponse, unknown, ThrowOnError>;
1537
- listEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListEventsResponse, ListEventsError, ThrowOnError>;
1537
+ listEvents: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListEventsResponse, ListEventsError, ThrowOnError>;
1538
1538
  sendEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendEventsResponse, unknown, ThrowOnError>;
1539
- getEventsOverview: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventsOverviewResponse, GetEventsOverviewError, ThrowOnError>;
1539
+ getEventsOverview: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventsOverviewResponse, GetEventsOverviewError, ThrowOnError>;
1540
1540
  getEvent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventResponse, GetEventError, ThrowOnError>;
1541
1541
  restateEvent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RestateEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RestateEventResponse, RestateEventError, ThrowOnError>;
1542
1542
  retractEvent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RetractEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RetractEventResponse, RetractEventError, ThrowOnError>;
@@ -2211,11 +2211,11 @@ declare class Zernio {
2211
2211
  /** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
2212
2212
  removeCustomConversionGoal: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RemoveCustomConversionGoalData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RemoveCustomConversionGoalResponse, unknown, ThrowOnError>;
2213
2213
  /** @deprecated Use `zernio.conversions.listEvents` instead. */
2214
- listEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListEventsResponse, ListEventsError, ThrowOnError>;
2214
+ listEvents: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListEventsResponse, ListEventsError, ThrowOnError>;
2215
2215
  /** @deprecated Use `zernio.conversions.sendEvents` instead. */
2216
2216
  sendEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendEventsResponse, unknown, ThrowOnError>;
2217
2217
  /** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
2218
- getEventsOverview: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventsOverviewResponse, GetEventsOverviewError, ThrowOnError>;
2218
+ getEventsOverview: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventsOverviewResponse, GetEventsOverviewError, ThrowOnError>;
2219
2219
  /** @deprecated Use `zernio.conversions.getEvent` instead. */
2220
2220
  getEvent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetEventResponse, GetEventError, ThrowOnError>;
2221
2221
  /** @deprecated Use `zernio.conversions.restateEvent` instead. */
@@ -20215,6 +20215,10 @@ type platform16 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' |
20215
20215
  type tiktokAccountType = 'business' | 'personal' | 'unknown';
20216
20216
  type StoredEvent = {
20217
20217
  eventId?: string;
20218
+ /**
20219
+ * The profile the event was stored under.
20220
+ */
20221
+ profileId?: string;
20218
20222
  /**
20219
20223
  * Where the event came from: `api`, `relay`, `web`, `shopify`, `woocommerce`, `hubspot`, `meta_leads`, `google_leads`, `linkedin_leads` or `tiktok_leads`.
20220
20224
  */
@@ -71308,7 +71312,7 @@ type RemoveCustomConversionGoalResponse = ({
71308
71312
  });
71309
71313
  type RemoveCustomConversionGoalError = (ErrorResponse | unknown);
71310
71314
  type ListEventsData = {
71311
- query: {
71315
+ query?: {
71312
71316
  /**
71313
71317
  * `nextCursor` from the previous page.
71314
71318
  */
@@ -71330,7 +71334,10 @@ type ListEventsData = {
71330
71334
  * Only events sent to this ad platform, such as `metaads` or `googleads`.
71331
71335
  */
71332
71336
  platform?: string;
71333
- profileId: string;
71337
+ /**
71338
+ * The profile to list. Omit to cover every profile you can access.
71339
+ */
71340
+ profileId?: string;
71334
71341
  /**
71335
71342
  * Only events from this source, such as `stripe` for the payments of a connected Stripe account.
71336
71343
  */
@@ -71485,8 +71492,11 @@ type SendEventsError = (ErrorResponse | {
71485
71492
  error?: string;
71486
71493
  } | unknown);
71487
71494
  type GetEventsOverviewData = {
71488
- query: {
71489
- profileId: string;
71495
+ query?: {
71496
+ /**
71497
+ * The profile to read. Omit to cover every profile you can access, summed across them.
71498
+ */
71499
+ profileId?: string;
71490
71500
  };
71491
71501
  };
71492
71502
  type GetEventsOverviewResponse = ({
@@ -71517,9 +71527,13 @@ type GetEventsOverviewResponse = ({
71517
71527
  matched?: number;
71518
71528
  };
71519
71529
  /**
71520
- * One entry per forwarding rule of the profile.
71530
+ * One entry per forwarding rule of the profiles covered.
71521
71531
  */
71522
71532
  platforms?: Array<{
71533
+ /**
71534
+ * The profile the forwarding rule belongs to.
71535
+ */
71536
+ profileId?: string;
71523
71537
  accountId?: string;
71524
71538
  /**
71525
71539
  * Ad platform, such as `metaads` or `googleads`.
@@ -71579,7 +71593,7 @@ type GetEventsOverviewResponse = ({
71579
71593
  lastSeenAt?: (string) | null;
71580
71594
  }>;
71581
71595
  /**
71582
- * `null` when the profile has no tracking site. Hit counts are approximate distinct counts.
71596
+ * `null` when no profile covered has a tracking site. Hit counts are approximate distinct counts.
71583
71597
  */
71584
71598
  website?: {
71585
71599
  /**
@@ -71619,10 +71633,14 @@ type GetEventsOverviewResponse = ({
71619
71633
  serverPlatforms?: Array<(string)>;
71620
71634
  } | null;
71621
71635
  /**
71622
- * Each tracking site of the profile with its activity. Hit counts are approximate distinct counts without bots.
71636
+ * Each tracking site of the profiles covered, with its activity. Hit counts are approximate distinct counts without bots.
71623
71637
  */
71624
71638
  sites?: Array<{
71625
71639
  siteId?: string;
71640
+ /**
71641
+ * The profile the site belongs to.
71642
+ */
71643
+ profileId?: string;
71626
71644
  /**
71627
71645
  * Hits today.
71628
71646
  */
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.1656",
39
+ version: "0.2.1657",
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.1656",
8
+ version: "0.2.1657",
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.1656",
3
+ "version": "0.2.1657",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -19722,14 +19722,16 @@ export const removeCustomConversionGoal = <ThrowOnError extends boolean = false>
19722
19722
 
19723
19723
  /**
19724
19724
  * List stored events
19725
- * Lists the conversion events stored for a profile by `POST /v1/events`, newest first. Personal data is never
19726
- * returned: `hasEmail`, `hasPhone` and `hasExternalId` only say whether the event carried that identifier.
19725
+ * Lists the conversion events stored by `POST /v1/events`, newest first: for one profile, or for every profile you can
19726
+ * access when `profileId` is omitted.
19727
+ *
19728
+ * Personal data is never returned: `hasEmail`, `hasPhone` and `hasExternalId` only say whether the event carried that identifier.
19727
19729
  * Events sent with `testCode` are not stored, so they never appear here.
19728
19730
  *
19729
19731
  * Paginate with `cursor`: pass the `nextCursor` of the previous page until it comes back `null`.
19730
19732
  *
19731
19733
  */
19732
- export const listEvents = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListEventsData, ThrowOnError>) => {
19734
+ export const listEvents = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEventsData, ThrowOnError>) => {
19733
19735
  return (options?.client ?? client).get<ListEventsResponse, ListEventsError, ThrowOnError>({
19734
19736
  ...options,
19735
19737
  url: '/v1/events'
@@ -19768,10 +19770,11 @@ export const sendEvents = <ThrowOnError extends boolean = false>(options: Option
19768
19770
  * Get today's tracking overview
19769
19771
  * How a profile's conversion tracking is doing today (UTC day): events stored, how many reached the ad platforms,
19770
19772
  * each forwarding rule's destination, each event source and, when the profile has a tracking site, the site's funnel.
19771
- * Requires the Ads add-on.
19773
+ *
19774
+ * Without `profileId` it covers every profile you can access, summed across them. Requires the Ads add-on.
19772
19775
  *
19773
19776
  */
19774
- export const getEventsOverview = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => {
19777
+ export const getEventsOverview = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetEventsOverviewData, ThrowOnError>) => {
19775
19778
  return (options?.client ?? client).get<GetEventsOverviewResponse, GetEventsOverviewError, ThrowOnError>({
19776
19779
  ...options,
19777
19780
  url: '/v1/events/overview'
@@ -18560,6 +18560,10 @@ export type tiktokAccountType = 'business' | 'personal' | 'unknown';
18560
18560
 
18561
18561
  export type StoredEvent = {
18562
18562
  eventId?: string;
18563
+ /**
18564
+ * The profile the event was stored under.
18565
+ */
18566
+ profileId?: string;
18563
18567
  /**
18564
18568
  * Where the event came from: `api`, `relay`, `web`, `shopify`, `woocommerce`, `hubspot`, `meta_leads`, `google_leads`, `linkedin_leads` or `tiktok_leads`.
18565
18569
  */
@@ -73028,7 +73032,7 @@ export type RemoveCustomConversionGoalResponse = ({
73028
73032
  export type RemoveCustomConversionGoalError = (ErrorResponse | unknown);
73029
73033
 
73030
73034
  export type ListEventsData = {
73031
- query: {
73035
+ query?: {
73032
73036
  /**
73033
73037
  * `nextCursor` from the previous page.
73034
73038
  */
@@ -73050,7 +73054,10 @@ export type ListEventsData = {
73050
73054
  * Only events sent to this ad platform, such as `metaads` or `googleads`.
73051
73055
  */
73052
73056
  platform?: string;
73053
- profileId: string;
73057
+ /**
73058
+ * The profile to list. Omit to cover every profile you can access.
73059
+ */
73060
+ profileId?: string;
73054
73061
  /**
73055
73062
  * Only events from this source, such as `stripe` for the payments of a connected Stripe account.
73056
73063
  */
@@ -73211,8 +73218,11 @@ export type SendEventsError = (ErrorResponse | {
73211
73218
  } | unknown);
73212
73219
 
73213
73220
  export type GetEventsOverviewData = {
73214
- query: {
73215
- profileId: string;
73221
+ query?: {
73222
+ /**
73223
+ * The profile to read. Omit to cover every profile you can access, summed across them.
73224
+ */
73225
+ profileId?: string;
73216
73226
  };
73217
73227
  };
73218
73228
 
@@ -73244,9 +73254,13 @@ export type GetEventsOverviewResponse = ({
73244
73254
  matched?: number;
73245
73255
  };
73246
73256
  /**
73247
- * One entry per forwarding rule of the profile.
73257
+ * One entry per forwarding rule of the profiles covered.
73248
73258
  */
73249
73259
  platforms?: Array<{
73260
+ /**
73261
+ * The profile the forwarding rule belongs to.
73262
+ */
73263
+ profileId?: string;
73250
73264
  accountId?: string;
73251
73265
  /**
73252
73266
  * Ad platform, such as `metaads` or `googleads`.
@@ -73306,7 +73320,7 @@ export type GetEventsOverviewResponse = ({
73306
73320
  lastSeenAt?: (string) | null;
73307
73321
  }>;
73308
73322
  /**
73309
- * `null` when the profile has no tracking site. Hit counts are approximate distinct counts.
73323
+ * `null` when no profile covered has a tracking site. Hit counts are approximate distinct counts.
73310
73324
  */
73311
73325
  website?: {
73312
73326
  /**
@@ -73346,10 +73360,14 @@ export type GetEventsOverviewResponse = ({
73346
73360
  serverPlatforms?: Array<(string)>;
73347
73361
  } | null;
73348
73362
  /**
73349
- * Each tracking site of the profile with its activity. Hit counts are approximate distinct counts without bots.
73363
+ * Each tracking site of the profiles covered, with its activity. Hit counts are approximate distinct counts without bots.
73350
73364
  */
73351
73365
  sites?: Array<{
73352
73366
  siteId?: string;
73367
+ /**
73368
+ * The profile the site belongs to.
73369
+ */
73370
+ profileId?: string;
73353
73371
  /**
73354
73372
  * Hits today.
73355
73373
  */