@zernio/node 0.2.77 → 0.2.78

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
@@ -7474,10 +7474,6 @@ type GetDiscordSettingsError = (unknown | {
7474
7474
  });
7475
7475
  type UpdateDiscordSettingsData = {
7476
7476
  body: {
7477
- /**
7478
- * Discord account ID
7479
- */
7480
- accountId: string;
7481
7477
  /**
7482
7478
  * Custom display name for the webhook (1-80 chars). Empty string resets to default ("Zernio"). Cannot contain "clyde" or "discord".
7483
7479
  */
@@ -11644,7 +11640,7 @@ type ListAdsData = {
11644
11640
  */
11645
11641
  profileId?: string;
11646
11642
  /**
11647
- * zernio = Zernio-created only, all = include external ads
11643
+ * all (default) = Zernio-created + platform-discovered ads. zernio = restrict to Zernio-created only.
11648
11644
  */
11649
11645
  source?: 'zernio' | 'all';
11650
11646
  status?: AdStatus;
@@ -11682,7 +11678,7 @@ type ListAdCampaignsData = {
11682
11678
  */
11683
11679
  profileId?: string;
11684
11680
  /**
11685
- * `zernio` (default) returns only ads created via Zernio (isExternal=false). `all` additionally returns ads discovered from the platform's ad manager (isExternal=true). Status is NOT filtered by default — use the `status` param for that.
11681
+ * `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.
11686
11682
  */
11687
11683
  source?: 'zernio' | 'all';
11688
11684
  /**
@@ -11925,7 +11921,7 @@ type GetAdTreeData = {
11925
11921
  */
11926
11922
  profileId?: string;
11927
11923
  /**
11928
- * `zernio` (default) returns only ads created via Zernio (isExternal=false). `all` additionally returns ads discovered from the platform's ad manager (isExternal=true). Status is NOT filtered by default — use the `status` param for that.
11924
+ * `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.
11929
11925
  */
11930
11926
  source?: 'zernio' | 'all';
11931
11927
  /**
package/dist/index.d.ts CHANGED
@@ -7474,10 +7474,6 @@ type GetDiscordSettingsError = (unknown | {
7474
7474
  });
7475
7475
  type UpdateDiscordSettingsData = {
7476
7476
  body: {
7477
- /**
7478
- * Discord account ID
7479
- */
7480
- accountId: string;
7481
7477
  /**
7482
7478
  * Custom display name for the webhook (1-80 chars). Empty string resets to default ("Zernio"). Cannot contain "clyde" or "discord".
7483
7479
  */
@@ -11644,7 +11640,7 @@ type ListAdsData = {
11644
11640
  */
11645
11641
  profileId?: string;
11646
11642
  /**
11647
- * zernio = Zernio-created only, all = include external ads
11643
+ * all (default) = Zernio-created + platform-discovered ads. zernio = restrict to Zernio-created only.
11648
11644
  */
11649
11645
  source?: 'zernio' | 'all';
11650
11646
  status?: AdStatus;
@@ -11682,7 +11678,7 @@ type ListAdCampaignsData = {
11682
11678
  */
11683
11679
  profileId?: string;
11684
11680
  /**
11685
- * `zernio` (default) returns only ads created via Zernio (isExternal=false). `all` additionally returns ads discovered from the platform's ad manager (isExternal=true). Status is NOT filtered by default — use the `status` param for that.
11681
+ * `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.
11686
11682
  */
11687
11683
  source?: 'zernio' | 'all';
11688
11684
  /**
@@ -11925,7 +11921,7 @@ type GetAdTreeData = {
11925
11921
  */
11926
11922
  profileId?: string;
11927
11923
  /**
11928
- * `zernio` (default) returns only ads created via Zernio (isExternal=false). `all` additionally returns ads discovered from the platform's ad manager (isExternal=true). Status is NOT filtered by default — use the `status` param for that.
11924
+ * `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.
11929
11925
  */
11930
11926
  source?: 'zernio' | 'all';
11931
11927
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.77",
3
+ "version": "0.2.78",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -7356,10 +7356,6 @@ export type GetDiscordSettingsError = (unknown | {
7356
7356
 
7357
7357
  export type UpdateDiscordSettingsData = {
7358
7358
  body: {
7359
- /**
7360
- * Discord account ID
7361
- */
7362
- accountId: string;
7363
7359
  /**
7364
7360
  * Custom display name for the webhook (1-80 chars). Empty string resets to default ("Zernio"). Cannot contain "clyde" or "discord".
7365
7361
  */
@@ -11906,7 +11902,7 @@ export type ListAdsData = {
11906
11902
  */
11907
11903
  profileId?: string;
11908
11904
  /**
11909
- * zernio = Zernio-created only, all = include external ads
11905
+ * all (default) = Zernio-created + platform-discovered ads. zernio = restrict to Zernio-created only.
11910
11906
  */
11911
11907
  source?: 'zernio' | 'all';
11912
11908
  status?: AdStatus;
@@ -11947,7 +11943,7 @@ export type ListAdCampaignsData = {
11947
11943
  */
11948
11944
  profileId?: string;
11949
11945
  /**
11950
- * `zernio` (default) returns only ads created via Zernio (isExternal=false). `all` additionally returns ads discovered from the platform's ad manager (isExternal=true). Status is NOT filtered by default — use the `status` param for that.
11946
+ * `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.
11951
11947
  */
11952
11948
  source?: 'zernio' | 'all';
11953
11949
  /**
@@ -12214,7 +12210,7 @@ export type GetAdTreeData = {
12214
12210
  */
12215
12211
  profileId?: string;
12216
12212
  /**
12217
- * `zernio` (default) returns only ads created via Zernio (isExternal=false). `all` additionally returns ads discovered from the platform's ad manager (isExternal=true). Status is NOT filtered by default — use the `status` param for that.
12213
+ * `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.
12218
12214
  */
12219
12215
  source?: 'zernio' | 'all';
12220
12216
  /**