@hexclave/shared 1.0.18 → 1.0.20
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 +10 -7
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +242 -15
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/apps/apps-config.d.ts +7 -3
- package/dist/apps/apps-config.d.ts.map +1 -1
- package/dist/apps/apps-config.js +12 -4
- package/dist/apps/apps-config.js.map +1 -1
- package/dist/config/schema-fuzzer.test.js +4 -1
- package/dist/config/schema-fuzzer.test.js.map +1 -1
- package/dist/config/schema.d.ts +85 -76
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +7 -3
- package/dist/config/schema.js.map +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js +10 -7
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +242 -16
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/esm/apps/apps-config.d.ts +7 -3
- package/dist/esm/apps/apps-config.d.ts.map +1 -1
- package/dist/esm/apps/apps-config.js +12 -5
- package/dist/esm/apps/apps-config.js.map +1 -1
- package/dist/esm/config/schema-fuzzer.test.js +4 -1
- package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
- package/dist/esm/config/schema.d.ts +85 -76
- package/dist/esm/config/schema.d.ts.map +1 -1
- package/dist/esm/config/schema.js +8 -4
- package/dist/esm/config/schema.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +5 -5
- package/dist/esm/interface/conversations.d.ts +13 -13
- package/dist/esm/interface/crud/current-user.d.ts +5 -5
- package/dist/esm/interface/crud/email-outbox.d.ts +164 -164
- package/dist/esm/interface/crud/products.d.ts +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/esm/interface/crud/projects.d.ts +35 -35
- package/dist/esm/interface/crud/team-member-profiles.d.ts +12 -12
- package/dist/esm/interface/crud/users.d.ts +12 -12
- package/dist/esm/interface/page-component-versions.d.ts.map +1 -1
- package/dist/esm/interface/page-component-versions.js +20 -4
- package/dist/esm/interface/page-component-versions.js.map +1 -1
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/schema-fields.d.ts +3 -1
- package/dist/esm/schema-fields.d.ts.map +1 -1
- package/dist/esm/schema-fields.js +9 -1
- package/dist/esm/schema-fields.js.map +1 -1
- package/dist/esm/utils/oauth.d.ts +8 -1
- package/dist/esm/utils/oauth.d.ts.map +1 -1
- package/dist/esm/utils/oauth.js +7 -1
- package/dist/esm/utils/oauth.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +5 -5
- package/dist/interface/conversations.d.ts +13 -13
- package/dist/interface/crud/current-user.d.ts +5 -5
- package/dist/interface/crud/email-outbox.d.ts +164 -164
- package/dist/interface/crud/products.d.ts +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/interface/crud/projects.d.ts +35 -35
- package/dist/interface/crud/team-member-profiles.d.ts +12 -12
- package/dist/interface/crud/users.d.ts +12 -12
- package/dist/interface/page-component-versions.d.ts.map +1 -1
- package/dist/interface/page-component-versions.js +20 -4
- package/dist/interface/page-component-versions.js.map +1 -1
- package/dist/interface/webhooks.d.ts +4 -4
- package/dist/schema-fields.d.ts +3 -1
- package/dist/schema-fields.d.ts.map +1 -1
- package/dist/schema-fields.js +10 -0
- package/dist/schema-fields.js.map +1 -1
- package/dist/utils/oauth.d.ts +8 -1
- package/dist/utils/oauth.d.ts.map +1 -1
- package/dist/utils/oauth.js +7 -0
- package/dist/utils/oauth.js.map +1 -1
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +10 -7
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +248 -15
- package/src/ai/unified-prompts/skill-site-prompt.ts +1 -1
- package/src/apps/apps-config.ts +13 -2
- package/src/config/schema-fuzzer.test.ts +3 -0
- package/src/config/schema.ts +9 -4
- package/src/interface/page-component-versions.ts +20 -4
- package/src/schema-fields.ts +2 -0
- package/src/utils/oauth.tsx +8 -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: "pending" | "open" | "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: "pending" | "open" | "closed";
|
|
133
133
|
priority: "low" | "normal" | "high" | "urgent";
|
|
134
134
|
source: "email" | "manual" | "chat" | "api";
|
|
135
135
|
messageType: "message" | "internal-note" | "status-change";
|
|
@@ -139,8 +139,8 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
|
|
|
139
139
|
createdAt: string;
|
|
140
140
|
sender: {
|
|
141
141
|
type: "user" | "agent" | "system";
|
|
142
|
-
id: string | null;
|
|
143
142
|
displayName: string | null;
|
|
143
|
+
id: string | null;
|
|
144
144
|
primaryEmail: string | null;
|
|
145
145
|
};
|
|
146
146
|
}, yup$1.AnyObject, {
|
|
@@ -173,7 +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
|
-
status: "
|
|
176
|
+
status: "pending" | "open" | "closed";
|
|
177
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
177
178
|
subject: string;
|
|
178
179
|
conversationId: string;
|
|
179
180
|
userId: string | null;
|
|
@@ -181,15 +182,14 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
181
182
|
userDisplayName: string | null;
|
|
182
183
|
userPrimaryEmail: string | null;
|
|
183
184
|
userProfileImageUrl: string | null;
|
|
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[];
|
|
191
190
|
assignedToUserId: string | null;
|
|
192
191
|
assignedToDisplayName: string | null;
|
|
192
|
+
tags: string[];
|
|
193
193
|
firstResponseDueAt: string | null;
|
|
194
194
|
firstResponseAt: string | null;
|
|
195
195
|
nextResponseDueAt: string | null;
|
|
@@ -211,7 +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
|
-
status: "
|
|
214
|
+
status: "pending" | "open" | "closed";
|
|
215
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
215
216
|
subject: string;
|
|
216
217
|
conversationId: string;
|
|
217
218
|
userId: string | null;
|
|
@@ -219,15 +220,14 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
219
220
|
userDisplayName: string | null;
|
|
220
221
|
userPrimaryEmail: string | null;
|
|
221
222
|
userProfileImageUrl: string | null;
|
|
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[];
|
|
229
228
|
assignedToUserId: string | null;
|
|
230
229
|
assignedToDisplayName: string | null;
|
|
230
|
+
tags: string[];
|
|
231
231
|
firstResponseDueAt: string | null;
|
|
232
232
|
firstResponseAt: string | null;
|
|
233
233
|
nextResponseDueAt: string | null;
|
|
@@ -236,13 +236,13 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
238
|
messages: {
|
|
239
|
-
status: "
|
|
239
|
+
status: "pending" | "open" | "closed";
|
|
240
240
|
id: string;
|
|
241
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
241
242
|
subject: string;
|
|
242
243
|
conversationId: string;
|
|
243
244
|
userId: string | null;
|
|
244
245
|
teamId: string | null;
|
|
245
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
246
246
|
source: "email" | "manual" | "chat" | "api";
|
|
247
247
|
metadata: {} | null;
|
|
248
248
|
createdAt: string;
|
|
@@ -251,8 +251,8 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
251
251
|
attachments: {}[];
|
|
252
252
|
sender: {
|
|
253
253
|
type: "user" | "agent" | "system";
|
|
254
|
-
id: string | null;
|
|
255
254
|
displayName: string | null;
|
|
255
|
+
id: string | null;
|
|
256
256
|
primaryEmail: string | null;
|
|
257
257
|
};
|
|
258
258
|
}[];
|
|
@@ -8,17 +8,17 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
8
8
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
9
9
|
} | null;
|
|
10
10
|
primary_email: string | null;
|
|
11
|
-
id: string;
|
|
12
11
|
display_name: string | null;
|
|
13
12
|
client_metadata: {} | null;
|
|
14
13
|
client_read_only_metadata: {} | null;
|
|
14
|
+
id: string;
|
|
15
15
|
selected_team_id: string | null;
|
|
16
16
|
is_anonymous: boolean;
|
|
17
17
|
is_restricted: boolean;
|
|
18
18
|
requires_totp_mfa: boolean;
|
|
19
19
|
profile_image_url: string | null;
|
|
20
|
-
primary_email_verified: boolean;
|
|
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;
|
|
@@ -34,8 +34,8 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
34
34
|
selected_team: {
|
|
35
35
|
client_metadata?: {} | null | undefined;
|
|
36
36
|
client_read_only_metadata?: {} | null | undefined;
|
|
37
|
-
id: string;
|
|
38
37
|
display_name: string;
|
|
38
|
+
id: string;
|
|
39
39
|
profile_image_url: string | null;
|
|
40
40
|
} | null;
|
|
41
41
|
}, yup$1.AnyObject, {
|
|
@@ -90,10 +90,10 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
90
90
|
client_metadata?: {} | null | undefined;
|
|
91
91
|
client_read_only_metadata?: {} | null | undefined;
|
|
92
92
|
server_metadata?: {} | null | undefined;
|
|
93
|
-
id: string;
|
|
94
93
|
display_name: string;
|
|
95
|
-
|
|
94
|
+
id: string;
|
|
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;
|