@hexclave/shared 1.0.11 → 1.0.13

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 (30) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  5. package/dist/config/schema.d.ts +165 -165
  6. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  7. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  8. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
  9. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  10. package/dist/esm/config/schema.d.ts +165 -165
  11. package/dist/esm/interface/admin-metrics.d.ts +2 -2
  12. package/dist/esm/interface/conversations.d.ts +8 -8
  13. package/dist/esm/interface/crud/current-user.d.ts +7 -7
  14. package/dist/esm/interface/crud/email-outbox.d.ts +246 -246
  15. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  16. package/dist/esm/interface/crud/projects.d.ts +99 -99
  17. package/dist/esm/interface/crud/team-member-profiles.d.ts +14 -14
  18. package/dist/esm/interface/crud/users.d.ts +6 -6
  19. package/dist/esm/interface/webhooks.d.ts +2 -2
  20. package/dist/interface/admin-metrics.d.ts +2 -2
  21. package/dist/interface/conversations.d.ts +8 -8
  22. package/dist/interface/crud/current-user.d.ts +7 -7
  23. package/dist/interface/crud/email-outbox.d.ts +246 -246
  24. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  25. package/dist/interface/crud/projects.d.ts +99 -99
  26. package/dist/interface/crud/team-member-profiles.d.ts +14 -14
  27. package/dist/interface/crud/users.d.ts +6 -6
  28. package/dist/interface/webhooks.d.ts +2 -2
  29. package/package.json +1 -1
  30. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -2
@@ -83,9 +83,9 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
83
83
  type: "user";
84
84
  description: string;
85
85
  id: string;
86
+ created_at_millis: number;
86
87
  expires_at_millis: number | undefined;
87
88
  manually_revoked_at_millis: number | undefined;
88
- created_at_millis: number;
89
89
  is_public: boolean;
90
90
  } & {
91
91
  value: string;
@@ -181,9 +181,9 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
181
181
  team_id: string;
182
182
  description: string;
183
183
  id: string;
184
+ created_at_millis: number;
184
185
  expires_at_millis: number | undefined;
185
186
  manually_revoked_at_millis: number | undefined;
186
- created_at_millis: number;
187
187
  is_public: boolean;
188
188
  } & {
189
189
  value: string;
@@ -57,15 +57,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
57
57
  selected_payments_country: "US" | "OTHER";
58
58
  } | null | undefined;
59
59
  config: {
60
- allow_localhost: boolean;
61
- sign_up_enabled: boolean;
62
- credential_enabled: boolean;
63
- magic_link_enabled: boolean;
64
- passkey_enabled: boolean;
65
- client_team_creation_enabled: boolean;
66
- client_user_deletion_enabled: boolean;
67
- allow_user_api_keys: boolean;
68
- allow_team_api_keys: boolean;
60
+ domains: {
61
+ domain: string;
62
+ handler_path: string;
63
+ }[];
69
64
  oauth_providers: {
70
65
  client_id?: string | undefined;
71
66
  client_secret?: string | undefined;
@@ -76,13 +71,18 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
76
71
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
77
72
  provider_config_id: string;
78
73
  }[];
74
+ allow_localhost: boolean;
75
+ sign_up_enabled: boolean;
76
+ credential_enabled: boolean;
77
+ magic_link_enabled: boolean;
78
+ passkey_enabled: boolean;
79
+ client_team_creation_enabled: boolean;
80
+ client_user_deletion_enabled: boolean;
81
+ allow_user_api_keys: boolean;
82
+ allow_team_api_keys: boolean;
79
83
  enabled_oauth_providers: {
80
84
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
81
85
  }[];
82
- domains: {
83
- domain: string;
84
- handler_path: string;
85
- }[];
86
86
  email_config: {
87
87
  password?: string | undefined;
88
88
  host?: string | undefined;
@@ -159,6 +159,10 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
159
159
  id: string;
160
160
  display_name: string;
161
161
  config: {
162
+ domains: {
163
+ domain: string;
164
+ handler_path: string;
165
+ }[];
162
166
  allow_localhost: boolean;
163
167
  sign_up_enabled: boolean;
164
168
  credential_enabled: boolean;
@@ -171,10 +175,6 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
171
175
  enabled_oauth_providers: {
172
176
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
173
177
  }[];
174
- domains: {
175
- domain: string;
176
- handler_path: string;
177
- }[];
178
178
  };
179
179
  }, yup$1.AnyObject, {
180
180
  id: undefined;
@@ -210,15 +210,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
210
210
  selected_payments_country: "US" | "OTHER";
211
211
  } | null | undefined;
212
212
  config: {
213
- allow_localhost?: boolean | undefined;
214
- sign_up_enabled?: boolean | undefined;
215
- credential_enabled?: boolean | undefined;
216
- magic_link_enabled?: boolean | undefined;
217
- passkey_enabled?: boolean | undefined;
218
- client_team_creation_enabled?: boolean | undefined;
219
- client_user_deletion_enabled?: boolean | undefined;
220
- allow_user_api_keys?: boolean | undefined;
221
- allow_team_api_keys?: boolean | undefined;
213
+ domains?: {
214
+ domain: string;
215
+ handler_path: string;
216
+ }[] | undefined;
222
217
  oauth_providers?: {
223
218
  client_id?: string | undefined;
224
219
  client_secret?: string | undefined;
@@ -228,10 +223,15 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
228
223
  type: "shared" | "standard";
229
224
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
230
225
  }[] | undefined;
231
- domains?: {
232
- domain: string;
233
- handler_path: string;
234
- }[] | undefined;
226
+ allow_localhost?: boolean | undefined;
227
+ sign_up_enabled?: boolean | undefined;
228
+ credential_enabled?: boolean | undefined;
229
+ magic_link_enabled?: boolean | undefined;
230
+ passkey_enabled?: boolean | undefined;
231
+ client_team_creation_enabled?: boolean | undefined;
232
+ client_user_deletion_enabled?: boolean | undefined;
233
+ allow_user_api_keys?: boolean | undefined;
234
+ allow_team_api_keys?: boolean | undefined;
235
235
  email_config?: {
236
236
  password?: string | undefined;
237
237
  host?: string | undefined;
@@ -290,15 +290,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
290
290
  selected_payments_country: "US" | "OTHER";
291
291
  } | null | undefined;
292
292
  config: {
293
- allow_localhost?: boolean | undefined;
294
- sign_up_enabled?: boolean | undefined;
295
- credential_enabled?: boolean | undefined;
296
- magic_link_enabled?: boolean | undefined;
297
- passkey_enabled?: boolean | undefined;
298
- client_team_creation_enabled?: boolean | undefined;
299
- client_user_deletion_enabled?: boolean | undefined;
300
- allow_user_api_keys?: boolean | undefined;
301
- allow_team_api_keys?: boolean | undefined;
293
+ domains?: {
294
+ domain: string;
295
+ handler_path: string;
296
+ }[] | undefined;
302
297
  oauth_providers?: {
303
298
  client_id?: string | undefined;
304
299
  client_secret?: string | undefined;
@@ -308,10 +303,15 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
308
303
  type: "shared" | "standard";
309
304
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
310
305
  }[] | undefined;
311
- domains?: {
312
- domain: string;
313
- handler_path: string;
314
- }[] | undefined;
306
+ allow_localhost?: boolean | undefined;
307
+ sign_up_enabled?: boolean | undefined;
308
+ credential_enabled?: boolean | undefined;
309
+ magic_link_enabled?: boolean | undefined;
310
+ passkey_enabled?: boolean | undefined;
311
+ client_team_creation_enabled?: boolean | undefined;
312
+ client_user_deletion_enabled?: boolean | undefined;
313
+ allow_user_api_keys?: boolean | undefined;
314
+ allow_team_api_keys?: boolean | undefined;
315
315
  email_config?: {
316
316
  password?: string | undefined;
317
317
  host?: string | undefined;
@@ -365,6 +365,10 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
365
365
  id: string;
366
366
  display_name: string;
367
367
  config: {
368
+ domains: {
369
+ domain: string;
370
+ handler_path: string;
371
+ }[];
368
372
  allow_localhost: boolean;
369
373
  sign_up_enabled: boolean;
370
374
  credential_enabled: boolean;
@@ -377,10 +381,6 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
377
381
  enabled_oauth_providers: {
378
382
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
379
383
  }[];
380
- domains: {
381
- domain: string;
382
- handler_path: string;
383
- }[];
384
384
  };
385
385
  }, yup$1.AnyObject, {
386
386
  id: undefined;
@@ -430,15 +430,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
430
430
  selected_payments_country: "US" | "OTHER";
431
431
  } | null | undefined;
432
432
  config: {
433
- allow_localhost: boolean;
434
- sign_up_enabled: boolean;
435
- credential_enabled: boolean;
436
- magic_link_enabled: boolean;
437
- passkey_enabled: boolean;
438
- client_team_creation_enabled: boolean;
439
- client_user_deletion_enabled: boolean;
440
- allow_user_api_keys: boolean;
441
- allow_team_api_keys: boolean;
433
+ domains: {
434
+ domain: string;
435
+ handler_path: string;
436
+ }[];
442
437
  oauth_providers: {
443
438
  client_id?: string | undefined;
444
439
  client_secret?: string | undefined;
@@ -449,13 +444,18 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
449
444
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
450
445
  provider_config_id: string;
451
446
  }[];
447
+ allow_localhost: boolean;
448
+ sign_up_enabled: boolean;
449
+ credential_enabled: boolean;
450
+ magic_link_enabled: boolean;
451
+ passkey_enabled: boolean;
452
+ client_team_creation_enabled: boolean;
453
+ client_user_deletion_enabled: boolean;
454
+ allow_user_api_keys: boolean;
455
+ allow_team_api_keys: boolean;
452
456
  enabled_oauth_providers: {
453
457
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
454
458
  }[];
455
- domains: {
456
- domain: string;
457
- handler_path: string;
458
- }[];
459
459
  email_config: {
460
460
  password?: string | undefined;
461
461
  host?: string | undefined;
@@ -545,15 +545,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
545
545
  selected_payments_country: "US" | "OTHER";
546
546
  } | null | undefined;
547
547
  config: {
548
- allow_localhost?: boolean | undefined;
549
- sign_up_enabled?: boolean | undefined;
550
- credential_enabled?: boolean | undefined;
551
- magic_link_enabled?: boolean | undefined;
552
- passkey_enabled?: boolean | undefined;
553
- client_team_creation_enabled?: boolean | undefined;
554
- client_user_deletion_enabled?: boolean | undefined;
555
- allow_user_api_keys?: boolean | undefined;
556
- allow_team_api_keys?: boolean | undefined;
548
+ domains?: {
549
+ domain: string;
550
+ handler_path: string;
551
+ }[] | undefined;
557
552
  oauth_providers?: {
558
553
  client_id?: string | undefined;
559
554
  client_secret?: string | undefined;
@@ -563,10 +558,15 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
563
558
  type: "shared" | "standard";
564
559
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
565
560
  }[] | undefined;
566
- domains?: {
567
- domain: string;
568
- handler_path: string;
569
- }[] | undefined;
561
+ allow_localhost?: boolean | undefined;
562
+ sign_up_enabled?: boolean | undefined;
563
+ credential_enabled?: boolean | undefined;
564
+ magic_link_enabled?: boolean | undefined;
565
+ passkey_enabled?: boolean | undefined;
566
+ client_team_creation_enabled?: boolean | undefined;
567
+ client_user_deletion_enabled?: boolean | undefined;
568
+ allow_user_api_keys?: boolean | undefined;
569
+ allow_team_api_keys?: boolean | undefined;
570
570
  email_config?: {
571
571
  password?: string | undefined;
572
572
  host?: string | undefined;
@@ -653,15 +653,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
653
653
  selected_payments_country: "US" | "OTHER";
654
654
  } | null | undefined;
655
655
  config: {
656
- allow_localhost: boolean;
657
- sign_up_enabled: boolean;
658
- credential_enabled: boolean;
659
- magic_link_enabled: boolean;
660
- passkey_enabled: boolean;
661
- client_team_creation_enabled: boolean;
662
- client_user_deletion_enabled: boolean;
663
- allow_user_api_keys: boolean;
664
- allow_team_api_keys: boolean;
656
+ domains: {
657
+ domain: string;
658
+ handler_path: string;
659
+ }[];
665
660
  oauth_providers: {
666
661
  client_id?: string | undefined;
667
662
  client_secret?: string | undefined;
@@ -672,13 +667,18 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
672
667
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
673
668
  provider_config_id: string;
674
669
  }[];
670
+ allow_localhost: boolean;
671
+ sign_up_enabled: boolean;
672
+ credential_enabled: boolean;
673
+ magic_link_enabled: boolean;
674
+ passkey_enabled: boolean;
675
+ client_team_creation_enabled: boolean;
676
+ client_user_deletion_enabled: boolean;
677
+ allow_user_api_keys: boolean;
678
+ allow_team_api_keys: boolean;
675
679
  enabled_oauth_providers: {
676
680
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
677
681
  }[];
678
- domains: {
679
- domain: string;
680
- handler_path: string;
681
- }[];
682
682
  email_config: {
683
683
  password?: string | undefined;
684
684
  host?: string | undefined;
@@ -768,15 +768,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
768
768
  selected_payments_country: "US" | "OTHER";
769
769
  } | null | undefined;
770
770
  config: {
771
- allow_localhost?: boolean | undefined;
772
- sign_up_enabled?: boolean | undefined;
773
- credential_enabled?: boolean | undefined;
774
- magic_link_enabled?: boolean | undefined;
775
- passkey_enabled?: boolean | undefined;
776
- client_team_creation_enabled?: boolean | undefined;
777
- client_user_deletion_enabled?: boolean | undefined;
778
- allow_user_api_keys?: boolean | undefined;
779
- allow_team_api_keys?: boolean | undefined;
771
+ domains?: {
772
+ domain: string;
773
+ handler_path: string;
774
+ }[] | undefined;
780
775
  oauth_providers?: {
781
776
  client_id?: string | undefined;
782
777
  client_secret?: string | undefined;
@@ -786,10 +781,15 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
786
781
  type: "shared" | "standard";
787
782
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
788
783
  }[] | undefined;
789
- domains?: {
790
- domain: string;
791
- handler_path: string;
792
- }[] | undefined;
784
+ allow_localhost?: boolean | undefined;
785
+ sign_up_enabled?: boolean | undefined;
786
+ credential_enabled?: boolean | undefined;
787
+ magic_link_enabled?: boolean | undefined;
788
+ passkey_enabled?: boolean | undefined;
789
+ client_team_creation_enabled?: boolean | undefined;
790
+ client_user_deletion_enabled?: boolean | undefined;
791
+ allow_user_api_keys?: boolean | undefined;
792
+ allow_team_api_keys?: boolean | undefined;
793
793
  email_config?: {
794
794
  password?: string | undefined;
795
795
  host?: string | undefined;
@@ -34,22 +34,17 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
34
34
  is_anonymous: boolean;
35
35
  is_restricted: boolean;
36
36
  requires_totp_mfa: boolean;
37
- profile_image_url: string | null;
38
- oauth_providers: {
39
- email?: string | null | undefined;
40
- id: string;
41
- account_id: string;
42
- }[];
43
37
  primary_email_verified: boolean;
44
38
  primary_email_auth_enabled: boolean;
39
+ profile_image_url: string | null;
45
40
  selected_team: {
46
41
  client_metadata?: {} | null | undefined;
47
42
  client_read_only_metadata?: {} | null | undefined;
48
43
  server_metadata?: {} | null | undefined;
49
44
  display_name: string;
50
45
  id: string;
51
- created_at_millis: number;
52
46
  profile_image_url: string | null;
47
+ created_at_millis: number;
53
48
  } | null;
54
49
  signed_up_at_millis: number;
55
50
  has_password: boolean;
@@ -66,6 +61,11 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
66
61
  free_trial_abuse: number;
67
62
  };
68
63
  };
64
+ oauth_providers: {
65
+ email?: string | null | undefined;
66
+ id: string;
67
+ account_id: string;
68
+ }[];
69
69
  auth_with_email: boolean;
70
70
  };
71
71
  }, yup$1.AnyObject, {
@@ -157,22 +157,17 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
157
157
  is_anonymous: boolean;
158
158
  is_restricted: boolean;
159
159
  requires_totp_mfa: boolean;
160
- profile_image_url: string | null;
161
- oauth_providers: {
162
- email?: string | null | undefined;
163
- id: string;
164
- account_id: string;
165
- }[];
166
160
  primary_email_verified: boolean;
167
161
  primary_email_auth_enabled: boolean;
162
+ profile_image_url: string | null;
168
163
  selected_team: {
169
164
  client_metadata?: {} | null | undefined;
170
165
  client_read_only_metadata?: {} | null | undefined;
171
166
  server_metadata?: {} | null | undefined;
172
167
  display_name: string;
173
168
  id: string;
174
- created_at_millis: number;
175
169
  profile_image_url: string | null;
170
+ created_at_millis: number;
176
171
  } | null;
177
172
  signed_up_at_millis: number;
178
173
  has_password: boolean;
@@ -189,6 +184,11 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
189
184
  free_trial_abuse: number;
190
185
  };
191
186
  };
187
+ oauth_providers: {
188
+ email?: string | null | undefined;
189
+ id: string;
190
+ account_id: string;
191
+ }[];
192
192
  auth_with_email: boolean;
193
193
  };
194
194
  }, yup$1.AnyObject, {
@@ -83,8 +83,8 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
83
83
  server_metadata?: {} | null | undefined;
84
84
  display_name: string;
85
85
  id: string;
86
- created_at_millis: number;
87
86
  profile_image_url: string | null;
87
+ created_at_millis: number;
88
88
  } | null;
89
89
  selected_team_id: string | null;
90
90
  profile_image_url: string | null;
@@ -170,9 +170,9 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
170
170
  server_metadata: {} | null | undefined;
171
171
  is_anonymous: boolean | undefined;
172
172
  password: string | null | undefined;
173
- profile_image_url: string | null | undefined;
174
173
  primary_email_verified: boolean | undefined;
175
174
  primary_email_auth_enabled: boolean | undefined;
175
+ profile_image_url: string | null | undefined;
176
176
  otp_auth_enabled: boolean | undefined;
177
177
  passkey_auth_enabled: boolean | undefined;
178
178
  restricted_by_admin: boolean | undefined;
@@ -236,8 +236,8 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
236
236
  server_metadata?: {} | null | undefined;
237
237
  display_name: string;
238
238
  id: string;
239
- created_at_millis: number;
240
239
  profile_image_url: string | null;
240
+ created_at_millis: number;
241
241
  } | null;
242
242
  selected_team_id: string | null;
243
243
  profile_image_url: string | null;
@@ -376,9 +376,9 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
376
376
  server_metadata: {} | null | undefined;
377
377
  is_anonymous: boolean | undefined;
378
378
  password: string | null | undefined;
379
- profile_image_url: string | null | undefined;
380
379
  primary_email_verified: boolean | undefined;
381
380
  primary_email_auth_enabled: boolean | undefined;
381
+ profile_image_url: string | null | undefined;
382
382
  otp_auth_enabled: boolean | undefined;
383
383
  passkey_auth_enabled: boolean | undefined;
384
384
  restricted_by_admin: boolean | undefined;
@@ -470,8 +470,8 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
470
470
  server_metadata?: {} | null | undefined;
471
471
  display_name: string;
472
472
  id: string;
473
- created_at_millis: number;
474
473
  profile_image_url: string | null;
474
+ created_at_millis: number;
475
475
  } | null;
476
476
  selected_team_id: string | null;
477
477
  profile_image_url: string | null;
@@ -561,8 +561,8 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
561
561
  server_metadata?: {} | null | undefined;
562
562
  display_name: string;
563
563
  id: string;
564
- created_at_millis: number;
565
564
  profile_image_url: string | null;
565
+ created_at_millis: number;
566
566
  } | null;
567
567
  selected_team_id: string | null;
568
568
  profile_image_url: string | null;
@@ -22,8 +22,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
22
22
  server_metadata?: {} | null | undefined;
23
23
  display_name: string;
24
24
  id: string;
25
- created_at_millis: number;
26
25
  profile_image_url: string | null;
26
+ created_at_millis: number;
27
27
  } | null;
28
28
  selected_team_id: string | null;
29
29
  profile_image_url: string | null;
@@ -112,8 +112,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
112
112
  server_metadata?: {} | null | undefined;
113
113
  display_name: string;
114
114
  id: string;
115
- created_at_millis: number;
116
115
  profile_image_url: string | null;
116
+ created_at_millis: number;
117
117
  } | null;
118
118
  selected_team_id: string | null;
119
119
  profile_image_url: string | null;
@@ -159,8 +159,8 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
159
159
  recent_emails: {
160
160
  status: string;
161
161
  id: string;
162
- subject: string;
163
162
  created_at_millis: number;
163
+ subject: string;
164
164
  }[];
165
165
  deliverability_status: {
166
166
  error: number;
@@ -498,8 +498,8 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
498
498
  recent_emails: {
499
499
  status: string;
500
500
  id: string;
501
- subject: string;
502
501
  created_at_millis: number;
502
+ subject: string;
503
503
  }[];
504
504
  deliverability_status: {
505
505
  error: number;
@@ -49,7 +49,7 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
49
49
  userPrimaryEmail: string | null;
50
50
  userProfileImageUrl: string | null;
51
51
  subject: string;
52
- status: "open" | "pending" | "closed";
52
+ status: "pending" | "open" | "closed";
53
53
  priority: "low" | "normal" | "high" | "urgent";
54
54
  source: "email" | "manual" | "chat" | "api";
55
55
  lastMessageType: "message" | "internal-note" | "status-change";
@@ -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: "open" | "pending" | "closed";
132
+ status: "pending" | "open" | "closed";
133
133
  priority: "low" | "normal" | "high" | "urgent";
134
134
  source: "email" | "manual" | "chat" | "api";
135
135
  messageType: "message" | "internal-note" | "status-change";
@@ -173,8 +173,7 @@ 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: "open" | "pending" | "closed";
177
- subject: string;
176
+ status: "pending" | "open" | "closed";
178
177
  source: "email" | "manual" | "chat" | "api";
179
178
  metadata: {
180
179
  tags: string[];
@@ -187,6 +186,7 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
187
186
  lastAgentReplyAt: string | null;
188
187
  };
189
188
  priority: "low" | "normal" | "high" | "urgent";
189
+ subject: string;
190
190
  conversationId: string;
191
191
  userId: string | null;
192
192
  teamId: string | null;
@@ -211,8 +211,7 @@ 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: "open" | "pending" | "closed";
215
- subject: string;
214
+ status: "pending" | "open" | "closed";
216
215
  source: "email" | "manual" | "chat" | "api";
217
216
  metadata: {
218
217
  tags: string[];
@@ -225,6 +224,7 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
225
224
  lastAgentReplyAt: string | null;
226
225
  };
227
226
  priority: "low" | "normal" | "high" | "urgent";
227
+ subject: string;
228
228
  conversationId: string;
229
229
  userId: string | null;
230
230
  teamId: string | null;
@@ -236,13 +236,13 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
236
236
  lastActivityAt: string;
237
237
  };
238
238
  messages: {
239
- status: "open" | "pending" | "closed";
239
+ status: "pending" | "open" | "closed";
240
240
  id: string;
241
- subject: string;
242
241
  body: string | null;
243
242
  source: "email" | "manual" | "chat" | "api";
244
243
  metadata: {} | null;
245
244
  priority: "low" | "normal" | "high" | "urgent";
245
+ subject: string;
246
246
  conversationId: string;
247
247
  userId: string | null;
248
248
  teamId: string | null;
@@ -16,19 +16,19 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
16
16
  is_anonymous: boolean;
17
17
  is_restricted: boolean;
18
18
  requires_totp_mfa: boolean;
19
- profile_image_url: string | null;
20
- oauth_providers: {
21
- email?: string | null | undefined;
22
- id: string;
23
- account_id: string;
24
- }[];
25
19
  primary_email_verified: boolean;
20
+ profile_image_url: string | null;
26
21
  signed_up_at_millis: number;
27
22
  has_password: boolean;
28
23
  otp_auth_enabled: boolean;
29
24
  passkey_auth_enabled: boolean;
30
25
  restricted_by_admin: boolean;
31
26
  restricted_by_admin_reason: string | null;
27
+ oauth_providers: {
28
+ email?: string | null | undefined;
29
+ id: string;
30
+ account_id: string;
31
+ }[];
32
32
  auth_with_email: boolean;
33
33
  } & {
34
34
  selected_team: {
@@ -92,8 +92,8 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
92
92
  server_metadata?: {} | null | undefined;
93
93
  display_name: string;
94
94
  id: string;
95
- created_at_millis: number;
96
95
  profile_image_url: string | null;
96
+ created_at_millis: number;
97
97
  } | null;
98
98
  selected_team_id: string | null;
99
99
  profile_image_url: string | null;