glitch-javascript-sdk 1.6.3 → 1.6.4

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.
@@ -62,5 +62,14 @@ declare class Funnel {
62
62
  * @returns Promise with yearly funnel metrics data
63
63
  */
64
64
  static yearly<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
65
+ /**
66
+ * Get gamified funnel metrics with recommended targets, scores, and ranks.
67
+ *
68
+ * @see https://api.glitch.fun/api/documentation#/Funnel%20Metrics/get_funnels_gamify
69
+ *
70
+ * @param params Query parameters (title_id, community_id, start_date, end_date)
71
+ * @returns Promise with the gamified funnel data
72
+ */
73
+ static gamify<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
65
74
  }
66
75
  export default Funnel;
package/dist/esm/index.js CHANGED
@@ -11901,6 +11901,7 @@ var FunnelRoutes = /** @class */ (function () {
11901
11901
  daily: { url: '/funnels/daily', method: HTTP_METHODS.GET },
11902
11902
  monthly: { url: '/funnels/monthly', method: HTTP_METHODS.GET },
11903
11903
  yearly: { url: '/funnels/yearly', method: HTTP_METHODS.GET },
11904
+ gamify: { url: '/funnels/gamify', method: HTTP_METHODS.GET },
11904
11905
  };
11905
11906
  return FunnelRoutes;
11906
11907
  }());
@@ -11984,6 +11985,17 @@ var Funnel = /** @class */ (function () {
11984
11985
  Funnel.yearly = function (params) {
11985
11986
  return Requests.processRoute(FunnelRoutes.routes.yearly, undefined, undefined, params);
11986
11987
  };
11988
+ /**
11989
+ * Get gamified funnel metrics with recommended targets, scores, and ranks.
11990
+ *
11991
+ * @see https://api.glitch.fun/api/documentation#/Funnel%20Metrics/get_funnels_gamify
11992
+ *
11993
+ * @param params Query parameters (title_id, community_id, start_date, end_date)
11994
+ * @returns Promise with the gamified funnel data
11995
+ */
11996
+ Funnel.gamify = function (params) {
11997
+ return Requests.processRoute(FunnelRoutes.routes.gamify, undefined, undefined, params);
11998
+ };
11987
11999
  return Funnel;
11988
12000
  }());
11989
12001