@hexclave/shared 1.0.66 → 1.0.67

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 (33) hide show
  1. package/dist/{admin-interface-CWBkUuzk.d.ts → admin-interface-0fhNIT4c.d.ts} +3 -3
  2. package/dist/{admin-interface-CWBkUuzk.d.ts.map → admin-interface-0fhNIT4c.d.ts.map} +1 -1
  3. package/dist/ai/llms/llms.js +1 -1
  4. package/dist/ai/llms/llms.js.map +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +2 -3
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  8. package/dist/{client-interface-DCTCrVW8.d.ts → client-interface-DvkciaL0.d.ts} +2 -2
  9. package/dist/{client-interface-DCTCrVW8.d.ts.map → client-interface-DvkciaL0.d.ts.map} +1 -1
  10. package/dist/{email-outbox-B1wmVPRG.d.ts → email-outbox-CqzwInBL.d.ts} +91 -91
  11. package/dist/{email-outbox-B1wmVPRG.d.ts.map → email-outbox-CqzwInBL.d.ts.map} +1 -1
  12. package/dist/esm/ai/llms/llms.js +1 -1
  13. package/dist/esm/ai/llms/llms.js.map +1 -1
  14. package/dist/esm/ai/unified-prompts/reminders.js +2 -3
  15. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  16. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
  17. package/dist/esm/interface/conversations.d.ts +31 -31
  18. package/dist/esm/interface/crud/email-outbox.d.ts +90 -90
  19. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  20. package/dist/index.d.ts +3 -3
  21. package/dist/interface/admin-interface.d.ts +1 -1
  22. package/dist/interface/client-interface.d.ts +1 -1
  23. package/dist/interface/conversations.d.ts +31 -31
  24. package/dist/interface/crud/email-outbox.d.ts +1 -1
  25. package/dist/interface/crud/invoices.d.ts +1 -1
  26. package/dist/interface/server-interface.d.ts +1 -1
  27. package/dist/{invoices-U65KzAZX.d.ts → invoices-CHo9YKbI.d.ts} +3 -3
  28. package/dist/{invoices-U65KzAZX.d.ts.map → invoices-CHo9YKbI.d.ts.map} +1 -1
  29. package/dist/{server-interface-C2PILRLO.d.ts → server-interface-Ra_vIHP4.d.ts} +2 -2
  30. package/dist/{server-interface-C2PILRLO.d.ts.map → server-interface-Ra_vIHP4.d.ts.map} +1 -1
  31. package/package.json +1 -1
  32. package/src/ai/llms/llms.ts +1 -1
  33. package/src/ai/unified-prompts/reminders.ts +2 -3
@@ -5,9 +5,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
5
5
  status: "paused";
6
6
  id: string;
7
7
  created_at_millis: number;
8
- updated_at_millis: number;
9
- tsx_source: string;
10
- theme_id: string | null;
11
8
  to: {
12
9
  user_id: string;
13
10
  type: "user-primary-email";
@@ -19,6 +16,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
19
16
  type: "custom-emails";
20
17
  emails: string[];
21
18
  };
19
+ updated_at_millis: number;
20
+ tsx_source: string;
21
+ theme_id: string | null;
22
22
  variables: Record<string, {} | null>;
23
23
  skip_deliverability_check: boolean;
24
24
  scheduled_at_millis: number;
@@ -43,9 +43,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
43
43
  status: "preparing";
44
44
  id: string;
45
45
  created_at_millis: number;
46
- updated_at_millis: number;
47
- tsx_source: string;
48
- theme_id: string | null;
49
46
  to: {
50
47
  user_id: string;
51
48
  type: "user-primary-email";
@@ -57,6 +54,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
57
54
  type: "custom-emails";
58
55
  emails: string[];
59
56
  };
57
+ updated_at_millis: number;
58
+ tsx_source: string;
59
+ theme_id: string | null;
60
60
  variables: Record<string, {} | null>;
61
61
  skip_deliverability_check: boolean;
62
62
  scheduled_at_millis: number;
@@ -81,9 +81,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
81
81
  status: "rendering";
82
82
  id: string;
83
83
  created_at_millis: number;
84
- updated_at_millis: number;
85
- tsx_source: string;
86
- theme_id: string | null;
87
84
  to: {
88
85
  user_id: string;
89
86
  type: "user-primary-email";
@@ -95,6 +92,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
95
92
  type: "custom-emails";
96
93
  emails: string[];
97
94
  };
95
+ updated_at_millis: number;
96
+ tsx_source: string;
97
+ theme_id: string | null;
98
98
  variables: Record<string, {} | null>;
99
99
  skip_deliverability_check: boolean;
100
100
  scheduled_at_millis: number;
@@ -120,9 +120,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
120
120
  status: "render-error";
121
121
  id: string;
122
122
  created_at_millis: number;
123
- updated_at_millis: number;
124
- tsx_source: string;
125
- theme_id: string | null;
126
123
  to: {
127
124
  user_id: string;
128
125
  type: "user-primary-email";
@@ -134,6 +131,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
134
131
  type: "custom-emails";
135
132
  emails: string[];
136
133
  };
134
+ updated_at_millis: number;
135
+ tsx_source: string;
136
+ theme_id: string | null;
137
137
  variables: Record<string, {} | null>;
138
138
  skip_deliverability_check: boolean;
139
139
  scheduled_at_millis: number;
@@ -164,9 +164,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
164
164
  created_at_millis: number;
165
165
  html: string | null;
166
166
  text: string | null;
167
- updated_at_millis: number;
168
- tsx_source: string;
169
- theme_id: string | null;
170
167
  to: {
171
168
  user_id: string;
172
169
  type: "user-primary-email";
@@ -178,6 +175,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
178
175
  type: "custom-emails";
179
176
  emails: string[];
180
177
  };
178
+ updated_at_millis: number;
179
+ tsx_source: string;
180
+ theme_id: string | null;
181
181
  variables: Record<string, {} | null>;
182
182
  skip_deliverability_check: boolean;
183
183
  scheduled_at_millis: number;
@@ -210,9 +210,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
210
210
  created_at_millis: number;
211
211
  html: string | null;
212
212
  text: string | null;
213
- updated_at_millis: number;
214
- tsx_source: string;
215
- theme_id: string | null;
216
213
  to: {
217
214
  user_id: string;
218
215
  type: "user-primary-email";
@@ -224,6 +221,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
224
221
  type: "custom-emails";
225
222
  emails: string[];
226
223
  };
224
+ updated_at_millis: number;
225
+ tsx_source: string;
226
+ theme_id: string | null;
227
227
  variables: Record<string, {} | null>;
228
228
  skip_deliverability_check: boolean;
229
229
  scheduled_at_millis: number;
@@ -256,9 +256,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
256
256
  created_at_millis: number;
257
257
  html: string | null;
258
258
  text: string | null;
259
- updated_at_millis: number;
260
- tsx_source: string;
261
- theme_id: string | null;
262
259
  to: {
263
260
  user_id: string;
264
261
  type: "user-primary-email";
@@ -270,6 +267,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
270
267
  type: "custom-emails";
271
268
  emails: string[];
272
269
  };
270
+ updated_at_millis: number;
271
+ tsx_source: string;
272
+ theme_id: string | null;
273
273
  variables: Record<string, {} | null>;
274
274
  skip_deliverability_check: boolean;
275
275
  scheduled_at_millis: number;
@@ -303,9 +303,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
303
303
  created_at_millis: number;
304
304
  html: string | null;
305
305
  text: string | null;
306
- updated_at_millis: number;
307
- tsx_source: string;
308
- theme_id: string | null;
309
306
  to: {
310
307
  user_id: string;
311
308
  type: "user-primary-email";
@@ -317,6 +314,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
317
314
  type: "custom-emails";
318
315
  emails: string[];
319
316
  };
317
+ updated_at_millis: number;
318
+ tsx_source: string;
319
+ theme_id: string | null;
320
320
  variables: Record<string, {} | null>;
321
321
  skip_deliverability_check: boolean;
322
322
  scheduled_at_millis: number;
@@ -358,9 +358,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
358
358
  status: "skipped";
359
359
  id: string;
360
360
  created_at_millis: number;
361
- updated_at_millis: number;
362
- tsx_source: string;
363
- theme_id: string | null;
364
361
  to: {
365
362
  user_id: string;
366
363
  type: "user-primary-email";
@@ -372,6 +369,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
372
369
  type: "custom-emails";
373
370
  emails: string[];
374
371
  };
372
+ updated_at_millis: number;
373
+ tsx_source: string;
374
+ theme_id: string | null;
375
375
  variables: Record<string, {} | null>;
376
376
  skip_deliverability_check: boolean;
377
377
  scheduled_at_millis: number;
@@ -402,9 +402,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
402
402
  created_at_millis: number;
403
403
  html: string | null;
404
404
  text: string | null;
405
- updated_at_millis: number;
406
- tsx_source: string;
407
- theme_id: string | null;
408
405
  to: {
409
406
  user_id: string;
410
407
  type: "user-primary-email";
@@ -416,6 +413,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
416
413
  type: "custom-emails";
417
414
  emails: string[];
418
415
  };
416
+ updated_at_millis: number;
417
+ tsx_source: string;
418
+ theme_id: string | null;
419
419
  variables: Record<string, {} | null>;
420
420
  skip_deliverability_check: boolean;
421
421
  scheduled_at_millis: number;
@@ -450,9 +450,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
450
450
  created_at_millis: number;
451
451
  html: string | null;
452
452
  text: string | null;
453
- updated_at_millis: number;
454
- tsx_source: string;
455
- theme_id: string | null;
456
453
  to: {
457
454
  user_id: string;
458
455
  type: "user-primary-email";
@@ -464,6 +461,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
464
461
  type: "custom-emails";
465
462
  emails: string[];
466
463
  };
464
+ updated_at_millis: number;
465
+ tsx_source: string;
466
+ theme_id: string | null;
467
467
  variables: Record<string, {} | null>;
468
468
  skip_deliverability_check: boolean;
469
469
  scheduled_at_millis: number;
@@ -498,9 +498,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
498
498
  created_at_millis: number;
499
499
  html: string | null;
500
500
  text: string | null;
501
- updated_at_millis: number;
502
- tsx_source: string;
503
- theme_id: string | null;
504
501
  to: {
505
502
  user_id: string;
506
503
  type: "user-primary-email";
@@ -512,6 +509,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
512
509
  type: "custom-emails";
513
510
  emails: string[];
514
511
  };
512
+ updated_at_millis: number;
513
+ tsx_source: string;
514
+ theme_id: string | null;
515
515
  variables: Record<string, {} | null>;
516
516
  skip_deliverability_check: boolean;
517
517
  scheduled_at_millis: number;
@@ -547,9 +547,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
547
547
  created_at_millis: number;
548
548
  html: string | null;
549
549
  text: string | null;
550
- updated_at_millis: number;
551
- tsx_source: string;
552
- theme_id: string | null;
553
550
  to: {
554
551
  user_id: string;
555
552
  type: "user-primary-email";
@@ -561,6 +558,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
561
558
  type: "custom-emails";
562
559
  emails: string[];
563
560
  };
561
+ updated_at_millis: number;
562
+ tsx_source: string;
563
+ theme_id: string | null;
564
564
  variables: Record<string, {} | null>;
565
565
  skip_deliverability_check: boolean;
566
566
  scheduled_at_millis: number;
@@ -597,9 +597,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
597
597
  created_at_millis: number;
598
598
  html: string | null;
599
599
  text: string | null;
600
- updated_at_millis: number;
601
- tsx_source: string;
602
- theme_id: string | null;
603
600
  to: {
604
601
  user_id: string;
605
602
  type: "user-primary-email";
@@ -611,6 +608,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
611
608
  type: "custom-emails";
612
609
  emails: string[];
613
610
  };
611
+ updated_at_millis: number;
612
+ tsx_source: string;
613
+ theme_id: string | null;
614
614
  variables: Record<string, {} | null>;
615
615
  skip_deliverability_check: boolean;
616
616
  scheduled_at_millis: number;
@@ -647,9 +647,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
647
647
  created_at_millis: number;
648
648
  html: string | null;
649
649
  text: string | null;
650
- updated_at_millis: number;
651
- tsx_source: string;
652
- theme_id: string | null;
653
650
  to: {
654
651
  user_id: string;
655
652
  type: "user-primary-email";
@@ -661,6 +658,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
661
658
  type: "custom-emails";
662
659
  emails: string[];
663
660
  };
661
+ updated_at_millis: number;
662
+ tsx_source: string;
663
+ theme_id: string | null;
664
664
  variables: Record<string, {} | null>;
665
665
  skip_deliverability_check: boolean;
666
666
  scheduled_at_millis: number;
@@ -725,9 +725,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
725
725
  status: "paused";
726
726
  id: string;
727
727
  created_at_millis: number;
728
- updated_at_millis: number;
729
- tsx_source: string;
730
- theme_id: string | null;
731
728
  to: {
732
729
  user_id: string;
733
730
  type: "user-primary-email";
@@ -739,6 +736,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
739
736
  type: "custom-emails";
740
737
  emails: string[];
741
738
  };
739
+ updated_at_millis: number;
740
+ tsx_source: string;
741
+ theme_id: string | null;
742
742
  variables: Record<string, {} | null>;
743
743
  skip_deliverability_check: boolean;
744
744
  scheduled_at_millis: number;
@@ -763,9 +763,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
763
763
  status: "preparing";
764
764
  id: string;
765
765
  created_at_millis: number;
766
- updated_at_millis: number;
767
- tsx_source: string;
768
- theme_id: string | null;
769
766
  to: {
770
767
  user_id: string;
771
768
  type: "user-primary-email";
@@ -777,6 +774,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
777
774
  type: "custom-emails";
778
775
  emails: string[];
779
776
  };
777
+ updated_at_millis: number;
778
+ tsx_source: string;
779
+ theme_id: string | null;
780
780
  variables: Record<string, {} | null>;
781
781
  skip_deliverability_check: boolean;
782
782
  scheduled_at_millis: number;
@@ -801,9 +801,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
801
801
  status: "rendering";
802
802
  id: string;
803
803
  created_at_millis: number;
804
- updated_at_millis: number;
805
- tsx_source: string;
806
- theme_id: string | null;
807
804
  to: {
808
805
  user_id: string;
809
806
  type: "user-primary-email";
@@ -815,6 +812,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
815
812
  type: "custom-emails";
816
813
  emails: string[];
817
814
  };
815
+ updated_at_millis: number;
816
+ tsx_source: string;
817
+ theme_id: string | null;
818
818
  variables: Record<string, {} | null>;
819
819
  skip_deliverability_check: boolean;
820
820
  scheduled_at_millis: number;
@@ -840,9 +840,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
840
840
  status: "render-error";
841
841
  id: string;
842
842
  created_at_millis: number;
843
- updated_at_millis: number;
844
- tsx_source: string;
845
- theme_id: string | null;
846
843
  to: {
847
844
  user_id: string;
848
845
  type: "user-primary-email";
@@ -854,6 +851,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
854
851
  type: "custom-emails";
855
852
  emails: string[];
856
853
  };
854
+ updated_at_millis: number;
855
+ tsx_source: string;
856
+ theme_id: string | null;
857
857
  variables: Record<string, {} | null>;
858
858
  skip_deliverability_check: boolean;
859
859
  scheduled_at_millis: number;
@@ -884,9 +884,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
884
884
  created_at_millis: number;
885
885
  html: string | null;
886
886
  text: string | null;
887
- updated_at_millis: number;
888
- tsx_source: string;
889
- theme_id: string | null;
890
887
  to: {
891
888
  user_id: string;
892
889
  type: "user-primary-email";
@@ -898,6 +895,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
898
895
  type: "custom-emails";
899
896
  emails: string[];
900
897
  };
898
+ updated_at_millis: number;
899
+ tsx_source: string;
900
+ theme_id: string | null;
901
901
  variables: Record<string, {} | null>;
902
902
  skip_deliverability_check: boolean;
903
903
  scheduled_at_millis: number;
@@ -930,9 +930,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
930
930
  created_at_millis: number;
931
931
  html: string | null;
932
932
  text: string | null;
933
- updated_at_millis: number;
934
- tsx_source: string;
935
- theme_id: string | null;
936
933
  to: {
937
934
  user_id: string;
938
935
  type: "user-primary-email";
@@ -944,6 +941,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
944
941
  type: "custom-emails";
945
942
  emails: string[];
946
943
  };
944
+ updated_at_millis: number;
945
+ tsx_source: string;
946
+ theme_id: string | null;
947
947
  variables: Record<string, {} | null>;
948
948
  skip_deliverability_check: boolean;
949
949
  scheduled_at_millis: number;
@@ -976,9 +976,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
976
976
  created_at_millis: number;
977
977
  html: string | null;
978
978
  text: string | null;
979
- updated_at_millis: number;
980
- tsx_source: string;
981
- theme_id: string | null;
982
979
  to: {
983
980
  user_id: string;
984
981
  type: "user-primary-email";
@@ -990,6 +987,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
990
987
  type: "custom-emails";
991
988
  emails: string[];
992
989
  };
990
+ updated_at_millis: number;
991
+ tsx_source: string;
992
+ theme_id: string | null;
993
993
  variables: Record<string, {} | null>;
994
994
  skip_deliverability_check: boolean;
995
995
  scheduled_at_millis: number;
@@ -1023,9 +1023,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1023
1023
  created_at_millis: number;
1024
1024
  html: string | null;
1025
1025
  text: string | null;
1026
- updated_at_millis: number;
1027
- tsx_source: string;
1028
- theme_id: string | null;
1029
1026
  to: {
1030
1027
  user_id: string;
1031
1028
  type: "user-primary-email";
@@ -1037,6 +1034,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1037
1034
  type: "custom-emails";
1038
1035
  emails: string[];
1039
1036
  };
1037
+ updated_at_millis: number;
1038
+ tsx_source: string;
1039
+ theme_id: string | null;
1040
1040
  variables: Record<string, {} | null>;
1041
1041
  skip_deliverability_check: boolean;
1042
1042
  scheduled_at_millis: number;
@@ -1078,9 +1078,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1078
1078
  status: "skipped";
1079
1079
  id: string;
1080
1080
  created_at_millis: number;
1081
- updated_at_millis: number;
1082
- tsx_source: string;
1083
- theme_id: string | null;
1084
1081
  to: {
1085
1082
  user_id: string;
1086
1083
  type: "user-primary-email";
@@ -1092,6 +1089,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1092
1089
  type: "custom-emails";
1093
1090
  emails: string[];
1094
1091
  };
1092
+ updated_at_millis: number;
1093
+ tsx_source: string;
1094
+ theme_id: string | null;
1095
1095
  variables: Record<string, {} | null>;
1096
1096
  skip_deliverability_check: boolean;
1097
1097
  scheduled_at_millis: number;
@@ -1122,9 +1122,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1122
1122
  created_at_millis: number;
1123
1123
  html: string | null;
1124
1124
  text: string | null;
1125
- updated_at_millis: number;
1126
- tsx_source: string;
1127
- theme_id: string | null;
1128
1125
  to: {
1129
1126
  user_id: string;
1130
1127
  type: "user-primary-email";
@@ -1136,6 +1133,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1136
1133
  type: "custom-emails";
1137
1134
  emails: string[];
1138
1135
  };
1136
+ updated_at_millis: number;
1137
+ tsx_source: string;
1138
+ theme_id: string | null;
1139
1139
  variables: Record<string, {} | null>;
1140
1140
  skip_deliverability_check: boolean;
1141
1141
  scheduled_at_millis: number;
@@ -1170,9 +1170,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1170
1170
  created_at_millis: number;
1171
1171
  html: string | null;
1172
1172
  text: string | null;
1173
- updated_at_millis: number;
1174
- tsx_source: string;
1175
- theme_id: string | null;
1176
1173
  to: {
1177
1174
  user_id: string;
1178
1175
  type: "user-primary-email";
@@ -1184,6 +1181,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1184
1181
  type: "custom-emails";
1185
1182
  emails: string[];
1186
1183
  };
1184
+ updated_at_millis: number;
1185
+ tsx_source: string;
1186
+ theme_id: string | null;
1187
1187
  variables: Record<string, {} | null>;
1188
1188
  skip_deliverability_check: boolean;
1189
1189
  scheduled_at_millis: number;
@@ -1218,9 +1218,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1218
1218
  created_at_millis: number;
1219
1219
  html: string | null;
1220
1220
  text: string | null;
1221
- updated_at_millis: number;
1222
- tsx_source: string;
1223
- theme_id: string | null;
1224
1221
  to: {
1225
1222
  user_id: string;
1226
1223
  type: "user-primary-email";
@@ -1232,6 +1229,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1232
1229
  type: "custom-emails";
1233
1230
  emails: string[];
1234
1231
  };
1232
+ updated_at_millis: number;
1233
+ tsx_source: string;
1234
+ theme_id: string | null;
1235
1235
  variables: Record<string, {} | null>;
1236
1236
  skip_deliverability_check: boolean;
1237
1237
  scheduled_at_millis: number;
@@ -1267,9 +1267,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1267
1267
  created_at_millis: number;
1268
1268
  html: string | null;
1269
1269
  text: string | null;
1270
- updated_at_millis: number;
1271
- tsx_source: string;
1272
- theme_id: string | null;
1273
1270
  to: {
1274
1271
  user_id: string;
1275
1272
  type: "user-primary-email";
@@ -1281,6 +1278,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1281
1278
  type: "custom-emails";
1282
1279
  emails: string[];
1283
1280
  };
1281
+ updated_at_millis: number;
1282
+ tsx_source: string;
1283
+ theme_id: string | null;
1284
1284
  variables: Record<string, {} | null>;
1285
1285
  skip_deliverability_check: boolean;
1286
1286
  scheduled_at_millis: number;
@@ -1317,9 +1317,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1317
1317
  created_at_millis: number;
1318
1318
  html: string | null;
1319
1319
  text: string | null;
1320
- updated_at_millis: number;
1321
- tsx_source: string;
1322
- theme_id: string | null;
1323
1320
  to: {
1324
1321
  user_id: string;
1325
1322
  type: "user-primary-email";
@@ -1331,6 +1328,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1331
1328
  type: "custom-emails";
1332
1329
  emails: string[];
1333
1330
  };
1331
+ updated_at_millis: number;
1332
+ tsx_source: string;
1333
+ theme_id: string | null;
1334
1334
  variables: Record<string, {} | null>;
1335
1335
  skip_deliverability_check: boolean;
1336
1336
  scheduled_at_millis: number;
@@ -1367,9 +1367,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1367
1367
  created_at_millis: number;
1368
1368
  html: string | null;
1369
1369
  text: string | null;
1370
- updated_at_millis: number;
1371
- tsx_source: string;
1372
- theme_id: string | null;
1373
1370
  to: {
1374
1371
  user_id: string;
1375
1372
  type: "user-primary-email";
@@ -1381,6 +1378,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1381
1378
  type: "custom-emails";
1382
1379
  emails: string[];
1383
1380
  };
1381
+ updated_at_millis: number;
1382
+ tsx_source: string;
1383
+ theme_id: string | null;
1384
1384
  variables: Record<string, {} | null>;
1385
1385
  skip_deliverability_check: boolean;
1386
1386
  scheduled_at_millis: number;
@@ -1461,4 +1461,4 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1461
1461
  type EmailOutboxCrud = CrudTypeOf<typeof emailOutboxCrud>;
1462
1462
  //#endregion
1463
1463
  export { emailOutboxUpdateSchema as i, emailOutboxCrud as n, emailOutboxReadSchema as r, EmailOutboxCrud as t };
1464
- //# sourceMappingURL=email-outbox-B1wmVPRG.d.ts.map
1464
+ //# sourceMappingURL=email-outbox-CqzwInBL.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"email-outbox-B1wmVPRG.d.ts","names":[],"sources":["../src/interface/crud/email-outbox.ts"],"mappings":";;;cAiNa,qBAAA,gBAAqB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBrB,uBAAA,gBAAuB,YAAA;;;;;;;;;;;;;;aASxB,MAAA;;;;;;;;;;;;;;;cAEC,eAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsBD,eAAA,GAAkB,UAAU,QAAQ,eAAA"}
@@ -6,7 +6,7 @@ import { buildSkillSitePrompt, skillSitePrompt } from "../unified-prompts/skill-
6
6
  const llmsTxt = deindent`
7
7
  # Hexclave
8
8
 
9
- > Hexclave is an authentication and user management platform for SaaS apps, with teams, RBAC, payments, and analytics. Formerly Stack Auth.
9
+ > Hexclave is an authentication and user management platform for SaaS apps, with teams, RBAC, payments, and analytics.
10
10
 
11
11
  ${remindersPrompt}
12
12
 
@@ -1 +1 @@
1
- {"version":3,"file":"llms.js","names":[],"sources":["../../../../src/ai/llms/llms.ts"],"sourcesContent":["import { deindent } from \"../../utils/strings\";\nimport { remindersPrompt } from \"../unified-prompts/reminders\";\nimport { buildDocsIndexPrompt } from \"../unified-prompts/skill-site-prompt-parts/docs-index\";\nimport { buildSkillSitePrompt, skillSitePrompt } from \"../unified-prompts/skill-site-prompt\";\n\nexport const llmsTxt = deindent`\n # Hexclave\n\n > Hexclave is an authentication and user management platform for SaaS apps, with teams, RBAC, payments, and analytics. Formerly Stack Auth.\n\n ${remindersPrompt}\n\n ## Docs\n\n - [Full documentation](https://skill.hexclave.com/full): LLM-optimized Hexclave documentation\n - [Ask questions](https://skill.hexclave.com/ask): Q&A endpoint for Hexclave\n - [Human documentation](https://docs.hexclave.com): Browse the docs, or add \\`.md\\` to a page URL for markdown\n - [MCP server](https://mcp.hexclave.com): Hexclave documentation for MCP clients\n`;\n\nexport const llmsFullTxt = skillSitePrompt;\n\nexport function buildLlmsFullTxt(docsJson?: Parameters<typeof buildDocsIndexPrompt>[0]): string {\n return docsJson === undefined\n ? skillSitePrompt\n : buildSkillSitePrompt(buildDocsIndexPrompt(docsJson));\n}\n\nexport const llmsTextHeaders = {\n \"Cache-Control\": \"public, max-age=3600, s-maxage=3600\",\n \"Access-Control-Allow-Origin\": \"*\",\n \"Access-Control-Allow-Methods\": \"GET, HEAD, OPTIONS\",\n \"Access-Control-Allow-Headers\": \"*\",\n \"Content-Type\": \"text/plain; charset=utf-8\",\n} as const;\n\nexport function createLlmsTextResponse(body: string): Response {\n if (typeof body !== \"string\" || body === \"\") {\n throw new TypeError(\"createLlmsTextResponse: body must be a non-empty string\");\n }\n\n return new Response(body, {\n headers: llmsTextHeaders,\n });\n}\n"],"mappings":";;;;;AAKA,MAAa,UAAU,QAAQ;;;;;IAK3B,gBAAgB;;;;;;;;;AAUpB,MAAa,cAAc;AAE3B,SAAgB,iBAAiB,UAA+D;CAC9F,OAAO,aAAa,KAAA,IAChB,kBACA,qBAAqB,qBAAqB,QAAQ,CAAC;AACzD;AAEA,MAAa,kBAAkB;CAC7B,iBAAiB;CACjB,+BAA+B;CAC/B,gCAAgC;CAChC,gCAAgC;CAChC,gBAAgB;AAClB;AAEA,SAAgB,uBAAuB,MAAwB;CAC7D,IAAI,OAAO,SAAS,YAAY,SAAS,IACvC,MAAM,IAAI,UAAU,yDAAyD;CAG/E,OAAO,IAAI,SAAS,MAAM,EACxB,SAAS,gBACX,CAAC;AACH"}
1
+ {"version":3,"file":"llms.js","names":[],"sources":["../../../../src/ai/llms/llms.ts"],"sourcesContent":["import { deindent } from \"../../utils/strings\";\nimport { remindersPrompt } from \"../unified-prompts/reminders\";\nimport { buildDocsIndexPrompt } from \"../unified-prompts/skill-site-prompt-parts/docs-index\";\nimport { buildSkillSitePrompt, skillSitePrompt } from \"../unified-prompts/skill-site-prompt\";\n\nexport const llmsTxt = deindent`\n # Hexclave\n\n > Hexclave is an authentication and user management platform for SaaS apps, with teams, RBAC, payments, and analytics.\n\n ${remindersPrompt}\n\n ## Docs\n\n - [Full documentation](https://skill.hexclave.com/full): LLM-optimized Hexclave documentation\n - [Ask questions](https://skill.hexclave.com/ask): Q&A endpoint for Hexclave\n - [Human documentation](https://docs.hexclave.com): Browse the docs, or add \\`.md\\` to a page URL for markdown\n - [MCP server](https://mcp.hexclave.com): Hexclave documentation for MCP clients\n`;\n\nexport const llmsFullTxt = skillSitePrompt;\n\nexport function buildLlmsFullTxt(docsJson?: Parameters<typeof buildDocsIndexPrompt>[0]): string {\n return docsJson === undefined\n ? skillSitePrompt\n : buildSkillSitePrompt(buildDocsIndexPrompt(docsJson));\n}\n\nexport const llmsTextHeaders = {\n \"Cache-Control\": \"public, max-age=3600, s-maxage=3600\",\n \"Access-Control-Allow-Origin\": \"*\",\n \"Access-Control-Allow-Methods\": \"GET, HEAD, OPTIONS\",\n \"Access-Control-Allow-Headers\": \"*\",\n \"Content-Type\": \"text/plain; charset=utf-8\",\n} as const;\n\nexport function createLlmsTextResponse(body: string): Response {\n if (typeof body !== \"string\" || body === \"\") {\n throw new TypeError(\"createLlmsTextResponse: body must be a non-empty string\");\n }\n\n return new Response(body, {\n headers: llmsTextHeaders,\n });\n}\n"],"mappings":";;;;;AAKA,MAAa,UAAU,QAAQ;;;;;IAK3B,gBAAgB;;;;;;;;;AAUpB,MAAa,cAAc;AAE3B,SAAgB,iBAAiB,UAA+D;CAC9F,OAAO,aAAa,KAAA,IAChB,kBACA,qBAAqB,qBAAqB,QAAQ,CAAC;AACzD;AAEA,MAAa,kBAAkB;CAC7B,iBAAiB;CACjB,+BAA+B;CAC/B,gCAAgC;CAChC,gCAAgC;CAChC,gBAAgB;AAClB;AAEA,SAAgB,uBAAuB,MAAwB;CAC7D,IAAI,OAAO,SAAS,YAAY,SAAS,IACvC,MAAM,IAAI,UAAU,yDAAyD;CAG/E,OAAO,IAAI,SAAS,MAAM,EACxB,SAAS,gBACX,CAAC;AACH"}
@@ -19,7 +19,7 @@ const remindersPrompt = deindent`
19
19
  - Language, framework, and library-specific details:
20
20
  - JavaScript & TypeScript:
21
21
  - Hexclave has different SDK packages for different frameworks and languages. As of the time of writing these reminders, they are: @hexclave/js (JavaScript/TypeScript), @hexclave/next (Next.js), @hexclave/react (React), @hexclave/tanstack-start (TanStack Start). You can find all of these on npm. They are all versioned together, meaning that vX.Y.Z of one SDK was released at the same time as vX.Y.Z of another SDK. They are almost exactly the same with only very tiny differences; they have the same features, and any platform-exclusive features are obvious or clearly labeled as such.
22
- - The Hexclave/Stack Auth SDK constructor accepts a \`urls\` option that tells the SDK where auth pages and post-auth redirects live. When you add a custom auth page such as a \`sign-in\`, \`sign-up\`, \`forgot-password\`, \`account-settings\`, etc., update the corresponding \`urls\` key to point to that route; also set redirect targets such as \`afterSignIn\`, \`afterSignUp\`, \`afterSignOut\`, and \`home\` when those destinations are customized. The \`urls\` option is the source of truth for redirect helpers such as \`redirectToSignIn()\`, hosted or handler-page flows, and post-auth navigation; if it is left pointing at the default pages after custom pages are added, users can hit extra redirects, land on the wrong auth page, or return to an unexpected page after signing in or out.
22
+ - The Hexclave SDK constructor accepts a \`urls\` option that tells the SDK where auth pages and post-auth redirects live. When you add a custom auth page such as a \`sign-in\`, \`sign-up\`, \`forgot-password\`, \`account-settings\`, etc., update the corresponding \`urls\` key to point to that route; also set redirect targets such as \`afterSignIn\`, \`afterSignUp\`, \`afterSignOut\`, and \`home\` when those destinations are customized. The \`urls\` option is the source of truth for redirect helpers such as \`redirectToSignIn()\`, hosted or handler-page flows, and post-auth navigation; if it is left pointing at the default pages after custom pages are added, users can hit extra redirects, land on the wrong auth page, or return to an unexpected page after signing in or out.
23
23
  - The \`Result<T, E>\` type is \`{ status: "ok", data: T } | { status: "error", error: E }\`.
24
24
  - \`KnownErrors[KNOWN_ERROR_CODE]\` refers to a specific known error type. Each KnownError may have its own properties, but they all inherit from \`Error & { statusCode: number, humanReadableMessage: string, details?: Json }\`.
25
25
  - React & Next.js:
@@ -29,10 +29,9 @@ const remindersPrompt = deindent`
29
29
  - Hexclave also has a REST API with near-full feature parity with the SDK. It can be used for both client and server-side code.
30
30
  - If available, always prefer editing the \`hexclave.config.ts\` file directly over asking the user to make changes on the dashboard. When implementing new features, you can always update the config file, and then tell the user about the changes you've made. The config file is automatically synced when using the local dashboard/dev environment with \`npx @hexclave/cli dev --config-file <path-to-config-file>\`.
31
31
  - While allowed, avoid using nested property notation in Hexclave's config files for stylistic reasons. For example, instead of the config \`{ auth: { allowSignUp: true, password: { allowSignIn: true } } }\`, use config \`{ auth: { allowSignUp: true }, "auth.password": { allowSignIn: true } }\`.
32
- - For new projects, prefer \`urls: { default: { type: "hosted" } }\` over the old \`type: "handler"\`. The latter uses URLs like \`/handler/sign-in\`, but the new flow instead redirects to hosted component pages, which are more user-friendly and update automatically. The old handler option requires the StackHandler component, which is only available in some frameworks and less flexible. The new hosted components flow does NOT have a URL like \`/handler/sign-in\` anymore.
32
+ - For new projects, prefer \`urls: { default: { type: "hosted" } }\` over the old \`type: "handler"\`. The latter uses URLs like \`/handler/sign-in\`, but the new flow instead redirects to hosted component pages, which are more user-friendly and update automatically. The old handler option requires the HexclaveHandler component, which is only available in some frameworks and less flexible. The new hosted components flow does NOT have a URL like \`/handler/sign-in\` anymore.
33
33
  - You can use the \`npx @hexclave/cli exec <javascript>\` command to run JavaScript with a pre-configured HexclaveServerApp available as \`hexclaveServerApp\`. This allows you to read and write from and to the Hexclave project as you would on the dashboard, but from the CLI. To read and write project configuration, see the note on the config file above.
34
34
  - For advanced read queries, you can use \`hexclaveServerApp.queryAnalytics("<clickhouse-sql>")\`. Use \`SHOW TABLES\` and \`DESCRIBE TABLE\` to understand the schema of the available tables (columns have comments that may be useful as a description).
35
- - Hexclave was formerly known as Stack Auth. You may still see references to it as Stack Auth in some places.
36
35
  - When a human is talking about Users, more often than not, they are referring to non-anonymous users. Make sure to decide whether to filter anonymous users out in SQL queries based on suspected intent. For example, when reporting number of users, or recent sign-ups, almost certainly they're just asking about non-anonymous users.
37
36
  `;
38
37
  //#endregion