@zernio/node 0.2.96 → 0.2.98

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
@@ -12657,6 +12657,14 @@ type ListAdAccountsResponse = ({
12657
12657
  name?: string;
12658
12658
  currency?: string;
12659
12659
  status?: string;
12660
+ /**
12661
+ * IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
12662
+ */
12663
+ timezoneName?: string;
12664
+ /**
12665
+ * Signed UTC offset in hours, reflecting current DST (Meta only).
12666
+ */
12667
+ timezoneOffsetHoursUtc?: number;
12660
12668
  }>;
12661
12669
  });
12662
12670
  type ListAdAccountsError = ({
@@ -12731,6 +12739,20 @@ type BoostPostData = {
12731
12739
  * Meta only. Required for housing, employment, credit, or political ads.
12732
12740
  */
12733
12741
  specialAdCategories?: Array<('HOUSING' | 'EMPLOYMENT' | 'CREDIT' | 'ISSUES_ELECTIONS_POLITICS')>;
12742
+ /**
12743
+ * Name of the legal entity benefiting from the ad.
12744
+ * Required by Meta when targeting EU users (DSA Article 26).
12745
+ * Not enforced at schema level; enforced server-side when targeting intersects EU member states.
12746
+ *
12747
+ */
12748
+ dsaBeneficiary?: string;
12749
+ /**
12750
+ * Name of the legal entity paying for the ad.
12751
+ * Required by Meta when targeting EU users (DSA Article 26).
12752
+ * Note Meta API spelling: dsa_payor (not dsa_payer).
12753
+ *
12754
+ */
12755
+ dsaPayor?: string;
12734
12756
  };
12735
12757
  };
12736
12758
  type BoostPostResponse = ({
@@ -12890,6 +12912,20 @@ type CreateStandaloneAdData = {
12890
12912
  * Meta only. Restrict the audience by gender. 'male' targets men only, 'female' targets women only, 'all' (default) targets everyone. Ignored by non-Meta platforms.
12891
12913
  */
12892
12914
  gender?: 'all' | 'male' | 'female';
12915
+ /**
12916
+ * Name of the legal entity benefiting from the ad.
12917
+ * Required by Meta when targeting EU users (DSA Article 26).
12918
+ * Not enforced at schema level; enforced server-side when targeting intersects EU member states.
12919
+ *
12920
+ */
12921
+ dsaBeneficiary?: string;
12922
+ /**
12923
+ * Name of the legal entity paying for the ad.
12924
+ * Required by Meta when targeting EU users (DSA Article 26).
12925
+ * Note Meta API spelling: dsa_payor (not dsa_payer).
12926
+ *
12927
+ */
12928
+ dsaPayor?: string;
12893
12929
  };
12894
12930
  };
12895
12931
  type CreateStandaloneAdResponse = (({
@@ -13348,6 +13384,20 @@ type CreateCtwaAdData = {
13348
13384
  *
13349
13385
  */
13350
13386
  objective?: 'OUTCOME_ENGAGEMENT' | 'OUTCOME_SALES' | 'OUTCOME_LEADS';
13387
+ /**
13388
+ * Name of the legal entity benefiting from the ad.
13389
+ * Required by Meta when targeting EU users (DSA Article 26).
13390
+ * Not enforced at schema level; enforced server-side when targeting intersects EU member states.
13391
+ *
13392
+ */
13393
+ dsaBeneficiary?: string;
13394
+ /**
13395
+ * Name of the legal entity paying for the ad.
13396
+ * Required by Meta when targeting EU users (DSA Article 26).
13397
+ * Note Meta API spelling: dsa_payor (not dsa_payer).
13398
+ *
13399
+ */
13400
+ dsaPayor?: string;
13351
13401
  };
13352
13402
  };
13353
13403
  type CreateCtwaAdResponse = ({
package/dist/index.d.ts CHANGED
@@ -12657,6 +12657,14 @@ type ListAdAccountsResponse = ({
12657
12657
  name?: string;
12658
12658
  currency?: string;
12659
12659
  status?: string;
12660
+ /**
12661
+ * IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
12662
+ */
12663
+ timezoneName?: string;
12664
+ /**
12665
+ * Signed UTC offset in hours, reflecting current DST (Meta only).
12666
+ */
12667
+ timezoneOffsetHoursUtc?: number;
12660
12668
  }>;
12661
12669
  });
12662
12670
  type ListAdAccountsError = ({
@@ -12731,6 +12739,20 @@ type BoostPostData = {
12731
12739
  * Meta only. Required for housing, employment, credit, or political ads.
12732
12740
  */
12733
12741
  specialAdCategories?: Array<('HOUSING' | 'EMPLOYMENT' | 'CREDIT' | 'ISSUES_ELECTIONS_POLITICS')>;
12742
+ /**
12743
+ * Name of the legal entity benefiting from the ad.
12744
+ * Required by Meta when targeting EU users (DSA Article 26).
12745
+ * Not enforced at schema level; enforced server-side when targeting intersects EU member states.
12746
+ *
12747
+ */
12748
+ dsaBeneficiary?: string;
12749
+ /**
12750
+ * Name of the legal entity paying for the ad.
12751
+ * Required by Meta when targeting EU users (DSA Article 26).
12752
+ * Note Meta API spelling: dsa_payor (not dsa_payer).
12753
+ *
12754
+ */
12755
+ dsaPayor?: string;
12734
12756
  };
12735
12757
  };
12736
12758
  type BoostPostResponse = ({
@@ -12890,6 +12912,20 @@ type CreateStandaloneAdData = {
12890
12912
  * Meta only. Restrict the audience by gender. 'male' targets men only, 'female' targets women only, 'all' (default) targets everyone. Ignored by non-Meta platforms.
12891
12913
  */
12892
12914
  gender?: 'all' | 'male' | 'female';
12915
+ /**
12916
+ * Name of the legal entity benefiting from the ad.
12917
+ * Required by Meta when targeting EU users (DSA Article 26).
12918
+ * Not enforced at schema level; enforced server-side when targeting intersects EU member states.
12919
+ *
12920
+ */
12921
+ dsaBeneficiary?: string;
12922
+ /**
12923
+ * Name of the legal entity paying for the ad.
12924
+ * Required by Meta when targeting EU users (DSA Article 26).
12925
+ * Note Meta API spelling: dsa_payor (not dsa_payer).
12926
+ *
12927
+ */
12928
+ dsaPayor?: string;
12893
12929
  };
12894
12930
  };
12895
12931
  type CreateStandaloneAdResponse = (({
@@ -13348,6 +13384,20 @@ type CreateCtwaAdData = {
13348
13384
  *
13349
13385
  */
13350
13386
  objective?: 'OUTCOME_ENGAGEMENT' | 'OUTCOME_SALES' | 'OUTCOME_LEADS';
13387
+ /**
13388
+ * Name of the legal entity benefiting from the ad.
13389
+ * Required by Meta when targeting EU users (DSA Article 26).
13390
+ * Not enforced at schema level; enforced server-side when targeting intersects EU member states.
13391
+ *
13392
+ */
13393
+ dsaBeneficiary?: string;
13394
+ /**
13395
+ * Name of the legal entity paying for the ad.
13396
+ * Required by Meta when targeting EU users (DSA Article 26).
13397
+ * Note Meta API spelling: dsa_payor (not dsa_payer).
13398
+ *
13399
+ */
13400
+ dsaPayor?: string;
13351
13401
  };
13352
13402
  };
13353
13403
  type CreateCtwaAdResponse = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.96",
3
+ "version": "0.2.98",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -12982,6 +12982,14 @@ export type ListAdAccountsResponse = ({
12982
12982
  name?: string;
12983
12983
  currency?: string;
12984
12984
  status?: string;
12985
+ /**
12986
+ * IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
12987
+ */
12988
+ timezoneName?: string;
12989
+ /**
12990
+ * Signed UTC offset in hours, reflecting current DST (Meta only).
12991
+ */
12992
+ timezoneOffsetHoursUtc?: number;
12985
12993
  }>;
12986
12994
  });
12987
12995
 
@@ -13058,6 +13066,20 @@ export type BoostPostData = {
13058
13066
  * Meta only. Required for housing, employment, credit, or political ads.
13059
13067
  */
13060
13068
  specialAdCategories?: Array<('HOUSING' | 'EMPLOYMENT' | 'CREDIT' | 'ISSUES_ELECTIONS_POLITICS')>;
13069
+ /**
13070
+ * Name of the legal entity benefiting from the ad.
13071
+ * Required by Meta when targeting EU users (DSA Article 26).
13072
+ * Not enforced at schema level; enforced server-side when targeting intersects EU member states.
13073
+ *
13074
+ */
13075
+ dsaBeneficiary?: string;
13076
+ /**
13077
+ * Name of the legal entity paying for the ad.
13078
+ * Required by Meta when targeting EU users (DSA Article 26).
13079
+ * Note Meta API spelling: dsa_payor (not dsa_payer).
13080
+ *
13081
+ */
13082
+ dsaPayor?: string;
13061
13083
  };
13062
13084
  };
13063
13085
 
@@ -13220,6 +13242,20 @@ export type CreateStandaloneAdData = {
13220
13242
  * Meta only. Restrict the audience by gender. 'male' targets men only, 'female' targets women only, 'all' (default) targets everyone. Ignored by non-Meta platforms.
13221
13243
  */
13222
13244
  gender?: 'all' | 'male' | 'female';
13245
+ /**
13246
+ * Name of the legal entity benefiting from the ad.
13247
+ * Required by Meta when targeting EU users (DSA Article 26).
13248
+ * Not enforced at schema level; enforced server-side when targeting intersects EU member states.
13249
+ *
13250
+ */
13251
+ dsaBeneficiary?: string;
13252
+ /**
13253
+ * Name of the legal entity paying for the ad.
13254
+ * Required by Meta when targeting EU users (DSA Article 26).
13255
+ * Note Meta API spelling: dsa_payor (not dsa_payer).
13256
+ *
13257
+ */
13258
+ dsaPayor?: string;
13223
13259
  };
13224
13260
  };
13225
13261
 
@@ -13708,6 +13744,20 @@ export type CreateCtwaAdData = {
13708
13744
  *
13709
13745
  */
13710
13746
  objective?: 'OUTCOME_ENGAGEMENT' | 'OUTCOME_SALES' | 'OUTCOME_LEADS';
13747
+ /**
13748
+ * Name of the legal entity benefiting from the ad.
13749
+ * Required by Meta when targeting EU users (DSA Article 26).
13750
+ * Not enforced at schema level; enforced server-side when targeting intersects EU member states.
13751
+ *
13752
+ */
13753
+ dsaBeneficiary?: string;
13754
+ /**
13755
+ * Name of the legal entity paying for the ad.
13756
+ * Required by Meta when targeting EU users (DSA Article 26).
13757
+ * Note Meta API spelling: dsa_payor (not dsa_payer).
13758
+ *
13759
+ */
13760
+ dsaPayor?: string;
13711
13761
  };
13712
13762
  };
13713
13763