@hexclave/shared 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  5. package/dist/config/schema.d.ts +165 -165
  6. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  7. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  8. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -2
  9. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  10. package/dist/esm/config/schema.d.ts +165 -165
  11. package/dist/esm/interface/admin-metrics.d.ts +2 -2
  12. package/dist/esm/interface/conversations.d.ts +8 -8
  13. package/dist/esm/interface/crud/current-user.d.ts +7 -7
  14. package/dist/esm/interface/crud/email-outbox.d.ts +246 -246
  15. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  16. package/dist/esm/interface/crud/projects.d.ts +99 -99
  17. package/dist/esm/interface/crud/team-member-profiles.d.ts +14 -14
  18. package/dist/esm/interface/crud/users.d.ts +6 -6
  19. package/dist/esm/interface/webhooks.d.ts +2 -2
  20. package/dist/interface/admin-metrics.d.ts +2 -2
  21. package/dist/interface/conversations.d.ts +8 -8
  22. package/dist/interface/crud/current-user.d.ts +7 -7
  23. package/dist/interface/crud/email-outbox.d.ts +246 -246
  24. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  25. package/dist/interface/crud/projects.d.ts +99 -99
  26. package/dist/interface/crud/team-member-profiles.d.ts +14 -14
  27. package/dist/interface/crud/users.d.ts +6 -6
  28. package/dist/interface/webhooks.d.ts +2 -2
  29. package/package.json +1 -1
  30. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -2
@@ -82,9 +82,9 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
82
82
  type: "user";
83
83
  description: string;
84
84
  id: string;
85
+ created_at_millis: number;
85
86
  expires_at_millis: number | undefined;
86
87
  manually_revoked_at_millis: number | undefined;
87
- created_at_millis: number;
88
88
  is_public: boolean;
89
89
  } & {
90
90
  value: string;
@@ -180,9 +180,9 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
180
180
  team_id: string;
181
181
  description: string;
182
182
  id: string;
183
+ created_at_millis: number;
183
184
  expires_at_millis: number | undefined;
184
185
  manually_revoked_at_millis: number | undefined;
185
- created_at_millis: number;
186
186
  is_public: boolean;
187
187
  } & {
188
188
  value: string;
@@ -56,15 +56,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
56
56
  selected_payments_country: "US" | "OTHER";
57
57
  } | null | undefined;
58
58
  config: {
59
- allow_localhost: boolean;
60
- sign_up_enabled: boolean;
61
- credential_enabled: boolean;
62
- magic_link_enabled: boolean;
63
- passkey_enabled: boolean;
64
- client_team_creation_enabled: boolean;
65
- client_user_deletion_enabled: boolean;
66
- allow_user_api_keys: boolean;
67
- allow_team_api_keys: boolean;
59
+ domains: {
60
+ domain: string;
61
+ handler_path: string;
62
+ }[];
68
63
  oauth_providers: {
69
64
  client_id?: string | undefined;
70
65
  client_secret?: string | undefined;
@@ -75,13 +70,18 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
75
70
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
76
71
  provider_config_id: string;
77
72
  }[];
73
+ allow_localhost: boolean;
74
+ sign_up_enabled: boolean;
75
+ credential_enabled: boolean;
76
+ magic_link_enabled: boolean;
77
+ passkey_enabled: boolean;
78
+ client_team_creation_enabled: boolean;
79
+ client_user_deletion_enabled: boolean;
80
+ allow_user_api_keys: boolean;
81
+ allow_team_api_keys: boolean;
78
82
  enabled_oauth_providers: {
79
83
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
80
84
  }[];
81
- domains: {
82
- domain: string;
83
- handler_path: string;
84
- }[];
85
85
  email_config: {
86
86
  password?: string | undefined;
87
87
  host?: string | undefined;
@@ -158,6 +158,10 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
158
158
  id: string;
159
159
  display_name: string;
160
160
  config: {
161
+ domains: {
162
+ domain: string;
163
+ handler_path: string;
164
+ }[];
161
165
  allow_localhost: boolean;
162
166
  sign_up_enabled: boolean;
163
167
  credential_enabled: boolean;
@@ -170,10 +174,6 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
170
174
  enabled_oauth_providers: {
171
175
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
172
176
  }[];
173
- domains: {
174
- domain: string;
175
- handler_path: string;
176
- }[];
177
177
  };
178
178
  }, yup$1.AnyObject, {
179
179
  id: undefined;
@@ -209,15 +209,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
209
209
  selected_payments_country: "US" | "OTHER";
210
210
  } | null | undefined;
211
211
  config: {
212
- allow_localhost?: boolean | undefined;
213
- sign_up_enabled?: boolean | undefined;
214
- credential_enabled?: boolean | undefined;
215
- magic_link_enabled?: boolean | undefined;
216
- passkey_enabled?: boolean | undefined;
217
- client_team_creation_enabled?: boolean | undefined;
218
- client_user_deletion_enabled?: boolean | undefined;
219
- allow_user_api_keys?: boolean | undefined;
220
- allow_team_api_keys?: boolean | undefined;
212
+ domains?: {
213
+ domain: string;
214
+ handler_path: string;
215
+ }[] | undefined;
221
216
  oauth_providers?: {
222
217
  client_id?: string | undefined;
223
218
  client_secret?: string | undefined;
@@ -227,10 +222,15 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
227
222
  type: "shared" | "standard";
228
223
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
229
224
  }[] | undefined;
230
- domains?: {
231
- domain: string;
232
- handler_path: string;
233
- }[] | undefined;
225
+ allow_localhost?: boolean | undefined;
226
+ sign_up_enabled?: boolean | undefined;
227
+ credential_enabled?: boolean | undefined;
228
+ magic_link_enabled?: boolean | undefined;
229
+ passkey_enabled?: boolean | undefined;
230
+ client_team_creation_enabled?: boolean | undefined;
231
+ client_user_deletion_enabled?: boolean | undefined;
232
+ allow_user_api_keys?: boolean | undefined;
233
+ allow_team_api_keys?: boolean | undefined;
234
234
  email_config?: {
235
235
  password?: string | undefined;
236
236
  host?: string | undefined;
@@ -289,15 +289,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
289
289
  selected_payments_country: "US" | "OTHER";
290
290
  } | null | undefined;
291
291
  config: {
292
- allow_localhost?: boolean | undefined;
293
- sign_up_enabled?: boolean | undefined;
294
- credential_enabled?: boolean | undefined;
295
- magic_link_enabled?: boolean | undefined;
296
- passkey_enabled?: boolean | undefined;
297
- client_team_creation_enabled?: boolean | undefined;
298
- client_user_deletion_enabled?: boolean | undefined;
299
- allow_user_api_keys?: boolean | undefined;
300
- allow_team_api_keys?: boolean | undefined;
292
+ domains?: {
293
+ domain: string;
294
+ handler_path: string;
295
+ }[] | undefined;
301
296
  oauth_providers?: {
302
297
  client_id?: string | undefined;
303
298
  client_secret?: string | undefined;
@@ -307,10 +302,15 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
307
302
  type: "shared" | "standard";
308
303
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
309
304
  }[] | undefined;
310
- domains?: {
311
- domain: string;
312
- handler_path: string;
313
- }[] | undefined;
305
+ allow_localhost?: boolean | undefined;
306
+ sign_up_enabled?: boolean | undefined;
307
+ credential_enabled?: boolean | undefined;
308
+ magic_link_enabled?: boolean | undefined;
309
+ passkey_enabled?: boolean | undefined;
310
+ client_team_creation_enabled?: boolean | undefined;
311
+ client_user_deletion_enabled?: boolean | undefined;
312
+ allow_user_api_keys?: boolean | undefined;
313
+ allow_team_api_keys?: boolean | undefined;
314
314
  email_config?: {
315
315
  password?: string | undefined;
316
316
  host?: string | undefined;
@@ -364,6 +364,10 @@ declare const clientProjectsCrud: CrudSchemaFromOptions<{
364
364
  id: string;
365
365
  display_name: string;
366
366
  config: {
367
+ domains: {
368
+ domain: string;
369
+ handler_path: string;
370
+ }[];
367
371
  allow_localhost: boolean;
368
372
  sign_up_enabled: boolean;
369
373
  credential_enabled: boolean;
@@ -376,10 +380,6 @@ declare const clientProjectsCrud: CrudSchemaFromOptions<{
376
380
  enabled_oauth_providers: {
377
381
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
378
382
  }[];
379
- domains: {
380
- domain: string;
381
- handler_path: string;
382
- }[];
383
383
  };
384
384
  }, yup$1.AnyObject, {
385
385
  id: undefined;
@@ -429,15 +429,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
429
429
  selected_payments_country: "US" | "OTHER";
430
430
  } | null | undefined;
431
431
  config: {
432
- allow_localhost: boolean;
433
- sign_up_enabled: boolean;
434
- credential_enabled: boolean;
435
- magic_link_enabled: boolean;
436
- passkey_enabled: boolean;
437
- client_team_creation_enabled: boolean;
438
- client_user_deletion_enabled: boolean;
439
- allow_user_api_keys: boolean;
440
- allow_team_api_keys: boolean;
432
+ domains: {
433
+ domain: string;
434
+ handler_path: string;
435
+ }[];
441
436
  oauth_providers: {
442
437
  client_id?: string | undefined;
443
438
  client_secret?: string | undefined;
@@ -448,13 +443,18 @@ declare const projectsCrud: CrudSchemaFromOptions<{
448
443
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
449
444
  provider_config_id: string;
450
445
  }[];
446
+ allow_localhost: boolean;
447
+ sign_up_enabled: boolean;
448
+ credential_enabled: boolean;
449
+ magic_link_enabled: boolean;
450
+ passkey_enabled: boolean;
451
+ client_team_creation_enabled: boolean;
452
+ client_user_deletion_enabled: boolean;
453
+ allow_user_api_keys: boolean;
454
+ allow_team_api_keys: boolean;
451
455
  enabled_oauth_providers: {
452
456
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
453
457
  }[];
454
- domains: {
455
- domain: string;
456
- handler_path: string;
457
- }[];
458
458
  email_config: {
459
459
  password?: string | undefined;
460
460
  host?: string | undefined;
@@ -544,15 +544,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
544
544
  selected_payments_country: "US" | "OTHER";
545
545
  } | null | undefined;
546
546
  config: {
547
- allow_localhost?: boolean | undefined;
548
- sign_up_enabled?: boolean | undefined;
549
- credential_enabled?: boolean | undefined;
550
- magic_link_enabled?: boolean | undefined;
551
- passkey_enabled?: boolean | undefined;
552
- client_team_creation_enabled?: boolean | undefined;
553
- client_user_deletion_enabled?: boolean | undefined;
554
- allow_user_api_keys?: boolean | undefined;
555
- allow_team_api_keys?: boolean | undefined;
547
+ domains?: {
548
+ domain: string;
549
+ handler_path: string;
550
+ }[] | undefined;
556
551
  oauth_providers?: {
557
552
  client_id?: string | undefined;
558
553
  client_secret?: string | undefined;
@@ -562,10 +557,15 @@ declare const projectsCrud: CrudSchemaFromOptions<{
562
557
  type: "shared" | "standard";
563
558
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
564
559
  }[] | undefined;
565
- domains?: {
566
- domain: string;
567
- handler_path: string;
568
- }[] | undefined;
560
+ allow_localhost?: boolean | undefined;
561
+ sign_up_enabled?: boolean | undefined;
562
+ credential_enabled?: boolean | undefined;
563
+ magic_link_enabled?: boolean | undefined;
564
+ passkey_enabled?: boolean | undefined;
565
+ client_team_creation_enabled?: boolean | undefined;
566
+ client_user_deletion_enabled?: boolean | undefined;
567
+ allow_user_api_keys?: boolean | undefined;
568
+ allow_team_api_keys?: boolean | undefined;
569
569
  email_config?: {
570
570
  password?: string | undefined;
571
571
  host?: string | undefined;
@@ -652,15 +652,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
652
652
  selected_payments_country: "US" | "OTHER";
653
653
  } | null | undefined;
654
654
  config: {
655
- allow_localhost: boolean;
656
- sign_up_enabled: boolean;
657
- credential_enabled: boolean;
658
- magic_link_enabled: boolean;
659
- passkey_enabled: boolean;
660
- client_team_creation_enabled: boolean;
661
- client_user_deletion_enabled: boolean;
662
- allow_user_api_keys: boolean;
663
- allow_team_api_keys: boolean;
655
+ domains: {
656
+ domain: string;
657
+ handler_path: string;
658
+ }[];
664
659
  oauth_providers: {
665
660
  client_id?: string | undefined;
666
661
  client_secret?: string | undefined;
@@ -671,13 +666,18 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
671
666
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
672
667
  provider_config_id: string;
673
668
  }[];
669
+ allow_localhost: boolean;
670
+ sign_up_enabled: boolean;
671
+ credential_enabled: boolean;
672
+ magic_link_enabled: boolean;
673
+ passkey_enabled: boolean;
674
+ client_team_creation_enabled: boolean;
675
+ client_user_deletion_enabled: boolean;
676
+ allow_user_api_keys: boolean;
677
+ allow_team_api_keys: boolean;
674
678
  enabled_oauth_providers: {
675
679
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
676
680
  }[];
677
- domains: {
678
- domain: string;
679
- handler_path: string;
680
- }[];
681
681
  email_config: {
682
682
  password?: string | undefined;
683
683
  host?: string | undefined;
@@ -767,15 +767,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
767
767
  selected_payments_country: "US" | "OTHER";
768
768
  } | null | undefined;
769
769
  config: {
770
- allow_localhost?: boolean | undefined;
771
- sign_up_enabled?: boolean | undefined;
772
- credential_enabled?: boolean | undefined;
773
- magic_link_enabled?: boolean | undefined;
774
- passkey_enabled?: boolean | undefined;
775
- client_team_creation_enabled?: boolean | undefined;
776
- client_user_deletion_enabled?: boolean | undefined;
777
- allow_user_api_keys?: boolean | undefined;
778
- allow_team_api_keys?: boolean | undefined;
770
+ domains?: {
771
+ domain: string;
772
+ handler_path: string;
773
+ }[] | undefined;
779
774
  oauth_providers?: {
780
775
  client_id?: string | undefined;
781
776
  client_secret?: string | undefined;
@@ -785,10 +780,15 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
785
780
  type: "shared" | "standard";
786
781
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
787
782
  }[] | undefined;
788
- domains?: {
789
- domain: string;
790
- handler_path: string;
791
- }[] | undefined;
783
+ allow_localhost?: boolean | undefined;
784
+ sign_up_enabled?: boolean | undefined;
785
+ credential_enabled?: boolean | undefined;
786
+ magic_link_enabled?: boolean | undefined;
787
+ passkey_enabled?: boolean | undefined;
788
+ client_team_creation_enabled?: boolean | undefined;
789
+ client_user_deletion_enabled?: boolean | undefined;
790
+ allow_user_api_keys?: boolean | undefined;
791
+ allow_team_api_keys?: boolean | undefined;
792
792
  email_config?: {
793
793
  password?: string | undefined;
794
794
  host?: string | undefined;
@@ -33,22 +33,17 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
33
33
  is_anonymous: boolean;
34
34
  is_restricted: boolean;
35
35
  requires_totp_mfa: boolean;
36
- profile_image_url: string | null;
37
- oauth_providers: {
38
- email?: string | null | undefined;
39
- id: string;
40
- account_id: string;
41
- }[];
42
36
  primary_email_verified: boolean;
43
37
  primary_email_auth_enabled: boolean;
38
+ profile_image_url: string | null;
44
39
  selected_team: {
45
40
  client_metadata?: {} | null | undefined;
46
41
  client_read_only_metadata?: {} | null | undefined;
47
42
  server_metadata?: {} | null | undefined;
48
43
  display_name: string;
49
44
  id: string;
50
- created_at_millis: number;
51
45
  profile_image_url: string | null;
46
+ created_at_millis: number;
52
47
  } | null;
53
48
  signed_up_at_millis: number;
54
49
  has_password: boolean;
@@ -65,6 +60,11 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
65
60
  free_trial_abuse: number;
66
61
  };
67
62
  };
63
+ oauth_providers: {
64
+ email?: string | null | undefined;
65
+ id: string;
66
+ account_id: string;
67
+ }[];
68
68
  auth_with_email: boolean;
69
69
  };
70
70
  }, yup$1.AnyObject, {
@@ -156,22 +156,17 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
156
156
  is_anonymous: boolean;
157
157
  is_restricted: boolean;
158
158
  requires_totp_mfa: boolean;
159
- profile_image_url: string | null;
160
- oauth_providers: {
161
- email?: string | null | undefined;
162
- id: string;
163
- account_id: string;
164
- }[];
165
159
  primary_email_verified: boolean;
166
160
  primary_email_auth_enabled: boolean;
161
+ profile_image_url: string | null;
167
162
  selected_team: {
168
163
  client_metadata?: {} | null | undefined;
169
164
  client_read_only_metadata?: {} | null | undefined;
170
165
  server_metadata?: {} | null | undefined;
171
166
  display_name: string;
172
167
  id: string;
173
- created_at_millis: number;
174
168
  profile_image_url: string | null;
169
+ created_at_millis: number;
175
170
  } | null;
176
171
  signed_up_at_millis: number;
177
172
  has_password: boolean;
@@ -188,6 +183,11 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
188
183
  free_trial_abuse: number;
189
184
  };
190
185
  };
186
+ oauth_providers: {
187
+ email?: string | null | undefined;
188
+ id: string;
189
+ account_id: string;
190
+ }[];
191
191
  auth_with_email: boolean;
192
192
  };
193
193
  }, yup$1.AnyObject, {
@@ -82,8 +82,8 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
82
82
  server_metadata?: {} | null | undefined;
83
83
  display_name: string;
84
84
  id: string;
85
- created_at_millis: number;
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;
@@ -169,9 +169,9 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
169
169
  server_metadata: {} | null | undefined;
170
170
  is_anonymous: boolean | undefined;
171
171
  password: string | null | undefined;
172
- profile_image_url: string | null | undefined;
173
172
  primary_email_verified: boolean | undefined;
174
173
  primary_email_auth_enabled: boolean | undefined;
174
+ profile_image_url: string | null | undefined;
175
175
  otp_auth_enabled: boolean | undefined;
176
176
  passkey_auth_enabled: boolean | undefined;
177
177
  restricted_by_admin: boolean | undefined;
@@ -235,8 +235,8 @@ declare const usersCrud: CrudSchemaFromOptions<{
235
235
  server_metadata?: {} | null | undefined;
236
236
  display_name: string;
237
237
  id: string;
238
- created_at_millis: number;
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;
@@ -375,9 +375,9 @@ declare const usersCrud: CrudSchemaFromOptions<{
375
375
  server_metadata: {} | null | undefined;
376
376
  is_anonymous: boolean | undefined;
377
377
  password: string | null | undefined;
378
- profile_image_url: string | null | undefined;
379
378
  primary_email_verified: boolean | undefined;
380
379
  primary_email_auth_enabled: boolean | undefined;
380
+ profile_image_url: string | null | undefined;
381
381
  otp_auth_enabled: boolean | undefined;
382
382
  passkey_auth_enabled: boolean | undefined;
383
383
  restricted_by_admin: boolean | undefined;
@@ -469,8 +469,8 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
469
469
  server_metadata?: {} | null | undefined;
470
470
  display_name: string;
471
471
  id: string;
472
- created_at_millis: number;
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;
@@ -560,8 +560,8 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
560
560
  server_metadata?: {} | null | undefined;
561
561
  display_name: string;
562
562
  id: string;
563
- created_at_millis: number;
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;
@@ -22,8 +22,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
22
22
  server_metadata?: {} | null | undefined;
23
23
  display_name: string;
24
24
  id: string;
25
- created_at_millis: number;
26
25
  profile_image_url: string | null;
26
+ created_at_millis: number;
27
27
  } | null;
28
28
  selected_team_id: string | null;
29
29
  profile_image_url: string | null;
@@ -112,8 +112,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
112
112
  server_metadata?: {} | null | undefined;
113
113
  display_name: string;
114
114
  id: string;
115
- created_at_millis: number;
116
115
  profile_image_url: string | null;
116
+ created_at_millis: number;
117
117
  } | null;
118
118
  selected_team_id: string | null;
119
119
  profile_image_url: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexclave/shared",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "repository": "https://github.com/hexclave/hexclave",
5
5
  "files": [
6
6
  "README.md",
@@ -275,7 +275,7 @@ export const cliSetupPrompt = deindent`
275
275
  </Step>
276
276
 
277
277
  <Step title="Prompt the user to log in">
278
- Import and call \`prompt_cli_login\`. It opens the browser, lets the user authenticate, and returns a refresh token.
278
+ Import and call \`prompt_cli_login\`. It opens the browser, lets the user authenticate, and returns a refresh token. The project ID is enough for most projects; only pass \`publishable_client_key\` if the project has \`requirePublishableClientKey\` enabled.
279
279
 
280
280
  \`\`\`py main.py
281
281
  from hexclave_cli_template import prompt_cli_login
@@ -283,7 +283,6 @@ export const cliSetupPrompt = deindent`
283
283
  refresh_token = prompt_cli_login(
284
284
  app_url="https://your-app-url.example.com",
285
285
  project_id="your-project-id-here",
286
- publishable_client_key="your-publishable-client-key-here",
287
286
  )
288
287
 
289
288
  if refresh_token is None: