@hexclave/shared 1.0.18 → 1.0.20

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 (88) hide show
  1. package/dist/ai/unified-prompts/reminders.js +10 -7
  2. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  5. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +242 -15
  6. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  7. package/dist/ai/unified-prompts/skill-site-prompt.js +1 -1
  8. package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  9. package/dist/apps/apps-config.d.ts +7 -3
  10. package/dist/apps/apps-config.d.ts.map +1 -1
  11. package/dist/apps/apps-config.js +12 -4
  12. package/dist/apps/apps-config.js.map +1 -1
  13. package/dist/config/schema-fuzzer.test.js +4 -1
  14. package/dist/config/schema-fuzzer.test.js.map +1 -1
  15. package/dist/config/schema.d.ts +85 -76
  16. package/dist/config/schema.d.ts.map +1 -1
  17. package/dist/config/schema.js +7 -3
  18. package/dist/config/schema.js.map +1 -1
  19. package/dist/esm/ai/unified-prompts/reminders.js +10 -7
  20. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  21. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
  22. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  23. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +242 -16
  24. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  25. package/dist/esm/ai/unified-prompts/skill-site-prompt.js +1 -1
  26. package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  27. package/dist/esm/apps/apps-config.d.ts +7 -3
  28. package/dist/esm/apps/apps-config.d.ts.map +1 -1
  29. package/dist/esm/apps/apps-config.js +12 -5
  30. package/dist/esm/apps/apps-config.js.map +1 -1
  31. package/dist/esm/config/schema-fuzzer.test.js +4 -1
  32. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  33. package/dist/esm/config/schema.d.ts +85 -76
  34. package/dist/esm/config/schema.d.ts.map +1 -1
  35. package/dist/esm/config/schema.js +8 -4
  36. package/dist/esm/config/schema.js.map +1 -1
  37. package/dist/esm/interface/admin-metrics.d.ts +5 -5
  38. package/dist/esm/interface/conversations.d.ts +13 -13
  39. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  40. package/dist/esm/interface/crud/email-outbox.d.ts +164 -164
  41. package/dist/esm/interface/crud/products.d.ts +1 -1
  42. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  43. package/dist/esm/interface/crud/projects.d.ts +35 -35
  44. package/dist/esm/interface/crud/team-member-profiles.d.ts +12 -12
  45. package/dist/esm/interface/crud/users.d.ts +12 -12
  46. package/dist/esm/interface/page-component-versions.d.ts.map +1 -1
  47. package/dist/esm/interface/page-component-versions.js +20 -4
  48. package/dist/esm/interface/page-component-versions.js.map +1 -1
  49. package/dist/esm/interface/webhooks.d.ts +4 -4
  50. package/dist/esm/schema-fields.d.ts +3 -1
  51. package/dist/esm/schema-fields.d.ts.map +1 -1
  52. package/dist/esm/schema-fields.js +9 -1
  53. package/dist/esm/schema-fields.js.map +1 -1
  54. package/dist/esm/utils/oauth.d.ts +8 -1
  55. package/dist/esm/utils/oauth.d.ts.map +1 -1
  56. package/dist/esm/utils/oauth.js +7 -1
  57. package/dist/esm/utils/oauth.js.map +1 -1
  58. package/dist/interface/admin-metrics.d.ts +5 -5
  59. package/dist/interface/conversations.d.ts +13 -13
  60. package/dist/interface/crud/current-user.d.ts +5 -5
  61. package/dist/interface/crud/email-outbox.d.ts +164 -164
  62. package/dist/interface/crud/products.d.ts +1 -1
  63. package/dist/interface/crud/project-api-keys.d.ts +4 -4
  64. package/dist/interface/crud/projects.d.ts +35 -35
  65. package/dist/interface/crud/team-member-profiles.d.ts +12 -12
  66. package/dist/interface/crud/users.d.ts +12 -12
  67. package/dist/interface/page-component-versions.d.ts.map +1 -1
  68. package/dist/interface/page-component-versions.js +20 -4
  69. package/dist/interface/page-component-versions.js.map +1 -1
  70. package/dist/interface/webhooks.d.ts +4 -4
  71. package/dist/schema-fields.d.ts +3 -1
  72. package/dist/schema-fields.d.ts.map +1 -1
  73. package/dist/schema-fields.js +10 -0
  74. package/dist/schema-fields.js.map +1 -1
  75. package/dist/utils/oauth.d.ts +8 -1
  76. package/dist/utils/oauth.d.ts.map +1 -1
  77. package/dist/utils/oauth.js +7 -0
  78. package/dist/utils/oauth.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/ai/unified-prompts/reminders.ts +10 -7
  81. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +248 -15
  82. package/src/ai/unified-prompts/skill-site-prompt.ts +1 -1
  83. package/src/apps/apps-config.ts +13 -2
  84. package/src/config/schema-fuzzer.test.ts +3 -0
  85. package/src/config/schema.ts +9 -4
  86. package/src/interface/page-component-versions.ts +20 -4
  87. package/src/schema-fields.ts +2 -0
  88. package/src/utils/oauth.tsx +8 -0
@@ -131,7 +131,6 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
131
131
  };
132
132
  }[] | undefined;
133
133
  quantity: number;
134
- id: string | null;
135
134
  product: {
136
135
  free_trial?: DayInterval | undefined;
137
136
  client_metadata?: {} | null | undefined;
@@ -158,6 +157,7 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
158
157
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
159
158
  }>;
160
159
  };
160
+ id: string | null;
161
161
  }[];
162
162
  is_paginated: boolean;
163
163
  pagination: {
@@ -80,10 +80,10 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
81
  user_id: string;
82
82
  type: "user";
83
- id: string;
84
83
  description: string;
85
- expires_at_millis: number | undefined;
84
+ id: string;
86
85
  created_at_millis: number;
86
+ expires_at_millis: number | undefined;
87
87
  manually_revoked_at_millis: number | undefined;
88
88
  is_public: boolean;
89
89
  } & {
@@ -178,10 +178,10 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
179
  type: "team";
180
180
  team_id: string;
181
- id: string;
182
181
  description: string;
183
- expires_at_millis: number | undefined;
182
+ id: string;
184
183
  created_at_millis: number;
184
+ expires_at_millis: number | undefined;
185
185
  manually_revoked_at_millis: number | undefined;
186
186
  is_public: boolean;
187
187
  } & {
@@ -51,11 +51,15 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
51
51
  onboarding_state: {
52
52
  selected_config_choice: "create-new" | "link-existing";
53
53
  selected_apps: string[];
54
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
54
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
55
55
  selected_email_theme_id: string | null;
56
56
  selected_payments_country: "US" | "OTHER";
57
57
  } | null | undefined;
58
58
  config: {
59
+ domains: {
60
+ domain: string;
61
+ handler_path: string;
62
+ }[];
59
63
  oauth_providers: {
60
64
  client_id?: string | undefined;
61
65
  client_secret?: string | undefined;
@@ -66,10 +70,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
66
70
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
67
71
  provider_config_id: string;
68
72
  }[];
69
- domains: {
70
- domain: string;
71
- handler_path: string;
72
- }[];
73
73
  allow_localhost: boolean;
74
74
  sign_up_enabled: boolean;
75
75
  credential_enabled: boolean;
@@ -204,11 +204,15 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
204
204
  onboarding_state: {
205
205
  selected_config_choice: "create-new" | "link-existing";
206
206
  selected_apps: string[];
207
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
207
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
208
208
  selected_email_theme_id: string | null;
209
209
  selected_payments_country: "US" | "OTHER";
210
210
  } | null | undefined;
211
211
  config: {
212
+ domains?: {
213
+ domain: string;
214
+ handler_path: string;
215
+ }[] | undefined;
212
216
  oauth_providers?: {
213
217
  client_id?: string | undefined;
214
218
  client_secret?: string | undefined;
@@ -218,10 +222,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
218
222
  type: "shared" | "standard";
219
223
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
220
224
  }[] | undefined;
221
- domains?: {
222
- domain: string;
223
- handler_path: string;
224
- }[] | undefined;
225
225
  allow_localhost?: boolean | undefined;
226
226
  sign_up_enabled?: boolean | undefined;
227
227
  credential_enabled?: boolean | undefined;
@@ -284,11 +284,15 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
284
284
  onboarding_state: {
285
285
  selected_config_choice: "create-new" | "link-existing";
286
286
  selected_apps: string[];
287
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
287
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
288
288
  selected_email_theme_id: string | null;
289
289
  selected_payments_country: "US" | "OTHER";
290
290
  } | null | undefined;
291
291
  config: {
292
+ domains?: {
293
+ domain: string;
294
+ handler_path: string;
295
+ }[] | undefined;
292
296
  oauth_providers?: {
293
297
  client_id?: string | undefined;
294
298
  client_secret?: string | undefined;
@@ -298,10 +302,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
298
302
  type: "shared" | "standard";
299
303
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
300
304
  }[] | undefined;
301
- domains?: {
302
- domain: string;
303
- handler_path: string;
304
- }[] | undefined;
305
305
  allow_localhost?: boolean | undefined;
306
306
  sign_up_enabled?: boolean | undefined;
307
307
  credential_enabled?: boolean | undefined;
@@ -424,11 +424,15 @@ declare const projectsCrud: CrudSchemaFromOptions<{
424
424
  onboarding_state: {
425
425
  selected_config_choice: "create-new" | "link-existing";
426
426
  selected_apps: string[];
427
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
427
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
428
428
  selected_email_theme_id: string | null;
429
429
  selected_payments_country: "US" | "OTHER";
430
430
  } | null | undefined;
431
431
  config: {
432
+ domains: {
433
+ domain: string;
434
+ handler_path: string;
435
+ }[];
432
436
  oauth_providers: {
433
437
  client_id?: string | undefined;
434
438
  client_secret?: string | undefined;
@@ -439,10 +443,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
439
443
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
440
444
  provider_config_id: string;
441
445
  }[];
442
- domains: {
443
- domain: string;
444
- handler_path: string;
445
- }[];
446
446
  allow_localhost: boolean;
447
447
  sign_up_enabled: boolean;
448
448
  credential_enabled: boolean;
@@ -539,11 +539,15 @@ declare const projectsCrud: CrudSchemaFromOptions<{
539
539
  onboarding_state: {
540
540
  selected_config_choice: "create-new" | "link-existing";
541
541
  selected_apps: string[];
542
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
542
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
543
543
  selected_email_theme_id: string | null;
544
544
  selected_payments_country: "US" | "OTHER";
545
545
  } | null | undefined;
546
546
  config: {
547
+ domains?: {
548
+ domain: string;
549
+ handler_path: string;
550
+ }[] | undefined;
547
551
  oauth_providers?: {
548
552
  client_id?: string | undefined;
549
553
  client_secret?: string | undefined;
@@ -553,10 +557,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
553
557
  type: "shared" | "standard";
554
558
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
555
559
  }[] | undefined;
556
- domains?: {
557
- domain: string;
558
- handler_path: string;
559
- }[] | undefined;
560
560
  allow_localhost?: boolean | undefined;
561
561
  sign_up_enabled?: boolean | undefined;
562
562
  credential_enabled?: boolean | undefined;
@@ -647,11 +647,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
647
647
  onboarding_state: {
648
648
  selected_config_choice: "create-new" | "link-existing";
649
649
  selected_apps: string[];
650
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
650
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
651
651
  selected_email_theme_id: string | null;
652
652
  selected_payments_country: "US" | "OTHER";
653
653
  } | null | undefined;
654
654
  config: {
655
+ domains: {
656
+ domain: string;
657
+ handler_path: string;
658
+ }[];
655
659
  oauth_providers: {
656
660
  client_id?: string | undefined;
657
661
  client_secret?: string | undefined;
@@ -662,10 +666,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
662
666
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
663
667
  provider_config_id: string;
664
668
  }[];
665
- domains: {
666
- domain: string;
667
- handler_path: string;
668
- }[];
669
669
  allow_localhost: boolean;
670
670
  sign_up_enabled: boolean;
671
671
  credential_enabled: boolean;
@@ -762,11 +762,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
762
762
  onboarding_state: {
763
763
  selected_config_choice: "create-new" | "link-existing";
764
764
  selected_apps: string[];
765
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
765
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
766
766
  selected_email_theme_id: string | null;
767
767
  selected_payments_country: "US" | "OTHER";
768
768
  } | null | undefined;
769
769
  config: {
770
+ domains?: {
771
+ domain: string;
772
+ handler_path: string;
773
+ }[] | undefined;
770
774
  oauth_providers?: {
771
775
  client_id?: string | undefined;
772
776
  client_secret?: string | undefined;
@@ -776,10 +780,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
776
780
  type: "shared" | "standard";
777
781
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
778
782
  }[] | undefined;
779
- domains?: {
780
- domain: string;
781
- handler_path: string;
782
- }[] | undefined;
783
783
  allow_localhost?: boolean | undefined;
784
784
  sign_up_enabled?: boolean | undefined;
785
785
  credential_enabled?: boolean | undefined;
@@ -24,36 +24,36 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
24
24
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
25
25
  } | null;
26
26
  primary_email: string | null;
27
- id: string;
28
27
  display_name: string | null;
29
28
  client_metadata: {} | null;
30
29
  client_read_only_metadata: {} | null;
31
30
  server_metadata: {} | null;
31
+ id: string;
32
32
  selected_team_id: string | null;
33
33
  is_anonymous: boolean;
34
34
  is_restricted: boolean;
35
35
  requires_totp_mfa: boolean;
36
+ country_code: string | null;
36
37
  profile_image_url: string | null;
38
+ signed_up_at_millis: number;
39
+ last_active_at_millis: number;
37
40
  primary_email_verified: boolean;
38
41
  primary_email_auth_enabled: boolean;
39
42
  selected_team: {
40
43
  client_metadata?: {} | null | undefined;
41
44
  client_read_only_metadata?: {} | null | undefined;
42
45
  server_metadata?: {} | null | undefined;
43
- id: string;
44
46
  display_name: string;
45
- profile_image_url: string | null;
47
+ id: string;
46
48
  created_at_millis: number;
49
+ profile_image_url: string | null;
47
50
  } | null;
48
- signed_up_at_millis: number;
49
51
  has_password: boolean;
50
52
  otp_auth_enabled: boolean;
51
53
  passkey_auth_enabled: boolean;
52
- last_active_at_millis: number;
53
54
  restricted_by_admin: boolean;
54
55
  restricted_by_admin_reason: string | null;
55
56
  restricted_by_admin_private_details: string | null;
56
- country_code: string | null;
57
57
  risk_scores: {
58
58
  sign_up: {
59
59
  bot: number;
@@ -147,36 +147,36 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
147
147
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
148
148
  } | null;
149
149
  primary_email: string | null;
150
- id: string;
151
150
  display_name: string | null;
152
151
  client_metadata: {} | null;
153
152
  client_read_only_metadata: {} | null;
154
153
  server_metadata: {} | null;
154
+ id: string;
155
155
  selected_team_id: string | null;
156
156
  is_anonymous: boolean;
157
157
  is_restricted: boolean;
158
158
  requires_totp_mfa: boolean;
159
+ country_code: string | null;
159
160
  profile_image_url: string | null;
161
+ signed_up_at_millis: number;
162
+ last_active_at_millis: number;
160
163
  primary_email_verified: boolean;
161
164
  primary_email_auth_enabled: boolean;
162
165
  selected_team: {
163
166
  client_metadata?: {} | null | undefined;
164
167
  client_read_only_metadata?: {} | null | undefined;
165
168
  server_metadata?: {} | null | undefined;
166
- id: string;
167
169
  display_name: string;
168
- profile_image_url: string | null;
170
+ id: string;
169
171
  created_at_millis: number;
172
+ profile_image_url: string | null;
170
173
  } | null;
171
- signed_up_at_millis: number;
172
174
  has_password: boolean;
173
175
  otp_auth_enabled: boolean;
174
176
  passkey_auth_enabled: boolean;
175
- last_active_at_millis: number;
176
177
  restricted_by_admin: boolean;
177
178
  restricted_by_admin_reason: string | null;
178
179
  restricted_by_admin_private_details: string | null;
179
- country_code: string | null;
180
180
  risk_scores: {
181
181
  sign_up: {
182
182
  bot: number;
@@ -80,10 +80,10 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
80
80
  client_metadata?: {} | null | undefined;
81
81
  client_read_only_metadata?: {} | null | undefined;
82
82
  server_metadata?: {} | null | undefined;
83
- id: string;
84
83
  display_name: string;
85
- profile_image_url: string | null;
84
+ id: string;
86
85
  created_at_millis: number;
86
+ profile_image_url: string | null;
87
87
  } | null;
88
88
  selected_team_id: string | null;
89
89
  profile_image_url: string | null;
@@ -163,12 +163,13 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  }, "">;
164
164
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
165
165
  primary_email: string | null | undefined;
166
- password: string | null | undefined;
167
166
  display_name: string | null | undefined;
168
167
  client_metadata: {} | null | undefined;
169
168
  client_read_only_metadata: {} | null | undefined;
170
169
  server_metadata: {} | null | undefined;
171
170
  is_anonymous: boolean | undefined;
171
+ password: string | null | undefined;
172
+ country_code: string | null | undefined;
172
173
  profile_image_url: string | null | undefined;
173
174
  primary_email_verified: boolean | undefined;
174
175
  primary_email_auth_enabled: boolean | undefined;
@@ -177,7 +178,6 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
177
178
  restricted_by_admin: boolean | undefined;
178
179
  restricted_by_admin_reason: string | null | undefined;
179
180
  restricted_by_admin_private_details: string | null | undefined;
180
- country_code: string | null | undefined;
181
181
  risk_scores: {
182
182
  sign_up: {
183
183
  bot: number;
@@ -233,10 +233,10 @@ declare const usersCrud: CrudSchemaFromOptions<{
233
233
  client_metadata?: {} | null | undefined;
234
234
  client_read_only_metadata?: {} | null | undefined;
235
235
  server_metadata?: {} | null | undefined;
236
- id: string;
237
236
  display_name: string;
238
- profile_image_url: string | null;
237
+ id: string;
239
238
  created_at_millis: number;
239
+ profile_image_url: string | null;
240
240
  } | null;
241
241
  selected_team_id: string | null;
242
242
  profile_image_url: string | null;
@@ -369,12 +369,13 @@ declare const usersCrud: CrudSchemaFromOptions<{
369
369
  }, "">;
370
370
  serverCreateSchema: yup$1.ObjectSchema<{
371
371
  primary_email: string | null | undefined;
372
- password: string | null | undefined;
373
372
  display_name: string | null | undefined;
374
373
  client_metadata: {} | null | undefined;
375
374
  client_read_only_metadata: {} | null | undefined;
376
375
  server_metadata: {} | null | undefined;
377
376
  is_anonymous: boolean | undefined;
377
+ password: string | null | undefined;
378
+ country_code: string | null | undefined;
378
379
  profile_image_url: string | null | undefined;
379
380
  primary_email_verified: boolean | undefined;
380
381
  primary_email_auth_enabled: boolean | undefined;
@@ -383,7 +384,6 @@ declare const usersCrud: CrudSchemaFromOptions<{
383
384
  restricted_by_admin: boolean | undefined;
384
385
  restricted_by_admin_reason: string | null | undefined;
385
386
  restricted_by_admin_private_details: string | null | undefined;
386
- country_code: string | null | undefined;
387
387
  risk_scores: {
388
388
  sign_up: {
389
389
  bot: number;
@@ -467,10 +467,10 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
467
467
  client_metadata?: {} | null | undefined;
468
468
  client_read_only_metadata?: {} | null | undefined;
469
469
  server_metadata?: {} | null | undefined;
470
- id: string;
471
470
  display_name: string;
472
- profile_image_url: string | null;
471
+ id: string;
473
472
  created_at_millis: number;
473
+ profile_image_url: string | null;
474
474
  } | null;
475
475
  selected_team_id: string | null;
476
476
  profile_image_url: string | null;
@@ -558,10 +558,10 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
558
558
  client_metadata?: {} | null | undefined;
559
559
  client_read_only_metadata?: {} | null | undefined;
560
560
  server_metadata?: {} | null | undefined;
561
- id: string;
562
561
  display_name: string;
563
- profile_image_url: string | null;
562
+ id: string;
564
563
  created_at_millis: number;
564
+ profile_image_url: string | null;
565
565
  } | null;
566
566
  selected_team_id: string | null;
567
567
  profile_image_url: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"page-component-versions.d.ts","names":[],"sources":["../../src/interface/page-component-versions.ts"],"mappings":";;;KAmBY,gBAAA;EACV,aAAA;EACA,aAAA;EACA,SAAA;AAAA;AAAA,KAGU,YAAA,GAAe,MAAA,SAAe,gBAAA;EAAsB,CAAA,EAAG,gBAAA;AAAA;AAAA,KAEvD,gBAAA,GAAmB,OAAA,OAAc,eAAA;AAAA,KAEjC,gBAAA;EACV,KAAA;EACA,UAAA;EACA,QAAA,EAAU,YAAA;AAAA;AAAA,iBAySI,oBAAA,CAAA,GAAwB,MAAA,CAAO,gBAAA,EAAkB,gBAAA;AAAA,iBA80CjD,qBAAA,CAAA,GAAyB,MAAA;EAAiB,OAAA;EAAiB,UAAA,EAAY,MAAA;AAAA"}
1
+ {"version":3,"file":"page-component-versions.d.ts","names":[],"sources":["../../src/interface/page-component-versions.ts"],"mappings":";;;KAmBY,gBAAA;EACV,aAAA;EACA,aAAA;EACA,SAAA;AAAA;AAAA,KAGU,YAAA,GAAe,MAAA,SAAe,gBAAA;EAAsB,CAAA,EAAG,gBAAA;AAAA;AAAA,KAEvD,gBAAA,GAAmB,OAAA,OAAc,eAAA;AAAA,KAEjC,gBAAA;EACV,KAAA;EACA,UAAA;EACA,QAAA,EAAU,YAAA;AAAA;AAAA,iBAySI,oBAAA,CAAA,GAAwB,MAAA,CAAO,gBAAA,EAAkB,gBAAA;AAAA,iBA81CjD,qBAAA,CAAA,GAAyB,MAAA;EAAiB,OAAA;EAAiB,UAAA,EAAY,MAAA;AAAA"}
@@ -180,7 +180,7 @@ function createAuthPagePrompt(type) {
180
180
  <Typography>
181
181
  {"Don't have an account? "}
182
182
  <a
183
- href={hexclaveApp.urls.signUp}
183
+ href="#"
184
184
  onClick={async (e) => {
185
185
  e.preventDefault();
186
186
  await hexclaveApp.redirectToSignUp();
@@ -193,7 +193,7 @@ function createAuthPagePrompt(type) {
193
193
  }` : `<Typography>
194
194
  {"Already have an account? "}
195
195
  <a
196
- href={hexclaveApp.urls.signIn}
196
+ href="#"
197
197
  onClick={async (e) => {
198
198
  e.preventDefault();
199
199
  await hexclaveApp.redirectToSignIn();
@@ -513,7 +513,15 @@ function getCustomPagePrompts() {
513
513
  <Typography type="h2">Reset Your Password</Typography>
514
514
  <Typography>
515
515
  {"Don't need to reset? "}
516
- <a href={hexclaveApp.urls.signIn}>Sign in</a>
516
+ <a
517
+ href="#"
518
+ onClick={async (e) => {
519
+ e.preventDefault();
520
+ await hexclaveApp.redirectToSignIn();
521
+ }}
522
+ >
523
+ Sign in
524
+ </a>
517
525
  </Typography>
518
526
 
519
527
  <form onSubmit={async (e) => {
@@ -579,7 +587,15 @@ function getCustomPagePrompts() {
579
587
  {showRedirectLink ? (
580
588
  <Typography>
581
589
  {"If you are not redirected automatically, "}
582
- <a href={hexclaveApp.urls.home}>click here</a>
590
+ <a
591
+ href="#"
592
+ onClick={async (e) => {
593
+ e.preventDefault();
594
+ await hexclaveApp.redirectToHome();
595
+ }}
596
+ >
597
+ click here
598
+ </a>
583
599
  </Typography>
584
600
  ) : null}
585
601
  {error ? <pre>{JSON.stringify(error, null, 2)}</pre> : null}