@hexclave/shared 1.0.29 → 1.0.30
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/config/schema.d.ts +65 -65
- package/dist/esm/config/schema.d.ts +65 -65
- package/dist/esm/interface/admin-metrics.d.ts +8 -8
- package/dist/esm/interface/conversations.d.ts +27 -27
- package/dist/esm/interface/crud/current-user.d.ts +8 -8
- package/dist/esm/interface/crud/email-outbox.d.ts +196 -196
- package/dist/esm/interface/crud/products.d.ts +13 -13
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +5 -5
- 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/transactions.d.ts +6 -6
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +10 -10
- package/dist/esm/interface/plan-usage.d.ts +2 -2
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/schema-fields.d.ts +1 -1
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/interface/admin-metrics.d.ts +8 -8
- package/dist/interface/conversations.d.ts +27 -27
- package/dist/interface/crud/current-user.d.ts +8 -8
- package/dist/interface/crud/email-outbox.d.ts +196 -196
- package/dist/interface/crud/products.d.ts +13 -13
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +5 -5
- package/dist/interface/crud/projects.d.ts +35 -35
- package/dist/interface/crud/team-member-profiles.d.ts +12 -12
- package/dist/interface/crud/transactions.d.ts +6 -6
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +10 -10
- package/dist/interface/plan-usage.d.ts +2 -2
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/schema-fields.d.ts +1 -1
- package/dist/sessions.d.ts +7 -7
- package/package.json +1 -1
|
@@ -150,9 +150,9 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
|
|
|
150
150
|
activity: number;
|
|
151
151
|
}[];
|
|
152
152
|
daily_emails_by_status: {
|
|
153
|
+
error: number;
|
|
153
154
|
date: string;
|
|
154
155
|
ok: number;
|
|
155
|
-
error: number;
|
|
156
156
|
in_progress: number;
|
|
157
157
|
}[];
|
|
158
158
|
emails_sent: number;
|
|
@@ -369,7 +369,7 @@ declare const UserActivityResponseBodySchema: yup.ObjectSchema<{
|
|
|
369
369
|
data_points: undefined;
|
|
370
370
|
}, "">;
|
|
371
371
|
declare const AnalyticsClickmapKindSchema: yup.StringSchema<"team_user_hour_of_week" | "session_replay_clicks", yup.AnyObject, undefined, "">;
|
|
372
|
-
declare const AnalyticsClickmapDeviceSchema: yup.StringSchema<"tv" | "widescreen" | "desktop" | "laptop" | "tablet"
|
|
372
|
+
declare const AnalyticsClickmapDeviceSchema: yup.StringSchema<"mobile" | "tv" | "widescreen" | "desktop" | "laptop" | "tablet", yup.AnyObject, undefined, "">;
|
|
373
373
|
declare const AnalyticsClickmapTokenResponseBodySchema: yup.ObjectSchema<{
|
|
374
374
|
token: string;
|
|
375
375
|
origin: string;
|
|
@@ -403,8 +403,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
|
|
|
403
403
|
replays: number;
|
|
404
404
|
}[];
|
|
405
405
|
users: {
|
|
406
|
-
display_name: string | null;
|
|
407
406
|
primary_email: string | null;
|
|
407
|
+
display_name: string | null;
|
|
408
408
|
id: string;
|
|
409
409
|
profile_image_url: string | null;
|
|
410
410
|
clicks: number;
|
|
@@ -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
|
-
display_name: string | null;
|
|
447
446
|
primary_email: string | null;
|
|
447
|
+
display_name: string | null;
|
|
448
448
|
id: string;
|
|
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
|
-
display_name: string | null;
|
|
475
474
|
primary_email: string | null;
|
|
475
|
+
display_name: string | null;
|
|
476
476
|
id: string;
|
|
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
|
-
display_name: string | null;
|
|
483
482
|
primary_email: string | null;
|
|
483
|
+
display_name: string | null;
|
|
484
484
|
id: string;
|
|
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
|
-
display_name: string | null;
|
|
491
490
|
primary_email: string | null;
|
|
491
|
+
display_name: string | null;
|
|
492
492
|
id: string;
|
|
493
493
|
profile_image_url: string | null;
|
|
494
494
|
signed_up_at_millis: number;
|
|
@@ -563,9 +563,9 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
563
563
|
emails_by_status: Record<string, number>;
|
|
564
564
|
total_emails: number;
|
|
565
565
|
daily_emails_by_status: {
|
|
566
|
+
error: number;
|
|
566
567
|
date: string;
|
|
567
568
|
ok: number;
|
|
568
|
-
error: number;
|
|
569
569
|
in_progress: number;
|
|
570
570
|
}[];
|
|
571
571
|
emails_sent: number;
|
|
@@ -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, {
|
|
@@ -174,18 +174,7 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
174
174
|
closedAt?: string | null | undefined;
|
|
175
175
|
recordMetadata?: {} | null | undefined;
|
|
176
176
|
status: "pending" | "open" | "closed";
|
|
177
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
178
|
-
subject: string;
|
|
179
|
-
conversationId: string;
|
|
180
|
-
userId: string | null;
|
|
181
|
-
teamId: string | null;
|
|
182
|
-
userDisplayName: string | null;
|
|
183
|
-
userPrimaryEmail: string | null;
|
|
184
|
-
userProfileImageUrl: string | null;
|
|
185
177
|
source: "email" | "manual" | "chat" | "api";
|
|
186
|
-
lastMessageType: "message" | "internal-note" | "status-change";
|
|
187
|
-
preview: string | null;
|
|
188
|
-
lastActivityAt: string;
|
|
189
178
|
metadata: {
|
|
190
179
|
tags: string[];
|
|
191
180
|
assignedToUserId: string | null;
|
|
@@ -196,6 +185,17 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
196
185
|
lastCustomerReplyAt: string | null;
|
|
197
186
|
lastAgentReplyAt: string | null;
|
|
198
187
|
};
|
|
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, {
|
|
@@ -212,18 +212,7 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
212
212
|
closedAt?: string | null | undefined;
|
|
213
213
|
recordMetadata?: {} | null | undefined;
|
|
214
214
|
status: "pending" | "open" | "closed";
|
|
215
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
216
|
-
subject: string;
|
|
217
|
-
conversationId: string;
|
|
218
|
-
userId: string | null;
|
|
219
|
-
teamId: string | null;
|
|
220
|
-
userDisplayName: string | null;
|
|
221
|
-
userPrimaryEmail: string | null;
|
|
222
|
-
userProfileImageUrl: string | null;
|
|
223
215
|
source: "email" | "manual" | "chat" | "api";
|
|
224
|
-
lastMessageType: "message" | "internal-note" | "status-change";
|
|
225
|
-
preview: string | null;
|
|
226
|
-
lastActivityAt: string;
|
|
227
216
|
metadata: {
|
|
228
217
|
tags: string[];
|
|
229
218
|
assignedToUserId: string | null;
|
|
@@ -234,25 +223,36 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
234
223
|
lastCustomerReplyAt: string | null;
|
|
235
224
|
lastAgentReplyAt: string | null;
|
|
236
225
|
};
|
|
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
239
|
status: "pending" | "open" | "closed";
|
|
240
240
|
id: string;
|
|
241
|
+
body: string | null;
|
|
242
|
+
source: "email" | "manual" | "chat" | "api";
|
|
243
|
+
metadata: {} | null;
|
|
241
244
|
priority: "low" | "normal" | "high" | "urgent";
|
|
242
245
|
subject: string;
|
|
243
246
|
conversationId: string;
|
|
244
247
|
userId: string | null;
|
|
245
248
|
teamId: string | null;
|
|
246
|
-
source: "email" | "manual" | "chat" | "api";
|
|
247
|
-
metadata: {} | null;
|
|
248
249
|
createdAt: string;
|
|
249
250
|
messageType: "message" | "internal-note" | "status-change";
|
|
250
|
-
body: string | null;
|
|
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
|
}[];
|
|
@@ -4,23 +4,24 @@ import * as yup$1 from "yup";
|
|
|
4
4
|
//#region src/interface/crud/current-user.d.ts
|
|
5
5
|
declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
6
6
|
clientReadSchema: yup$1.ObjectSchema<{
|
|
7
|
-
display_name: string | null;
|
|
8
7
|
restricted_reason: {
|
|
9
8
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
10
9
|
} | null;
|
|
11
10
|
primary_email: string | null;
|
|
11
|
+
selected_team_id: string | null;
|
|
12
|
+
is_anonymous: boolean;
|
|
13
|
+
is_restricted: boolean;
|
|
14
|
+
requires_totp_mfa: boolean;
|
|
15
|
+
display_name: string | null;
|
|
12
16
|
client_metadata: {} | null;
|
|
13
17
|
client_read_only_metadata: {} | null;
|
|
14
18
|
id: string;
|
|
15
19
|
primary_email_verified: boolean;
|
|
16
20
|
profile_image_url: string | null;
|
|
17
|
-
selected_team_id: string | null;
|
|
18
21
|
signed_up_at_millis: number;
|
|
19
22
|
has_password: boolean;
|
|
20
23
|
otp_auth_enabled: boolean;
|
|
21
24
|
passkey_auth_enabled: boolean;
|
|
22
|
-
is_anonymous: boolean;
|
|
23
|
-
is_restricted: boolean;
|
|
24
25
|
restricted_by_admin: boolean;
|
|
25
26
|
restricted_by_admin_reason: string | null;
|
|
26
27
|
oauth_providers: {
|
|
@@ -29,7 +30,6 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
29
30
|
account_id: string;
|
|
30
31
|
}[];
|
|
31
32
|
auth_with_email: boolean;
|
|
32
|
-
requires_totp_mfa: boolean;
|
|
33
33
|
} & {
|
|
34
34
|
selected_team: {
|
|
35
35
|
client_metadata?: {} | null | undefined;
|
|
@@ -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;
|
|
@@ -172,11 +172,11 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
172
172
|
requires_totp_mfa: undefined;
|
|
173
173
|
}, "">;
|
|
174
174
|
clientUpdateSchema: yup$1.ObjectSchema<{
|
|
175
|
-
display_name: string | null | undefined;
|
|
176
175
|
primary_email: string | null | undefined;
|
|
176
|
+
selected_team_id: string | null | undefined;
|
|
177
|
+
display_name: string | null | undefined;
|
|
177
178
|
client_metadata: {} | null | undefined;
|
|
178
179
|
profile_image_url: string | null | undefined;
|
|
179
|
-
selected_team_id: string | null | undefined;
|
|
180
180
|
otp_auth_enabled: boolean | undefined;
|
|
181
181
|
passkey_auth_enabled: boolean | undefined;
|
|
182
182
|
totp_secret_base64: string | null | undefined;
|