@hexclave/shared 1.0.54 → 1.0.56

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 (121) hide show
  1. package/dist/{admin-interface-DuboQXpC.d.ts → admin-interface-sca4FCAt.d.ts} +11 -11
  2. package/dist/{admin-interface-DuboQXpC.d.ts.map → admin-interface-sca4FCAt.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-IxLyJ-cP.d.ts → admin-metrics-BTgqWZXI.d.ts} +18 -18
  4. package/dist/{admin-metrics-IxLyJ-cP.d.ts.map → admin-metrics-BTgqWZXI.d.ts.map} +1 -1
  5. package/dist/ai/hexclave-ask.d.ts +37 -0
  6. package/dist/ai/hexclave-ask.d.ts.map +1 -0
  7. package/dist/ai/hexclave-ask.js +120 -0
  8. package/dist/ai/hexclave-ask.js.map +1 -0
  9. package/dist/ai/hexclave-ask.test.d.ts +1 -0
  10. package/dist/ai/hexclave-ask.test.js +46 -0
  11. package/dist/ai/hexclave-ask.test.js.map +1 -0
  12. package/dist/ai/unified-prompts/reminders.js +4 -4
  13. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  14. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  15. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  16. package/dist/ai/unified-prompts/skill-site-prompt.js +2 -2
  17. package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  18. package/dist/{client-interface-Ca6UZywk.d.ts → client-interface-BQakINAH.d.ts} +10 -10
  19. package/dist/{client-interface-Ca6UZywk.d.ts.map → client-interface-BQakINAH.d.ts.map} +1 -1
  20. package/dist/config/schema.d.ts +1 -1
  21. package/dist/config-authoring.d.ts +1 -1
  22. package/dist/{current-user-DNxac4sS.d.ts → current-user-DosTPiF7.d.ts} +16 -16
  23. package/dist/{current-user-DNxac4sS.d.ts.map → current-user-DosTPiF7.d.ts.map} +1 -1
  24. package/dist/{email-outbox-ILs0LlGd.d.ts → email-outbox-C07KfbmL.d.ts} +155 -155
  25. package/dist/{email-outbox-ILs0LlGd.d.ts.map → email-outbox-C07KfbmL.d.ts.map} +1 -1
  26. package/dist/esm/ai/hexclave-ask.d.ts +37 -0
  27. package/dist/esm/ai/hexclave-ask.d.ts.map +1 -0
  28. package/dist/esm/ai/hexclave-ask.js +117 -0
  29. package/dist/esm/ai/hexclave-ask.js.map +1 -0
  30. package/dist/esm/ai/hexclave-ask.test.d.ts +1 -0
  31. package/dist/esm/ai/hexclave-ask.test.js +47 -0
  32. package/dist/esm/ai/hexclave-ask.test.js.map +1 -0
  33. package/dist/esm/ai/unified-prompts/reminders.js +4 -4
  34. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  35. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  36. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  37. package/dist/esm/ai/unified-prompts/skill-site-prompt.js +2 -2
  38. package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  39. package/dist/esm/config/schema.d.ts +112 -112
  40. package/dist/esm/interface/admin-interface.js +1 -1
  41. package/dist/esm/interface/admin-metrics.d.ts +17 -17
  42. package/dist/esm/interface/client-interface.js +1 -1
  43. package/dist/esm/interface/conversations.d.ts +36 -36
  44. package/dist/esm/interface/crud/current-user.d.ts +15 -15
  45. package/dist/esm/interface/crud/email-outbox.d.ts +154 -154
  46. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  47. package/dist/esm/interface/crud/products.d.ts +20 -20
  48. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  49. package/dist/esm/interface/crud/projects.d.ts +94 -94
  50. package/dist/esm/interface/crud/team-member-profiles.d.ts +30 -30
  51. package/dist/esm/interface/crud/transactions.d.ts +23 -23
  52. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  53. package/dist/esm/interface/crud/users.d.ts +14 -14
  54. package/dist/esm/interface/plan-usage.d.ts +2 -2
  55. package/dist/esm/interface/server-interface.js +1 -1
  56. package/dist/esm/interface/webhooks.d.ts +2 -2
  57. package/dist/esm/known-errors.d.ts +4 -4
  58. package/dist/esm/schema-fields.d.ts +5 -5
  59. package/dist/esm/sessions.d.ts +1 -1
  60. package/dist/esm/utils/promises.js +1 -1
  61. package/dist/helpers/password.d.ts +1 -1
  62. package/dist/helpers/production-mode.d.ts +1 -1
  63. package/dist/index.d.ts +4 -4
  64. package/dist/interface/admin-interface.d.ts +2 -2
  65. package/dist/interface/admin-interface.js +1 -1
  66. package/dist/interface/admin-metrics.d.ts +1 -1
  67. package/dist/interface/client-interface.d.ts +1 -1
  68. package/dist/interface/client-interface.js +1 -1
  69. package/dist/interface/conversations.d.ts +36 -36
  70. package/dist/interface/crud/current-user.d.ts +1 -1
  71. package/dist/interface/crud/email-outbox.d.ts +1 -1
  72. package/dist/interface/crud/invoices.d.ts +1 -1
  73. package/dist/interface/crud/products.d.ts +1 -1
  74. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  75. package/dist/interface/crud/projects.d.ts +1 -1
  76. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  77. package/dist/interface/crud/transactions.d.ts +1 -1
  78. package/dist/interface/crud/users.d.ts +1 -1
  79. package/dist/interface/plan-usage.d.ts +1 -1
  80. package/dist/interface/server-interface.d.ts +1 -1
  81. package/dist/interface/server-interface.js +1 -1
  82. package/dist/interface/webhooks.d.ts +1 -1
  83. package/dist/{invoices-CHo9YKbI.d.ts → invoices-U65KzAZX.d.ts} +3 -3
  84. package/dist/{invoices-CHo9YKbI.d.ts.map → invoices-U65KzAZX.d.ts.map} +1 -1
  85. package/dist/{known-errors-g7JC8z58.d.ts → known-errors-BFf8SVm8.d.ts} +5 -5
  86. package/dist/{known-errors-g7JC8z58.d.ts.map → known-errors-BFf8SVm8.d.ts.map} +1 -1
  87. package/dist/known-errors.d.ts +1 -1
  88. package/dist/{plan-usage-D0kWw4HR.d.ts → plan-usage-CFwV688o.d.ts} +3 -3
  89. package/dist/{plan-usage-D0kWw4HR.d.ts.map → plan-usage-CFwV688o.d.ts.map} +1 -1
  90. package/dist/{products-C98fCS-1.d.ts → products-DzedG6oU.d.ts} +21 -21
  91. package/dist/{products-C98fCS-1.d.ts.map → products-DzedG6oU.d.ts.map} +1 -1
  92. package/dist/{project-api-keys-P97ElZZe.d.ts → project-api-keys-Di2ENRam.d.ts} +5 -5
  93. package/dist/{project-api-keys-P97ElZZe.d.ts.map → project-api-keys-Di2ENRam.d.ts.map} +1 -1
  94. package/dist/{projects-BM2a4sfO.d.ts → projects-W2I5ueag.d.ts} +95 -95
  95. package/dist/{projects-BM2a4sfO.d.ts.map → projects-W2I5ueag.d.ts.map} +1 -1
  96. package/dist/{schema-Bq1TSMFV.d.ts → schema-BXM8B2V2.d.ts} +113 -113
  97. package/dist/{schema-Bq1TSMFV.d.ts.map → schema-BXM8B2V2.d.ts.map} +1 -1
  98. package/dist/{schema-fields-Cch3V5nd.d.ts → schema-fields-DhryPaD4.d.ts} +6 -6
  99. package/dist/{schema-fields-Cch3V5nd.d.ts.map → schema-fields-DhryPaD4.d.ts.map} +1 -1
  100. package/dist/schema-fields.d.ts +1 -1
  101. package/dist/{server-interface-yKuDPrQI.d.ts → server-interface--aZDYxx4.d.ts} +8 -8
  102. package/dist/{server-interface-yKuDPrQI.d.ts.map → server-interface--aZDYxx4.d.ts.map} +1 -1
  103. package/dist/{sessions-DCTyJhi3.d.ts → sessions-CKNkS48M.d.ts} +3 -3
  104. package/dist/{sessions-DCTyJhi3.d.ts.map → sessions-CKNkS48M.d.ts.map} +1 -1
  105. package/dist/sessions.d.ts +1 -1
  106. package/dist/{team-member-profiles-CaD1OJqt.d.ts → team-member-profiles-BhcD2OP5.d.ts} +31 -31
  107. package/dist/{team-member-profiles-CaD1OJqt.d.ts.map → team-member-profiles-BhcD2OP5.d.ts.map} +1 -1
  108. package/dist/{transactions-CrAZLdGo.d.ts → transactions-icyjJzs-.d.ts} +24 -24
  109. package/dist/transactions-icyjJzs-.d.ts.map +1 -0
  110. package/dist/{users-DSpJgn9Z.d.ts → users-DMNuqLTW.d.ts} +16 -16
  111. package/dist/{users-DSpJgn9Z.d.ts.map → users-DMNuqLTW.d.ts.map} +1 -1
  112. package/dist/utils/promises.js +1 -1
  113. package/dist/{webhooks-_aXIgZBW.d.ts → webhooks-8Ts1Clcb.d.ts} +3 -3
  114. package/dist/{webhooks-_aXIgZBW.d.ts.map → webhooks-8Ts1Clcb.d.ts.map} +1 -1
  115. package/package.json +1 -1
  116. package/src/ai/hexclave-ask.test.ts +50 -0
  117. package/src/ai/hexclave-ask.ts +175 -0
  118. package/src/ai/unified-prompts/reminders.ts +4 -4
  119. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -1
  120. package/src/ai/unified-prompts/skill-site-prompt.ts +2 -2
  121. package/dist/transactions-CrAZLdGo.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { Result } from "../utils/results.js";
2
- import { urlString } from "../utils/urls.js";
3
2
  import { KnownErrors } from "../known-errors.js";
3
+ import { urlString } from "../utils/urls.js";
4
4
  import { HexclaveServerInterface } from "./server-interface.js";
5
5
  //#region src/interface/admin-interface.ts
6
6
  var HexclaveAdminInterface = class extends HexclaveServerInterface {
@@ -150,23 +150,23 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
150
150
  activity: number;
151
151
  }[];
152
152
  daily_emails_by_status: {
153
- ok: number;
154
- error: number;
155
153
  date: string;
154
+ error: number;
155
+ ok: number;
156
156
  in_progress: number;
157
157
  }[];
158
158
  emails_sent: number;
159
159
  recent_emails: {
160
160
  id: string;
161
161
  status: string;
162
- subject: string;
163
162
  created_at_millis: number;
163
+ subject: string;
164
164
  }[];
165
165
  deliverability_status: {
166
166
  error: number;
167
+ bounced: number;
167
168
  in_progress: number;
168
169
  delivered: number;
169
- bounced: number;
170
170
  };
171
171
  deliverability_rate: number;
172
172
  bounce_rate: number;
@@ -369,7 +369,7 @@ declare const UserActivityResponseBodySchema: yup.ObjectSchema<{
369
369
  data_points: undefined;
370
370
  }, "">;
371
371
  declare const AnalyticsClickmapKindSchema: yup.StringSchema<"team_user_hour_of_week" | "session_replay_clicks", yup.AnyObject, undefined, "">;
372
- declare const AnalyticsClickmapDeviceSchema: yup.StringSchema<"tv" | "widescreen" | "desktop" | "laptop" | "tablet" | "mobile", yup.AnyObject, undefined, "">;
372
+ declare const AnalyticsClickmapDeviceSchema: yup.StringSchema<"mobile" | "tv" | "widescreen" | "desktop" | "laptop" | "tablet", yup.AnyObject, undefined, "">;
373
373
  declare const AnalyticsClickmapTokenResponseBodySchema: yup.ObjectSchema<{
374
374
  token: string;
375
375
  origin: string;
@@ -392,19 +392,19 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
392
392
  kind: "team_user_hour_of_week" | "session_replay_clicks";
393
393
  cells: {
394
394
  value: number;
395
- weekday: number;
396
395
  hour: number;
396
+ weekday: number;
397
397
  }[];
398
398
  sampling: number;
399
399
  routes: {
400
400
  path: string;
401
- clicks: number;
402
401
  users: number;
402
+ clicks: number;
403
403
  replays: number;
404
404
  }[];
405
405
  users: {
406
- id: string;
407
406
  display_name: string | null;
407
+ id: string;
408
408
  primary_email: string | null;
409
409
  profile_image_url: string | null;
410
410
  clicks: number;
@@ -413,9 +413,9 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
413
413
  }[];
414
414
  replays: {
415
415
  id: string;
416
+ user_id: string | null;
416
417
  clicks: number;
417
418
  last_event_at_millis: number;
418
- user_id: string | null;
419
419
  route_path: string | null;
420
420
  viewport_width: number | null;
421
421
  viewport_height: number | null;
@@ -443,8 +443,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
443
443
  elements: never[];
444
444
  }, "">;
445
445
  declare const MetricsActiveUsersByCountrySchema: yup.MixedSchema<Record<string, {
446
- id: string;
447
446
  display_name: string | null;
447
+ id: string;
448
448
  primary_email: string | null;
449
449
  profile_image_url: string | null;
450
450
  signed_up_at_millis: number;
@@ -471,24 +471,24 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
471
471
  }[];
472
472
  users_by_country: Record<string, number>;
473
473
  active_users_by_country: Record<string, {
474
- id: string;
475
474
  display_name: string | null;
475
+ id: string;
476
476
  primary_email: string | null;
477
477
  profile_image_url: string | null;
478
478
  signed_up_at_millis: number;
479
479
  last_active_at_millis: number | null;
480
480
  }[]>;
481
481
  recently_registered: {
482
- id: string;
483
482
  display_name: string | null;
483
+ id: string;
484
484
  primary_email: string | null;
485
485
  profile_image_url: string | null;
486
486
  signed_up_at_millis: number;
487
487
  last_active_at_millis: number | null;
488
488
  }[];
489
489
  recently_active: {
490
- id: string;
491
490
  display_name: string | null;
491
+ id: string;
492
492
  primary_email: string | null;
493
493
  profile_image_url: string | null;
494
494
  signed_up_at_millis: number;
@@ -563,23 +563,23 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
563
563
  emails_by_status: Record<string, number>;
564
564
  total_emails: number;
565
565
  daily_emails_by_status: {
566
- ok: number;
567
- error: number;
568
566
  date: string;
567
+ error: number;
568
+ ok: number;
569
569
  in_progress: number;
570
570
  }[];
571
571
  emails_sent: number;
572
572
  recent_emails: {
573
573
  id: string;
574
574
  status: string;
575
- subject: string;
576
575
  created_at_millis: number;
576
+ subject: string;
577
577
  }[];
578
578
  deliverability_status: {
579
579
  error: number;
580
+ bounced: number;
580
581
  in_progress: number;
581
582
  delivered: number;
582
- bounced: number;
583
583
  };
584
584
  deliverability_rate: number;
585
585
  bounce_rate: number;
@@ -3,8 +3,8 @@ import { filterUndefined, filterUndefinedOrNull } from "../utils/objects.js";
3
3
  import { deindent } from "../utils/strings.js";
4
4
  import { publishableClientKeyNotNecessarySentinel } from "../utils/oauth.js";
5
5
  import { Result } from "../utils/results.js";
6
- import { urlString } from "../utils/urls.js";
7
6
  import { KnownError, KnownErrors } from "../known-errors.js";
7
+ import { urlString } from "../utils/urls.js";
8
8
  import { AccessToken, InternalSession } from "../sessions.js";
9
9
  import { generateSecureRandomString } from "../utils/crypto.js";
10
10
  import { globalVar } from "../utils/globals.js";
@@ -49,16 +49,16 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
49
49
  userPrimaryEmail: string | null;
50
50
  userProfileImageUrl: string | null;
51
51
  subject: string;
52
- status: "pending" | "open" | "closed";
52
+ status: "open" | "pending" | "closed";
53
53
  priority: "low" | "normal" | "high" | "urgent";
54
54
  source: "email" | "manual" | "chat" | "api";
55
55
  lastMessageType: "message" | "internal-note" | "status-change";
56
56
  preview: string | null;
57
57
  lastActivityAt: string;
58
58
  metadata: {
59
+ tags: string[];
59
60
  assignedToUserId: string | null;
60
61
  assignedToDisplayName: string | null;
61
- tags: string[];
62
62
  firstResponseDueAt: string | null;
63
63
  firstResponseAt: string | null;
64
64
  nextResponseDueAt: string | null;
@@ -129,7 +129,7 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
129
129
  userId: string | null;
130
130
  teamId: string | null;
131
131
  subject: string;
132
- status: "pending" | "open" | "closed";
132
+ status: "open" | "pending" | "closed";
133
133
  priority: "low" | "normal" | "high" | "urgent";
134
134
  source: "email" | "manual" | "chat" | "api";
135
135
  messageType: "message" | "internal-note" | "status-change";
@@ -139,8 +139,8 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
139
139
  createdAt: string;
140
140
  sender: {
141
141
  type: "user" | "agent" | "system";
142
- id: string | null;
143
142
  displayName: string | null;
143
+ id: string | null;
144
144
  primaryEmail: string | null;
145
145
  };
146
146
  }, yup$1.AnyObject, {
@@ -173,29 +173,29 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
173
173
  lastOutboundAt?: string | null | undefined;
174
174
  closedAt?: string | null | undefined;
175
175
  recordMetadata?: {} | null | undefined;
176
- status: "pending" | "open" | "closed";
176
+ status: "open" | "pending" | "closed";
177
177
  subject: string;
178
- conversationId: string;
179
- userId: string | null;
180
- teamId: string | null;
181
- userDisplayName: string | null;
182
- userPrimaryEmail: string | null;
183
- userProfileImageUrl: string | null;
184
- priority: "low" | "normal" | "high" | "urgent";
185
- source: "email" | "manual" | "chat" | "api";
186
- lastMessageType: "message" | "internal-note" | "status-change";
187
- preview: string | null;
188
- lastActivityAt: string;
189
178
  metadata: {
179
+ tags: string[];
190
180
  assignedToUserId: string | null;
191
181
  assignedToDisplayName: string | null;
192
- tags: string[];
193
182
  firstResponseDueAt: string | null;
194
183
  firstResponseAt: string | null;
195
184
  nextResponseDueAt: string | null;
196
185
  lastCustomerReplyAt: string | null;
197
186
  lastAgentReplyAt: string | null;
198
187
  };
188
+ source: "email" | "manual" | "chat" | "api";
189
+ priority: "low" | "normal" | "high" | "urgent";
190
+ conversationId: string;
191
+ userId: string | null;
192
+ teamId: string | null;
193
+ userDisplayName: string | null;
194
+ userPrimaryEmail: string | null;
195
+ userProfileImageUrl: string | null;
196
+ lastMessageType: "message" | "internal-note" | "status-change";
197
+ preview: string | null;
198
+ lastActivityAt: string;
199
199
  }[];
200
200
  hasMore: boolean;
201
201
  }, yup$1.AnyObject, {
@@ -211,48 +211,48 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
211
211
  lastOutboundAt?: string | null | undefined;
212
212
  closedAt?: string | null | undefined;
213
213
  recordMetadata?: {} | null | undefined;
214
- status: "pending" | "open" | "closed";
214
+ status: "open" | "pending" | "closed";
215
215
  subject: string;
216
- conversationId: string;
217
- userId: string | null;
218
- teamId: string | null;
219
- userDisplayName: string | null;
220
- userPrimaryEmail: string | null;
221
- userProfileImageUrl: string | null;
222
- priority: "low" | "normal" | "high" | "urgent";
223
- source: "email" | "manual" | "chat" | "api";
224
- lastMessageType: "message" | "internal-note" | "status-change";
225
- preview: string | null;
226
- lastActivityAt: string;
227
216
  metadata: {
217
+ tags: string[];
228
218
  assignedToUserId: string | null;
229
219
  assignedToDisplayName: string | null;
230
- tags: string[];
231
220
  firstResponseDueAt: string | null;
232
221
  firstResponseAt: string | null;
233
222
  nextResponseDueAt: string | null;
234
223
  lastCustomerReplyAt: string | null;
235
224
  lastAgentReplyAt: string | null;
236
225
  };
226
+ source: "email" | "manual" | "chat" | "api";
227
+ priority: "low" | "normal" | "high" | "urgent";
228
+ conversationId: string;
229
+ userId: string | null;
230
+ teamId: string | null;
231
+ userDisplayName: string | null;
232
+ userPrimaryEmail: string | null;
233
+ userProfileImageUrl: string | null;
234
+ lastMessageType: "message" | "internal-note" | "status-change";
235
+ preview: string | null;
236
+ lastActivityAt: string;
237
237
  };
238
238
  messages: {
239
239
  id: string;
240
- status: "pending" | "open" | "closed";
240
+ status: "open" | "pending" | "closed";
241
241
  subject: string;
242
+ metadata: {} | null;
243
+ body: string | null;
244
+ source: "email" | "manual" | "chat" | "api";
245
+ priority: "low" | "normal" | "high" | "urgent";
242
246
  conversationId: string;
243
247
  userId: string | null;
244
248
  teamId: string | null;
245
- priority: "low" | "normal" | "high" | "urgent";
246
- source: "email" | "manual" | "chat" | "api";
247
- metadata: {} | null;
248
249
  createdAt: string;
249
250
  messageType: "message" | "internal-note" | "status-change";
250
- body: string | null;
251
251
  attachments: {}[];
252
252
  sender: {
253
253
  type: "user" | "agent" | "system";
254
- id: string | null;
255
254
  displayName: string | null;
255
+ id: string | null;
256
256
  primaryEmail: string | null;
257
257
  };
258
258
  }[];
@@ -3,11 +3,10 @@ import { CrudTypeOf } from "../../crud.js";
3
3
  //#region src/interface/crud/current-user.d.ts
4
4
  declare const currentUserCrud: import("../../crud").CrudSchemaFromOptions<{
5
5
  clientReadSchema: import("yup").ObjectSchema<{
6
- id: string;
7
6
  display_name: string | null;
8
- primary_email: string | null;
9
- profile_image_url: string | null;
10
- signed_up_at_millis: number;
7
+ client_metadata: {} | null;
8
+ client_read_only_metadata: {} | null;
9
+ id: string;
11
10
  selected_team_id: string | null;
12
11
  is_anonymous: boolean;
13
12
  is_restricted: boolean;
@@ -15,26 +14,27 @@ declare const currentUserCrud: import("../../crud").CrudSchemaFromOptions<{
15
14
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
16
15
  } | null;
17
16
  requires_totp_mfa: boolean;
18
- client_metadata: {} | null;
19
- client_read_only_metadata: {} | null;
17
+ primary_email: string | null;
18
+ oauth_providers: {
19
+ email?: string | null | undefined;
20
+ id: string;
21
+ account_id: string;
22
+ }[];
23
+ profile_image_url: string | null;
20
24
  primary_email_verified: boolean;
25
+ signed_up_at_millis: number;
21
26
  has_password: boolean;
22
27
  otp_auth_enabled: boolean;
23
28
  passkey_auth_enabled: boolean;
24
29
  restricted_by_admin: boolean;
25
30
  restricted_by_admin_reason: string | null;
26
- oauth_providers: {
27
- email?: string | null | undefined;
28
- id: string;
29
- account_id: string;
30
- }[];
31
31
  auth_with_email: boolean;
32
32
  } & {
33
33
  selected_team: {
34
34
  client_metadata?: {} | null | undefined;
35
35
  client_read_only_metadata?: {} | null | undefined;
36
- id: string;
37
36
  display_name: string;
37
+ id: string;
38
38
  profile_image_url: string | null;
39
39
  } | null;
40
40
  }, import("yup").AnyObject, {
@@ -89,9 +89,9 @@ declare const currentUserCrud: import("../../crud").CrudSchemaFromOptions<{
89
89
  client_metadata?: {} | null | undefined;
90
90
  client_read_only_metadata?: {} | null | undefined;
91
91
  server_metadata?: {} | null | undefined;
92
+ display_name: string;
92
93
  id: string;
93
94
  created_at_millis: number;
94
- display_name: string;
95
95
  profile_image_url: string | null;
96
96
  } | null;
97
97
  selected_team_id: string | null;
@@ -172,10 +172,10 @@ declare const currentUserCrud: import("../../crud").CrudSchemaFromOptions<{
172
172
  }, "">;
173
173
  clientUpdateSchema: import("yup").ObjectSchema<{
174
174
  display_name: string | null | undefined;
175
+ client_metadata: {} | null | undefined;
176
+ selected_team_id: string | null | undefined;
175
177
  primary_email: string | null | undefined;
176
178
  profile_image_url: string | null | undefined;
177
- selected_team_id: string | null | undefined;
178
- client_metadata: {} | null | undefined;
179
179
  otp_auth_enabled: boolean | undefined;
180
180
  passkey_auth_enabled: boolean | undefined;
181
181
  totp_secret_base64: string | null | undefined;