@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
@@ -1 +1 @@
1
- {"version":3,"file":"init-prompt.js","names":[],"sources":["../../../src/helpers/init-prompt.ts"],"sourcesContent":["import { aiSetupPrompt } from \"../ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt\";\n\nfunction getCliProjectSetupContext(configPath?: string): string {\n if (configPath != null) {\n return `\nThe Hexclave CLI already created or linked this project to a local Hexclave development environment config file:\n\n\\`\\`\\`text\n${configPath}\n\\`\\`\\`\n\nDo not create or link another Hexclave project. When the SDK setup instructions mention creating \\`stack.config.ts\\` or wrapping the dev script with \\`stack dev --config-file\\`, use the config file path above.\n`;\n }\n\n return `\nThe Hexclave CLI already created or linked this project to a hosted Hexclave cloud project and wrote or printed the Hexclave environment variables.\n\nDo not create or link another Hexclave project. Use the existing environment variables in this workspace. If the variables were printed instead of written because the user declined to append them to an env file, tell the user exactly which variables still need to be added.\n`;\n}\n\nexport const createInitPrompt = (web: boolean, configPath?: string) => `=============================\nHEXCLAVE SETUP INSTRUCTIONS\n=============================\n\nThese instructions describe how to set up Hexclave.\n${web ? `\nFirst of all, use the full setup prompt below as the source of truth. Do not run the Hexclave CLI initializer unless the user explicitly asks for the CLI workflow.\n` : \"\"}\n\n${getCliProjectSetupContext(configPath)}\n\nUse the full setup guide below as the source of truth, with one important CLI-specific adjustment: the \"Setting up the project\" step is already complete. Use that section only to understand how the existing config/env files should connect to the SDK wiring; do not ask the user for project IDs or keys that the CLI already generated or linked.\n\nApply only the sections relevant to this project. For example, do not add Convex, Supabase, or command-line-app authentication unless the existing project already uses that surface or the user explicitly asked for it.\n\n${aiSetupPrompt}\n`;\n"],"mappings":";;;AAEA,SAAS,0BAA0B,YAA6B;AAC9D,KAAI,cAAc,KAChB,QAAO;;;;EAIT,WAAW;;;;;AAOX,QAAO;;;;;;AAOT,MAAa,oBAAoB,KAAc,eAAwB;;;;;EAKrE,MAAM;;IAEJ,GAAG;;EAEL,0BAA0B,WAAW,CAAC;;;;;;EAMtC,cAAc"}
1
+ {"version":3,"file":"init-prompt.js","names":[],"sources":["../../../src/helpers/init-prompt.ts"],"sourcesContent":["import { aiSetupPrompt } from \"../ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt\";\n\nfunction getCliProjectSetupContext(configPath?: string): string {\n if (configPath != null) {\n return `\nThe Hexclave CLI already created or linked this project to a local Hexclave development environment config file:\n\n\\`\\`\\`text\n${configPath}\n\\`\\`\\`\n\nDo not create or link another Hexclave project. When the SDK setup instructions mention creating \\`hexclave.config.ts\\` or wrapping the dev script with \\`hexclave dev --config-file\\`, use the config file path above.\n`;\n }\n\n return `\nThe Hexclave CLI already created or linked this project to a hosted Hexclave cloud project and wrote or printed the Hexclave environment variables.\n\nDo not create or link another Hexclave project. Use the existing environment variables in this workspace. If the variables were printed instead of written because the user declined to append them to an env file, tell the user exactly which variables still need to be added.\n`;\n}\n\nexport const createInitPrompt = (web: boolean, configPath?: string) => `=============================\nHEXCLAVE SETUP INSTRUCTIONS\n=============================\n\nThese instructions describe how to set up Hexclave.\n${web ? `\nFirst of all, use the full setup prompt below as the source of truth. Do not run the Hexclave CLI initializer unless the user explicitly asks for the CLI workflow.\n` : \"\"}\n\n${getCliProjectSetupContext(configPath)}\n\nUse the full setup guide below as the source of truth, with one important CLI-specific adjustment: the \"Setting up the project\" step is already complete. Use that section only to understand how the existing config/env files should connect to the SDK wiring; do not ask the user for project IDs or keys that the CLI already generated or linked.\n\nApply only the sections relevant to this project. For example, do not add Convex, Supabase, or command-line-app authentication unless the existing project already uses that surface or the user explicitly asked for it.\n\n${aiSetupPrompt}\n`;\n"],"mappings":";;;AAEA,SAAS,0BAA0B,YAA6B;AAC9D,KAAI,cAAc,KAChB,QAAO;;;;EAIT,WAAW;;;;;AAOX,QAAO;;;;;;AAOT,MAAa,oBAAoB,KAAc,eAAwB;;;;;EAKrE,MAAM;;IAEJ,GAAG;;EAEL,0BAA0B,WAAW,CAAC;;;;;;EAMtC,cAAc"}
@@ -392,8 +392,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
392
392
  kind: "team_user_hour_of_week" | "session_replay_clicks";
393
393
  cells: {
394
394
  value: number;
395
- weekday: number;
396
395
  hour: number;
396
+ weekday: number;
397
397
  }[];
398
398
  sampling: number;
399
399
  routes: {
@@ -403,8 +403,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
403
403
  replays: number;
404
404
  }[];
405
405
  users: {
406
- id: string;
407
406
  display_name: string | null;
407
+ id: string;
408
408
  primary_email: string | null;
409
409
  profile_image_url: string | null;
410
410
  clicks: number;
@@ -413,9 +413,9 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
413
413
  }[];
414
414
  replays: {
415
415
  id: string;
416
+ user_id: string | null;
416
417
  clicks: number;
417
418
  last_event_at_millis: number;
418
- user_id: string | null;
419
419
  route_path: string | null;
420
420
  viewport_width: number | null;
421
421
  viewport_height: number | null;
@@ -443,8 +443,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
443
443
  elements: never[];
444
444
  }, "">;
445
445
  declare const MetricsActiveUsersByCountrySchema: yup.MixedSchema<Record<string, {
446
- id: string;
447
446
  display_name: string | null;
447
+ id: string;
448
448
  primary_email: string | null;
449
449
  profile_image_url: string | null;
450
450
  signed_up_at_millis: number;
@@ -471,24 +471,24 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
471
471
  }[];
472
472
  users_by_country: Record<string, number>;
473
473
  active_users_by_country: Record<string, {
474
- id: string;
475
474
  display_name: string | null;
475
+ id: string;
476
476
  primary_email: string | null;
477
477
  profile_image_url: string | null;
478
478
  signed_up_at_millis: number;
479
479
  last_active_at_millis: number | null;
480
480
  }[]>;
481
481
  recently_registered: {
482
- id: string;
483
482
  display_name: string | null;
483
+ id: string;
484
484
  primary_email: string | null;
485
485
  profile_image_url: string | null;
486
486
  signed_up_at_millis: number;
487
487
  last_active_at_millis: number | null;
488
488
  }[];
489
489
  recently_active: {
490
- id: string;
491
490
  display_name: string | null;
491
+ id: string;
492
492
  primary_email: string | null;
493
493
  profile_image_url: string | null;
494
494
  signed_up_at_millis: number;
@@ -173,8 +173,8 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
173
173
  lastOutboundAt?: string | null | undefined;
174
174
  closedAt?: string | null | undefined;
175
175
  recordMetadata?: {} | null | undefined;
176
- priority: "low" | "normal" | "high" | "urgent";
177
176
  status: "open" | "pending" | "closed";
177
+ priority: "low" | "normal" | "high" | "urgent";
178
178
  subject: string;
179
179
  conversationId: string;
180
180
  userId: string | null;
@@ -211,8 +211,8 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
211
211
  lastOutboundAt?: string | null | undefined;
212
212
  closedAt?: string | null | undefined;
213
213
  recordMetadata?: {} | null | undefined;
214
- priority: "low" | "normal" | "high" | "urgent";
215
214
  status: "open" | "pending" | "closed";
215
+ priority: "low" | "normal" | "high" | "urgent";
216
216
  subject: string;
217
217
  conversationId: string;
218
218
  userId: string | null;
@@ -236,9 +236,9 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
236
236
  };
237
237
  };
238
238
  messages: {
239
- priority: "low" | "normal" | "high" | "urgent";
240
239
  id: string;
241
240
  status: "open" | "pending" | "closed";
241
+ priority: "low" | "normal" | "high" | "urgent";
242
242
  subject: string;
243
243
  conversationId: string;
244
244
  userId: string | null;
@@ -5,11 +5,10 @@ import { CrudTypeOf } from "../../crud";
5
5
  //#region src/interface/crud/current-user.d.ts
6
6
  declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
7
7
  clientReadSchema: yup$1.ObjectSchema<{
8
- id: string;
9
8
  display_name: string | null;
10
- primary_email: string | null;
11
- profile_image_url: string | null;
12
- signed_up_at_millis: number;
9
+ client_metadata: {} | null;
10
+ client_read_only_metadata: {} | null;
11
+ id: string;
13
12
  selected_team_id: string | null;
14
13
  is_anonymous: boolean;
15
14
  is_restricted: boolean;
@@ -17,8 +16,9 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
17
16
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
18
17
  } | null;
19
18
  requires_totp_mfa: boolean;
20
- client_metadata: {} | null;
21
- client_read_only_metadata: {} | null;
19
+ primary_email: string | null;
20
+ profile_image_url: string | null;
21
+ signed_up_at_millis: number;
22
22
  primary_email_verified: boolean;
23
23
  has_password: boolean;
24
24
  otp_auth_enabled: boolean;
@@ -35,8 +35,8 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
35
35
  selected_team: {
36
36
  client_metadata?: {} | null | undefined;
37
37
  client_read_only_metadata?: {} | null | undefined;
38
- id: string;
39
38
  display_name: string;
39
+ id: string;
40
40
  profile_image_url: string | null;
41
41
  } | null;
42
42
  }, yup$1.AnyObject, {
@@ -91,9 +91,9 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
91
91
  client_metadata?: {} | null | undefined;
92
92
  client_read_only_metadata?: {} | null | undefined;
93
93
  server_metadata?: {} | null | undefined;
94
+ display_name: string;
94
95
  id: string;
95
96
  created_at_millis: number;
96
- display_name: string;
97
97
  profile_image_url: string | null;
98
98
  } | null;
99
99
  selected_team_id: string | null;
@@ -174,10 +174,10 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
174
174
  }, "">;
175
175
  clientUpdateSchema: yup$1.ObjectSchema<{
176
176
  display_name: string | null | undefined;
177
+ client_metadata: {} | null | undefined;
178
+ selected_team_id: string | null | undefined;
177
179
  primary_email: string | null | undefined;
178
180
  profile_image_url: string | null | undefined;
179
- selected_team_id: string | null | undefined;
180
- client_metadata: {} | null | undefined;
181
181
  otp_auth_enabled: boolean | undefined;
182
182
  passkey_auth_enabled: boolean | undefined;
183
183
  totp_secret_base64: string | null | undefined;
@@ -14,12 +14,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
14
14
  type: "user-primary-email";
15
15
  user_id: string;
16
16
  } | {
17
- emails: string[];
18
17
  type: "user-custom-emails";
19
18
  user_id: string;
20
- } | {
21
19
  emails: string[];
20
+ } | {
22
21
  type: "custom-emails";
22
+ emails: string[];
23
23
  };
24
24
  variables: Record<string, {} | null>;
25
25
  skip_deliverability_check: boolean;
@@ -52,12 +52,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
52
52
  type: "user-primary-email";
53
53
  user_id: string;
54
54
  } | {
55
- emails: string[];
56
55
  type: "user-custom-emails";
57
56
  user_id: string;
58
- } | {
59
57
  emails: string[];
58
+ } | {
60
59
  type: "custom-emails";
60
+ emails: string[];
61
61
  };
62
62
  variables: Record<string, {} | null>;
63
63
  skip_deliverability_check: boolean;
@@ -90,12 +90,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
90
90
  type: "user-primary-email";
91
91
  user_id: string;
92
92
  } | {
93
- emails: string[];
94
93
  type: "user-custom-emails";
95
94
  user_id: string;
96
- } | {
97
95
  emails: string[];
96
+ } | {
98
97
  type: "custom-emails";
98
+ emails: string[];
99
99
  };
100
100
  variables: Record<string, {} | null>;
101
101
  skip_deliverability_check: boolean;
@@ -129,12 +129,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
129
129
  type: "user-primary-email";
130
130
  user_id: string;
131
131
  } | {
132
- emails: string[];
133
132
  type: "user-custom-emails";
134
133
  user_id: string;
135
- } | {
136
134
  emails: string[];
135
+ } | {
137
136
  type: "custom-emails";
137
+ emails: string[];
138
138
  };
139
139
  variables: Record<string, {} | null>;
140
140
  skip_deliverability_check: boolean;
@@ -171,12 +171,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
171
171
  type: "user-primary-email";
172
172
  user_id: string;
173
173
  } | {
174
- emails: string[];
175
174
  type: "user-custom-emails";
176
175
  user_id: string;
177
- } | {
178
176
  emails: string[];
177
+ } | {
179
178
  type: "custom-emails";
179
+ emails: string[];
180
180
  };
181
181
  variables: Record<string, {} | null>;
182
182
  skip_deliverability_check: boolean;
@@ -217,12 +217,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
217
217
  type: "user-primary-email";
218
218
  user_id: string;
219
219
  } | {
220
- emails: string[];
221
220
  type: "user-custom-emails";
222
221
  user_id: string;
223
- } | {
224
222
  emails: string[];
223
+ } | {
225
224
  type: "custom-emails";
225
+ emails: string[];
226
226
  };
227
227
  variables: Record<string, {} | null>;
228
228
  skip_deliverability_check: boolean;
@@ -263,12 +263,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
263
263
  type: "user-primary-email";
264
264
  user_id: string;
265
265
  } | {
266
- emails: string[];
267
266
  type: "user-custom-emails";
268
267
  user_id: string;
269
- } | {
270
268
  emails: string[];
269
+ } | {
271
270
  type: "custom-emails";
271
+ emails: string[];
272
272
  };
273
273
  variables: Record<string, {} | null>;
274
274
  skip_deliverability_check: boolean;
@@ -310,12 +310,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
310
310
  type: "user-primary-email";
311
311
  user_id: string;
312
312
  } | {
313
- emails: string[];
314
313
  type: "user-custom-emails";
315
314
  user_id: string;
316
- } | {
317
315
  emails: string[];
316
+ } | {
318
317
  type: "custom-emails";
318
+ emails: string[];
319
319
  };
320
320
  variables: Record<string, {} | null>;
321
321
  skip_deliverability_check: boolean;
@@ -367,12 +367,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
367
367
  type: "user-primary-email";
368
368
  user_id: string;
369
369
  } | {
370
- emails: string[];
371
370
  type: "user-custom-emails";
372
371
  user_id: string;
373
- } | {
374
372
  emails: string[];
373
+ } | {
375
374
  type: "custom-emails";
375
+ emails: string[];
376
376
  };
377
377
  variables: Record<string, {} | null>;
378
378
  skip_deliverability_check: boolean;
@@ -409,12 +409,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
409
409
  type: "user-primary-email";
410
410
  user_id: string;
411
411
  } | {
412
- emails: string[];
413
412
  type: "user-custom-emails";
414
413
  user_id: string;
415
- } | {
416
414
  emails: string[];
415
+ } | {
417
416
  type: "custom-emails";
417
+ emails: string[];
418
418
  };
419
419
  variables: Record<string, {} | null>;
420
420
  skip_deliverability_check: boolean;
@@ -457,12 +457,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
457
457
  type: "user-primary-email";
458
458
  user_id: string;
459
459
  } | {
460
- emails: string[];
461
460
  type: "user-custom-emails";
462
461
  user_id: string;
463
- } | {
464
462
  emails: string[];
463
+ } | {
465
464
  type: "custom-emails";
465
+ emails: string[];
466
466
  };
467
467
  variables: Record<string, {} | null>;
468
468
  skip_deliverability_check: boolean;
@@ -505,12 +505,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
505
505
  type: "user-primary-email";
506
506
  user_id: string;
507
507
  } | {
508
- emails: string[];
509
508
  type: "user-custom-emails";
510
509
  user_id: string;
511
- } | {
512
510
  emails: string[];
511
+ } | {
513
512
  type: "custom-emails";
513
+ emails: string[];
514
514
  };
515
515
  variables: Record<string, {} | null>;
516
516
  skip_deliverability_check: boolean;
@@ -554,12 +554,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
554
554
  type: "user-primary-email";
555
555
  user_id: string;
556
556
  } | {
557
- emails: string[];
558
557
  type: "user-custom-emails";
559
558
  user_id: string;
560
- } | {
561
559
  emails: string[];
560
+ } | {
562
561
  type: "custom-emails";
562
+ emails: string[];
563
563
  };
564
564
  variables: Record<string, {} | null>;
565
565
  skip_deliverability_check: boolean;
@@ -604,12 +604,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
604
604
  type: "user-primary-email";
605
605
  user_id: string;
606
606
  } | {
607
- emails: string[];
608
607
  type: "user-custom-emails";
609
608
  user_id: string;
610
- } | {
611
609
  emails: string[];
610
+ } | {
612
611
  type: "custom-emails";
612
+ emails: string[];
613
613
  };
614
614
  variables: Record<string, {} | null>;
615
615
  skip_deliverability_check: boolean;
@@ -654,12 +654,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
654
654
  type: "user-primary-email";
655
655
  user_id: string;
656
656
  } | {
657
- emails: string[];
658
657
  type: "user-custom-emails";
659
658
  user_id: string;
660
- } | {
661
659
  emails: string[];
660
+ } | {
662
661
  type: "custom-emails";
662
+ emails: string[];
663
663
  };
664
664
  variables: Record<string, {} | null>;
665
665
  skip_deliverability_check: boolean;
@@ -700,12 +700,12 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
700
700
  type: "user-primary-email";
701
701
  user_id: string;
702
702
  } | {
703
- emails: string[];
704
703
  type: "user-custom-emails";
705
704
  user_id: string;
706
- } | {
707
705
  emails: string[];
706
+ } | {
708
707
  type: "custom-emails";
708
+ emails: string[];
709
709
  } | undefined;
710
710
  variables: Record<string, {} | null> | undefined;
711
711
  skip_deliverability_check: boolean | undefined;
@@ -734,12 +734,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
734
734
  type: "user-primary-email";
735
735
  user_id: string;
736
736
  } | {
737
- emails: string[];
738
737
  type: "user-custom-emails";
739
738
  user_id: string;
740
- } | {
741
739
  emails: string[];
740
+ } | {
742
741
  type: "custom-emails";
742
+ emails: string[];
743
743
  };
744
744
  variables: Record<string, {} | null>;
745
745
  skip_deliverability_check: boolean;
@@ -772,12 +772,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
772
772
  type: "user-primary-email";
773
773
  user_id: string;
774
774
  } | {
775
- emails: string[];
776
775
  type: "user-custom-emails";
777
776
  user_id: string;
778
- } | {
779
777
  emails: string[];
778
+ } | {
780
779
  type: "custom-emails";
780
+ emails: string[];
781
781
  };
782
782
  variables: Record<string, {} | null>;
783
783
  skip_deliverability_check: boolean;
@@ -810,12 +810,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
810
810
  type: "user-primary-email";
811
811
  user_id: string;
812
812
  } | {
813
- emails: string[];
814
813
  type: "user-custom-emails";
815
814
  user_id: string;
816
- } | {
817
815
  emails: string[];
816
+ } | {
818
817
  type: "custom-emails";
818
+ emails: string[];
819
819
  };
820
820
  variables: Record<string, {} | null>;
821
821
  skip_deliverability_check: boolean;
@@ -849,12 +849,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
849
849
  type: "user-primary-email";
850
850
  user_id: string;
851
851
  } | {
852
- emails: string[];
853
852
  type: "user-custom-emails";
854
853
  user_id: string;
855
- } | {
856
854
  emails: string[];
855
+ } | {
857
856
  type: "custom-emails";
857
+ emails: string[];
858
858
  };
859
859
  variables: Record<string, {} | null>;
860
860
  skip_deliverability_check: boolean;
@@ -891,12 +891,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
891
891
  type: "user-primary-email";
892
892
  user_id: string;
893
893
  } | {
894
- emails: string[];
895
894
  type: "user-custom-emails";
896
895
  user_id: string;
897
- } | {
898
896
  emails: string[];
897
+ } | {
899
898
  type: "custom-emails";
899
+ emails: string[];
900
900
  };
901
901
  variables: Record<string, {} | null>;
902
902
  skip_deliverability_check: boolean;
@@ -937,12 +937,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
937
937
  type: "user-primary-email";
938
938
  user_id: string;
939
939
  } | {
940
- emails: string[];
941
940
  type: "user-custom-emails";
942
941
  user_id: string;
943
- } | {
944
942
  emails: string[];
943
+ } | {
945
944
  type: "custom-emails";
945
+ emails: string[];
946
946
  };
947
947
  variables: Record<string, {} | null>;
948
948
  skip_deliverability_check: boolean;
@@ -983,12 +983,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
983
983
  type: "user-primary-email";
984
984
  user_id: string;
985
985
  } | {
986
- emails: string[];
987
986
  type: "user-custom-emails";
988
987
  user_id: string;
989
- } | {
990
988
  emails: string[];
989
+ } | {
991
990
  type: "custom-emails";
991
+ emails: string[];
992
992
  };
993
993
  variables: Record<string, {} | null>;
994
994
  skip_deliverability_check: boolean;
@@ -1030,12 +1030,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1030
1030
  type: "user-primary-email";
1031
1031
  user_id: string;
1032
1032
  } | {
1033
- emails: string[];
1034
1033
  type: "user-custom-emails";
1035
1034
  user_id: string;
1036
- } | {
1037
1035
  emails: string[];
1036
+ } | {
1038
1037
  type: "custom-emails";
1038
+ emails: string[];
1039
1039
  };
1040
1040
  variables: Record<string, {} | null>;
1041
1041
  skip_deliverability_check: boolean;
@@ -1087,12 +1087,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1087
1087
  type: "user-primary-email";
1088
1088
  user_id: string;
1089
1089
  } | {
1090
- emails: string[];
1091
1090
  type: "user-custom-emails";
1092
1091
  user_id: string;
1093
- } | {
1094
1092
  emails: string[];
1093
+ } | {
1095
1094
  type: "custom-emails";
1095
+ emails: string[];
1096
1096
  };
1097
1097
  variables: Record<string, {} | null>;
1098
1098
  skip_deliverability_check: boolean;
@@ -1129,12 +1129,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1129
1129
  type: "user-primary-email";
1130
1130
  user_id: string;
1131
1131
  } | {
1132
- emails: string[];
1133
1132
  type: "user-custom-emails";
1134
1133
  user_id: string;
1135
- } | {
1136
1134
  emails: string[];
1135
+ } | {
1137
1136
  type: "custom-emails";
1137
+ emails: string[];
1138
1138
  };
1139
1139
  variables: Record<string, {} | null>;
1140
1140
  skip_deliverability_check: boolean;
@@ -1177,12 +1177,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1177
1177
  type: "user-primary-email";
1178
1178
  user_id: string;
1179
1179
  } | {
1180
- emails: string[];
1181
1180
  type: "user-custom-emails";
1182
1181
  user_id: string;
1183
- } | {
1184
1182
  emails: string[];
1183
+ } | {
1185
1184
  type: "custom-emails";
1185
+ emails: string[];
1186
1186
  };
1187
1187
  variables: Record<string, {} | null>;
1188
1188
  skip_deliverability_check: boolean;
@@ -1225,12 +1225,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1225
1225
  type: "user-primary-email";
1226
1226
  user_id: string;
1227
1227
  } | {
1228
- emails: string[];
1229
1228
  type: "user-custom-emails";
1230
1229
  user_id: string;
1231
- } | {
1232
1230
  emails: string[];
1231
+ } | {
1233
1232
  type: "custom-emails";
1233
+ emails: string[];
1234
1234
  };
1235
1235
  variables: Record<string, {} | null>;
1236
1236
  skip_deliverability_check: boolean;
@@ -1274,12 +1274,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1274
1274
  type: "user-primary-email";
1275
1275
  user_id: string;
1276
1276
  } | {
1277
- emails: string[];
1278
1277
  type: "user-custom-emails";
1279
1278
  user_id: string;
1280
- } | {
1281
1279
  emails: string[];
1280
+ } | {
1282
1281
  type: "custom-emails";
1282
+ emails: string[];
1283
1283
  };
1284
1284
  variables: Record<string, {} | null>;
1285
1285
  skip_deliverability_check: boolean;
@@ -1324,12 +1324,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1324
1324
  type: "user-primary-email";
1325
1325
  user_id: string;
1326
1326
  } | {
1327
- emails: string[];
1328
1327
  type: "user-custom-emails";
1329
1328
  user_id: string;
1330
- } | {
1331
1329
  emails: string[];
1330
+ } | {
1332
1331
  type: "custom-emails";
1332
+ emails: string[];
1333
1333
  };
1334
1334
  variables: Record<string, {} | null>;
1335
1335
  skip_deliverability_check: boolean;
@@ -1374,12 +1374,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1374
1374
  type: "user-primary-email";
1375
1375
  user_id: string;
1376
1376
  } | {
1377
- emails: string[];
1378
1377
  type: "user-custom-emails";
1379
1378
  user_id: string;
1380
- } | {
1381
1379
  emails: string[];
1380
+ } | {
1382
1381
  type: "custom-emails";
1382
+ emails: string[];
1383
1383
  };
1384
1384
  variables: Record<string, {} | null>;
1385
1385
  skip_deliverability_check: boolean;
@@ -1420,12 +1420,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1420
1420
  type: "user-primary-email";
1421
1421
  user_id: string;
1422
1422
  } | {
1423
- emails: string[];
1424
1423
  type: "user-custom-emails";
1425
1424
  user_id: string;
1426
- } | {
1427
1425
  emails: string[];
1426
+ } | {
1428
1427
  type: "custom-emails";
1428
+ emails: string[];
1429
1429
  } | undefined;
1430
1430
  variables: Record<string, {} | null> | undefined;
1431
1431
  skip_deliverability_check: boolean | undefined;