@hexclave/shared 1.0.13 → 1.0.15

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 (108) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/apps/apps-config.d.ts +6 -0
  3. package/dist/apps/apps-config.js +6 -0
  4. package/dist/apps/apps-config.js.map +1 -1
  5. package/dist/config/schema.d.ts +170 -170
  6. package/dist/config-authoring.d.ts.map +1 -1
  7. package/dist/config-authoring.js.map +1 -1
  8. package/dist/config-authoring.test.js +1 -1
  9. package/dist/config-authoring.test.js.map +1 -1
  10. package/dist/config-rendering.d.ts +2 -2
  11. package/dist/config-rendering.js +16 -0
  12. package/dist/config-rendering.js.map +1 -1
  13. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  14. package/dist/esm/apps/apps-config.d.ts +6 -0
  15. package/dist/esm/apps/apps-config.js +6 -0
  16. package/dist/esm/apps/apps-config.js.map +1 -1
  17. package/dist/esm/config/schema.d.ts +170 -170
  18. package/dist/esm/config-authoring.d.ts.map +1 -1
  19. package/dist/esm/config-authoring.js.map +1 -1
  20. package/dist/esm/config-authoring.test.js +1 -1
  21. package/dist/esm/config-authoring.test.js.map +1 -1
  22. package/dist/esm/config-rendering.d.ts +2 -2
  23. package/dist/esm/config-rendering.js +16 -2
  24. package/dist/esm/config-rendering.js.map +1 -1
  25. package/dist/esm/hexclave-config-file.d.ts +24 -1
  26. package/dist/esm/hexclave-config-file.d.ts.map +1 -1
  27. package/dist/esm/hexclave-config-file.js +69 -2
  28. package/dist/esm/hexclave-config-file.js.map +1 -1
  29. package/dist/esm/interface/admin-interface.d.ts +19 -1
  30. package/dist/esm/interface/admin-interface.d.ts.map +1 -1
  31. package/dist/esm/interface/admin-interface.js +14 -0
  32. package/dist/esm/interface/admin-interface.js.map +1 -1
  33. package/dist/esm/interface/admin-metrics.d.ts +99 -5
  34. package/dist/esm/interface/admin-metrics.d.ts.map +1 -1
  35. package/dist/esm/interface/admin-metrics.js +61 -1
  36. package/dist/esm/interface/admin-metrics.js.map +1 -1
  37. package/dist/esm/interface/conversations.d.ts +35 -35
  38. package/dist/esm/interface/crud/current-user.d.ts +2 -2
  39. package/dist/esm/interface/crud/email-outbox.d.ts +66 -66
  40. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  41. package/dist/esm/interface/crud/projects.d.ts +35 -35
  42. package/dist/esm/interface/crud/team-member-profiles.d.ts +10 -10
  43. package/dist/esm/interface/crud/users.d.ts +10 -10
  44. package/dist/esm/interface/webhooks.d.ts +2 -2
  45. package/dist/esm/utils/analytics-clickmap-overlay.d.ts +18 -0
  46. package/dist/esm/utils/analytics-clickmap-overlay.d.ts.map +1 -0
  47. package/dist/esm/utils/analytics-clickmap-overlay.js +19 -0
  48. package/dist/esm/utils/analytics-clickmap-overlay.js.map +1 -0
  49. package/dist/esm/utils/dev-tool.d.ts +31 -0
  50. package/dist/esm/utils/dev-tool.d.ts.map +1 -0
  51. package/dist/esm/utils/dev-tool.js +32 -0
  52. package/dist/esm/utils/dev-tool.js.map +1 -0
  53. package/dist/esm/utils/dom.d.ts +7 -1
  54. package/dist/esm/utils/dom.d.ts.map +1 -1
  55. package/dist/esm/utils/dom.js +20 -1
  56. package/dist/esm/utils/dom.js.map +1 -1
  57. package/dist/esm/utils/elements-chain.d.ts +38 -0
  58. package/dist/esm/utils/elements-chain.d.ts.map +1 -0
  59. package/dist/esm/utils/elements-chain.js +297 -0
  60. package/dist/esm/utils/elements-chain.js.map +1 -0
  61. package/dist/hexclave-config-file.d.ts +24 -1
  62. package/dist/hexclave-config-file.d.ts.map +1 -1
  63. package/dist/hexclave-config-file.js +71 -1
  64. package/dist/hexclave-config-file.js.map +1 -1
  65. package/dist/interface/admin-interface.d.ts +19 -1
  66. package/dist/interface/admin-interface.d.ts.map +1 -1
  67. package/dist/interface/admin-interface.js +14 -0
  68. package/dist/interface/admin-interface.js.map +1 -1
  69. package/dist/interface/admin-metrics.d.ts +99 -5
  70. package/dist/interface/admin-metrics.d.ts.map +1 -1
  71. package/dist/interface/admin-metrics.js +65 -0
  72. package/dist/interface/admin-metrics.js.map +1 -1
  73. package/dist/interface/conversations.d.ts +35 -35
  74. package/dist/interface/crud/current-user.d.ts +2 -2
  75. package/dist/interface/crud/email-outbox.d.ts +66 -66
  76. package/dist/interface/crud/invoices.d.ts +2 -2
  77. package/dist/interface/crud/projects.d.ts +35 -35
  78. package/dist/interface/crud/team-member-profiles.d.ts +10 -10
  79. package/dist/interface/crud/users.d.ts +10 -10
  80. package/dist/interface/webhooks.d.ts +2 -2
  81. package/dist/utils/analytics-clickmap-overlay.d.ts +18 -0
  82. package/dist/utils/analytics-clickmap-overlay.d.ts.map +1 -0
  83. package/dist/utils/analytics-clickmap-overlay.js +23 -0
  84. package/dist/utils/analytics-clickmap-overlay.js.map +1 -0
  85. package/dist/utils/dev-tool.d.ts +31 -0
  86. package/dist/utils/dev-tool.d.ts.map +1 -0
  87. package/dist/utils/dev-tool.js +37 -0
  88. package/dist/utils/dev-tool.js.map +1 -0
  89. package/dist/utils/dom.d.ts +7 -1
  90. package/dist/utils/dom.d.ts.map +1 -1
  91. package/dist/utils/dom.js +20 -0
  92. package/dist/utils/dom.js.map +1 -1
  93. package/dist/utils/elements-chain.d.ts +38 -0
  94. package/dist/utils/elements-chain.d.ts.map +1 -0
  95. package/dist/utils/elements-chain.js +304 -0
  96. package/dist/utils/elements-chain.js.map +1 -0
  97. package/package.json +1 -1
  98. package/src/apps/apps-config.ts +6 -0
  99. package/src/config-authoring.test.ts +1 -1
  100. package/src/config-authoring.ts +6 -6
  101. package/src/config-rendering.ts +24 -2
  102. package/src/hexclave-config-file.ts +90 -1
  103. package/src/interface/admin-interface.ts +43 -1
  104. package/src/interface/admin-metrics.ts +92 -4
  105. package/src/utils/analytics-clickmap-overlay.tsx +15 -0
  106. package/src/utils/dev-tool.tsx +30 -0
  107. package/src/utils/dom.tsx +42 -0
  108. package/src/utils/elements-chain.tsx +349 -0
@@ -49,16 +49,16 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
49
49
  userPrimaryEmail: string | null;
50
50
  userProfileImageUrl: string | null;
51
51
  subject: string;
52
- status: "pending" | "open" | "closed";
52
+ status: "open" | "pending" | "closed";
53
53
  priority: "low" | "normal" | "high" | "urgent";
54
54
  source: "email" | "manual" | "chat" | "api";
55
55
  lastMessageType: "message" | "internal-note" | "status-change";
56
56
  preview: string | null;
57
57
  lastActivityAt: string;
58
58
  metadata: {
59
- tags: string[];
60
59
  assignedToUserId: string | null;
61
60
  assignedToDisplayName: string | null;
61
+ tags: string[];
62
62
  firstResponseDueAt: string | null;
63
63
  firstResponseAt: string | null;
64
64
  nextResponseDueAt: string | null;
@@ -129,7 +129,7 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
129
129
  userId: string | null;
130
130
  teamId: string | null;
131
131
  subject: string;
132
- status: "pending" | "open" | "closed";
132
+ status: "open" | "pending" | "closed";
133
133
  priority: "low" | "normal" | "high" | "urgent";
134
134
  source: "email" | "manual" | "chat" | "api";
135
135
  messageType: "message" | "internal-note" | "status-change";
@@ -173,29 +173,29 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
173
173
  lastOutboundAt?: string | null | undefined;
174
174
  closedAt?: string | null | undefined;
175
175
  recordMetadata?: {} | null | undefined;
176
- status: "pending" | "open" | "closed";
176
+ status: "open" | "pending" | "closed";
177
+ conversationId: string;
178
+ userId: string | null;
179
+ teamId: string | null;
180
+ userDisplayName: string | null;
181
+ userPrimaryEmail: string | null;
182
+ userProfileImageUrl: string | null;
183
+ subject: string;
184
+ priority: "low" | "normal" | "high" | "urgent";
177
185
  source: "email" | "manual" | "chat" | "api";
186
+ lastMessageType: "message" | "internal-note" | "status-change";
187
+ preview: string | null;
188
+ lastActivityAt: string;
178
189
  metadata: {
179
- tags: string[];
180
190
  assignedToUserId: string | null;
181
191
  assignedToDisplayName: string | null;
192
+ tags: string[];
182
193
  firstResponseDueAt: string | null;
183
194
  firstResponseAt: string | null;
184
195
  nextResponseDueAt: string | null;
185
196
  lastCustomerReplyAt: string | null;
186
197
  lastAgentReplyAt: string | null;
187
198
  };
188
- priority: "low" | "normal" | "high" | "urgent";
189
- subject: string;
190
- conversationId: string;
191
- userId: string | null;
192
- teamId: string | null;
193
- userDisplayName: string | null;
194
- userPrimaryEmail: string | null;
195
- userProfileImageUrl: string | null;
196
- lastMessageType: "message" | "internal-note" | "status-change";
197
- preview: string | null;
198
- lastActivityAt: string;
199
199
  }[];
200
200
  hasMore: boolean;
201
201
  }, yup$1.AnyObject, {
@@ -211,43 +211,43 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
211
211
  lastOutboundAt?: string | null | undefined;
212
212
  closedAt?: string | null | undefined;
213
213
  recordMetadata?: {} | null | undefined;
214
- status: "pending" | "open" | "closed";
214
+ status: "open" | "pending" | "closed";
215
+ conversationId: string;
216
+ userId: string | null;
217
+ teamId: string | null;
218
+ userDisplayName: string | null;
219
+ userPrimaryEmail: string | null;
220
+ userProfileImageUrl: string | null;
221
+ subject: string;
222
+ priority: "low" | "normal" | "high" | "urgent";
215
223
  source: "email" | "manual" | "chat" | "api";
224
+ lastMessageType: "message" | "internal-note" | "status-change";
225
+ preview: string | null;
226
+ lastActivityAt: string;
216
227
  metadata: {
217
- tags: string[];
218
228
  assignedToUserId: string | null;
219
229
  assignedToDisplayName: string | null;
230
+ tags: string[];
220
231
  firstResponseDueAt: string | null;
221
232
  firstResponseAt: string | null;
222
233
  nextResponseDueAt: string | null;
223
234
  lastCustomerReplyAt: string | null;
224
235
  lastAgentReplyAt: string | null;
225
236
  };
226
- priority: "low" | "normal" | "high" | "urgent";
227
- subject: string;
228
- conversationId: string;
229
- userId: string | null;
230
- teamId: string | null;
231
- userDisplayName: string | null;
232
- userPrimaryEmail: string | null;
233
- userProfileImageUrl: string | null;
234
- lastMessageType: "message" | "internal-note" | "status-change";
235
- preview: string | null;
236
- lastActivityAt: string;
237
237
  };
238
238
  messages: {
239
- status: "pending" | "open" | "closed";
239
+ status: "open" | "pending" | "closed";
240
240
  id: string;
241
- body: string | null;
242
- source: "email" | "manual" | "chat" | "api";
243
- metadata: {} | null;
244
- priority: "low" | "normal" | "high" | "urgent";
245
- subject: string;
246
241
  conversationId: string;
247
242
  userId: string | null;
248
243
  teamId: string | null;
244
+ subject: string;
245
+ priority: "low" | "normal" | "high" | "urgent";
246
+ source: "email" | "manual" | "chat" | "api";
247
+ metadata: {} | null;
249
248
  createdAt: string;
250
249
  messageType: "message" | "internal-note" | "status-change";
250
+ body: string | null;
251
251
  attachments: {}[];
252
252
  sender: {
253
253
  type: "user" | "agent" | "system";
@@ -16,9 +16,9 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
16
16
  is_anonymous: boolean;
17
17
  is_restricted: boolean;
18
18
  requires_totp_mfa: boolean;
19
- primary_email_verified: boolean;
20
19
  profile_image_url: string | null;
21
20
  signed_up_at_millis: number;
21
+ primary_email_verified: boolean;
22
22
  has_password: boolean;
23
23
  otp_auth_enabled: boolean;
24
24
  passkey_auth_enabled: boolean;
@@ -92,8 +92,8 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
92
92
  server_metadata?: {} | null | undefined;
93
93
  display_name: string;
94
94
  id: string;
95
- profile_image_url: string | null;
96
95
  created_at_millis: number;
96
+ profile_image_url: string | null;
97
97
  } | null;
98
98
  selected_team_id: string | null;
99
99
  profile_image_url: string | null;
@@ -161,8 +161,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
161
161
  } | {
162
162
  status: "scheduled";
163
163
  id: string;
164
- html: string | null;
165
- text: string | null;
164
+ subject: string;
166
165
  created_at_millis: number;
167
166
  updated_at_millis: number;
168
167
  tsx_source: string;
@@ -200,15 +199,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
200
199
  has_delivered: boolean;
201
200
  started_rendering_at_millis: number;
202
201
  rendered_at_millis: number;
203
- subject: string;
202
+ html: string | null;
203
+ text: string | null;
204
204
  is_transactional: boolean;
205
205
  is_high_priority: boolean;
206
206
  notification_category_id: string | null;
207
207
  } | {
208
208
  status: "queued";
209
209
  id: string;
210
- html: string | null;
211
- text: string | null;
210
+ subject: string;
212
211
  created_at_millis: number;
213
212
  updated_at_millis: number;
214
213
  tsx_source: string;
@@ -246,15 +245,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
246
245
  has_delivered: boolean;
247
246
  started_rendering_at_millis: number;
248
247
  rendered_at_millis: number;
249
- subject: string;
248
+ html: string | null;
249
+ text: string | null;
250
250
  is_transactional: boolean;
251
251
  is_high_priority: boolean;
252
252
  notification_category_id: string | null;
253
253
  } | {
254
254
  status: "sending";
255
255
  id: string;
256
- html: string | null;
257
- text: string | null;
256
+ subject: string;
258
257
  created_at_millis: number;
259
258
  updated_at_millis: number;
260
259
  tsx_source: string;
@@ -292,7 +291,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
292
291
  has_delivered: boolean;
293
292
  started_rendering_at_millis: number;
294
293
  rendered_at_millis: number;
295
- subject: string;
294
+ html: string | null;
295
+ text: string | null;
296
296
  is_transactional: boolean;
297
297
  is_high_priority: boolean;
298
298
  notification_category_id: string | null;
@@ -300,8 +300,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
300
300
  } | {
301
301
  status: "server-error";
302
302
  id: string;
303
- html: string | null;
304
- text: string | null;
303
+ subject: string;
305
304
  created_at_millis: number;
306
305
  updated_at_millis: number;
307
306
  tsx_source: string;
@@ -339,7 +338,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
339
338
  has_delivered: boolean;
340
339
  started_rendering_at_millis: number;
341
340
  rendered_at_millis: number;
342
- subject: string;
341
+ html: string | null;
342
+ text: string | null;
343
343
  is_transactional: boolean;
344
344
  is_high_priority: boolean;
345
345
  notification_category_id: string | null;
@@ -347,11 +347,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
347
347
  error_at_millis: number;
348
348
  server_error: string;
349
349
  } | {
350
- html?: string | null | undefined;
351
- text?: string | null | undefined;
350
+ subject?: string | undefined;
352
351
  started_rendering_at_millis?: number | undefined;
353
352
  rendered_at_millis?: number | undefined;
354
- subject?: string | undefined;
353
+ html?: string | null | undefined;
354
+ text?: string | null | undefined;
355
355
  is_transactional?: boolean | undefined;
356
356
  is_high_priority?: boolean | undefined;
357
357
  notification_category_id?: string | null | undefined;
@@ -399,8 +399,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
399
399
  } | {
400
400
  status: "bounced";
401
401
  id: string;
402
- html: string | null;
403
- text: string | null;
402
+ subject: string;
404
403
  created_at_millis: number;
405
404
  updated_at_millis: number;
406
405
  tsx_source: string;
@@ -438,7 +437,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
438
437
  has_delivered: boolean;
439
438
  started_rendering_at_millis: number;
440
439
  rendered_at_millis: number;
441
- subject: string;
440
+ html: string | null;
441
+ text: string | null;
442
442
  is_transactional: boolean;
443
443
  is_high_priority: boolean;
444
444
  notification_category_id: string | null;
@@ -447,8 +447,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
447
447
  } | {
448
448
  status: "delivery-delayed";
449
449
  id: string;
450
- html: string | null;
451
- text: string | null;
450
+ subject: string;
452
451
  created_at_millis: number;
453
452
  updated_at_millis: number;
454
453
  tsx_source: string;
@@ -486,7 +485,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
486
485
  has_delivered: boolean;
487
486
  started_rendering_at_millis: number;
488
487
  rendered_at_millis: number;
489
- subject: string;
488
+ html: string | null;
489
+ text: string | null;
490
490
  is_transactional: boolean;
491
491
  is_high_priority: boolean;
492
492
  notification_category_id: string | null;
@@ -495,8 +495,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
495
495
  } | {
496
496
  status: "sent";
497
497
  id: string;
498
- html: string | null;
499
- text: string | null;
498
+ subject: string;
500
499
  created_at_millis: number;
501
500
  updated_at_millis: number;
502
501
  tsx_source: string;
@@ -534,7 +533,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
534
533
  has_delivered: boolean;
535
534
  started_rendering_at_millis: number;
536
535
  rendered_at_millis: number;
537
- subject: string;
536
+ html: string | null;
537
+ text: string | null;
538
538
  is_transactional: boolean;
539
539
  is_high_priority: boolean;
540
540
  notification_category_id: string | null;
@@ -544,8 +544,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
544
544
  } | {
545
545
  status: "opened";
546
546
  id: string;
547
- html: string | null;
548
- text: string | null;
547
+ subject: string;
549
548
  created_at_millis: number;
550
549
  updated_at_millis: number;
551
550
  tsx_source: string;
@@ -583,7 +582,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
583
582
  has_delivered: boolean;
584
583
  started_rendering_at_millis: number;
585
584
  rendered_at_millis: number;
586
- subject: string;
585
+ html: string | null;
586
+ text: string | null;
587
587
  is_transactional: boolean;
588
588
  is_high_priority: boolean;
589
589
  notification_category_id: string | null;
@@ -594,8 +594,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
594
594
  } | {
595
595
  status: "clicked";
596
596
  id: string;
597
- html: string | null;
598
- text: string | null;
597
+ subject: string;
599
598
  created_at_millis: number;
600
599
  updated_at_millis: number;
601
600
  tsx_source: string;
@@ -633,7 +632,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
633
632
  has_delivered: boolean;
634
633
  started_rendering_at_millis: number;
635
634
  rendered_at_millis: number;
636
- subject: string;
635
+ html: string | null;
636
+ text: string | null;
637
637
  is_transactional: boolean;
638
638
  is_high_priority: boolean;
639
639
  notification_category_id: string | null;
@@ -644,8 +644,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
644
644
  } | {
645
645
  status: "marked-as-spam";
646
646
  id: string;
647
- html: string | null;
648
- text: string | null;
647
+ subject: string;
649
648
  created_at_millis: number;
650
649
  updated_at_millis: number;
651
650
  tsx_source: string;
@@ -683,7 +682,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
683
682
  has_delivered: boolean;
684
683
  started_rendering_at_millis: number;
685
684
  rendered_at_millis: number;
686
- subject: string;
685
+ html: string | null;
686
+ text: string | null;
687
687
  is_transactional: boolean;
688
688
  is_high_priority: boolean;
689
689
  notification_category_id: string | null;
@@ -881,8 +881,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
881
881
  } | {
882
882
  status: "scheduled";
883
883
  id: string;
884
- html: string | null;
885
- text: string | null;
884
+ subject: string;
886
885
  created_at_millis: number;
887
886
  updated_at_millis: number;
888
887
  tsx_source: string;
@@ -920,15 +919,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
920
919
  has_delivered: boolean;
921
920
  started_rendering_at_millis: number;
922
921
  rendered_at_millis: number;
923
- subject: string;
922
+ html: string | null;
923
+ text: string | null;
924
924
  is_transactional: boolean;
925
925
  is_high_priority: boolean;
926
926
  notification_category_id: string | null;
927
927
  } | {
928
928
  status: "queued";
929
929
  id: string;
930
- html: string | null;
931
- text: string | null;
930
+ subject: string;
932
931
  created_at_millis: number;
933
932
  updated_at_millis: number;
934
933
  tsx_source: string;
@@ -966,15 +965,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
966
965
  has_delivered: boolean;
967
966
  started_rendering_at_millis: number;
968
967
  rendered_at_millis: number;
969
- subject: string;
968
+ html: string | null;
969
+ text: string | null;
970
970
  is_transactional: boolean;
971
971
  is_high_priority: boolean;
972
972
  notification_category_id: string | null;
973
973
  } | {
974
974
  status: "sending";
975
975
  id: string;
976
- html: string | null;
977
- text: string | null;
976
+ subject: string;
978
977
  created_at_millis: number;
979
978
  updated_at_millis: number;
980
979
  tsx_source: string;
@@ -1012,7 +1011,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1012
1011
  has_delivered: boolean;
1013
1012
  started_rendering_at_millis: number;
1014
1013
  rendered_at_millis: number;
1015
- subject: string;
1014
+ html: string | null;
1015
+ text: string | null;
1016
1016
  is_transactional: boolean;
1017
1017
  is_high_priority: boolean;
1018
1018
  notification_category_id: string | null;
@@ -1020,8 +1020,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1020
1020
  } | {
1021
1021
  status: "server-error";
1022
1022
  id: string;
1023
- html: string | null;
1024
- text: string | null;
1023
+ subject: string;
1025
1024
  created_at_millis: number;
1026
1025
  updated_at_millis: number;
1027
1026
  tsx_source: string;
@@ -1059,7 +1058,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1059
1058
  has_delivered: boolean;
1060
1059
  started_rendering_at_millis: number;
1061
1060
  rendered_at_millis: number;
1062
- subject: string;
1061
+ html: string | null;
1062
+ text: string | null;
1063
1063
  is_transactional: boolean;
1064
1064
  is_high_priority: boolean;
1065
1065
  notification_category_id: string | null;
@@ -1067,11 +1067,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1067
1067
  error_at_millis: number;
1068
1068
  server_error: string;
1069
1069
  } | {
1070
- html?: string | null | undefined;
1071
- text?: string | null | undefined;
1070
+ subject?: string | undefined;
1072
1071
  started_rendering_at_millis?: number | undefined;
1073
1072
  rendered_at_millis?: number | undefined;
1074
- subject?: string | undefined;
1073
+ html?: string | null | undefined;
1074
+ text?: string | null | undefined;
1075
1075
  is_transactional?: boolean | undefined;
1076
1076
  is_high_priority?: boolean | undefined;
1077
1077
  notification_category_id?: string | null | undefined;
@@ -1119,8 +1119,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1119
1119
  } | {
1120
1120
  status: "bounced";
1121
1121
  id: string;
1122
- html: string | null;
1123
- text: string | null;
1122
+ subject: string;
1124
1123
  created_at_millis: number;
1125
1124
  updated_at_millis: number;
1126
1125
  tsx_source: string;
@@ -1158,7 +1157,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1158
1157
  has_delivered: boolean;
1159
1158
  started_rendering_at_millis: number;
1160
1159
  rendered_at_millis: number;
1161
- subject: string;
1160
+ html: string | null;
1161
+ text: string | null;
1162
1162
  is_transactional: boolean;
1163
1163
  is_high_priority: boolean;
1164
1164
  notification_category_id: string | null;
@@ -1167,8 +1167,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1167
1167
  } | {
1168
1168
  status: "delivery-delayed";
1169
1169
  id: string;
1170
- html: string | null;
1171
- text: string | null;
1170
+ subject: string;
1172
1171
  created_at_millis: number;
1173
1172
  updated_at_millis: number;
1174
1173
  tsx_source: string;
@@ -1206,7 +1205,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1206
1205
  has_delivered: boolean;
1207
1206
  started_rendering_at_millis: number;
1208
1207
  rendered_at_millis: number;
1209
- subject: string;
1208
+ html: string | null;
1209
+ text: string | null;
1210
1210
  is_transactional: boolean;
1211
1211
  is_high_priority: boolean;
1212
1212
  notification_category_id: string | null;
@@ -1215,8 +1215,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1215
1215
  } | {
1216
1216
  status: "sent";
1217
1217
  id: string;
1218
- html: string | null;
1219
- text: string | null;
1218
+ subject: string;
1220
1219
  created_at_millis: number;
1221
1220
  updated_at_millis: number;
1222
1221
  tsx_source: string;
@@ -1254,7 +1253,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1254
1253
  has_delivered: boolean;
1255
1254
  started_rendering_at_millis: number;
1256
1255
  rendered_at_millis: number;
1257
- subject: string;
1256
+ html: string | null;
1257
+ text: string | null;
1258
1258
  is_transactional: boolean;
1259
1259
  is_high_priority: boolean;
1260
1260
  notification_category_id: string | null;
@@ -1264,8 +1264,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1264
1264
  } | {
1265
1265
  status: "opened";
1266
1266
  id: string;
1267
- html: string | null;
1268
- text: string | null;
1267
+ subject: string;
1269
1268
  created_at_millis: number;
1270
1269
  updated_at_millis: number;
1271
1270
  tsx_source: string;
@@ -1303,7 +1302,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1303
1302
  has_delivered: boolean;
1304
1303
  started_rendering_at_millis: number;
1305
1304
  rendered_at_millis: number;
1306
- subject: string;
1305
+ html: string | null;
1306
+ text: string | null;
1307
1307
  is_transactional: boolean;
1308
1308
  is_high_priority: boolean;
1309
1309
  notification_category_id: string | null;
@@ -1314,8 +1314,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1314
1314
  } | {
1315
1315
  status: "clicked";
1316
1316
  id: string;
1317
- html: string | null;
1318
- text: string | null;
1317
+ subject: string;
1319
1318
  created_at_millis: number;
1320
1319
  updated_at_millis: number;
1321
1320
  tsx_source: string;
@@ -1353,7 +1352,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1353
1352
  has_delivered: boolean;
1354
1353
  started_rendering_at_millis: number;
1355
1354
  rendered_at_millis: number;
1356
- subject: string;
1355
+ html: string | null;
1356
+ text: string | null;
1357
1357
  is_transactional: boolean;
1358
1358
  is_high_priority: boolean;
1359
1359
  notification_category_id: string | null;
@@ -1364,8 +1364,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1364
1364
  } | {
1365
1365
  status: "marked-as-spam";
1366
1366
  id: string;
1367
- html: string | null;
1368
- text: string | null;
1367
+ subject: string;
1369
1368
  created_at_millis: number;
1370
1369
  updated_at_millis: number;
1371
1370
  tsx_source: string;
@@ -1403,7 +1402,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1403
1402
  has_delivered: boolean;
1404
1403
  started_rendering_at_millis: number;
1405
1404
  rendered_at_millis: number;
1406
- subject: string;
1405
+ html: string | null;
1406
+ text: string | null;
1407
1407
  is_transactional: boolean;
1408
1408
  is_high_priority: boolean;
1409
1409
  notification_category_id: string | null;
@@ -3,7 +3,7 @@ import * as yup$1 from "yup";
3
3
  //#region src/interface/crud/invoices.d.ts
4
4
  declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
5
5
  created_at_millis: number;
6
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
6
+ status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
7
7
  amount_total: number;
8
8
  hosted_invoice_url: string | null;
9
9
  }, yup$1.AnyObject, {
@@ -15,7 +15,7 @@ declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
15
15
  type CustomerInvoiceRead = yup$1.InferType<typeof customerInvoiceReadSchema>;
16
16
  declare const customerInvoicesListResponseSchema: yup$1.ObjectSchema<{
17
17
  items: {
18
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
18
+ status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
19
19
  created_at_millis: number;
20
20
  amount_total: number;
21
21
  hosted_invoice_url: string | null;