@getlatedev/node 0.2.1710 → 0.2.1711
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/dist/index.d.mts +20 -4
- package/dist/index.d.ts +20 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +20 -4
package/dist/index.d.mts
CHANGED
|
@@ -15725,9 +15725,19 @@ type ImapDiscovery = {
|
|
|
15725
15725
|
reconnectCause?: (string) | null;
|
|
15726
15726
|
reason?: (string) | null;
|
|
15727
15727
|
/**
|
|
15728
|
-
*
|
|
15728
|
+
* Why an `unsupported` route cannot connect:
|
|
15729
|
+
*
|
|
15730
|
+
* - `proton_requires_bridge`: Proton Mail only works through its local bridge.
|
|
15731
|
+
* - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
|
|
15732
|
+
* - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
|
|
15733
|
+
* - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
|
|
15734
|
+
*
|
|
15735
|
+
*/
|
|
15736
|
+
unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain') | null;
|
|
15737
|
+
/**
|
|
15738
|
+
* With unsupportedReason domain_typo: the address the user most likely meant, such as ana7275@gmail.com for ana@7275gmail.com. Run discovery again with it once the user confirms.
|
|
15729
15739
|
*/
|
|
15730
|
-
|
|
15740
|
+
suggestedEmail?: (string) | null;
|
|
15731
15741
|
/**
|
|
15732
15742
|
* Google only: Gmail over IMAP with an app password, for accounts whose admin blocks Google sign-in for other apps.
|
|
15733
15743
|
*/
|
|
@@ -15743,9 +15753,15 @@ type source4 = 'preset' | 'mx' | 'autoconfig' | 'ispdb' | 'srv' | 'probe' | 'non
|
|
|
15743
15753
|
type confidence = 'high' | 'medium' | 'low';
|
|
15744
15754
|
type kind11 = 'password' | 'app_password' | 'oauth';
|
|
15745
15755
|
/**
|
|
15746
|
-
*
|
|
15756
|
+
* Why an `unsupported` route cannot connect:
|
|
15757
|
+
*
|
|
15758
|
+
* - `proton_requires_bridge`: Proton Mail only works through its local bridge.
|
|
15759
|
+
* - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
|
|
15760
|
+
* - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
|
|
15761
|
+
* - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
|
|
15762
|
+
*
|
|
15747
15763
|
*/
|
|
15748
|
-
type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only';
|
|
15764
|
+
type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain';
|
|
15749
15765
|
type ImessageAudienceContact = {
|
|
15750
15766
|
conversationId?: string;
|
|
15751
15767
|
accountId?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -15725,9 +15725,19 @@ type ImapDiscovery = {
|
|
|
15725
15725
|
reconnectCause?: (string) | null;
|
|
15726
15726
|
reason?: (string) | null;
|
|
15727
15727
|
/**
|
|
15728
|
-
*
|
|
15728
|
+
* Why an `unsupported` route cannot connect:
|
|
15729
|
+
*
|
|
15730
|
+
* - `proton_requires_bridge`: Proton Mail only works through its local bridge.
|
|
15731
|
+
* - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
|
|
15732
|
+
* - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
|
|
15733
|
+
* - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
|
|
15734
|
+
*
|
|
15735
|
+
*/
|
|
15736
|
+
unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain') | null;
|
|
15737
|
+
/**
|
|
15738
|
+
* With unsupportedReason domain_typo: the address the user most likely meant, such as ana7275@gmail.com for ana@7275gmail.com. Run discovery again with it once the user confirms.
|
|
15729
15739
|
*/
|
|
15730
|
-
|
|
15740
|
+
suggestedEmail?: (string) | null;
|
|
15731
15741
|
/**
|
|
15732
15742
|
* Google only: Gmail over IMAP with an app password, for accounts whose admin blocks Google sign-in for other apps.
|
|
15733
15743
|
*/
|
|
@@ -15743,9 +15753,15 @@ type source4 = 'preset' | 'mx' | 'autoconfig' | 'ispdb' | 'srv' | 'probe' | 'non
|
|
|
15743
15753
|
type confidence = 'high' | 'medium' | 'low';
|
|
15744
15754
|
type kind11 = 'password' | 'app_password' | 'oauth';
|
|
15745
15755
|
/**
|
|
15746
|
-
*
|
|
15756
|
+
* Why an `unsupported` route cannot connect:
|
|
15757
|
+
*
|
|
15758
|
+
* - `proton_requires_bridge`: Proton Mail only works through its local bridge.
|
|
15759
|
+
* - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
|
|
15760
|
+
* - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
|
|
15761
|
+
* - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
|
|
15762
|
+
*
|
|
15747
15763
|
*/
|
|
15748
|
-
type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only';
|
|
15764
|
+
type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain';
|
|
15749
15765
|
type ImessageAudienceContact = {
|
|
15750
15766
|
conversationId?: string;
|
|
15751
15767
|
accountId?: string;
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1711",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1711",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -13801,9 +13801,19 @@ export type ImapDiscovery = {
|
|
|
13801
13801
|
reconnectCause?: (string) | null;
|
|
13802
13802
|
reason?: (string) | null;
|
|
13803
13803
|
/**
|
|
13804
|
-
*
|
|
13804
|
+
* Why an `unsupported` route cannot connect:
|
|
13805
|
+
*
|
|
13806
|
+
* - `proton_requires_bridge`: Proton Mail only works through its local bridge.
|
|
13807
|
+
* - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
|
|
13808
|
+
* - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
|
|
13809
|
+
* - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
|
|
13810
|
+
*
|
|
13811
|
+
*/
|
|
13812
|
+
unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain') | null;
|
|
13813
|
+
/**
|
|
13814
|
+
* With unsupportedReason domain_typo: the address the user most likely meant, such as ana7275@gmail.com for ana@7275gmail.com. Run discovery again with it once the user confirms.
|
|
13805
13815
|
*/
|
|
13806
|
-
|
|
13816
|
+
suggestedEmail?: (string) | null;
|
|
13807
13817
|
/**
|
|
13808
13818
|
* Google only: Gmail over IMAP with an app password, for accounts whose admin blocks Google sign-in for other apps.
|
|
13809
13819
|
*/
|
|
@@ -13824,9 +13834,15 @@ export type confidence = 'high' | 'medium' | 'low';
|
|
|
13824
13834
|
export type kind11 = 'password' | 'app_password' | 'oauth';
|
|
13825
13835
|
|
|
13826
13836
|
/**
|
|
13827
|
-
*
|
|
13837
|
+
* Why an `unsupported` route cannot connect:
|
|
13838
|
+
*
|
|
13839
|
+
* - `proton_requires_bridge`: Proton Mail only works through its local bridge.
|
|
13840
|
+
* - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
|
|
13841
|
+
* - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
|
|
13842
|
+
* - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
|
|
13843
|
+
*
|
|
13828
13844
|
*/
|
|
13829
|
-
export type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only';
|
|
13845
|
+
export type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain';
|
|
13830
13846
|
|
|
13831
13847
|
export type ImessageAudienceContact = {
|
|
13832
13848
|
conversationId?: string;
|