@getlatedev/node 0.2.1334 → 0.2.1336

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.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.1334",
39
+ version: "0.2.1336",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -517,6 +517,24 @@ var getPostTimeline = (options) => {
517
517
  url: "/v1/analytics/post-timeline"
518
518
  });
519
519
  };
520
+ var runGoogleAnalyticsReport = (options) => {
521
+ return (options?.client ?? client).post({
522
+ ...options,
523
+ url: "/v1/analytics/googleanalytics/report"
524
+ });
525
+ };
526
+ var runGoogleAnalyticsRealtimeReport = (options) => {
527
+ return (options?.client ?? client).post({
528
+ ...options,
529
+ url: "/v1/analytics/googleanalytics/realtime"
530
+ });
531
+ };
532
+ var getGoogleAnalyticsMetadata = (options) => {
533
+ return (options?.client ?? client).get({
534
+ ...options,
535
+ url: "/v1/analytics/googleanalytics/metadata"
536
+ });
537
+ };
520
538
  var getGoogleBusinessPerformance = (options) => {
521
539
  return (options?.client ?? client).get({
522
540
  ...options,
@@ -960,6 +978,24 @@ var connectShopifyWithToken = (options) => {
960
978
  url: "/v1/connect/shopify/token"
961
979
  });
962
980
  };
981
+ var getGoogleAnalyticsConnectUrl = (options) => {
982
+ return (options?.client ?? client).get({
983
+ ...options,
984
+ url: "/v1/connect/googleanalytics"
985
+ });
986
+ };
987
+ var listGoogleAnalyticsProperties = (options) => {
988
+ return (options?.client ?? client).get({
989
+ ...options,
990
+ url: "/v1/connect/googleanalytics/properties"
991
+ });
992
+ };
993
+ var selectGoogleAnalyticsProperty = (options) => {
994
+ return (options?.client ?? client).post({
995
+ ...options,
996
+ url: "/v1/connect/googleanalytics/select-property"
997
+ });
998
+ };
963
999
  var getHubSpotConnectUrl = (options) => {
964
1000
  return (options?.client ?? client).get({
965
1001
  ...options,
@@ -6655,6 +6691,9 @@ var Zernio = class _Zernio {
6655
6691
  getContentDecay: this._bind(getContentDecay),
6656
6692
  getPostingFrequency: this._bind(getPostingFrequency),
6657
6693
  getPostTimeline: this._bind(getPostTimeline),
6694
+ runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
6695
+ runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
6696
+ getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
6658
6697
  getGoogleBusinessPerformance: this._bind(getGoogleBusinessPerformance),
6659
6698
  getGoogleBusinessSearchKeywords: this._bind(getGoogleBusinessSearchKeywords),
6660
6699
  syncExternalPosts: this._bind(syncExternalPosts),
@@ -6871,6 +6910,9 @@ var Zernio = class _Zernio {
6871
6910
  completeMetaAdsBusinessLogin: this._bind(completeMetaAdsBusinessLogin),
6872
6911
  getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
6873
6912
  connectShopifyWithToken: this._bind(connectShopifyWithToken),
6913
+ getGoogleAnalyticsConnectUrl: this._bind(getGoogleAnalyticsConnectUrl),
6914
+ listGoogleAnalyticsProperties: this._bind(listGoogleAnalyticsProperties),
6915
+ selectGoogleAnalyticsProperty: this._bind(selectGoogleAnalyticsProperty),
6874
6916
  getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
6875
6917
  getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
6876
6918
  getWixConnectUrl: this._bind(getWixConnectUrl),
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.1334",
8
+ version: "0.2.1336",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -486,6 +486,24 @@ var getPostTimeline = (options) => {
486
486
  url: "/v1/analytics/post-timeline"
487
487
  });
488
488
  };
489
+ var runGoogleAnalyticsReport = (options) => {
490
+ return (options?.client ?? client).post({
491
+ ...options,
492
+ url: "/v1/analytics/googleanalytics/report"
493
+ });
494
+ };
495
+ var runGoogleAnalyticsRealtimeReport = (options) => {
496
+ return (options?.client ?? client).post({
497
+ ...options,
498
+ url: "/v1/analytics/googleanalytics/realtime"
499
+ });
500
+ };
501
+ var getGoogleAnalyticsMetadata = (options) => {
502
+ return (options?.client ?? client).get({
503
+ ...options,
504
+ url: "/v1/analytics/googleanalytics/metadata"
505
+ });
506
+ };
489
507
  var getGoogleBusinessPerformance = (options) => {
490
508
  return (options?.client ?? client).get({
491
509
  ...options,
@@ -929,6 +947,24 @@ var connectShopifyWithToken = (options) => {
929
947
  url: "/v1/connect/shopify/token"
930
948
  });
931
949
  };
950
+ var getGoogleAnalyticsConnectUrl = (options) => {
951
+ return (options?.client ?? client).get({
952
+ ...options,
953
+ url: "/v1/connect/googleanalytics"
954
+ });
955
+ };
956
+ var listGoogleAnalyticsProperties = (options) => {
957
+ return (options?.client ?? client).get({
958
+ ...options,
959
+ url: "/v1/connect/googleanalytics/properties"
960
+ });
961
+ };
962
+ var selectGoogleAnalyticsProperty = (options) => {
963
+ return (options?.client ?? client).post({
964
+ ...options,
965
+ url: "/v1/connect/googleanalytics/select-property"
966
+ });
967
+ };
932
968
  var getHubSpotConnectUrl = (options) => {
933
969
  return (options?.client ?? client).get({
934
970
  ...options,
@@ -6624,6 +6660,9 @@ var Zernio = class _Zernio {
6624
6660
  getContentDecay: this._bind(getContentDecay),
6625
6661
  getPostingFrequency: this._bind(getPostingFrequency),
6626
6662
  getPostTimeline: this._bind(getPostTimeline),
6663
+ runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
6664
+ runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
6665
+ getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
6627
6666
  getGoogleBusinessPerformance: this._bind(getGoogleBusinessPerformance),
6628
6667
  getGoogleBusinessSearchKeywords: this._bind(getGoogleBusinessSearchKeywords),
6629
6668
  syncExternalPosts: this._bind(syncExternalPosts),
@@ -6840,6 +6879,9 @@ var Zernio = class _Zernio {
6840
6879
  completeMetaAdsBusinessLogin: this._bind(completeMetaAdsBusinessLogin),
6841
6880
  getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
6842
6881
  connectShopifyWithToken: this._bind(connectShopifyWithToken),
6882
+ getGoogleAnalyticsConnectUrl: this._bind(getGoogleAnalyticsConnectUrl),
6883
+ listGoogleAnalyticsProperties: this._bind(listGoogleAnalyticsProperties),
6884
+ selectGoogleAnalyticsProperty: this._bind(selectGoogleAnalyticsProperty),
6843
6885
  getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
6844
6886
  getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
6845
6887
  getWixConnectUrl: this._bind(getWixConnectUrl),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1334",
3
+ "version": "0.2.1336",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/client.ts CHANGED
@@ -384,6 +384,8 @@ import {
384
384
  getFollowerStats,
385
385
  getGmbAttributeMetadata,
386
386
  getGmbLocations,
387
+ getGoogleAnalyticsConnectUrl,
388
+ getGoogleAnalyticsMetadata,
387
389
  getGoogleAssetGroup,
388
390
  getGoogleBusinessAttributes,
389
391
  getGoogleBusinessFoodMenus,
@@ -640,6 +642,7 @@ import {
640
642
  listFacebookTaggedPosts,
641
643
  listFacebookVisitorPosts,
642
644
  listFormLeads,
645
+ listGoogleAnalyticsProperties,
643
646
  listGoogleAssetGroups,
644
647
  listGoogleBusinessLocations,
645
648
  listGoogleBusinessMedia,
@@ -818,6 +821,8 @@ import {
818
821
  rotateSipTrunkCredentials,
819
822
  runBusinessAgentConnectorTool,
820
823
  runCommerceCatalogSync,
824
+ runGoogleAnalyticsRealtimeReport,
825
+ runGoogleAnalyticsReport,
821
826
  scheduleBroadcast,
822
827
  searchAdInterests,
823
828
  searchAdLibrary,
@@ -831,6 +836,7 @@ import {
831
836
  searchTikTokLocations,
832
837
  searchTweets,
833
838
  selectFacebookPage,
839
+ selectGoogleAnalyticsProperty,
834
840
  selectGoogleBusinessLocation,
835
841
  selectInstagramAccount,
836
842
  selectLinkedInOrganization,
@@ -1198,6 +1204,9 @@ export class Zernio {
1198
1204
  getContentDecay: this._bind(getContentDecay),
1199
1205
  getPostingFrequency: this._bind(getPostingFrequency),
1200
1206
  getPostTimeline: this._bind(getPostTimeline),
1207
+ runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
1208
+ runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
1209
+ getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
1201
1210
  getGoogleBusinessPerformance: this._bind(getGoogleBusinessPerformance),
1202
1211
  getGoogleBusinessSearchKeywords: this._bind(getGoogleBusinessSearchKeywords),
1203
1212
  syncExternalPosts: this._bind(syncExternalPosts),
@@ -1429,6 +1438,9 @@ export class Zernio {
1429
1438
  completeMetaAdsBusinessLogin: this._bind(completeMetaAdsBusinessLogin),
1430
1439
  getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
1431
1440
  connectShopifyWithToken: this._bind(connectShopifyWithToken),
1441
+ getGoogleAnalyticsConnectUrl: this._bind(getGoogleAnalyticsConnectUrl),
1442
+ listGoogleAnalyticsProperties: this._bind(listGoogleAnalyticsProperties),
1443
+ selectGoogleAnalyticsProperty: this._bind(selectGoogleAnalyticsProperty),
1432
1444
  getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
1433
1445
  getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
1434
1446
  getWixConnectUrl: this._bind(getWixConnectUrl),