glitch-javascript-sdk 2.0.5 → 2.0.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.
@@ -183,5 +183,22 @@ declare class WebsiteAnalytics {
183
183
  * @returns Promise with UTM performance data
184
184
  */
185
185
  static utmPerformance<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
186
+ /**
187
+ * Get a combined user journey across short link clicks, web sessions, game installations, etc.
188
+ *
189
+ * @param params Filtering options. All are optional except `title_id`.
190
+ * - title_id: string Required. The UUID of the title to unify user events.
191
+ * - device_id?: string Filter by device ID
192
+ * - session_id?: string Filter by session ID
193
+ * - short_link_click_id?: string Filter by short link click ID
194
+ * - user_install_id?: string Filter by game install user_install_id
195
+ * - browser_fingerprint?: string Filter by browser fingerprint hash
196
+ * - hardware_fingerprint?: string Filter by hardware fingerprint hash
197
+ * - start_date?: string Optional. Start date (YYYY-MM-DD) if your API supports time limiting
198
+ * - end_date?: string Optional. End date (YYYY-MM-DD) if your API supports time limiting
199
+ *
200
+ * @returns Promise with a unified timeline of the user’s journey, in chronological order.
201
+ */
202
+ static userJourney<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
186
203
  }
187
204
  export default WebsiteAnalytics;
package/dist/esm/index.js CHANGED
@@ -14419,6 +14419,10 @@ var WebsiteAnalyticsRoute = /** @class */ (function () {
14419
14419
  utmPerformance: {
14420
14420
  url: '/analytics/utm-performance',
14421
14421
  method: HTTP_METHODS.GET
14422
+ },
14423
+ journey: {
14424
+ url: '/analytics/journey',
14425
+ method: HTTP_METHODS.GET
14422
14426
  }
14423
14427
  };
14424
14428
  return WebsiteAnalyticsRoute;
@@ -14639,6 +14643,27 @@ var WebsiteAnalytics = /** @class */ (function () {
14639
14643
  WebsiteAnalytics.utmPerformance = function (params) {
14640
14644
  return Requests.processRoute(WebsiteAnalyticsRoute.routes.utmPerformance, {}, undefined, params);
14641
14645
  };
14646
+ /**
14647
+ * Get a combined user journey across short link clicks, web sessions, game installations, etc.
14648
+ *
14649
+ * @param params Filtering options. All are optional except `title_id`.
14650
+ * - title_id: string Required. The UUID of the title to unify user events.
14651
+ * - device_id?: string Filter by device ID
14652
+ * - session_id?: string Filter by session ID
14653
+ * - short_link_click_id?: string Filter by short link click ID
14654
+ * - user_install_id?: string Filter by game install user_install_id
14655
+ * - browser_fingerprint?: string Filter by browser fingerprint hash
14656
+ * - hardware_fingerprint?: string Filter by hardware fingerprint hash
14657
+ * - start_date?: string Optional. Start date (YYYY-MM-DD) if your API supports time limiting
14658
+ * - end_date?: string Optional. End date (YYYY-MM-DD) if your API supports time limiting
14659
+ *
14660
+ * @returns Promise with a unified timeline of the user’s journey, in chronological order.
14661
+ */
14662
+ WebsiteAnalytics.userJourney = function (params) {
14663
+ return Requests.processRoute(WebsiteAnalyticsRoute.routes.journey, // references our new route definition
14664
+ {}, // no body data (GET request)
14665
+ undefined, params);
14666
+ };
14642
14667
  return WebsiteAnalytics;
14643
14668
  }());
14644
14669