@getlatedev/node 0.2.1772 → 0.2.1773

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.
@@ -10111,6 +10111,10 @@ export type ConversionEvent = {
10111
10111
  * Taboola click ID (the `tblci` URL param Taboola adds to ad clicks with its `{click_id}` macro). Sent to Taboola as `click-id`, not hashed.
10112
10112
  */
10113
10113
  tblci?: string;
10114
+ /**
10115
+ * Outbrain click ID (the `ob_click_id` URL param, filled by the `{{ob_click_id}}` macro you add to the campaign's Track box). Sent to Outbrain as `ob_click_id`, not hashed.
10116
+ */
10117
+ ob_click_id?: string;
10114
10118
  /**
10115
10119
  * Impact partner click id (the `irclickid` URL param Impact adds to partner links). Sent to Impact as `ClickId`.
10116
10120
  */
@@ -21850,7 +21854,7 @@ export type contentType3 = 'story' | 'saved_story' | 'spotlight';
21850
21854
 
21851
21855
  export type SocialAccount = {
21852
21856
  _id: string;
21853
- platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'google' | 'microsoft' | 'imap' | 'hubspot' | 'salesforce' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads' | 'line' | 'wechat' | 'googletagmanager' | 'stripe' | 'googlesearchconsole' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads' | 'gohighlevel';
21857
+ platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'google' | 'microsoft' | 'imap' | 'hubspot' | 'salesforce' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads' | 'line' | 'wechat' | 'googletagmanager' | 'stripe' | 'googlesearchconsole' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads' | 'gohighlevel';
21854
21858
  profileId: (string | Profile);
21855
21859
  username?: string;
21856
21860
  displayName?: string;
@@ -21996,7 +22000,7 @@ export type SocialAccount = {
21996
22000
  };
21997
22001
  };
21998
22002
 
21999
- export type platform18 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'google' | 'microsoft' | 'imap' | 'hubspot' | 'salesforce' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads' | 'line' | 'wechat' | 'googletagmanager' | 'stripe' | 'googlesearchconsole' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads' | 'gohighlevel';
22003
+ export type platform18 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'google' | 'microsoft' | 'imap' | 'hubspot' | 'salesforce' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads' | 'line' | 'wechat' | 'googletagmanager' | 'stripe' | 'googlesearchconsole' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads' | 'gohighlevel';
22000
22004
 
22001
22005
  /**
22002
22006
  * TikTok accounts only. The account type TikTok reported when the account was connected.
@@ -38791,7 +38795,7 @@ export type GetAllAccountsHealthData = {
38791
38795
  /**
38792
38796
  * Filter by platform
38793
38797
  */
38794
- platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'microsoftads' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'hubspot' | 'salesforce' | 'gohighlevel' | 'webflow' | 'googleanalytics' | 'line' | 'wechat' | 'googletagmanager' | 'googlesearchconsole' | 'stripe' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads';
38798
+ platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'microsoftads' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'hubspot' | 'salesforce' | 'gohighlevel' | 'webflow' | 'googleanalytics' | 'line' | 'wechat' | 'googletagmanager' | 'googlesearchconsole' | 'stripe' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads';
38795
38799
  /**
38796
38800
  * Filter by profile ID
38797
38801
  */
@@ -45821,6 +45825,95 @@ export type ConnectTaboolaAdsCredentialsError = (ErrorResponse | {
45821
45825
  };
45822
45826
  } | unknown);
45823
45827
 
45828
+ export type ConnectOutbrainAdsCredentialsData = {
45829
+ body: {
45830
+ /**
45831
+ * Outbrain marketer id from Amplify, letters and digits.
45832
+ */
45833
+ outbrainMarketerId: string;
45834
+ /**
45835
+ * Optional display name for the marketer.
45836
+ */
45837
+ name?: string;
45838
+ /**
45839
+ * Your Zernio profile ID
45840
+ */
45841
+ profileId: string;
45842
+ /**
45843
+ * Optional state passthrough for the connect flow.
45844
+ */
45845
+ state?: string;
45846
+ /**
45847
+ * Optional URL to redirect to after a successful connection, echoed back as redirectUrl.
45848
+ */
45849
+ redirect_url?: string;
45850
+ };
45851
+ };
45852
+
45853
+ export type ConnectOutbrainAdsCredentialsResponse = ({
45854
+ accountId?: string;
45855
+ outbrainMarketerId?: string;
45856
+ accountName?: string;
45857
+ redirectUrl?: string;
45858
+ });
45859
+
45860
+ export type ConnectOutbrainAdsCredentialsError = (ErrorResponse | {
45861
+ /**
45862
+ * Human-readable error message suitable for end-user display.
45863
+ */
45864
+ error: string;
45865
+ /**
45866
+ * Machine-readable error code. Stable across versions.
45867
+ */
45868
+ code: 'PAYMENT_REQUIRED';
45869
+ /**
45870
+ * Discriminator for which gate fired.
45871
+ */
45872
+ reason: 'free_tier_exceeded' | 'twitter_passthrough' | 'enterprise_required' | 'card_verification_required';
45873
+ /**
45874
+ * Link to the relevant documentation page.
45875
+ */
45876
+ documentation_url?: string;
45877
+ /**
45878
+ * Deep-link to send the end-user to. For
45879
+ * `free_tier_exceeded` and `twitter_passthrough` this opens
45880
+ * the add-payment-method drawer on the Zernio billing page.
45881
+ * For `enterprise_required` this is the Zernio enterprise
45882
+ * contact page.
45883
+ *
45884
+ */
45885
+ dashboard_url?: string;
45886
+ /**
45887
+ * Structured context for SDK clients that want to render their own UX. Keys vary by `reason`.
45888
+ */
45889
+ details?: {
45890
+ /**
45891
+ * How many accounts the free tier allows. Only set when reason=free_tier_exceeded.
45892
+ */
45893
+ free_tier_account_limit?: number;
45894
+ /**
45895
+ * How many accounts the team currently has connected. Set when reason=free_tier_exceeded or reason=enterprise_required.
45896
+ */
45897
+ current_account_count?: number;
45898
+ /**
45899
+ * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
45900
+ */
45901
+ has_payment_method?: boolean;
45902
+ /**
45903
+ * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
45904
+ */
45905
+ verification_amount_cents?: number;
45906
+ /**
45907
+ * The negotiated connected-account cap from the
45908
+ * team's enterprise contract. Self-service teams
45909
+ * have no cap and never receive this reason. Only
45910
+ * set when reason=enterprise_required.
45911
+ *
45912
+ */
45913
+ effective_account_limit?: number;
45914
+ };
45915
+ } | unknown);
45916
+
45824
45917
  export type ConnectWhopAdsCredentialsData = {
45825
45918
  body: {
45826
45919
  /**
@@ -81290,7 +81383,7 @@ export type SendConversionsData = {
81290
81383
  };
81291
81384
 
81292
81385
  export type SendConversionsResponse = ({
81293
- platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
81386
+ platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
81294
81387
  /**
81295
81388
  * Events accepted by the platform.
81296
81389
  */
@@ -81919,7 +82012,7 @@ export type SendEventsResponse = ({
81919
82012
  destinations?: Array<{
81920
82013
  accountId?: string;
81921
82014
  destinationId?: string;
81922
- platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
82015
+ platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
81923
82016
  /**
81924
82017
  * Events the platform accepted.
81925
82018
  */
@@ -82673,7 +82766,7 @@ export type GetEventResponse = ({
82673
82766
  deliveries?: Array<{
82674
82767
  accountId?: string;
82675
82768
  destinationId?: string;
82676
- platform?: ('metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads') | null;
82769
+ platform?: ('metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads') | null;
82677
82770
  /**
82678
82771
  * `dropped`: not sent because the visitor did not consent; `errorCode` says why (`consent_denied` or `consent_missing`).
82679
82772
  */
@@ -83293,7 +83386,7 @@ export type ListAdConversionDestinationsData = {
83293
83386
  };
83294
83387
 
83295
83388
  export type ListAdConversionDestinationsResponse = ({
83296
- platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
83389
+ platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
83297
83390
  destinations?: Array<{
83298
83391
  /**
83299
83392
  * Destination identifier. Meta: pixel ID. Google:
@@ -83304,7 +83397,7 @@ export type ListAdConversionDestinationsResponse = ({
83304
83397
  * or `accounts/{id}/uetTags/{id}`.
83305
83398
  * X Ads: pixel event id (`tw-...`). Snapchat:
83306
83399
  * Snap Pixel ID (a UUID). Taboola: numeric
83307
- * Account ID.
83400
+ * Account ID. Outbrain: marketer id.
83308
83401
  *
83309
83402
  */
83310
83403
  id?: string;
@@ -83735,7 +83828,7 @@ export type ListConversionDestinationsData = {
83735
83828
  };
83736
83829
 
83737
83830
  export type ListConversionDestinationsResponse = ({
83738
- platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
83831
+ platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
83739
83832
  destinations?: Array<{
83740
83833
  /**
83741
83834
  * Destination identifier. Meta: pixel ID. Google:
@@ -83746,7 +83839,7 @@ export type ListConversionDestinationsResponse = ({
83746
83839
  * or `accounts/{id}/uetTags/{id}`.
83747
83840
  * X Ads: pixel event id (`tw-...`). Snapchat:
83748
83841
  * Snap Pixel ID (a UUID). Taboola: numeric
83749
- * Account ID.
83842
+ * Account ID. Outbrain: marketer id.
83750
83843
  *
83751
83844
  */
83752
83845
  id?: string;