@getlatedev/node 0.2.1459 → 0.2.1460

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.
@@ -22824,6 +22824,57 @@ export type GetTikTokAccountInsightsResponse = (InstagramAccountInsightsResponse
22824
22824
 
22825
22825
  export type GetTikTokAccountInsightsError = (unknown | ErrorResponse);
22826
22826
 
22827
+ export type GetTikTokDemographicsData = {
22828
+ query: {
22829
+ /**
22830
+ * The Zernio SocialAccount ID for the TikTok account.
22831
+ */
22832
+ accountId: string;
22833
+ /**
22834
+ * Comma-separated list of demographic dimensions: age, gender, country, city. Defaults to all four.
22835
+ */
22836
+ breakdown?: string;
22837
+ };
22838
+ };
22839
+
22840
+ export type GetTikTokDemographicsResponse = ({
22841
+ success?: boolean;
22842
+ accountId?: string;
22843
+ platform?: 'tiktok';
22844
+ metric?: 'follower_demographics';
22845
+ /**
22846
+ * Only the requested breakdowns are present. Entries are sorted by value, largest first.
22847
+ */
22848
+ demographics?: {
22849
+ [key: string]: Array<{
22850
+ /**
22851
+ * Age group (18-24, 25-34, 35-44, 45-54, 55+), gender (Female, Male, Other), ISO 3166-1 alpha-2 country code, or city name. `other` collects the countries TikTok does not list individually.
22852
+ */
22853
+ dimension?: string;
22854
+ /**
22855
+ * Share of followers, from 0 to 1
22856
+ */
22857
+ value?: number;
22858
+ }>;
22859
+ };
22860
+ note?: string;
22861
+ });
22862
+
22863
+ export type GetTikTokDemographicsError = (ErrorResponse | {
22864
+ error?: string;
22865
+ code?: string;
22866
+ } | {
22867
+ error?: string;
22868
+ } | {
22869
+ success?: boolean;
22870
+ error?: string;
22871
+ code?: string;
22872
+ scopeStatus?: {
22873
+ requiresReauthorization?: boolean;
22874
+ hasInsightsScope?: boolean;
22875
+ };
22876
+ });
22877
+
22827
22878
  export type GetYouTubeDailyViewsData = {
22828
22879
  query: {
22829
22880
  /**