@getlatedev/node 0.2.1744 → 0.2.1745

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.
@@ -21567,7 +21567,7 @@ export type contentType3 = 'story' | 'saved_story' | 'spotlight';
21567
21567
 
21568
21568
  export type SocialAccount = {
21569
21569
  _id: string;
21570
- 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' | 'amazonads' | 'gohighlevel';
21570
+ 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';
21571
21571
  profileId: (string | Profile);
21572
21572
  username?: string;
21573
21573
  displayName?: string;
@@ -21713,7 +21713,7 @@ export type SocialAccount = {
21713
21713
  };
21714
21714
  };
21715
21715
 
21716
- 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' | 'amazonads' | 'gohighlevel';
21716
+ 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';
21717
21717
 
21718
21718
  /**
21719
21719
  * TikTok accounts only. The account type TikTok reported when the account was connected.
@@ -38432,7 +38432,7 @@ export type GetAllAccountsHealthData = {
38432
38432
  /**
38433
38433
  * Filter by platform
38434
38434
  */
38435
- 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' | 'amazonads';
38435
+ 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';
38436
38436
  /**
38437
38437
  * Filter by profile ID
38438
38438
  */
@@ -45212,6 +45212,110 @@ export type ConnectTradeDeskAdsCredentialsError = (ErrorResponse | {
45212
45212
  };
45213
45213
  } | unknown);
45214
45214
 
45215
+ export type ConnectTradeDeskAdsPartnerData = {
45216
+ body: {
45217
+ /**
45218
+ * Trade Desk Partner ID, a short code such as `ptn1234`. Stored and echoed lowercased.
45219
+ */
45220
+ partnerId: string;
45221
+ /**
45222
+ * API token of a Trade Desk user with API access to the partner.
45223
+ */
45224
+ apiToken: string;
45225
+ /**
45226
+ * Advertiser ids to keep. Left out or empty, a new connection keeps every advertiser and a reconnect keeps its saved selection.
45227
+ */
45228
+ adAccountIds?: Array<(string)>;
45229
+ /**
45230
+ * Optional display name for the account.
45231
+ */
45232
+ name?: string;
45233
+ /**
45234
+ * Your Zernio profile ID
45235
+ */
45236
+ profileId: string;
45237
+ /**
45238
+ * Optional state passthrough for the connect flow.
45239
+ */
45240
+ state?: string;
45241
+ /**
45242
+ * Optional URL to redirect to after a successful connection, echoed back as redirectUrl.
45243
+ */
45244
+ redirect_url?: string;
45245
+ };
45246
+ };
45247
+
45248
+ export type ConnectTradeDeskAdsPartnerResponse = ({
45249
+ accountId?: string;
45250
+ partnerId?: string;
45251
+ accountName?: string;
45252
+ /**
45253
+ * Every advertiser the token reaches under the partner, whatever adAccountIds keeps.
45254
+ */
45255
+ advertisers?: Array<{
45256
+ id?: string;
45257
+ name?: string;
45258
+ }>;
45259
+ redirectUrl?: string;
45260
+ });
45261
+
45262
+ export type ConnectTradeDeskAdsPartnerError = (ErrorResponse | unknown | {
45263
+ /**
45264
+ * Human-readable error message suitable for end-user display.
45265
+ */
45266
+ error: string;
45267
+ /**
45268
+ * Machine-readable error code. Stable across versions.
45269
+ */
45270
+ code: 'PAYMENT_REQUIRED';
45271
+ /**
45272
+ * Discriminator for which gate fired.
45273
+ */
45274
+ reason: 'free_tier_exceeded' | 'twitter_passthrough' | 'enterprise_required' | 'card_verification_required';
45275
+ /**
45276
+ * Link to the relevant documentation page.
45277
+ */
45278
+ documentation_url?: string;
45279
+ /**
45280
+ * Deep-link to send the end-user to. For
45281
+ * `free_tier_exceeded` and `twitter_passthrough` this opens
45282
+ * the add-payment-method drawer on the Zernio billing page.
45283
+ * For `enterprise_required` this is the Zernio enterprise
45284
+ * contact page.
45285
+ *
45286
+ */
45287
+ dashboard_url?: string;
45288
+ /**
45289
+ * Structured context for SDK clients that want to render their own UX. Keys vary by `reason`.
45290
+ */
45291
+ details?: {
45292
+ /**
45293
+ * How many accounts the free tier allows. Only set when reason=free_tier_exceeded.
45294
+ */
45295
+ free_tier_account_limit?: number;
45296
+ /**
45297
+ * How many accounts the team currently has connected. Set when reason=free_tier_exceeded or reason=enterprise_required.
45298
+ */
45299
+ current_account_count?: number;
45300
+ /**
45301
+ * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
45302
+ */
45303
+ has_payment_method?: boolean;
45304
+ /**
45305
+ * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
45306
+ */
45307
+ verification_amount_cents?: number;
45308
+ /**
45309
+ * The negotiated connected-account cap from the
45310
+ * team's enterprise contract. Self-service teams
45311
+ * have no cap and never receive this reason. Only
45312
+ * set when reason=enterprise_required.
45313
+ *
45314
+ */
45315
+ effective_account_limit?: number;
45316
+ };
45317
+ });
45318
+
45215
45319
  export type ConnectTaboolaAdsCredentialsData = {
45216
45320
  body: {
45217
45321
  /**