@happyvertical/smrt-analytics 0.61.3 → 0.61.4
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +433 -113
- package/dist/smrt-knowledge.json +3 -3
- package/package.json +9 -9
package/dist/manifest.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-analytics",
|
|
5
|
-
"packageVersion": "0.61.
|
|
5
|
+
"packageVersion": "0.61.4",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-analytics:AnalyticsDataStreamCollection": {
|
|
8
8
|
"name": "analyticsdatastreamcollection",
|
|
9
9
|
"className": "AnalyticsDataStreamCollection",
|
|
10
10
|
"qualifiedName": "@happyvertical/smrt-analytics:AnalyticsDataStreamCollection",
|
|
11
11
|
"collection": "analyticsdatastreams",
|
|
12
|
-
"filePath": "
|
|
12
|
+
"filePath": "src/collections/AnalyticsDataStreamCollection.ts",
|
|
13
13
|
"packageName": "@happyvertical/smrt-analytics",
|
|
14
14
|
"fields": {},
|
|
15
15
|
"methods": {
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
"className": "AnalyticsEventCollection",
|
|
313
313
|
"qualifiedName": "@happyvertical/smrt-analytics:AnalyticsEventCollection",
|
|
314
314
|
"collection": "analyticsevents",
|
|
315
|
-
"filePath": "
|
|
315
|
+
"filePath": "src/collections/AnalyticsEventCollection.ts",
|
|
316
316
|
"packageName": "@happyvertical/smrt-analytics",
|
|
317
317
|
"fields": {},
|
|
318
318
|
"methods": {
|
|
@@ -761,7 +761,7 @@
|
|
|
761
761
|
"className": "AnalyticsPropertyCollection",
|
|
762
762
|
"qualifiedName": "@happyvertical/smrt-analytics:AnalyticsPropertyCollection",
|
|
763
763
|
"collection": "analyticsproperties",
|
|
764
|
-
"filePath": "
|
|
764
|
+
"filePath": "src/collections/AnalyticsPropertyCollection.ts",
|
|
765
765
|
"packageName": "@happyvertical/smrt-analytics",
|
|
766
766
|
"fields": {},
|
|
767
767
|
"methods": {
|
|
@@ -1063,7 +1063,7 @@
|
|
|
1063
1063
|
"className": "AnalyticsReportCollection",
|
|
1064
1064
|
"qualifiedName": "@happyvertical/smrt-analytics:AnalyticsReportCollection",
|
|
1065
1065
|
"collection": "analyticsreports",
|
|
1066
|
-
"filePath": "
|
|
1066
|
+
"filePath": "src/collections/AnalyticsReportCollection.ts",
|
|
1067
1067
|
"packageName": "@happyvertical/smrt-analytics",
|
|
1068
1068
|
"fields": {},
|
|
1069
1069
|
"methods": {
|
|
@@ -1399,23 +1399,26 @@
|
|
|
1399
1399
|
"qualifiedName": "@happyvertical/smrt-analytics:AnalyticsDataStream",
|
|
1400
1400
|
"collection": "analyticsdatastreams",
|
|
1401
1401
|
"description": "AnalyticsDataStream represents a data stream (web, iOS, Android) for an analytics property.",
|
|
1402
|
-
"filePath": "
|
|
1402
|
+
"filePath": "src/models/AnalyticsDataStream.ts",
|
|
1403
1403
|
"packageName": "@happyvertical/smrt-analytics",
|
|
1404
1404
|
"fields": {
|
|
1405
1405
|
"created_at": {
|
|
1406
1406
|
"type": "datetime",
|
|
1407
|
+
"_meta": {
|
|
1408
|
+
"__statedOptions": []
|
|
1409
|
+
},
|
|
1407
1410
|
"required": false
|
|
1408
1411
|
},
|
|
1409
1412
|
"updated_at": {
|
|
1410
1413
|
"type": "datetime",
|
|
1414
|
+
"_meta": {
|
|
1415
|
+
"__statedOptions": []
|
|
1416
|
+
},
|
|
1411
1417
|
"required": false
|
|
1412
1418
|
},
|
|
1413
1419
|
"tenantId": {
|
|
1414
1420
|
"type": "text",
|
|
1415
|
-
"required": false,
|
|
1416
1421
|
"_meta": {
|
|
1417
|
-
"sqlType": "UUID",
|
|
1418
|
-
"nullable": true,
|
|
1419
1422
|
"__tenancy": {
|
|
1420
1423
|
"isTenantIdField": true,
|
|
1421
1424
|
"autoFilter": true,
|
|
@@ -1425,21 +1428,46 @@
|
|
|
1425
1428
|
"mode": "optional",
|
|
1426
1429
|
"field": "tenantId",
|
|
1427
1430
|
"allowSuperAdminBypass": false
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1431
|
+
},
|
|
1432
|
+
"__statedOptions": [
|
|
1433
|
+
"sqlType",
|
|
1434
|
+
"nullable",
|
|
1435
|
+
"__tenancy",
|
|
1436
|
+
"required"
|
|
1437
|
+
],
|
|
1438
|
+
"sqlType": "UUID",
|
|
1439
|
+
"nullable": true,
|
|
1440
|
+
"required": false
|
|
1441
|
+
},
|
|
1442
|
+
"required": false
|
|
1430
1443
|
},
|
|
1431
1444
|
"propertyId": {
|
|
1432
1445
|
"type": "foreignKey",
|
|
1446
|
+
"_meta": {
|
|
1447
|
+
"__statedOptions": [
|
|
1448
|
+
"related"
|
|
1449
|
+
]
|
|
1450
|
+
},
|
|
1433
1451
|
"required": false,
|
|
1434
1452
|
"related": "AnalyticsProperty"
|
|
1435
1453
|
},
|
|
1436
1454
|
"displayName": {
|
|
1437
1455
|
"type": "text",
|
|
1456
|
+
"_meta": {
|
|
1457
|
+
"__statedOptions": [
|
|
1458
|
+
"default"
|
|
1459
|
+
]
|
|
1460
|
+
},
|
|
1438
1461
|
"required": false,
|
|
1439
1462
|
"default": ""
|
|
1440
1463
|
},
|
|
1441
1464
|
"streamType": {
|
|
1442
1465
|
"type": "text",
|
|
1466
|
+
"_meta": {
|
|
1467
|
+
"__statedOptions": [
|
|
1468
|
+
"enum"
|
|
1469
|
+
]
|
|
1470
|
+
},
|
|
1443
1471
|
"required": false,
|
|
1444
1472
|
"enum": [
|
|
1445
1473
|
"WEB_DATA_STREAM",
|
|
@@ -1449,36 +1477,71 @@
|
|
|
1449
1477
|
},
|
|
1450
1478
|
"externalId": {
|
|
1451
1479
|
"type": "text",
|
|
1480
|
+
"_meta": {
|
|
1481
|
+
"__statedOptions": [
|
|
1482
|
+
"default"
|
|
1483
|
+
]
|
|
1484
|
+
},
|
|
1452
1485
|
"required": false,
|
|
1453
1486
|
"default": ""
|
|
1454
1487
|
},
|
|
1455
1488
|
"measurementId": {
|
|
1456
1489
|
"type": "text",
|
|
1490
|
+
"_meta": {
|
|
1491
|
+
"__statedOptions": [
|
|
1492
|
+
"default"
|
|
1493
|
+
]
|
|
1494
|
+
},
|
|
1457
1495
|
"required": false,
|
|
1458
1496
|
"default": ""
|
|
1459
1497
|
},
|
|
1460
1498
|
"firebaseAppId": {
|
|
1461
1499
|
"type": "text",
|
|
1500
|
+
"_meta": {
|
|
1501
|
+
"__statedOptions": [
|
|
1502
|
+
"default"
|
|
1503
|
+
]
|
|
1504
|
+
},
|
|
1462
1505
|
"required": false,
|
|
1463
1506
|
"default": ""
|
|
1464
1507
|
},
|
|
1465
1508
|
"defaultUri": {
|
|
1466
1509
|
"type": "text",
|
|
1510
|
+
"_meta": {
|
|
1511
|
+
"__statedOptions": [
|
|
1512
|
+
"default"
|
|
1513
|
+
]
|
|
1514
|
+
},
|
|
1467
1515
|
"required": false,
|
|
1468
1516
|
"default": ""
|
|
1469
1517
|
},
|
|
1470
1518
|
"bundleId": {
|
|
1471
1519
|
"type": "text",
|
|
1520
|
+
"_meta": {
|
|
1521
|
+
"__statedOptions": [
|
|
1522
|
+
"default"
|
|
1523
|
+
]
|
|
1524
|
+
},
|
|
1472
1525
|
"required": false,
|
|
1473
1526
|
"default": ""
|
|
1474
1527
|
},
|
|
1475
1528
|
"packageName": {
|
|
1476
1529
|
"type": "text",
|
|
1530
|
+
"_meta": {
|
|
1531
|
+
"__statedOptions": [
|
|
1532
|
+
"default"
|
|
1533
|
+
]
|
|
1534
|
+
},
|
|
1477
1535
|
"required": false,
|
|
1478
1536
|
"default": ""
|
|
1479
1537
|
},
|
|
1480
1538
|
"status": {
|
|
1481
1539
|
"type": "text",
|
|
1540
|
+
"_meta": {
|
|
1541
|
+
"__statedOptions": [
|
|
1542
|
+
"enum"
|
|
1543
|
+
]
|
|
1544
|
+
},
|
|
1482
1545
|
"required": false,
|
|
1483
1546
|
"enum": [
|
|
1484
1547
|
"active",
|
|
@@ -1487,6 +1550,11 @@
|
|
|
1487
1550
|
},
|
|
1488
1551
|
"enhancedMeasurement": {
|
|
1489
1552
|
"type": "boolean",
|
|
1553
|
+
"_meta": {
|
|
1554
|
+
"__statedOptions": [
|
|
1555
|
+
"default"
|
|
1556
|
+
]
|
|
1557
|
+
},
|
|
1490
1558
|
"required": false,
|
|
1491
1559
|
"default": true
|
|
1492
1560
|
}
|
|
@@ -1715,23 +1783,26 @@
|
|
|
1715
1783
|
"qualifiedName": "@happyvertical/smrt-analytics:AnalyticsEvent",
|
|
1716
1784
|
"collection": "analyticsevents",
|
|
1717
1785
|
"description": "AnalyticsEvent represents a tracked analytics event (server-side tracking log).",
|
|
1718
|
-
"filePath": "
|
|
1786
|
+
"filePath": "src/models/AnalyticsEvent.ts",
|
|
1719
1787
|
"packageName": "@happyvertical/smrt-analytics",
|
|
1720
1788
|
"fields": {
|
|
1721
1789
|
"created_at": {
|
|
1722
1790
|
"type": "datetime",
|
|
1791
|
+
"_meta": {
|
|
1792
|
+
"__statedOptions": []
|
|
1793
|
+
},
|
|
1723
1794
|
"required": false
|
|
1724
1795
|
},
|
|
1725
1796
|
"updated_at": {
|
|
1726
1797
|
"type": "datetime",
|
|
1798
|
+
"_meta": {
|
|
1799
|
+
"__statedOptions": []
|
|
1800
|
+
},
|
|
1727
1801
|
"required": false
|
|
1728
1802
|
},
|
|
1729
1803
|
"tenantId": {
|
|
1730
1804
|
"type": "text",
|
|
1731
|
-
"required": false,
|
|
1732
1805
|
"_meta": {
|
|
1733
|
-
"sqlType": "UUID",
|
|
1734
|
-
"nullable": true,
|
|
1735
1806
|
"__tenancy": {
|
|
1736
1807
|
"isTenantIdField": true,
|
|
1737
1808
|
"autoFilter": true,
|
|
@@ -1741,40 +1812,83 @@
|
|
|
1741
1812
|
"mode": "optional",
|
|
1742
1813
|
"field": "tenantId",
|
|
1743
1814
|
"allowSuperAdminBypass": false
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1815
|
+
},
|
|
1816
|
+
"__statedOptions": [
|
|
1817
|
+
"sqlType",
|
|
1818
|
+
"nullable",
|
|
1819
|
+
"__tenancy",
|
|
1820
|
+
"required"
|
|
1821
|
+
],
|
|
1822
|
+
"sqlType": "UUID",
|
|
1823
|
+
"nullable": true,
|
|
1824
|
+
"required": false
|
|
1825
|
+
},
|
|
1826
|
+
"required": false
|
|
1746
1827
|
},
|
|
1747
1828
|
"propertyId": {
|
|
1748
1829
|
"type": "foreignKey",
|
|
1830
|
+
"_meta": {
|
|
1831
|
+
"__statedOptions": [
|
|
1832
|
+
"related"
|
|
1833
|
+
]
|
|
1834
|
+
},
|
|
1749
1835
|
"required": false,
|
|
1750
1836
|
"related": "AnalyticsProperty"
|
|
1751
1837
|
},
|
|
1752
1838
|
"eventName": {
|
|
1753
1839
|
"type": "text",
|
|
1840
|
+
"_meta": {
|
|
1841
|
+
"__statedOptions": [
|
|
1842
|
+
"default"
|
|
1843
|
+
]
|
|
1844
|
+
},
|
|
1754
1845
|
"required": false,
|
|
1755
1846
|
"default": ""
|
|
1756
1847
|
},
|
|
1757
1848
|
"clientId": {
|
|
1758
1849
|
"type": "text",
|
|
1850
|
+
"_meta": {
|
|
1851
|
+
"__statedOptions": [
|
|
1852
|
+
"default"
|
|
1853
|
+
]
|
|
1854
|
+
},
|
|
1759
1855
|
"required": false,
|
|
1760
1856
|
"default": ""
|
|
1761
1857
|
},
|
|
1762
1858
|
"userId": {
|
|
1763
1859
|
"type": "text",
|
|
1860
|
+
"_meta": {
|
|
1861
|
+
"__statedOptions": [
|
|
1862
|
+
"default"
|
|
1863
|
+
]
|
|
1864
|
+
},
|
|
1764
1865
|
"required": false,
|
|
1765
1866
|
"default": ""
|
|
1766
1867
|
},
|
|
1767
1868
|
"params": {
|
|
1768
1869
|
"type": "text",
|
|
1870
|
+
"_meta": {
|
|
1871
|
+
"__statedOptions": [
|
|
1872
|
+
"default"
|
|
1873
|
+
]
|
|
1874
|
+
},
|
|
1769
1875
|
"required": false,
|
|
1770
1876
|
"default": "{}"
|
|
1771
1877
|
},
|
|
1772
1878
|
"eventTimestamp": {
|
|
1773
1879
|
"type": "datetime",
|
|
1880
|
+
"_meta": {
|
|
1881
|
+
"__statedOptions": []
|
|
1882
|
+
},
|
|
1774
1883
|
"required": false
|
|
1775
1884
|
},
|
|
1776
1885
|
"status": {
|
|
1777
1886
|
"type": "text",
|
|
1887
|
+
"_meta": {
|
|
1888
|
+
"__statedOptions": [
|
|
1889
|
+
"enum"
|
|
1890
|
+
]
|
|
1891
|
+
},
|
|
1778
1892
|
"required": false,
|
|
1779
1893
|
"enum": [
|
|
1780
1894
|
"pending",
|
|
@@ -1784,45 +1898,88 @@
|
|
|
1784
1898
|
},
|
|
1785
1899
|
"sentAt": {
|
|
1786
1900
|
"type": "datetime",
|
|
1901
|
+
"_meta": {
|
|
1902
|
+
"__statedOptions": []
|
|
1903
|
+
},
|
|
1787
1904
|
"required": false
|
|
1788
1905
|
},
|
|
1789
1906
|
"errorMessage": {
|
|
1790
1907
|
"type": "text",
|
|
1908
|
+
"_meta": {
|
|
1909
|
+
"__statedOptions": [
|
|
1910
|
+
"default"
|
|
1911
|
+
]
|
|
1912
|
+
},
|
|
1791
1913
|
"required": false,
|
|
1792
1914
|
"default": ""
|
|
1793
1915
|
},
|
|
1794
1916
|
"retryCount": {
|
|
1795
1917
|
"type": "integer",
|
|
1918
|
+
"_meta": {
|
|
1919
|
+
"__statedOptions": [
|
|
1920
|
+
"default"
|
|
1921
|
+
]
|
|
1922
|
+
},
|
|
1796
1923
|
"required": false,
|
|
1797
1924
|
"default": 0
|
|
1798
1925
|
},
|
|
1799
1926
|
"nonPersonalizedAds": {
|
|
1800
1927
|
"type": "boolean",
|
|
1928
|
+
"_meta": {
|
|
1929
|
+
"__statedOptions": [
|
|
1930
|
+
"default"
|
|
1931
|
+
]
|
|
1932
|
+
},
|
|
1801
1933
|
"required": false,
|
|
1802
1934
|
"default": false
|
|
1803
1935
|
},
|
|
1804
1936
|
"sessionId": {
|
|
1805
1937
|
"type": "text",
|
|
1938
|
+
"_meta": {
|
|
1939
|
+
"__statedOptions": [
|
|
1940
|
+
"default"
|
|
1941
|
+
]
|
|
1942
|
+
},
|
|
1806
1943
|
"required": false,
|
|
1807
1944
|
"default": ""
|
|
1808
1945
|
},
|
|
1809
1946
|
"pagePath": {
|
|
1810
1947
|
"type": "text",
|
|
1948
|
+
"_meta": {
|
|
1949
|
+
"__statedOptions": [
|
|
1950
|
+
"default"
|
|
1951
|
+
]
|
|
1952
|
+
},
|
|
1811
1953
|
"required": false,
|
|
1812
1954
|
"default": ""
|
|
1813
1955
|
},
|
|
1814
1956
|
"pageTitle": {
|
|
1815
1957
|
"type": "text",
|
|
1958
|
+
"_meta": {
|
|
1959
|
+
"__statedOptions": [
|
|
1960
|
+
"default"
|
|
1961
|
+
]
|
|
1962
|
+
},
|
|
1816
1963
|
"required": false,
|
|
1817
1964
|
"default": ""
|
|
1818
1965
|
},
|
|
1819
1966
|
"userAgent": {
|
|
1820
1967
|
"type": "text",
|
|
1968
|
+
"_meta": {
|
|
1969
|
+
"__statedOptions": [
|
|
1970
|
+
"default"
|
|
1971
|
+
]
|
|
1972
|
+
},
|
|
1821
1973
|
"required": false,
|
|
1822
1974
|
"default": ""
|
|
1823
1975
|
},
|
|
1824
1976
|
"ipAddress": {
|
|
1825
1977
|
"type": "text",
|
|
1978
|
+
"_meta": {
|
|
1979
|
+
"__statedOptions": [
|
|
1980
|
+
"default"
|
|
1981
|
+
]
|
|
1982
|
+
},
|
|
1826
1983
|
"required": false,
|
|
1827
1984
|
"default": ""
|
|
1828
1985
|
}
|
|
@@ -2155,23 +2312,26 @@
|
|
|
2155
2312
|
"qualifiedName": "@happyvertical/smrt-analytics:AnalyticsProperty",
|
|
2156
2313
|
"collection": "analyticsproperties",
|
|
2157
2314
|
"description": "AnalyticsProperty represents an analytics property (GA4 property, Plausible site, or Matomo site).",
|
|
2158
|
-
"filePath": "
|
|
2315
|
+
"filePath": "src/models/AnalyticsProperty.ts",
|
|
2159
2316
|
"packageName": "@happyvertical/smrt-analytics",
|
|
2160
2317
|
"fields": {
|
|
2161
2318
|
"created_at": {
|
|
2162
2319
|
"type": "datetime",
|
|
2320
|
+
"_meta": {
|
|
2321
|
+
"__statedOptions": []
|
|
2322
|
+
},
|
|
2163
2323
|
"required": false
|
|
2164
2324
|
},
|
|
2165
2325
|
"updated_at": {
|
|
2166
2326
|
"type": "datetime",
|
|
2327
|
+
"_meta": {
|
|
2328
|
+
"__statedOptions": []
|
|
2329
|
+
},
|
|
2167
2330
|
"required": false
|
|
2168
2331
|
},
|
|
2169
2332
|
"tenantId": {
|
|
2170
2333
|
"type": "text",
|
|
2171
|
-
"required": false,
|
|
2172
2334
|
"_meta": {
|
|
2173
|
-
"sqlType": "UUID",
|
|
2174
|
-
"nullable": true,
|
|
2175
2335
|
"__tenancy": {
|
|
2176
2336
|
"isTenantIdField": true,
|
|
2177
2337
|
"autoFilter": true,
|
|
@@ -2181,30 +2341,53 @@
|
|
|
2181
2341
|
"mode": "optional",
|
|
2182
2342
|
"field": "tenantId",
|
|
2183
2343
|
"allowSuperAdminBypass": false
|
|
2184
|
-
}
|
|
2185
|
-
|
|
2344
|
+
},
|
|
2345
|
+
"__statedOptions": [
|
|
2346
|
+
"sqlType",
|
|
2347
|
+
"nullable",
|
|
2348
|
+
"__tenancy",
|
|
2349
|
+
"required"
|
|
2350
|
+
],
|
|
2351
|
+
"sqlType": "UUID",
|
|
2352
|
+
"nullable": true,
|
|
2353
|
+
"required": false
|
|
2354
|
+
},
|
|
2355
|
+
"required": false
|
|
2186
2356
|
},
|
|
2187
2357
|
"name": {
|
|
2188
2358
|
"type": "text",
|
|
2359
|
+
"_meta": {
|
|
2360
|
+
"__statedOptions": [
|
|
2361
|
+
"default"
|
|
2362
|
+
]
|
|
2363
|
+
},
|
|
2189
2364
|
"required": false,
|
|
2190
2365
|
"default": ""
|
|
2191
2366
|
},
|
|
2192
2367
|
"displayName": {
|
|
2193
2368
|
"type": "text",
|
|
2194
|
-
"required": false,
|
|
2195
|
-
"default": "",
|
|
2196
|
-
"description": "The name people see for this website or app.",
|
|
2197
2369
|
"_meta": {
|
|
2370
|
+
"__statedOptions": [
|
|
2371
|
+
"description",
|
|
2372
|
+
"default"
|
|
2373
|
+
],
|
|
2198
2374
|
"description": "The name people see for this website or app."
|
|
2199
|
-
}
|
|
2375
|
+
},
|
|
2376
|
+
"required": false,
|
|
2377
|
+
"default": "",
|
|
2378
|
+
"description": "The name people see for this website or app."
|
|
2200
2379
|
},
|
|
2201
2380
|
"provider": {
|
|
2202
2381
|
"type": "text",
|
|
2203
|
-
"required": false,
|
|
2204
|
-
"description": "Which analytics service tracks it: Google Analytics 4, Plausible or Matomo.",
|
|
2205
2382
|
"_meta": {
|
|
2383
|
+
"__statedOptions": [
|
|
2384
|
+
"description",
|
|
2385
|
+
"enum"
|
|
2386
|
+
],
|
|
2206
2387
|
"description": "Which analytics service tracks it: Google Analytics 4, Plausible or Matomo."
|
|
2207
2388
|
},
|
|
2389
|
+
"required": false,
|
|
2390
|
+
"description": "Which analytics service tracks it: Google Analytics 4, Plausible or Matomo.",
|
|
2208
2391
|
"enum": [
|
|
2209
2392
|
"ga4",
|
|
2210
2393
|
"plausible",
|
|
@@ -2213,77 +2396,116 @@
|
|
|
2213
2396
|
},
|
|
2214
2397
|
"externalId": {
|
|
2215
2398
|
"type": "text",
|
|
2216
|
-
"required": false,
|
|
2217
|
-
"default": "",
|
|
2218
|
-
"description": "The id the analytics service gives the property, such as properties/123456789 or a Matomo site id.",
|
|
2219
2399
|
"_meta": {
|
|
2400
|
+
"__statedOptions": [
|
|
2401
|
+
"description",
|
|
2402
|
+
"default"
|
|
2403
|
+
],
|
|
2220
2404
|
"description": "The id the analytics service gives the property, such as properties/123456789 or a Matomo site id."
|
|
2221
|
-
}
|
|
2405
|
+
},
|
|
2406
|
+
"required": false,
|
|
2407
|
+
"default": "",
|
|
2408
|
+
"description": "The id the analytics service gives the property, such as properties/123456789 or a Matomo site id."
|
|
2222
2409
|
},
|
|
2223
2410
|
"measurementId": {
|
|
2224
2411
|
"type": "text",
|
|
2225
|
-
"required": false,
|
|
2226
|
-
"default": "",
|
|
2227
|
-
"description": "The tracking id for a web stream, such as G-XXXXXXXXXX.",
|
|
2228
2412
|
"_meta": {
|
|
2413
|
+
"__statedOptions": [
|
|
2414
|
+
"description",
|
|
2415
|
+
"default"
|
|
2416
|
+
],
|
|
2229
2417
|
"description": "The tracking id for a web stream, such as G-XXXXXXXXXX."
|
|
2230
|
-
}
|
|
2418
|
+
},
|
|
2419
|
+
"required": false,
|
|
2420
|
+
"default": "",
|
|
2421
|
+
"description": "The tracking id for a web stream, such as G-XXXXXXXXXX."
|
|
2231
2422
|
},
|
|
2232
2423
|
"apiSecret": {
|
|
2233
2424
|
"type": "text",
|
|
2425
|
+
"_meta": {
|
|
2426
|
+
"__statedOptions": [
|
|
2427
|
+
"sensitive",
|
|
2428
|
+
"description",
|
|
2429
|
+
"default"
|
|
2430
|
+
],
|
|
2431
|
+
"description": "The secret key your analytics service issues for this property. It is kept out of responses and tool results, but it is not encrypted in the database.",
|
|
2432
|
+
"sensitive": true
|
|
2433
|
+
},
|
|
2234
2434
|
"required": false,
|
|
2235
2435
|
"default": "",
|
|
2236
2436
|
"description": "The secret key your analytics service issues for this property. It is kept out of responses and tool results, but it is not encrypted in the database.",
|
|
2237
|
-
"_meta": {
|
|
2238
|
-
"sensitive": true,
|
|
2239
|
-
"description": "The secret key your analytics service issues for this property. It is kept out of responses and tool results, but it is not encrypted in the database."
|
|
2240
|
-
},
|
|
2241
2437
|
"sensitive": true
|
|
2242
2438
|
},
|
|
2243
2439
|
"siteDomain": {
|
|
2244
2440
|
"type": "text",
|
|
2245
|
-
"required": false,
|
|
2246
|
-
"default": "",
|
|
2247
|
-
"description": "The website address, used by Plausible and Matomo.",
|
|
2248
2441
|
"_meta": {
|
|
2442
|
+
"__statedOptions": [
|
|
2443
|
+
"description",
|
|
2444
|
+
"default"
|
|
2445
|
+
],
|
|
2249
2446
|
"description": "The website address, used by Plausible and Matomo."
|
|
2250
|
-
}
|
|
2447
|
+
},
|
|
2448
|
+
"required": false,
|
|
2449
|
+
"default": "",
|
|
2450
|
+
"description": "The website address, used by Plausible and Matomo."
|
|
2251
2451
|
},
|
|
2252
2452
|
"timeZone": {
|
|
2253
2453
|
"type": "text",
|
|
2254
|
-
"required": false,
|
|
2255
|
-
"default": "America/Los_Angeles",
|
|
2256
|
-
"description": "The time zone the figures are reported in.",
|
|
2257
2454
|
"_meta": {
|
|
2455
|
+
"__statedOptions": [
|
|
2456
|
+
"description",
|
|
2457
|
+
"default"
|
|
2458
|
+
],
|
|
2258
2459
|
"description": "The time zone the figures are reported in."
|
|
2259
|
-
}
|
|
2460
|
+
},
|
|
2461
|
+
"required": false,
|
|
2462
|
+
"default": "America/Los_Angeles",
|
|
2463
|
+
"description": "The time zone the figures are reported in."
|
|
2260
2464
|
},
|
|
2261
2465
|
"currencyCode": {
|
|
2262
2466
|
"type": "text",
|
|
2263
|
-
"required": false,
|
|
2264
|
-
"default": "USD",
|
|
2265
|
-
"description": "The currency used for revenue figures, such as USD.",
|
|
2266
2467
|
"_meta": {
|
|
2468
|
+
"__statedOptions": [
|
|
2469
|
+
"description",
|
|
2470
|
+
"default"
|
|
2471
|
+
],
|
|
2267
2472
|
"description": "The currency used for revenue figures, such as USD."
|
|
2268
|
-
}
|
|
2473
|
+
},
|
|
2474
|
+
"required": false,
|
|
2475
|
+
"default": "USD",
|
|
2476
|
+
"description": "The currency used for revenue figures, such as USD."
|
|
2269
2477
|
},
|
|
2270
2478
|
"industryCategory": {
|
|
2271
2479
|
"type": "text",
|
|
2480
|
+
"_meta": {
|
|
2481
|
+
"__statedOptions": [
|
|
2482
|
+
"default"
|
|
2483
|
+
]
|
|
2484
|
+
},
|
|
2272
2485
|
"required": false,
|
|
2273
2486
|
"default": ""
|
|
2274
2487
|
},
|
|
2275
2488
|
"serviceLevel": {
|
|
2276
2489
|
"type": "text",
|
|
2490
|
+
"_meta": {
|
|
2491
|
+
"__statedOptions": [
|
|
2492
|
+
"default"
|
|
2493
|
+
]
|
|
2494
|
+
},
|
|
2277
2495
|
"required": false,
|
|
2278
2496
|
"default": "STANDARD"
|
|
2279
2497
|
},
|
|
2280
2498
|
"status": {
|
|
2281
2499
|
"type": "text",
|
|
2282
|
-
"required": false,
|
|
2283
|
-
"description": "Whether tracking is active, inactive or still being set up.",
|
|
2284
2500
|
"_meta": {
|
|
2501
|
+
"__statedOptions": [
|
|
2502
|
+
"description",
|
|
2503
|
+
"enum"
|
|
2504
|
+
],
|
|
2285
2505
|
"description": "Whether tracking is active, inactive or still being set up."
|
|
2286
2506
|
},
|
|
2507
|
+
"required": false,
|
|
2508
|
+
"description": "Whether tracking is active, inactive or still being set up.",
|
|
2287
2509
|
"enum": [
|
|
2288
2510
|
"active",
|
|
2289
2511
|
"inactive",
|
|
@@ -2292,21 +2514,29 @@
|
|
|
2292
2514
|
},
|
|
2293
2515
|
"lastSyncAt": {
|
|
2294
2516
|
"type": "datetime",
|
|
2295
|
-
"required": false,
|
|
2296
|
-
"description": "When the property was last synced with the analytics service.",
|
|
2297
2517
|
"_meta": {
|
|
2518
|
+
"__statedOptions": [
|
|
2519
|
+
"description"
|
|
2520
|
+
],
|
|
2298
2521
|
"description": "When the property was last synced with the analytics service."
|
|
2299
|
-
}
|
|
2522
|
+
},
|
|
2523
|
+
"required": false,
|
|
2524
|
+
"description": "When the property was last synced with the analytics service."
|
|
2300
2525
|
},
|
|
2301
2526
|
"providerMetadata": {
|
|
2302
2527
|
"type": "text",
|
|
2528
|
+
"_meta": {
|
|
2529
|
+
"__statedOptions": [
|
|
2530
|
+
"sensitive",
|
|
2531
|
+
"description",
|
|
2532
|
+
"default"
|
|
2533
|
+
],
|
|
2534
|
+
"description": "Extra connection details from your analytics service. They are kept out of responses and tool results, but they are not encrypted in the database.",
|
|
2535
|
+
"sensitive": true
|
|
2536
|
+
},
|
|
2303
2537
|
"required": false,
|
|
2304
2538
|
"default": "{}",
|
|
2305
2539
|
"description": "Extra connection details from your analytics service. They are kept out of responses and tool results, but they are not encrypted in the database.",
|
|
2306
|
-
"_meta": {
|
|
2307
|
-
"sensitive": true,
|
|
2308
|
-
"description": "Extra connection details from your analytics service. They are kept out of responses and tool results, but they are not encrypted in the database."
|
|
2309
|
-
},
|
|
2310
2540
|
"sensitive": true
|
|
2311
2541
|
}
|
|
2312
2542
|
},
|
|
@@ -2578,23 +2808,26 @@
|
|
|
2578
2808
|
"qualifiedName": "@happyvertical/smrt-analytics:AnalyticsReport",
|
|
2579
2809
|
"collection": "analyticsreports",
|
|
2580
2810
|
"description": "AnalyticsReport represents a saved report configuration with optional scheduling.",
|
|
2581
|
-
"filePath": "
|
|
2811
|
+
"filePath": "src/models/AnalyticsReport.ts",
|
|
2582
2812
|
"packageName": "@happyvertical/smrt-analytics",
|
|
2583
2813
|
"fields": {
|
|
2584
2814
|
"created_at": {
|
|
2585
2815
|
"type": "datetime",
|
|
2816
|
+
"_meta": {
|
|
2817
|
+
"__statedOptions": []
|
|
2818
|
+
},
|
|
2586
2819
|
"required": false
|
|
2587
2820
|
},
|
|
2588
2821
|
"updated_at": {
|
|
2589
2822
|
"type": "datetime",
|
|
2823
|
+
"_meta": {
|
|
2824
|
+
"__statedOptions": []
|
|
2825
|
+
},
|
|
2590
2826
|
"required": false
|
|
2591
2827
|
},
|
|
2592
2828
|
"tenantId": {
|
|
2593
2829
|
"type": "text",
|
|
2594
|
-
"required": false,
|
|
2595
2830
|
"_meta": {
|
|
2596
|
-
"sqlType": "UUID",
|
|
2597
|
-
"nullable": true,
|
|
2598
2831
|
"__tenancy": {
|
|
2599
2832
|
"isTenantIdField": true,
|
|
2600
2833
|
"autoFilter": true,
|
|
@@ -2604,98 +2837,161 @@
|
|
|
2604
2837
|
"mode": "optional",
|
|
2605
2838
|
"field": "tenantId",
|
|
2606
2839
|
"allowSuperAdminBypass": false
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2840
|
+
},
|
|
2841
|
+
"__statedOptions": [
|
|
2842
|
+
"sqlType",
|
|
2843
|
+
"nullable",
|
|
2844
|
+
"__tenancy",
|
|
2845
|
+
"required"
|
|
2846
|
+
],
|
|
2847
|
+
"sqlType": "UUID",
|
|
2848
|
+
"nullable": true,
|
|
2849
|
+
"required": false
|
|
2850
|
+
},
|
|
2851
|
+
"required": false
|
|
2609
2852
|
},
|
|
2610
2853
|
"propertyId": {
|
|
2611
2854
|
"type": "foreignKey",
|
|
2612
|
-
"required": false,
|
|
2613
|
-
"related": "AnalyticsProperty",
|
|
2614
2855
|
"_meta": {
|
|
2856
|
+
"__statedOptions": [
|
|
2857
|
+
"description",
|
|
2858
|
+
"related"
|
|
2859
|
+
],
|
|
2615
2860
|
"description": "The website or app this report is about."
|
|
2616
|
-
}
|
|
2861
|
+
},
|
|
2862
|
+
"required": false,
|
|
2863
|
+
"related": "AnalyticsProperty",
|
|
2864
|
+
"description": "The website or app this report is about."
|
|
2617
2865
|
},
|
|
2618
2866
|
"name": {
|
|
2619
2867
|
"type": "text",
|
|
2620
|
-
"required": false,
|
|
2621
|
-
"default": "",
|
|
2622
|
-
"description": "A short name for the report, such as Weekly traffic.",
|
|
2623
2868
|
"_meta": {
|
|
2869
|
+
"__statedOptions": [
|
|
2870
|
+
"description",
|
|
2871
|
+
"default"
|
|
2872
|
+
],
|
|
2624
2873
|
"description": "A short name for the report, such as Weekly traffic."
|
|
2625
|
-
}
|
|
2874
|
+
},
|
|
2875
|
+
"required": false,
|
|
2876
|
+
"default": "",
|
|
2877
|
+
"description": "A short name for the report, such as Weekly traffic."
|
|
2626
2878
|
},
|
|
2627
2879
|
"description": {
|
|
2628
2880
|
"type": "text",
|
|
2629
|
-
"required": false,
|
|
2630
|
-
"default": "",
|
|
2631
|
-
"description": "What the report is for.",
|
|
2632
2881
|
"_meta": {
|
|
2882
|
+
"__statedOptions": [
|
|
2883
|
+
"description",
|
|
2884
|
+
"default"
|
|
2885
|
+
],
|
|
2633
2886
|
"description": "What the report is for."
|
|
2634
|
-
}
|
|
2887
|
+
},
|
|
2888
|
+
"required": false,
|
|
2889
|
+
"default": "",
|
|
2890
|
+
"description": "What the report is for."
|
|
2635
2891
|
},
|
|
2636
2892
|
"dimensions": {
|
|
2637
2893
|
"type": "text",
|
|
2638
|
-
"required": false,
|
|
2639
|
-
"default": "[]",
|
|
2640
|
-
"description": "What to break the figures down by, such as country or device, as a list.",
|
|
2641
2894
|
"_meta": {
|
|
2895
|
+
"__statedOptions": [
|
|
2896
|
+
"description",
|
|
2897
|
+
"default"
|
|
2898
|
+
],
|
|
2642
2899
|
"description": "What to break the figures down by, such as country or device, as a list."
|
|
2643
|
-
}
|
|
2900
|
+
},
|
|
2901
|
+
"required": false,
|
|
2902
|
+
"default": "[]",
|
|
2903
|
+
"description": "What to break the figures down by, such as country or device, as a list."
|
|
2644
2904
|
},
|
|
2645
2905
|
"metrics": {
|
|
2646
2906
|
"type": "text",
|
|
2647
|
-
"required": false,
|
|
2648
|
-
"default": "[]",
|
|
2649
|
-
"description": "What to count, such as active users or sessions, as a list.",
|
|
2650
2907
|
"_meta": {
|
|
2908
|
+
"__statedOptions": [
|
|
2909
|
+
"description",
|
|
2910
|
+
"default"
|
|
2911
|
+
],
|
|
2651
2912
|
"description": "What to count, such as active users or sessions, as a list."
|
|
2652
|
-
}
|
|
2913
|
+
},
|
|
2914
|
+
"required": false,
|
|
2915
|
+
"default": "[]",
|
|
2916
|
+
"description": "What to count, such as active users or sessions, as a list."
|
|
2653
2917
|
},
|
|
2654
2918
|
"dateRangeStart": {
|
|
2655
2919
|
"type": "text",
|
|
2656
|
-
"required": false,
|
|
2657
|
-
"default": "7daysAgo",
|
|
2658
|
-
"description": "Where the period begins: a date, or a relative value such as 7daysAgo.",
|
|
2659
2920
|
"_meta": {
|
|
2921
|
+
"__statedOptions": [
|
|
2922
|
+
"description",
|
|
2923
|
+
"default"
|
|
2924
|
+
],
|
|
2660
2925
|
"description": "Where the period begins: a date, or a relative value such as 7daysAgo."
|
|
2661
|
-
}
|
|
2926
|
+
},
|
|
2927
|
+
"required": false,
|
|
2928
|
+
"default": "7daysAgo",
|
|
2929
|
+
"description": "Where the period begins: a date, or a relative value such as 7daysAgo."
|
|
2662
2930
|
},
|
|
2663
2931
|
"dateRangeEnd": {
|
|
2664
2932
|
"type": "text",
|
|
2665
|
-
"required": false,
|
|
2666
|
-
"default": "today",
|
|
2667
|
-
"description": "Where the period ends: a date, or a relative value such as today.",
|
|
2668
2933
|
"_meta": {
|
|
2934
|
+
"__statedOptions": [
|
|
2935
|
+
"description",
|
|
2936
|
+
"default"
|
|
2937
|
+
],
|
|
2669
2938
|
"description": "Where the period ends: a date, or a relative value such as today."
|
|
2670
|
-
}
|
|
2939
|
+
},
|
|
2940
|
+
"required": false,
|
|
2941
|
+
"default": "today",
|
|
2942
|
+
"description": "Where the period ends: a date, or a relative value such as today."
|
|
2671
2943
|
},
|
|
2672
2944
|
"dimensionFilter": {
|
|
2673
2945
|
"type": "text",
|
|
2946
|
+
"_meta": {
|
|
2947
|
+
"__statedOptions": [
|
|
2948
|
+
"default"
|
|
2949
|
+
]
|
|
2950
|
+
},
|
|
2674
2951
|
"required": false,
|
|
2675
2952
|
"default": ""
|
|
2676
2953
|
},
|
|
2677
2954
|
"metricFilter": {
|
|
2678
2955
|
"type": "text",
|
|
2956
|
+
"_meta": {
|
|
2957
|
+
"__statedOptions": [
|
|
2958
|
+
"default"
|
|
2959
|
+
]
|
|
2960
|
+
},
|
|
2679
2961
|
"required": false,
|
|
2680
2962
|
"default": ""
|
|
2681
2963
|
},
|
|
2682
2964
|
"orderBy": {
|
|
2683
2965
|
"type": "text",
|
|
2966
|
+
"_meta": {
|
|
2967
|
+
"__statedOptions": [
|
|
2968
|
+
"default"
|
|
2969
|
+
]
|
|
2970
|
+
},
|
|
2684
2971
|
"required": false,
|
|
2685
2972
|
"default": "[]"
|
|
2686
2973
|
},
|
|
2687
2974
|
"maxResults": {
|
|
2688
2975
|
"type": "integer",
|
|
2976
|
+
"_meta": {
|
|
2977
|
+
"__statedOptions": [
|
|
2978
|
+
"default"
|
|
2979
|
+
]
|
|
2980
|
+
},
|
|
2689
2981
|
"required": false,
|
|
2690
2982
|
"default": 0
|
|
2691
2983
|
},
|
|
2692
2984
|
"status": {
|
|
2693
2985
|
"type": "text",
|
|
2694
|
-
"required": false,
|
|
2695
|
-
"description": "Where the report stands: draft, scheduled, running, completed or failed.",
|
|
2696
2986
|
"_meta": {
|
|
2987
|
+
"__statedOptions": [
|
|
2988
|
+
"description",
|
|
2989
|
+
"enum"
|
|
2990
|
+
],
|
|
2697
2991
|
"description": "Where the report stands: draft, scheduled, running, completed or failed."
|
|
2698
2992
|
},
|
|
2993
|
+
"required": false,
|
|
2994
|
+
"description": "Where the report stands: draft, scheduled, running, completed or failed.",
|
|
2699
2995
|
"enum": [
|
|
2700
2996
|
"draft",
|
|
2701
2997
|
"scheduled",
|
|
@@ -2706,11 +3002,15 @@
|
|
|
2706
3002
|
},
|
|
2707
3003
|
"frequency": {
|
|
2708
3004
|
"type": "text",
|
|
2709
|
-
"required": false,
|
|
2710
|
-
"description": "How often the report repeats: once, daily, weekly or monthly.",
|
|
2711
3005
|
"_meta": {
|
|
3006
|
+
"__statedOptions": [
|
|
3007
|
+
"description",
|
|
3008
|
+
"enum"
|
|
3009
|
+
],
|
|
2712
3010
|
"description": "How often the report repeats: once, daily, weekly or monthly."
|
|
2713
3011
|
},
|
|
3012
|
+
"required": false,
|
|
3013
|
+
"description": "How often the report repeats: once, daily, weekly or monthly.",
|
|
2714
3014
|
"enum": [
|
|
2715
3015
|
"once",
|
|
2716
3016
|
"daily",
|
|
@@ -2720,42 +3020,61 @@
|
|
|
2720
3020
|
},
|
|
2721
3021
|
"lastRunAt": {
|
|
2722
3022
|
"type": "datetime",
|
|
2723
|
-
"required": false,
|
|
2724
|
-
"description": "When the report last ran.",
|
|
2725
3023
|
"_meta": {
|
|
3024
|
+
"__statedOptions": [
|
|
3025
|
+
"description"
|
|
3026
|
+
],
|
|
2726
3027
|
"description": "When the report last ran."
|
|
2727
|
-
}
|
|
3028
|
+
},
|
|
3029
|
+
"required": false,
|
|
3030
|
+
"description": "When the report last ran."
|
|
2728
3031
|
},
|
|
2729
3032
|
"nextRunAt": {
|
|
2730
3033
|
"type": "datetime",
|
|
2731
|
-
"required": false,
|
|
2732
|
-
"description": "When the report is next due to run.",
|
|
2733
3034
|
"_meta": {
|
|
3035
|
+
"__statedOptions": [
|
|
3036
|
+
"description"
|
|
3037
|
+
],
|
|
2734
3038
|
"description": "When the report is next due to run."
|
|
2735
|
-
}
|
|
3039
|
+
},
|
|
3040
|
+
"required": false,
|
|
3041
|
+
"description": "When the report is next due to run."
|
|
2736
3042
|
},
|
|
2737
3043
|
"resultData": {
|
|
2738
3044
|
"type": "text",
|
|
3045
|
+
"_meta": {
|
|
3046
|
+
"__statedOptions": [
|
|
3047
|
+
"default"
|
|
3048
|
+
]
|
|
3049
|
+
},
|
|
2739
3050
|
"required": false,
|
|
2740
3051
|
"default": ""
|
|
2741
3052
|
},
|
|
2742
3053
|
"rowCount": {
|
|
2743
3054
|
"type": "integer",
|
|
2744
|
-
"required": false,
|
|
2745
|
-
"default": 0,
|
|
2746
|
-
"description": "How many rows the last run returned.",
|
|
2747
3055
|
"_meta": {
|
|
3056
|
+
"__statedOptions": [
|
|
3057
|
+
"description",
|
|
3058
|
+
"default"
|
|
3059
|
+
],
|
|
2748
3060
|
"description": "How many rows the last run returned."
|
|
2749
|
-
}
|
|
3061
|
+
},
|
|
3062
|
+
"required": false,
|
|
3063
|
+
"default": 0,
|
|
3064
|
+
"description": "How many rows the last run returned."
|
|
2750
3065
|
},
|
|
2751
3066
|
"lastError": {
|
|
2752
3067
|
"type": "text",
|
|
2753
|
-
"required": false,
|
|
2754
|
-
"default": "",
|
|
2755
|
-
"description": "Why the last run failed. Empty when it worked.",
|
|
2756
3068
|
"_meta": {
|
|
3069
|
+
"__statedOptions": [
|
|
3070
|
+
"description",
|
|
3071
|
+
"default"
|
|
3072
|
+
],
|
|
2757
3073
|
"description": "Why the last run failed. Empty when it worked."
|
|
2758
|
-
}
|
|
3074
|
+
},
|
|
3075
|
+
"required": false,
|
|
3076
|
+
"default": "",
|
|
3077
|
+
"description": "Why the last run failed. Empty when it worked."
|
|
2759
3078
|
}
|
|
2760
3079
|
},
|
|
2761
3080
|
"methods": {
|
|
@@ -3263,5 +3582,6 @@
|
|
|
3263
3582
|
"@happyvertical/smrt-tenancy"
|
|
3264
3583
|
]
|
|
3265
3584
|
},
|
|
3585
|
+
"schemaFingerprint": "375d2d0daf8da93f0263a5054ce007b89461a0890afd3251825decc19b60ee2a",
|
|
3266
3586
|
"stampsConstructors": true
|
|
3267
3587
|
}
|