@hexclave/shared 1.0.40 → 1.0.41

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 (42) 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 -0
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  5. package/dist/config/schema.d.ts +200 -200
  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 -0
  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 +200 -200
  11. package/dist/esm/interface/admin-metrics.d.ts +10 -10
  12. package/dist/esm/interface/conversations.d.ts +10 -10
  13. package/dist/esm/interface/crud/current-user.d.ts +11 -11
  14. package/dist/esm/interface/crud/email-outbox.d.ts +20 -20
  15. package/dist/esm/interface/crud/products.d.ts +13 -13
  16. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  17. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  18. package/dist/esm/interface/crud/projects.d.ts +35 -35
  19. package/dist/esm/interface/crud/team-member-profiles.d.ts +22 -22
  20. package/dist/esm/interface/crud/transactions.d.ts +6 -6
  21. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  22. package/dist/esm/interface/crud/users.d.ts +18 -18
  23. package/dist/esm/interface/webhooks.d.ts +4 -4
  24. package/dist/esm/schema-fields.d.ts +11 -11
  25. package/dist/esm/sessions.d.ts +5 -5
  26. package/dist/interface/admin-metrics.d.ts +10 -10
  27. package/dist/interface/conversations.d.ts +10 -10
  28. package/dist/interface/crud/current-user.d.ts +11 -11
  29. package/dist/interface/crud/email-outbox.d.ts +20 -20
  30. package/dist/interface/crud/products.d.ts +13 -13
  31. package/dist/interface/crud/products.d.ts.map +1 -1
  32. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  33. package/dist/interface/crud/projects.d.ts +35 -35
  34. package/dist/interface/crud/team-member-profiles.d.ts +22 -22
  35. package/dist/interface/crud/transactions.d.ts +6 -6
  36. package/dist/interface/crud/transactions.d.ts.map +1 -1
  37. package/dist/interface/crud/users.d.ts +18 -18
  38. package/dist/interface/webhooks.d.ts +4 -4
  39. package/dist/schema-fields.d.ts +11 -11
  40. package/dist/sessions.d.ts +5 -5
  41. package/package.json +1 -1
  42. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -0
@@ -51,7 +51,7 @@ 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: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
54
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
55
55
  selected_email_theme_id: string | null;
56
56
  selected_payments_country: "US" | "OTHER";
57
57
  } | null | undefined;
@@ -62,10 +62,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
62
62
  message: string;
63
63
  }[];
64
64
  config: {
65
- domains: {
66
- domain: string;
67
- handler_path: string;
68
- }[];
69
65
  oauth_providers: {
70
66
  client_id?: string | undefined;
71
67
  client_secret?: string | undefined;
@@ -76,6 +72,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
76
72
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
77
73
  provider_config_id: string;
78
74
  }[];
75
+ domains: {
76
+ domain: string;
77
+ handler_path: string;
78
+ }[];
79
79
  allow_localhost: boolean;
80
80
  sign_up_enabled: boolean;
81
81
  credential_enabled: boolean;
@@ -224,15 +224,11 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
224
224
  onboarding_state: {
225
225
  selected_config_choice: "create-new" | "link-existing";
226
226
  selected_apps: string[];
227
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
227
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
228
228
  selected_email_theme_id: string | null;
229
229
  selected_payments_country: "US" | "OTHER";
230
230
  } | null | undefined;
231
231
  config: {
232
- domains?: {
233
- domain: string;
234
- handler_path: string;
235
- }[] | undefined;
236
232
  oauth_providers?: {
237
233
  client_id?: string | undefined;
238
234
  client_secret?: string | undefined;
@@ -242,6 +238,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
242
238
  type: "shared" | "standard";
243
239
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
244
240
  }[] | undefined;
241
+ domains?: {
242
+ domain: string;
243
+ handler_path: string;
244
+ }[] | undefined;
245
245
  allow_localhost?: boolean | undefined;
246
246
  sign_up_enabled?: boolean | undefined;
247
247
  credential_enabled?: boolean | undefined;
@@ -304,15 +304,11 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
304
304
  onboarding_state: {
305
305
  selected_config_choice: "create-new" | "link-existing";
306
306
  selected_apps: string[];
307
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
307
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
308
308
  selected_email_theme_id: string | null;
309
309
  selected_payments_country: "US" | "OTHER";
310
310
  } | null | undefined;
311
311
  config: {
312
- domains?: {
313
- domain: string;
314
- handler_path: string;
315
- }[] | undefined;
316
312
  oauth_providers?: {
317
313
  client_id?: string | undefined;
318
314
  client_secret?: string | undefined;
@@ -322,6 +318,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
322
318
  type: "shared" | "standard";
323
319
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
324
320
  }[] | undefined;
321
+ domains?: {
322
+ domain: string;
323
+ handler_path: string;
324
+ }[] | undefined;
325
325
  allow_localhost?: boolean | undefined;
326
326
  sign_up_enabled?: boolean | undefined;
327
327
  credential_enabled?: boolean | undefined;
@@ -454,7 +454,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
454
454
  onboarding_state: {
455
455
  selected_config_choice: "create-new" | "link-existing";
456
456
  selected_apps: string[];
457
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
457
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
458
458
  selected_email_theme_id: string | null;
459
459
  selected_payments_country: "US" | "OTHER";
460
460
  } | null | undefined;
@@ -465,10 +465,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
465
465
  message: string;
466
466
  }[];
467
467
  config: {
468
- domains: {
469
- domain: string;
470
- handler_path: string;
471
- }[];
472
468
  oauth_providers: {
473
469
  client_id?: string | undefined;
474
470
  client_secret?: string | undefined;
@@ -479,6 +475,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
479
475
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
480
476
  provider_config_id: string;
481
477
  }[];
478
+ domains: {
479
+ domain: string;
480
+ handler_path: string;
481
+ }[];
482
482
  allow_localhost: boolean;
483
483
  sign_up_enabled: boolean;
484
484
  credential_enabled: boolean;
@@ -579,15 +579,11 @@ declare const projectsCrud: CrudSchemaFromOptions<{
579
579
  onboarding_state: {
580
580
  selected_config_choice: "create-new" | "link-existing";
581
581
  selected_apps: string[];
582
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
582
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
583
583
  selected_email_theme_id: string | null;
584
584
  selected_payments_country: "US" | "OTHER";
585
585
  } | null | undefined;
586
586
  config: {
587
- domains?: {
588
- domain: string;
589
- handler_path: string;
590
- }[] | undefined;
591
587
  oauth_providers?: {
592
588
  client_id?: string | undefined;
593
589
  client_secret?: string | undefined;
@@ -597,6 +593,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
597
593
  type: "shared" | "standard";
598
594
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
599
595
  }[] | undefined;
596
+ domains?: {
597
+ domain: string;
598
+ handler_path: string;
599
+ }[] | undefined;
600
600
  allow_localhost?: boolean | undefined;
601
601
  sign_up_enabled?: boolean | undefined;
602
602
  credential_enabled?: boolean | undefined;
@@ -687,7 +687,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
687
687
  onboarding_state: {
688
688
  selected_config_choice: "create-new" | "link-existing";
689
689
  selected_apps: string[];
690
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
690
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
691
691
  selected_email_theme_id: string | null;
692
692
  selected_payments_country: "US" | "OTHER";
693
693
  } | null | undefined;
@@ -698,10 +698,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
698
698
  message: string;
699
699
  }[];
700
700
  config: {
701
- domains: {
702
- domain: string;
703
- handler_path: string;
704
- }[];
705
701
  oauth_providers: {
706
702
  client_id?: string | undefined;
707
703
  client_secret?: string | undefined;
@@ -712,6 +708,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
712
708
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
713
709
  provider_config_id: string;
714
710
  }[];
711
+ domains: {
712
+ domain: string;
713
+ handler_path: string;
714
+ }[];
715
715
  allow_localhost: boolean;
716
716
  sign_up_enabled: boolean;
717
717
  credential_enabled: boolean;
@@ -812,15 +812,11 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
812
812
  onboarding_state: {
813
813
  selected_config_choice: "create-new" | "link-existing";
814
814
  selected_apps: string[];
815
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
815
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
816
816
  selected_email_theme_id: string | null;
817
817
  selected_payments_country: "US" | "OTHER";
818
818
  } | null | undefined;
819
819
  config: {
820
- domains?: {
821
- domain: string;
822
- handler_path: string;
823
- }[] | undefined;
824
820
  oauth_providers?: {
825
821
  client_id?: string | undefined;
826
822
  client_secret?: string | undefined;
@@ -830,6 +826,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
830
826
  type: "shared" | "standard";
831
827
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
832
828
  }[] | undefined;
829
+ domains?: {
830
+ domain: string;
831
+ handler_path: string;
832
+ }[] | undefined;
833
833
  allow_localhost?: boolean | undefined;
834
834
  sign_up_enabled?: boolean | undefined;
835
835
  credential_enabled?: boolean | undefined;
@@ -24,36 +24,35 @@ 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
- display_name: string | null;
28
27
  client_metadata: {} | null;
29
28
  client_read_only_metadata: {} | null;
30
29
  server_metadata: {} | null;
31
30
  id: string;
32
- selected_team_id: string | null;
33
- is_anonymous: boolean;
34
- is_restricted: boolean;
35
- requires_totp_mfa: boolean;
36
- country_code: string | null;
37
- profile_image_url: string | null;
38
- signed_up_at_millis: number;
39
- last_active_at_millis: number;
40
31
  primary_email_verified: boolean;
41
32
  primary_email_auth_enabled: boolean;
33
+ display_name: string | null;
34
+ profile_image_url: string | null;
42
35
  selected_team: {
43
36
  client_metadata?: {} | null | undefined;
44
37
  client_read_only_metadata?: {} | null | undefined;
45
38
  server_metadata?: {} | null | undefined;
46
- display_name: string;
47
39
  id: string;
48
- created_at_millis: number;
40
+ display_name: string;
49
41
  profile_image_url: string | null;
42
+ created_at_millis: number;
50
43
  } | null;
44
+ selected_team_id: string | null;
45
+ signed_up_at_millis: number;
51
46
  has_password: boolean;
52
47
  otp_auth_enabled: boolean;
53
48
  passkey_auth_enabled: boolean;
49
+ last_active_at_millis: number;
50
+ is_anonymous: boolean;
51
+ is_restricted: boolean;
54
52
  restricted_by_admin: boolean;
55
53
  restricted_by_admin_reason: string | null;
56
54
  restricted_by_admin_private_details: string | null;
55
+ country_code: string | null;
57
56
  risk_scores: {
58
57
  sign_up: {
59
58
  bot: number;
@@ -66,6 +65,7 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
66
65
  account_id: string;
67
66
  }[];
68
67
  auth_with_email: boolean;
68
+ requires_totp_mfa: boolean;
69
69
  };
70
70
  }, yup$1.AnyObject, {
71
71
  team_id: undefined;
@@ -147,36 +147,35 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
147
147
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
148
148
  } | null;
149
149
  primary_email: string | null;
150
- display_name: string | null;
151
150
  client_metadata: {} | null;
152
151
  client_read_only_metadata: {} | null;
153
152
  server_metadata: {} | null;
154
153
  id: string;
155
- selected_team_id: string | null;
156
- is_anonymous: boolean;
157
- is_restricted: boolean;
158
- requires_totp_mfa: boolean;
159
- country_code: string | null;
160
- profile_image_url: string | null;
161
- signed_up_at_millis: number;
162
- last_active_at_millis: number;
163
154
  primary_email_verified: boolean;
164
155
  primary_email_auth_enabled: boolean;
156
+ display_name: string | null;
157
+ profile_image_url: string | null;
165
158
  selected_team: {
166
159
  client_metadata?: {} | null | undefined;
167
160
  client_read_only_metadata?: {} | null | undefined;
168
161
  server_metadata?: {} | null | undefined;
169
- display_name: string;
170
162
  id: string;
171
- created_at_millis: number;
163
+ display_name: string;
172
164
  profile_image_url: string | null;
165
+ created_at_millis: number;
173
166
  } | null;
167
+ selected_team_id: string | null;
168
+ signed_up_at_millis: number;
174
169
  has_password: boolean;
175
170
  otp_auth_enabled: boolean;
176
171
  passkey_auth_enabled: boolean;
172
+ last_active_at_millis: number;
173
+ is_anonymous: boolean;
174
+ is_restricted: boolean;
177
175
  restricted_by_admin: boolean;
178
176
  restricted_by_admin_reason: string | null;
179
177
  restricted_by_admin_private_details: string | null;
178
+ country_code: string | null;
180
179
  risk_scores: {
181
180
  sign_up: {
182
181
  bot: number;
@@ -189,6 +188,7 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
189
188
  account_id: string;
190
189
  }[];
191
190
  auth_with_email: boolean;
191
+ requires_totp_mfa: boolean;
192
192
  };
193
193
  }, yup$1.AnyObject, {
194
194
  team_id: undefined;
@@ -38,14 +38,16 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
38
38
  quantity: number;
39
39
  customer_type: "team" | "user" | "custom";
40
40
  product: {
41
- free_trial?: DayInterval | undefined;
42
41
  client_metadata?: {} | null | undefined;
43
42
  client_read_only_metadata?: {} | null | undefined;
44
43
  server_metadata?: {} | null | undefined;
44
+ free_trial?: DayInterval | undefined;
45
45
  server_only: boolean;
46
46
  customer_type: "team" | "user" | "custom";
47
+ display_name: string;
47
48
  stackable: boolean;
48
49
  prices: Record<string, {
50
+ interval?: DayInterval | undefined;
49
51
  USD?: string | undefined;
50
52
  EUR?: string | undefined;
51
53
  GBP?: string | undefined;
@@ -53,10 +55,8 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
53
55
  INR?: string | undefined;
54
56
  AUD?: string | undefined;
55
57
  CAD?: string | undefined;
56
- interval?: DayInterval | undefined;
57
58
  free_trial?: DayInterval | undefined;
58
59
  }>;
59
- display_name: string;
60
60
  included_items: Record<string, {
61
61
  quantity?: number | undefined;
62
62
  repeat?: "never" | DayInterval | undefined;
@@ -122,14 +122,16 @@ declare const transactionSchema: yup$1.ObjectSchema<{
122
122
  quantity: number;
123
123
  customer_type: "team" | "user" | "custom";
124
124
  product: {
125
- free_trial?: DayInterval | undefined;
126
125
  client_metadata?: {} | null | undefined;
127
126
  client_read_only_metadata?: {} | null | undefined;
128
127
  server_metadata?: {} | null | undefined;
128
+ free_trial?: DayInterval | undefined;
129
129
  server_only: boolean;
130
130
  customer_type: "team" | "user" | "custom";
131
+ display_name: string;
131
132
  stackable: boolean;
132
133
  prices: Record<string, {
134
+ interval?: DayInterval | undefined;
133
135
  USD?: string | undefined;
134
136
  EUR?: string | undefined;
135
137
  GBP?: string | undefined;
@@ -137,10 +139,8 @@ declare const transactionSchema: yup$1.ObjectSchema<{
137
139
  INR?: string | undefined;
138
140
  AUD?: string | undefined;
139
141
  CAD?: string | undefined;
140
- interval?: DayInterval | undefined;
141
142
  free_trial?: DayInterval | undefined;
142
143
  }>;
143
- display_name: string;
144
144
  included_items: Record<string, {
145
145
  quantity?: number | undefined;
146
146
  repeat?: "never" | DayInterval | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
1
+ {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
@@ -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
- display_name: string;
84
83
  id: string;
85
- created_at_millis: number;
84
+ display_name: string;
86
85
  profile_image_url: string | null;
86
+ created_at_millis: number;
87
87
  } | null;
88
88
  selected_team_id: string | null;
89
89
  profile_image_url: string | null;
@@ -163,27 +163,27 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  }, "">;
164
164
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
165
165
  primary_email: string | null | undefined;
166
- display_name: string | null | undefined;
167
166
  client_metadata: {} | null | undefined;
168
167
  client_read_only_metadata: {} | null | undefined;
169
168
  server_metadata: {} | null | undefined;
170
- is_anonymous: boolean | undefined;
171
- country_code: string | null | undefined;
172
- profile_image_url: string | null | undefined;
173
- password: string | null | undefined;
174
169
  primary_email_verified: boolean | undefined;
175
170
  primary_email_auth_enabled: boolean | undefined;
171
+ display_name: string | null | undefined;
172
+ profile_image_url: string | null | undefined;
176
173
  otp_auth_enabled: boolean | undefined;
177
174
  passkey_auth_enabled: boolean | undefined;
175
+ is_anonymous: boolean | undefined;
178
176
  restricted_by_admin: boolean | undefined;
179
177
  restricted_by_admin_reason: string | null | undefined;
180
178
  restricted_by_admin_private_details: string | null | undefined;
179
+ country_code: string | null | undefined;
181
180
  risk_scores: {
182
181
  sign_up: {
183
182
  bot: number;
184
183
  free_trial_abuse: number;
185
184
  };
186
185
  } | undefined;
186
+ password: string | null | undefined;
187
187
  password_hash: string | undefined;
188
188
  totp_secret_base64: string | null | undefined;
189
189
  } & {
@@ -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
- display_name: string;
237
236
  id: string;
238
- created_at_millis: number;
237
+ display_name: string;
239
238
  profile_image_url: string | null;
239
+ created_at_millis: number;
240
240
  } | null;
241
241
  selected_team_id: string | null;
242
242
  profile_image_url: string | null;
@@ -369,27 +369,27 @@ declare const usersCrud: CrudSchemaFromOptions<{
369
369
  }, "">;
370
370
  serverCreateSchema: yup$1.ObjectSchema<{
371
371
  primary_email: string | null | undefined;
372
- display_name: string | null | undefined;
373
372
  client_metadata: {} | null | undefined;
374
373
  client_read_only_metadata: {} | null | undefined;
375
374
  server_metadata: {} | null | undefined;
376
- is_anonymous: boolean | undefined;
377
- country_code: string | null | undefined;
378
- profile_image_url: string | null | undefined;
379
- password: string | null | undefined;
380
375
  primary_email_verified: boolean | undefined;
381
376
  primary_email_auth_enabled: boolean | undefined;
377
+ display_name: string | null | undefined;
378
+ profile_image_url: string | null | undefined;
382
379
  otp_auth_enabled: boolean | undefined;
383
380
  passkey_auth_enabled: boolean | undefined;
381
+ is_anonymous: boolean | undefined;
384
382
  restricted_by_admin: boolean | undefined;
385
383
  restricted_by_admin_reason: string | null | undefined;
386
384
  restricted_by_admin_private_details: string | null | undefined;
385
+ country_code: string | null | undefined;
387
386
  risk_scores: {
388
387
  sign_up: {
389
388
  bot: number;
390
389
  free_trial_abuse: number;
391
390
  };
392
391
  } | undefined;
392
+ password: string | null | undefined;
393
393
  password_hash: string | undefined;
394
394
  totp_secret_base64: string | null | undefined;
395
395
  } & {
@@ -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
- display_name: string;
471
470
  id: string;
472
- created_at_millis: number;
471
+ display_name: string;
473
472
  profile_image_url: string | null;
473
+ created_at_millis: number;
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
- display_name: string;
562
561
  id: string;
563
- created_at_millis: number;
562
+ display_name: string;
564
563
  profile_image_url: string | null;
564
+ created_at_millis: number;
565
565
  } | null;
566
566
  selected_team_id: string | null;
567
567
  profile_image_url: string | null;
@@ -20,10 +20,10 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
20
20
  client_metadata?: {} | null | undefined;
21
21
  client_read_only_metadata?: {} | null | undefined;
22
22
  server_metadata?: {} | null | undefined;
23
- display_name: string;
24
23
  id: string;
25
- created_at_millis: number;
24
+ display_name: string;
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;
@@ -110,10 +110,10 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
110
110
  client_metadata?: {} | null | undefined;
111
111
  client_read_only_metadata?: {} | null | undefined;
112
112
  server_metadata?: {} | null | undefined;
113
- display_name: string;
114
113
  id: string;
115
- created_at_millis: number;
114
+ display_name: string;
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;
@@ -203,6 +203,9 @@ declare const productPriceSchema: yup$1.ObjectSchema<{
203
203
  CAD: undefined;
204
204
  }, "">;
205
205
  declare const pricesSchema: yup$1.MixedSchema<Record<string, {
206
+ interval?: DayInterval | undefined;
207
+ freeTrial?: DayInterval | undefined;
208
+ serverOnly?: boolean | undefined;
206
209
  USD?: string | undefined;
207
210
  EUR?: string | undefined;
208
211
  GBP?: string | undefined;
@@ -210,9 +213,6 @@ declare const pricesSchema: yup$1.MixedSchema<Record<string, {
210
213
  INR?: string | undefined;
211
214
  AUD?: string | undefined;
212
215
  CAD?: string | undefined;
213
- interval?: DayInterval | undefined;
214
- serverOnly?: boolean | undefined;
215
- freeTrial?: DayInterval | undefined;
216
216
  }>, yup$1.AnyObject, undefined, "">;
217
217
  declare const productSchema: yup$1.ObjectSchema<{
218
218
  displayName: string | undefined;
@@ -223,6 +223,9 @@ declare const productSchema: yup$1.ObjectSchema<{
223
223
  serverOnly: boolean | undefined;
224
224
  stackable: boolean | undefined;
225
225
  prices: Record<string, {
226
+ interval?: DayInterval | undefined;
227
+ freeTrial?: DayInterval | undefined;
228
+ serverOnly?: boolean | undefined;
226
229
  USD?: string | undefined;
227
230
  EUR?: string | undefined;
228
231
  GBP?: string | undefined;
@@ -230,9 +233,6 @@ declare const productSchema: yup$1.ObjectSchema<{
230
233
  INR?: string | undefined;
231
234
  AUD?: string | undefined;
232
235
  CAD?: string | undefined;
233
- interval?: DayInterval | undefined;
234
- serverOnly?: boolean | undefined;
235
- freeTrial?: DayInterval | undefined;
236
236
  }>;
237
237
  includedItems: Record<string, {
238
238
  repeat?: "never" | DayInterval | undefined;
@@ -262,6 +262,9 @@ declare const productSchemaWithMetadata: yup$1.ObjectSchema<{
262
262
  serverOnly: boolean | undefined;
263
263
  stackable: boolean | undefined;
264
264
  prices: Record<string, {
265
+ interval?: DayInterval | undefined;
266
+ freeTrial?: DayInterval | undefined;
267
+ serverOnly?: boolean | undefined;
265
268
  USD?: string | undefined;
266
269
  EUR?: string | undefined;
267
270
  GBP?: string | undefined;
@@ -269,9 +272,6 @@ declare const productSchemaWithMetadata: yup$1.ObjectSchema<{
269
272
  INR?: string | undefined;
270
273
  AUD?: string | undefined;
271
274
  CAD?: string | undefined;
272
- interval?: DayInterval | undefined;
273
- serverOnly?: boolean | undefined;
274
- freeTrial?: DayInterval | undefined;
275
275
  }>;
276
276
  includedItems: Record<string, {
277
277
  repeat?: "never" | DayInterval | undefined;
@@ -303,6 +303,7 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
303
303
  server_only: boolean;
304
304
  stackable: boolean;
305
305
  prices: Record<string, {
306
+ interval?: DayInterval | undefined;
306
307
  USD?: string | undefined;
307
308
  EUR?: string | undefined;
308
309
  GBP?: string | undefined;
@@ -310,7 +311,6 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
310
311
  INR?: string | undefined;
311
312
  AUD?: string | undefined;
312
313
  CAD?: string | undefined;
313
- interval?: DayInterval | undefined;
314
314
  free_trial?: DayInterval | undefined;
315
315
  }>;
316
316
  included_items: Record<string, {
@@ -473,9 +473,9 @@ declare function yupDefinedAndNonEmptyWhen<S extends yup$1.StringSchema>(schema:
473
473
  declare const branchConfigSourceSchema: yup$1.MixedSchema<{
474
474
  workflow_path?: string | undefined;
475
475
  type: "pushed-from-github";
476
+ branch: string;
476
477
  owner: string;
477
478
  repo: string;
478
- branch: string;
479
479
  commit_hash: string;
480
480
  config_file_path: string;
481
481
  } | {
@@ -16,18 +16,18 @@ declare class AccessToken {
16
16
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
17
17
  } | null;
18
18
  branch_id: string;
19
+ name: string | null;
19
20
  sub: string;
21
+ selected_team_id: string | null;
22
+ is_anonymous: boolean;
23
+ is_restricted: boolean;
24
+ requires_totp_mfa: boolean;
20
25
  iat: number;
21
26
  iss: string;
22
27
  aud: string;
23
28
  role: "authenticated";
24
- name: string | null;
25
29
  email_verified: boolean;
26
- selected_team_id: string | null;
27
30
  signed_up_at: number;
28
- is_anonymous: boolean;
29
- is_restricted: boolean;
30
- requires_totp_mfa: boolean;
31
31
  };
32
32
  get expiresAt(): Date;
33
33
  get issuedAt(): Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexclave/shared",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "repository": "https://github.com/hexclave/hexclave",
5
5
  "files": [
6
6
  "README.md",
@@ -840,6 +840,7 @@ export function getSdkSetupPrompt(mainType: "ai-prompt" | "nextjs" | "react" | "
840
840
  - React: \`@hexclave/react\`
841
841
  - TanStack Start: \`@hexclave/tanstack-start\`
842
842
  - Other & vanilla JS: \`@hexclave/js\`
843
+ - Vanilla JS in browser with no bundler: Cannot use npm packages, so use ESM imports with \`https://esm.sh/@hexclave/js\`
843
844
 
844
845
  You can install the correct JavaScript Hexclave SDK into your project by running the following command:
845
846
  ` : deindent`