@hexclave/shared 1.0.11 → 1.0.12

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/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  4. package/dist/config/schema.d.ts +160 -160
  5. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  6. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
  7. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  8. package/dist/esm/config/schema.d.ts +160 -160
  9. package/dist/esm/interface/admin-metrics.d.ts +4 -4
  10. package/dist/esm/interface/conversations.d.ts +24 -24
  11. package/dist/esm/interface/crud/current-user.d.ts +11 -11
  12. package/dist/esm/interface/crud/email-outbox.d.ts +288 -288
  13. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  14. package/dist/esm/interface/crud/project-api-keys.d.ts +3 -3
  15. package/dist/esm/interface/crud/projects.d.ts +99 -99
  16. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  17. package/dist/esm/interface/crud/users.d.ts +4 -4
  18. package/dist/esm/sessions.d.ts +7 -7
  19. package/dist/interface/admin-metrics.d.ts +4 -4
  20. package/dist/interface/conversations.d.ts +24 -24
  21. package/dist/interface/crud/current-user.d.ts +11 -11
  22. package/dist/interface/crud/email-outbox.d.ts +288 -288
  23. package/dist/interface/crud/invoices.d.ts +2 -2
  24. package/dist/interface/crud/project-api-keys.d.ts +3 -3
  25. package/dist/interface/crud/projects.d.ts +99 -99
  26. package/dist/interface/crud/team-member-profiles.d.ts +24 -24
  27. package/dist/interface/crud/users.d.ts +4 -4
  28. package/dist/sessions.d.ts +7 -7
  29. package/package.json +1 -1
  30. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -2
@@ -3,7 +3,7 @@ import * as yup$1 from "yup";
3
3
  //#region src/interface/crud/invoices.d.ts
4
4
  declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
5
5
  created_at_millis: number;
6
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
6
+ status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
7
7
  amount_total: number;
8
8
  hosted_invoice_url: string | null;
9
9
  }, yup$1.AnyObject, {
@@ -15,7 +15,7 @@ declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
15
15
  type CustomerInvoiceRead = yup$1.InferType<typeof customerInvoiceReadSchema>;
16
16
  declare const customerInvoicesListResponseSchema: yup$1.ObjectSchema<{
17
17
  items: {
18
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
18
+ status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
19
19
  created_at_millis: number;
20
20
  amount_total: number;
21
21
  hosted_invoice_url: string | null;
@@ -79,13 +79,13 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
79
79
  is_public: undefined;
80
80
  user_id: undefined;
81
81
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
82
- user_id: string;
83
82
  type: "user";
83
+ user_id: string;
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;
@@ -21,25 +21,23 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
21
21
  profile_image_url: string | null;
22
22
  } & {
23
23
  user: {
24
+ selected_team_id: string | null;
25
+ is_anonymous: boolean;
26
+ is_restricted: boolean;
24
27
  restricted_reason: {
25
28
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
26
29
  } | null;
30
+ requires_totp_mfa: boolean;
27
31
  primary_email: string | null;
28
32
  display_name: string | null;
29
33
  client_metadata: {} | null;
30
34
  client_read_only_metadata: {} | null;
31
35
  server_metadata: {} | null;
32
36
  id: string;
33
- selected_team_id: string | null;
34
- is_anonymous: boolean;
35
- is_restricted: boolean;
36
- requires_totp_mfa: boolean;
37
+ country_code: string | null;
37
38
  profile_image_url: string | null;
38
- oauth_providers: {
39
- email?: string | null | undefined;
40
- id: string;
41
- account_id: string;
42
- }[];
39
+ signed_up_at_millis: number;
40
+ last_active_at_millis: number;
43
41
  primary_email_verified: boolean;
44
42
  primary_email_auth_enabled: boolean;
45
43
  selected_team: {
@@ -51,21 +49,23 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
51
49
  created_at_millis: number;
52
50
  profile_image_url: string | null;
53
51
  } | null;
54
- signed_up_at_millis: number;
55
52
  has_password: boolean;
56
53
  otp_auth_enabled: boolean;
57
54
  passkey_auth_enabled: boolean;
58
- last_active_at_millis: number;
59
55
  restricted_by_admin: boolean;
60
56
  restricted_by_admin_reason: string | null;
61
57
  restricted_by_admin_private_details: string | null;
62
- country_code: string | null;
63
58
  risk_scores: {
64
59
  sign_up: {
65
60
  bot: number;
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, {
@@ -144,25 +144,23 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
144
144
  profile_image_url: string | null;
145
145
  } & {
146
146
  user: {
147
+ selected_team_id: string | null;
148
+ is_anonymous: boolean;
149
+ is_restricted: boolean;
147
150
  restricted_reason: {
148
151
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
149
152
  } | null;
153
+ requires_totp_mfa: boolean;
150
154
  primary_email: string | null;
151
155
  display_name: string | null;
152
156
  client_metadata: {} | null;
153
157
  client_read_only_metadata: {} | null;
154
158
  server_metadata: {} | null;
155
159
  id: string;
156
- selected_team_id: string | null;
157
- is_anonymous: boolean;
158
- is_restricted: boolean;
159
- requires_totp_mfa: boolean;
160
+ country_code: string | null;
160
161
  profile_image_url: string | null;
161
- oauth_providers: {
162
- email?: string | null | undefined;
163
- id: string;
164
- account_id: string;
165
- }[];
162
+ signed_up_at_millis: number;
163
+ last_active_at_millis: number;
166
164
  primary_email_verified: boolean;
167
165
  primary_email_auth_enabled: boolean;
168
166
  selected_team: {
@@ -174,21 +172,23 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
174
172
  created_at_millis: number;
175
173
  profile_image_url: string | null;
176
174
  } | null;
177
- signed_up_at_millis: number;
178
175
  has_password: boolean;
179
176
  otp_auth_enabled: boolean;
180
177
  passkey_auth_enabled: boolean;
181
- last_active_at_millis: number;
182
178
  restricted_by_admin: boolean;
183
179
  restricted_by_admin_reason: string | null;
184
180
  restricted_by_admin_private_details: string | null;
185
- country_code: string | null;
186
181
  risk_scores: {
187
182
  sign_up: {
188
183
  bot: number;
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, {
@@ -163,13 +163,14 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  requires_totp_mfa: undefined;
164
164
  }, "">;
165
165
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
166
+ is_anonymous: boolean | undefined;
166
167
  primary_email: string | null | undefined;
167
168
  display_name: string | null | undefined;
168
169
  client_metadata: {} | null | undefined;
169
170
  client_read_only_metadata: {} | null | undefined;
170
171
  server_metadata: {} | null | undefined;
171
- is_anonymous: boolean | undefined;
172
172
  password: string | null | undefined;
173
+ country_code: string | null | undefined;
173
174
  profile_image_url: string | null | undefined;
174
175
  primary_email_verified: boolean | undefined;
175
176
  primary_email_auth_enabled: boolean | undefined;
@@ -178,7 +179,6 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
178
179
  restricted_by_admin: boolean | undefined;
179
180
  restricted_by_admin_reason: string | null | undefined;
180
181
  restricted_by_admin_private_details: string | null | undefined;
181
- country_code: string | null | undefined;
182
182
  risk_scores: {
183
183
  sign_up: {
184
184
  bot: number;
@@ -369,13 +369,14 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
369
369
  };
370
370
  }, "">;
371
371
  serverCreateSchema: yup$1.ObjectSchema<{
372
+ is_anonymous: boolean | undefined;
372
373
  primary_email: string | null | undefined;
373
374
  display_name: string | null | undefined;
374
375
  client_metadata: {} | null | undefined;
375
376
  client_read_only_metadata: {} | null | undefined;
376
377
  server_metadata: {} | null | undefined;
377
- is_anonymous: boolean | undefined;
378
378
  password: string | null | undefined;
379
+ country_code: string | null | undefined;
379
380
  profile_image_url: string | null | undefined;
380
381
  primary_email_verified: boolean | undefined;
381
382
  primary_email_auth_enabled: boolean | undefined;
@@ -384,7 +385,6 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
384
385
  restricted_by_admin: boolean | undefined;
385
386
  restricted_by_admin_reason: string | null | undefined;
386
387
  restricted_by_admin_private_details: string | null | undefined;
387
- country_code: string | null | undefined;
388
388
  risk_scores: {
389
389
  sign_up: {
390
390
  bot: number;
@@ -9,24 +9,24 @@ declare class AccessToken {
9
9
  private constructor();
10
10
  get payload(): {
11
11
  exp?: number | undefined;
12
- project_id: string;
13
- refresh_token_id: string;
14
- email: string | null;
15
- restricted_reason: {
16
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
17
- } | null;
18
- branch_id: string;
19
12
  sub: string;
20
13
  iat: number;
21
14
  iss: string;
22
15
  aud: string;
16
+ project_id: string;
17
+ branch_id: string;
18
+ refresh_token_id: string;
23
19
  role: "authenticated";
24
20
  name: string | null;
21
+ email: string | null;
25
22
  email_verified: boolean;
26
23
  selected_team_id: string | null;
27
24
  signed_up_at: number;
28
25
  is_anonymous: boolean;
29
26
  is_restricted: boolean;
27
+ restricted_reason: {
28
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
29
+ } | null;
30
30
  requires_totp_mfa: boolean;
31
31
  };
32
32
  get expiresAt(): Date;
@@ -150,8 +150,8 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
150
150
  activity: number;
151
151
  }[];
152
152
  daily_emails_by_status: {
153
- error: number;
154
153
  date: string;
154
+ error: number;
155
155
  ok: number;
156
156
  in_progress: number;
157
157
  }[];
@@ -164,9 +164,9 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
164
164
  }[];
165
165
  deliverability_status: {
166
166
  error: number;
167
- bounced: number;
168
167
  in_progress: number;
169
168
  delivered: number;
169
+ bounced: number;
170
170
  };
171
171
  deliverability_rate: number;
172
172
  bounce_rate: number;
@@ -489,8 +489,8 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
489
489
  emails_by_status: Record<string, number>;
490
490
  total_emails: number;
491
491
  daily_emails_by_status: {
492
- error: number;
493
492
  date: string;
493
+ error: number;
494
494
  ok: number;
495
495
  in_progress: number;
496
496
  }[];
@@ -503,9 +503,9 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
503
503
  }[];
504
504
  deliverability_status: {
505
505
  error: number;
506
- bounced: number;
507
506
  in_progress: number;
508
507
  delivered: number;
508
+ bounced: number;
509
509
  };
510
510
  deliverability_rate: number;
511
511
  bounce_rate: number;