@getlatedev/node 0.2.1667 → 0.2.1668

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 CHANGED
@@ -34949,6 +34949,18 @@ type GetAccountHealthResponse = ({
34949
34949
  * Google and Microsoft only: state of the provider change-notification subscriptions behind `message.received` and `calendar.event.*`. `pending` means a granted area has no live subscription yet (retried every 6 hours), `failed` that renewals keep failing (reconnect the account).
34950
34950
  */
34951
34951
  push?: 'active' | 'pending' | 'failed' | 'not_applicable';
34952
+ /**
34953
+ * Microsoft only: present while the login has no Exchange Online mailbox (no Exchange license, inactive, soft-deleted or on-premises). Mail and calendar requests then answer 412 `mailbox_not_available`; files are not affected. Absent when the mailbox works. `status` is also `warning`, with the reason in `issues`.
34954
+ */
34955
+ mailbox?: {
34956
+ status?: 'unavailable';
34957
+ reason?: 'no_mailbox';
34958
+ message?: string;
34959
+ /**
34960
+ * When Microsoft last answered that the login has no mailbox.
34961
+ */
34962
+ detectedAt?: string;
34963
+ };
34952
34964
  /**
34953
34965
  * Microsoft only: how mail sent from the user's own mail client reaches `message.sent`. `poll` while Microsoft will not give Zernio a working Sent Items subscription for this mailbox (read every 5 minutes), `push` otherwise.
34954
34966
  */
@@ -35858,6 +35870,7 @@ type GetConnectUrlData = {
35858
35870
  * - A LinkedIn connect through an app saves the member's own profile: organization pages, and mention lookups, stay on Zernio's app.
35859
35871
  * - The connect requests the app's `scopeAreas`. `scopes` may narrow them but not add an area the app does not enable (400).
35860
35872
  * - If the user does not grant every requested area, the account still connects and the redirect carries `missing_permissions=<areas>` (the headless POST returns `missingPermissions`).
35873
+ * - A Microsoft login that connected with `email` or `calendar` but has no Exchange Online mailbox still connects (files work), and the redirect carries `mailboxNotice=mailbox_not_available`. Mail and calendar requests then answer 412 `mailbox_not_available`.
35861
35874
  * - If the platform refuses a permission your app is not approved for, the redirect carries `error=oauth_app_scope_not_allowed`.
35862
35875
  *
35863
35876
  * The account remembers the app, and token refresh, publishing and inbox run on it. Reconnecting through another app, or without one, moves the account to that app.
package/dist/index.d.ts CHANGED
@@ -34949,6 +34949,18 @@ type GetAccountHealthResponse = ({
34949
34949
  * Google and Microsoft only: state of the provider change-notification subscriptions behind `message.received` and `calendar.event.*`. `pending` means a granted area has no live subscription yet (retried every 6 hours), `failed` that renewals keep failing (reconnect the account).
34950
34950
  */
34951
34951
  push?: 'active' | 'pending' | 'failed' | 'not_applicable';
34952
+ /**
34953
+ * Microsoft only: present while the login has no Exchange Online mailbox (no Exchange license, inactive, soft-deleted or on-premises). Mail and calendar requests then answer 412 `mailbox_not_available`; files are not affected. Absent when the mailbox works. `status` is also `warning`, with the reason in `issues`.
34954
+ */
34955
+ mailbox?: {
34956
+ status?: 'unavailable';
34957
+ reason?: 'no_mailbox';
34958
+ message?: string;
34959
+ /**
34960
+ * When Microsoft last answered that the login has no mailbox.
34961
+ */
34962
+ detectedAt?: string;
34963
+ };
34952
34964
  /**
34953
34965
  * Microsoft only: how mail sent from the user's own mail client reaches `message.sent`. `poll` while Microsoft will not give Zernio a working Sent Items subscription for this mailbox (read every 5 minutes), `push` otherwise.
34954
34966
  */
@@ -35858,6 +35870,7 @@ type GetConnectUrlData = {
35858
35870
  * - A LinkedIn connect through an app saves the member's own profile: organization pages, and mention lookups, stay on Zernio's app.
35859
35871
  * - The connect requests the app's `scopeAreas`. `scopes` may narrow them but not add an area the app does not enable (400).
35860
35872
  * - If the user does not grant every requested area, the account still connects and the redirect carries `missing_permissions=<areas>` (the headless POST returns `missingPermissions`).
35873
+ * - A Microsoft login that connected with `email` or `calendar` but has no Exchange Online mailbox still connects (files work), and the redirect carries `mailboxNotice=mailbox_not_available`. Mail and calendar requests then answer 412 `mailbox_not_available`.
35861
35874
  * - If the platform refuses a permission your app is not approved for, the redirect carries `error=oauth_app_scope_not_allowed`.
35862
35875
  *
35863
35876
  * The account remembers the app, and token refresh, publishing and inbox run on it. Reconnecting through another app, or without one, moves the account to that app.
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.1667",
39
+ version: "0.2.1668",
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.1667",
8
+ version: "0.2.1668",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1667",
3
+ "version": "0.2.1668",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -34031,6 +34031,18 @@ export type GetAccountHealthResponse = ({
34031
34031
  * Google and Microsoft only: state of the provider change-notification subscriptions behind `message.received` and `calendar.event.*`. `pending` means a granted area has no live subscription yet (retried every 6 hours), `failed` that renewals keep failing (reconnect the account).
34032
34032
  */
34033
34033
  push?: 'active' | 'pending' | 'failed' | 'not_applicable';
34034
+ /**
34035
+ * Microsoft only: present while the login has no Exchange Online mailbox (no Exchange license, inactive, soft-deleted or on-premises). Mail and calendar requests then answer 412 `mailbox_not_available`; files are not affected. Absent when the mailbox works. `status` is also `warning`, with the reason in `issues`.
34036
+ */
34037
+ mailbox?: {
34038
+ status?: 'unavailable';
34039
+ reason?: 'no_mailbox';
34040
+ message?: string;
34041
+ /**
34042
+ * When Microsoft last answered that the login has no mailbox.
34043
+ */
34044
+ detectedAt?: string;
34045
+ };
34034
34046
  /**
34035
34047
  * Microsoft only: how mail sent from the user's own mail client reaches `message.sent`. `poll` while Microsoft will not give Zernio a working Sent Items subscription for this mailbox (read every 5 minutes), `push` otherwise.
34036
34048
  */
@@ -34986,6 +34998,7 @@ export type GetConnectUrlData = {
34986
34998
  * - A LinkedIn connect through an app saves the member's own profile: organization pages, and mention lookups, stay on Zernio's app.
34987
34999
  * - The connect requests the app's `scopeAreas`. `scopes` may narrow them but not add an area the app does not enable (400).
34988
35000
  * - If the user does not grant every requested area, the account still connects and the redirect carries `missing_permissions=<areas>` (the headless POST returns `missingPermissions`).
35001
+ * - A Microsoft login that connected with `email` or `calendar` but has no Exchange Online mailbox still connects (files work), and the redirect carries `mailboxNotice=mailbox_not_available`. Mail and calendar requests then answer 412 `mailbox_not_available`.
34989
35002
  * - If the platform refuses a permission your app is not approved for, the redirect carries `error=oauth_app_scope_not_allowed`.
34990
35003
  *
34991
35004
  * The account remembers the app, and token refresh, publishing and inbox run on it. Reconnecting through another app, or without one, moves the account to that app.