@hexclave/shared 1.0.6 → 1.0.8
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/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 +10 -7
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -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 +10 -7
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +2 -2
- package/dist/esm/interface/client-interface.js +1 -1
- package/dist/esm/interface/client-interface.js.map +1 -1
- package/dist/esm/interface/conversations.d.ts +27 -27
- package/dist/esm/interface/crud/current-user.d.ts +2 -2
- package/dist/esm/interface/crud/email-outbox.d.ts +156 -156
- package/dist/esm/interface/crud/team-member-profiles.d.ts +10 -10
- package/dist/esm/interface/crud/users.d.ts +8 -8
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/interface/admin-metrics.d.ts +12 -12
- package/dist/interface/client-interface.js +1 -1
- package/dist/interface/client-interface.js.map +1 -1
- package/dist/interface/conversations.d.ts +27 -27
- package/dist/interface/crud/current-user.d.ts +2 -2
- package/dist/interface/crud/email-outbox.d.ts +156 -156
- package/dist/interface/crud/team-member-profiles.d.ts +10 -10
- package/dist/interface/crud/users.d.ts +8 -8
- package/dist/interface/webhooks.d.ts +2 -2
- package/package.json +1 -1
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +10 -7
- package/src/interface/client-interface.ts +2 -2
|
@@ -34,27 +34,27 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
34
34
|
client_read_only_metadata: {} | null;
|
|
35
35
|
server_metadata: {} | null;
|
|
36
36
|
id: string;
|
|
37
|
+
country_code: string | null;
|
|
38
|
+
profile_image_url: string | null;
|
|
39
|
+
signed_up_at_millis: number;
|
|
40
|
+
last_active_at_millis: number;
|
|
37
41
|
primary_email_verified: boolean;
|
|
38
42
|
primary_email_auth_enabled: boolean;
|
|
39
|
-
profile_image_url: string | null;
|
|
40
43
|
selected_team: {
|
|
41
44
|
client_metadata?: {} | null | undefined;
|
|
42
45
|
client_read_only_metadata?: {} | null | undefined;
|
|
43
46
|
server_metadata?: {} | null | undefined;
|
|
44
47
|
display_name: string;
|
|
45
48
|
id: string;
|
|
46
|
-
profile_image_url: string | null;
|
|
47
49
|
created_at_millis: number;
|
|
50
|
+
profile_image_url: string | null;
|
|
48
51
|
} | null;
|
|
49
|
-
signed_up_at_millis: number;
|
|
50
52
|
has_password: boolean;
|
|
51
53
|
otp_auth_enabled: boolean;
|
|
52
54
|
passkey_auth_enabled: boolean;
|
|
53
|
-
last_active_at_millis: number;
|
|
54
55
|
restricted_by_admin: boolean;
|
|
55
56
|
restricted_by_admin_reason: string | null;
|
|
56
57
|
restricted_by_admin_private_details: string | null;
|
|
57
|
-
country_code: string | null;
|
|
58
58
|
risk_scores: {
|
|
59
59
|
sign_up: {
|
|
60
60
|
bot: number;
|
|
@@ -157,27 +157,27 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
157
157
|
client_read_only_metadata: {} | null;
|
|
158
158
|
server_metadata: {} | null;
|
|
159
159
|
id: string;
|
|
160
|
+
country_code: string | null;
|
|
161
|
+
profile_image_url: string | null;
|
|
162
|
+
signed_up_at_millis: number;
|
|
163
|
+
last_active_at_millis: number;
|
|
160
164
|
primary_email_verified: boolean;
|
|
161
165
|
primary_email_auth_enabled: boolean;
|
|
162
|
-
profile_image_url: string | null;
|
|
163
166
|
selected_team: {
|
|
164
167
|
client_metadata?: {} | null | undefined;
|
|
165
168
|
client_read_only_metadata?: {} | null | undefined;
|
|
166
169
|
server_metadata?: {} | null | undefined;
|
|
167
170
|
display_name: string;
|
|
168
171
|
id: string;
|
|
169
|
-
profile_image_url: string | null;
|
|
170
172
|
created_at_millis: number;
|
|
173
|
+
profile_image_url: string | null;
|
|
171
174
|
} | null;
|
|
172
|
-
signed_up_at_millis: number;
|
|
173
175
|
has_password: boolean;
|
|
174
176
|
otp_auth_enabled: boolean;
|
|
175
177
|
passkey_auth_enabled: boolean;
|
|
176
|
-
last_active_at_millis: number;
|
|
177
178
|
restricted_by_admin: boolean;
|
|
178
179
|
restricted_by_admin_reason: string | null;
|
|
179
180
|
restricted_by_admin_private_details: string | null;
|
|
180
|
-
country_code: string | null;
|
|
181
181
|
risk_scores: {
|
|
182
182
|
sign_up: {
|
|
183
183
|
bot: number;
|
|
@@ -83,8 +83,8 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
83
83
|
server_metadata?: {} | null | undefined;
|
|
84
84
|
display_name: string;
|
|
85
85
|
id: string;
|
|
86
|
-
profile_image_url: string | null;
|
|
87
86
|
created_at_millis: number;
|
|
87
|
+
profile_image_url: string | null;
|
|
88
88
|
} | null;
|
|
89
89
|
selected_team_id: string | null;
|
|
90
90
|
profile_image_url: string | null;
|
|
@@ -170,15 +170,15 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
|
170
170
|
client_read_only_metadata: {} | null | undefined;
|
|
171
171
|
server_metadata: {} | null | undefined;
|
|
172
172
|
password: string | null | undefined;
|
|
173
|
+
country_code: string | null | undefined;
|
|
174
|
+
profile_image_url: string | null | undefined;
|
|
173
175
|
primary_email_verified: boolean | undefined;
|
|
174
176
|
primary_email_auth_enabled: boolean | undefined;
|
|
175
|
-
profile_image_url: string | null | undefined;
|
|
176
177
|
otp_auth_enabled: boolean | undefined;
|
|
177
178
|
passkey_auth_enabled: boolean | undefined;
|
|
178
179
|
restricted_by_admin: boolean | undefined;
|
|
179
180
|
restricted_by_admin_reason: string | null | undefined;
|
|
180
181
|
restricted_by_admin_private_details: string | null | undefined;
|
|
181
|
-
country_code: string | null | undefined;
|
|
182
182
|
risk_scores: {
|
|
183
183
|
sign_up: {
|
|
184
184
|
bot: number;
|
|
@@ -236,8 +236,8 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
236
236
|
server_metadata?: {} | null | undefined;
|
|
237
237
|
display_name: string;
|
|
238
238
|
id: string;
|
|
239
|
-
profile_image_url: string | null;
|
|
240
239
|
created_at_millis: number;
|
|
240
|
+
profile_image_url: string | null;
|
|
241
241
|
} | null;
|
|
242
242
|
selected_team_id: string | null;
|
|
243
243
|
profile_image_url: string | null;
|
|
@@ -376,15 +376,15 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
376
376
|
client_read_only_metadata: {} | null | undefined;
|
|
377
377
|
server_metadata: {} | null | undefined;
|
|
378
378
|
password: string | null | undefined;
|
|
379
|
+
country_code: string | null | undefined;
|
|
380
|
+
profile_image_url: string | null | undefined;
|
|
379
381
|
primary_email_verified: boolean | undefined;
|
|
380
382
|
primary_email_auth_enabled: boolean | undefined;
|
|
381
|
-
profile_image_url: string | null | undefined;
|
|
382
383
|
otp_auth_enabled: boolean | undefined;
|
|
383
384
|
passkey_auth_enabled: boolean | undefined;
|
|
384
385
|
restricted_by_admin: boolean | undefined;
|
|
385
386
|
restricted_by_admin_reason: string | null | undefined;
|
|
386
387
|
restricted_by_admin_private_details: string | null | undefined;
|
|
387
|
-
country_code: string | null | undefined;
|
|
388
388
|
risk_scores: {
|
|
389
389
|
sign_up: {
|
|
390
390
|
bot: number;
|
|
@@ -470,8 +470,8 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
|
|
|
470
470
|
server_metadata?: {} | null | undefined;
|
|
471
471
|
display_name: string;
|
|
472
472
|
id: string;
|
|
473
|
-
profile_image_url: string | null;
|
|
474
473
|
created_at_millis: number;
|
|
474
|
+
profile_image_url: string | null;
|
|
475
475
|
} | null;
|
|
476
476
|
selected_team_id: string | null;
|
|
477
477
|
profile_image_url: string | null;
|
|
@@ -561,8 +561,8 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
|
|
|
561
561
|
server_metadata?: {} | null | undefined;
|
|
562
562
|
display_name: string;
|
|
563
563
|
id: string;
|
|
564
|
-
profile_image_url: string | null;
|
|
565
564
|
created_at_millis: number;
|
|
565
|
+
profile_image_url: string | null;
|
|
566
566
|
} | null;
|
|
567
567
|
selected_team_id: string | null;
|
|
568
568
|
profile_image_url: string | null;
|
|
@@ -22,8 +22,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
|
|
|
22
22
|
server_metadata?: {} | null | undefined;
|
|
23
23
|
display_name: string;
|
|
24
24
|
id: string;
|
|
25
|
-
profile_image_url: string | null;
|
|
26
25
|
created_at_millis: number;
|
|
26
|
+
profile_image_url: string | null;
|
|
27
27
|
} | null;
|
|
28
28
|
selected_team_id: string | null;
|
|
29
29
|
profile_image_url: string | null;
|
|
@@ -112,8 +112,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
|
|
|
112
112
|
server_metadata?: {} | null | undefined;
|
|
113
113
|
display_name: string;
|
|
114
114
|
id: string;
|
|
115
|
-
profile_image_url: string | null;
|
|
116
115
|
created_at_millis: number;
|
|
116
|
+
profile_image_url: string | null;
|
|
117
117
|
} | null;
|
|
118
118
|
selected_team_id: string | null;
|
|
119
119
|
profile_image_url: string | null;
|
|
@@ -150,15 +150,15 @@ 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;
|
|
159
159
|
recent_emails: {
|
|
160
|
-
id: string;
|
|
161
160
|
status: string;
|
|
161
|
+
id: string;
|
|
162
162
|
subject: string;
|
|
163
163
|
created_at_millis: number;
|
|
164
164
|
}[];
|
|
@@ -310,9 +310,9 @@ declare const UserActivityResponseBodySchema: yup.ObjectSchema<{
|
|
|
310
310
|
data_points: undefined;
|
|
311
311
|
}, "">;
|
|
312
312
|
declare const MetricsActiveUsersByCountrySchema: yup.MixedSchema<Record<string, {
|
|
313
|
-
id: string;
|
|
314
|
-
display_name: string | null;
|
|
315
313
|
primary_email: string | null;
|
|
314
|
+
display_name: string | null;
|
|
315
|
+
id: string;
|
|
316
316
|
profile_image_url: string | null;
|
|
317
317
|
signed_up_at_millis: number;
|
|
318
318
|
last_active_at_millis: number | null;
|
|
@@ -330,25 +330,25 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
330
330
|
}[];
|
|
331
331
|
users_by_country: Record<string, number>;
|
|
332
332
|
active_users_by_country: Record<string, {
|
|
333
|
-
id: string;
|
|
334
|
-
display_name: string | null;
|
|
335
333
|
primary_email: string | null;
|
|
334
|
+
display_name: string | null;
|
|
335
|
+
id: string;
|
|
336
336
|
profile_image_url: string | null;
|
|
337
337
|
signed_up_at_millis: number;
|
|
338
338
|
last_active_at_millis: number | null;
|
|
339
339
|
}[]>;
|
|
340
340
|
recently_registered: {
|
|
341
|
-
id: string;
|
|
342
|
-
display_name: string | null;
|
|
343
341
|
primary_email: string | null;
|
|
342
|
+
display_name: string | null;
|
|
343
|
+
id: string;
|
|
344
344
|
profile_image_url: string | null;
|
|
345
345
|
signed_up_at_millis: number;
|
|
346
346
|
last_active_at_millis: number | null;
|
|
347
347
|
}[];
|
|
348
348
|
recently_active: {
|
|
349
|
-
id: string;
|
|
350
|
-
display_name: string | null;
|
|
351
349
|
primary_email: string | null;
|
|
350
|
+
display_name: string | null;
|
|
351
|
+
id: string;
|
|
352
352
|
profile_image_url: string | null;
|
|
353
353
|
signed_up_at_millis: number;
|
|
354
354
|
last_active_at_millis: number | null;
|
|
@@ -422,15 +422,15 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
422
422
|
emails_by_status: Record<string, number>;
|
|
423
423
|
total_emails: number;
|
|
424
424
|
daily_emails_by_status: {
|
|
425
|
+
error: number;
|
|
425
426
|
date: string;
|
|
426
427
|
ok: number;
|
|
427
|
-
error: number;
|
|
428
428
|
in_progress: number;
|
|
429
429
|
}[];
|
|
430
430
|
emails_sent: number;
|
|
431
431
|
recent_emails: {
|
|
432
|
-
id: string;
|
|
433
432
|
status: string;
|
|
433
|
+
id: string;
|
|
434
434
|
subject: string;
|
|
435
435
|
created_at_millis: number;
|
|
436
436
|
}[];
|
|
@@ -1213,7 +1213,7 @@ var HexclaveClientInterface = class {
|
|
|
1213
1213
|
await (0, ___utils_promises_js.wait)(Number(retryAfter) * 1e3);
|
|
1214
1214
|
return ___utils_results_js.Result.error(/* @__PURE__ */ new Error(`Rate limited, retrying after ${retryAfter} seconds`));
|
|
1215
1215
|
}
|
|
1216
|
-
console.log(`Rate limited while sending request to ${url}, no retry-after header received. Retrying...`);
|
|
1216
|
+
console.log(`Rate limited while sending request to ${url}, no retry-after header received. Retrying with default backoff...`);
|
|
1217
1217
|
return ___utils_results_js.Result.error(/* @__PURE__ */ new Error("Rate limited, no retry-after header received"));
|
|
1218
1218
|
} else {
|
|
1219
1219
|
const error = await res.text();
|