@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.
- package/dist/ai/unified-prompts/reminders.js +1 -1
- package/dist/apps/apps-config.d.ts +6 -0
- package/dist/apps/apps-config.js +6 -0
- package/dist/apps/apps-config.js.map +1 -1
- package/dist/config/schema.d.ts +170 -170
- package/dist/config-authoring.d.ts.map +1 -1
- package/dist/config-authoring.js.map +1 -1
- package/dist/config-authoring.test.js +1 -1
- package/dist/config-authoring.test.js.map +1 -1
- package/dist/config-rendering.d.ts +2 -2
- package/dist/config-rendering.js +16 -0
- package/dist/config-rendering.js.map +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/apps/apps-config.d.ts +6 -0
- package/dist/esm/apps/apps-config.js +6 -0
- package/dist/esm/apps/apps-config.js.map +1 -1
- package/dist/esm/config/schema.d.ts +170 -170
- package/dist/esm/config-authoring.d.ts.map +1 -1
- package/dist/esm/config-authoring.js.map +1 -1
- package/dist/esm/config-authoring.test.js +1 -1
- package/dist/esm/config-authoring.test.js.map +1 -1
- package/dist/esm/config-rendering.d.ts +2 -2
- package/dist/esm/config-rendering.js +16 -2
- package/dist/esm/config-rendering.js.map +1 -1
- package/dist/esm/hexclave-config-file.d.ts +24 -1
- package/dist/esm/hexclave-config-file.d.ts.map +1 -1
- package/dist/esm/hexclave-config-file.js +69 -2
- package/dist/esm/hexclave-config-file.js.map +1 -1
- package/dist/esm/interface/admin-interface.d.ts +19 -1
- package/dist/esm/interface/admin-interface.d.ts.map +1 -1
- package/dist/esm/interface/admin-interface.js +14 -0
- package/dist/esm/interface/admin-interface.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +99 -5
- package/dist/esm/interface/admin-metrics.d.ts.map +1 -1
- package/dist/esm/interface/admin-metrics.js +61 -1
- package/dist/esm/interface/admin-metrics.js.map +1 -1
- package/dist/esm/interface/conversations.d.ts +35 -35
- package/dist/esm/interface/crud/current-user.d.ts +2 -2
- package/dist/esm/interface/crud/email-outbox.d.ts +66 -66
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +35 -35
- package/dist/esm/interface/crud/team-member-profiles.d.ts +10 -10
- package/dist/esm/interface/crud/users.d.ts +10 -10
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/utils/analytics-clickmap-overlay.d.ts +18 -0
- package/dist/esm/utils/analytics-clickmap-overlay.d.ts.map +1 -0
- package/dist/esm/utils/analytics-clickmap-overlay.js +19 -0
- package/dist/esm/utils/analytics-clickmap-overlay.js.map +1 -0
- package/dist/esm/utils/dev-tool.d.ts +31 -0
- package/dist/esm/utils/dev-tool.d.ts.map +1 -0
- package/dist/esm/utils/dev-tool.js +32 -0
- package/dist/esm/utils/dev-tool.js.map +1 -0
- package/dist/esm/utils/dom.d.ts +7 -1
- package/dist/esm/utils/dom.d.ts.map +1 -1
- package/dist/esm/utils/dom.js +20 -1
- package/dist/esm/utils/dom.js.map +1 -1
- package/dist/esm/utils/elements-chain.d.ts +38 -0
- package/dist/esm/utils/elements-chain.d.ts.map +1 -0
- package/dist/esm/utils/elements-chain.js +297 -0
- package/dist/esm/utils/elements-chain.js.map +1 -0
- package/dist/hexclave-config-file.d.ts +24 -1
- package/dist/hexclave-config-file.d.ts.map +1 -1
- package/dist/hexclave-config-file.js +71 -1
- package/dist/hexclave-config-file.js.map +1 -1
- package/dist/interface/admin-interface.d.ts +19 -1
- package/dist/interface/admin-interface.d.ts.map +1 -1
- package/dist/interface/admin-interface.js +14 -0
- package/dist/interface/admin-interface.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +99 -5
- package/dist/interface/admin-metrics.d.ts.map +1 -1
- package/dist/interface/admin-metrics.js +65 -0
- package/dist/interface/admin-metrics.js.map +1 -1
- package/dist/interface/conversations.d.ts +35 -35
- package/dist/interface/crud/current-user.d.ts +2 -2
- package/dist/interface/crud/email-outbox.d.ts +66 -66
- package/dist/interface/crud/invoices.d.ts +2 -2
- package/dist/interface/crud/projects.d.ts +35 -35
- package/dist/interface/crud/team-member-profiles.d.ts +10 -10
- package/dist/interface/crud/users.d.ts +10 -10
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/utils/analytics-clickmap-overlay.d.ts +18 -0
- package/dist/utils/analytics-clickmap-overlay.d.ts.map +1 -0
- package/dist/utils/analytics-clickmap-overlay.js +23 -0
- package/dist/utils/analytics-clickmap-overlay.js.map +1 -0
- package/dist/utils/dev-tool.d.ts +31 -0
- package/dist/utils/dev-tool.d.ts.map +1 -0
- package/dist/utils/dev-tool.js +37 -0
- package/dist/utils/dev-tool.js.map +1 -0
- package/dist/utils/dom.d.ts +7 -1
- package/dist/utils/dom.d.ts.map +1 -1
- package/dist/utils/dom.js +20 -0
- package/dist/utils/dom.js.map +1 -1
- package/dist/utils/elements-chain.d.ts +38 -0
- package/dist/utils/elements-chain.d.ts.map +1 -0
- package/dist/utils/elements-chain.js +304 -0
- package/dist/utils/elements-chain.js.map +1 -0
- package/package.json +1 -1
- package/src/apps/apps-config.ts +6 -0
- package/src/config-authoring.test.ts +1 -1
- package/src/config-authoring.ts +6 -6
- package/src/config-rendering.ts +24 -2
- package/src/hexclave-config-file.ts +90 -1
- package/src/interface/admin-interface.ts +43 -1
- package/src/interface/admin-metrics.ts +92 -4
- package/src/utils/analytics-clickmap-overlay.tsx +15 -0
- package/src/utils/dev-tool.tsx +30 -0
- package/src/utils/dom.tsx +42 -0
- 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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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";
|
|
@@ -17,9 +17,9 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
17
17
|
is_anonymous: boolean;
|
|
18
18
|
is_restricted: boolean;
|
|
19
19
|
requires_totp_mfa: boolean;
|
|
20
|
-
primary_email_verified: boolean;
|
|
21
20
|
profile_image_url: string | null;
|
|
22
21
|
signed_up_at_millis: number;
|
|
22
|
+
primary_email_verified: boolean;
|
|
23
23
|
has_password: boolean;
|
|
24
24
|
otp_auth_enabled: boolean;
|
|
25
25
|
passkey_auth_enabled: boolean;
|
|
@@ -93,8 +93,8 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
93
93
|
server_metadata?: {} | null | undefined;
|
|
94
94
|
display_name: string;
|
|
95
95
|
id: string;
|
|
96
|
-
profile_image_url: string | null;
|
|
97
96
|
created_at_millis: number;
|
|
97
|
+
profile_image_url: string | null;
|
|
98
98
|
} | null;
|
|
99
99
|
selected_team_id: string | null;
|
|
100
100
|
profile_image_url: string | null;
|
|
@@ -162,8 +162,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
162
162
|
} | {
|
|
163
163
|
status: "scheduled";
|
|
164
164
|
id: string;
|
|
165
|
-
|
|
166
|
-
text: string | null;
|
|
165
|
+
subject: string;
|
|
167
166
|
created_at_millis: number;
|
|
168
167
|
updated_at_millis: number;
|
|
169
168
|
tsx_source: string;
|
|
@@ -201,15 +200,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
201
200
|
has_delivered: boolean;
|
|
202
201
|
started_rendering_at_millis: number;
|
|
203
202
|
rendered_at_millis: number;
|
|
204
|
-
|
|
203
|
+
html: string | null;
|
|
204
|
+
text: string | null;
|
|
205
205
|
is_transactional: boolean;
|
|
206
206
|
is_high_priority: boolean;
|
|
207
207
|
notification_category_id: string | null;
|
|
208
208
|
} | {
|
|
209
209
|
status: "queued";
|
|
210
210
|
id: string;
|
|
211
|
-
|
|
212
|
-
text: string | null;
|
|
211
|
+
subject: string;
|
|
213
212
|
created_at_millis: number;
|
|
214
213
|
updated_at_millis: number;
|
|
215
214
|
tsx_source: string;
|
|
@@ -247,15 +246,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
247
246
|
has_delivered: boolean;
|
|
248
247
|
started_rendering_at_millis: number;
|
|
249
248
|
rendered_at_millis: number;
|
|
250
|
-
|
|
249
|
+
html: string | null;
|
|
250
|
+
text: string | null;
|
|
251
251
|
is_transactional: boolean;
|
|
252
252
|
is_high_priority: boolean;
|
|
253
253
|
notification_category_id: string | null;
|
|
254
254
|
} | {
|
|
255
255
|
status: "sending";
|
|
256
256
|
id: string;
|
|
257
|
-
|
|
258
|
-
text: string | null;
|
|
257
|
+
subject: string;
|
|
259
258
|
created_at_millis: number;
|
|
260
259
|
updated_at_millis: number;
|
|
261
260
|
tsx_source: string;
|
|
@@ -293,7 +292,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
293
292
|
has_delivered: boolean;
|
|
294
293
|
started_rendering_at_millis: number;
|
|
295
294
|
rendered_at_millis: number;
|
|
296
|
-
|
|
295
|
+
html: string | null;
|
|
296
|
+
text: string | null;
|
|
297
297
|
is_transactional: boolean;
|
|
298
298
|
is_high_priority: boolean;
|
|
299
299
|
notification_category_id: string | null;
|
|
@@ -301,8 +301,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
301
301
|
} | {
|
|
302
302
|
status: "server-error";
|
|
303
303
|
id: string;
|
|
304
|
-
|
|
305
|
-
text: string | null;
|
|
304
|
+
subject: string;
|
|
306
305
|
created_at_millis: number;
|
|
307
306
|
updated_at_millis: number;
|
|
308
307
|
tsx_source: string;
|
|
@@ -340,7 +339,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
340
339
|
has_delivered: boolean;
|
|
341
340
|
started_rendering_at_millis: number;
|
|
342
341
|
rendered_at_millis: number;
|
|
343
|
-
|
|
342
|
+
html: string | null;
|
|
343
|
+
text: string | null;
|
|
344
344
|
is_transactional: boolean;
|
|
345
345
|
is_high_priority: boolean;
|
|
346
346
|
notification_category_id: string | null;
|
|
@@ -348,11 +348,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
348
348
|
error_at_millis: number;
|
|
349
349
|
server_error: string;
|
|
350
350
|
} | {
|
|
351
|
-
|
|
352
|
-
text?: string | null | undefined;
|
|
351
|
+
subject?: string | undefined;
|
|
353
352
|
started_rendering_at_millis?: number | undefined;
|
|
354
353
|
rendered_at_millis?: number | undefined;
|
|
355
|
-
|
|
354
|
+
html?: string | null | undefined;
|
|
355
|
+
text?: string | null | undefined;
|
|
356
356
|
is_transactional?: boolean | undefined;
|
|
357
357
|
is_high_priority?: boolean | undefined;
|
|
358
358
|
notification_category_id?: string | null | undefined;
|
|
@@ -400,8 +400,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
400
400
|
} | {
|
|
401
401
|
status: "bounced";
|
|
402
402
|
id: string;
|
|
403
|
-
|
|
404
|
-
text: string | null;
|
|
403
|
+
subject: string;
|
|
405
404
|
created_at_millis: number;
|
|
406
405
|
updated_at_millis: number;
|
|
407
406
|
tsx_source: string;
|
|
@@ -439,7 +438,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
439
438
|
has_delivered: boolean;
|
|
440
439
|
started_rendering_at_millis: number;
|
|
441
440
|
rendered_at_millis: number;
|
|
442
|
-
|
|
441
|
+
html: string | null;
|
|
442
|
+
text: string | null;
|
|
443
443
|
is_transactional: boolean;
|
|
444
444
|
is_high_priority: boolean;
|
|
445
445
|
notification_category_id: string | null;
|
|
@@ -448,8 +448,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
448
448
|
} | {
|
|
449
449
|
status: "delivery-delayed";
|
|
450
450
|
id: string;
|
|
451
|
-
|
|
452
|
-
text: string | null;
|
|
451
|
+
subject: string;
|
|
453
452
|
created_at_millis: number;
|
|
454
453
|
updated_at_millis: number;
|
|
455
454
|
tsx_source: string;
|
|
@@ -487,7 +486,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
487
486
|
has_delivered: boolean;
|
|
488
487
|
started_rendering_at_millis: number;
|
|
489
488
|
rendered_at_millis: number;
|
|
490
|
-
|
|
489
|
+
html: string | null;
|
|
490
|
+
text: string | null;
|
|
491
491
|
is_transactional: boolean;
|
|
492
492
|
is_high_priority: boolean;
|
|
493
493
|
notification_category_id: string | null;
|
|
@@ -496,8 +496,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
496
496
|
} | {
|
|
497
497
|
status: "sent";
|
|
498
498
|
id: string;
|
|
499
|
-
|
|
500
|
-
text: string | null;
|
|
499
|
+
subject: string;
|
|
501
500
|
created_at_millis: number;
|
|
502
501
|
updated_at_millis: number;
|
|
503
502
|
tsx_source: string;
|
|
@@ -535,7 +534,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
535
534
|
has_delivered: boolean;
|
|
536
535
|
started_rendering_at_millis: number;
|
|
537
536
|
rendered_at_millis: number;
|
|
538
|
-
|
|
537
|
+
html: string | null;
|
|
538
|
+
text: string | null;
|
|
539
539
|
is_transactional: boolean;
|
|
540
540
|
is_high_priority: boolean;
|
|
541
541
|
notification_category_id: string | null;
|
|
@@ -545,8 +545,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
545
545
|
} | {
|
|
546
546
|
status: "opened";
|
|
547
547
|
id: string;
|
|
548
|
-
|
|
549
|
-
text: string | null;
|
|
548
|
+
subject: string;
|
|
550
549
|
created_at_millis: number;
|
|
551
550
|
updated_at_millis: number;
|
|
552
551
|
tsx_source: string;
|
|
@@ -584,7 +583,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
584
583
|
has_delivered: boolean;
|
|
585
584
|
started_rendering_at_millis: number;
|
|
586
585
|
rendered_at_millis: number;
|
|
587
|
-
|
|
586
|
+
html: string | null;
|
|
587
|
+
text: string | null;
|
|
588
588
|
is_transactional: boolean;
|
|
589
589
|
is_high_priority: boolean;
|
|
590
590
|
notification_category_id: string | null;
|
|
@@ -595,8 +595,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
595
595
|
} | {
|
|
596
596
|
status: "clicked";
|
|
597
597
|
id: string;
|
|
598
|
-
|
|
599
|
-
text: string | null;
|
|
598
|
+
subject: string;
|
|
600
599
|
created_at_millis: number;
|
|
601
600
|
updated_at_millis: number;
|
|
602
601
|
tsx_source: string;
|
|
@@ -634,7 +633,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
634
633
|
has_delivered: boolean;
|
|
635
634
|
started_rendering_at_millis: number;
|
|
636
635
|
rendered_at_millis: number;
|
|
637
|
-
|
|
636
|
+
html: string | null;
|
|
637
|
+
text: string | null;
|
|
638
638
|
is_transactional: boolean;
|
|
639
639
|
is_high_priority: boolean;
|
|
640
640
|
notification_category_id: string | null;
|
|
@@ -645,8 +645,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
645
645
|
} | {
|
|
646
646
|
status: "marked-as-spam";
|
|
647
647
|
id: string;
|
|
648
|
-
|
|
649
|
-
text: string | null;
|
|
648
|
+
subject: string;
|
|
650
649
|
created_at_millis: number;
|
|
651
650
|
updated_at_millis: number;
|
|
652
651
|
tsx_source: string;
|
|
@@ -684,7 +683,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
684
683
|
has_delivered: boolean;
|
|
685
684
|
started_rendering_at_millis: number;
|
|
686
685
|
rendered_at_millis: number;
|
|
687
|
-
|
|
686
|
+
html: string | null;
|
|
687
|
+
text: string | null;
|
|
688
688
|
is_transactional: boolean;
|
|
689
689
|
is_high_priority: boolean;
|
|
690
690
|
notification_category_id: string | null;
|
|
@@ -882,8 +882,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
882
882
|
} | {
|
|
883
883
|
status: "scheduled";
|
|
884
884
|
id: string;
|
|
885
|
-
|
|
886
|
-
text: string | null;
|
|
885
|
+
subject: string;
|
|
887
886
|
created_at_millis: number;
|
|
888
887
|
updated_at_millis: number;
|
|
889
888
|
tsx_source: string;
|
|
@@ -921,15 +920,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
921
920
|
has_delivered: boolean;
|
|
922
921
|
started_rendering_at_millis: number;
|
|
923
922
|
rendered_at_millis: number;
|
|
924
|
-
|
|
923
|
+
html: string | null;
|
|
924
|
+
text: string | null;
|
|
925
925
|
is_transactional: boolean;
|
|
926
926
|
is_high_priority: boolean;
|
|
927
927
|
notification_category_id: string | null;
|
|
928
928
|
} | {
|
|
929
929
|
status: "queued";
|
|
930
930
|
id: string;
|
|
931
|
-
|
|
932
|
-
text: string | null;
|
|
931
|
+
subject: string;
|
|
933
932
|
created_at_millis: number;
|
|
934
933
|
updated_at_millis: number;
|
|
935
934
|
tsx_source: string;
|
|
@@ -967,15 +966,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
967
966
|
has_delivered: boolean;
|
|
968
967
|
started_rendering_at_millis: number;
|
|
969
968
|
rendered_at_millis: number;
|
|
970
|
-
|
|
969
|
+
html: string | null;
|
|
970
|
+
text: string | null;
|
|
971
971
|
is_transactional: boolean;
|
|
972
972
|
is_high_priority: boolean;
|
|
973
973
|
notification_category_id: string | null;
|
|
974
974
|
} | {
|
|
975
975
|
status: "sending";
|
|
976
976
|
id: string;
|
|
977
|
-
|
|
978
|
-
text: string | null;
|
|
977
|
+
subject: string;
|
|
979
978
|
created_at_millis: number;
|
|
980
979
|
updated_at_millis: number;
|
|
981
980
|
tsx_source: string;
|
|
@@ -1013,7 +1012,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1013
1012
|
has_delivered: boolean;
|
|
1014
1013
|
started_rendering_at_millis: number;
|
|
1015
1014
|
rendered_at_millis: number;
|
|
1016
|
-
|
|
1015
|
+
html: string | null;
|
|
1016
|
+
text: string | null;
|
|
1017
1017
|
is_transactional: boolean;
|
|
1018
1018
|
is_high_priority: boolean;
|
|
1019
1019
|
notification_category_id: string | null;
|
|
@@ -1021,8 +1021,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1021
1021
|
} | {
|
|
1022
1022
|
status: "server-error";
|
|
1023
1023
|
id: string;
|
|
1024
|
-
|
|
1025
|
-
text: string | null;
|
|
1024
|
+
subject: string;
|
|
1026
1025
|
created_at_millis: number;
|
|
1027
1026
|
updated_at_millis: number;
|
|
1028
1027
|
tsx_source: string;
|
|
@@ -1060,7 +1059,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1060
1059
|
has_delivered: boolean;
|
|
1061
1060
|
started_rendering_at_millis: number;
|
|
1062
1061
|
rendered_at_millis: number;
|
|
1063
|
-
|
|
1062
|
+
html: string | null;
|
|
1063
|
+
text: string | null;
|
|
1064
1064
|
is_transactional: boolean;
|
|
1065
1065
|
is_high_priority: boolean;
|
|
1066
1066
|
notification_category_id: string | null;
|
|
@@ -1068,11 +1068,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1068
1068
|
error_at_millis: number;
|
|
1069
1069
|
server_error: string;
|
|
1070
1070
|
} | {
|
|
1071
|
-
|
|
1072
|
-
text?: string | null | undefined;
|
|
1071
|
+
subject?: string | undefined;
|
|
1073
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1074
1073
|
rendered_at_millis?: number | undefined;
|
|
1075
|
-
|
|
1074
|
+
html?: string | null | undefined;
|
|
1075
|
+
text?: string | null | undefined;
|
|
1076
1076
|
is_transactional?: boolean | undefined;
|
|
1077
1077
|
is_high_priority?: boolean | undefined;
|
|
1078
1078
|
notification_category_id?: string | null | undefined;
|
|
@@ -1120,8 +1120,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1120
1120
|
} | {
|
|
1121
1121
|
status: "bounced";
|
|
1122
1122
|
id: string;
|
|
1123
|
-
|
|
1124
|
-
text: string | null;
|
|
1123
|
+
subject: string;
|
|
1125
1124
|
created_at_millis: number;
|
|
1126
1125
|
updated_at_millis: number;
|
|
1127
1126
|
tsx_source: string;
|
|
@@ -1159,7 +1158,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1159
1158
|
has_delivered: boolean;
|
|
1160
1159
|
started_rendering_at_millis: number;
|
|
1161
1160
|
rendered_at_millis: number;
|
|
1162
|
-
|
|
1161
|
+
html: string | null;
|
|
1162
|
+
text: string | null;
|
|
1163
1163
|
is_transactional: boolean;
|
|
1164
1164
|
is_high_priority: boolean;
|
|
1165
1165
|
notification_category_id: string | null;
|
|
@@ -1168,8 +1168,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1168
1168
|
} | {
|
|
1169
1169
|
status: "delivery-delayed";
|
|
1170
1170
|
id: string;
|
|
1171
|
-
|
|
1172
|
-
text: string | null;
|
|
1171
|
+
subject: string;
|
|
1173
1172
|
created_at_millis: number;
|
|
1174
1173
|
updated_at_millis: number;
|
|
1175
1174
|
tsx_source: string;
|
|
@@ -1207,7 +1206,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1207
1206
|
has_delivered: boolean;
|
|
1208
1207
|
started_rendering_at_millis: number;
|
|
1209
1208
|
rendered_at_millis: number;
|
|
1210
|
-
|
|
1209
|
+
html: string | null;
|
|
1210
|
+
text: string | null;
|
|
1211
1211
|
is_transactional: boolean;
|
|
1212
1212
|
is_high_priority: boolean;
|
|
1213
1213
|
notification_category_id: string | null;
|
|
@@ -1216,8 +1216,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1216
1216
|
} | {
|
|
1217
1217
|
status: "sent";
|
|
1218
1218
|
id: string;
|
|
1219
|
-
|
|
1220
|
-
text: string | null;
|
|
1219
|
+
subject: string;
|
|
1221
1220
|
created_at_millis: number;
|
|
1222
1221
|
updated_at_millis: number;
|
|
1223
1222
|
tsx_source: string;
|
|
@@ -1255,7 +1254,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1255
1254
|
has_delivered: boolean;
|
|
1256
1255
|
started_rendering_at_millis: number;
|
|
1257
1256
|
rendered_at_millis: number;
|
|
1258
|
-
|
|
1257
|
+
html: string | null;
|
|
1258
|
+
text: string | null;
|
|
1259
1259
|
is_transactional: boolean;
|
|
1260
1260
|
is_high_priority: boolean;
|
|
1261
1261
|
notification_category_id: string | null;
|
|
@@ -1265,8 +1265,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1265
1265
|
} | {
|
|
1266
1266
|
status: "opened";
|
|
1267
1267
|
id: string;
|
|
1268
|
-
|
|
1269
|
-
text: string | null;
|
|
1268
|
+
subject: string;
|
|
1270
1269
|
created_at_millis: number;
|
|
1271
1270
|
updated_at_millis: number;
|
|
1272
1271
|
tsx_source: string;
|
|
@@ -1304,7 +1303,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1304
1303
|
has_delivered: boolean;
|
|
1305
1304
|
started_rendering_at_millis: number;
|
|
1306
1305
|
rendered_at_millis: number;
|
|
1307
|
-
|
|
1306
|
+
html: string | null;
|
|
1307
|
+
text: string | null;
|
|
1308
1308
|
is_transactional: boolean;
|
|
1309
1309
|
is_high_priority: boolean;
|
|
1310
1310
|
notification_category_id: string | null;
|
|
@@ -1315,8 +1315,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1315
1315
|
} | {
|
|
1316
1316
|
status: "clicked";
|
|
1317
1317
|
id: string;
|
|
1318
|
-
|
|
1319
|
-
text: string | null;
|
|
1318
|
+
subject: string;
|
|
1320
1319
|
created_at_millis: number;
|
|
1321
1320
|
updated_at_millis: number;
|
|
1322
1321
|
tsx_source: string;
|
|
@@ -1354,7 +1353,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1354
1353
|
has_delivered: boolean;
|
|
1355
1354
|
started_rendering_at_millis: number;
|
|
1356
1355
|
rendered_at_millis: number;
|
|
1357
|
-
|
|
1356
|
+
html: string | null;
|
|
1357
|
+
text: string | null;
|
|
1358
1358
|
is_transactional: boolean;
|
|
1359
1359
|
is_high_priority: boolean;
|
|
1360
1360
|
notification_category_id: string | null;
|
|
@@ -1365,8 +1365,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1365
1365
|
} | {
|
|
1366
1366
|
status: "marked-as-spam";
|
|
1367
1367
|
id: string;
|
|
1368
|
-
|
|
1369
|
-
text: string | null;
|
|
1368
|
+
subject: string;
|
|
1370
1369
|
created_at_millis: number;
|
|
1371
1370
|
updated_at_millis: number;
|
|
1372
1371
|
tsx_source: string;
|
|
@@ -1404,7 +1403,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1404
1403
|
has_delivered: boolean;
|
|
1405
1404
|
started_rendering_at_millis: number;
|
|
1406
1405
|
rendered_at_millis: number;
|
|
1407
|
-
|
|
1406
|
+
html: string | null;
|
|
1407
|
+
text: string | null;
|
|
1408
1408
|
is_transactional: boolean;
|
|
1409
1409
|
is_high_priority: boolean;
|
|
1410
1410
|
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: "
|
|
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: "
|
|
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;
|