@hexclave/shared 1.0.15 → 1.0.17
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/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/config/schema.d.ts +67 -67
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/config/schema.d.ts +67 -67
- package/dist/esm/interface/admin-metrics.d.ts +1 -1
- package/dist/esm/interface/conversations.d.ts +9 -9
- package/dist/esm/interface/crud/email-outbox.d.ts +156 -156
- package/dist/esm/interface/crud/projects.d.ts +35 -35
- package/dist/esm/interface/crud/users.d.ts +2 -2
- package/dist/interface/admin-metrics.d.ts +1 -1
- package/dist/interface/conversations.d.ts +9 -9
- package/dist/interface/crud/email-outbox.d.ts +156 -156
- package/dist/interface/crud/projects.d.ts +35 -35
- package/dist/interface/crud/users.d.ts +2 -2
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +1 -1
|
@@ -52,11 +52,15 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
52
52
|
onboarding_state: {
|
|
53
53
|
selected_config_choice: "create-new" | "link-existing";
|
|
54
54
|
selected_apps: string[];
|
|
55
|
-
selected_sign_in_methods: ("
|
|
55
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
56
56
|
selected_email_theme_id: string | null;
|
|
57
57
|
selected_payments_country: "US" | "OTHER";
|
|
58
58
|
} | null | undefined;
|
|
59
59
|
config: {
|
|
60
|
+
domains: {
|
|
61
|
+
domain: string;
|
|
62
|
+
handler_path: string;
|
|
63
|
+
}[];
|
|
60
64
|
oauth_providers: {
|
|
61
65
|
client_id?: string | undefined;
|
|
62
66
|
client_secret?: string | undefined;
|
|
@@ -67,10 +71,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
67
71
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
68
72
|
provider_config_id: string;
|
|
69
73
|
}[];
|
|
70
|
-
domains: {
|
|
71
|
-
domain: string;
|
|
72
|
-
handler_path: string;
|
|
73
|
-
}[];
|
|
74
74
|
allow_localhost: boolean;
|
|
75
75
|
sign_up_enabled: boolean;
|
|
76
76
|
credential_enabled: boolean;
|
|
@@ -205,11 +205,15 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
205
205
|
onboarding_state: {
|
|
206
206
|
selected_config_choice: "create-new" | "link-existing";
|
|
207
207
|
selected_apps: string[];
|
|
208
|
-
selected_sign_in_methods: ("
|
|
208
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
209
209
|
selected_email_theme_id: string | null;
|
|
210
210
|
selected_payments_country: "US" | "OTHER";
|
|
211
211
|
} | null | undefined;
|
|
212
212
|
config: {
|
|
213
|
+
domains?: {
|
|
214
|
+
domain: string;
|
|
215
|
+
handler_path: string;
|
|
216
|
+
}[] | undefined;
|
|
213
217
|
oauth_providers?: {
|
|
214
218
|
client_id?: string | undefined;
|
|
215
219
|
client_secret?: string | undefined;
|
|
@@ -219,10 +223,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
219
223
|
type: "shared" | "standard";
|
|
220
224
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
221
225
|
}[] | undefined;
|
|
222
|
-
domains?: {
|
|
223
|
-
domain: string;
|
|
224
|
-
handler_path: string;
|
|
225
|
-
}[] | undefined;
|
|
226
226
|
allow_localhost?: boolean | undefined;
|
|
227
227
|
sign_up_enabled?: boolean | undefined;
|
|
228
228
|
credential_enabled?: boolean | undefined;
|
|
@@ -285,11 +285,15 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
285
285
|
onboarding_state: {
|
|
286
286
|
selected_config_choice: "create-new" | "link-existing";
|
|
287
287
|
selected_apps: string[];
|
|
288
|
-
selected_sign_in_methods: ("
|
|
288
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
289
289
|
selected_email_theme_id: string | null;
|
|
290
290
|
selected_payments_country: "US" | "OTHER";
|
|
291
291
|
} | null | undefined;
|
|
292
292
|
config: {
|
|
293
|
+
domains?: {
|
|
294
|
+
domain: string;
|
|
295
|
+
handler_path: string;
|
|
296
|
+
}[] | undefined;
|
|
293
297
|
oauth_providers?: {
|
|
294
298
|
client_id?: string | undefined;
|
|
295
299
|
client_secret?: string | undefined;
|
|
@@ -299,10 +303,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
299
303
|
type: "shared" | "standard";
|
|
300
304
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
301
305
|
}[] | undefined;
|
|
302
|
-
domains?: {
|
|
303
|
-
domain: string;
|
|
304
|
-
handler_path: string;
|
|
305
|
-
}[] | undefined;
|
|
306
306
|
allow_localhost?: boolean | undefined;
|
|
307
307
|
sign_up_enabled?: boolean | undefined;
|
|
308
308
|
credential_enabled?: boolean | undefined;
|
|
@@ -425,11 +425,15 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
425
425
|
onboarding_state: {
|
|
426
426
|
selected_config_choice: "create-new" | "link-existing";
|
|
427
427
|
selected_apps: string[];
|
|
428
|
-
selected_sign_in_methods: ("
|
|
428
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
429
429
|
selected_email_theme_id: string | null;
|
|
430
430
|
selected_payments_country: "US" | "OTHER";
|
|
431
431
|
} | null | undefined;
|
|
432
432
|
config: {
|
|
433
|
+
domains: {
|
|
434
|
+
domain: string;
|
|
435
|
+
handler_path: string;
|
|
436
|
+
}[];
|
|
433
437
|
oauth_providers: {
|
|
434
438
|
client_id?: string | undefined;
|
|
435
439
|
client_secret?: string | undefined;
|
|
@@ -440,10 +444,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
440
444
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
441
445
|
provider_config_id: string;
|
|
442
446
|
}[];
|
|
443
|
-
domains: {
|
|
444
|
-
domain: string;
|
|
445
|
-
handler_path: string;
|
|
446
|
-
}[];
|
|
447
447
|
allow_localhost: boolean;
|
|
448
448
|
sign_up_enabled: boolean;
|
|
449
449
|
credential_enabled: boolean;
|
|
@@ -540,11 +540,15 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
540
540
|
onboarding_state: {
|
|
541
541
|
selected_config_choice: "create-new" | "link-existing";
|
|
542
542
|
selected_apps: string[];
|
|
543
|
-
selected_sign_in_methods: ("
|
|
543
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
544
544
|
selected_email_theme_id: string | null;
|
|
545
545
|
selected_payments_country: "US" | "OTHER";
|
|
546
546
|
} | null | undefined;
|
|
547
547
|
config: {
|
|
548
|
+
domains?: {
|
|
549
|
+
domain: string;
|
|
550
|
+
handler_path: string;
|
|
551
|
+
}[] | undefined;
|
|
548
552
|
oauth_providers?: {
|
|
549
553
|
client_id?: string | undefined;
|
|
550
554
|
client_secret?: string | undefined;
|
|
@@ -554,10 +558,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
554
558
|
type: "shared" | "standard";
|
|
555
559
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
556
560
|
}[] | undefined;
|
|
557
|
-
domains?: {
|
|
558
|
-
domain: string;
|
|
559
|
-
handler_path: string;
|
|
560
|
-
}[] | undefined;
|
|
561
561
|
allow_localhost?: boolean | undefined;
|
|
562
562
|
sign_up_enabled?: boolean | undefined;
|
|
563
563
|
credential_enabled?: boolean | undefined;
|
|
@@ -648,11 +648,15 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
648
648
|
onboarding_state: {
|
|
649
649
|
selected_config_choice: "create-new" | "link-existing";
|
|
650
650
|
selected_apps: string[];
|
|
651
|
-
selected_sign_in_methods: ("
|
|
651
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
652
652
|
selected_email_theme_id: string | null;
|
|
653
653
|
selected_payments_country: "US" | "OTHER";
|
|
654
654
|
} | null | undefined;
|
|
655
655
|
config: {
|
|
656
|
+
domains: {
|
|
657
|
+
domain: string;
|
|
658
|
+
handler_path: string;
|
|
659
|
+
}[];
|
|
656
660
|
oauth_providers: {
|
|
657
661
|
client_id?: string | undefined;
|
|
658
662
|
client_secret?: string | undefined;
|
|
@@ -663,10 +667,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
663
667
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
664
668
|
provider_config_id: string;
|
|
665
669
|
}[];
|
|
666
|
-
domains: {
|
|
667
|
-
domain: string;
|
|
668
|
-
handler_path: string;
|
|
669
|
-
}[];
|
|
670
670
|
allow_localhost: boolean;
|
|
671
671
|
sign_up_enabled: boolean;
|
|
672
672
|
credential_enabled: boolean;
|
|
@@ -763,11 +763,15 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
763
763
|
onboarding_state: {
|
|
764
764
|
selected_config_choice: "create-new" | "link-existing";
|
|
765
765
|
selected_apps: string[];
|
|
766
|
-
selected_sign_in_methods: ("
|
|
766
|
+
selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
|
|
767
767
|
selected_email_theme_id: string | null;
|
|
768
768
|
selected_payments_country: "US" | "OTHER";
|
|
769
769
|
} | null | undefined;
|
|
770
770
|
config: {
|
|
771
|
+
domains?: {
|
|
772
|
+
domain: string;
|
|
773
|
+
handler_path: string;
|
|
774
|
+
}[] | undefined;
|
|
771
775
|
oauth_providers?: {
|
|
772
776
|
client_id?: string | undefined;
|
|
773
777
|
client_secret?: string | undefined;
|
|
@@ -777,10 +781,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
777
781
|
type: "shared" | "standard";
|
|
778
782
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
779
783
|
}[] | undefined;
|
|
780
|
-
domains?: {
|
|
781
|
-
domain: string;
|
|
782
|
-
handler_path: string;
|
|
783
|
-
}[] | undefined;
|
|
784
784
|
allow_localhost?: boolean | undefined;
|
|
785
785
|
sign_up_enabled?: boolean | undefined;
|
|
786
786
|
credential_enabled?: boolean | undefined;
|
|
@@ -164,12 +164,12 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
164
164
|
}, "">;
|
|
165
165
|
declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
166
166
|
primary_email: string | null | undefined;
|
|
167
|
-
password: string | null | undefined;
|
|
168
167
|
display_name: string | null | undefined;
|
|
169
168
|
client_metadata: {} | null | undefined;
|
|
170
169
|
client_read_only_metadata: {} | null | undefined;
|
|
171
170
|
server_metadata: {} | null | undefined;
|
|
172
171
|
is_anonymous: boolean | undefined;
|
|
172
|
+
password: string | null | undefined;
|
|
173
173
|
country_code: string | null | undefined;
|
|
174
174
|
profile_image_url: string | null | undefined;
|
|
175
175
|
primary_email_verified: boolean | undefined;
|
|
@@ -370,12 +370,12 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
370
370
|
}, "">;
|
|
371
371
|
serverCreateSchema: yup$1.ObjectSchema<{
|
|
372
372
|
primary_email: string | null | undefined;
|
|
373
|
-
password: string | null | undefined;
|
|
374
373
|
display_name: string | null | undefined;
|
|
375
374
|
client_metadata: {} | null | undefined;
|
|
376
375
|
client_read_only_metadata: {} | null | undefined;
|
|
377
376
|
server_metadata: {} | null | undefined;
|
|
378
377
|
is_anonymous: boolean | undefined;
|
|
378
|
+
password: string | null | undefined;
|
|
379
379
|
country_code: string | null | undefined;
|
|
380
380
|
profile_image_url: string | null | undefined;
|
|
381
381
|
primary_email_verified: boolean | undefined;
|
|
@@ -56,9 +56,9 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
|
|
|
56
56
|
preview: string | null;
|
|
57
57
|
lastActivityAt: string;
|
|
58
58
|
metadata: {
|
|
59
|
+
tags: string[];
|
|
59
60
|
assignedToUserId: string | null;
|
|
60
61
|
assignedToDisplayName: string | null;
|
|
61
|
-
tags: string[];
|
|
62
62
|
firstResponseDueAt: string | null;
|
|
63
63
|
firstResponseAt: string | null;
|
|
64
64
|
nextResponseDueAt: string | null;
|
|
@@ -174,22 +174,22 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
174
174
|
closedAt?: string | null | undefined;
|
|
175
175
|
recordMetadata?: {} | null | undefined;
|
|
176
176
|
status: "open" | "pending" | "closed";
|
|
177
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
178
|
+
subject: string;
|
|
177
179
|
conversationId: string;
|
|
178
180
|
userId: string | null;
|
|
179
181
|
teamId: string | null;
|
|
180
182
|
userDisplayName: string | null;
|
|
181
183
|
userPrimaryEmail: string | null;
|
|
182
184
|
userProfileImageUrl: string | null;
|
|
183
|
-
subject: string;
|
|
184
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
185
185
|
source: "email" | "manual" | "chat" | "api";
|
|
186
186
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
187
187
|
preview: string | null;
|
|
188
188
|
lastActivityAt: string;
|
|
189
189
|
metadata: {
|
|
190
|
+
tags: string[];
|
|
190
191
|
assignedToUserId: string | null;
|
|
191
192
|
assignedToDisplayName: string | null;
|
|
192
|
-
tags: string[];
|
|
193
193
|
firstResponseDueAt: string | null;
|
|
194
194
|
firstResponseAt: string | null;
|
|
195
195
|
nextResponseDueAt: string | null;
|
|
@@ -212,22 +212,22 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
212
212
|
closedAt?: string | null | undefined;
|
|
213
213
|
recordMetadata?: {} | null | undefined;
|
|
214
214
|
status: "open" | "pending" | "closed";
|
|
215
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
216
|
+
subject: string;
|
|
215
217
|
conversationId: string;
|
|
216
218
|
userId: string | null;
|
|
217
219
|
teamId: string | null;
|
|
218
220
|
userDisplayName: string | null;
|
|
219
221
|
userPrimaryEmail: string | null;
|
|
220
222
|
userProfileImageUrl: string | null;
|
|
221
|
-
subject: string;
|
|
222
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
223
223
|
source: "email" | "manual" | "chat" | "api";
|
|
224
224
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
225
225
|
preview: string | null;
|
|
226
226
|
lastActivityAt: string;
|
|
227
227
|
metadata: {
|
|
228
|
+
tags: string[];
|
|
228
229
|
assignedToUserId: string | null;
|
|
229
230
|
assignedToDisplayName: string | null;
|
|
230
|
-
tags: string[];
|
|
231
231
|
firstResponseDueAt: string | null;
|
|
232
232
|
firstResponseAt: string | null;
|
|
233
233
|
nextResponseDueAt: string | null;
|
|
@@ -238,11 +238,11 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
238
238
|
messages: {
|
|
239
239
|
status: "open" | "pending" | "closed";
|
|
240
240
|
id: string;
|
|
241
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
242
|
+
subject: string;
|
|
241
243
|
conversationId: string;
|
|
242
244
|
userId: string | null;
|
|
243
245
|
teamId: string | null;
|
|
244
|
-
subject: string;
|
|
245
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
246
246
|
source: "email" | "manual" | "chat" | "api";
|
|
247
247
|
metadata: {} | null;
|
|
248
248
|
createdAt: string;
|