@hexclave/shared 1.0.17 → 1.0.18
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 +50 -50
- package/dist/esm/config/schema.d.ts +50 -50
- package/dist/esm/interface/admin-metrics.d.ts +5 -5
- package/dist/esm/interface/conversations.d.ts +5 -5
- package/dist/esm/interface/crud/current-user.d.ts +5 -5
- package/dist/esm/interface/crud/email-outbox.d.ts +96 -96
- package/dist/esm/interface/crud/products.d.ts +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- 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/users.d.ts +12 -12
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/interface/admin-metrics.d.ts +5 -5
- package/dist/interface/conversations.d.ts +5 -5
- package/dist/interface/crud/current-user.d.ts +5 -5
- package/dist/interface/crud/email-outbox.d.ts +96 -96
- package/dist/interface/crud/products.d.ts +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/interface/crud/projects.d.ts +35 -35
- package/dist/interface/crud/team-member-profiles.d.ts +12 -12
- package/dist/interface/crud/users.d.ts +12 -12
- package/dist/interface/webhooks.d.ts +4 -4
- package/package.json +1 -1
|
@@ -131,6 +131,7 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
131
131
|
};
|
|
132
132
|
}[] | undefined;
|
|
133
133
|
quantity: number;
|
|
134
|
+
id: string | null;
|
|
134
135
|
product: {
|
|
135
136
|
free_trial?: ______utils_dates0.DayInterval | undefined;
|
|
136
137
|
client_metadata?: {} | null | undefined;
|
|
@@ -157,7 +158,6 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
157
158
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
158
159
|
}>;
|
|
159
160
|
};
|
|
160
|
-
id: string | null;
|
|
161
161
|
}[];
|
|
162
162
|
is_paginated: boolean;
|
|
163
163
|
pagination: {
|
|
@@ -81,10 +81,10 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
81
81
|
}, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
82
82
|
user_id: string;
|
|
83
83
|
type: "user";
|
|
84
|
-
description: string;
|
|
85
84
|
id: string;
|
|
86
|
-
|
|
85
|
+
description: string;
|
|
87
86
|
expires_at_millis: number | undefined;
|
|
87
|
+
created_at_millis: number;
|
|
88
88
|
manually_revoked_at_millis: number | undefined;
|
|
89
89
|
is_public: boolean;
|
|
90
90
|
} & {
|
|
@@ -179,10 +179,10 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
179
179
|
}, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
180
180
|
type: "team";
|
|
181
181
|
team_id: string;
|
|
182
|
-
description: string;
|
|
183
182
|
id: string;
|
|
184
|
-
|
|
183
|
+
description: string;
|
|
185
184
|
expires_at_millis: number | undefined;
|
|
185
|
+
created_at_millis: number;
|
|
186
186
|
manually_revoked_at_millis: number | undefined;
|
|
187
187
|
is_public: boolean;
|
|
188
188
|
} & {
|
|
@@ -52,15 +52,11 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
52
52
|
onboarding_state: {
|
|
53
53
|
selected_config_choice: "create-new" | "link-existing";
|
|
54
54
|
selected_apps: string[];
|
|
55
|
-
selected_sign_in_methods: ("
|
|
55
|
+
selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
|
|
56
56
|
selected_email_theme_id: string | null;
|
|
57
57
|
selected_payments_country: "US" | "OTHER";
|
|
58
58
|
} | null | undefined;
|
|
59
59
|
config: {
|
|
60
|
-
domains: {
|
|
61
|
-
domain: string;
|
|
62
|
-
handler_path: string;
|
|
63
|
-
}[];
|
|
64
60
|
oauth_providers: {
|
|
65
61
|
client_id?: string | undefined;
|
|
66
62
|
client_secret?: string | undefined;
|
|
@@ -71,6 +67,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
71
67
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
72
68
|
provider_config_id: string;
|
|
73
69
|
}[];
|
|
70
|
+
domains: {
|
|
71
|
+
domain: string;
|
|
72
|
+
handler_path: string;
|
|
73
|
+
}[];
|
|
74
74
|
allow_localhost: boolean;
|
|
75
75
|
sign_up_enabled: boolean;
|
|
76
76
|
credential_enabled: boolean;
|
|
@@ -205,15 +205,11 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
205
205
|
onboarding_state: {
|
|
206
206
|
selected_config_choice: "create-new" | "link-existing";
|
|
207
207
|
selected_apps: string[];
|
|
208
|
-
selected_sign_in_methods: ("
|
|
208
|
+
selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
|
|
209
209
|
selected_email_theme_id: string | null;
|
|
210
210
|
selected_payments_country: "US" | "OTHER";
|
|
211
211
|
} | null | undefined;
|
|
212
212
|
config: {
|
|
213
|
-
domains?: {
|
|
214
|
-
domain: string;
|
|
215
|
-
handler_path: string;
|
|
216
|
-
}[] | undefined;
|
|
217
213
|
oauth_providers?: {
|
|
218
214
|
client_id?: string | undefined;
|
|
219
215
|
client_secret?: string | undefined;
|
|
@@ -223,6 +219,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
223
219
|
type: "shared" | "standard";
|
|
224
220
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
225
221
|
}[] | undefined;
|
|
222
|
+
domains?: {
|
|
223
|
+
domain: string;
|
|
224
|
+
handler_path: string;
|
|
225
|
+
}[] | undefined;
|
|
226
226
|
allow_localhost?: boolean | undefined;
|
|
227
227
|
sign_up_enabled?: boolean | undefined;
|
|
228
228
|
credential_enabled?: boolean | undefined;
|
|
@@ -285,15 +285,11 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
285
285
|
onboarding_state: {
|
|
286
286
|
selected_config_choice: "create-new" | "link-existing";
|
|
287
287
|
selected_apps: string[];
|
|
288
|
-
selected_sign_in_methods: ("
|
|
288
|
+
selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
|
|
289
289
|
selected_email_theme_id: string | null;
|
|
290
290
|
selected_payments_country: "US" | "OTHER";
|
|
291
291
|
} | null | undefined;
|
|
292
292
|
config: {
|
|
293
|
-
domains?: {
|
|
294
|
-
domain: string;
|
|
295
|
-
handler_path: string;
|
|
296
|
-
}[] | undefined;
|
|
297
293
|
oauth_providers?: {
|
|
298
294
|
client_id?: string | undefined;
|
|
299
295
|
client_secret?: string | undefined;
|
|
@@ -303,6 +299,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
303
299
|
type: "shared" | "standard";
|
|
304
300
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
305
301
|
}[] | undefined;
|
|
302
|
+
domains?: {
|
|
303
|
+
domain: string;
|
|
304
|
+
handler_path: string;
|
|
305
|
+
}[] | undefined;
|
|
306
306
|
allow_localhost?: boolean | undefined;
|
|
307
307
|
sign_up_enabled?: boolean | undefined;
|
|
308
308
|
credential_enabled?: boolean | undefined;
|
|
@@ -425,15 +425,11 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
425
425
|
onboarding_state: {
|
|
426
426
|
selected_config_choice: "create-new" | "link-existing";
|
|
427
427
|
selected_apps: string[];
|
|
428
|
-
selected_sign_in_methods: ("
|
|
428
|
+
selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
|
|
429
429
|
selected_email_theme_id: string | null;
|
|
430
430
|
selected_payments_country: "US" | "OTHER";
|
|
431
431
|
} | null | undefined;
|
|
432
432
|
config: {
|
|
433
|
-
domains: {
|
|
434
|
-
domain: string;
|
|
435
|
-
handler_path: string;
|
|
436
|
-
}[];
|
|
437
433
|
oauth_providers: {
|
|
438
434
|
client_id?: string | undefined;
|
|
439
435
|
client_secret?: string | undefined;
|
|
@@ -444,6 +440,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
444
440
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
445
441
|
provider_config_id: string;
|
|
446
442
|
}[];
|
|
443
|
+
domains: {
|
|
444
|
+
domain: string;
|
|
445
|
+
handler_path: string;
|
|
446
|
+
}[];
|
|
447
447
|
allow_localhost: boolean;
|
|
448
448
|
sign_up_enabled: boolean;
|
|
449
449
|
credential_enabled: boolean;
|
|
@@ -540,15 +540,11 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
540
540
|
onboarding_state: {
|
|
541
541
|
selected_config_choice: "create-new" | "link-existing";
|
|
542
542
|
selected_apps: string[];
|
|
543
|
-
selected_sign_in_methods: ("
|
|
543
|
+
selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
|
|
544
544
|
selected_email_theme_id: string | null;
|
|
545
545
|
selected_payments_country: "US" | "OTHER";
|
|
546
546
|
} | null | undefined;
|
|
547
547
|
config: {
|
|
548
|
-
domains?: {
|
|
549
|
-
domain: string;
|
|
550
|
-
handler_path: string;
|
|
551
|
-
}[] | undefined;
|
|
552
548
|
oauth_providers?: {
|
|
553
549
|
client_id?: string | undefined;
|
|
554
550
|
client_secret?: string | undefined;
|
|
@@ -558,6 +554,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
558
554
|
type: "shared" | "standard";
|
|
559
555
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
560
556
|
}[] | undefined;
|
|
557
|
+
domains?: {
|
|
558
|
+
domain: string;
|
|
559
|
+
handler_path: string;
|
|
560
|
+
}[] | undefined;
|
|
561
561
|
allow_localhost?: boolean | undefined;
|
|
562
562
|
sign_up_enabled?: boolean | undefined;
|
|
563
563
|
credential_enabled?: boolean | undefined;
|
|
@@ -648,15 +648,11 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
648
648
|
onboarding_state: {
|
|
649
649
|
selected_config_choice: "create-new" | "link-existing";
|
|
650
650
|
selected_apps: string[];
|
|
651
|
-
selected_sign_in_methods: ("
|
|
651
|
+
selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
|
|
652
652
|
selected_email_theme_id: string | null;
|
|
653
653
|
selected_payments_country: "US" | "OTHER";
|
|
654
654
|
} | null | undefined;
|
|
655
655
|
config: {
|
|
656
|
-
domains: {
|
|
657
|
-
domain: string;
|
|
658
|
-
handler_path: string;
|
|
659
|
-
}[];
|
|
660
656
|
oauth_providers: {
|
|
661
657
|
client_id?: string | undefined;
|
|
662
658
|
client_secret?: string | undefined;
|
|
@@ -667,6 +663,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
667
663
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
668
664
|
provider_config_id: string;
|
|
669
665
|
}[];
|
|
666
|
+
domains: {
|
|
667
|
+
domain: string;
|
|
668
|
+
handler_path: string;
|
|
669
|
+
}[];
|
|
670
670
|
allow_localhost: boolean;
|
|
671
671
|
sign_up_enabled: boolean;
|
|
672
672
|
credential_enabled: boolean;
|
|
@@ -763,15 +763,11 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
763
763
|
onboarding_state: {
|
|
764
764
|
selected_config_choice: "create-new" | "link-existing";
|
|
765
765
|
selected_apps: string[];
|
|
766
|
-
selected_sign_in_methods: ("
|
|
766
|
+
selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
|
|
767
767
|
selected_email_theme_id: string | null;
|
|
768
768
|
selected_payments_country: "US" | "OTHER";
|
|
769
769
|
} | null | undefined;
|
|
770
770
|
config: {
|
|
771
|
-
domains?: {
|
|
772
|
-
domain: string;
|
|
773
|
-
handler_path: string;
|
|
774
|
-
}[] | undefined;
|
|
775
771
|
oauth_providers?: {
|
|
776
772
|
client_id?: string | undefined;
|
|
777
773
|
client_secret?: string | undefined;
|
|
@@ -781,6 +777,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
781
777
|
type: "shared" | "standard";
|
|
782
778
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
783
779
|
}[] | undefined;
|
|
780
|
+
domains?: {
|
|
781
|
+
domain: string;
|
|
782
|
+
handler_path: string;
|
|
783
|
+
}[] | undefined;
|
|
784
784
|
allow_localhost?: boolean | undefined;
|
|
785
785
|
sign_up_enabled?: boolean | undefined;
|
|
786
786
|
credential_enabled?: boolean | undefined;
|
|
@@ -25,36 +25,36 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
25
25
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
26
26
|
} | null;
|
|
27
27
|
primary_email: string | null;
|
|
28
|
+
id: string;
|
|
28
29
|
display_name: string | null;
|
|
29
30
|
client_metadata: {} | null;
|
|
30
31
|
client_read_only_metadata: {} | null;
|
|
31
32
|
server_metadata: {} | null;
|
|
32
|
-
id: string;
|
|
33
33
|
selected_team_id: string | null;
|
|
34
34
|
is_anonymous: boolean;
|
|
35
35
|
is_restricted: boolean;
|
|
36
36
|
requires_totp_mfa: boolean;
|
|
37
|
-
country_code: string | null;
|
|
38
37
|
profile_image_url: string | null;
|
|
39
|
-
signed_up_at_millis: number;
|
|
40
|
-
last_active_at_millis: number;
|
|
41
38
|
primary_email_verified: boolean;
|
|
42
39
|
primary_email_auth_enabled: boolean;
|
|
43
40
|
selected_team: {
|
|
44
41
|
client_metadata?: {} | null | undefined;
|
|
45
42
|
client_read_only_metadata?: {} | null | undefined;
|
|
46
43
|
server_metadata?: {} | null | undefined;
|
|
47
|
-
display_name: string;
|
|
48
44
|
id: string;
|
|
49
|
-
|
|
45
|
+
display_name: string;
|
|
50
46
|
profile_image_url: string | null;
|
|
47
|
+
created_at_millis: number;
|
|
51
48
|
} | null;
|
|
49
|
+
signed_up_at_millis: number;
|
|
52
50
|
has_password: boolean;
|
|
53
51
|
otp_auth_enabled: boolean;
|
|
54
52
|
passkey_auth_enabled: boolean;
|
|
53
|
+
last_active_at_millis: number;
|
|
55
54
|
restricted_by_admin: boolean;
|
|
56
55
|
restricted_by_admin_reason: string | null;
|
|
57
56
|
restricted_by_admin_private_details: string | null;
|
|
57
|
+
country_code: string | null;
|
|
58
58
|
risk_scores: {
|
|
59
59
|
sign_up: {
|
|
60
60
|
bot: number;
|
|
@@ -148,36 +148,36 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
148
148
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
149
149
|
} | null;
|
|
150
150
|
primary_email: string | null;
|
|
151
|
+
id: string;
|
|
151
152
|
display_name: string | null;
|
|
152
153
|
client_metadata: {} | null;
|
|
153
154
|
client_read_only_metadata: {} | null;
|
|
154
155
|
server_metadata: {} | null;
|
|
155
|
-
id: string;
|
|
156
156
|
selected_team_id: string | null;
|
|
157
157
|
is_anonymous: boolean;
|
|
158
158
|
is_restricted: boolean;
|
|
159
159
|
requires_totp_mfa: boolean;
|
|
160
|
-
country_code: string | null;
|
|
161
160
|
profile_image_url: string | null;
|
|
162
|
-
signed_up_at_millis: number;
|
|
163
|
-
last_active_at_millis: number;
|
|
164
161
|
primary_email_verified: boolean;
|
|
165
162
|
primary_email_auth_enabled: boolean;
|
|
166
163
|
selected_team: {
|
|
167
164
|
client_metadata?: {} | null | undefined;
|
|
168
165
|
client_read_only_metadata?: {} | null | undefined;
|
|
169
166
|
server_metadata?: {} | null | undefined;
|
|
170
|
-
display_name: string;
|
|
171
167
|
id: string;
|
|
172
|
-
|
|
168
|
+
display_name: string;
|
|
173
169
|
profile_image_url: string | null;
|
|
170
|
+
created_at_millis: number;
|
|
174
171
|
} | null;
|
|
172
|
+
signed_up_at_millis: number;
|
|
175
173
|
has_password: boolean;
|
|
176
174
|
otp_auth_enabled: boolean;
|
|
177
175
|
passkey_auth_enabled: boolean;
|
|
176
|
+
last_active_at_millis: number;
|
|
178
177
|
restricted_by_admin: boolean;
|
|
179
178
|
restricted_by_admin_reason: string | null;
|
|
180
179
|
restricted_by_admin_private_details: string | null;
|
|
180
|
+
country_code: string | null;
|
|
181
181
|
risk_scores: {
|
|
182
182
|
sign_up: {
|
|
183
183
|
bot: number;
|
|
@@ -81,10 +81,10 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
81
81
|
client_metadata?: {} | null | undefined;
|
|
82
82
|
client_read_only_metadata?: {} | null | undefined;
|
|
83
83
|
server_metadata?: {} | null | undefined;
|
|
84
|
-
display_name: string;
|
|
85
84
|
id: string;
|
|
86
|
-
|
|
85
|
+
display_name: string;
|
|
87
86
|
profile_image_url: string | null;
|
|
87
|
+
created_at_millis: number;
|
|
88
88
|
} | null;
|
|
89
89
|
selected_team_id: string | null;
|
|
90
90
|
profile_image_url: string | null;
|
|
@@ -164,13 +164,12 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
164
164
|
}, "">;
|
|
165
165
|
declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
166
166
|
primary_email: string | null | undefined;
|
|
167
|
+
password: string | null | undefined;
|
|
167
168
|
display_name: string | null | undefined;
|
|
168
169
|
client_metadata: {} | null | undefined;
|
|
169
170
|
client_read_only_metadata: {} | null | undefined;
|
|
170
171
|
server_metadata: {} | null | undefined;
|
|
171
172
|
is_anonymous: boolean | undefined;
|
|
172
|
-
password: string | null | undefined;
|
|
173
|
-
country_code: string | null | undefined;
|
|
174
173
|
profile_image_url: string | null | undefined;
|
|
175
174
|
primary_email_verified: boolean | undefined;
|
|
176
175
|
primary_email_auth_enabled: boolean | undefined;
|
|
@@ -179,6 +178,7 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
|
179
178
|
restricted_by_admin: boolean | undefined;
|
|
180
179
|
restricted_by_admin_reason: string | null | undefined;
|
|
181
180
|
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;
|
|
@@ -234,10 +234,10 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
234
234
|
client_metadata?: {} | null | undefined;
|
|
235
235
|
client_read_only_metadata?: {} | null | undefined;
|
|
236
236
|
server_metadata?: {} | null | undefined;
|
|
237
|
-
display_name: string;
|
|
238
237
|
id: string;
|
|
239
|
-
|
|
238
|
+
display_name: string;
|
|
240
239
|
profile_image_url: string | null;
|
|
240
|
+
created_at_millis: number;
|
|
241
241
|
} | null;
|
|
242
242
|
selected_team_id: string | null;
|
|
243
243
|
profile_image_url: string | null;
|
|
@@ -370,13 +370,12 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
370
370
|
}, "">;
|
|
371
371
|
serverCreateSchema: yup$1.ObjectSchema<{
|
|
372
372
|
primary_email: string | null | undefined;
|
|
373
|
+
password: string | null | undefined;
|
|
373
374
|
display_name: string | null | undefined;
|
|
374
375
|
client_metadata: {} | null | undefined;
|
|
375
376
|
client_read_only_metadata: {} | null | undefined;
|
|
376
377
|
server_metadata: {} | null | undefined;
|
|
377
378
|
is_anonymous: boolean | undefined;
|
|
378
|
-
password: string | null | undefined;
|
|
379
|
-
country_code: string | null | undefined;
|
|
380
379
|
profile_image_url: string | null | undefined;
|
|
381
380
|
primary_email_verified: boolean | undefined;
|
|
382
381
|
primary_email_auth_enabled: boolean | undefined;
|
|
@@ -385,6 +384,7 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
385
384
|
restricted_by_admin: boolean | undefined;
|
|
386
385
|
restricted_by_admin_reason: string | null | undefined;
|
|
387
386
|
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;
|
|
@@ -468,10 +468,10 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
|
|
|
468
468
|
client_metadata?: {} | null | undefined;
|
|
469
469
|
client_read_only_metadata?: {} | null | undefined;
|
|
470
470
|
server_metadata?: {} | null | undefined;
|
|
471
|
-
display_name: string;
|
|
472
471
|
id: string;
|
|
473
|
-
|
|
472
|
+
display_name: string;
|
|
474
473
|
profile_image_url: string | null;
|
|
474
|
+
created_at_millis: number;
|
|
475
475
|
} | null;
|
|
476
476
|
selected_team_id: string | null;
|
|
477
477
|
profile_image_url: string | null;
|
|
@@ -559,10 +559,10 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
|
|
|
559
559
|
client_metadata?: {} | null | undefined;
|
|
560
560
|
client_read_only_metadata?: {} | null | undefined;
|
|
561
561
|
server_metadata?: {} | null | undefined;
|
|
562
|
-
display_name: string;
|
|
563
562
|
id: string;
|
|
564
|
-
|
|
563
|
+
display_name: string;
|
|
565
564
|
profile_image_url: string | null;
|
|
565
|
+
created_at_millis: number;
|
|
566
566
|
} | null;
|
|
567
567
|
selected_team_id: string | null;
|
|
568
568
|
profile_image_url: string | null;
|
|
@@ -20,10 +20,10 @@ 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;
|
|
24
23
|
id: string;
|
|
25
|
-
|
|
24
|
+
display_name: string;
|
|
26
25
|
profile_image_url: string | null;
|
|
26
|
+
created_at_millis: number;
|
|
27
27
|
} | null;
|
|
28
28
|
selected_team_id: string | null;
|
|
29
29
|
profile_image_url: string | null;
|
|
@@ -110,10 +110,10 @@ 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;
|
|
114
113
|
id: string;
|
|
115
|
-
|
|
114
|
+
display_name: string;
|
|
116
115
|
profile_image_url: string | null;
|
|
116
|
+
created_at_millis: number;
|
|
117
117
|
} | null;
|
|
118
118
|
selected_team_id: string | null;
|
|
119
119
|
profile_image_url: string | null;
|
|
@@ -404,8 +404,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
|
|
|
404
404
|
}[];
|
|
405
405
|
users: {
|
|
406
406
|
primary_email: string | null;
|
|
407
|
-
display_name: string | null;
|
|
408
407
|
id: string;
|
|
408
|
+
display_name: string | null;
|
|
409
409
|
profile_image_url: string | null;
|
|
410
410
|
clicks: number;
|
|
411
411
|
replays: number;
|
|
@@ -444,8 +444,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
|
|
|
444
444
|
}, "">;
|
|
445
445
|
declare const MetricsActiveUsersByCountrySchema: yup.MixedSchema<Record<string, {
|
|
446
446
|
primary_email: string | null;
|
|
447
|
-
display_name: string | null;
|
|
448
447
|
id: string;
|
|
448
|
+
display_name: string | null;
|
|
449
449
|
profile_image_url: string | null;
|
|
450
450
|
signed_up_at_millis: number;
|
|
451
451
|
last_active_at_millis: number | null;
|
|
@@ -472,24 +472,24 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
472
472
|
users_by_country: Record<string, number>;
|
|
473
473
|
active_users_by_country: Record<string, {
|
|
474
474
|
primary_email: string | null;
|
|
475
|
-
display_name: string | null;
|
|
476
475
|
id: string;
|
|
476
|
+
display_name: string | null;
|
|
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
482
|
primary_email: string | null;
|
|
483
|
-
display_name: string | null;
|
|
484
483
|
id: string;
|
|
484
|
+
display_name: string | null;
|
|
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
490
|
primary_email: string | null;
|
|
491
|
-
display_name: string | null;
|
|
492
491
|
id: string;
|
|
492
|
+
display_name: string | null;
|
|
493
493
|
profile_image_url: string | null;
|
|
494
494
|
signed_up_at_millis: number;
|
|
495
495
|
last_active_at_millis: number | null;
|
|
@@ -139,8 +139,8 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
|
|
|
139
139
|
createdAt: string;
|
|
140
140
|
sender: {
|
|
141
141
|
type: "user" | "agent" | "system";
|
|
142
|
-
displayName: string | null;
|
|
143
142
|
id: string | null;
|
|
143
|
+
displayName: string | null;
|
|
144
144
|
primaryEmail: string | null;
|
|
145
145
|
};
|
|
146
146
|
}, yup$1.AnyObject, {
|
|
@@ -174,7 +174,6 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
174
174
|
closedAt?: string | null | undefined;
|
|
175
175
|
recordMetadata?: {} | null | undefined;
|
|
176
176
|
status: "open" | "pending" | "closed";
|
|
177
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
178
177
|
subject: string;
|
|
179
178
|
conversationId: string;
|
|
180
179
|
userId: string | null;
|
|
@@ -182,6 +181,7 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
182
181
|
userDisplayName: string | null;
|
|
183
182
|
userPrimaryEmail: string | null;
|
|
184
183
|
userProfileImageUrl: string | null;
|
|
184
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
185
185
|
source: "email" | "manual" | "chat" | "api";
|
|
186
186
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
187
187
|
preview: string | null;
|
|
@@ -212,7 +212,6 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
212
212
|
closedAt?: string | null | undefined;
|
|
213
213
|
recordMetadata?: {} | null | undefined;
|
|
214
214
|
status: "open" | "pending" | "closed";
|
|
215
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
216
215
|
subject: string;
|
|
217
216
|
conversationId: string;
|
|
218
217
|
userId: string | null;
|
|
@@ -220,6 +219,7 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
220
219
|
userDisplayName: string | null;
|
|
221
220
|
userPrimaryEmail: string | null;
|
|
222
221
|
userProfileImageUrl: string | null;
|
|
222
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
223
223
|
source: "email" | "manual" | "chat" | "api";
|
|
224
224
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
225
225
|
preview: string | null;
|
|
@@ -238,11 +238,11 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
238
238
|
messages: {
|
|
239
239
|
status: "open" | "pending" | "closed";
|
|
240
240
|
id: string;
|
|
241
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
242
241
|
subject: string;
|
|
243
242
|
conversationId: string;
|
|
244
243
|
userId: string | null;
|
|
245
244
|
teamId: string | null;
|
|
245
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
246
246
|
source: "email" | "manual" | "chat" | "api";
|
|
247
247
|
metadata: {} | null;
|
|
248
248
|
createdAt: string;
|
|
@@ -251,8 +251,8 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
251
251
|
attachments: {}[];
|
|
252
252
|
sender: {
|
|
253
253
|
type: "user" | "agent" | "system";
|
|
254
|
-
displayName: string | null;
|
|
255
254
|
id: string | null;
|
|
255
|
+
displayName: string | null;
|
|
256
256
|
primaryEmail: string | null;
|
|
257
257
|
};
|
|
258
258
|
}[];
|
|
@@ -8,17 +8,17 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
8
8
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
9
9
|
} | null;
|
|
10
10
|
primary_email: string | null;
|
|
11
|
+
id: string;
|
|
11
12
|
display_name: string | null;
|
|
12
13
|
client_metadata: {} | null;
|
|
13
14
|
client_read_only_metadata: {} | null;
|
|
14
|
-
id: string;
|
|
15
15
|
selected_team_id: string | null;
|
|
16
16
|
is_anonymous: boolean;
|
|
17
17
|
is_restricted: boolean;
|
|
18
18
|
requires_totp_mfa: boolean;
|
|
19
19
|
profile_image_url: string | null;
|
|
20
|
-
signed_up_at_millis: number;
|
|
21
20
|
primary_email_verified: boolean;
|
|
21
|
+
signed_up_at_millis: number;
|
|
22
22
|
has_password: boolean;
|
|
23
23
|
otp_auth_enabled: boolean;
|
|
24
24
|
passkey_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
|
-
display_name: string;
|
|
38
37
|
id: string;
|
|
38
|
+
display_name: string;
|
|
39
39
|
profile_image_url: string | null;
|
|
40
40
|
} | null;
|
|
41
41
|
}, yup$1.AnyObject, {
|
|
@@ -90,10 +90,10 @@ 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;
|
|
94
93
|
id: string;
|
|
95
|
-
|
|
94
|
+
display_name: string;
|
|
96
95
|
profile_image_url: string | null;
|
|
96
|
+
created_at_millis: number;
|
|
97
97
|
} | null;
|
|
98
98
|
selected_team_id: string | null;
|
|
99
99
|
profile_image_url: string | null;
|