@dracoonghost/trndup-sdk 1.3.22 → 1.3.24

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/index.mjs CHANGED
@@ -547,8 +547,13 @@ var InstagramModule = class {
547
547
  }
548
548
  // ===== POST INSIGHTS SYNC =====
549
549
  /**
550
- * Sync post-level insights for all posts
550
+ * Queue post-level insights sync for all posts (BullMQ-based)
551
551
  * POST /v1/platforms/instagram/analytics/posts/sync
552
+ *
553
+ * Jobs are queued and processed in the background.
554
+ * Poll getPostInsightsSyncStatus() to check progress.
555
+ *
556
+ * @returns Response with jobsQueued count and status
552
557
  */
553
558
  async syncPostInsights() {
554
559
  return this.client.post(
@@ -558,6 +563,8 @@ var InstagramModule = class {
558
563
  /**
559
564
  * Get post insights sync status
560
565
  * GET /v1/platforms/instagram/analytics/posts/sync/status
566
+ *
567
+ * Use to poll progress while sync is in_progress
561
568
  */
562
569
  async getPostInsightsSyncStatus() {
563
570
  return this.client.get(