@hexclave/shared 1.0.34 → 1.0.36

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 (47) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  3. package/dist/config/schema.d.ts +106 -106
  4. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  5. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  6. package/dist/esm/config/schema.d.ts +106 -106
  7. package/dist/esm/helpers/init-prompt.js +1 -1
  8. package/dist/esm/helpers/init-prompt.js.map +1 -1
  9. package/dist/esm/interface/admin-metrics.d.ts +7 -7
  10. package/dist/esm/interface/conversations.d.ts +3 -3
  11. package/dist/esm/interface/crud/current-user.d.ts +10 -10
  12. package/dist/esm/interface/crud/email-outbox.d.ts +64 -64
  13. package/dist/esm/interface/crud/products.d.ts +12 -12
  14. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  15. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  16. package/dist/esm/interface/crud/projects.d.ts +7 -7
  17. package/dist/esm/interface/crud/team-member-profiles.d.ts +20 -20
  18. package/dist/esm/interface/crud/transactions.d.ts +13 -13
  19. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  20. package/dist/esm/interface/crud/users.d.ts +14 -14
  21. package/dist/esm/interface/plan-usage.d.ts +2 -2
  22. package/dist/esm/interface/webhooks.d.ts +2 -2
  23. package/dist/esm/known-errors.d.ts +7 -7
  24. package/dist/esm/schema-fields.d.ts +16 -16
  25. package/dist/esm/sessions.d.ts +1 -1
  26. package/dist/helpers/init-prompt.js +1 -1
  27. package/dist/helpers/init-prompt.js.map +1 -1
  28. package/dist/interface/admin-metrics.d.ts +7 -7
  29. package/dist/interface/conversations.d.ts +3 -3
  30. package/dist/interface/crud/current-user.d.ts +10 -10
  31. package/dist/interface/crud/email-outbox.d.ts +64 -64
  32. package/dist/interface/crud/products.d.ts +12 -12
  33. package/dist/interface/crud/products.d.ts.map +1 -1
  34. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  35. package/dist/interface/crud/projects.d.ts +7 -7
  36. package/dist/interface/crud/team-member-profiles.d.ts +20 -20
  37. package/dist/interface/crud/transactions.d.ts +13 -13
  38. package/dist/interface/crud/transactions.d.ts.map +1 -1
  39. package/dist/interface/crud/users.d.ts +14 -14
  40. package/dist/interface/plan-usage.d.ts +2 -2
  41. package/dist/interface/webhooks.d.ts +2 -2
  42. package/dist/known-errors.d.ts +7 -7
  43. package/dist/schema-fields.d.ts +16 -16
  44. package/dist/sessions.d.ts +1 -1
  45. package/package.json +1 -1
  46. package/src/ai/unified-prompts/reminders.ts +1 -1
  47. package/src/helpers/init-prompt.ts +1 -1
@@ -13,12 +13,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
13
13
  type: "user-primary-email";
14
14
  user_id: string;
15
15
  } | {
16
- emails: string[];
17
16
  type: "user-custom-emails";
18
17
  user_id: string;
19
- } | {
20
18
  emails: string[];
19
+ } | {
21
20
  type: "custom-emails";
21
+ emails: string[];
22
22
  };
23
23
  variables: Record<string, {} | null>;
24
24
  skip_deliverability_check: boolean;
@@ -51,12 +51,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
51
51
  type: "user-primary-email";
52
52
  user_id: string;
53
53
  } | {
54
- emails: string[];
55
54
  type: "user-custom-emails";
56
55
  user_id: string;
57
- } | {
58
56
  emails: string[];
57
+ } | {
59
58
  type: "custom-emails";
59
+ emails: string[];
60
60
  };
61
61
  variables: Record<string, {} | null>;
62
62
  skip_deliverability_check: boolean;
@@ -89,12 +89,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
89
89
  type: "user-primary-email";
90
90
  user_id: string;
91
91
  } | {
92
- emails: string[];
93
92
  type: "user-custom-emails";
94
93
  user_id: string;
95
- } | {
96
94
  emails: string[];
95
+ } | {
97
96
  type: "custom-emails";
97
+ emails: string[];
98
98
  };
99
99
  variables: Record<string, {} | null>;
100
100
  skip_deliverability_check: boolean;
@@ -128,12 +128,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
128
128
  type: "user-primary-email";
129
129
  user_id: string;
130
130
  } | {
131
- emails: string[];
132
131
  type: "user-custom-emails";
133
132
  user_id: string;
134
- } | {
135
133
  emails: string[];
134
+ } | {
136
135
  type: "custom-emails";
136
+ emails: string[];
137
137
  };
138
138
  variables: Record<string, {} | null>;
139
139
  skip_deliverability_check: boolean;
@@ -170,12 +170,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
170
170
  type: "user-primary-email";
171
171
  user_id: string;
172
172
  } | {
173
- emails: string[];
174
173
  type: "user-custom-emails";
175
174
  user_id: string;
176
- } | {
177
175
  emails: string[];
176
+ } | {
178
177
  type: "custom-emails";
178
+ emails: string[];
179
179
  };
180
180
  variables: Record<string, {} | null>;
181
181
  skip_deliverability_check: boolean;
@@ -216,12 +216,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
216
216
  type: "user-primary-email";
217
217
  user_id: string;
218
218
  } | {
219
- emails: string[];
220
219
  type: "user-custom-emails";
221
220
  user_id: string;
222
- } | {
223
221
  emails: string[];
222
+ } | {
224
223
  type: "custom-emails";
224
+ emails: string[];
225
225
  };
226
226
  variables: Record<string, {} | null>;
227
227
  skip_deliverability_check: boolean;
@@ -262,12 +262,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
262
262
  type: "user-primary-email";
263
263
  user_id: string;
264
264
  } | {
265
- emails: string[];
266
265
  type: "user-custom-emails";
267
266
  user_id: string;
268
- } | {
269
267
  emails: string[];
268
+ } | {
270
269
  type: "custom-emails";
270
+ emails: string[];
271
271
  };
272
272
  variables: Record<string, {} | null>;
273
273
  skip_deliverability_check: boolean;
@@ -309,12 +309,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
309
309
  type: "user-primary-email";
310
310
  user_id: string;
311
311
  } | {
312
- emails: string[];
313
312
  type: "user-custom-emails";
314
313
  user_id: string;
315
- } | {
316
314
  emails: string[];
315
+ } | {
317
316
  type: "custom-emails";
317
+ emails: string[];
318
318
  };
319
319
  variables: Record<string, {} | null>;
320
320
  skip_deliverability_check: boolean;
@@ -366,12 +366,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
366
366
  type: "user-primary-email";
367
367
  user_id: string;
368
368
  } | {
369
- emails: string[];
370
369
  type: "user-custom-emails";
371
370
  user_id: string;
372
- } | {
373
371
  emails: string[];
372
+ } | {
374
373
  type: "custom-emails";
374
+ emails: string[];
375
375
  };
376
376
  variables: Record<string, {} | null>;
377
377
  skip_deliverability_check: boolean;
@@ -408,12 +408,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
408
408
  type: "user-primary-email";
409
409
  user_id: string;
410
410
  } | {
411
- emails: string[];
412
411
  type: "user-custom-emails";
413
412
  user_id: string;
414
- } | {
415
413
  emails: string[];
414
+ } | {
416
415
  type: "custom-emails";
416
+ emails: string[];
417
417
  };
418
418
  variables: Record<string, {} | null>;
419
419
  skip_deliverability_check: boolean;
@@ -456,12 +456,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
456
456
  type: "user-primary-email";
457
457
  user_id: string;
458
458
  } | {
459
- emails: string[];
460
459
  type: "user-custom-emails";
461
460
  user_id: string;
462
- } | {
463
461
  emails: string[];
462
+ } | {
464
463
  type: "custom-emails";
464
+ emails: string[];
465
465
  };
466
466
  variables: Record<string, {} | null>;
467
467
  skip_deliverability_check: boolean;
@@ -504,12 +504,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
504
504
  type: "user-primary-email";
505
505
  user_id: string;
506
506
  } | {
507
- emails: string[];
508
507
  type: "user-custom-emails";
509
508
  user_id: string;
510
- } | {
511
509
  emails: string[];
510
+ } | {
512
511
  type: "custom-emails";
512
+ emails: string[];
513
513
  };
514
514
  variables: Record<string, {} | null>;
515
515
  skip_deliverability_check: boolean;
@@ -553,12 +553,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
553
553
  type: "user-primary-email";
554
554
  user_id: string;
555
555
  } | {
556
- emails: string[];
557
556
  type: "user-custom-emails";
558
557
  user_id: string;
559
- } | {
560
558
  emails: string[];
559
+ } | {
561
560
  type: "custom-emails";
561
+ emails: string[];
562
562
  };
563
563
  variables: Record<string, {} | null>;
564
564
  skip_deliverability_check: boolean;
@@ -603,12 +603,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
603
603
  type: "user-primary-email";
604
604
  user_id: string;
605
605
  } | {
606
- emails: string[];
607
606
  type: "user-custom-emails";
608
607
  user_id: string;
609
- } | {
610
608
  emails: string[];
609
+ } | {
611
610
  type: "custom-emails";
611
+ emails: string[];
612
612
  };
613
613
  variables: Record<string, {} | null>;
614
614
  skip_deliverability_check: boolean;
@@ -653,12 +653,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
653
653
  type: "user-primary-email";
654
654
  user_id: string;
655
655
  } | {
656
- emails: string[];
657
656
  type: "user-custom-emails";
658
657
  user_id: string;
659
- } | {
660
658
  emails: string[];
659
+ } | {
661
660
  type: "custom-emails";
661
+ emails: string[];
662
662
  };
663
663
  variables: Record<string, {} | null>;
664
664
  skip_deliverability_check: boolean;
@@ -699,12 +699,12 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
699
699
  type: "user-primary-email";
700
700
  user_id: string;
701
701
  } | {
702
- emails: string[];
703
702
  type: "user-custom-emails";
704
703
  user_id: string;
705
- } | {
706
704
  emails: string[];
705
+ } | {
707
706
  type: "custom-emails";
707
+ emails: string[];
708
708
  } | undefined;
709
709
  variables: Record<string, {} | null> | undefined;
710
710
  skip_deliverability_check: boolean | undefined;
@@ -733,12 +733,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
733
733
  type: "user-primary-email";
734
734
  user_id: string;
735
735
  } | {
736
- emails: string[];
737
736
  type: "user-custom-emails";
738
737
  user_id: string;
739
- } | {
740
738
  emails: string[];
739
+ } | {
741
740
  type: "custom-emails";
741
+ emails: string[];
742
742
  };
743
743
  variables: Record<string, {} | null>;
744
744
  skip_deliverability_check: boolean;
@@ -771,12 +771,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
771
771
  type: "user-primary-email";
772
772
  user_id: string;
773
773
  } | {
774
- emails: string[];
775
774
  type: "user-custom-emails";
776
775
  user_id: string;
777
- } | {
778
776
  emails: string[];
777
+ } | {
779
778
  type: "custom-emails";
779
+ emails: string[];
780
780
  };
781
781
  variables: Record<string, {} | null>;
782
782
  skip_deliverability_check: boolean;
@@ -809,12 +809,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
809
809
  type: "user-primary-email";
810
810
  user_id: string;
811
811
  } | {
812
- emails: string[];
813
812
  type: "user-custom-emails";
814
813
  user_id: string;
815
- } | {
816
814
  emails: string[];
815
+ } | {
817
816
  type: "custom-emails";
817
+ emails: string[];
818
818
  };
819
819
  variables: Record<string, {} | null>;
820
820
  skip_deliverability_check: boolean;
@@ -848,12 +848,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
848
848
  type: "user-primary-email";
849
849
  user_id: string;
850
850
  } | {
851
- emails: string[];
852
851
  type: "user-custom-emails";
853
852
  user_id: string;
854
- } | {
855
853
  emails: string[];
854
+ } | {
856
855
  type: "custom-emails";
856
+ emails: string[];
857
857
  };
858
858
  variables: Record<string, {} | null>;
859
859
  skip_deliverability_check: boolean;
@@ -890,12 +890,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
890
890
  type: "user-primary-email";
891
891
  user_id: string;
892
892
  } | {
893
- emails: string[];
894
893
  type: "user-custom-emails";
895
894
  user_id: string;
896
- } | {
897
895
  emails: string[];
896
+ } | {
898
897
  type: "custom-emails";
898
+ emails: string[];
899
899
  };
900
900
  variables: Record<string, {} | null>;
901
901
  skip_deliverability_check: boolean;
@@ -936,12 +936,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
936
936
  type: "user-primary-email";
937
937
  user_id: string;
938
938
  } | {
939
- emails: string[];
940
939
  type: "user-custom-emails";
941
940
  user_id: string;
942
- } | {
943
941
  emails: string[];
942
+ } | {
944
943
  type: "custom-emails";
944
+ emails: string[];
945
945
  };
946
946
  variables: Record<string, {} | null>;
947
947
  skip_deliverability_check: boolean;
@@ -982,12 +982,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
982
982
  type: "user-primary-email";
983
983
  user_id: string;
984
984
  } | {
985
- emails: string[];
986
985
  type: "user-custom-emails";
987
986
  user_id: string;
988
- } | {
989
987
  emails: string[];
988
+ } | {
990
989
  type: "custom-emails";
990
+ emails: string[];
991
991
  };
992
992
  variables: Record<string, {} | null>;
993
993
  skip_deliverability_check: boolean;
@@ -1029,12 +1029,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1029
1029
  type: "user-primary-email";
1030
1030
  user_id: string;
1031
1031
  } | {
1032
- emails: string[];
1033
1032
  type: "user-custom-emails";
1034
1033
  user_id: string;
1035
- } | {
1036
1034
  emails: string[];
1035
+ } | {
1037
1036
  type: "custom-emails";
1037
+ emails: string[];
1038
1038
  };
1039
1039
  variables: Record<string, {} | null>;
1040
1040
  skip_deliverability_check: boolean;
@@ -1086,12 +1086,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1086
1086
  type: "user-primary-email";
1087
1087
  user_id: string;
1088
1088
  } | {
1089
- emails: string[];
1090
1089
  type: "user-custom-emails";
1091
1090
  user_id: string;
1092
- } | {
1093
1091
  emails: string[];
1092
+ } | {
1094
1093
  type: "custom-emails";
1094
+ emails: string[];
1095
1095
  };
1096
1096
  variables: Record<string, {} | null>;
1097
1097
  skip_deliverability_check: boolean;
@@ -1128,12 +1128,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1128
1128
  type: "user-primary-email";
1129
1129
  user_id: string;
1130
1130
  } | {
1131
- emails: string[];
1132
1131
  type: "user-custom-emails";
1133
1132
  user_id: string;
1134
- } | {
1135
1133
  emails: string[];
1134
+ } | {
1136
1135
  type: "custom-emails";
1136
+ emails: string[];
1137
1137
  };
1138
1138
  variables: Record<string, {} | null>;
1139
1139
  skip_deliverability_check: boolean;
@@ -1176,12 +1176,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1176
1176
  type: "user-primary-email";
1177
1177
  user_id: string;
1178
1178
  } | {
1179
- emails: string[];
1180
1179
  type: "user-custom-emails";
1181
1180
  user_id: string;
1182
- } | {
1183
1181
  emails: string[];
1182
+ } | {
1184
1183
  type: "custom-emails";
1184
+ emails: string[];
1185
1185
  };
1186
1186
  variables: Record<string, {} | null>;
1187
1187
  skip_deliverability_check: boolean;
@@ -1224,12 +1224,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1224
1224
  type: "user-primary-email";
1225
1225
  user_id: string;
1226
1226
  } | {
1227
- emails: string[];
1228
1227
  type: "user-custom-emails";
1229
1228
  user_id: string;
1230
- } | {
1231
1229
  emails: string[];
1230
+ } | {
1232
1231
  type: "custom-emails";
1232
+ emails: string[];
1233
1233
  };
1234
1234
  variables: Record<string, {} | null>;
1235
1235
  skip_deliverability_check: boolean;
@@ -1273,12 +1273,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1273
1273
  type: "user-primary-email";
1274
1274
  user_id: string;
1275
1275
  } | {
1276
- emails: string[];
1277
1276
  type: "user-custom-emails";
1278
1277
  user_id: string;
1279
- } | {
1280
1278
  emails: string[];
1279
+ } | {
1281
1280
  type: "custom-emails";
1281
+ emails: string[];
1282
1282
  };
1283
1283
  variables: Record<string, {} | null>;
1284
1284
  skip_deliverability_check: boolean;
@@ -1323,12 +1323,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1323
1323
  type: "user-primary-email";
1324
1324
  user_id: string;
1325
1325
  } | {
1326
- emails: string[];
1327
1326
  type: "user-custom-emails";
1328
1327
  user_id: string;
1329
- } | {
1330
1328
  emails: string[];
1329
+ } | {
1331
1330
  type: "custom-emails";
1331
+ emails: string[];
1332
1332
  };
1333
1333
  variables: Record<string, {} | null>;
1334
1334
  skip_deliverability_check: boolean;
@@ -1373,12 +1373,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1373
1373
  type: "user-primary-email";
1374
1374
  user_id: string;
1375
1375
  } | {
1376
- emails: string[];
1377
1376
  type: "user-custom-emails";
1378
1377
  user_id: string;
1379
- } | {
1380
1378
  emails: string[];
1379
+ } | {
1381
1380
  type: "custom-emails";
1381
+ emails: string[];
1382
1382
  };
1383
1383
  variables: Record<string, {} | null>;
1384
1384
  skip_deliverability_check: boolean;
@@ -1419,12 +1419,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1419
1419
  type: "user-primary-email";
1420
1420
  user_id: string;
1421
1421
  } | {
1422
- emails: string[];
1423
1422
  type: "user-custom-emails";
1424
1423
  user_id: string;
1425
- } | {
1426
1424
  emails: string[];
1425
+ } | {
1427
1426
  type: "custom-emails";
1427
+ emails: string[];
1428
1428
  } | undefined;
1429
1429
  variables: Record<string, {} | null> | undefined;
1430
1430
  skip_deliverability_check: boolean | undefined;
@@ -6,13 +6,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
6
6
  id: string | null;
7
7
  quantity: number;
8
8
  product: {
9
+ free_trial?: DayInterval | undefined;
9
10
  client_metadata?: {} | null | undefined;
10
11
  client_read_only_metadata?: {} | null | undefined;
11
12
  server_metadata?: {} | null | undefined;
12
- free_trial?: DayInterval | undefined;
13
13
  stackable: boolean;
14
14
  prices: Record<string, {
15
- interval?: DayInterval | undefined;
16
15
  USD?: string | undefined;
17
16
  EUR?: string | undefined;
18
17
  GBP?: string | undefined;
@@ -20,11 +19,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
20
19
  INR?: string | undefined;
21
20
  AUD?: string | undefined;
22
21
  CAD?: string | undefined;
22
+ interval?: DayInterval | undefined;
23
23
  free_trial?: DayInterval | undefined;
24
24
  }>;
25
25
  display_name: string;
26
+ customer_type: "team" | "user" | "custom";
26
27
  server_only: boolean;
27
- customer_type: "user" | "team" | "custom";
28
28
  included_items: Record<string, {
29
29
  repeat?: "never" | DayInterval | undefined;
30
30
  quantity?: number | undefined;
@@ -40,13 +40,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
40
40
  } | null | undefined;
41
41
  switch_options: {
42
42
  product: {
43
+ free_trial?: DayInterval | undefined;
43
44
  client_metadata?: {} | null | undefined;
44
45
  client_read_only_metadata?: {} | null | undefined;
45
46
  server_metadata?: {} | null | undefined;
46
- free_trial?: DayInterval | undefined;
47
47
  stackable: boolean;
48
48
  prices: Record<string, {
49
- interval?: DayInterval | undefined;
50
49
  USD?: string | undefined;
51
50
  EUR?: string | undefined;
52
51
  GBP?: string | undefined;
@@ -54,11 +53,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
54
53
  INR?: string | undefined;
55
54
  AUD?: string | undefined;
56
55
  CAD?: string | undefined;
56
+ interval?: DayInterval | undefined;
57
57
  free_trial?: DayInterval | undefined;
58
58
  }>;
59
59
  display_name: string;
60
+ customer_type: "team" | "user" | "custom";
60
61
  server_only: boolean;
61
- customer_type: "user" | "team" | "custom";
62
62
  included_items: Record<string, {
63
63
  repeat?: "never" | DayInterval | undefined;
64
64
  quantity?: number | undefined;
@@ -103,13 +103,12 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
103
103
  } | null | undefined;
104
104
  switch_options?: {
105
105
  product: {
106
+ free_trial?: DayInterval | undefined;
106
107
  client_metadata?: {} | null | undefined;
107
108
  client_read_only_metadata?: {} | null | undefined;
108
109
  server_metadata?: {} | null | undefined;
109
- free_trial?: DayInterval | undefined;
110
110
  stackable: boolean;
111
111
  prices: Record<string, {
112
- interval?: DayInterval | undefined;
113
112
  USD?: string | undefined;
114
113
  EUR?: string | undefined;
115
114
  GBP?: string | undefined;
@@ -117,11 +116,12 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
117
116
  INR?: string | undefined;
118
117
  AUD?: string | undefined;
119
118
  CAD?: string | undefined;
119
+ interval?: DayInterval | undefined;
120
120
  free_trial?: DayInterval | undefined;
121
121
  }>;
122
122
  display_name: string;
123
+ customer_type: "team" | "user" | "custom";
123
124
  server_only: boolean;
124
- customer_type: "user" | "team" | "custom";
125
125
  included_items: Record<string, {
126
126
  repeat?: "never" | DayInterval | undefined;
127
127
  quantity?: number | undefined;
@@ -131,13 +131,12 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
131
131
  product_id: string;
132
132
  }[] | undefined;
133
133
  product: {
134
+ free_trial?: DayInterval | undefined;
134
135
  client_metadata?: {} | null | undefined;
135
136
  client_read_only_metadata?: {} | null | undefined;
136
137
  server_metadata?: {} | null | undefined;
137
- free_trial?: DayInterval | undefined;
138
138
  stackable: boolean;
139
139
  prices: Record<string, {
140
- interval?: DayInterval | undefined;
141
140
  USD?: string | undefined;
142
141
  EUR?: string | undefined;
143
142
  GBP?: string | undefined;
@@ -145,11 +144,12 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
145
144
  INR?: string | undefined;
146
145
  AUD?: string | undefined;
147
146
  CAD?: string | undefined;
147
+ interval?: DayInterval | undefined;
148
148
  free_trial?: DayInterval | undefined;
149
149
  }>;
150
150
  display_name: string;
151
+ customer_type: "team" | "user" | "custom";
151
152
  server_only: boolean;
152
- customer_type: "user" | "team" | "custom";
153
153
  included_items: Record<string, {
154
154
  repeat?: "never" | DayInterval | undefined;
155
155
  quantity?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
1
+ {"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -81,9 +81,9 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
81
81
  type: "user";
82
82
  description: string;
83
83
  id: string;
84
+ user_id: string;
84
85
  created_at_millis: number;
85
86
  expires_at_millis: number | undefined;
86
- user_id: string;
87
87
  manually_revoked_at_millis: number | undefined;
88
88
  is_public: boolean;
89
89
  } & {
@@ -179,9 +179,9 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
179
179
  type: "team";
180
180
  description: string;
181
181
  id: string;
182
+ team_id: string;
182
183
  created_at_millis: number;
183
184
  expires_at_millis: number | undefined;
184
- team_id: string;
185
185
  manually_revoked_at_millis: number | undefined;
186
186
  is_public: boolean;
187
187
  } & {
@@ -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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
54
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
55
55
  selected_email_theme_id: string | null;
56
56
  selected_payments_country: "US" | "OTHER";
57
57
  } | null | undefined;
@@ -224,7 +224,7 @@ 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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
227
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
228
228
  selected_email_theme_id: string | null;
229
229
  selected_payments_country: "US" | "OTHER";
230
230
  } | null | undefined;
@@ -304,7 +304,7 @@ 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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
307
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
308
308
  selected_email_theme_id: string | null;
309
309
  selected_payments_country: "US" | "OTHER";
310
310
  } | null | 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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
457
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
458
458
  selected_email_theme_id: string | null;
459
459
  selected_payments_country: "US" | "OTHER";
460
460
  } | null | undefined;
@@ -579,7 +579,7 @@ 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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
582
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
583
583
  selected_email_theme_id: string | null;
584
584
  selected_payments_country: "US" | "OTHER";
585
585
  } | null | 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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
690
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
691
691
  selected_email_theme_id: string | null;
692
692
  selected_payments_country: "US" | "OTHER";
693
693
  } | null | undefined;
@@ -812,7 +812,7 @@ 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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
815
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
816
816
  selected_email_theme_id: string | null;
817
817
  selected_payments_country: "US" | "OTHER";
818
818
  } | null | undefined;