@zernio/node 0.2.35 → 0.2.37

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
@@ -509,7 +509,7 @@ declare class Zernio {
509
509
  * adaudiences API
510
510
  */
511
511
  adaudiences: {
512
- listAdAudiences: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListAdAudiencesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListAdAudiencesResponse, ListAdAudiencesError, ThrowOnError>;
512
+ listAdAudiences: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListAdAudiencesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListAdAudiencesResponse, unknown, ThrowOnError>;
513
513
  createAdAudience: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateAdAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateAdAudienceResponse, unknown, ThrowOnError>;
514
514
  getAdAudience: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdAudienceResponse, unknown, ThrowOnError>;
515
515
  deleteAdAudience: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteAdAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteAdAudienceResponse, unknown, ThrowOnError>;
@@ -753,6 +753,9 @@ type AdMetrics = {
753
753
  */
754
754
  cpm?: number;
755
755
  engagement?: number;
756
+ /**
757
+ * Present on individual ads only, not on campaign aggregations
758
+ */
756
759
  lastSyncedAt?: string;
757
760
  };
758
761
  type AnalyticsListResponse = {
@@ -10883,6 +10886,10 @@ type UpdateAdCampaignStatusResponse = ({
10883
10886
  */
10884
10887
  skipped?: number;
10885
10888
  skippedReasons?: Array<(string)>;
10889
+ /**
10890
+ * Human-readable summary (present when no ads were actionable)
10891
+ */
10892
+ message?: string;
10886
10893
  });
10887
10894
  type UpdateAdCampaignStatusError = (unknown | {
10888
10895
  error?: string;
@@ -11143,7 +11150,7 @@ type SyncExternalAdsResponse = ({
11143
11150
  */
11144
11151
  synced?: number;
11145
11152
  /**
11146
- * Already-synced ads updated
11153
+ * Already-known ads (skipped import
11147
11154
  */
11148
11155
  skipped?: number;
11149
11156
  /**
@@ -11203,7 +11210,7 @@ type ListAdAudiencesResponse = ({
11203
11210
  });
11204
11211
  type ListAdAudiencesError = ({
11205
11212
  error?: string;
11206
- });
11213
+ } | unknown);
11207
11214
  type CreateAdAudienceData = {
11208
11215
  body: {
11209
11216
  accountId: string;
package/dist/index.d.ts CHANGED
@@ -509,7 +509,7 @@ declare class Zernio {
509
509
  * adaudiences API
510
510
  */
511
511
  adaudiences: {
512
- listAdAudiences: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListAdAudiencesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListAdAudiencesResponse, ListAdAudiencesError, ThrowOnError>;
512
+ listAdAudiences: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListAdAudiencesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListAdAudiencesResponse, unknown, ThrowOnError>;
513
513
  createAdAudience: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateAdAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateAdAudienceResponse, unknown, ThrowOnError>;
514
514
  getAdAudience: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdAudienceResponse, unknown, ThrowOnError>;
515
515
  deleteAdAudience: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteAdAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteAdAudienceResponse, unknown, ThrowOnError>;
@@ -753,6 +753,9 @@ type AdMetrics = {
753
753
  */
754
754
  cpm?: number;
755
755
  engagement?: number;
756
+ /**
757
+ * Present on individual ads only, not on campaign aggregations
758
+ */
756
759
  lastSyncedAt?: string;
757
760
  };
758
761
  type AnalyticsListResponse = {
@@ -10883,6 +10886,10 @@ type UpdateAdCampaignStatusResponse = ({
10883
10886
  */
10884
10887
  skipped?: number;
10885
10888
  skippedReasons?: Array<(string)>;
10889
+ /**
10890
+ * Human-readable summary (present when no ads were actionable)
10891
+ */
10892
+ message?: string;
10886
10893
  });
10887
10894
  type UpdateAdCampaignStatusError = (unknown | {
10888
10895
  error?: string;
@@ -11143,7 +11150,7 @@ type SyncExternalAdsResponse = ({
11143
11150
  */
11144
11151
  synced?: number;
11145
11152
  /**
11146
- * Already-synced ads updated
11153
+ * Already-known ads (skipped import
11147
11154
  */
11148
11155
  skipped?: number;
11149
11156
  /**
@@ -11203,7 +11210,7 @@ type ListAdAudiencesResponse = ({
11203
11210
  });
11204
11211
  type ListAdAudiencesError = ({
11205
11212
  error?: string;
11206
- });
11213
+ } | unknown);
11207
11214
  type CreateAdAudienceData = {
11208
11215
  body: {
11209
11216
  accountId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.35",
3
+ "version": "0.2.37",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -173,6 +173,9 @@ export type AdMetrics = {
173
173
  */
174
174
  cpm?: number;
175
175
  engagement?: number;
176
+ /**
177
+ * Present on individual ads only, not on campaign aggregations
178
+ */
176
179
  lastSyncedAt?: string;
177
180
  };
178
181
 
@@ -11183,6 +11186,10 @@ export type UpdateAdCampaignStatusResponse = ({
11183
11186
  */
11184
11187
  skipped?: number;
11185
11188
  skippedReasons?: Array<(string)>;
11189
+ /**
11190
+ * Human-readable summary (present when no ads were actionable)
11191
+ */
11192
+ message?: string;
11186
11193
  });
11187
11194
 
11188
11195
  export type UpdateAdCampaignStatusError = (unknown | {
@@ -11466,7 +11473,7 @@ export type SyncExternalAdsResponse = ({
11466
11473
  */
11467
11474
  synced?: number;
11468
11475
  /**
11469
- * Already-synced ads updated
11476
+ * Already-known ads (skipped import
11470
11477
  */
11471
11478
  skipped?: number;
11472
11479
  /**
@@ -11533,7 +11540,7 @@ export type ListAdAudiencesResponse = ({
11533
11540
 
11534
11541
  export type ListAdAudiencesError = ({
11535
11542
  error?: string;
11536
- });
11543
+ } | unknown);
11537
11544
 
11538
11545
  export type CreateAdAudienceData = {
11539
11546
  body: {