@zernio/node 0.2.971 → 0.2.972

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
@@ -10832,13 +10832,17 @@ type TrackingTag = {
10832
10832
  */
10833
10833
  type?: string;
10834
10834
  /**
10835
- * The value the site sends to fire this event.
10835
+ * The neutral site event this conversion is fired for, when it maps to one.
10836
10836
  */
10837
- siteEvent?: string;
10837
+ siteEvent?: 'page_view' | 'view_content' | 'add_to_cart' | 'search' | 'initiate_checkout' | 'add_payment_info' | 'purchase';
10838
+ /**
10839
+ * What the site sends to fire this event (Google conversion label, LinkedIn conversion rule id, X `tw-` event id).
10840
+ */
10841
+ siteEventId?: string;
10838
10842
  status?: string;
10839
10843
  }>;
10840
10844
  name: string;
10841
- platform: 'metaads' | 'openaiads' | 'tiktokads';
10845
+ platform: 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
10842
10846
  /**
10843
10847
  * Platform-native flavor of the tag (Meta: `pixel`).
10844
10848
  */
@@ -10884,7 +10888,7 @@ type TrackingTag = {
10884
10888
  */
10885
10889
  ownerAdAccountId?: string;
10886
10890
  };
10887
- type platform11 = 'metaads' | 'openaiads' | 'tiktokads';
10891
+ type platform11 = 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
10888
10892
  /**
10889
10893
  * Platform-native flavor of the tag (Meta: `pixel`).
10890
10894
  */
@@ -47787,7 +47791,7 @@ type ListTrackingTagsData = {
47787
47791
  };
47788
47792
  };
47789
47793
  type ListTrackingTagsResponse = ({
47790
- platform?: 'metaads' | 'openaiads' | 'tiktokads';
47794
+ platform?: 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
47791
47795
  tags?: Array<TrackingTag>;
47792
47796
  });
47793
47797
  type ListTrackingTagsError = (unknown | {
@@ -47813,7 +47817,7 @@ type CreateTrackingTagData = {
47813
47817
  };
47814
47818
  };
47815
47819
  type CreateTrackingTagResponse = ({
47816
- platform?: 'metaads' | 'openaiads' | 'tiktokads';
47820
+ platform?: 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
47817
47821
  tag?: TrackingTag;
47818
47822
  });
47819
47823
  type CreateTrackingTagError = (unknown | {
@@ -47835,7 +47839,7 @@ type GetTrackingTagData = {
47835
47839
  };
47836
47840
  };
47837
47841
  type GetTrackingTagResponse = ({
47838
- platform?: 'metaads' | 'tiktokads';
47842
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
47839
47843
  tag?: TrackingTag;
47840
47844
  });
47841
47845
  type GetTrackingTagError = (ErrorResponse | {
@@ -47872,7 +47876,7 @@ type UpdateTrackingTagData = {
47872
47876
  };
47873
47877
  };
47874
47878
  type UpdateTrackingTagResponse = ({
47875
- platform?: 'metaads' | 'tiktokads';
47879
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
47876
47880
  tag?: TrackingTag;
47877
47881
  });
47878
47882
  type UpdateTrackingTagError = (unknown | {
@@ -47963,7 +47967,7 @@ type InstallTrackingTagOnStoreData = {
47963
47967
  };
47964
47968
  };
47965
47969
  type InstallTrackingTagOnStoreResponse = ({
47966
- platform?: 'metaads' | 'tiktokads';
47970
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
47967
47971
  install?: (StorePixelInstall & {
47968
47972
  /**
47969
47973
  * Shopify only: the pixel this install replaced on the store, if any.
@@ -48015,7 +48019,7 @@ type GetTrackingTagStoreInstallData = {
48015
48019
  };
48016
48020
  };
48017
48021
  type GetTrackingTagStoreInstallResponse = ({
48018
- platform?: 'metaads' | 'tiktokads';
48022
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
48019
48023
  install?: (StorePixelInstall & {
48020
48024
  /**
48021
48025
  * WordPress only.
@@ -48062,7 +48066,7 @@ type RemoveTrackingTagFromStoreData = {
48062
48066
  };
48063
48067
  };
48064
48068
  type RemoveTrackingTagFromStoreResponse = ({
48065
- platform?: 'metaads' | 'tiktokads';
48069
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
48066
48070
  install?: (StorePixelInstall & {
48067
48071
  /**
48068
48072
  * WordPress only: number of Zernio widgets deleted.
@@ -48101,7 +48105,7 @@ type GetTrackingTagStatsData = {
48101
48105
  };
48102
48106
  };
48103
48107
  type GetTrackingTagStatsResponse = ({
48104
- platform?: 'metaads' | 'tiktokads';
48108
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
48105
48109
  stats?: {
48106
48110
  aggregation?: string;
48107
48111
  startTime?: number;
package/dist/index.d.ts CHANGED
@@ -10832,13 +10832,17 @@ type TrackingTag = {
10832
10832
  */
10833
10833
  type?: string;
10834
10834
  /**
10835
- * The value the site sends to fire this event.
10835
+ * The neutral site event this conversion is fired for, when it maps to one.
10836
10836
  */
10837
- siteEvent?: string;
10837
+ siteEvent?: 'page_view' | 'view_content' | 'add_to_cart' | 'search' | 'initiate_checkout' | 'add_payment_info' | 'purchase';
10838
+ /**
10839
+ * What the site sends to fire this event (Google conversion label, LinkedIn conversion rule id, X `tw-` event id).
10840
+ */
10841
+ siteEventId?: string;
10838
10842
  status?: string;
10839
10843
  }>;
10840
10844
  name: string;
10841
- platform: 'metaads' | 'openaiads' | 'tiktokads';
10845
+ platform: 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
10842
10846
  /**
10843
10847
  * Platform-native flavor of the tag (Meta: `pixel`).
10844
10848
  */
@@ -10884,7 +10888,7 @@ type TrackingTag = {
10884
10888
  */
10885
10889
  ownerAdAccountId?: string;
10886
10890
  };
10887
- type platform11 = 'metaads' | 'openaiads' | 'tiktokads';
10891
+ type platform11 = 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
10888
10892
  /**
10889
10893
  * Platform-native flavor of the tag (Meta: `pixel`).
10890
10894
  */
@@ -47787,7 +47791,7 @@ type ListTrackingTagsData = {
47787
47791
  };
47788
47792
  };
47789
47793
  type ListTrackingTagsResponse = ({
47790
- platform?: 'metaads' | 'openaiads' | 'tiktokads';
47794
+ platform?: 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
47791
47795
  tags?: Array<TrackingTag>;
47792
47796
  });
47793
47797
  type ListTrackingTagsError = (unknown | {
@@ -47813,7 +47817,7 @@ type CreateTrackingTagData = {
47813
47817
  };
47814
47818
  };
47815
47819
  type CreateTrackingTagResponse = ({
47816
- platform?: 'metaads' | 'openaiads' | 'tiktokads';
47820
+ platform?: 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
47817
47821
  tag?: TrackingTag;
47818
47822
  });
47819
47823
  type CreateTrackingTagError = (unknown | {
@@ -47835,7 +47839,7 @@ type GetTrackingTagData = {
47835
47839
  };
47836
47840
  };
47837
47841
  type GetTrackingTagResponse = ({
47838
- platform?: 'metaads' | 'tiktokads';
47842
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
47839
47843
  tag?: TrackingTag;
47840
47844
  });
47841
47845
  type GetTrackingTagError = (ErrorResponse | {
@@ -47872,7 +47876,7 @@ type UpdateTrackingTagData = {
47872
47876
  };
47873
47877
  };
47874
47878
  type UpdateTrackingTagResponse = ({
47875
- platform?: 'metaads' | 'tiktokads';
47879
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
47876
47880
  tag?: TrackingTag;
47877
47881
  });
47878
47882
  type UpdateTrackingTagError = (unknown | {
@@ -47963,7 +47967,7 @@ type InstallTrackingTagOnStoreData = {
47963
47967
  };
47964
47968
  };
47965
47969
  type InstallTrackingTagOnStoreResponse = ({
47966
- platform?: 'metaads' | 'tiktokads';
47970
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
47967
47971
  install?: (StorePixelInstall & {
47968
47972
  /**
47969
47973
  * Shopify only: the pixel this install replaced on the store, if any.
@@ -48015,7 +48019,7 @@ type GetTrackingTagStoreInstallData = {
48015
48019
  };
48016
48020
  };
48017
48021
  type GetTrackingTagStoreInstallResponse = ({
48018
- platform?: 'metaads' | 'tiktokads';
48022
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
48019
48023
  install?: (StorePixelInstall & {
48020
48024
  /**
48021
48025
  * WordPress only.
@@ -48062,7 +48066,7 @@ type RemoveTrackingTagFromStoreData = {
48062
48066
  };
48063
48067
  };
48064
48068
  type RemoveTrackingTagFromStoreResponse = ({
48065
- platform?: 'metaads' | 'tiktokads';
48069
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
48066
48070
  install?: (StorePixelInstall & {
48067
48071
  /**
48068
48072
  * WordPress only: number of Zernio widgets deleted.
@@ -48101,7 +48105,7 @@ type GetTrackingTagStatsData = {
48101
48105
  };
48102
48106
  };
48103
48107
  type GetTrackingTagStatsResponse = ({
48104
- platform?: 'metaads' | 'tiktokads';
48108
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
48105
48109
  stats?: {
48106
48110
  aggregation?: string;
48107
48111
  startTime?: number;
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.971",
39
+ version: "0.2.972",
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.971",
8
+ version: "0.2.972",
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": "@zernio/node",
3
- "version": "0.2.971",
3
+ "version": "0.2.972",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9383,13 +9383,17 @@ export type TrackingTag = {
9383
9383
  */
9384
9384
  type?: string;
9385
9385
  /**
9386
- * The value the site sends to fire this event.
9386
+ * The neutral site event this conversion is fired for, when it maps to one.
9387
9387
  */
9388
- siteEvent?: string;
9388
+ siteEvent?: 'page_view' | 'view_content' | 'add_to_cart' | 'search' | 'initiate_checkout' | 'add_payment_info' | 'purchase';
9389
+ /**
9390
+ * What the site sends to fire this event (Google conversion label, LinkedIn conversion rule id, X `tw-` event id).
9391
+ */
9392
+ siteEventId?: string;
9389
9393
  status?: string;
9390
9394
  }>;
9391
9395
  name: string;
9392
- platform: 'metaads' | 'openaiads' | 'tiktokads';
9396
+ platform: 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
9393
9397
  /**
9394
9398
  * Platform-native flavor of the tag (Meta: `pixel`).
9395
9399
  */
@@ -9436,7 +9440,7 @@ export type TrackingTag = {
9436
9440
  ownerAdAccountId?: string;
9437
9441
  };
9438
9442
 
9439
- export type platform11 = 'metaads' | 'openaiads' | 'tiktokads';
9443
+ export type platform11 = 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
9440
9444
 
9441
9445
  /**
9442
9446
  * Platform-native flavor of the tag (Meta: `pixel`).
@@ -48893,7 +48897,7 @@ export type ListTrackingTagsData = {
48893
48897
  };
48894
48898
 
48895
48899
  export type ListTrackingTagsResponse = ({
48896
- platform?: 'metaads' | 'openaiads' | 'tiktokads';
48900
+ platform?: 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
48897
48901
  tags?: Array<TrackingTag>;
48898
48902
  });
48899
48903
 
@@ -48922,7 +48926,7 @@ export type CreateTrackingTagData = {
48922
48926
  };
48923
48927
 
48924
48928
  export type CreateTrackingTagResponse = ({
48925
- platform?: 'metaads' | 'openaiads' | 'tiktokads';
48929
+ platform?: 'metaads' | 'openaiads' | 'tiktokads' | 'googleads';
48926
48930
  tag?: TrackingTag;
48927
48931
  });
48928
48932
 
@@ -48947,7 +48951,7 @@ export type GetTrackingTagData = {
48947
48951
  };
48948
48952
 
48949
48953
  export type GetTrackingTagResponse = ({
48950
- platform?: 'metaads' | 'tiktokads';
48954
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
48951
48955
  tag?: TrackingTag;
48952
48956
  });
48953
48957
 
@@ -48987,7 +48991,7 @@ export type UpdateTrackingTagData = {
48987
48991
  };
48988
48992
 
48989
48993
  export type UpdateTrackingTagResponse = ({
48990
- platform?: 'metaads' | 'tiktokads';
48994
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
48991
48995
  tag?: TrackingTag;
48992
48996
  });
48993
48997
 
@@ -49090,7 +49094,7 @@ export type InstallTrackingTagOnStoreData = {
49090
49094
  };
49091
49095
 
49092
49096
  export type InstallTrackingTagOnStoreResponse = ({
49093
- platform?: 'metaads' | 'tiktokads';
49097
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
49094
49098
  install?: (StorePixelInstall & {
49095
49099
  /**
49096
49100
  * Shopify only: the pixel this install replaced on the store, if any.
@@ -49145,7 +49149,7 @@ export type GetTrackingTagStoreInstallData = {
49145
49149
  };
49146
49150
 
49147
49151
  export type GetTrackingTagStoreInstallResponse = ({
49148
- platform?: 'metaads' | 'tiktokads';
49152
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
49149
49153
  install?: (StorePixelInstall & {
49150
49154
  /**
49151
49155
  * WordPress only.
@@ -49195,7 +49199,7 @@ export type RemoveTrackingTagFromStoreData = {
49195
49199
  };
49196
49200
 
49197
49201
  export type RemoveTrackingTagFromStoreResponse = ({
49198
- platform?: 'metaads' | 'tiktokads';
49202
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
49199
49203
  install?: (StorePixelInstall & {
49200
49204
  /**
49201
49205
  * WordPress only: number of Zernio widgets deleted.
@@ -49237,7 +49241,7 @@ export type GetTrackingTagStatsData = {
49237
49241
  };
49238
49242
 
49239
49243
  export type GetTrackingTagStatsResponse = ({
49240
- platform?: 'metaads' | 'tiktokads';
49244
+ platform?: 'metaads' | 'tiktokads' | 'googleads';
49241
49245
  stats?: {
49242
49246
  aggregation?: string;
49243
49247
  startTime?: number;