@hexclave/shared 1.0.12 → 1.0.13
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/config/schema.d.ts +64 -64
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/config/schema.d.ts +64 -64
- package/dist/esm/interface/admin-metrics.d.ts +6 -6
- package/dist/esm/interface/conversations.d.ts +30 -30
- package/dist/esm/interface/crud/current-user.d.ts +7 -7
- package/dist/esm/interface/crud/email-outbox.d.ts +106 -106
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/project-api-keys.d.ts +1 -1
- package/dist/esm/interface/crud/team-member-profiles.d.ts +18 -18
- package/dist/esm/interface/crud/users.d.ts +10 -10
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/interface/admin-metrics.d.ts +6 -6
- package/dist/interface/conversations.d.ts +30 -30
- package/dist/interface/crud/current-user.d.ts +7 -7
- package/dist/interface/crud/email-outbox.d.ts +106 -106
- package/dist/interface/crud/invoices.d.ts +2 -2
- package/dist/interface/crud/project-api-keys.d.ts +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +18 -18
- package/dist/interface/crud/users.d.ts +10 -10
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/sessions.d.ts +7 -7
- package/package.json +1 -1
|
@@ -84,7 +84,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
84
84
|
sourceOfTruth: {
|
|
85
85
|
type: "hosted";
|
|
86
86
|
};
|
|
87
|
-
}, string>, "
|
|
87
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
88
88
|
payments?: {
|
|
89
89
|
blockNewPurchases?: boolean | undefined;
|
|
90
90
|
autoPay?: {
|
|
@@ -125,13 +125,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
125
125
|
}>;
|
|
126
126
|
}>;
|
|
127
127
|
} | undefined;
|
|
128
|
-
users: {
|
|
129
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
130
|
-
};
|
|
131
|
-
teams: {
|
|
132
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
133
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
134
|
-
};
|
|
135
128
|
rbac: {
|
|
136
129
|
permissions: Record<string, {
|
|
137
130
|
description?: string | undefined;
|
|
@@ -154,7 +147,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
154
147
|
};
|
|
155
148
|
};
|
|
156
149
|
apps: {
|
|
157
|
-
installed: Record<"
|
|
150
|
+
installed: Record<"rbac" | "onboarding" | "payments" | "teams" | "authentication" | "fraud-protection" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
|
|
158
151
|
enabled?: boolean | undefined;
|
|
159
152
|
}>;
|
|
160
153
|
};
|
|
@@ -168,6 +161,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
168
161
|
otp: {
|
|
169
162
|
allowSignIn?: boolean | undefined;
|
|
170
163
|
};
|
|
164
|
+
passkey: {
|
|
165
|
+
allowSignIn?: boolean | undefined;
|
|
166
|
+
};
|
|
171
167
|
oauth: {
|
|
172
168
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
173
169
|
providers: Record<string, {
|
|
@@ -176,9 +172,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
176
172
|
allowConnectedAccounts?: boolean | undefined;
|
|
177
173
|
}>;
|
|
178
174
|
};
|
|
179
|
-
passkey: {
|
|
180
|
-
allowSignIn?: boolean | undefined;
|
|
181
|
-
};
|
|
182
175
|
signUpRules: Record<string, {
|
|
183
176
|
displayName?: string | undefined;
|
|
184
177
|
enabled?: boolean | undefined;
|
|
@@ -190,6 +183,13 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
190
183
|
};
|
|
191
184
|
}>;
|
|
192
185
|
};
|
|
186
|
+
teams: {
|
|
187
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
188
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
189
|
+
};
|
|
190
|
+
users: {
|
|
191
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
192
|
+
};
|
|
193
193
|
emails: {
|
|
194
194
|
selectedThemeId?: string | undefined;
|
|
195
195
|
themes: Record<string, {
|
|
@@ -218,7 +218,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
|
|
|
218
218
|
project: {
|
|
219
219
|
requirePublishableClientKey: undefined;
|
|
220
220
|
};
|
|
221
|
-
}, string>, "
|
|
221
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
222
222
|
rbac: {
|
|
223
223
|
permissions: undefined;
|
|
224
224
|
defaultPermissions: {
|
|
@@ -293,7 +293,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
293
293
|
sourceOfTruth: {
|
|
294
294
|
type: "hosted";
|
|
295
295
|
};
|
|
296
|
-
}, string>, "
|
|
296
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
297
297
|
payments?: {
|
|
298
298
|
blockNewPurchases?: boolean | undefined;
|
|
299
299
|
autoPay?: {
|
|
@@ -334,13 +334,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
334
334
|
}>;
|
|
335
335
|
}>;
|
|
336
336
|
} | undefined;
|
|
337
|
-
users: {
|
|
338
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
339
|
-
};
|
|
340
|
-
teams: {
|
|
341
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
342
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
343
|
-
};
|
|
344
337
|
rbac: {
|
|
345
338
|
permissions: Record<string, {
|
|
346
339
|
description?: string | undefined;
|
|
@@ -363,7 +356,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
363
356
|
};
|
|
364
357
|
};
|
|
365
358
|
apps: {
|
|
366
|
-
installed: Record<"
|
|
359
|
+
installed: Record<"rbac" | "onboarding" | "payments" | "teams" | "authentication" | "fraud-protection" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
|
|
367
360
|
enabled?: boolean | undefined;
|
|
368
361
|
}>;
|
|
369
362
|
};
|
|
@@ -377,6 +370,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
377
370
|
otp: {
|
|
378
371
|
allowSignIn?: boolean | undefined;
|
|
379
372
|
};
|
|
373
|
+
passkey: {
|
|
374
|
+
allowSignIn?: boolean | undefined;
|
|
375
|
+
};
|
|
380
376
|
oauth: {
|
|
381
377
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
382
378
|
providers: Record<string, {
|
|
@@ -385,9 +381,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
385
381
|
allowConnectedAccounts?: boolean | undefined;
|
|
386
382
|
}>;
|
|
387
383
|
};
|
|
388
|
-
passkey: {
|
|
389
|
-
allowSignIn?: boolean | undefined;
|
|
390
|
-
};
|
|
391
384
|
signUpRules: Record<string, {
|
|
392
385
|
displayName?: string | undefined;
|
|
393
386
|
enabled?: boolean | undefined;
|
|
@@ -399,6 +392,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
399
392
|
};
|
|
400
393
|
}>;
|
|
401
394
|
};
|
|
395
|
+
teams: {
|
|
396
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
397
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
398
|
+
};
|
|
399
|
+
users: {
|
|
400
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
401
|
+
};
|
|
402
402
|
emails: {
|
|
403
403
|
selectedThemeId?: string | undefined;
|
|
404
404
|
themes: Record<string, {
|
|
@@ -481,6 +481,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
481
481
|
otp: {
|
|
482
482
|
allowSignIn?: boolean | undefined;
|
|
483
483
|
};
|
|
484
|
+
passkey: {
|
|
485
|
+
allowSignIn?: boolean | undefined;
|
|
486
|
+
};
|
|
484
487
|
oauth: {
|
|
485
488
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
486
489
|
providers: Record<string, {
|
|
@@ -489,9 +492,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
489
492
|
allowConnectedAccounts?: boolean | undefined;
|
|
490
493
|
}>;
|
|
491
494
|
};
|
|
492
|
-
passkey: {
|
|
493
|
-
allowSignIn?: boolean | undefined;
|
|
494
|
-
};
|
|
495
495
|
signUpRules: Record<string, {
|
|
496
496
|
displayName?: string | undefined;
|
|
497
497
|
enabled?: boolean | undefined;
|
|
@@ -572,7 +572,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
572
572
|
project: {
|
|
573
573
|
requirePublishableClientKey: undefined;
|
|
574
574
|
};
|
|
575
|
-
}, string>, "
|
|
575
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
576
576
|
rbac: {
|
|
577
577
|
permissions: undefined;
|
|
578
578
|
defaultPermissions: {
|
|
@@ -645,7 +645,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
645
645
|
project: {
|
|
646
646
|
requirePublishableClientKey: undefined;
|
|
647
647
|
};
|
|
648
|
-
}, string>, "
|
|
648
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
649
649
|
rbac: {
|
|
650
650
|
permissions: undefined;
|
|
651
651
|
defaultPermissions: {
|
|
@@ -718,7 +718,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
718
718
|
project: {
|
|
719
719
|
requirePublishableClientKey: undefined;
|
|
720
720
|
};
|
|
721
|
-
}, string>, "
|
|
721
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
722
722
|
rbac: {
|
|
723
723
|
permissions: undefined;
|
|
724
724
|
defaultPermissions: {
|
|
@@ -794,7 +794,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
794
794
|
project: {
|
|
795
795
|
requirePublishableClientKey: undefined;
|
|
796
796
|
};
|
|
797
|
-
}, string>, "
|
|
797
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
798
798
|
rbac: {
|
|
799
799
|
permissions: undefined;
|
|
800
800
|
defaultPermissions: {
|
|
@@ -880,7 +880,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
880
880
|
project: {
|
|
881
881
|
requirePublishableClientKey: undefined;
|
|
882
882
|
};
|
|
883
|
-
}, string>, "
|
|
883
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
884
884
|
rbac: {
|
|
885
885
|
permissions: undefined;
|
|
886
886
|
defaultPermissions: {
|
|
@@ -956,7 +956,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
956
956
|
project: {
|
|
957
957
|
requirePublishableClientKey: undefined;
|
|
958
958
|
};
|
|
959
|
-
}, string>, "
|
|
959
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
960
960
|
rbac: {
|
|
961
961
|
permissions: undefined;
|
|
962
962
|
defaultPermissions: {
|
|
@@ -1038,7 +1038,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1038
1038
|
sourceOfTruth: {
|
|
1039
1039
|
type: "hosted";
|
|
1040
1040
|
};
|
|
1041
|
-
}, string>, "
|
|
1041
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1042
1042
|
payments?: {
|
|
1043
1043
|
blockNewPurchases?: boolean | undefined;
|
|
1044
1044
|
autoPay?: {
|
|
@@ -1079,13 +1079,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1079
1079
|
}>;
|
|
1080
1080
|
}>;
|
|
1081
1081
|
} | undefined;
|
|
1082
|
-
users: {
|
|
1083
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
1084
|
-
};
|
|
1085
|
-
teams: {
|
|
1086
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
1087
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
1088
|
-
};
|
|
1089
1082
|
rbac: {
|
|
1090
1083
|
permissions: Record<string, {
|
|
1091
1084
|
description?: string | undefined;
|
|
@@ -1108,7 +1101,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1108
1101
|
};
|
|
1109
1102
|
};
|
|
1110
1103
|
apps: {
|
|
1111
|
-
installed: Record<"
|
|
1104
|
+
installed: Record<"rbac" | "onboarding" | "payments" | "teams" | "authentication" | "fraud-protection" | "api-keys" | "emails" | "support" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex" | "vercel" | "tanstack-start" | "analytics" | "session-replays", {
|
|
1112
1105
|
enabled?: boolean | undefined;
|
|
1113
1106
|
}>;
|
|
1114
1107
|
};
|
|
@@ -1122,6 +1115,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1122
1115
|
otp: {
|
|
1123
1116
|
allowSignIn?: boolean | undefined;
|
|
1124
1117
|
};
|
|
1118
|
+
passkey: {
|
|
1119
|
+
allowSignIn?: boolean | undefined;
|
|
1120
|
+
};
|
|
1125
1121
|
oauth: {
|
|
1126
1122
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1127
1123
|
providers: Record<string, {
|
|
@@ -1130,9 +1126,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1130
1126
|
allowConnectedAccounts?: boolean | undefined;
|
|
1131
1127
|
}>;
|
|
1132
1128
|
};
|
|
1133
|
-
passkey: {
|
|
1134
|
-
allowSignIn?: boolean | undefined;
|
|
1135
|
-
};
|
|
1136
1129
|
signUpRules: Record<string, {
|
|
1137
1130
|
displayName?: string | undefined;
|
|
1138
1131
|
enabled?: boolean | undefined;
|
|
@@ -1144,6 +1137,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1144
1137
|
};
|
|
1145
1138
|
}>;
|
|
1146
1139
|
};
|
|
1140
|
+
teams: {
|
|
1141
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
1142
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
1143
|
+
};
|
|
1144
|
+
users: {
|
|
1145
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
1146
|
+
};
|
|
1147
1147
|
emails: {
|
|
1148
1148
|
selectedThemeId?: string | undefined;
|
|
1149
1149
|
themes: Record<string, {
|
|
@@ -1226,6 +1226,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1226
1226
|
otp: {
|
|
1227
1227
|
allowSignIn?: boolean | undefined;
|
|
1228
1228
|
};
|
|
1229
|
+
passkey: {
|
|
1230
|
+
allowSignIn?: boolean | undefined;
|
|
1231
|
+
};
|
|
1229
1232
|
oauth: {
|
|
1230
1233
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
1231
1234
|
providers: Record<string, {
|
|
@@ -1234,9 +1237,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1234
1237
|
allowConnectedAccounts?: boolean | undefined;
|
|
1235
1238
|
}>;
|
|
1236
1239
|
};
|
|
1237
|
-
passkey: {
|
|
1238
|
-
allowSignIn?: boolean | undefined;
|
|
1239
|
-
};
|
|
1240
1240
|
signUpRules: Record<string, {
|
|
1241
1241
|
displayName?: string | undefined;
|
|
1242
1242
|
enabled?: boolean | undefined;
|
|
@@ -1317,7 +1317,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1317
1317
|
project: {
|
|
1318
1318
|
requirePublishableClientKey: undefined;
|
|
1319
1319
|
};
|
|
1320
|
-
}, string>, "
|
|
1320
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1321
1321
|
rbac: {
|
|
1322
1322
|
permissions: undefined;
|
|
1323
1323
|
defaultPermissions: {
|
|
@@ -1390,7 +1390,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1390
1390
|
project: {
|
|
1391
1391
|
requirePublishableClientKey: undefined;
|
|
1392
1392
|
};
|
|
1393
|
-
}, string>, "
|
|
1393
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1394
1394
|
rbac: {
|
|
1395
1395
|
permissions: undefined;
|
|
1396
1396
|
defaultPermissions: {
|
|
@@ -1463,7 +1463,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1463
1463
|
project: {
|
|
1464
1464
|
requirePublishableClientKey: undefined;
|
|
1465
1465
|
};
|
|
1466
|
-
}, string>, "
|
|
1466
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1467
1467
|
rbac: {
|
|
1468
1468
|
permissions: undefined;
|
|
1469
1469
|
defaultPermissions: {
|
|
@@ -1539,7 +1539,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1539
1539
|
project: {
|
|
1540
1540
|
requirePublishableClientKey: undefined;
|
|
1541
1541
|
};
|
|
1542
|
-
}, string>, "
|
|
1542
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1543
1543
|
rbac: {
|
|
1544
1544
|
permissions: undefined;
|
|
1545
1545
|
defaultPermissions: {
|
|
@@ -1625,7 +1625,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1625
1625
|
project: {
|
|
1626
1626
|
requirePublishableClientKey: undefined;
|
|
1627
1627
|
};
|
|
1628
|
-
}, string>, "
|
|
1628
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1629
1629
|
rbac: {
|
|
1630
1630
|
permissions: undefined;
|
|
1631
1631
|
defaultPermissions: {
|
|
@@ -1701,7 +1701,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
|
|
|
1701
1701
|
project: {
|
|
1702
1702
|
requirePublishableClientKey: undefined;
|
|
1703
1703
|
};
|
|
1704
|
-
}, string>, "
|
|
1704
|
+
}, string>, "rbac" | "onboarding" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "teams" | "users" | "emails" | "dbSync" | "dataVault"> & {
|
|
1705
1705
|
rbac: {
|
|
1706
1706
|
permissions: undefined;
|
|
1707
1707
|
defaultPermissions: {
|
|
@@ -2068,10 +2068,11 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2068
2068
|
priority: number;
|
|
2069
2069
|
condition: string | undefined;
|
|
2070
2070
|
action: {
|
|
2071
|
-
type: "allow" | "reject" | "restrict" | "log";
|
|
2072
2071
|
message: string | undefined;
|
|
2072
|
+
type: "allow" | "reject" | "restrict" | "log";
|
|
2073
2073
|
};
|
|
2074
2074
|
}>;
|
|
2075
|
+
allowSignUp: boolean;
|
|
2075
2076
|
password: {
|
|
2076
2077
|
allowSignIn: boolean;
|
|
2077
2078
|
};
|
|
@@ -2081,7 +2082,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2081
2082
|
passkey: {
|
|
2082
2083
|
allowSignIn: boolean;
|
|
2083
2084
|
};
|
|
2084
|
-
allowSignUp: boolean;
|
|
2085
2085
|
signUpRulesDefaultAction: string;
|
|
2086
2086
|
};
|
|
2087
2087
|
emails: {
|
|
@@ -2174,13 +2174,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2174
2174
|
} & {
|
|
2175
2175
|
readonly type: "hosted";
|
|
2176
2176
|
};
|
|
2177
|
-
users: {
|
|
2178
|
-
allowClientUserDeletion: boolean;
|
|
2179
|
-
};
|
|
2180
|
-
teams: {
|
|
2181
|
-
createPersonalTeamOnSignUp: boolean;
|
|
2182
|
-
allowClientTeamCreation: boolean;
|
|
2183
|
-
};
|
|
2184
2177
|
rbac: {
|
|
2185
2178
|
permissions: {
|
|
2186
2179
|
[x: string]: {
|
|
@@ -2221,6 +2214,13 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
2221
2214
|
};
|
|
2222
2215
|
};
|
|
2223
2216
|
};
|
|
2217
|
+
teams: {
|
|
2218
|
+
createPersonalTeamOnSignUp: boolean;
|
|
2219
|
+
allowClientTeamCreation: boolean;
|
|
2220
|
+
};
|
|
2221
|
+
users: {
|
|
2222
|
+
allowClientUserDeletion: boolean;
|
|
2223
|
+
};
|
|
2224
2224
|
analytics: {
|
|
2225
2225
|
queryFolders: {
|
|
2226
2226
|
[x: string]: {
|
|
@@ -150,8 +150,8 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
|
|
|
150
150
|
activity: number;
|
|
151
151
|
}[];
|
|
152
152
|
daily_emails_by_status: {
|
|
153
|
-
date: string;
|
|
154
153
|
error: number;
|
|
154
|
+
date: string;
|
|
155
155
|
ok: number;
|
|
156
156
|
in_progress: number;
|
|
157
157
|
}[];
|
|
@@ -159,14 +159,14 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
|
|
|
159
159
|
recent_emails: {
|
|
160
160
|
status: string;
|
|
161
161
|
id: string;
|
|
162
|
-
subject: string;
|
|
163
162
|
created_at_millis: number;
|
|
163
|
+
subject: string;
|
|
164
164
|
}[];
|
|
165
165
|
deliverability_status: {
|
|
166
166
|
error: number;
|
|
167
|
+
bounced: number;
|
|
167
168
|
in_progress: number;
|
|
168
169
|
delivered: number;
|
|
169
|
-
bounced: number;
|
|
170
170
|
};
|
|
171
171
|
deliverability_rate: number;
|
|
172
172
|
bounce_rate: number;
|
|
@@ -489,8 +489,8 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
489
489
|
emails_by_status: Record<string, number>;
|
|
490
490
|
total_emails: number;
|
|
491
491
|
daily_emails_by_status: {
|
|
492
|
-
date: string;
|
|
493
492
|
error: number;
|
|
493
|
+
date: string;
|
|
494
494
|
ok: number;
|
|
495
495
|
in_progress: number;
|
|
496
496
|
}[];
|
|
@@ -498,14 +498,14 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
498
498
|
recent_emails: {
|
|
499
499
|
status: string;
|
|
500
500
|
id: string;
|
|
501
|
-
subject: string;
|
|
502
501
|
created_at_millis: number;
|
|
502
|
+
subject: string;
|
|
503
503
|
}[];
|
|
504
504
|
deliverability_status: {
|
|
505
505
|
error: number;
|
|
506
|
+
bounced: number;
|
|
506
507
|
in_progress: number;
|
|
507
508
|
delivered: number;
|
|
508
|
-
bounced: number;
|
|
509
509
|
};
|
|
510
510
|
deliverability_rate: number;
|
|
511
511
|
bounce_rate: number;
|
|
@@ -49,7 +49,7 @@ 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";
|
|
@@ -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";
|
|
@@ -173,19 +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: "
|
|
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;
|
|
176
|
+
status: "pending" | "open" | "closed";
|
|
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, {
|
|
@@ -211,19 +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: "
|
|
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;
|
|
214
|
+
status: "pending" | "open" | "closed";
|
|
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,20 +223,31 @@ 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
|
-
status: "
|
|
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";
|
|
@@ -5,21 +5,21 @@ import { CrudTypeOf } from "../../crud";
|
|
|
5
5
|
//#region src/interface/crud/current-user.d.ts
|
|
6
6
|
declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
7
7
|
clientReadSchema: yup$1.ObjectSchema<{
|
|
8
|
-
selected_team_id: string | null;
|
|
9
|
-
is_anonymous: boolean;
|
|
10
|
-
is_restricted: boolean;
|
|
11
8
|
restricted_reason: {
|
|
12
9
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
13
10
|
} | null;
|
|
14
|
-
requires_totp_mfa: boolean;
|
|
15
11
|
primary_email: string | null;
|
|
16
12
|
display_name: string | null;
|
|
17
13
|
client_metadata: {} | null;
|
|
18
14
|
client_read_only_metadata: {} | null;
|
|
19
15
|
id: string;
|
|
16
|
+
selected_team_id: string | null;
|
|
17
|
+
is_anonymous: boolean;
|
|
18
|
+
is_restricted: boolean;
|
|
19
|
+
requires_totp_mfa: boolean;
|
|
20
|
+
primary_email_verified: boolean;
|
|
20
21
|
profile_image_url: string | null;
|
|
21
22
|
signed_up_at_millis: number;
|
|
22
|
-
primary_email_verified: boolean;
|
|
23
23
|
has_password: boolean;
|
|
24
24
|
otp_auth_enabled: boolean;
|
|
25
25
|
passkey_auth_enabled: boolean;
|
|
@@ -93,8 +93,8 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
93
93
|
server_metadata?: {} | null | undefined;
|
|
94
94
|
display_name: string;
|
|
95
95
|
id: string;
|
|
96
|
-
created_at_millis: number;
|
|
97
96
|
profile_image_url: string | null;
|
|
97
|
+
created_at_millis: number;
|
|
98
98
|
} | null;
|
|
99
99
|
selected_team_id: string | null;
|
|
100
100
|
profile_image_url: string | null;
|
|
@@ -173,10 +173,10 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
173
173
|
requires_totp_mfa: undefined;
|
|
174
174
|
}, "">;
|
|
175
175
|
clientUpdateSchema: yup$1.ObjectSchema<{
|
|
176
|
-
selected_team_id: string | null | undefined;
|
|
177
176
|
primary_email: string | null | undefined;
|
|
178
177
|
display_name: string | null | undefined;
|
|
179
178
|
client_metadata: {} | null | undefined;
|
|
179
|
+
selected_team_id: string | null | undefined;
|
|
180
180
|
profile_image_url: string | null | undefined;
|
|
181
181
|
otp_auth_enabled: boolean | undefined;
|
|
182
182
|
passkey_auth_enabled: boolean | undefined;
|