@oxy.so/services 12.13.0 → 13.0.0

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.
Files changed (63) hide show
  1. package/lib/commonjs/ui/boot/runProviderColdBoot.js +188 -88
  2. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -1
  3. package/lib/commonjs/ui/components/OxyConsentScreen.js +10 -7
  4. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
  5. package/lib/commonjs/ui/context/OxyContext.js +116 -3
  6. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  7. package/lib/commonjs/ui/oauth/explicitOAuthConsent.js +10 -5
  8. package/lib/commonjs/ui/oauth/explicitOAuthConsent.js.map +1 -1
  9. package/lib/commonjs/ui/session/cachedBoot.js +95 -0
  10. package/lib/commonjs/ui/session/cachedBoot.js.map +1 -0
  11. package/lib/module/ui/boot/runProviderColdBoot.js +188 -88
  12. package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -1
  13. package/lib/module/ui/components/OxyConsentScreen.js +10 -7
  14. package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
  15. package/lib/module/ui/context/OxyContext.js +117 -4
  16. package/lib/module/ui/context/OxyContext.js.map +1 -1
  17. package/lib/module/ui/oauth/explicitOAuthConsent.js +10 -5
  18. package/lib/module/ui/oauth/explicitOAuthConsent.js.map +1 -1
  19. package/lib/module/ui/session/cachedBoot.js +92 -0
  20. package/lib/module/ui/session/cachedBoot.js.map +1 -0
  21. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +24 -0
  22. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -1
  23. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +3 -1
  24. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -1
  25. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  26. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +2 -1
  27. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
  28. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +28 -50
  29. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  30. package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts +13 -13
  31. package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
  32. package/lib/typescript/commonjs/ui/hooks/queries/useSupervision.d.ts +108 -108
  33. package/lib/typescript/commonjs/ui/oauth/explicitOAuthConsent.d.ts +4 -6
  34. package/lib/typescript/commonjs/ui/oauth/explicitOAuthConsent.d.ts.map +1 -1
  35. package/lib/typescript/commonjs/ui/session/cachedBoot.d.ts +48 -0
  36. package/lib/typescript/commonjs/ui/session/cachedBoot.d.ts.map +1 -0
  37. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +24 -0
  38. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -1
  39. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +3 -1
  40. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
  41. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  42. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +2 -1
  43. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
  44. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +28 -50
  45. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  46. package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts +13 -13
  47. package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
  48. package/lib/typescript/module/ui/hooks/queries/useSupervision.d.ts +108 -108
  49. package/lib/typescript/module/ui/oauth/explicitOAuthConsent.d.ts +4 -6
  50. package/lib/typescript/module/ui/oauth/explicitOAuthConsent.d.ts.map +1 -1
  51. package/lib/typescript/module/ui/session/cachedBoot.d.ts +48 -0
  52. package/lib/typescript/module/ui/session/cachedBoot.d.ts.map +1 -0
  53. package/package.json +5 -5
  54. package/src/ui/boot/__tests__/cachedColdBoot.test.ts +187 -0
  55. package/src/ui/boot/runProviderColdBoot.ts +229 -95
  56. package/src/ui/components/OxyConsentScreen.tsx +40 -31
  57. package/src/ui/components/__tests__/OxyConsentScreen.test.tsx +13 -0
  58. package/src/ui/context/OxyContext.tsx +146 -3
  59. package/src/ui/context/oxyContextTypes.ts +2 -1
  60. package/src/ui/oauth/__tests__/explicitOAuthConsent.test.ts +17 -0
  61. package/src/ui/oauth/explicitOAuthConsent.ts +10 -5
  62. package/src/ui/session/__tests__/cachedBoot.test.ts +32 -0
  63. package/src/ui/session/cachedBoot.ts +139 -0
@@ -1 +1 @@
1
- {"version":3,"file":"oxyContextTypes.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/oxyContextTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,iCAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EACV,WAAW,EACX,IAAI,EACJ,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,QAAQ,EACT,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,EACb,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,0B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adata, AssetUploadInput, FileApplicationAccessRevocation,
2
2
  /**
3
3
  * Update user profile with optimistic updates and offline queue support
4
4
  */
5
- export declare const useUpdateProfile: () => import("@tanstack/react-query").UseMutationResult<User, Error, import("zod").objectOutputType<{
6
- name: import("zod").ZodOptional<import("zod").ZodObject<{
7
- first: import("zod").ZodOptional<import("zod").ZodString>;
8
- last: import("zod").ZodOptional<import("zod").ZodString>;
9
- displayName: import("zod").ZodOptional<import("zod").ZodString>;
10
- }, "strip", import("zod").ZodTypeAny, {
5
+ export declare const useUpdateProfile: () => import("@tanstack/react-query").UseMutationResult<User, Error, {
6
+ [x: string]: unknown;
7
+ name?: {
11
8
  first?: string | undefined;
12
9
  last?: string | undefined;
13
10
  displayName?: string | undefined;
14
- }, {
15
- first?: string | undefined;
16
- last?: string | undefined;
17
- displayName?: string | undefined;
18
- }>>;
19
- username: import("zod").ZodOptional<import("zod").ZodString>;
20
- email: import("zod").ZodOptional<import("zod").ZodString>;
21
- avatar: import("zod").ZodOptional<import("zod").ZodString>;
22
- color: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
23
- bio: import("zod").ZodOptional<import("zod").ZodString>;
24
- description: import("zod").ZodOptional<import("zod").ZodString>;
25
- phone: import("zod").ZodOptional<import("zod").ZodString>;
26
- address: import("zod").ZodOptional<import("zod").ZodString>;
27
- birthday: import("zod").ZodOptional<import("zod").ZodString>;
28
- dateOfBirth: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, string, string>>>;
29
- locations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
30
- links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
31
- linksMetadata: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
32
- url: import("zod").ZodString;
33
- title: import("zod").ZodOptional<import("zod").ZodString>;
34
- description: import("zod").ZodOptional<import("zod").ZodString>;
35
- image: import("zod").ZodOptional<import("zod").ZodString>;
36
- id: import("zod").ZodOptional<import("zod").ZodString>;
37
- }, "strip", import("zod").ZodTypeAny, {
11
+ } | undefined;
12
+ username?: string | undefined;
13
+ email?: string | undefined;
14
+ avatar?: string | undefined;
15
+ color?: string | null | undefined;
16
+ bio?: string | undefined;
17
+ description?: string | undefined;
18
+ phone?: string | undefined;
19
+ address?: string | undefined;
20
+ birthday?: string | undefined;
21
+ dateOfBirth?: string | null | undefined;
22
+ locations?: unknown[] | undefined;
23
+ links?: string[] | undefined;
24
+ linksMetadata?: {
38
25
  url: string;
39
26
  title?: string | undefined;
40
- id?: string | undefined;
41
27
  description?: string | undefined;
42
28
  image?: string | undefined;
43
- }, {
44
- url: string;
45
- title?: string | undefined;
46
29
  id?: string | undefined;
47
- description?: string | undefined;
48
- image?: string | undefined;
49
- }>, "many">>;
50
- languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
51
- accountExpiresAfterInactivityDays: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
52
- notificationPreferences: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
53
- userPreferences: import("zod").ZodOptional<import("zod").ZodObject<{
54
- displayCurrency: import("zod").ZodOptional<import("zod").ZodEnum<["USD", "EUR", "FAIR"]>>;
55
- }, "strip", import("zod").ZodUnknown, import("zod").objectOutputType<{
56
- displayCurrency: import("zod").ZodOptional<import("zod").ZodEnum<["USD", "EUR", "FAIR"]>>;
57
- }, import("zod").ZodUnknown, "strip">, import("zod").objectInputType<{
58
- displayCurrency: import("zod").ZodOptional<import("zod").ZodEnum<["USD", "EUR", "FAIR"]>>;
59
- }, import("zod").ZodUnknown, "strip">>>;
60
- privacySettings: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
61
- themePreference: import("zod").ZodOptional<import("zod").ZodType<import("@oxy.so/contracts").ThemePreference, import("zod").ZodTypeDef, import("@oxy.so/contracts").ThemePreference>>;
62
- }, import("zod").ZodTypeAny, "passthrough">, {
30
+ }[] | undefined;
31
+ languages?: string[] | undefined;
32
+ accountExpiresAfterInactivityDays?: number | null | undefined;
33
+ notificationPreferences?: Record<string, unknown> | undefined;
34
+ userPreferences?: {
35
+ [x: string]: unknown;
36
+ displayCurrency?: "FAIR" | "USD" | "EUR" | undefined;
37
+ } | undefined;
38
+ privacySettings?: Record<string, unknown> | undefined;
39
+ themePreference?: import("@oxy.so/contracts").ThemePreference | undefined;
40
+ }, {
63
41
  previousUser: User | undefined;
64
42
  }>;
65
43
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"useAccountMutations.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/hooks/mutations/useAccountMutations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,+BAA+B,EAC/B,uBAAuB,EACvB,eAAe,EACf,IAAI,EACJ,eAAe,EAChB,MAAM,cAAc,CAAC;AAgBtB;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;aA0sBylP,CAAC;YAAkC,CAAC;mBAAyC,CAAC;;aAA4C,CAAC;YAAkC,CAAC;mBAAyC,CAAC;;;;;;;;;;;;;;;;;;;;;;aAAgxC,CAAC;UAAgC,CAAC;mBAAyC,CAAC;aAAmC,CAAC;;;aAAiE,CAAC;UAAgC,CAAC;mBAAyC,CAAC;aAAmC,CAAC;;;;;;;;;;;;;;;;EA5mB92S,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;SAMQ,MAAM;WAAS,MAAM;WAAS,MAAM;WAAS,MAAM;;;EA2EtF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,UAAU,8BAA8B;IACtC,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAClC;;;;OAIG;IACH,WAAW,EAAE,IAAI,CAAC;CACnB;AAED;;;;;;;;;;;;;GAaG;AACH,eA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AM,CAAC;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC,CAAC,CAAC;CACJ;AAED,4EAA4E;AAC5E,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;GAIG;AACH,eAAO,MAAM,gCAAgC;;EAiD5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;EA+CpC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,uFAkBjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa;UAWd,gBAAgB;iBACT,SAAS,GAAG,QAAQ,GAAG,UAAU;eACnC,aAAa;iBACX,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI;WAO5C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;YAMyB,MAAM;mBAAiB,MAAM;;;EAiBxF,CAAC"}
1
+ {"version":3,"file":"useAccountMutations.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/hooks/mutations/useAccountMutations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,+BAA+B,EAC/B,uBAAuB,EACvB,eAAe,EACf,IAAI,EACJ,eAAe,EAChB,MAAM,cAAc,CAAC;AAgBtB;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8F5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;SAMQ,MAAM;WAAS,MAAM;WAAS,MAAM;WAAS,MAAM;;;EA2EtF,CAAC;AAEF;;;;;;;;;;GAUG;AACH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M,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC,CAAC,CAAC;CACJ;AAED,4EAA4E;AAC5E,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;GAIG;AACH,eAAO,MAAM,gCAAgC;;EAiD5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;EA+CpC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,uFAkBjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa;UAWd,gBAAgB;iBACT,SAAS,GAAG,QAAQ,GAAG,UAAU;eACnC,aAAa;iBACX,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI;WAO5C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;YAMyB,MAAM;mBAAiB,MAAM;;;EAiBxF,CAAC"}
@@ -2,28 +2,28 @@
2
2
  export declare function usePersonalPlans(): import("@tanstack/react-query").UseQueryResult<{
3
3
  schemaVersion: 1;
4
4
  state: "unconfigured" | "configured";
5
- purchase: "unavailable" | "available";
5
+ purchase: "available" | "unavailable";
6
6
  plans: {
7
- kind: "oxy_one";
7
+ offerId: string;
8
+ offerVersion: number;
8
9
  displayName: string;
9
10
  audience: "personal";
11
+ kind: "oxy_one";
10
12
  benefits: {
11
13
  displayName: string;
12
14
  benefit: {
13
15
  kind: "capability";
14
- key: string;
15
16
  productId: string;
17
+ key: string;
16
18
  } | {
17
19
  kind: "quota";
20
+ productId: string;
18
21
  key: string;
19
22
  unit: string;
20
23
  included: number;
21
- productId: string;
22
- combination: "maximum" | "sum" | "exclusive";
24
+ combination: "sum" | "maximum" | "exclusive";
23
25
  };
24
26
  }[];
25
- offerId: string;
26
- offerVersion: number;
27
27
  price?: {
28
28
  currency: string;
29
29
  amountMinorUnits: number;
@@ -36,24 +36,24 @@ export declare function usePersonalPlans(): import("@tanstack/react-query").UseQ
36
36
  }, Error>;
37
37
  /** Account and session partitioning plus a server-side expected-subject fence. */
38
38
  export declare function usePersonalPlanSubscriptions(): import("@tanstack/react-query").UseQueryResult<{
39
- status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
40
39
  sourceId: string;
41
- cancelAtPeriodEnd: boolean;
40
+ status: "paused" | "active" | "canceled" | "incomplete" | "incomplete_expired" | "past_due" | "trialing" | "unpaid";
42
41
  period: {
43
42
  start: string;
44
43
  end: string;
45
44
  };
45
+ cancelAtPeriodEnd: boolean;
46
46
  canCancel: boolean;
47
47
  offers: {
48
+ segmentId: string;
49
+ offerId: string;
50
+ offerVersion: number;
48
51
  displayName: string;
52
+ origin: "individual" | "bundle";
49
53
  period: {
50
54
  start: string;
51
55
  end: string;
52
56
  };
53
- offerId: string;
54
- offerVersion: number;
55
- origin: "bundle" | "individual";
56
- segmentId: string;
57
57
  current: boolean;
58
58
  products: {
59
59
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"usePersonalPlans.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/hooks/queries/usePersonalPlans.ts"],"names":[],"mappings":"AAIA,iFAAiF;AACjF,wBAAgB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;aA0B20O,CAAC;;;;;;;;;UAnB32O;AAED,kFAAkF;AAClF,wBAAgB,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;YAe3C"}
1
+ {"version":3,"file":"usePersonalPlans.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/hooks/queries/usePersonalPlans.ts"],"names":[],"mappings":"AAIA,iFAAiF;AACjF,wBAAgB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAO/B;AAED,kFAAkF;AAClF,wBAAgB,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;YAe3C"}
@@ -20,29 +20,29 @@ export declare const supervisionQueryKeys: {
20
20
  export declare function useSupervision(): {
21
21
  data: {
22
22
  self: {
23
- status: "active" | "orphaned" | "ended";
24
- createdAt: string;
25
- policyVersion: "2";
26
23
  childAccountId: string;
27
24
  guardianAccountId: string | null;
25
+ status: "active" | "orphaned" | "ended";
26
+ policyVersion: "2";
28
27
  consentVersion: "1";
28
+ createdAt: string;
29
29
  } | null;
30
30
  children: {
31
- status: "active" | "orphaned" | "ended";
32
- createdAt: string;
33
- policyVersion: "2";
34
31
  childAccountId: string;
35
32
  guardianAccountId: string | null;
33
+ status: "active" | "orphaned" | "ended";
34
+ policyVersion: "2";
36
35
  consentVersion: "1";
36
+ createdAt: string;
37
37
  }[];
38
38
  invitations: {
39
- status: "pending" | "accepted" | "cancelled";
40
- createdAt: string;
41
39
  id: string;
42
- expiresAt: string;
43
40
  childAccountId: string;
44
41
  guardianAccountId: string;
42
+ status: "pending" | "accepted" | "cancelled";
43
+ expiresAt: string;
45
44
  consentVersion: "1";
45
+ createdAt: string;
46
46
  }[];
47
47
  } | undefined;
48
48
  error: Error;
@@ -69,58 +69,58 @@ export declare function useSupervision(): {
69
69
  isEnabled: boolean;
70
70
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
71
71
  self: {
72
- status: "active" | "orphaned" | "ended";
73
- createdAt: string;
74
- policyVersion: "2";
75
72
  childAccountId: string;
76
73
  guardianAccountId: string | null;
74
+ status: "active" | "orphaned" | "ended";
75
+ policyVersion: "2";
77
76
  consentVersion: "1";
77
+ createdAt: string;
78
78
  } | null;
79
79
  children: {
80
- status: "active" | "orphaned" | "ended";
81
- createdAt: string;
82
- policyVersion: "2";
83
80
  childAccountId: string;
84
81
  guardianAccountId: string | null;
82
+ status: "active" | "orphaned" | "ended";
83
+ policyVersion: "2";
85
84
  consentVersion: "1";
85
+ createdAt: string;
86
86
  }[];
87
87
  invitations: {
88
- status: "pending" | "accepted" | "cancelled";
89
- createdAt: string;
90
88
  id: string;
91
- expiresAt: string;
92
89
  childAccountId: string;
93
90
  guardianAccountId: string;
91
+ status: "pending" | "accepted" | "cancelled";
92
+ expiresAt: string;
94
93
  consentVersion: "1";
94
+ createdAt: string;
95
95
  }[];
96
96
  }, Error>>;
97
97
  fetchStatus: import("@tanstack/react-query").FetchStatus;
98
98
  } | {
99
99
  data: {
100
100
  self: {
101
- status: "active" | "orphaned" | "ended";
102
- createdAt: string;
103
- policyVersion: "2";
104
101
  childAccountId: string;
105
102
  guardianAccountId: string | null;
103
+ status: "active" | "orphaned" | "ended";
104
+ policyVersion: "2";
106
105
  consentVersion: "1";
106
+ createdAt: string;
107
107
  } | null;
108
108
  children: {
109
- status: "active" | "orphaned" | "ended";
110
- createdAt: string;
111
- policyVersion: "2";
112
109
  childAccountId: string;
113
110
  guardianAccountId: string | null;
111
+ status: "active" | "orphaned" | "ended";
112
+ policyVersion: "2";
114
113
  consentVersion: "1";
114
+ createdAt: string;
115
115
  }[];
116
116
  invitations: {
117
- status: "pending" | "accepted" | "cancelled";
118
- createdAt: string;
119
117
  id: string;
120
- expiresAt: string;
121
118
  childAccountId: string;
122
119
  guardianAccountId: string;
120
+ status: "pending" | "accepted" | "cancelled";
121
+ expiresAt: string;
123
122
  consentVersion: "1";
123
+ createdAt: string;
124
124
  }[];
125
125
  } | undefined;
126
126
  error: null;
@@ -147,58 +147,58 @@ export declare function useSupervision(): {
147
147
  isEnabled: boolean;
148
148
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
149
149
  self: {
150
- status: "active" | "orphaned" | "ended";
151
- createdAt: string;
152
- policyVersion: "2";
153
150
  childAccountId: string;
154
151
  guardianAccountId: string | null;
152
+ status: "active" | "orphaned" | "ended";
153
+ policyVersion: "2";
155
154
  consentVersion: "1";
155
+ createdAt: string;
156
156
  } | null;
157
157
  children: {
158
- status: "active" | "orphaned" | "ended";
159
- createdAt: string;
160
- policyVersion: "2";
161
158
  childAccountId: string;
162
159
  guardianAccountId: string | null;
160
+ status: "active" | "orphaned" | "ended";
161
+ policyVersion: "2";
163
162
  consentVersion: "1";
163
+ createdAt: string;
164
164
  }[];
165
165
  invitations: {
166
- status: "pending" | "accepted" | "cancelled";
167
- createdAt: string;
168
166
  id: string;
169
- expiresAt: string;
170
167
  childAccountId: string;
171
168
  guardianAccountId: string;
169
+ status: "pending" | "accepted" | "cancelled";
170
+ expiresAt: string;
172
171
  consentVersion: "1";
172
+ createdAt: string;
173
173
  }[];
174
174
  }, Error>>;
175
175
  fetchStatus: import("@tanstack/react-query").FetchStatus;
176
176
  } | {
177
177
  data: {
178
178
  self: {
179
- status: "active" | "orphaned" | "ended";
180
- createdAt: string;
181
- policyVersion: "2";
182
179
  childAccountId: string;
183
180
  guardianAccountId: string | null;
181
+ status: "active" | "orphaned" | "ended";
182
+ policyVersion: "2";
184
183
  consentVersion: "1";
184
+ createdAt: string;
185
185
  } | null;
186
186
  children: {
187
- status: "active" | "orphaned" | "ended";
188
- createdAt: string;
189
- policyVersion: "2";
190
187
  childAccountId: string;
191
188
  guardianAccountId: string | null;
189
+ status: "active" | "orphaned" | "ended";
190
+ policyVersion: "2";
192
191
  consentVersion: "1";
192
+ createdAt: string;
193
193
  }[];
194
194
  invitations: {
195
- status: "pending" | "accepted" | "cancelled";
196
- createdAt: string;
197
195
  id: string;
198
- expiresAt: string;
199
196
  childAccountId: string;
200
197
  guardianAccountId: string;
198
+ status: "pending" | "accepted" | "cancelled";
199
+ expiresAt: string;
201
200
  consentVersion: "1";
201
+ createdAt: string;
202
202
  }[];
203
203
  } | undefined;
204
204
  error: Error;
@@ -225,58 +225,58 @@ export declare function useSupervision(): {
225
225
  isEnabled: boolean;
226
226
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
227
227
  self: {
228
- status: "active" | "orphaned" | "ended";
229
- createdAt: string;
230
- policyVersion: "2";
231
228
  childAccountId: string;
232
229
  guardianAccountId: string | null;
230
+ status: "active" | "orphaned" | "ended";
231
+ policyVersion: "2";
233
232
  consentVersion: "1";
233
+ createdAt: string;
234
234
  } | null;
235
235
  children: {
236
- status: "active" | "orphaned" | "ended";
237
- createdAt: string;
238
- policyVersion: "2";
239
236
  childAccountId: string;
240
237
  guardianAccountId: string | null;
238
+ status: "active" | "orphaned" | "ended";
239
+ policyVersion: "2";
241
240
  consentVersion: "1";
241
+ createdAt: string;
242
242
  }[];
243
243
  invitations: {
244
- status: "pending" | "accepted" | "cancelled";
245
- createdAt: string;
246
244
  id: string;
247
- expiresAt: string;
248
245
  childAccountId: string;
249
246
  guardianAccountId: string;
247
+ status: "pending" | "accepted" | "cancelled";
248
+ expiresAt: string;
250
249
  consentVersion: "1";
250
+ createdAt: string;
251
251
  }[];
252
252
  }, Error>>;
253
253
  fetchStatus: import("@tanstack/react-query").FetchStatus;
254
254
  } | {
255
255
  data: {
256
256
  self: {
257
- status: "active" | "orphaned" | "ended";
258
- createdAt: string;
259
- policyVersion: "2";
260
257
  childAccountId: string;
261
258
  guardianAccountId: string | null;
259
+ status: "active" | "orphaned" | "ended";
260
+ policyVersion: "2";
262
261
  consentVersion: "1";
262
+ createdAt: string;
263
263
  } | null;
264
264
  children: {
265
- status: "active" | "orphaned" | "ended";
266
- createdAt: string;
267
- policyVersion: "2";
268
265
  childAccountId: string;
269
266
  guardianAccountId: string | null;
267
+ status: "active" | "orphaned" | "ended";
268
+ policyVersion: "2";
270
269
  consentVersion: "1";
270
+ createdAt: string;
271
271
  }[];
272
272
  invitations: {
273
- status: "pending" | "accepted" | "cancelled";
274
- createdAt: string;
275
273
  id: string;
276
- expiresAt: string;
277
274
  childAccountId: string;
278
275
  guardianAccountId: string;
276
+ status: "pending" | "accepted" | "cancelled";
277
+ expiresAt: string;
279
278
  consentVersion: "1";
279
+ createdAt: string;
280
280
  }[];
281
281
  } | undefined;
282
282
  error: null;
@@ -303,58 +303,58 @@ export declare function useSupervision(): {
303
303
  isEnabled: boolean;
304
304
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
305
305
  self: {
306
- status: "active" | "orphaned" | "ended";
307
- createdAt: string;
308
- policyVersion: "2";
309
306
  childAccountId: string;
310
307
  guardianAccountId: string | null;
308
+ status: "active" | "orphaned" | "ended";
309
+ policyVersion: "2";
311
310
  consentVersion: "1";
311
+ createdAt: string;
312
312
  } | null;
313
313
  children: {
314
- status: "active" | "orphaned" | "ended";
315
- createdAt: string;
316
- policyVersion: "2";
317
314
  childAccountId: string;
318
315
  guardianAccountId: string | null;
316
+ status: "active" | "orphaned" | "ended";
317
+ policyVersion: "2";
319
318
  consentVersion: "1";
319
+ createdAt: string;
320
320
  }[];
321
321
  invitations: {
322
- status: "pending" | "accepted" | "cancelled";
323
- createdAt: string;
324
322
  id: string;
325
- expiresAt: string;
326
323
  childAccountId: string;
327
324
  guardianAccountId: string;
325
+ status: "pending" | "accepted" | "cancelled";
326
+ expiresAt: string;
328
327
  consentVersion: "1";
328
+ createdAt: string;
329
329
  }[];
330
330
  }, Error>>;
331
331
  fetchStatus: import("@tanstack/react-query").FetchStatus;
332
332
  } | {
333
333
  data: {
334
334
  self: {
335
- status: "active" | "orphaned" | "ended";
336
- createdAt: string;
337
- policyVersion: "2";
338
335
  childAccountId: string;
339
336
  guardianAccountId: string | null;
337
+ status: "active" | "orphaned" | "ended";
338
+ policyVersion: "2";
340
339
  consentVersion: "1";
340
+ createdAt: string;
341
341
  } | null;
342
342
  children: {
343
- status: "active" | "orphaned" | "ended";
344
- createdAt: string;
345
- policyVersion: "2";
346
343
  childAccountId: string;
347
344
  guardianAccountId: string | null;
345
+ status: "active" | "orphaned" | "ended";
346
+ policyVersion: "2";
348
347
  consentVersion: "1";
348
+ createdAt: string;
349
349
  }[];
350
350
  invitations: {
351
- status: "pending" | "accepted" | "cancelled";
352
- createdAt: string;
353
351
  id: string;
354
- expiresAt: string;
355
352
  childAccountId: string;
356
353
  guardianAccountId: string;
354
+ status: "pending" | "accepted" | "cancelled";
355
+ expiresAt: string;
357
356
  consentVersion: "1";
357
+ createdAt: string;
358
358
  }[];
359
359
  } | undefined;
360
360
  error: null;
@@ -381,58 +381,58 @@ export declare function useSupervision(): {
381
381
  isEnabled: boolean;
382
382
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
383
383
  self: {
384
- status: "active" | "orphaned" | "ended";
385
- createdAt: string;
386
- policyVersion: "2";
387
384
  childAccountId: string;
388
385
  guardianAccountId: string | null;
386
+ status: "active" | "orphaned" | "ended";
387
+ policyVersion: "2";
389
388
  consentVersion: "1";
389
+ createdAt: string;
390
390
  } | null;
391
391
  children: {
392
- status: "active" | "orphaned" | "ended";
393
- createdAt: string;
394
- policyVersion: "2";
395
392
  childAccountId: string;
396
393
  guardianAccountId: string | null;
394
+ status: "active" | "orphaned" | "ended";
395
+ policyVersion: "2";
397
396
  consentVersion: "1";
397
+ createdAt: string;
398
398
  }[];
399
399
  invitations: {
400
- status: "pending" | "accepted" | "cancelled";
401
- createdAt: string;
402
400
  id: string;
403
- expiresAt: string;
404
401
  childAccountId: string;
405
402
  guardianAccountId: string;
403
+ status: "pending" | "accepted" | "cancelled";
404
+ expiresAt: string;
406
405
  consentVersion: "1";
406
+ createdAt: string;
407
407
  }[];
408
408
  }, Error>>;
409
409
  fetchStatus: import("@tanstack/react-query").FetchStatus;
410
410
  } | {
411
411
  data: {
412
412
  self: {
413
- status: "active" | "orphaned" | "ended";
414
- createdAt: string;
415
- policyVersion: "2";
416
413
  childAccountId: string;
417
414
  guardianAccountId: string | null;
415
+ status: "active" | "orphaned" | "ended";
416
+ policyVersion: "2";
418
417
  consentVersion: "1";
418
+ createdAt: string;
419
419
  } | null;
420
420
  children: {
421
- status: "active" | "orphaned" | "ended";
422
- createdAt: string;
423
- policyVersion: "2";
424
421
  childAccountId: string;
425
422
  guardianAccountId: string | null;
423
+ status: "active" | "orphaned" | "ended";
424
+ policyVersion: "2";
426
425
  consentVersion: "1";
426
+ createdAt: string;
427
427
  }[];
428
428
  invitations: {
429
- status: "pending" | "accepted" | "cancelled";
430
- createdAt: string;
431
429
  id: string;
432
- expiresAt: string;
433
430
  childAccountId: string;
434
431
  guardianAccountId: string;
432
+ status: "pending" | "accepted" | "cancelled";
433
+ expiresAt: string;
435
434
  consentVersion: "1";
435
+ createdAt: string;
436
436
  }[];
437
437
  } | undefined;
438
438
  isError: false;
@@ -459,29 +459,29 @@ export declare function useSupervision(): {
459
459
  isEnabled: boolean;
460
460
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
461
461
  self: {
462
- status: "active" | "orphaned" | "ended";
463
- createdAt: string;
464
- policyVersion: "2";
465
462
  childAccountId: string;
466
463
  guardianAccountId: string | null;
464
+ status: "active" | "orphaned" | "ended";
465
+ policyVersion: "2";
467
466
  consentVersion: "1";
467
+ createdAt: string;
468
468
  } | null;
469
469
  children: {
470
- status: "active" | "orphaned" | "ended";
471
- createdAt: string;
472
- policyVersion: "2";
473
470
  childAccountId: string;
474
471
  guardianAccountId: string | null;
472
+ status: "active" | "orphaned" | "ended";
473
+ policyVersion: "2";
475
474
  consentVersion: "1";
475
+ createdAt: string;
476
476
  }[];
477
477
  invitations: {
478
- status: "pending" | "accepted" | "cancelled";
479
- createdAt: string;
480
478
  id: string;
481
- expiresAt: string;
482
479
  childAccountId: string;
483
480
  guardianAccountId: string;
481
+ status: "pending" | "accepted" | "cancelled";
482
+ expiresAt: string;
484
483
  consentVersion: "1";
484
+ createdAt: string;
485
485
  }[];
486
486
  }, Error>>;
487
487
  fetchStatus: import("@tanstack/react-query").FetchStatus;