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 CHANGED
@@ -22912,7 +22912,15 @@ var FingerprintingRoute = /** @class */ (function () {
22912
22912
  geolocationReport: {
22913
22913
  url: '/reports/fingerprinting/geolocation',
22914
22914
  method: HTTP_METHODS.GET
22915
- }
22915
+ },
22916
+ pixelAttributionReport: {
22917
+ url: '/reports/fingerprinting/pixel-attribution',
22918
+ method: HTTP_METHODS.GET
22919
+ },
22920
+ installJourneyReport: {
22921
+ url: '/reports/fingerprinting/install-journey',
22922
+ method: HTTP_METHODS.GET
22923
+ },
22916
22924
  };
22917
22925
  return FingerprintingRoute;
22918
22926
  }());
@@ -23067,6 +23075,32 @@ var Fingerprinting = /** @class */ (function () {
23067
23075
  Fingerprinting.geolocationReport = function (params) {
23068
23076
  return Requests.processRoute(FingerprintingRoute.routes.geolocationReport, {}, undefined, params);
23069
23077
  };
23078
+ /**
23079
+ * Get pixel and utem reports
23080
+ *
23081
+ * @param params Report options:
23082
+ * - title_id: string - Required title ID
23083
+ * - start_date?: string - Start date (YYYY-MM-DD)
23084
+ * - end_date?: string - End date (YYYY-MM-DD)
23085
+ * - group_by?: 'country'|'region'|'city' - Grouping level
23086
+ * @returns Promise with geolocation report data
23087
+ */
23088
+ Fingerprinting.pixelAttributionReport = function (params) {
23089
+ return Requests.processRoute(FingerprintingRoute.routes.pixelAttributionReport, {}, undefined, params);
23090
+ };
23091
+ /**
23092
+ * Get an understanding of the path people take to install your game
23093
+ *
23094
+ * @param params Report options:
23095
+ * - title_id: string - Required title ID
23096
+ * - start_date?: string - Start date (YYYY-MM-DD)
23097
+ * - end_date?: string - End date (YYYY-MM-DD)
23098
+ * - group_by?: 'country'|'region'|'city' - Grouping level
23099
+ * @returns Promise with geolocation report data
23100
+ */
23101
+ Fingerprinting.installJourneyReport = function (params) {
23102
+ return Requests.processRoute(FingerprintingRoute.routes.installJourneyReport, {}, undefined, params);
23103
+ };
23070
23104
  return Fingerprinting;
23071
23105
  }());
23072
23106