glitch-javascript-sdk 2.1.0 → 2.1.2

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.
@@ -128,5 +128,38 @@ 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>>;
153
+ /**
154
+ * Get how the ad campaigns are performing and turning into installs
155
+ *
156
+ * @param params Report options:
157
+ * - title_id: string - Required title ID
158
+ * - start_date?: string - Start date (YYYY-MM-DD)
159
+ * - end_date?: string - End date (YYYY-MM-DD)
160
+ * - group_by?: 'country'|'region'|'city' - Grouping level
161
+ * @returns Promise with geolocation report data
162
+ */
163
+ static adCampaignPerformanceReport<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
131
164
  }
132
165
  export default Fingerprinting;
package/dist/esm/index.js CHANGED
@@ -9728,7 +9728,19 @@ 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
+ },
9740
+ adCampaignPerformanceReport: {
9741
+ url: '/reports/fingerprinting/ad-campaign-performance',
9742
+ method: HTTP_METHODS.GET
9743
+ },
9732
9744
  };
9733
9745
  return FingerprintingRoute;
9734
9746
  }());
@@ -9883,6 +9895,45 @@ var Fingerprinting = /** @class */ (function () {
9883
9895
  Fingerprinting.geolocationReport = function (params) {
9884
9896
  return Requests.processRoute(FingerprintingRoute.routes.geolocationReport, {}, undefined, params);
9885
9897
  };
9898
+ /**
9899
+ * Get pixel and utem reports
9900
+ *
9901
+ * @param params Report options:
9902
+ * - title_id: string - Required title ID
9903
+ * - start_date?: string - Start date (YYYY-MM-DD)
9904
+ * - end_date?: string - End date (YYYY-MM-DD)
9905
+ * - group_by?: 'country'|'region'|'city' - Grouping level
9906
+ * @returns Promise with geolocation report data
9907
+ */
9908
+ Fingerprinting.pixelAttributionReport = function (params) {
9909
+ return Requests.processRoute(FingerprintingRoute.routes.pixelAttributionReport, {}, undefined, params);
9910
+ };
9911
+ /**
9912
+ * Get an understanding of the path people take to install your game
9913
+ *
9914
+ * @param params Report options:
9915
+ * - title_id: string - Required title ID
9916
+ * - start_date?: string - Start date (YYYY-MM-DD)
9917
+ * - end_date?: string - End date (YYYY-MM-DD)
9918
+ * - group_by?: 'country'|'region'|'city' - Grouping level
9919
+ * @returns Promise with geolocation report data
9920
+ */
9921
+ Fingerprinting.installJourneyReport = function (params) {
9922
+ return Requests.processRoute(FingerprintingRoute.routes.installJourneyReport, {}, undefined, params);
9923
+ };
9924
+ /**
9925
+ * Get how the ad campaigns are performing and turning into installs
9926
+ *
9927
+ * @param params Report options:
9928
+ * - title_id: string - Required title ID
9929
+ * - start_date?: string - Start date (YYYY-MM-DD)
9930
+ * - end_date?: string - End date (YYYY-MM-DD)
9931
+ * - group_by?: 'country'|'region'|'city' - Grouping level
9932
+ * @returns Promise with geolocation report data
9933
+ */
9934
+ Fingerprinting.adCampaignPerformanceReport = function (params) {
9935
+ return Requests.processRoute(FingerprintingRoute.routes.adCampaignPerformanceReport, {}, undefined, params);
9936
+ };
9886
9937
  return Fingerprinting;
9887
9938
  }());
9888
9939