glitch-javascript-sdk 3.2.7 → 3.2.9

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
@@ -19100,6 +19100,10 @@ var AdsRoute = /** @class */ (function () {
19100
19100
  url: "/ads/reports/time-performance",
19101
19101
  method: HTTP_METHODS.GET,
19102
19102
  },
19103
+ getDetailedBreakdownReport: {
19104
+ url: "/ads/reports/detailed-breakdown",
19105
+ method: HTTP_METHODS.GET,
19106
+ },
19103
19107
  getGoogleGeoSuggestions: {
19104
19108
  url: "/ads/google/targeting/geo/suggest",
19105
19109
  method: HTTP_METHODS.GET,
@@ -19156,6 +19160,10 @@ var AdsRoute = /** @class */ (function () {
19156
19160
  url: "/ads/google/accounts/create",
19157
19161
  method: HTTP_METHODS.POST,
19158
19162
  },
19163
+ reportSkanAttributionPostback: {
19164
+ url: "/.well-known/appattribution/report-attribution",
19165
+ method: HTTP_METHODS.POST,
19166
+ },
19159
19167
  };
19160
19168
  return AdsRoute;
19161
19169
  }());
@@ -19756,6 +19764,12 @@ var Ads = /** @class */ (function () {
19756
19764
  return Requests.processRoute(AdsRoute.routes.getTimePerformanceReport, undefined, undefined, params);
19757
19765
  };
19758
19766
  /**
19767
+ * Get detailed paid campaign performance rows for tables and exports.
19768
+ */
19769
+ Ads.getDetailedBreakdownReport = function (params) {
19770
+ return Requests.processRoute(AdsRoute.routes.getDetailedBreakdownReport, undefined, undefined, params);
19771
+ };
19772
+ /**
19759
19773
  * GET /ads/google/targeting/geo/suggest
19760
19774
  */
19761
19775
  Ads.listGoogleGeoSuggestions = function (params) {
@@ -19836,6 +19850,13 @@ var Ads = /** @class */ (function () {
19836
19850
  Ads.createGoogleAccount = function (data) {
19837
19851
  return Requests.processRoute(AdsRoute.routes.createGoogleAccount, data, undefined, undefined);
19838
19852
  };
19853
+ /**
19854
+ * Submit a SKAN attribution postback to the public Apple app attribution endpoint.
19855
+ * This mirrors POST /.well-known/appattribution/report-attribution.
19856
+ */
19857
+ Ads.reportSkanAttributionPostback = function (data, params) {
19858
+ return Requests.processRoute(AdsRoute.routes.reportSkanAttributionPostback, data, undefined, params);
19859
+ };
19839
19860
  return Ads;
19840
19861
  }());
19841
19862
 
@@ -27678,6 +27699,7 @@ var SchedulerRoute = /** @class */ (function () {
27678
27699
  getSchedulerPostsWithComments: { url: '/schedulers/{scheduler_id}/posts-with-comments', method: HTTP_METHODS.GET },
27679
27700
  syncAllSchedulerComments: { url: '/schedulers/{scheduler_id}/sync-all-comments', method: HTTP_METHODS.POST },
27680
27701
  getConversionActions: { url: '/schedulers/{scheduler_id}/conversion-actions', method: HTTP_METHODS.GET },
27702
+ sendTestConversionEvent: { url: '/schedulers/{scheduler_id}/test-event/{platform}', method: HTTP_METHODS.GET },
27681
27703
  syncHistory: { url: '/schedulers/{scheduler_id}/sync-history/{platform}', method: HTTP_METHODS.POST },
27682
27704
  generateHashtags: {
27683
27705
  url: '/schedulers/{scheduler_id}/generateHashtags',
@@ -28286,6 +28308,13 @@ var Scheduler = /** @class */ (function () {
28286
28308
  Scheduler.listCampaignFundingInstruments = function (scheduler_id, params) {
28287
28309
  return Requests.processRoute(SchedulerRoute.routes.getCampaignFundingInstruments, undefined, { scheduler_id: scheduler_id }, params);
28288
28310
  };
28311
+ /**
28312
+ * List Google Ads conversion actions available to a scheduler account.
28313
+ * GET /schedulers/{scheduler_id}/conversion-actions
28314
+ */
28315
+ Scheduler.listConversionActions = function (scheduler_id, params) {
28316
+ return Requests.processRoute(SchedulerRoute.routes.getConversionActions, undefined, { scheduler_id: scheduler_id }, params);
28317
+ };
28289
28318
  /**
28290
28319
  * List all destinations for a title update.
28291
28320
  *
@@ -28429,6 +28458,16 @@ var Scheduler = /** @class */ (function () {
28429
28458
  Scheduler.getConversionActions = function (scheduler_id, params) {
28430
28459
  return Requests.processRoute(SchedulerRoute.routes.getConversionActions, {}, { scheduler_id: scheduler_id }, params);
28431
28460
  };
28461
+ /**
28462
+ * Send a platform test conversion event through the backend scheduler route.
28463
+ *
28464
+ * @param scheduler_id The ID of the promotion schedule.
28465
+ * @param platform Platform key, e.g. reddit, tiktok, facebook, google.
28466
+ * @param params Query parameters such as Reddit test_id or Meta test_event_code.
28467
+ */
28468
+ Scheduler.sendTestConversionEvent = function (scheduler_id, platform, params) {
28469
+ return Requests.processRoute(SchedulerRoute.routes.sendTestConversionEvent, {}, { scheduler_id: scheduler_id, platform: platform }, params);
28470
+ };
28432
28471
  /**
28433
28472
  * Trigger a historical sync for a specific platform on a scheduler.
28434
28473
  *