glitch-javascript-sdk 1.6.8 → 1.7.0

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.
@@ -7,13 +7,13 @@ declare class Hashtags {
7
7
  *
8
8
  * @returns A promise
9
9
  */
10
- static list<T>(data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
10
+ static list<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
11
11
  /**
12
12
  * Get the top hashtags for a title, campaign, or schedule.
13
13
  *
14
14
  * @param params - e.g. { title_id: '...', limit: 10, sort: 'sum_views', start_date: 'YYYY-MM-DD', end_date: 'YYYY-MM-DD' }
15
15
  * @returns AxiosPromise of an array of aggregated hashtags
16
16
  */
17
- static top<T>(data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
17
+ static top<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
18
18
  }
19
19
  export default Hashtags;
@@ -221,5 +221,6 @@ declare class Titles {
221
221
  static retentionSummary<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
222
222
  static activeRetentions<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
223
223
  static retentionAnalysis<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
224
+ static distinctDimensions<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
224
225
  }
225
226
  export default Titles;
package/dist/esm/index.js CHANGED
@@ -9641,6 +9641,7 @@ var TitlesRoute = /** @class */ (function () {
9641
9641
  retentionSummary: { url: '/titles/{title_id}/retentions/summary', method: HTTP_METHODS.GET },
9642
9642
  activeRetentions: { url: '/titles/{title_id}/retentions/active', method: HTTP_METHODS.GET },
9643
9643
  retentionAnalysis: { url: '/titles/{title_id}/retentions/analysis', method: HTTP_METHODS.GET },
9644
+ distinctDimensions: { url: '/titles/{title_id}/installs/distinctDimensions', method: HTTP_METHODS.GET },
9644
9645
  };
9645
9646
  return TitlesRoute;
9646
9647
  }());
@@ -9927,6 +9928,9 @@ var Titles = /** @class */ (function () {
9927
9928
  Titles.retentionAnalysis = function (title_id, params) {
9928
9929
  return Requests.processRoute(TitlesRoute.routes.retentionAnalysis, {}, { title_id: title_id }, params);
9929
9930
  };
9931
+ Titles.distinctDimensions = function (title_id, params) {
9932
+ return Requests.processRoute(TitlesRoute.routes.distinctDimensions, {}, { title_id: title_id }, params);
9933
+ };
9930
9934
  return Titles;
9931
9935
  }());
9932
9936
 
@@ -12189,8 +12193,8 @@ var Hashtags = /** @class */ (function () {
12189
12193
  *
12190
12194
  * @returns A promise
12191
12195
  */
12192
- Hashtags.list = function (data, params) {
12193
- return Requests.processRoute(HashtagRoute.routes.list, data, {}, params);
12196
+ Hashtags.list = function (params) {
12197
+ return Requests.processRoute(HashtagRoute.routes.list, {}, {}, params);
12194
12198
  };
12195
12199
  /**
12196
12200
  * Get the top hashtags for a title, campaign, or schedule.
@@ -12198,8 +12202,8 @@ var Hashtags = /** @class */ (function () {
12198
12202
  * @param params - e.g. { title_id: '...', limit: 10, sort: 'sum_views', start_date: 'YYYY-MM-DD', end_date: 'YYYY-MM-DD' }
12199
12203
  * @returns AxiosPromise of an array of aggregated hashtags
12200
12204
  */
12201
- Hashtags.top = function (data, params) {
12202
- return Requests.processRoute(HashtagRoute.routes.top, data, {}, params);
12205
+ Hashtags.top = function (params) {
12206
+ return Requests.processRoute(HashtagRoute.routes.top, {}, {}, params);
12203
12207
  };
12204
12208
  return Hashtags;
12205
12209
  }());