@hexclave/shared 1.0.39 → 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 +1 -1
- package/dist/config/schema.d.ts +36 -36
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/config/schema.d.ts +36 -36
- package/dist/esm/interface/admin-interface.js +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +25 -25
- package/dist/esm/interface/client-interface.js +1 -1
- package/dist/esm/interface/conversations.d.ts +10 -10
- package/dist/esm/interface/crud/current-user.d.ts +9 -9
- package/dist/esm/interface/crud/email-outbox.d.ts +206 -206
- package/dist/esm/interface/crud/products.d.ts +5 -5
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/esm/interface/crud/team-member-profiles.d.ts +16 -16
- package/dist/esm/interface/crud/transactions.d.ts +2 -2
- package/dist/esm/interface/crud/users.d.ts +12 -12
- package/dist/esm/interface/plan-usage.d.ts +2 -2
- 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 +2 -1
- package/dist/esm/interface/server-interface.js.map +1 -1
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/known-errors.d.ts +2 -2
- package/dist/esm/schema-fields.d.ts +1 -1
- package/dist/esm/sessions.d.ts +1 -1
- package/dist/esm/utils/promises.js +1 -1
- package/dist/interface/admin-interface.js +1 -1
- package/dist/interface/admin-metrics.d.ts +25 -25
- package/dist/interface/client-interface.js +1 -1
- package/dist/interface/conversations.d.ts +10 -10
- package/dist/interface/crud/current-user.d.ts +9 -9
- package/dist/interface/crud/email-outbox.d.ts +206 -206
- package/dist/interface/crud/products.d.ts +5 -5
- package/dist/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/interface/crud/team-member-profiles.d.ts +16 -16
- package/dist/interface/crud/transactions.d.ts +2 -2
- package/dist/interface/crud/users.d.ts +12 -12
- package/dist/interface/plan-usage.d.ts +2 -2
- 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 +2 -1
- package/dist/interface/server-interface.js.map +1 -1
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/known-errors.d.ts +2 -2
- package/dist/schema-fields.d.ts +1 -1
- package/dist/sessions.d.ts +1 -1
- package/dist/utils/promises.js +1 -1
- package/package.json +1 -1
- package/src/interface/server-interface.ts +2 -0
|
@@ -20,9 +20,9 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
|
|
|
20
20
|
client_metadata?: {} | null | undefined;
|
|
21
21
|
client_read_only_metadata?: {} | null | undefined;
|
|
22
22
|
server_metadata?: {} | null | undefined;
|
|
23
|
+
display_name: string;
|
|
23
24
|
id: string;
|
|
24
25
|
created_at_millis: number;
|
|
25
|
-
display_name: string;
|
|
26
26
|
profile_image_url: string | null;
|
|
27
27
|
} | null;
|
|
28
28
|
selected_team_id: string | null;
|
|
@@ -110,9 +110,9 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
|
|
|
110
110
|
client_metadata?: {} | null | undefined;
|
|
111
111
|
client_read_only_metadata?: {} | null | undefined;
|
|
112
112
|
server_metadata?: {} | null | undefined;
|
|
113
|
+
display_name: string;
|
|
113
114
|
id: string;
|
|
114
115
|
created_at_millis: number;
|
|
115
|
-
display_name: string;
|
|
116
116
|
profile_image_url: string | null;
|
|
117
117
|
} | null;
|
|
118
118
|
selected_team_id: string | null;
|
|
@@ -98,7 +98,7 @@ declare const KnownErrors: {
|
|
|
98
98
|
};
|
|
99
99
|
AccessTypeWithoutProjectId: KnownErrorConstructor<KnownError & KnownErrorBrand<"PROJECT_AUTHENTICATION_ERROR"> & {
|
|
100
100
|
constructorArgs: [statusCode: number, humanReadableMessage: string, details?: Json | undefined];
|
|
101
|
-
} & KnownErrorBrand<"INVALID_PROJECT_AUTHENTICATION"> & KnownErrorBrand<"ACCESS_TYPE_WITHOUT_PROJECT_ID">, [accessType: "
|
|
101
|
+
} & KnownErrorBrand<"INVALID_PROJECT_AUTHENTICATION"> & KnownErrorBrand<"ACCESS_TYPE_WITHOUT_PROJECT_ID">, [accessType: "client" | "server" | "admin"]> & {
|
|
102
102
|
errorCode: "ACCESS_TYPE_WITHOUT_PROJECT_ID";
|
|
103
103
|
};
|
|
104
104
|
AccessTypeRequired: KnownErrorConstructor<KnownError & KnownErrorBrand<"PROJECT_AUTHENTICATION_ERROR"> & {
|
|
@@ -111,7 +111,7 @@ declare const KnownErrors: {
|
|
|
111
111
|
};
|
|
112
112
|
InsufficientAccessType: KnownErrorConstructor<KnownError & KnownErrorBrand<"PROJECT_AUTHENTICATION_ERROR"> & {
|
|
113
113
|
constructorArgs: [statusCode: number, humanReadableMessage: string, details?: Json | undefined];
|
|
114
|
-
} & KnownErrorBrand<"INVALID_PROJECT_AUTHENTICATION"> & KnownErrorBrand<"INSUFFICIENT_ACCESS_TYPE">, [actualAccessType: "
|
|
114
|
+
} & KnownErrorBrand<"INVALID_PROJECT_AUTHENTICATION"> & KnownErrorBrand<"INSUFFICIENT_ACCESS_TYPE">, [actualAccessType: "client" | "server" | "admin", allowedAccessTypes: ("client" | "server" | "admin")[]]> & {
|
|
115
115
|
errorCode: "INSUFFICIENT_ACCESS_TYPE";
|
|
116
116
|
};
|
|
117
117
|
InvalidPublishableClientKey: KnownErrorConstructor<KnownError & KnownErrorBrand<"PROJECT_AUTHENTICATION_ERROR"> & {
|
|
@@ -113,7 +113,7 @@ declare const moneyAmountSchema: (currency: Currency) => yup$1.StringSchema<stri
|
|
|
113
113
|
*/
|
|
114
114
|
declare const strictEmailSchema: (message: string | undefined) => yup$1.StringSchema<string | undefined, yup$1.AnyObject, undefined, "">;
|
|
115
115
|
declare const emailSchema: yup$1.StringSchema<string | undefined, yup$1.AnyObject, undefined, "">;
|
|
116
|
-
declare const clientOrHigherAuthTypeSchema: yup$1.StringSchema<"
|
|
116
|
+
declare const clientOrHigherAuthTypeSchema: yup$1.StringSchema<"client" | "server" | "admin", yup$1.AnyObject, undefined, "">;
|
|
117
117
|
declare const serverOrHigherAuthTypeSchema: yup$1.StringSchema<"server" | "admin", yup$1.AnyObject, undefined, "">;
|
|
118
118
|
declare const adminAuthTypeSchema: yup$1.StringSchema<"admin", yup$1.AnyObject, undefined, "">;
|
|
119
119
|
declare const projectIdSchema: yup$1.StringSchema<string | undefined, yup$1.AnyObject, undefined, "">;
|
package/dist/esm/sessions.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ declare class AccessToken {
|
|
|
9
9
|
private constructor();
|
|
10
10
|
get payload(): {
|
|
11
11
|
exp?: number | undefined;
|
|
12
|
-
name: string | null;
|
|
13
12
|
project_id: string;
|
|
14
13
|
refresh_token_id: string;
|
|
15
14
|
email: string | null;
|
|
@@ -22,6 +21,7 @@ declare class AccessToken {
|
|
|
22
21
|
iss: string;
|
|
23
22
|
aud: string;
|
|
24
23
|
role: "authenticated";
|
|
24
|
+
name: string | null;
|
|
25
25
|
email_verified: boolean;
|
|
26
26
|
selected_team_id: string | null;
|
|
27
27
|
signed_up_at: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { KnownError } from "../index.js";
|
|
1
2
|
import { HexclaveAssertionError, captureError, concatStacktraces, errorToNiceString } from "./errors.js";
|
|
2
3
|
import { getProcessEnv } from "./env.js";
|
|
3
4
|
import { DependenciesMap } from "./maps.js";
|
|
4
5
|
import { Result } from "./results.js";
|
|
5
6
|
import { traceSpan } from "./telemetry.js";
|
|
6
|
-
import { KnownError } from "../index.js";
|
|
7
7
|
import { generateUuid } from "./uuids.js";
|
|
8
8
|
|
|
9
9
|
//#region src/utils/promises.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_chunk = require('../chunk-BE-pF4vm.js');
|
|
3
3
|
let ___utils_results_js = require("../utils/results.js");
|
|
4
|
-
let ___known_errors_js = require("../known-errors.js");
|
|
5
4
|
let ___utils_urls_js = require("../utils/urls.js");
|
|
5
|
+
let ___known_errors_js = require("../known-errors.js");
|
|
6
6
|
let __server_interface_js = require("./server-interface.js");
|
|
7
7
|
|
|
8
8
|
//#region src/interface/admin-interface.ts
|
|
@@ -150,15 +150,15 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
|
|
|
150
150
|
activity: number;
|
|
151
151
|
}[];
|
|
152
152
|
daily_emails_by_status: {
|
|
153
|
-
date: string;
|
|
154
|
-
ok: number;
|
|
155
153
|
error: number;
|
|
154
|
+
ok: number;
|
|
155
|
+
date: string;
|
|
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
|
}[];
|
|
@@ -292,16 +292,16 @@ declare const MetricsAnalyticsOverviewSchema: yup.ObjectSchema<{
|
|
|
292
292
|
activity: number;
|
|
293
293
|
}[];
|
|
294
294
|
top_browsers: {
|
|
295
|
-
visitors: number;
|
|
296
295
|
name: string;
|
|
296
|
+
visitors: number;
|
|
297
297
|
}[];
|
|
298
298
|
top_operating_systems: {
|
|
299
|
-
visitors: number;
|
|
300
299
|
name: string;
|
|
300
|
+
visitors: number;
|
|
301
301
|
}[];
|
|
302
302
|
top_devices: {
|
|
303
|
-
visitors: number;
|
|
304
303
|
name: string;
|
|
304
|
+
visitors: number;
|
|
305
305
|
}[];
|
|
306
306
|
conversion_rate: number | undefined;
|
|
307
307
|
deltas: {} | undefined;
|
|
@@ -392,30 +392,30 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
|
|
|
392
392
|
kind: "team_user_hour_of_week" | "session_replay_clicks";
|
|
393
393
|
cells: {
|
|
394
394
|
value: number;
|
|
395
|
-
weekday: number;
|
|
396
395
|
hour: number;
|
|
396
|
+
weekday: number;
|
|
397
397
|
}[];
|
|
398
398
|
sampling: number;
|
|
399
399
|
routes: {
|
|
400
400
|
path: string;
|
|
401
|
-
clicks: number;
|
|
402
401
|
users: number;
|
|
402
|
+
clicks: number;
|
|
403
403
|
replays: number;
|
|
404
404
|
}[];
|
|
405
405
|
users: {
|
|
406
|
-
id: string;
|
|
407
|
-
display_name: string | null;
|
|
408
406
|
primary_email: string | null;
|
|
407
|
+
display_name: string | null;
|
|
408
|
+
id: string;
|
|
409
409
|
profile_image_url: string | null;
|
|
410
410
|
clicks: number;
|
|
411
411
|
replays: number;
|
|
412
412
|
last_event_at_millis: number;
|
|
413
413
|
}[];
|
|
414
414
|
replays: {
|
|
415
|
+
user_id: string | null;
|
|
415
416
|
id: string;
|
|
416
417
|
clicks: number;
|
|
417
418
|
last_event_at_millis: number;
|
|
418
|
-
user_id: string | null;
|
|
419
419
|
route_path: string | null;
|
|
420
420
|
viewport_width: number | null;
|
|
421
421
|
viewport_height: number | null;
|
|
@@ -443,9 +443,9 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
|
|
|
443
443
|
elements: never[];
|
|
444
444
|
}, "">;
|
|
445
445
|
declare const MetricsActiveUsersByCountrySchema: yup.MixedSchema<Record<string, {
|
|
446
|
-
id: string;
|
|
447
|
-
display_name: string | null;
|
|
448
446
|
primary_email: string | null;
|
|
447
|
+
display_name: string | null;
|
|
448
|
+
id: string;
|
|
449
449
|
profile_image_url: string | null;
|
|
450
450
|
signed_up_at_millis: number;
|
|
451
451
|
last_active_at_millis: number | null;
|
|
@@ -471,25 +471,25 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
471
471
|
}[];
|
|
472
472
|
users_by_country: Record<string, number>;
|
|
473
473
|
active_users_by_country: Record<string, {
|
|
474
|
-
id: string;
|
|
475
|
-
display_name: string | null;
|
|
476
474
|
primary_email: string | null;
|
|
475
|
+
display_name: string | null;
|
|
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
|
-
id: string;
|
|
483
|
-
display_name: string | null;
|
|
484
482
|
primary_email: string | null;
|
|
483
|
+
display_name: string | null;
|
|
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
|
-
id: string;
|
|
491
|
-
display_name: string | null;
|
|
492
490
|
primary_email: string | null;
|
|
491
|
+
display_name: string | null;
|
|
492
|
+
id: string;
|
|
493
493
|
profile_image_url: string | null;
|
|
494
494
|
signed_up_at_millis: number;
|
|
495
495
|
last_active_at_millis: number | null;
|
|
@@ -563,15 +563,15 @@ 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
|
-
date: string;
|
|
567
|
-
ok: number;
|
|
568
566
|
error: number;
|
|
567
|
+
ok: number;
|
|
568
|
+
date: string;
|
|
569
569
|
in_progress: number;
|
|
570
570
|
}[];
|
|
571
571
|
emails_sent: number;
|
|
572
572
|
recent_emails: {
|
|
573
|
-
id: string;
|
|
574
573
|
status: string;
|
|
574
|
+
id: string;
|
|
575
575
|
subject: string;
|
|
576
576
|
created_at_millis: number;
|
|
577
577
|
}[];
|
|
@@ -652,16 +652,16 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
652
652
|
activity: number;
|
|
653
653
|
}[];
|
|
654
654
|
top_browsers: {
|
|
655
|
-
visitors: number;
|
|
656
655
|
name: string;
|
|
656
|
+
visitors: number;
|
|
657
657
|
}[];
|
|
658
658
|
top_operating_systems: {
|
|
659
|
-
visitors: number;
|
|
660
659
|
name: string;
|
|
660
|
+
visitors: number;
|
|
661
661
|
}[];
|
|
662
662
|
top_devices: {
|
|
663
|
-
visitors: number;
|
|
664
663
|
name: string;
|
|
664
|
+
visitors: number;
|
|
665
665
|
}[];
|
|
666
666
|
};
|
|
667
667
|
}, yup.AnyObject, {
|
|
@@ -5,8 +5,8 @@ let ___utils_objects_js = require("../utils/objects.js");
|
|
|
5
5
|
let ___utils_strings_js = require("../utils/strings.js");
|
|
6
6
|
let ___utils_oauth_js = require("../utils/oauth.js");
|
|
7
7
|
let ___utils_results_js = require("../utils/results.js");
|
|
8
|
-
let ___known_errors_js = require("../known-errors.js");
|
|
9
8
|
let ___utils_urls_js = require("../utils/urls.js");
|
|
9
|
+
let ___known_errors_js = require("../known-errors.js");
|
|
10
10
|
let ___sessions_js = require("../sessions.js");
|
|
11
11
|
let ___utils_crypto_js = require("../utils/crypto.js");
|
|
12
12
|
let ___utils_globals_js = require("../utils/globals.js");
|
|
@@ -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[];
|
|
59
60
|
assignedToUserId: string | null;
|
|
60
61
|
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,7 @@ 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
177
|
subject: string;
|
|
178
178
|
priority: "low" | "normal" | "high" | "urgent";
|
|
179
179
|
conversationId: string;
|
|
@@ -187,9 +187,9 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
187
187
|
preview: string | null;
|
|
188
188
|
lastActivityAt: string;
|
|
189
189
|
metadata: {
|
|
190
|
+
tags: string[];
|
|
190
191
|
assignedToUserId: string | null;
|
|
191
192
|
assignedToDisplayName: string | null;
|
|
192
|
-
tags: string[];
|
|
193
193
|
firstResponseDueAt: string | null;
|
|
194
194
|
firstResponseAt: string | null;
|
|
195
195
|
nextResponseDueAt: string | null;
|
|
@@ -211,7 +211,7 @@ 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
215
|
subject: string;
|
|
216
216
|
priority: "low" | "normal" | "high" | "urgent";
|
|
217
217
|
conversationId: string;
|
|
@@ -225,9 +225,9 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
225
225
|
preview: string | null;
|
|
226
226
|
lastActivityAt: string;
|
|
227
227
|
metadata: {
|
|
228
|
+
tags: string[];
|
|
228
229
|
assignedToUserId: string | null;
|
|
229
230
|
assignedToDisplayName: string | null;
|
|
230
|
-
tags: string[];
|
|
231
231
|
firstResponseDueAt: string | null;
|
|
232
232
|
firstResponseAt: string | null;
|
|
233
233
|
nextResponseDueAt: string | null;
|
|
@@ -236,8 +236,8 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
238
|
messages: {
|
|
239
|
+
status: "pending" | "open" | "closed";
|
|
239
240
|
id: string;
|
|
240
|
-
status: "open" | "pending" | "closed";
|
|
241
241
|
subject: string;
|
|
242
242
|
priority: "low" | "normal" | "high" | "urgent";
|
|
243
243
|
conversationId: 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
|
}[];
|
|
@@ -4,20 +4,20 @@ 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
|
-
id: string;
|
|
8
|
-
display_name: string | null;
|
|
9
|
-
primary_email: string | null;
|
|
10
|
-
profile_image_url: string | null;
|
|
11
|
-
signed_up_at_millis: number;
|
|
12
7
|
restricted_reason: {
|
|
13
8
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
14
9
|
} | null;
|
|
10
|
+
primary_email: string | null;
|
|
11
|
+
display_name: string | null;
|
|
15
12
|
client_metadata: {} | null;
|
|
16
13
|
client_read_only_metadata: {} | null;
|
|
14
|
+
id: string;
|
|
17
15
|
selected_team_id: string | null;
|
|
18
16
|
is_anonymous: boolean;
|
|
19
17
|
is_restricted: boolean;
|
|
20
18
|
requires_totp_mfa: boolean;
|
|
19
|
+
profile_image_url: string | null;
|
|
20
|
+
signed_up_at_millis: number;
|
|
21
21
|
primary_email_verified: boolean;
|
|
22
22
|
has_password: boolean;
|
|
23
23
|
otp_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,9 +90,9 @@ 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
|
+
display_name: string;
|
|
93
94
|
id: string;
|
|
94
95
|
created_at_millis: number;
|
|
95
|
-
display_name: string;
|
|
96
96
|
profile_image_url: string | null;
|
|
97
97
|
} | null;
|
|
98
98
|
selected_team_id: 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;
|
|
177
|
-
|
|
176
|
+
display_name: string | null | undefined;
|
|
178
177
|
client_metadata: {} | null | undefined;
|
|
179
178
|
selected_team_id: string | null | undefined;
|
|
179
|
+
profile_image_url: 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;
|