@getlatedev/node 0.2.1699 → 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.
- package/README.md +1 -0
- package/dist/index.d.mts +100 -3
- package/dist/index.d.ts +100 -3
- package/dist/index.js +8 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
- package/src/client.ts +2 -0
- package/src/generated/sdk.gen.ts +17 -1
- package/src/generated/types.gen.ts +101 -2
|
@@ -13656,7 +13656,10 @@ export type ImapDiscovery = {
|
|
|
13656
13656
|
}>;
|
|
13657
13657
|
reconnectCause?: (string) | null;
|
|
13658
13658
|
reason?: (string) | null;
|
|
13659
|
-
|
|
13659
|
+
/**
|
|
13660
|
+
* proton_requires_bridge: Proton Mail only works through its local bridge. forwarding_only: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
|
|
13661
|
+
*/
|
|
13662
|
+
unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only') | null;
|
|
13660
13663
|
/**
|
|
13661
13664
|
* Google only: Gmail over IMAP with an app password, for accounts whose admin blocks Google sign-in for other apps.
|
|
13662
13665
|
*/
|
|
@@ -13676,7 +13679,10 @@ export type confidence = 'high' | 'medium' | 'low';
|
|
|
13676
13679
|
|
|
13677
13680
|
export type kind11 = 'password' | 'app_password' | 'oauth';
|
|
13678
13681
|
|
|
13679
|
-
|
|
13682
|
+
/**
|
|
13683
|
+
* proton_requires_bridge: Proton Mail only works through its local bridge. forwarding_only: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
|
|
13684
|
+
*/
|
|
13685
|
+
export type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only';
|
|
13680
13686
|
|
|
13681
13687
|
export type ImessageAudienceContact = {
|
|
13682
13688
|
conversationId?: string;
|
|
@@ -39589,6 +39595,99 @@ export type ConnectOpenAiAdsCredentialsError = (ErrorResponse | unknown | {
|
|
|
39589
39595
|
};
|
|
39590
39596
|
});
|
|
39591
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
|
+
|
|
39592
39691
|
export type ConnectWhopAdsCredentialsData = {
|
|
39593
39692
|
body: {
|
|
39594
39693
|
/**
|