@zernio/node 0.2.151 → 0.2.153

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
@@ -6711,7 +6711,7 @@ type GetAllAccountsHealthData = {
6711
6711
  /**
6712
6712
  * Filter by platform
6713
6713
  */
6714
- platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
6714
+ platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp';
6715
6715
  /**
6716
6716
  * Filter by profile ID
6717
6717
  */
@@ -6969,7 +6969,7 @@ type GetConnectUrlData = {
6969
6969
  /**
6970
6970
  * Social media platform to connect
6971
6971
  */
6972
- platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
6972
+ platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp';
6973
6973
  };
6974
6974
  query: {
6975
6975
  /**
@@ -14067,7 +14067,7 @@ type GetAdTreeData = {
14067
14067
  */
14068
14068
  profileId?: string;
14069
14069
  /**
14070
- * Campaign-level sort order. `newest` (default) and `oldest` order by the campaign's newest-ad createdAt. `spend_desc` / `spend_asc` are accepted for forward compatibility but currently fall back to an adSetCount-based ordering (spend ranking via Tinybird is pending).
14070
+ * Campaign-level sort order. `newest` (default) / `oldest` order by the campaign's newest-ad createdAt. `spend_desc` / `spend_asc` order by aggregated spend in the requested date range; campaigns with no spend land at the end.
14071
14071
  */
14072
14072
  sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc';
14073
14073
  /**
package/dist/index.d.ts CHANGED
@@ -6711,7 +6711,7 @@ type GetAllAccountsHealthData = {
6711
6711
  /**
6712
6712
  * Filter by platform
6713
6713
  */
6714
- platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
6714
+ platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp';
6715
6715
  /**
6716
6716
  * Filter by profile ID
6717
6717
  */
@@ -6969,7 +6969,7 @@ type GetConnectUrlData = {
6969
6969
  /**
6970
6970
  * Social media platform to connect
6971
6971
  */
6972
- platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
6972
+ platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp';
6973
6973
  };
6974
6974
  query: {
6975
6975
  /**
@@ -14067,7 +14067,7 @@ type GetAdTreeData = {
14067
14067
  */
14068
14068
  profileId?: string;
14069
14069
  /**
14070
- * Campaign-level sort order. `newest` (default) and `oldest` order by the campaign's newest-ad createdAt. `spend_desc` / `spend_asc` are accepted for forward compatibility but currently fall back to an adSetCount-based ordering (spend ranking via Tinybird is pending).
14070
+ * Campaign-level sort order. `newest` (default) / `oldest` order by the campaign's newest-ad createdAt. `spend_desc` / `spend_asc` order by aggregated spend in the requested date range; campaigns with no spend land at the end.
14071
14071
  */
14072
14072
  sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc';
14073
14073
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.151",
3
+ "version": "0.2.153",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6429,7 +6429,7 @@ export type GetAllAccountsHealthData = {
6429
6429
  /**
6430
6430
  * Filter by platform
6431
6431
  */
6432
- platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
6432
+ platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp';
6433
6433
  /**
6434
6434
  * Filter by profile ID
6435
6435
  */
@@ -6707,7 +6707,7 @@ export type GetConnectUrlData = {
6707
6707
  /**
6708
6708
  * Social media platform to connect
6709
6709
  */
6710
- platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
6710
+ platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp';
6711
6711
  };
6712
6712
  query: {
6713
6713
  /**
@@ -14389,7 +14389,7 @@ export type GetAdTreeData = {
14389
14389
  */
14390
14390
  profileId?: string;
14391
14391
  /**
14392
- * Campaign-level sort order. `newest` (default) and `oldest` order by the campaign's newest-ad createdAt. `spend_desc` / `spend_asc` are accepted for forward compatibility but currently fall back to an adSetCount-based ordering (spend ranking via Tinybird is pending).
14392
+ * Campaign-level sort order. `newest` (default) / `oldest` order by the campaign's newest-ad createdAt. `spend_desc` / `spend_asc` order by aggregated spend in the requested date range; campaigns with no spend land at the end.
14393
14393
  */
14394
14394
  sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc';
14395
14395
  /**