@demind-inc/core 1.4.52 → 1.4.54

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.
@@ -1,5 +1,5 @@
1
1
  import { TodoAppFrom } from "./TodoTasks";
2
- export type CalendarType = "google" | "outlook";
2
+ export type CalendarType = "google" | "outlook" | "lifestack";
3
3
  export type CalendarScope = "owner" | "writer" | "reader" | "freeBusyReader";
4
4
  export type CalendarEventStatus = "confirmed" | "tentative" | "cancelled";
5
5
  export interface Calendar {
@@ -30,8 +30,14 @@ export interface User {
30
30
  taskLabelsGroupId?: string;
31
31
  dataTrendId?: string;
32
32
  routineId?: string;
33
+ persona?: UserPersona;
33
34
  tokens?: UserTokens;
34
35
  }
36
+ export interface UserPersona {
37
+ job: string;
38
+ pains: string[];
39
+ goals: string[];
40
+ }
35
41
  export interface UserTokens {
36
42
  googleRefresh?: string;
37
43
  googleAccess?: string;
@@ -41,6 +47,7 @@ export interface UserTokens {
41
47
  outlookAccessExpiryDate?: string;
42
48
  }
43
49
  export interface OnboardingStatus {
50
+ personaSurvey?: OnboardingStatusOption;
44
51
  connectWearables?: OnboardingStatusOption;
45
52
  energySetting?: OnboardingStatusOption;
46
53
  connectTodo?: OnboardingStatusOption;
@@ -1,7 +1,6 @@
1
- import { TodoIntegrationType } from "./TodoIntegrations";
2
1
  import { TodoAppFrom } from "./TodoTasks";
3
2
 
4
- export type CalendarType = "google" | "outlook";
3
+ export type CalendarType = "google" | "outlook" | "lifestack";
5
4
  export type CalendarScope = "owner" | "writer" | "reader" | "freeBusyReader";
6
5
  export type CalendarEventStatus = "confirmed" | "tentative" | "cancelled";
7
6
 
@@ -31,9 +31,16 @@ export interface User {
31
31
  taskLabelsGroupId?: string;
32
32
  dataTrendId?: string;
33
33
  routineId?: string;
34
+ persona?: UserPersona;
34
35
  tokens?: UserTokens; // Deprecated
35
36
  }
36
37
 
38
+ export interface UserPersona {
39
+ job: string;
40
+ pains: string[];
41
+ goals: string[];
42
+ }
43
+
37
44
  // Deprecated
38
45
  export interface UserTokens {
39
46
  googleRefresh?: string;
@@ -45,13 +52,14 @@ export interface UserTokens {
45
52
  }
46
53
 
47
54
  export interface OnboardingStatus {
55
+ personaSurvey?: OnboardingStatusOption;
48
56
  connectWearables?: OnboardingStatusOption;
49
57
  energySetting?: OnboardingStatusOption;
50
58
  connectTodo?: OnboardingStatusOption;
51
59
  allowNotification?: OnboardingStatusOption;
52
60
  aiSchedulerPractice?: OnboardingStatusOption;
53
- initialSync?: OnboardingStatusOption;
54
- tutorial?: OnboardingStatusOption;
61
+ initialSync?: OnboardingStatusOption; // @deprecated
62
+ tutorial?: OnboardingStatusOption; // @deprecated
55
63
  }
56
64
 
57
65
  export type OnboardingStatusOption = "notAnswered" | "answered" | "skipped";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.4.52",
3
+ "version": "1.4.54",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {