@getlatedev/node 0.2.1700 → 0.2.1701

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.
@@ -39595,6 +39595,99 @@ export type ConnectOpenAiAdsCredentialsError = (ErrorResponse | unknown | {
39595
39595
  };
39596
39596
  });
39597
39597
 
39598
+ export type ConnectAppLovinAdsCredentialsData = {
39599
+ body: {
39600
+ /**
39601
+ * Conversion API key from the Keys page of Axon Ads Manager.
39602
+ */
39603
+ apiKey: string;
39604
+ /**
39605
+ * Event Key from the Keys page of Axon Ads Manager: 8 to 128 letters, digits, dots, dashes or underscores.
39606
+ */
39607
+ eventKey: string;
39608
+ /**
39609
+ * Optional display name for the account.
39610
+ */
39611
+ name?: string;
39612
+ /**
39613
+ * Your Zernio profile ID
39614
+ */
39615
+ profileId: string;
39616
+ /**
39617
+ * Optional state passthrough for the connect flow.
39618
+ */
39619
+ state?: string;
39620
+ /**
39621
+ * Optional URL to redirect to after a successful connection, echoed back as redirectUrl.
39622
+ */
39623
+ redirect_url?: string;
39624
+ };
39625
+ };
39626
+
39627
+ export type ConnectAppLovinAdsCredentialsResponse = ({
39628
+ accountId?: string;
39629
+ eventKey?: string;
39630
+ accountName?: string;
39631
+ redirectUrl?: string;
39632
+ });
39633
+
39634
+ export type ConnectAppLovinAdsCredentialsError = (ErrorResponse | unknown | {
39635
+ /**
39636
+ * Human-readable error message suitable for end-user display.
39637
+ */
39638
+ error: string;
39639
+ /**
39640
+ * Machine-readable error code. Stable across versions.
39641
+ */
39642
+ code: 'PAYMENT_REQUIRED';
39643
+ /**
39644
+ * Discriminator for which gate fired.
39645
+ */
39646
+ reason: 'free_tier_exceeded' | 'twitter_passthrough' | 'enterprise_required' | 'card_verification_required';
39647
+ /**
39648
+ * Link to the relevant documentation page.
39649
+ */
39650
+ documentation_url?: string;
39651
+ /**
39652
+ * Deep-link to send the end-user to. For
39653
+ * `free_tier_exceeded` and `twitter_passthrough` this opens
39654
+ * the add-payment-method drawer on the Zernio billing page.
39655
+ * For `enterprise_required` this is the Zernio enterprise
39656
+ * contact page.
39657
+ *
39658
+ */
39659
+ dashboard_url?: string;
39660
+ /**
39661
+ * Structured context for SDK clients that want to render their own UX. Keys vary by `reason`.
39662
+ */
39663
+ details?: {
39664
+ /**
39665
+ * How many accounts the free tier allows. Only set when reason=free_tier_exceeded.
39666
+ */
39667
+ free_tier_account_limit?: number;
39668
+ /**
39669
+ * How many accounts the team currently has connected. Set when reason=free_tier_exceeded or reason=enterprise_required.
39670
+ */
39671
+ current_account_count?: number;
39672
+ /**
39673
+ * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
39674
+ */
39675
+ has_payment_method?: boolean;
39676
+ /**
39677
+ * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
39678
+ */
39679
+ verification_amount_cents?: number;
39680
+ /**
39681
+ * The negotiated connected-account cap from the
39682
+ * team's enterprise contract. Self-service teams
39683
+ * have no cap and never receive this reason. Only
39684
+ * set when reason=enterprise_required.
39685
+ *
39686
+ */
39687
+ effective_account_limit?: number;
39688
+ };
39689
+ });
39690
+
39598
39691
  export type ConnectWhopAdsCredentialsData = {
39599
39692
  body: {
39600
39693
  /**