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.
- package/dist/cjs/index.js +232 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Ads.d.ts +17 -0
- package/dist/esm/api/Fingerprinting.d.ts +132 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +232 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/routes/FingerprintingRoute.d.ts +7 -0
- package/dist/index.d.ts +148 -0
- package/package.json +1 -1
- package/src/api/Ads.ts +119 -79
- package/src/api/Fingerprinting.ts +215 -0
- package/src/api/index.ts +3 -1
- package/src/index.ts +3 -1
- package/src/routes/AdsRoute.ts +9 -0
- package/src/routes/FingerprintingRoute.ts +49 -0
|
@@ -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;
|