glitch-javascript-sdk 1.8.4 → 1.8.6

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.
@@ -0,0 +1,49 @@
1
+ import Route from "./interface";
2
+ import HTTP_METHODS from "../constants/HttpMethods";
3
+
4
+ class FingerprintingRoute {
5
+ public static routes: { [key: string]: Route } = {
6
+ listFingerprints: {
7
+ url: '/reports/fingerprinting/fingerprints',
8
+ method: HTTP_METHODS.GET
9
+ },
10
+ userJourneyReport: {
11
+ url: '/reports/fingerprinting/user-journeys',
12
+ method: HTTP_METHODS.GET
13
+ },
14
+ attributionReport: {
15
+ url: '/reports/fingerprinting/attribution',
16
+ method: HTTP_METHODS.GET
17
+ },
18
+ deviceClusterReport: {
19
+ url: '/reports/fingerprinting/device-clusters',
20
+ method: HTTP_METHODS.GET
21
+ },
22
+ identityClusterReport: {
23
+ url: '/reports/fingerprinting/identity-clusters',
24
+ method: HTTP_METHODS.GET
25
+ },
26
+ attributionFunnelReport: {
27
+ url: '/reports/fingerprinting/attribution-funnel',
28
+ method: HTTP_METHODS.GET
29
+ },
30
+ deviceEnvironmentReport: {
31
+ url: '/reports/fingerprinting/device-environment',
32
+ method: HTTP_METHODS.GET
33
+ },
34
+ uniqueReturningReport: {
35
+ url: '/reports/fingerprinting/unique-returning',
36
+ method: HTTP_METHODS.GET
37
+ },
38
+ fraudDetectionReport: {
39
+ url: '/reports/fingerprinting/fraud-detection',
40
+ method: HTTP_METHODS.GET
41
+ },
42
+ geolocationReport: {
43
+ url: '/reports/fingerprinting/geolocation',
44
+ method: HTTP_METHODS.GET
45
+ }
46
+ };
47
+ }
48
+
49
+ export default FingerprintingRoute;