@zernio/node 0.2.118 → 0.2.119

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
@@ -2876,9 +2876,9 @@ type SnapchatPlatformData = {
2876
2876
  */
2877
2877
  type contentType3 = 'story' | 'saved_story' | 'spotlight';
2878
2878
  type SocialAccount = {
2879
- _id?: string;
2880
- platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
2881
- profileId?: (string | Profile);
2879
+ _id: string;
2880
+ platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
2881
+ profileId: (string | Profile);
2882
2882
  username?: string;
2883
2883
  displayName?: string;
2884
2884
  /**
@@ -2889,7 +2889,7 @@ type SocialAccount = {
2889
2889
  * Full profile URL for the connected account on its platform.
2890
2890
  */
2891
2891
  profileUrl?: string;
2892
- isActive?: boolean;
2892
+ isActive: boolean;
2893
2893
  /**
2894
2894
  * Follower count (only included if user has analytics add-on)
2895
2895
  */
@@ -5950,11 +5950,11 @@ type ListAccountsData = {
5950
5950
  };
5951
5951
  };
5952
5952
  type ListAccountsResponse = ({
5953
- accounts?: Array<SocialAccount>;
5953
+ accounts: Array<SocialAccount>;
5954
5954
  /**
5955
5955
  * Whether user has analytics add-on access
5956
5956
  */
5957
- hasAnalyticsAccess?: boolean;
5957
+ hasAnalyticsAccess: boolean;
5958
5958
  /**
5959
5959
  * Only present when page/limit params are provided
5960
5960
  */
package/dist/index.d.ts CHANGED
@@ -2876,9 +2876,9 @@ type SnapchatPlatformData = {
2876
2876
  */
2877
2877
  type contentType3 = 'story' | 'saved_story' | 'spotlight';
2878
2878
  type SocialAccount = {
2879
- _id?: string;
2880
- platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
2881
- profileId?: (string | Profile);
2879
+ _id: string;
2880
+ platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
2881
+ profileId: (string | Profile);
2882
2882
  username?: string;
2883
2883
  displayName?: string;
2884
2884
  /**
@@ -2889,7 +2889,7 @@ type SocialAccount = {
2889
2889
  * Full profile URL for the connected account on its platform.
2890
2890
  */
2891
2891
  profileUrl?: string;
2892
- isActive?: boolean;
2892
+ isActive: boolean;
2893
2893
  /**
2894
2894
  * Follower count (only included if user has analytics add-on)
2895
2895
  */
@@ -5950,11 +5950,11 @@ type ListAccountsData = {
5950
5950
  };
5951
5951
  };
5952
5952
  type ListAccountsResponse = ({
5953
- accounts?: Array<SocialAccount>;
5953
+ accounts: Array<SocialAccount>;
5954
5954
  /**
5955
5955
  * Whether user has analytics add-on access
5956
5956
  */
5957
- hasAnalyticsAccess?: boolean;
5957
+ hasAnalyticsAccess: boolean;
5958
5958
  /**
5959
5959
  * Only present when page/limit params are provided
5960
5960
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.118",
3
+ "version": "0.2.119",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2378,9 +2378,9 @@ export type SnapchatPlatformData = {
2378
2378
  export type contentType3 = 'story' | 'saved_story' | 'spotlight';
2379
2379
 
2380
2380
  export type SocialAccount = {
2381
- _id?: string;
2382
- platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
2383
- profileId?: (string | Profile);
2381
+ _id: string;
2382
+ platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
2383
+ profileId: (string | Profile);
2384
2384
  username?: string;
2385
2385
  displayName?: string;
2386
2386
  /**
@@ -2391,7 +2391,7 @@ export type SocialAccount = {
2391
2391
  * Full profile URL for the connected account on its platform.
2392
2392
  */
2393
2393
  profileUrl?: string;
2394
- isActive?: boolean;
2394
+ isActive: boolean;
2395
2395
  /**
2396
2396
  * Follower count (only included if user has analytics add-on)
2397
2397
  */
@@ -5659,11 +5659,11 @@ export type ListAccountsData = {
5659
5659
  };
5660
5660
 
5661
5661
  export type ListAccountsResponse = ({
5662
- accounts?: Array<SocialAccount>;
5662
+ accounts: Array<SocialAccount>;
5663
5663
  /**
5664
5664
  * Whether user has analytics add-on access
5665
5665
  */
5666
- hasAnalyticsAccess?: boolean;
5666
+ hasAnalyticsAccess: boolean;
5667
5667
  /**
5668
5668
  * Only present when page/limit params are provided
5669
5669
  */