glitch-javascript-sdk 2.8.2 → 2.8.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.
package/dist/cjs/index.js CHANGED
@@ -23929,6 +23929,7 @@ var UtilityRoutes = /** @class */ (function () {
23929
23929
  genders: { url: '/util/genders', method: HTTP_METHODS.GET },
23930
23930
  ethnicities: { url: '/util/ethnicities', method: HTTP_METHODS.GET },
23931
23931
  types: { url: '/util/types', method: HTTP_METHODS.GET },
23932
+ genres_active: { url: '/util/genres/active', method: HTTP_METHODS.GET },
23932
23933
  };
23933
23934
  return UtilityRoutes;
23934
23935
  }());
@@ -23996,6 +23997,15 @@ var Utility = /** @class */ (function () {
23996
23997
  Utility.listTypes = function (params) {
23997
23998
  return Requests.processRoute(UtilityRoutes.routes.types, undefined, undefined, params);
23998
23999
  };
24000
+ /**
24001
+ * Get all genres that are associated with at least one game title.
24002
+ * Includes the 'titles_count' property.
24003
+ *
24004
+ * @returns promise
24005
+ */
24006
+ Utility.listActiveGenres = function (params) {
24007
+ return Requests.processRoute(UtilityRoutes.routes.genres_active, undefined, undefined, params);
24008
+ };
23999
24009
  return Utility;
24000
24010
  }());
24001
24011
 
@@ -24893,6 +24903,7 @@ var TitlesRoute = /** @class */ (function () {
24893
24903
  url: '/titles/{title_id}/installs/{install_id}/validate',
24894
24904
  method: HTTP_METHODS.POST
24895
24905
  },
24906
+ listBuilds: { url: '/titles/{title_id}/deployments', method: HTTP_METHODS.GET },
24896
24907
  };
24897
24908
  return TitlesRoute;
24898
24909
  }());
@@ -25565,6 +25576,13 @@ var Titles = /** @class */ (function () {
25565
25576
  Titles.validateInstall = function (title_id, install_id) {
25566
25577
  return Requests.processRoute(TitlesRoute.routes.validateInstall, {}, { title_id: title_id, install_id: install_id });
25567
25578
  };
25579
+ /**
25580
+ * List all builds/deployments for a specific title.
25581
+ * @param title_id The UUID of the title.
25582
+ */
25583
+ Titles.listBuilds = function (title_id, params) {
25584
+ return Requests.processRoute(TitlesRoute.routes.listBuilds, {}, { title_id: title_id }, params);
25585
+ };
25568
25586
  return Titles;
25569
25587
  }());
25570
25588
 
@@ -29091,7 +29109,11 @@ var WebsiteAnalyticsRoute = /** @class */ (function () {
29091
29109
  journey: {
29092
29110
  url: '/analytics/journey',
29093
29111
  method: HTTP_METHODS.GET
29094
- }
29112
+ },
29113
+ landingPageReport: {
29114
+ url: '/analytics/reports/landing-page',
29115
+ method: HTTP_METHODS.GET
29116
+ },
29095
29117
  };
29096
29118
  return WebsiteAnalyticsRoute;
29097
29119
  }());
@@ -29332,6 +29354,19 @@ var WebsiteAnalytics = /** @class */ (function () {
29332
29354
  {}, // no body data (GET request)
29333
29355
  undefined, params);
29334
29356
  };
29357
+ /**
29358
+ * Get a detailed marketing report for the game's landing page.
29359
+ * Includes scroll depth, video watch time distribution, and CTA performance.
29360
+ *
29361
+ * @param params
29362
+ * - title_id: string (Required)
29363
+ * - start_date?: string (YYYY-MM-DD)
29364
+ * - end_date?: string (YYYY-MM-DD)
29365
+ * - group_by?: 'country' | 'device'
29366
+ */
29367
+ WebsiteAnalytics.landingPageReport = function (params) {
29368
+ return Requests.processRoute(WebsiteAnalyticsRoute.routes.landingPageReport, {}, undefined, params);
29369
+ };
29335
29370
  return WebsiteAnalytics;
29336
29371
  }());
29337
29372