glitch-javascript-sdk 2.1.0 → 2.1.1
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 +35 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Fingerprinting.d.ts +22 -0
- package/dist/esm/index.js +35 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +22 -0
- package/package.json +1 -1
- package/src/api/Fingerprinting.ts +39 -0
- package/src/routes/FingerprintingRoute.ts +9 -1
|
@@ -128,5 +128,27 @@ declare class Fingerprinting {
|
|
|
128
128
|
* @returns Promise with geolocation report data
|
|
129
129
|
*/
|
|
130
130
|
static geolocationReport<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
|
|
131
|
+
/**
|
|
132
|
+
* Get pixel and utem reports
|
|
133
|
+
*
|
|
134
|
+
* @param params Report options:
|
|
135
|
+
* - title_id: string - Required title ID
|
|
136
|
+
* - start_date?: string - Start date (YYYY-MM-DD)
|
|
137
|
+
* - end_date?: string - End date (YYYY-MM-DD)
|
|
138
|
+
* - group_by?: 'country'|'region'|'city' - Grouping level
|
|
139
|
+
* @returns Promise with geolocation report data
|
|
140
|
+
*/
|
|
141
|
+
static pixelAttributionReport<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
|
|
142
|
+
/**
|
|
143
|
+
* Get an understanding of the path people take to install your game
|
|
144
|
+
*
|
|
145
|
+
* @param params Report options:
|
|
146
|
+
* - title_id: string - Required title ID
|
|
147
|
+
* - start_date?: string - Start date (YYYY-MM-DD)
|
|
148
|
+
* - end_date?: string - End date (YYYY-MM-DD)
|
|
149
|
+
* - group_by?: 'country'|'region'|'city' - Grouping level
|
|
150
|
+
* @returns Promise with geolocation report data
|
|
151
|
+
*/
|
|
152
|
+
static installJourneyReport<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
|
|
131
153
|
}
|
|
132
154
|
export default Fingerprinting;
|
package/dist/esm/index.js
CHANGED
|
@@ -9728,7 +9728,15 @@ var FingerprintingRoute = /** @class */ (function () {
|
|
|
9728
9728
|
geolocationReport: {
|
|
9729
9729
|
url: '/reports/fingerprinting/geolocation',
|
|
9730
9730
|
method: HTTP_METHODS.GET
|
|
9731
|
-
}
|
|
9731
|
+
},
|
|
9732
|
+
pixelAttributionReport: {
|
|
9733
|
+
url: '/reports/fingerprinting/pixel-attribution',
|
|
9734
|
+
method: HTTP_METHODS.GET
|
|
9735
|
+
},
|
|
9736
|
+
installJourneyReport: {
|
|
9737
|
+
url: '/reports/fingerprinting/install-journey',
|
|
9738
|
+
method: HTTP_METHODS.GET
|
|
9739
|
+
},
|
|
9732
9740
|
};
|
|
9733
9741
|
return FingerprintingRoute;
|
|
9734
9742
|
}());
|
|
@@ -9883,6 +9891,32 @@ var Fingerprinting = /** @class */ (function () {
|
|
|
9883
9891
|
Fingerprinting.geolocationReport = function (params) {
|
|
9884
9892
|
return Requests.processRoute(FingerprintingRoute.routes.geolocationReport, {}, undefined, params);
|
|
9885
9893
|
};
|
|
9894
|
+
/**
|
|
9895
|
+
* Get pixel and utem reports
|
|
9896
|
+
*
|
|
9897
|
+
* @param params Report options:
|
|
9898
|
+
* - title_id: string - Required title ID
|
|
9899
|
+
* - start_date?: string - Start date (YYYY-MM-DD)
|
|
9900
|
+
* - end_date?: string - End date (YYYY-MM-DD)
|
|
9901
|
+
* - group_by?: 'country'|'region'|'city' - Grouping level
|
|
9902
|
+
* @returns Promise with geolocation report data
|
|
9903
|
+
*/
|
|
9904
|
+
Fingerprinting.pixelAttributionReport = function (params) {
|
|
9905
|
+
return Requests.processRoute(FingerprintingRoute.routes.pixelAttributionReport, {}, undefined, params);
|
|
9906
|
+
};
|
|
9907
|
+
/**
|
|
9908
|
+
* Get an understanding of the path people take to install your game
|
|
9909
|
+
*
|
|
9910
|
+
* @param params Report options:
|
|
9911
|
+
* - title_id: string - Required title ID
|
|
9912
|
+
* - start_date?: string - Start date (YYYY-MM-DD)
|
|
9913
|
+
* - end_date?: string - End date (YYYY-MM-DD)
|
|
9914
|
+
* - group_by?: 'country'|'region'|'city' - Grouping level
|
|
9915
|
+
* @returns Promise with geolocation report data
|
|
9916
|
+
*/
|
|
9917
|
+
Fingerprinting.installJourneyReport = function (params) {
|
|
9918
|
+
return Requests.processRoute(FingerprintingRoute.routes.installJourneyReport, {}, undefined, params);
|
|
9919
|
+
};
|
|
9886
9920
|
return Fingerprinting;
|
|
9887
9921
|
}());
|
|
9888
9922
|
|