@getlatedev/node 0.2.1334 → 0.2.1335
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/README.md +4 -0
- package/dist/index.d.mts +249 -6
- package/dist/index.d.ts +249 -6
- package/dist/index.js +29 -1
- package/dist/index.mjs +29 -1
- package/package.json +1 -1
- package/src/client.ts +8 -0
- package/src/generated/sdk.gen.ts +65 -1
- package/src/generated/types.gen.ts +258 -5
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.
|
|
39
|
+
version: "0.2.1335",
|
|
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,12 @@ 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
|
+
};
|
|
963
987
|
var getHubSpotConnectUrl = (options) => {
|
|
964
988
|
return (options?.client ?? client).get({
|
|
965
989
|
...options,
|
|
@@ -6655,6 +6679,9 @@ var Zernio = class _Zernio {
|
|
|
6655
6679
|
getContentDecay: this._bind(getContentDecay),
|
|
6656
6680
|
getPostingFrequency: this._bind(getPostingFrequency),
|
|
6657
6681
|
getPostTimeline: this._bind(getPostTimeline),
|
|
6682
|
+
runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
|
|
6683
|
+
runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
|
|
6684
|
+
getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
|
|
6658
6685
|
getGoogleBusinessPerformance: this._bind(getGoogleBusinessPerformance),
|
|
6659
6686
|
getGoogleBusinessSearchKeywords: this._bind(getGoogleBusinessSearchKeywords),
|
|
6660
6687
|
syncExternalPosts: this._bind(syncExternalPosts),
|
|
@@ -6871,6 +6898,7 @@ var Zernio = class _Zernio {
|
|
|
6871
6898
|
completeMetaAdsBusinessLogin: this._bind(completeMetaAdsBusinessLogin),
|
|
6872
6899
|
getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
|
|
6873
6900
|
connectShopifyWithToken: this._bind(connectShopifyWithToken),
|
|
6901
|
+
getGoogleAnalyticsConnectUrl: this._bind(getGoogleAnalyticsConnectUrl),
|
|
6874
6902
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
6875
6903
|
getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
|
|
6876
6904
|
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.
|
|
8
|
+
version: "0.2.1335",
|
|
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,12 @@ 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
|
+
};
|
|
932
956
|
var getHubSpotConnectUrl = (options) => {
|
|
933
957
|
return (options?.client ?? client).get({
|
|
934
958
|
...options,
|
|
@@ -6624,6 +6648,9 @@ var Zernio = class _Zernio {
|
|
|
6624
6648
|
getContentDecay: this._bind(getContentDecay),
|
|
6625
6649
|
getPostingFrequency: this._bind(getPostingFrequency),
|
|
6626
6650
|
getPostTimeline: this._bind(getPostTimeline),
|
|
6651
|
+
runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
|
|
6652
|
+
runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
|
|
6653
|
+
getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
|
|
6627
6654
|
getGoogleBusinessPerformance: this._bind(getGoogleBusinessPerformance),
|
|
6628
6655
|
getGoogleBusinessSearchKeywords: this._bind(getGoogleBusinessSearchKeywords),
|
|
6629
6656
|
syncExternalPosts: this._bind(syncExternalPosts),
|
|
@@ -6840,6 +6867,7 @@ var Zernio = class _Zernio {
|
|
|
6840
6867
|
completeMetaAdsBusinessLogin: this._bind(completeMetaAdsBusinessLogin),
|
|
6841
6868
|
getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
|
|
6842
6869
|
connectShopifyWithToken: this._bind(connectShopifyWithToken),
|
|
6870
|
+
getGoogleAnalyticsConnectUrl: this._bind(getGoogleAnalyticsConnectUrl),
|
|
6843
6871
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
6844
6872
|
getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
|
|
6845
6873
|
getWixConnectUrl: this._bind(getWixConnectUrl),
|
package/package.json
CHANGED
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,
|
|
@@ -818,6 +820,8 @@ import {
|
|
|
818
820
|
rotateSipTrunkCredentials,
|
|
819
821
|
runBusinessAgentConnectorTool,
|
|
820
822
|
runCommerceCatalogSync,
|
|
823
|
+
runGoogleAnalyticsRealtimeReport,
|
|
824
|
+
runGoogleAnalyticsReport,
|
|
821
825
|
scheduleBroadcast,
|
|
822
826
|
searchAdInterests,
|
|
823
827
|
searchAdLibrary,
|
|
@@ -1198,6 +1202,9 @@ export class Zernio {
|
|
|
1198
1202
|
getContentDecay: this._bind(getContentDecay),
|
|
1199
1203
|
getPostingFrequency: this._bind(getPostingFrequency),
|
|
1200
1204
|
getPostTimeline: this._bind(getPostTimeline),
|
|
1205
|
+
runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
|
|
1206
|
+
runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
|
|
1207
|
+
getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
|
|
1201
1208
|
getGoogleBusinessPerformance: this._bind(getGoogleBusinessPerformance),
|
|
1202
1209
|
getGoogleBusinessSearchKeywords: this._bind(getGoogleBusinessSearchKeywords),
|
|
1203
1210
|
syncExternalPosts: this._bind(syncExternalPosts),
|
|
@@ -1429,6 +1436,7 @@ export class Zernio {
|
|
|
1429
1436
|
completeMetaAdsBusinessLogin: this._bind(completeMetaAdsBusinessLogin),
|
|
1430
1437
|
getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
|
|
1431
1438
|
connectShopifyWithToken: this._bind(connectShopifyWithToken),
|
|
1439
|
+
getGoogleAnalyticsConnectUrl: this._bind(getGoogleAnalyticsConnectUrl),
|
|
1432
1440
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
1433
1441
|
getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
|
|
1434
1442
|
getWixConnectUrl: this._bind(getWixConnectUrl),
|