@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?: ______utils_dates0.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: {
@@ -81,10 +81,10 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
81
81
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
82
82
  user_id: string;
83
83
  type: "user";
84
- id: string;
85
84
  description: string;
86
- expires_at_millis: number | undefined;
85
+ id: string;
87
86
  created_at_millis: number;
87
+ expires_at_millis: number | undefined;
88
88
  manually_revoked_at_millis: number | undefined;
89
89
  is_public: boolean;
90
90
  } & {
@@ -179,10 +179,10 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
179
179
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
180
180
  type: "team";
181
181
  team_id: string;
182
- id: string;
183
182
  description: string;
184
- expires_at_millis: number | undefined;
183
+ id: string;
185
184
  created_at_millis: number;
185
+ expires_at_millis: number | undefined;
186
186
  manually_revoked_at_millis: number | undefined;
187
187
  is_public: boolean;
188
188
  } & {
@@ -52,11 +52,15 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
52
52
  onboarding_state: {
53
53
  selected_config_choice: "create-new" | "link-existing";
54
54
  selected_apps: string[];
55
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
55
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
56
56
  selected_email_theme_id: string | null;
57
57
  selected_payments_country: "US" | "OTHER";
58
58
  } | null | undefined;
59
59
  config: {
60
+ domains: {
61
+ domain: string;
62
+ handler_path: string;
63
+ }[];
60
64
  oauth_providers: {
61
65
  client_id?: string | undefined;
62
66
  client_secret?: string | undefined;
@@ -67,10 +71,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
67
71
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
68
72
  provider_config_id: string;
69
73
  }[];
70
- domains: {
71
- domain: string;
72
- handler_path: string;
73
- }[];
74
74
  allow_localhost: boolean;
75
75
  sign_up_enabled: boolean;
76
76
  credential_enabled: boolean;
@@ -205,11 +205,15 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
205
205
  onboarding_state: {
206
206
  selected_config_choice: "create-new" | "link-existing";
207
207
  selected_apps: string[];
208
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
208
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
209
209
  selected_email_theme_id: string | null;
210
210
  selected_payments_country: "US" | "OTHER";
211
211
  } | null | undefined;
212
212
  config: {
213
+ domains?: {
214
+ domain: string;
215
+ handler_path: string;
216
+ }[] | undefined;
213
217
  oauth_providers?: {
214
218
  client_id?: string | undefined;
215
219
  client_secret?: string | undefined;
@@ -219,10 +223,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
219
223
  type: "shared" | "standard";
220
224
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
221
225
  }[] | undefined;
222
- domains?: {
223
- domain: string;
224
- handler_path: string;
225
- }[] | undefined;
226
226
  allow_localhost?: boolean | undefined;
227
227
  sign_up_enabled?: boolean | undefined;
228
228
  credential_enabled?: boolean | undefined;
@@ -285,11 +285,15 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
285
285
  onboarding_state: {
286
286
  selected_config_choice: "create-new" | "link-existing";
287
287
  selected_apps: string[];
288
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
288
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
289
289
  selected_email_theme_id: string | null;
290
290
  selected_payments_country: "US" | "OTHER";
291
291
  } | null | undefined;
292
292
  config: {
293
+ domains?: {
294
+ domain: string;
295
+ handler_path: string;
296
+ }[] | undefined;
293
297
  oauth_providers?: {
294
298
  client_id?: string | undefined;
295
299
  client_secret?: string | undefined;
@@ -299,10 +303,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
299
303
  type: "shared" | "standard";
300
304
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
301
305
  }[] | undefined;
302
- domains?: {
303
- domain: string;
304
- handler_path: string;
305
- }[] | undefined;
306
306
  allow_localhost?: boolean | undefined;
307
307
  sign_up_enabled?: boolean | undefined;
308
308
  credential_enabled?: boolean | undefined;
@@ -425,11 +425,15 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
425
425
  onboarding_state: {
426
426
  selected_config_choice: "create-new" | "link-existing";
427
427
  selected_apps: string[];
428
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
428
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
429
429
  selected_email_theme_id: string | null;
430
430
  selected_payments_country: "US" | "OTHER";
431
431
  } | null | undefined;
432
432
  config: {
433
+ domains: {
434
+ domain: string;
435
+ handler_path: string;
436
+ }[];
433
437
  oauth_providers: {
434
438
  client_id?: string | undefined;
435
439
  client_secret?: string | undefined;
@@ -440,10 +444,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
440
444
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
441
445
  provider_config_id: string;
442
446
  }[];
443
- domains: {
444
- domain: string;
445
- handler_path: string;
446
- }[];
447
447
  allow_localhost: boolean;
448
448
  sign_up_enabled: boolean;
449
449
  credential_enabled: boolean;
@@ -540,11 +540,15 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
540
540
  onboarding_state: {
541
541
  selected_config_choice: "create-new" | "link-existing";
542
542
  selected_apps: string[];
543
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
543
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
544
544
  selected_email_theme_id: string | null;
545
545
  selected_payments_country: "US" | "OTHER";
546
546
  } | null | undefined;
547
547
  config: {
548
+ domains?: {
549
+ domain: string;
550
+ handler_path: string;
551
+ }[] | undefined;
548
552
  oauth_providers?: {
549
553
  client_id?: string | undefined;
550
554
  client_secret?: string | undefined;
@@ -554,10 +558,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
554
558
  type: "shared" | "standard";
555
559
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
556
560
  }[] | undefined;
557
- domains?: {
558
- domain: string;
559
- handler_path: string;
560
- }[] | undefined;
561
561
  allow_localhost?: boolean | undefined;
562
562
  sign_up_enabled?: boolean | undefined;
563
563
  credential_enabled?: boolean | undefined;
@@ -648,11 +648,15 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
648
648
  onboarding_state: {
649
649
  selected_config_choice: "create-new" | "link-existing";
650
650
  selected_apps: string[];
651
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
651
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
652
652
  selected_email_theme_id: string | null;
653
653
  selected_payments_country: "US" | "OTHER";
654
654
  } | null | undefined;
655
655
  config: {
656
+ domains: {
657
+ domain: string;
658
+ handler_path: string;
659
+ }[];
656
660
  oauth_providers: {
657
661
  client_id?: string | undefined;
658
662
  client_secret?: string | undefined;
@@ -663,10 +667,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
663
667
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
664
668
  provider_config_id: string;
665
669
  }[];
666
- domains: {
667
- domain: string;
668
- handler_path: string;
669
- }[];
670
670
  allow_localhost: boolean;
671
671
  sign_up_enabled: boolean;
672
672
  credential_enabled: boolean;
@@ -763,11 +763,15 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
763
763
  onboarding_state: {
764
764
  selected_config_choice: "create-new" | "link-existing";
765
765
  selected_apps: string[];
766
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
766
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
767
767
  selected_email_theme_id: string | null;
768
768
  selected_payments_country: "US" | "OTHER";
769
769
  } | null | undefined;
770
770
  config: {
771
+ domains?: {
772
+ domain: string;
773
+ handler_path: string;
774
+ }[] | undefined;
771
775
  oauth_providers?: {
772
776
  client_id?: string | undefined;
773
777
  client_secret?: string | undefined;
@@ -777,10 +781,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
777
781
  type: "shared" | "standard";
778
782
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
779
783
  }[] | undefined;
780
- domains?: {
781
- domain: string;
782
- handler_path: string;
783
- }[] | undefined;
784
784
  allow_localhost?: boolean | undefined;
785
785
  sign_up_enabled?: boolean | undefined;
786
786
  credential_enabled?: boolean | undefined;
@@ -25,36 +25,36 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
25
25
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
26
26
  } | null;
27
27
  primary_email: string | null;
28
- id: string;
29
28
  display_name: string | null;
30
29
  client_metadata: {} | null;
31
30
  client_read_only_metadata: {} | null;
32
31
  server_metadata: {} | null;
32
+ id: string;
33
33
  selected_team_id: string | null;
34
34
  is_anonymous: boolean;
35
35
  is_restricted: boolean;
36
36
  requires_totp_mfa: boolean;
37
+ country_code: string | null;
37
38
  profile_image_url: string | null;
39
+ signed_up_at_millis: number;
40
+ last_active_at_millis: number;
38
41
  primary_email_verified: boolean;
39
42
  primary_email_auth_enabled: boolean;
40
43
  selected_team: {
41
44
  client_metadata?: {} | null | undefined;
42
45
  client_read_only_metadata?: {} | null | undefined;
43
46
  server_metadata?: {} | null | undefined;
44
- id: string;
45
47
  display_name: string;
46
- profile_image_url: string | null;
48
+ id: string;
47
49
  created_at_millis: number;
50
+ profile_image_url: string | null;
48
51
  } | null;
49
- signed_up_at_millis: number;
50
52
  has_password: boolean;
51
53
  otp_auth_enabled: boolean;
52
54
  passkey_auth_enabled: boolean;
53
- last_active_at_millis: number;
54
55
  restricted_by_admin: boolean;
55
56
  restricted_by_admin_reason: string | null;
56
57
  restricted_by_admin_private_details: string | null;
57
- country_code: string | null;
58
58
  risk_scores: {
59
59
  sign_up: {
60
60
  bot: number;
@@ -148,36 +148,36 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
148
148
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
149
149
  } | null;
150
150
  primary_email: string | null;
151
- id: string;
152
151
  display_name: string | null;
153
152
  client_metadata: {} | null;
154
153
  client_read_only_metadata: {} | null;
155
154
  server_metadata: {} | null;
155
+ id: string;
156
156
  selected_team_id: string | null;
157
157
  is_anonymous: boolean;
158
158
  is_restricted: boolean;
159
159
  requires_totp_mfa: boolean;
160
+ country_code: string | null;
160
161
  profile_image_url: string | null;
162
+ signed_up_at_millis: number;
163
+ last_active_at_millis: number;
161
164
  primary_email_verified: boolean;
162
165
  primary_email_auth_enabled: boolean;
163
166
  selected_team: {
164
167
  client_metadata?: {} | null | undefined;
165
168
  client_read_only_metadata?: {} | null | undefined;
166
169
  server_metadata?: {} | null | undefined;
167
- id: string;
168
170
  display_name: string;
169
- profile_image_url: string | null;
171
+ id: string;
170
172
  created_at_millis: number;
173
+ profile_image_url: string | null;
171
174
  } | null;
172
- signed_up_at_millis: number;
173
175
  has_password: boolean;
174
176
  otp_auth_enabled: boolean;
175
177
  passkey_auth_enabled: boolean;
176
- last_active_at_millis: number;
177
178
  restricted_by_admin: boolean;
178
179
  restricted_by_admin_reason: string | null;
179
180
  restricted_by_admin_private_details: string | null;
180
- country_code: string | null;
181
181
  risk_scores: {
182
182
  sign_up: {
183
183
  bot: number;
@@ -81,10 +81,10 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
81
81
  client_metadata?: {} | null | undefined;
82
82
  client_read_only_metadata?: {} | null | undefined;
83
83
  server_metadata?: {} | null | undefined;
84
- id: string;
85
84
  display_name: string;
86
- profile_image_url: string | null;
85
+ id: string;
87
86
  created_at_millis: number;
87
+ profile_image_url: string | null;
88
88
  } | null;
89
89
  selected_team_id: string | null;
90
90
  profile_image_url: string | null;
@@ -164,12 +164,13 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
164
164
  }, "">;
165
165
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
166
166
  primary_email: string | null | undefined;
167
- password: string | null | undefined;
168
167
  display_name: string | null | undefined;
169
168
  client_metadata: {} | null | undefined;
170
169
  client_read_only_metadata: {} | null | undefined;
171
170
  server_metadata: {} | null | undefined;
172
171
  is_anonymous: boolean | undefined;
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;
@@ -234,10 +234,10 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
234
234
  client_metadata?: {} | null | undefined;
235
235
  client_read_only_metadata?: {} | null | undefined;
236
236
  server_metadata?: {} | null | undefined;
237
- id: string;
238
237
  display_name: string;
239
- profile_image_url: string | null;
238
+ id: string;
240
239
  created_at_millis: number;
240
+ profile_image_url: string | null;
241
241
  } | null;
242
242
  selected_team_id: string | null;
243
243
  profile_image_url: string | null;
@@ -370,12 +370,13 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
370
370
  }, "">;
371
371
  serverCreateSchema: yup$1.ObjectSchema<{
372
372
  primary_email: string | null | undefined;
373
- password: string | null | undefined;
374
373
  display_name: string | null | undefined;
375
374
  client_metadata: {} | null | undefined;
376
375
  client_read_only_metadata: {} | null | undefined;
377
376
  server_metadata: {} | null | undefined;
378
377
  is_anonymous: boolean | undefined;
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;
@@ -468,10 +468,10 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
468
468
  client_metadata?: {} | null | undefined;
469
469
  client_read_only_metadata?: {} | null | undefined;
470
470
  server_metadata?: {} | null | undefined;
471
- id: string;
472
471
  display_name: string;
473
- profile_image_url: string | null;
472
+ id: string;
474
473
  created_at_millis: number;
474
+ profile_image_url: string | null;
475
475
  } | null;
476
476
  selected_team_id: string | null;
477
477
  profile_image_url: string | null;
@@ -559,10 +559,10 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
559
559
  client_metadata?: {} | null | undefined;
560
560
  client_read_only_metadata?: {} | null | undefined;
561
561
  server_metadata?: {} | null | undefined;
562
- id: string;
563
562
  display_name: string;
564
- profile_image_url: string | null;
563
+ id: string;
565
564
  created_at_millis: number;
565
+ profile_image_url: string | null;
566
566
  } | null;
567
567
  selected_team_id: string | null;
568
568
  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"}
@@ -178,7 +178,7 @@ function createAuthPagePrompt(type) {
178
178
  <Typography>
179
179
  {"Don't have an account? "}
180
180
  <a
181
- href={hexclaveApp.urls.signUp}
181
+ href="#"
182
182
  onClick={async (e) => {
183
183
  e.preventDefault();
184
184
  await hexclaveApp.redirectToSignUp();
@@ -191,7 +191,7 @@ function createAuthPagePrompt(type) {
191
191
  }` : `<Typography>
192
192
  {"Already have an account? "}
193
193
  <a
194
- href={hexclaveApp.urls.signIn}
194
+ href="#"
195
195
  onClick={async (e) => {
196
196
  e.preventDefault();
197
197
  await hexclaveApp.redirectToSignIn();
@@ -511,7 +511,15 @@ function getCustomPagePrompts() {
511
511
  <Typography type="h2">Reset Your Password</Typography>
512
512
  <Typography>
513
513
  {"Don't need to reset? "}
514
- <a href={hexclaveApp.urls.signIn}>Sign in</a>
514
+ <a
515
+ href="#"
516
+ onClick={async (e) => {
517
+ e.preventDefault();
518
+ await hexclaveApp.redirectToSignIn();
519
+ }}
520
+ >
521
+ Sign in
522
+ </a>
515
523
  </Typography>
516
524
 
517
525
  <form onSubmit={async (e) => {
@@ -577,7 +585,15 @@ function getCustomPagePrompts() {
577
585
  {showRedirectLink ? (
578
586
  <Typography>
579
587
  {"If you are not redirected automatically, "}
580
- <a href={hexclaveApp.urls.home}>click here</a>
588
+ <a
589
+ href="#"
590
+ onClick={async (e) => {
591
+ e.preventDefault();
592
+ await hexclaveApp.redirectToHome();
593
+ }}
594
+ >
595
+ click here
596
+ </a>
581
597
  </Typography>
582
598
  ) : null}
583
599
  {error ? <pre>{JSON.stringify(error, null, 2)}</pre> : null}