@zernio/node 0.2.150 → 0.2.151
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/generated/types.gen.ts +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -14066,6 +14066,10 @@ type GetAdTreeData = {
|
|
|
14066
14066
|
* Profile ID
|
|
14067
14067
|
*/
|
|
14068
14068
|
profileId?: string;
|
|
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).
|
|
14071
|
+
*/
|
|
14072
|
+
sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc';
|
|
14069
14073
|
/**
|
|
14070
14074
|
* `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that.
|
|
14071
14075
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -14066,6 +14066,10 @@ type GetAdTreeData = {
|
|
|
14066
14066
|
* Profile ID
|
|
14067
14067
|
*/
|
|
14068
14068
|
profileId?: string;
|
|
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).
|
|
14071
|
+
*/
|
|
14072
|
+
sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc';
|
|
14069
14073
|
/**
|
|
14070
14074
|
* `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that.
|
|
14071
14075
|
*/
|
package/package.json
CHANGED
|
@@ -14388,6 +14388,10 @@ export type GetAdTreeData = {
|
|
|
14388
14388
|
* Profile ID
|
|
14389
14389
|
*/
|
|
14390
14390
|
profileId?: string;
|
|
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).
|
|
14393
|
+
*/
|
|
14394
|
+
sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc';
|
|
14391
14395
|
/**
|
|
14392
14396
|
* `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that.
|
|
14393
14397
|
*/
|