@getlatedev/node 0.2.1252 → 0.2.1253

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.
@@ -5543,21 +5543,27 @@ export type CtwaAdRequestBody = {
5543
5543
  */
5544
5544
  dsaPayor?: string;
5545
5545
  /**
5546
- * Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. BRAZIL_REGULATION, SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV, TAIWAN_FINSERV). Forwarded to the ad set.
5546
+ * Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. AUSTRALIA_FINSERV, AUSTRALIA_UNIVERSAL, BRAZIL_REGULATION, INDIA_FINSERV, MALAYSIA_UNIVERSAL, SINGAPORE_UNIVERSAL, TAIWAN_FINSERV, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL). Forwarded to the ad set.
5547
5547
  */
5548
5548
  regionalRegulatedCategories?: Array<(string)>;
5549
5549
  /**
5550
- * Meta only. Beneficiary/payer entity IDs required alongside regionalRegulatedCategories.
5551
- * Values are numeric IDs from the advertiser's Meta verification/authorization setup.
5552
- * Keys depend on the declared category: BRAZIL_REGULATION and THAILAND_UNIVERSAL use
5553
- * universal_beneficiary / universal_payer; SINGAPORE_UNIVERSAL uses
5554
- * singapore_universal_beneficiary / singapore_universal_payer; TAIWAN_UNIVERSAL uses
5555
- * taiwan_universal_beneficiary / taiwan_universal_payer; TAIWAN_FINSERV uses
5556
- * taiwan_finserv_beneficiary / taiwan_finserv_payer; AUSTRALIA_FINSERV uses
5557
- * australia_finserv_beneficiary / australia_finserv_payer; INDIA_FINSERV uses
5558
- * india_finserv_beneficiary / india_finserv_payer.
5559
- * Both beneficiary and payer must be included. If omitted and the advertiser has
5560
- * set defaults in Meta Ads Manager advertising settings, Meta auto-fills them.
5550
+ * Meta only. Verified identity IDs of the beneficiary and payer for each declared
5551
+ * regionalRegulatedCategories value. Meta may require them on ad sets created through
5552
+ * the API even when a default beneficiary and payer are set in Ads Manager advertising
5553
+ * settings (seen on AUSTRALIA_FINSERV), so sending them explicitly is the reliable path.
5554
+ * The value is the Verified identity ID (Meta Business Settings > Verified identities),
5555
+ * not a Page or Business ID, and beneficiary and payer may be the same ID.
5556
+ * Keys by category: AUSTRALIA_FINSERV uses australia_finserv_beneficiary /
5557
+ * australia_finserv_payer; TAIWAN_FINSERV uses taiwan_finserv_beneficiary /
5558
+ * taiwan_finserv_payer; INDIA_FINSERV uses india_finserv_beneficiary / india_finserv_payer;
5559
+ * TAIWAN_UNIVERSAL uses taiwan_universal_beneficiary / taiwan_universal_payer;
5560
+ * SINGAPORE_UNIVERSAL uses singapore_universal_beneficiary / singapore_universal_payer;
5561
+ * AUSTRALIA_UNIVERSAL, BRAZIL_REGULATION, MALAYSIA_UNIVERSAL and THAILAND_UNIVERSAL use
5562
+ * universal_beneficiary / universal_payer. When Meta rejects the ad set for a missing verified
5563
+ * advertiser, the error carries param regionalRegulationIdentities, details.expectedIdentityKeys
5564
+ * (the keys the declared categories expect), details.suggestedCategories (the markets Meta
5565
+ * ties to that subcode) and Meta's metaCode, metaSubcode and fbtraceId.
5566
+ * Ignored when adSetId adds the ad to an existing ad set.
5561
5567
  *
5562
5568
  */
5563
5569
  regionalRegulationIdentities?: {
@@ -8453,6 +8459,47 @@ export type contentType2 = 'story';
8453
8459
  */
8454
8460
  export type graduationStrategy = 'MANUAL' | 'SS_PERFORMANCE';
8455
8461
 
8462
+ export type InstagramTaggedMedia = {
8463
+ /**
8464
+ * Instagram media ID of the post the account is tagged in.
8465
+ */
8466
+ id: string;
8467
+ caption: (string) | null;
8468
+ /**
8469
+ * IMAGE, VIDEO or CAROUSEL_ALBUM.
8470
+ */
8471
+ mediaType: (string) | null;
8472
+ /**
8473
+ * FEED or REELS.
8474
+ */
8475
+ mediaProductType: (string) | null;
8476
+ /**
8477
+ * Temporary CDN URL. Meta omits it for videos with copyrighted audio, flagged videos and reels whose owner disabled downloads.
8478
+ */
8479
+ mediaUrl: (string) | null;
8480
+ /**
8481
+ * Cover image of a video or reel.
8482
+ */
8483
+ thumbnailUrl: (string) | null;
8484
+ /**
8485
+ * Public Instagram URL of the post.
8486
+ */
8487
+ permalink: (string) | null;
8488
+ /**
8489
+ * Publication time as Meta returns it (ISO 8601).
8490
+ */
8491
+ timestamp: (string) | null;
8492
+ /**
8493
+ * Instagram handle of the account that posted the media and tagged yours.
8494
+ */
8495
+ username: (string) | null;
8496
+ /**
8497
+ * Null when the owner hides like counts.
8498
+ */
8499
+ likeCount: (number) | null;
8500
+ commentsCount: (number) | null;
8501
+ };
8502
+
8456
8503
  /**
8457
8504
  * A Google Search keyword: a bare string (BROAD match), or an object naming the match type.
8458
8505
  */
@@ -26323,6 +26370,35 @@ export type ListInstagramLiveMediaResponse = ({
26323
26370
 
26324
26371
  export type ListInstagramLiveMediaError = (ErrorResponse);
26325
26372
 
26373
+ export type ListInstagramTaggedMediaData = {
26374
+ path: {
26375
+ /**
26376
+ * The ID of a connected Instagram account (Facebook Login).
26377
+ */
26378
+ accountId: string;
26379
+ };
26380
+ query?: {
26381
+ /**
26382
+ * The `nextCursor` of the previous page.
26383
+ */
26384
+ cursor?: string;
26385
+ /**
26386
+ * Page size.
26387
+ */
26388
+ limit?: number;
26389
+ };
26390
+ };
26391
+
26392
+ export type ListInstagramTaggedMediaResponse = ({
26393
+ data: Array<InstagramTaggedMedia>;
26394
+ /**
26395
+ * Pass as `cursor` to read the next page. Null when there are no more pages.
26396
+ */
26397
+ nextCursor: (string) | null;
26398
+ });
26399
+
26400
+ export type ListInstagramTaggedMediaError = (ErrorResponse);
26401
+
26326
26402
  export type GetInstagramStoryInsightsData = {
26327
26403
  path: {
26328
26404
  /**
@@ -48923,11 +48999,28 @@ export type BoostPostData = {
48923
48999
  */
48924
49000
  specialAdCategoryCountry?: Array<(string)>;
48925
49001
  /**
48926
- * Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. BRAZIL_REGULATION, SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV, TAIWAN_FINSERV). Forwarded to the ad set.
49002
+ * Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. AUSTRALIA_FINSERV, AUSTRALIA_UNIVERSAL, BRAZIL_REGULATION, INDIA_FINSERV, MALAYSIA_UNIVERSAL, SINGAPORE_UNIVERSAL, TAIWAN_FINSERV, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL). Forwarded to the ad set.
48927
49003
  */
48928
49004
  regionalRegulatedCategories?: Array<(string)>;
48929
49005
  /**
48930
- * Meta only. Beneficiary/payer entity IDs for regionalRegulatedCategories. Values are numeric IDs from Meta verification. Keys vary by category (e.g. universal_beneficiary / universal_payer for BRAZIL_REGULATION and THAILAND_UNIVERSAL). If omitted, Meta uses Ads Manager defaults when configured.
49006
+ * Meta only. Verified identity IDs of the beneficiary and payer for each declared
49007
+ * regionalRegulatedCategories value. Meta may require them on ad sets created through
49008
+ * the API even when a default beneficiary and payer are set in Ads Manager advertising
49009
+ * settings (seen on AUSTRALIA_FINSERV), so sending them explicitly is the reliable path.
49010
+ * The value is the Verified identity ID (Meta Business Settings > Verified identities),
49011
+ * not a Page or Business ID, and beneficiary and payer may be the same ID.
49012
+ * Keys by category: AUSTRALIA_FINSERV uses australia_finserv_beneficiary /
49013
+ * australia_finserv_payer; TAIWAN_FINSERV uses taiwan_finserv_beneficiary /
49014
+ * taiwan_finserv_payer; INDIA_FINSERV uses india_finserv_beneficiary / india_finserv_payer;
49015
+ * TAIWAN_UNIVERSAL uses taiwan_universal_beneficiary / taiwan_universal_payer;
49016
+ * SINGAPORE_UNIVERSAL uses singapore_universal_beneficiary / singapore_universal_payer;
49017
+ * AUSTRALIA_UNIVERSAL, BRAZIL_REGULATION, MALAYSIA_UNIVERSAL and THAILAND_UNIVERSAL use
49018
+ * universal_beneficiary / universal_payer. When Meta rejects the ad set for a missing verified
49019
+ * advertiser, the error carries param regionalRegulationIdentities, details.expectedIdentityKeys
49020
+ * (the keys the declared categories expect), details.suggestedCategories (the markets Meta
49021
+ * ties to that subcode) and Meta's metaCode, metaSubcode and fbtraceId.
49022
+ * Ignored when adSetId adds the ad to an existing ad set.
49023
+ *
48931
49024
  */
48932
49025
  regionalRegulationIdentities?: {
48933
49026
  [key: string]: (number);
@@ -49986,17 +50079,30 @@ export type CreateStandaloneAdData = {
49986
50079
  specialAdCategoryCountry?: Array<(string)>;
49987
50080
  /**
49988
50081
  * Meta only. Regional regulation categories required when the ad set targets certain countries.
49989
- * Known values: BRAZIL_REGULATION, SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL,
49990
- * AUSTRALIA_FINSERV, INDIA_FINSERV, TAIWAN_FINSERV. Meta rejects the ad set without this when
50082
+ * Known values: AUSTRALIA_FINSERV, AUSTRALIA_UNIVERSAL, BRAZIL_REGULATION, INDIA_FINSERV,
50083
+ * MALAYSIA_UNIVERSAL, SINGAPORE_UNIVERSAL, TAIWAN_FINSERV, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL. Meta rejects the ad set without this when
49991
50084
  * the targeting geo includes the corresponding country.
49992
50085
  *
49993
50086
  */
49994
50087
  regionalRegulatedCategories?: Array<(string)>;
49995
50088
  /**
49996
- * Meta only. Beneficiary/payer entity IDs for regionalRegulatedCategories. Values are
49997
- * numeric IDs from Meta verification. Keys vary by category (e.g. universal_beneficiary /
49998
- * universal_payer for BRAZIL_REGULATION and THAILAND_UNIVERSAL). If omitted, Meta uses
49999
- * Ads Manager defaults when configured.
50089
+ * Meta only. Verified identity IDs of the beneficiary and payer for each declared
50090
+ * regionalRegulatedCategories value. Meta may require them on ad sets created through
50091
+ * the API even when a default beneficiary and payer are set in Ads Manager advertising
50092
+ * settings (seen on AUSTRALIA_FINSERV), so sending them explicitly is the reliable path.
50093
+ * The value is the Verified identity ID (Meta Business Settings > Verified identities),
50094
+ * not a Page or Business ID, and beneficiary and payer may be the same ID.
50095
+ * Keys by category: AUSTRALIA_FINSERV uses australia_finserv_beneficiary /
50096
+ * australia_finserv_payer; TAIWAN_FINSERV uses taiwan_finserv_beneficiary /
50097
+ * taiwan_finserv_payer; INDIA_FINSERV uses india_finserv_beneficiary / india_finserv_payer;
50098
+ * TAIWAN_UNIVERSAL uses taiwan_universal_beneficiary / taiwan_universal_payer;
50099
+ * SINGAPORE_UNIVERSAL uses singapore_universal_beneficiary / singapore_universal_payer;
50100
+ * AUSTRALIA_UNIVERSAL, BRAZIL_REGULATION, MALAYSIA_UNIVERSAL and THAILAND_UNIVERSAL use
50101
+ * universal_beneficiary / universal_payer. When Meta rejects the ad set for a missing verified
50102
+ * advertiser, the error carries param regionalRegulationIdentities, details.expectedIdentityKeys
50103
+ * (the keys the declared categories expect), details.suggestedCategories (the markets Meta
50104
+ * ties to that subcode) and Meta's metaCode, metaSubcode and fbtraceId.
50105
+ * Ignored when adSetId adds the ad to an existing ad set.
50000
50106
  *
50001
50107
  */
50002
50108
  regionalRegulationIdentities?: {