glitch-javascript-sdk 2.6.4 → 2.6.5

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
@@ -25474,6 +25474,10 @@ var CampaignsRoute = /** @class */ (function () {
25474
25474
  url: '/campaigns/{campaign_id}/influencers/invites/export',
25475
25475
  method: HTTP_METHODS.POST
25476
25476
  },
25477
+ sourcingFindAndSaveFanslyCreators: {
25478
+ url: '/campaigns/{campaign_id}/sourcing/find-save-fansly-creators',
25479
+ method: HTTP_METHODS.POST
25480
+ },
25477
25481
  };
25478
25482
  return CampaignsRoute;
25479
25483
  }());
@@ -26364,6 +26368,20 @@ var Campaigns = /** @class */ (function () {
26364
26368
  Campaigns.exportInfluencerInvites = function (campaign_id, data) {
26365
26369
  return Requests.processRoute(CampaignsRoute.routes.exportInfluencerInvites, data, { campaign_id: campaign_id });
26366
26370
  };
26371
+ /**
26372
+ * Find and save Fansly creators for a specific campaign.
26373
+ *
26374
+ * @see CampaignCreatorSourcingController@findAndSaveFanslyCreators
26375
+ *
26376
+ * @param campaign_id The UUID of the campaign.
26377
+ * @param data Parameters for sourcing.
26378
+ * @param data.query The search term (e.g., 'gaming', 'cosplay'). Defaults to 'gaming'.
26379
+ * @param data.pages Number of pages to crawl (25 results per page). Defaults to 10.
26380
+ * @returns promise
26381
+ */
26382
+ Campaigns.sourcingFindAndSaveFanslyCreators = function (campaign_id, data) {
26383
+ return Requests.processRoute(CampaignsRoute.routes.sourcingFindAndSaveFanslyCreators, data, { campaign_id: campaign_id });
26384
+ };
26367
26385
  return Campaigns;
26368
26386
  }());
26369
26387