@hexclave/shared 1.0.38 → 1.0.40
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 +2 -2
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/config/schema.d.ts +149 -149
- package/dist/esm/ai/unified-prompts/reminders.js +2 -2
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/config/schema.d.ts +149 -149
- package/dist/esm/hooks/use-async-callback.js +1 -1
- package/dist/esm/hooks/use-async-external-store.js +1 -1
- package/dist/esm/hooks/use-strict-memo.js +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +4 -4
- package/dist/esm/interface/conversations.d.ts +24 -24
- package/dist/esm/interface/crud/current-user.d.ts +2 -2
- package/dist/esm/interface/crud/email-outbox.d.ts +42 -42
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- 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/server-interface.d.ts +1 -0
- package/dist/esm/interface/server-interface.d.ts.map +1 -1
- package/dist/esm/interface/server-interface.js +1 -0
- package/dist/esm/interface/server-interface.js.map +1 -1
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/hooks/use-async-callback.js +1 -1
- package/dist/hooks/use-async-external-store.js +1 -1
- package/dist/hooks/use-strict-memo.js +1 -1
- package/dist/interface/admin-metrics.d.ts +4 -4
- package/dist/interface/conversations.d.ts +24 -24
- package/dist/interface/crud/current-user.d.ts +2 -2
- package/dist/interface/crud/email-outbox.d.ts +42 -42
- package/dist/interface/crud/invoices.d.ts +2 -2
- package/dist/interface/crud/team-member-profiles.d.ts +10 -10
- package/dist/interface/crud/users.d.ts +8 -8
- package/dist/interface/server-interface.d.ts +1 -0
- package/dist/interface/server-interface.d.ts.map +1 -1
- package/dist/interface/server-interface.js +1 -0
- package/dist/interface/server-interface.js.map +1 -1
- package/dist/interface/webhooks.d.ts +2 -2
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +1 -1
- package/src/interface/server-interface.ts +2 -0
- package/dist/esm/local-emulator.d.ts +0 -6
- package/dist/esm/local-emulator.d.ts.map +0 -1
- package/dist/esm/local-emulator.js +0 -7
- package/dist/esm/local-emulator.js.map +0 -1
- package/dist/local-emulator.d.ts +0 -6
- package/dist/local-emulator.d.ts.map +0 -1
- package/dist/local-emulator.js +0 -10
- package/dist/local-emulator.js.map +0 -1
- package/src/local-emulator.ts +0 -5
|
@@ -161,10 +161,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
161
161
|
} | {
|
|
162
162
|
status: "scheduled";
|
|
163
163
|
id: string;
|
|
164
|
+
subject: string;
|
|
165
|
+
created_at_millis: number;
|
|
164
166
|
html: string | null;
|
|
165
167
|
text: string | null;
|
|
166
|
-
created_at_millis: number;
|
|
167
|
-
subject: string;
|
|
168
168
|
updated_at_millis: number;
|
|
169
169
|
tsx_source: string;
|
|
170
170
|
theme_id: string | null;
|
|
@@ -207,10 +207,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
207
207
|
} | {
|
|
208
208
|
status: "queued";
|
|
209
209
|
id: string;
|
|
210
|
+
subject: string;
|
|
211
|
+
created_at_millis: number;
|
|
210
212
|
html: string | null;
|
|
211
213
|
text: string | null;
|
|
212
|
-
created_at_millis: number;
|
|
213
|
-
subject: string;
|
|
214
214
|
updated_at_millis: number;
|
|
215
215
|
tsx_source: string;
|
|
216
216
|
theme_id: string | null;
|
|
@@ -253,10 +253,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
253
253
|
} | {
|
|
254
254
|
status: "sending";
|
|
255
255
|
id: string;
|
|
256
|
+
subject: string;
|
|
257
|
+
created_at_millis: number;
|
|
256
258
|
html: string | null;
|
|
257
259
|
text: string | null;
|
|
258
|
-
created_at_millis: number;
|
|
259
|
-
subject: string;
|
|
260
260
|
updated_at_millis: number;
|
|
261
261
|
tsx_source: string;
|
|
262
262
|
theme_id: string | null;
|
|
@@ -300,10 +300,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
300
300
|
} | {
|
|
301
301
|
status: "server-error";
|
|
302
302
|
id: string;
|
|
303
|
+
subject: string;
|
|
304
|
+
created_at_millis: number;
|
|
303
305
|
html: string | null;
|
|
304
306
|
text: string | null;
|
|
305
|
-
created_at_millis: number;
|
|
306
|
-
subject: string;
|
|
307
307
|
updated_at_millis: number;
|
|
308
308
|
tsx_source: string;
|
|
309
309
|
theme_id: string | null;
|
|
@@ -347,9 +347,9 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
347
347
|
error_at_millis: number;
|
|
348
348
|
server_error: string;
|
|
349
349
|
} | {
|
|
350
|
+
subject?: string | undefined;
|
|
350
351
|
html?: string | null | undefined;
|
|
351
352
|
text?: string | null | undefined;
|
|
352
|
-
subject?: string | undefined;
|
|
353
353
|
started_rendering_at_millis?: number | undefined;
|
|
354
354
|
rendered_at_millis?: number | undefined;
|
|
355
355
|
is_transactional?: boolean | undefined;
|
|
@@ -399,10 +399,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
399
399
|
} | {
|
|
400
400
|
status: "bounced";
|
|
401
401
|
id: string;
|
|
402
|
+
subject: string;
|
|
403
|
+
created_at_millis: number;
|
|
402
404
|
html: string | null;
|
|
403
405
|
text: string | null;
|
|
404
|
-
created_at_millis: number;
|
|
405
|
-
subject: string;
|
|
406
406
|
updated_at_millis: number;
|
|
407
407
|
tsx_source: string;
|
|
408
408
|
theme_id: string | null;
|
|
@@ -447,10 +447,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
447
447
|
} | {
|
|
448
448
|
status: "delivery-delayed";
|
|
449
449
|
id: string;
|
|
450
|
+
subject: string;
|
|
451
|
+
created_at_millis: number;
|
|
450
452
|
html: string | null;
|
|
451
453
|
text: string | null;
|
|
452
|
-
created_at_millis: number;
|
|
453
|
-
subject: string;
|
|
454
454
|
updated_at_millis: number;
|
|
455
455
|
tsx_source: string;
|
|
456
456
|
theme_id: string | null;
|
|
@@ -495,10 +495,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
495
495
|
} | {
|
|
496
496
|
status: "sent";
|
|
497
497
|
id: string;
|
|
498
|
+
subject: string;
|
|
499
|
+
created_at_millis: number;
|
|
498
500
|
html: string | null;
|
|
499
501
|
text: string | null;
|
|
500
|
-
created_at_millis: number;
|
|
501
|
-
subject: string;
|
|
502
502
|
updated_at_millis: number;
|
|
503
503
|
tsx_source: string;
|
|
504
504
|
theme_id: string | null;
|
|
@@ -544,10 +544,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
544
544
|
} | {
|
|
545
545
|
status: "opened";
|
|
546
546
|
id: string;
|
|
547
|
+
subject: string;
|
|
548
|
+
created_at_millis: number;
|
|
547
549
|
html: string | null;
|
|
548
550
|
text: string | null;
|
|
549
|
-
created_at_millis: number;
|
|
550
|
-
subject: string;
|
|
551
551
|
updated_at_millis: number;
|
|
552
552
|
tsx_source: string;
|
|
553
553
|
theme_id: string | null;
|
|
@@ -594,10 +594,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
594
594
|
} | {
|
|
595
595
|
status: "clicked";
|
|
596
596
|
id: string;
|
|
597
|
+
subject: string;
|
|
598
|
+
created_at_millis: number;
|
|
597
599
|
html: string | null;
|
|
598
600
|
text: string | null;
|
|
599
|
-
created_at_millis: number;
|
|
600
|
-
subject: string;
|
|
601
601
|
updated_at_millis: number;
|
|
602
602
|
tsx_source: string;
|
|
603
603
|
theme_id: string | null;
|
|
@@ -644,10 +644,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
644
644
|
} | {
|
|
645
645
|
status: "marked-as-spam";
|
|
646
646
|
id: string;
|
|
647
|
+
subject: string;
|
|
648
|
+
created_at_millis: number;
|
|
647
649
|
html: string | null;
|
|
648
650
|
text: string | null;
|
|
649
|
-
created_at_millis: number;
|
|
650
|
-
subject: string;
|
|
651
651
|
updated_at_millis: number;
|
|
652
652
|
tsx_source: string;
|
|
653
653
|
theme_id: string | null;
|
|
@@ -881,10 +881,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
881
881
|
} | {
|
|
882
882
|
status: "scheduled";
|
|
883
883
|
id: string;
|
|
884
|
+
subject: string;
|
|
885
|
+
created_at_millis: number;
|
|
884
886
|
html: string | null;
|
|
885
887
|
text: string | null;
|
|
886
|
-
created_at_millis: number;
|
|
887
|
-
subject: string;
|
|
888
888
|
updated_at_millis: number;
|
|
889
889
|
tsx_source: string;
|
|
890
890
|
theme_id: string | null;
|
|
@@ -927,10 +927,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
927
927
|
} | {
|
|
928
928
|
status: "queued";
|
|
929
929
|
id: string;
|
|
930
|
+
subject: string;
|
|
931
|
+
created_at_millis: number;
|
|
930
932
|
html: string | null;
|
|
931
933
|
text: string | null;
|
|
932
|
-
created_at_millis: number;
|
|
933
|
-
subject: string;
|
|
934
934
|
updated_at_millis: number;
|
|
935
935
|
tsx_source: string;
|
|
936
936
|
theme_id: string | null;
|
|
@@ -973,10 +973,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
973
973
|
} | {
|
|
974
974
|
status: "sending";
|
|
975
975
|
id: string;
|
|
976
|
+
subject: string;
|
|
977
|
+
created_at_millis: number;
|
|
976
978
|
html: string | null;
|
|
977
979
|
text: string | null;
|
|
978
|
-
created_at_millis: number;
|
|
979
|
-
subject: string;
|
|
980
980
|
updated_at_millis: number;
|
|
981
981
|
tsx_source: string;
|
|
982
982
|
theme_id: string | null;
|
|
@@ -1020,10 +1020,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1020
1020
|
} | {
|
|
1021
1021
|
status: "server-error";
|
|
1022
1022
|
id: string;
|
|
1023
|
+
subject: string;
|
|
1024
|
+
created_at_millis: number;
|
|
1023
1025
|
html: string | null;
|
|
1024
1026
|
text: string | null;
|
|
1025
|
-
created_at_millis: number;
|
|
1026
|
-
subject: string;
|
|
1027
1027
|
updated_at_millis: number;
|
|
1028
1028
|
tsx_source: string;
|
|
1029
1029
|
theme_id: string | null;
|
|
@@ -1067,9 +1067,9 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1067
1067
|
error_at_millis: number;
|
|
1068
1068
|
server_error: string;
|
|
1069
1069
|
} | {
|
|
1070
|
+
subject?: string | undefined;
|
|
1070
1071
|
html?: string | null | undefined;
|
|
1071
1072
|
text?: string | null | undefined;
|
|
1072
|
-
subject?: string | undefined;
|
|
1073
1073
|
started_rendering_at_millis?: number | undefined;
|
|
1074
1074
|
rendered_at_millis?: number | undefined;
|
|
1075
1075
|
is_transactional?: boolean | undefined;
|
|
@@ -1119,10 +1119,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1119
1119
|
} | {
|
|
1120
1120
|
status: "bounced";
|
|
1121
1121
|
id: string;
|
|
1122
|
+
subject: string;
|
|
1123
|
+
created_at_millis: number;
|
|
1122
1124
|
html: string | null;
|
|
1123
1125
|
text: string | null;
|
|
1124
|
-
created_at_millis: number;
|
|
1125
|
-
subject: string;
|
|
1126
1126
|
updated_at_millis: number;
|
|
1127
1127
|
tsx_source: string;
|
|
1128
1128
|
theme_id: string | null;
|
|
@@ -1167,10 +1167,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1167
1167
|
} | {
|
|
1168
1168
|
status: "delivery-delayed";
|
|
1169
1169
|
id: string;
|
|
1170
|
+
subject: string;
|
|
1171
|
+
created_at_millis: number;
|
|
1170
1172
|
html: string | null;
|
|
1171
1173
|
text: string | null;
|
|
1172
|
-
created_at_millis: number;
|
|
1173
|
-
subject: string;
|
|
1174
1174
|
updated_at_millis: number;
|
|
1175
1175
|
tsx_source: string;
|
|
1176
1176
|
theme_id: string | null;
|
|
@@ -1215,10 +1215,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1215
1215
|
} | {
|
|
1216
1216
|
status: "sent";
|
|
1217
1217
|
id: string;
|
|
1218
|
+
subject: string;
|
|
1219
|
+
created_at_millis: number;
|
|
1218
1220
|
html: string | null;
|
|
1219
1221
|
text: string | null;
|
|
1220
|
-
created_at_millis: number;
|
|
1221
|
-
subject: string;
|
|
1222
1222
|
updated_at_millis: number;
|
|
1223
1223
|
tsx_source: string;
|
|
1224
1224
|
theme_id: string | null;
|
|
@@ -1264,10 +1264,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1264
1264
|
} | {
|
|
1265
1265
|
status: "opened";
|
|
1266
1266
|
id: string;
|
|
1267
|
+
subject: string;
|
|
1268
|
+
created_at_millis: number;
|
|
1267
1269
|
html: string | null;
|
|
1268
1270
|
text: string | null;
|
|
1269
|
-
created_at_millis: number;
|
|
1270
|
-
subject: string;
|
|
1271
1271
|
updated_at_millis: number;
|
|
1272
1272
|
tsx_source: string;
|
|
1273
1273
|
theme_id: string | null;
|
|
@@ -1314,10 +1314,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1314
1314
|
} | {
|
|
1315
1315
|
status: "clicked";
|
|
1316
1316
|
id: string;
|
|
1317
|
+
subject: string;
|
|
1318
|
+
created_at_millis: number;
|
|
1317
1319
|
html: string | null;
|
|
1318
1320
|
text: string | null;
|
|
1319
|
-
created_at_millis: number;
|
|
1320
|
-
subject: string;
|
|
1321
1321
|
updated_at_millis: number;
|
|
1322
1322
|
tsx_source: string;
|
|
1323
1323
|
theme_id: string | null;
|
|
@@ -1364,10 +1364,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1364
1364
|
} | {
|
|
1365
1365
|
status: "marked-as-spam";
|
|
1366
1366
|
id: string;
|
|
1367
|
+
subject: string;
|
|
1368
|
+
created_at_millis: number;
|
|
1367
1369
|
html: string | null;
|
|
1368
1370
|
text: string | null;
|
|
1369
|
-
created_at_millis: number;
|
|
1370
|
-
subject: string;
|
|
1371
1371
|
updated_at_millis: number;
|
|
1372
1372
|
tsx_source: string;
|
|
1373
1373
|
theme_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;
|
|
@@ -33,27 +33,27 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
33
33
|
is_anonymous: boolean;
|
|
34
34
|
is_restricted: boolean;
|
|
35
35
|
requires_totp_mfa: boolean;
|
|
36
|
+
country_code: string | null;
|
|
37
|
+
profile_image_url: string | null;
|
|
38
|
+
signed_up_at_millis: number;
|
|
39
|
+
last_active_at_millis: number;
|
|
36
40
|
primary_email_verified: boolean;
|
|
37
41
|
primary_email_auth_enabled: boolean;
|
|
38
|
-
profile_image_url: string | null;
|
|
39
42
|
selected_team: {
|
|
40
43
|
client_metadata?: {} | null | undefined;
|
|
41
44
|
client_read_only_metadata?: {} | null | undefined;
|
|
42
45
|
server_metadata?: {} | null | undefined;
|
|
43
46
|
display_name: string;
|
|
44
47
|
id: string;
|
|
45
|
-
profile_image_url: string | null;
|
|
46
48
|
created_at_millis: number;
|
|
49
|
+
profile_image_url: string | null;
|
|
47
50
|
} | null;
|
|
48
|
-
signed_up_at_millis: number;
|
|
49
51
|
has_password: boolean;
|
|
50
52
|
otp_auth_enabled: boolean;
|
|
51
53
|
passkey_auth_enabled: boolean;
|
|
52
|
-
last_active_at_millis: number;
|
|
53
54
|
restricted_by_admin: boolean;
|
|
54
55
|
restricted_by_admin_reason: string | null;
|
|
55
56
|
restricted_by_admin_private_details: string | null;
|
|
56
|
-
country_code: string | null;
|
|
57
57
|
risk_scores: {
|
|
58
58
|
sign_up: {
|
|
59
59
|
bot: number;
|
|
@@ -156,27 +156,27 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
|
|
|
156
156
|
is_anonymous: boolean;
|
|
157
157
|
is_restricted: boolean;
|
|
158
158
|
requires_totp_mfa: boolean;
|
|
159
|
+
country_code: string | null;
|
|
160
|
+
profile_image_url: string | null;
|
|
161
|
+
signed_up_at_millis: number;
|
|
162
|
+
last_active_at_millis: number;
|
|
159
163
|
primary_email_verified: boolean;
|
|
160
164
|
primary_email_auth_enabled: boolean;
|
|
161
|
-
profile_image_url: string | null;
|
|
162
165
|
selected_team: {
|
|
163
166
|
client_metadata?: {} | null | undefined;
|
|
164
167
|
client_read_only_metadata?: {} | null | undefined;
|
|
165
168
|
server_metadata?: {} | null | undefined;
|
|
166
169
|
display_name: string;
|
|
167
170
|
id: string;
|
|
168
|
-
profile_image_url: string | null;
|
|
169
171
|
created_at_millis: number;
|
|
172
|
+
profile_image_url: string | null;
|
|
170
173
|
} | null;
|
|
171
|
-
signed_up_at_millis: number;
|
|
172
174
|
has_password: boolean;
|
|
173
175
|
otp_auth_enabled: boolean;
|
|
174
176
|
passkey_auth_enabled: boolean;
|
|
175
|
-
last_active_at_millis: number;
|
|
176
177
|
restricted_by_admin: boolean;
|
|
177
178
|
restricted_by_admin_reason: string | null;
|
|
178
179
|
restricted_by_admin_private_details: string | null;
|
|
179
|
-
country_code: string | null;
|
|
180
180
|
risk_scores: {
|
|
181
181
|
sign_up: {
|
|
182
182
|
bot: number;
|
|
@@ -82,8 +82,8 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
82
82
|
server_metadata?: {} | null | undefined;
|
|
83
83
|
display_name: string;
|
|
84
84
|
id: string;
|
|
85
|
-
profile_image_url: string | null;
|
|
86
85
|
created_at_millis: number;
|
|
86
|
+
profile_image_url: string | null;
|
|
87
87
|
} | null;
|
|
88
88
|
selected_team_id: string | null;
|
|
89
89
|
profile_image_url: string | null;
|
|
@@ -168,16 +168,16 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
|
168
168
|
client_read_only_metadata: {} | null | undefined;
|
|
169
169
|
server_metadata: {} | null | undefined;
|
|
170
170
|
is_anonymous: boolean | undefined;
|
|
171
|
+
country_code: string | null | undefined;
|
|
172
|
+
profile_image_url: string | null | undefined;
|
|
171
173
|
password: string | null | undefined;
|
|
172
174
|
primary_email_verified: boolean | undefined;
|
|
173
175
|
primary_email_auth_enabled: boolean | undefined;
|
|
174
|
-
profile_image_url: string | null | undefined;
|
|
175
176
|
otp_auth_enabled: boolean | undefined;
|
|
176
177
|
passkey_auth_enabled: boolean | undefined;
|
|
177
178
|
restricted_by_admin: boolean | undefined;
|
|
178
179
|
restricted_by_admin_reason: string | null | undefined;
|
|
179
180
|
restricted_by_admin_private_details: string | null | undefined;
|
|
180
|
-
country_code: string | null | undefined;
|
|
181
181
|
risk_scores: {
|
|
182
182
|
sign_up: {
|
|
183
183
|
bot: number;
|
|
@@ -235,8 +235,8 @@ declare const usersCrud: CrudSchemaFromOptions<{
|
|
|
235
235
|
server_metadata?: {} | null | undefined;
|
|
236
236
|
display_name: string;
|
|
237
237
|
id: string;
|
|
238
|
-
profile_image_url: string | null;
|
|
239
238
|
created_at_millis: number;
|
|
239
|
+
profile_image_url: string | null;
|
|
240
240
|
} | null;
|
|
241
241
|
selected_team_id: string | null;
|
|
242
242
|
profile_image_url: string | null;
|
|
@@ -374,16 +374,16 @@ declare const usersCrud: CrudSchemaFromOptions<{
|
|
|
374
374
|
client_read_only_metadata: {} | null | undefined;
|
|
375
375
|
server_metadata: {} | null | undefined;
|
|
376
376
|
is_anonymous: boolean | undefined;
|
|
377
|
+
country_code: string | null | undefined;
|
|
378
|
+
profile_image_url: string | null | undefined;
|
|
377
379
|
password: string | null | undefined;
|
|
378
380
|
primary_email_verified: boolean | undefined;
|
|
379
381
|
primary_email_auth_enabled: boolean | undefined;
|
|
380
|
-
profile_image_url: string | null | undefined;
|
|
381
382
|
otp_auth_enabled: boolean | undefined;
|
|
382
383
|
passkey_auth_enabled: boolean | undefined;
|
|
383
384
|
restricted_by_admin: boolean | undefined;
|
|
384
385
|
restricted_by_admin_reason: string | null | undefined;
|
|
385
386
|
restricted_by_admin_private_details: string | null | undefined;
|
|
386
|
-
country_code: string | null | undefined;
|
|
387
387
|
risk_scores: {
|
|
388
388
|
sign_up: {
|
|
389
389
|
bot: number;
|
|
@@ -469,8 +469,8 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
|
|
|
469
469
|
server_metadata?: {} | null | undefined;
|
|
470
470
|
display_name: string;
|
|
471
471
|
id: string;
|
|
472
|
-
profile_image_url: string | null;
|
|
473
472
|
created_at_millis: number;
|
|
473
|
+
profile_image_url: string | null;
|
|
474
474
|
} | null;
|
|
475
475
|
selected_team_id: string | null;
|
|
476
476
|
profile_image_url: string | null;
|
|
@@ -560,8 +560,8 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
|
|
|
560
560
|
server_metadata?: {} | null | undefined;
|
|
561
561
|
display_name: string;
|
|
562
562
|
id: string;
|
|
563
|
-
profile_image_url: string | null;
|
|
564
563
|
created_at_millis: number;
|
|
564
|
+
profile_image_url: string | null;
|
|
565
565
|
} | null;
|
|
566
566
|
selected_team_id: string | null;
|
|
567
567
|
profile_image_url: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-interface.d.ts","names":[],"sources":["../../src/interface/server-interface.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;KA4BY,4BAAA,IACR,sBAAA;EAAA,SAGW,eAAA;AAAA;EAAA,SAGA,mBAAA,EAAqB,eAAA,UAAyB,OAAA;AAAA;AAAA,cAKhD,uBAAA,SAAgC,uBAAA;EACf,OAAA,EAAS,4BAAA;cAAT,OAAA,EAAS,4BAAA;EAAA,UAIrB,iBAAA,CAAkB,IAAA,UAAc,OAAA,EAAS,WAAA,EAAa,OAAA,EAAS,eAAA,SAAwB,WAAA,wBAA0C,OAAA,CAAA,QAAA;;;;;;EAgBlI,kBAAA,CACb,YAAA,mBACA,UAAA,UACA,OAAA,EAAS,eAAA,UACR,OAAA;IACD,YAAA;IACA,sBAAA;MACE,EAAA;MACA,KAAA;MACA,KAAA;MACA,SAAA;MACA,QAAA;IAAA;EAAA;EAWW,sCAAA,CACb,YAAA,mBACA,UAAA,UACA,OAAA,EAAS,eAAA,UACR,OAAA;IACD,aAAA;IACA,iBAAA;EAAA;EAgBa,8CAAA,CACb,YAAA,mBACA,UAAA,UACA,aAAA,UACA,OAAA,EAAS,eAAA,UACR,OAAA;IACD,sBAAA;MACE,EAAA;MACA,KAAA;MACA,KAAA;MACA,SAAA;MACA,QAAA;IAAA;EAAA;EAAA,UAoBY,mCAAA,kBAAqD,WAAA,OAAkB,WAAA,EAAA,CACrF,IAAA,UACA,cAAA,EAAgB,WAAA,EAChB,gBAAA,EAAkB,eAAA,SAClB,aAAA,WAAwB,CAAA,KACvB,OAAA,CAAQ,MAAA,CACT,QAAA;IACE,UAAA;MACE,WAAA,EAAa,WAAA;MACb,YAAA,EAAc,YAAA;IAAA;EAAA,GAGlB,YAAA,CAAa,CAAA;EAcT,gBAAA,CAAiB,IAAA,EAAM,SAAA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,KAAA;QAAS,IAAA;QAAc,OAAA;QAAiB,cAAA;MAAA;IAAA;IAE1C,QAAA;MACE,eAAA;MACA,gBAAA;MACA,cAAA;MACA,eAAA;MACA,gBAAA;IAAA;EAAA;EAgBE,0BAAA,CAAA,GAA8B,OAAA;IAAU,UAAA;EAAA;EAexC,kBAAA,CACJ,OAAA;IACI,MAAA;IAAgB,MAAA;EAAA;IAChB,MAAA;IAAgB,MAAA;EAAA;IAChB,MAAA;IAAgB,gBAAA;EAAA,IAEpB,IAAA,EAAM,QAAA,uBACL,OAAA;EA8BG,YAAA,CACJ,OAAA;IACE,YAAA;IACA,UAAA;IACA,SAAA;IACA,OAAA,GAAU,KAAA,CAAI,SAAA,QAAiB,mBAAA;IAC/B,QAAA;EAAA,IAED,OAAA;EAuBG,sBAAA,CAAuB,MAAA,UAAgB,OAAA,UAAiB,GAAA,WAAW,OAAA;EAyBnE,sBAAA,CAAuB,MAAA,UAAgB,OAAA,UAAiB,GAAA,UAAa,KAAA,WAAa,OAAA;EAclF,iCAAA,CAAkC,MAAA,WAAiB,OAAA,CAAQ,MAAA;IAAS,YAAA;IAAmB,IAAA;EAAA,GAAgB,WAAA;AAAA"}
|
|
@@ -357,6 +357,7 @@ var HexclaveServerInterface = class extends __client_interface_js.HexclaveClient
|
|
|
357
357
|
body: JSON.stringify({
|
|
358
358
|
user_ids: options.userIds,
|
|
359
359
|
all_users: options.allUsers,
|
|
360
|
+
emails: options.emails,
|
|
360
361
|
theme_id: options.themeId,
|
|
361
362
|
html: options.html,
|
|
362
363
|
subject: options.subject,
|