@getlatedev/node 0.1.56 → 0.1.58

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
@@ -1140,7 +1140,7 @@ type LinkedInPlatformData = {
1140
1140
  disableLinkPreview?: boolean;
1141
1141
  };
1142
1142
  /**
1143
- * Media referenced in posts. URLs must be publicly reachable over HTTPS. Use POST /v1/media/presign for uploads up to 5GB. Late auto-compresses images and videos that exceed platform limits (videos over 200 MB may not be compressed).
1143
+ * Media referenced in posts. URLs must be publicly reachable over HTTPS. Use POST /v1/media/presign for uploads up to 5GB. Zernio auto-compresses images and videos that exceed platform limits (videos over 200 MB may not be compressed).
1144
1144
  */
1145
1145
  type MediaItem = {
1146
1146
  type?: 'image' | 'video' | 'gif' | 'document';
@@ -1286,20 +1286,20 @@ type PlatformTarget = {
1286
1286
  */
1287
1287
  errorMessage?: string;
1288
1288
  /**
1289
- * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Late infra), unknown
1289
+ * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
1290
1290
  */
1291
1291
  errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
1292
1292
  /**
1293
- * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Late issue, rare)
1293
+ * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
1294
1294
  */
1295
1295
  errorSource?: 'user' | 'platform' | 'system';
1296
1296
  };
1297
1297
  /**
1298
- * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Late infra), unknown
1298
+ * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
1299
1299
  */
1300
1300
  type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
1301
1301
  /**
1302
- * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Late issue, rare)
1302
+ * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
1303
1303
  */
1304
1304
  type errorSource = 'user' | 'platform' | 'system';
1305
1305
  type Post = {
@@ -2672,7 +2672,7 @@ type GetAnalyticsData = {
2672
2672
  */
2673
2673
  platform?: string;
2674
2674
  /**
2675
- * Returns analytics for a single post. Accepts both Late Post IDs and External Post IDs. Late IDs are auto-resolved to External Post analytics.
2675
+ * Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
2676
2676
  */
2677
2677
  postId?: string;
2678
2678
  /**
@@ -2684,7 +2684,7 @@ type GetAnalyticsData = {
2684
2684
  */
2685
2685
  sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views';
2686
2686
  /**
2687
- * Filter by post source: late (posted via Late API), external (synced from platform), all (default)
2687
+ * Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
2688
2688
  */
2689
2689
  source?: 'all' | 'late' | 'external';
2690
2690
  /**
@@ -2711,7 +2711,7 @@ type GetAnalyticsError = ({
2711
2711
  type GetYouTubeDailyViewsData = {
2712
2712
  query: {
2713
2713
  /**
2714
- * The Late account ID for the YouTube account
2714
+ * The Zernio account ID for the YouTube account
2715
2715
  */
2716
2716
  accountId: string;
2717
2717
  /**
@@ -2753,7 +2753,7 @@ type GetDailyMetricsData = {
2753
2753
  */
2754
2754
  profileId?: string;
2755
2755
  /**
2756
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2756
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2757
2757
  */
2758
2758
  source?: 'all' | 'late' | 'external';
2759
2759
  /**
@@ -2810,7 +2810,7 @@ type GetBestTimeToPostData = {
2810
2810
  */
2811
2811
  profileId?: string;
2812
2812
  /**
2813
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2813
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2814
2814
  */
2815
2815
  source?: 'all' | 'late' | 'external';
2816
2816
  };
@@ -2852,7 +2852,7 @@ type GetContentDecayData = {
2852
2852
  */
2853
2853
  profileId?: string;
2854
2854
  /**
2855
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2855
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2856
2856
  */
2857
2857
  source?: 'all' | 'late' | 'external';
2858
2858
  };
@@ -2894,7 +2894,7 @@ type GetPostingFrequencyData = {
2894
2894
  */
2895
2895
  profileId?: string;
2896
2896
  /**
2897
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2897
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2898
2898
  */
2899
2899
  source?: 'all' | 'late' | 'external';
2900
2900
  };
@@ -2933,7 +2933,7 @@ type GetPostTimelineData = {
2933
2933
  */
2934
2934
  fromDate?: string;
2935
2935
  /**
2936
- * The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Late Post ID.
2936
+ * The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Zernio Post ID.
2937
2937
  *
2938
2938
  */
2939
2939
  postId: string;
@@ -3746,11 +3746,11 @@ type GetConnectUrlData = {
3746
3746
  };
3747
3747
  query: {
3748
3748
  /**
3749
- * When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Late's default account selection UI. Use this to build a custom connect experience.
3749
+ * When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Zernio's default account selection UI. Use this to build a custom connect experience.
3750
3750
  */
3751
3751
  headless?: boolean;
3752
3752
  /**
3753
- * Your Late profile ID (get from /v1/profiles)
3753
+ * Your Zernio profile ID (get from /v1/profiles)
3754
3754
  */
3755
3755
  profileId: string;
3756
3756
  /**
@@ -3986,7 +3986,7 @@ type SelectGoogleBusinessLocationError = (unknown | {
3986
3986
  type GetGoogleBusinessReviewsData = {
3987
3987
  path: {
3988
3988
  /**
3989
- * The Late account ID (from /v1/accounts)
3989
+ * The Zernio account ID (from /v1/accounts)
3990
3990
  */
3991
3991
  accountId: string;
3992
3992
  };
@@ -4064,7 +4064,7 @@ type GetGoogleBusinessReviewsError = (ErrorResponse | {
4064
4064
  type GetGoogleBusinessFoodMenusData = {
4065
4065
  path: {
4066
4066
  /**
4067
- * The Late account ID (from /v1/accounts)
4067
+ * The Zernio account ID (from /v1/accounts)
4068
4068
  */
4069
4069
  accountId: string;
4070
4070
  };
@@ -4101,7 +4101,7 @@ type UpdateGoogleBusinessFoodMenusData = {
4101
4101
  };
4102
4102
  path: {
4103
4103
  /**
4104
- * The Late account ID (from /v1/accounts)
4104
+ * The Zernio account ID (from /v1/accounts)
4105
4105
  */
4106
4106
  accountId: string;
4107
4107
  };
@@ -4125,7 +4125,7 @@ type UpdateGoogleBusinessFoodMenusError = (ErrorResponse | {
4125
4125
  type GetGoogleBusinessLocationDetailsData = {
4126
4126
  path: {
4127
4127
  /**
4128
- * The Late account ID (from /v1/accounts)
4128
+ * The Zernio account ID (from /v1/accounts)
4129
4129
  */
4130
4130
  accountId: string;
4131
4131
  };
@@ -4344,7 +4344,7 @@ type UpdateGoogleBusinessLocationDetailsData = {
4344
4344
  };
4345
4345
  path: {
4346
4346
  /**
4347
- * The Late account ID (from /v1/accounts)
4347
+ * The Zernio account ID (from /v1/accounts)
4348
4348
  */
4349
4349
  accountId: string;
4350
4350
  };
@@ -4627,7 +4627,7 @@ type GetPendingOAuthDataResponse = ({
4627
4627
  */
4628
4628
  platform?: string;
4629
4629
  /**
4630
- * The Late profile ID
4630
+ * The Zernio profile ID
4631
4631
  */
4632
4632
  profileId?: string;
4633
4633
  /**
@@ -4755,7 +4755,7 @@ type ListPinterestBoardsForSelectionData = {
4755
4755
  };
4756
4756
  query: {
4757
4757
  /**
4758
- * Your Late profile ID
4758
+ * Your Zernio profile ID
4759
4759
  */
4760
4760
  profileId: string;
4761
4761
  /**
@@ -4790,7 +4790,7 @@ type ListPinterestBoardsForSelectionError = (unknown | {
4790
4790
  type SelectPinterestBoardData = {
4791
4791
  body: {
4792
4792
  /**
4793
- * Your Late profile ID
4793
+ * Your Zernio profile ID
4794
4794
  */
4795
4795
  profileId: string;
4796
4796
  /**
@@ -4856,7 +4856,7 @@ type ListSnapchatProfilesData = {
4856
4856
  };
4857
4857
  query: {
4858
4858
  /**
4859
- * Your Late profile ID
4859
+ * Your Zernio profile ID
4860
4860
  */
4861
4861
  profileId: string;
4862
4862
  /**
@@ -4895,7 +4895,7 @@ type ListSnapchatProfilesError = (unknown | {
4895
4895
  type SelectSnapchatProfileData = {
4896
4896
  body: {
4897
4897
  /**
4898
- * Your Late profile ID
4898
+ * Your Zernio profile ID
4899
4899
  */
4900
4900
  profileId: string;
4901
4901
  /**
@@ -6665,7 +6665,7 @@ type ListInboxCommentsError = ({
6665
6665
  type GetInboxPostCommentsData = {
6666
6666
  path: {
6667
6667
  /**
6668
- * Late post ID or platform-specific post ID. Late IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID.
6668
+ * Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID.
6669
6669
  */
6670
6670
  postId: string;
6671
6671
  };
@@ -6795,7 +6795,7 @@ type ReplyToInboxPostData = {
6795
6795
  };
6796
6796
  path: {
6797
6797
  /**
6798
- * Late post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6798
+ * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6799
6799
  */
6800
6800
  postId: string;
6801
6801
  };
@@ -6817,7 +6817,7 @@ type ReplyToInboxPostError = ({
6817
6817
  type DeleteInboxCommentData = {
6818
6818
  path: {
6819
6819
  /**
6820
- * Late post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6820
+ * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6821
6821
  */
6822
6822
  postId: string;
6823
6823
  };
package/dist/index.d.ts CHANGED
@@ -1140,7 +1140,7 @@ type LinkedInPlatformData = {
1140
1140
  disableLinkPreview?: boolean;
1141
1141
  };
1142
1142
  /**
1143
- * Media referenced in posts. URLs must be publicly reachable over HTTPS. Use POST /v1/media/presign for uploads up to 5GB. Late auto-compresses images and videos that exceed platform limits (videos over 200 MB may not be compressed).
1143
+ * Media referenced in posts. URLs must be publicly reachable over HTTPS. Use POST /v1/media/presign for uploads up to 5GB. Zernio auto-compresses images and videos that exceed platform limits (videos over 200 MB may not be compressed).
1144
1144
  */
1145
1145
  type MediaItem = {
1146
1146
  type?: 'image' | 'video' | 'gif' | 'document';
@@ -1286,20 +1286,20 @@ type PlatformTarget = {
1286
1286
  */
1287
1287
  errorMessage?: string;
1288
1288
  /**
1289
- * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Late infra), unknown
1289
+ * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
1290
1290
  */
1291
1291
  errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
1292
1292
  /**
1293
- * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Late issue, rare)
1293
+ * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
1294
1294
  */
1295
1295
  errorSource?: 'user' | 'platform' | 'system';
1296
1296
  };
1297
1297
  /**
1298
- * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Late infra), unknown
1298
+ * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
1299
1299
  */
1300
1300
  type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
1301
1301
  /**
1302
- * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Late issue, rare)
1302
+ * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
1303
1303
  */
1304
1304
  type errorSource = 'user' | 'platform' | 'system';
1305
1305
  type Post = {
@@ -2672,7 +2672,7 @@ type GetAnalyticsData = {
2672
2672
  */
2673
2673
  platform?: string;
2674
2674
  /**
2675
- * Returns analytics for a single post. Accepts both Late Post IDs and External Post IDs. Late IDs are auto-resolved to External Post analytics.
2675
+ * Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
2676
2676
  */
2677
2677
  postId?: string;
2678
2678
  /**
@@ -2684,7 +2684,7 @@ type GetAnalyticsData = {
2684
2684
  */
2685
2685
  sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views';
2686
2686
  /**
2687
- * Filter by post source: late (posted via Late API), external (synced from platform), all (default)
2687
+ * Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
2688
2688
  */
2689
2689
  source?: 'all' | 'late' | 'external';
2690
2690
  /**
@@ -2711,7 +2711,7 @@ type GetAnalyticsError = ({
2711
2711
  type GetYouTubeDailyViewsData = {
2712
2712
  query: {
2713
2713
  /**
2714
- * The Late account ID for the YouTube account
2714
+ * The Zernio account ID for the YouTube account
2715
2715
  */
2716
2716
  accountId: string;
2717
2717
  /**
@@ -2753,7 +2753,7 @@ type GetDailyMetricsData = {
2753
2753
  */
2754
2754
  profileId?: string;
2755
2755
  /**
2756
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2756
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2757
2757
  */
2758
2758
  source?: 'all' | 'late' | 'external';
2759
2759
  /**
@@ -2810,7 +2810,7 @@ type GetBestTimeToPostData = {
2810
2810
  */
2811
2811
  profileId?: string;
2812
2812
  /**
2813
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2813
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2814
2814
  */
2815
2815
  source?: 'all' | 'late' | 'external';
2816
2816
  };
@@ -2852,7 +2852,7 @@ type GetContentDecayData = {
2852
2852
  */
2853
2853
  profileId?: string;
2854
2854
  /**
2855
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2855
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2856
2856
  */
2857
2857
  source?: 'all' | 'late' | 'external';
2858
2858
  };
@@ -2894,7 +2894,7 @@ type GetPostingFrequencyData = {
2894
2894
  */
2895
2895
  profileId?: string;
2896
2896
  /**
2897
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2897
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2898
2898
  */
2899
2899
  source?: 'all' | 'late' | 'external';
2900
2900
  };
@@ -2933,7 +2933,7 @@ type GetPostTimelineData = {
2933
2933
  */
2934
2934
  fromDate?: string;
2935
2935
  /**
2936
- * The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Late Post ID.
2936
+ * The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Zernio Post ID.
2937
2937
  *
2938
2938
  */
2939
2939
  postId: string;
@@ -3746,11 +3746,11 @@ type GetConnectUrlData = {
3746
3746
  };
3747
3747
  query: {
3748
3748
  /**
3749
- * When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Late's default account selection UI. Use this to build a custom connect experience.
3749
+ * When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Zernio's default account selection UI. Use this to build a custom connect experience.
3750
3750
  */
3751
3751
  headless?: boolean;
3752
3752
  /**
3753
- * Your Late profile ID (get from /v1/profiles)
3753
+ * Your Zernio profile ID (get from /v1/profiles)
3754
3754
  */
3755
3755
  profileId: string;
3756
3756
  /**
@@ -3986,7 +3986,7 @@ type SelectGoogleBusinessLocationError = (unknown | {
3986
3986
  type GetGoogleBusinessReviewsData = {
3987
3987
  path: {
3988
3988
  /**
3989
- * The Late account ID (from /v1/accounts)
3989
+ * The Zernio account ID (from /v1/accounts)
3990
3990
  */
3991
3991
  accountId: string;
3992
3992
  };
@@ -4064,7 +4064,7 @@ type GetGoogleBusinessReviewsError = (ErrorResponse | {
4064
4064
  type GetGoogleBusinessFoodMenusData = {
4065
4065
  path: {
4066
4066
  /**
4067
- * The Late account ID (from /v1/accounts)
4067
+ * The Zernio account ID (from /v1/accounts)
4068
4068
  */
4069
4069
  accountId: string;
4070
4070
  };
@@ -4101,7 +4101,7 @@ type UpdateGoogleBusinessFoodMenusData = {
4101
4101
  };
4102
4102
  path: {
4103
4103
  /**
4104
- * The Late account ID (from /v1/accounts)
4104
+ * The Zernio account ID (from /v1/accounts)
4105
4105
  */
4106
4106
  accountId: string;
4107
4107
  };
@@ -4125,7 +4125,7 @@ type UpdateGoogleBusinessFoodMenusError = (ErrorResponse | {
4125
4125
  type GetGoogleBusinessLocationDetailsData = {
4126
4126
  path: {
4127
4127
  /**
4128
- * The Late account ID (from /v1/accounts)
4128
+ * The Zernio account ID (from /v1/accounts)
4129
4129
  */
4130
4130
  accountId: string;
4131
4131
  };
@@ -4344,7 +4344,7 @@ type UpdateGoogleBusinessLocationDetailsData = {
4344
4344
  };
4345
4345
  path: {
4346
4346
  /**
4347
- * The Late account ID (from /v1/accounts)
4347
+ * The Zernio account ID (from /v1/accounts)
4348
4348
  */
4349
4349
  accountId: string;
4350
4350
  };
@@ -4627,7 +4627,7 @@ type GetPendingOAuthDataResponse = ({
4627
4627
  */
4628
4628
  platform?: string;
4629
4629
  /**
4630
- * The Late profile ID
4630
+ * The Zernio profile ID
4631
4631
  */
4632
4632
  profileId?: string;
4633
4633
  /**
@@ -4755,7 +4755,7 @@ type ListPinterestBoardsForSelectionData = {
4755
4755
  };
4756
4756
  query: {
4757
4757
  /**
4758
- * Your Late profile ID
4758
+ * Your Zernio profile ID
4759
4759
  */
4760
4760
  profileId: string;
4761
4761
  /**
@@ -4790,7 +4790,7 @@ type ListPinterestBoardsForSelectionError = (unknown | {
4790
4790
  type SelectPinterestBoardData = {
4791
4791
  body: {
4792
4792
  /**
4793
- * Your Late profile ID
4793
+ * Your Zernio profile ID
4794
4794
  */
4795
4795
  profileId: string;
4796
4796
  /**
@@ -4856,7 +4856,7 @@ type ListSnapchatProfilesData = {
4856
4856
  };
4857
4857
  query: {
4858
4858
  /**
4859
- * Your Late profile ID
4859
+ * Your Zernio profile ID
4860
4860
  */
4861
4861
  profileId: string;
4862
4862
  /**
@@ -4895,7 +4895,7 @@ type ListSnapchatProfilesError = (unknown | {
4895
4895
  type SelectSnapchatProfileData = {
4896
4896
  body: {
4897
4897
  /**
4898
- * Your Late profile ID
4898
+ * Your Zernio profile ID
4899
4899
  */
4900
4900
  profileId: string;
4901
4901
  /**
@@ -6665,7 +6665,7 @@ type ListInboxCommentsError = ({
6665
6665
  type GetInboxPostCommentsData = {
6666
6666
  path: {
6667
6667
  /**
6668
- * Late post ID or platform-specific post ID. Late IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID.
6668
+ * Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID.
6669
6669
  */
6670
6670
  postId: string;
6671
6671
  };
@@ -6795,7 +6795,7 @@ type ReplyToInboxPostData = {
6795
6795
  };
6796
6796
  path: {
6797
6797
  /**
6798
- * Late post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6798
+ * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6799
6799
  */
6800
6800
  postId: string;
6801
6801
  };
@@ -6817,7 +6817,7 @@ type ReplyToInboxPostError = ({
6817
6817
  type DeleteInboxCommentData = {
6818
6818
  path: {
6819
6819
  /**
6820
- * Late post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6820
+ * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6821
6821
  */
6822
6822
  postId: string;
6823
6823
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.1.56",
3
+ "version": "0.1.58",
4
4
  "description": "The official Node.js library for the Late API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -34,7 +34,7 @@
34
34
  "test": "vitest run",
35
35
  "test:watch": "vitest",
36
36
  "prepublishOnly": "npm run build",
37
- "fetch-spec": "curl -o openapi.yaml https://getlate.dev/openapi.yaml"
37
+ "fetch-spec": "curl -o openapi.yaml https://zernio.com/openapi.yaml"
38
38
  },
39
39
  "keywords": [
40
40
  "late",
@@ -196,7 +196,7 @@ export const validateSubreddit = <ThrowOnError extends boolean = false>(options:
196
196
  /**
197
197
  * Get post analytics
198
198
  * Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats.
199
- * Accepts both Late Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days.
199
+ * Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days.
200
200
  * Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats.
201
201
  *
202
202
  */
@@ -282,7 +282,7 @@ export const getPostingFrequency = <ThrowOnError extends boolean = false>(option
282
282
  * Get post analytics timeline
283
283
  * Returns a daily timeline of analytics metrics for a specific post, showing how impressions, likes,
284
284
  * and other metrics evolved day-by-day since publishing. Each row represents one day of data per platform.
285
- * For multi-platform Late posts, returns separate rows for each platform. Requires the Analytics add-on.
285
+ * For multi-platform Zernio posts, returns separate rows for each platform. Requires the Analytics add-on.
286
286
  *
287
287
  */
288
288
  export const getPostTimeline = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPostTimelineData, ThrowOnError>) => {
@@ -431,7 +431,7 @@ export const updatePost = <ThrowOnError extends boolean = false>(options: Option
431
431
 
432
432
  /**
433
433
  * Delete post
434
- * Delete a draft or scheduled post from Late. Published posts cannot be deleted; use the Unpublish endpoint instead. Upload quota is automatically refunded.
434
+ * Delete a draft or scheduled post from Zernio. Published posts cannot be deleted; use the Unpublish endpoint instead. Upload quota is automatically refunded.
435
435
  */
436
436
  export const deletePost = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeletePostData, ThrowOnError>) => {
437
437
  return (options?.client ?? client).delete<DeletePostResponse, DeletePostError, ThrowOnError>({
@@ -469,7 +469,7 @@ export const retryPost = <ThrowOnError extends boolean = false>(options: Options
469
469
 
470
470
  /**
471
471
  * Unpublish post
472
- * Deletes a published post from the specified platform. The post record in Late is kept but its status is updated to cancelled.
472
+ * Deletes a published post from the specified platform. The post record in Zernio is kept but its status is updated to cancelled.
473
473
  * Not supported on Instagram, TikTok, or Snapchat. Threaded posts delete all items. YouTube deletion is permanent.
474
474
  *
475
475
  */
@@ -674,7 +674,7 @@ export const createInviteToken = <ThrowOnError extends boolean = false>(options:
674
674
  /**
675
675
  * Get OAuth connect URL
676
676
  * Initiate an OAuth connection flow. Returns an authUrl to redirect the user to.
677
- * Standard flow: Late hosts the selection UI, then redirects to your redirect_url. Headless mode (headless=true): user is redirected to your redirect_url with OAuth data for custom UI. Use the platform-specific selection endpoints to complete.
677
+ * Standard flow: Zernio hosts the selection UI, then redirects to your redirect_url. Headless mode (headless=true): user is redirected to your redirect_url with OAuth data for custom UI. Use the platform-specific selection endpoints to complete.
678
678
  *
679
679
  */
680
680
  export const getConnectUrl = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetConnectUrlData, ThrowOnError>) => {
@@ -715,7 +715,7 @@ export type LinkedInPlatformData = {
715
715
  };
716
716
 
717
717
  /**
718
- * Media referenced in posts. URLs must be publicly reachable over HTTPS. Use POST /v1/media/presign for uploads up to 5GB. Late auto-compresses images and videos that exceed platform limits (videos over 200 MB may not be compressed).
718
+ * Media referenced in posts. URLs must be publicly reachable over HTTPS. Use POST /v1/media/presign for uploads up to 5GB. Zernio auto-compresses images and videos that exceed platform limits (videos over 200 MB may not be compressed).
719
719
  */
720
720
  export type MediaItem = {
721
721
  type?: 'image' | 'video' | 'gif' | 'document';
@@ -872,22 +872,22 @@ export type PlatformTarget = {
872
872
  */
873
873
  errorMessage?: string;
874
874
  /**
875
- * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Late infra), unknown
875
+ * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
876
876
  */
877
877
  errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
878
878
  /**
879
- * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Late issue, rare)
879
+ * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
880
880
  */
881
881
  errorSource?: 'user' | 'platform' | 'system';
882
882
  };
883
883
 
884
884
  /**
885
- * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Late infra), unknown
885
+ * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
886
886
  */
887
887
  export type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
888
888
 
889
889
  /**
890
- * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Late issue, rare)
890
+ * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
891
891
  */
892
892
  export type errorSource = 'user' | 'platform' | 'system';
893
893
 
@@ -2375,7 +2375,7 @@ export type GetAnalyticsData = {
2375
2375
  */
2376
2376
  platform?: string;
2377
2377
  /**
2378
- * Returns analytics for a single post. Accepts both Late Post IDs and External Post IDs. Late IDs are auto-resolved to External Post analytics.
2378
+ * Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
2379
2379
  */
2380
2380
  postId?: string;
2381
2381
  /**
@@ -2387,7 +2387,7 @@ export type GetAnalyticsData = {
2387
2387
  */
2388
2388
  sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views';
2389
2389
  /**
2390
- * Filter by post source: late (posted via Late API), external (synced from platform), all (default)
2390
+ * Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
2391
2391
  */
2392
2392
  source?: 'all' | 'late' | 'external';
2393
2393
  /**
@@ -2417,7 +2417,7 @@ export type GetAnalyticsError = ({
2417
2417
  export type GetYouTubeDailyViewsData = {
2418
2418
  query: {
2419
2419
  /**
2420
- * The Late account ID for the YouTube account
2420
+ * The Zernio account ID for the YouTube account
2421
2421
  */
2422
2422
  accountId: string;
2423
2423
  /**
@@ -2462,7 +2462,7 @@ export type GetDailyMetricsData = {
2462
2462
  */
2463
2463
  profileId?: string;
2464
2464
  /**
2465
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2465
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2466
2466
  */
2467
2467
  source?: 'all' | 'late' | 'external';
2468
2468
  /**
@@ -2522,7 +2522,7 @@ export type GetBestTimeToPostData = {
2522
2522
  */
2523
2523
  profileId?: string;
2524
2524
  /**
2525
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2525
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2526
2526
  */
2527
2527
  source?: 'all' | 'late' | 'external';
2528
2528
  };
@@ -2567,7 +2567,7 @@ export type GetContentDecayData = {
2567
2567
  */
2568
2568
  profileId?: string;
2569
2569
  /**
2570
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2570
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2571
2571
  */
2572
2572
  source?: 'all' | 'late' | 'external';
2573
2573
  };
@@ -2612,7 +2612,7 @@ export type GetPostingFrequencyData = {
2612
2612
  */
2613
2613
  profileId?: string;
2614
2614
  /**
2615
- * Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
2615
+ * Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
2616
2616
  */
2617
2617
  source?: 'all' | 'late' | 'external';
2618
2618
  };
@@ -2654,7 +2654,7 @@ export type GetPostTimelineData = {
2654
2654
  */
2655
2655
  fromDate?: string;
2656
2656
  /**
2657
- * The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Late Post ID.
2657
+ * The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Zernio Post ID.
2658
2658
  *
2659
2659
  */
2660
2660
  postId: string;
@@ -3565,11 +3565,11 @@ export type GetConnectUrlData = {
3565
3565
  };
3566
3566
  query: {
3567
3567
  /**
3568
- * When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Late's default account selection UI. Use this to build a custom connect experience.
3568
+ * When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Zernio's default account selection UI. Use this to build a custom connect experience.
3569
3569
  */
3570
3570
  headless?: boolean;
3571
3571
  /**
3572
- * Your Late profile ID (get from /v1/profiles)
3572
+ * Your Zernio profile ID (get from /v1/profiles)
3573
3573
  */
3574
3574
  profileId: string;
3575
3575
  /**
@@ -3823,7 +3823,7 @@ export type SelectGoogleBusinessLocationError = (unknown | {
3823
3823
  export type GetGoogleBusinessReviewsData = {
3824
3824
  path: {
3825
3825
  /**
3826
- * The Late account ID (from /v1/accounts)
3826
+ * The Zernio account ID (from /v1/accounts)
3827
3827
  */
3828
3828
  accountId: string;
3829
3829
  };
@@ -3904,7 +3904,7 @@ export type GetGoogleBusinessReviewsError = (ErrorResponse | {
3904
3904
  export type GetGoogleBusinessFoodMenusData = {
3905
3905
  path: {
3906
3906
  /**
3907
- * The Late account ID (from /v1/accounts)
3907
+ * The Zernio account ID (from /v1/accounts)
3908
3908
  */
3909
3909
  accountId: string;
3910
3910
  };
@@ -3944,7 +3944,7 @@ export type UpdateGoogleBusinessFoodMenusData = {
3944
3944
  };
3945
3945
  path: {
3946
3946
  /**
3947
- * The Late account ID (from /v1/accounts)
3947
+ * The Zernio account ID (from /v1/accounts)
3948
3948
  */
3949
3949
  accountId: string;
3950
3950
  };
@@ -3971,7 +3971,7 @@ export type UpdateGoogleBusinessFoodMenusError = (ErrorResponse | {
3971
3971
  export type GetGoogleBusinessLocationDetailsData = {
3972
3972
  path: {
3973
3973
  /**
3974
- * The Late account ID (from /v1/accounts)
3974
+ * The Zernio account ID (from /v1/accounts)
3975
3975
  */
3976
3976
  accountId: string;
3977
3977
  };
@@ -4193,7 +4193,7 @@ export type UpdateGoogleBusinessLocationDetailsData = {
4193
4193
  };
4194
4194
  path: {
4195
4195
  /**
4196
- * The Late account ID (from /v1/accounts)
4196
+ * The Zernio account ID (from /v1/accounts)
4197
4197
  */
4198
4198
  accountId: string;
4199
4199
  };
@@ -4504,7 +4504,7 @@ export type GetPendingOAuthDataResponse = ({
4504
4504
  */
4505
4505
  platform?: string;
4506
4506
  /**
4507
- * The Late profile ID
4507
+ * The Zernio profile ID
4508
4508
  */
4509
4509
  profileId?: string;
4510
4510
  /**
@@ -4640,7 +4640,7 @@ export type ListPinterestBoardsForSelectionData = {
4640
4640
  };
4641
4641
  query: {
4642
4642
  /**
4643
- * Your Late profile ID
4643
+ * Your Zernio profile ID
4644
4644
  */
4645
4645
  profileId: string;
4646
4646
  /**
@@ -4678,7 +4678,7 @@ export type ListPinterestBoardsForSelectionError = (unknown | {
4678
4678
  export type SelectPinterestBoardData = {
4679
4679
  body: {
4680
4680
  /**
4681
- * Your Late profile ID
4681
+ * Your Zernio profile ID
4682
4682
  */
4683
4683
  profileId: string;
4684
4684
  /**
@@ -4747,7 +4747,7 @@ export type ListSnapchatProfilesData = {
4747
4747
  };
4748
4748
  query: {
4749
4749
  /**
4750
- * Your Late profile ID
4750
+ * Your Zernio profile ID
4751
4751
  */
4752
4752
  profileId: string;
4753
4753
  /**
@@ -4789,7 +4789,7 @@ export type ListSnapchatProfilesError = (unknown | {
4789
4789
  export type SelectSnapchatProfileData = {
4790
4790
  body: {
4791
4791
  /**
4792
- * Your Late profile ID
4792
+ * Your Zernio profile ID
4793
4793
  */
4794
4794
  profileId: string;
4795
4795
  /**
@@ -6714,7 +6714,7 @@ export type ListInboxCommentsError = ({
6714
6714
  export type GetInboxPostCommentsData = {
6715
6715
  path: {
6716
6716
  /**
6717
- * Late post ID or platform-specific post ID. Late IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID.
6717
+ * Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID.
6718
6718
  */
6719
6719
  postId: string;
6720
6720
  };
@@ -6847,7 +6847,7 @@ export type ReplyToInboxPostData = {
6847
6847
  };
6848
6848
  path: {
6849
6849
  /**
6850
- * Late post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6850
+ * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6851
6851
  */
6852
6852
  postId: string;
6853
6853
  };
@@ -6872,7 +6872,7 @@ export type ReplyToInboxPostError = ({
6872
6872
  export type DeleteInboxCommentData = {
6873
6873
  path: {
6874
6874
  /**
6875
- * Late post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6875
+ * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6876
6876
  */
6877
6877
  postId: string;
6878
6878
  };