@dracoonghost/trndup-sdk 1.3.23 → 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.d.mts CHANGED
@@ -703,15 +703,39 @@ declare namespace Instagram {
703
703
  interface PostInsightsSyncStatusResponse {
704
704
  needsSync: boolean;
705
705
  status: SyncStatus;
706
+ /** Progress tracking - primary fields for UI */
707
+ progress: {
708
+ /** Number of posts that have been processed (attempted insights sync) */
709
+ completed: number;
710
+ /** Total number of posts */
711
+ total: number;
712
+ /** Posts remaining to be processed */
713
+ remaining: number;
714
+ /** Percentage complete (0-100) */
715
+ percent: number;
716
+ };
717
+ /** Total number of posts */
706
718
  totalPosts: number;
719
+ /** Posts that have been processed (may or may not have insights) */
720
+ postsProcessed: number;
721
+ /** Posts that actually have insights data */
707
722
  postsWithInsights: number;
723
+ /** Percentage of posts with insights (0-100) */
708
724
  coverage: number;
709
725
  lastSyncAt: string | null;
710
726
  metadata?: {
727
+ postsProcessed?: number;
711
728
  postsWithInsights?: number;
712
729
  totalPosts?: number;
713
730
  lastCheckedAt?: string;
714
731
  } | null;
732
+ /** Queue processing info */
733
+ queue: {
734
+ isProcessing: boolean;
735
+ jobsActive: number;
736
+ jobsWaiting: number;
737
+ jobsFailed: number;
738
+ };
715
739
  message: string;
716
740
  }
717
741
  interface SyncResponse {
package/dist/index.d.ts CHANGED
@@ -703,15 +703,39 @@ declare namespace Instagram {
703
703
  interface PostInsightsSyncStatusResponse {
704
704
  needsSync: boolean;
705
705
  status: SyncStatus;
706
+ /** Progress tracking - primary fields for UI */
707
+ progress: {
708
+ /** Number of posts that have been processed (attempted insights sync) */
709
+ completed: number;
710
+ /** Total number of posts */
711
+ total: number;
712
+ /** Posts remaining to be processed */
713
+ remaining: number;
714
+ /** Percentage complete (0-100) */
715
+ percent: number;
716
+ };
717
+ /** Total number of posts */
706
718
  totalPosts: number;
719
+ /** Posts that have been processed (may or may not have insights) */
720
+ postsProcessed: number;
721
+ /** Posts that actually have insights data */
707
722
  postsWithInsights: number;
723
+ /** Percentage of posts with insights (0-100) */
708
724
  coverage: number;
709
725
  lastSyncAt: string | null;
710
726
  metadata?: {
727
+ postsProcessed?: number;
711
728
  postsWithInsights?: number;
712
729
  totalPosts?: number;
713
730
  lastCheckedAt?: string;
714
731
  } | null;
732
+ /** Queue processing info */
733
+ queue: {
734
+ isProcessing: boolean;
735
+ jobsActive: number;
736
+ jobsWaiting: number;
737
+ jobsFailed: number;
738
+ };
715
739
  message: string;
716
740
  }
717
741
  interface SyncResponse {