@hexclave/shared 1.0.12 → 1.0.14
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 +173 -173
- package/dist/esm/config/schema.d.ts +173 -173
- package/dist/esm/interface/admin-metrics.d.ts +8 -8
- package/dist/esm/interface/conversations.d.ts +31 -31
- package/dist/esm/interface/crud/current-user.d.ts +7 -7
- package/dist/esm/interface/crud/email-outbox.d.ts +212 -212
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +4 -4
- package/dist/esm/interface/crud/project-api-keys.d.ts +3 -3
- package/dist/esm/interface/crud/projects.d.ts +16 -16
- package/dist/esm/interface/crud/team-member-profiles.d.ts +18 -18
- package/dist/esm/interface/crud/transactions.d.ts +2 -2
- package/dist/esm/interface/crud/users.d.ts +10 -10
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/schema-fields.d.ts +3 -3
- package/dist/esm/sessions.d.ts +8 -8
- package/dist/interface/admin-metrics.d.ts +8 -8
- package/dist/interface/conversations.d.ts +31 -31
- package/dist/interface/crud/current-user.d.ts +7 -7
- package/dist/interface/crud/email-outbox.d.ts +212 -212
- package/dist/interface/crud/invoices.d.ts +2 -2
- package/dist/interface/crud/products.d.ts +4 -4
- package/dist/interface/crud/project-api-keys.d.ts +3 -3
- package/dist/interface/crud/projects.d.ts +16 -16
- package/dist/interface/crud/team-member-profiles.d.ts +18 -18
- package/dist/interface/crud/transactions.d.ts +2 -2
- package/dist/interface/crud/users.d.ts +10 -10
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/schema-fields.d.ts +3 -3
- package/dist/sessions.d.ts +8 -8
- package/package.json +1 -1
|
@@ -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: "draft" | "open" | "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: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
19
19
|
created_at_millis: number;
|
|
20
20
|
amount_total: number;
|
|
21
21
|
hosted_invoice_url: string | null;
|
|
@@ -26,8 +26,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
26
26
|
}>;
|
|
27
27
|
display_name: string;
|
|
28
28
|
included_items: Record<string, {
|
|
29
|
-
quantity?: number | undefined;
|
|
30
29
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
30
|
+
quantity?: number | undefined;
|
|
31
31
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
};
|
|
@@ -61,8 +61,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
61
61
|
}>;
|
|
62
62
|
display_name: string;
|
|
63
63
|
included_items: Record<string, {
|
|
64
|
-
quantity?: number | undefined;
|
|
65
64
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
65
|
+
quantity?: number | undefined;
|
|
66
66
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
67
67
|
}>;
|
|
68
68
|
};
|
|
@@ -124,8 +124,8 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
124
124
|
}>;
|
|
125
125
|
display_name: string;
|
|
126
126
|
included_items: Record<string, {
|
|
127
|
-
quantity?: number | undefined;
|
|
128
127
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
128
|
+
quantity?: number | undefined;
|
|
129
129
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
130
130
|
}>;
|
|
131
131
|
};
|
|
@@ -152,8 +152,8 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
152
152
|
}>;
|
|
153
153
|
display_name: string;
|
|
154
154
|
included_items: Record<string, {
|
|
155
|
-
quantity?: number | undefined;
|
|
156
155
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
156
|
+
quantity?: number | undefined;
|
|
157
157
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
158
158
|
}>;
|
|
159
159
|
};
|
|
@@ -79,9 +79,9 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
79
79
|
is_public: undefined;
|
|
80
80
|
user_id: undefined;
|
|
81
81
|
}, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
82
|
-
type: "user";
|
|
83
|
-
user_id: string;
|
|
84
82
|
description: string;
|
|
83
|
+
user_id: string;
|
|
84
|
+
type: "user";
|
|
85
85
|
id: string;
|
|
86
86
|
created_at_millis: number;
|
|
87
87
|
expires_at_millis: number | undefined;
|
|
@@ -177,9 +177,9 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
177
177
|
is_public: undefined;
|
|
178
178
|
team_id: undefined;
|
|
179
179
|
}, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
180
|
+
description: string;
|
|
180
181
|
type: "team";
|
|
181
182
|
team_id: string;
|
|
182
|
-
description: string;
|
|
183
183
|
id: string;
|
|
184
184
|
created_at_millis: number;
|
|
185
185
|
expires_at_millis: number | undefined;
|
|
@@ -4,7 +4,7 @@ import { CrudTypeOf } from "../../crud";
|
|
|
4
4
|
|
|
5
5
|
//#region src/interface/crud/projects.d.ts
|
|
6
6
|
declare const emailConfigSchema: yup$1.ObjectSchema<{
|
|
7
|
-
type: "
|
|
7
|
+
type: "standard" | "shared";
|
|
8
8
|
host: string | undefined;
|
|
9
9
|
port: number | undefined;
|
|
10
10
|
username: string | undefined;
|
|
@@ -21,7 +21,7 @@ declare const emailConfigSchema: yup$1.ObjectSchema<{
|
|
|
21
21
|
sender_email: undefined;
|
|
22
22
|
}, "">;
|
|
23
23
|
declare const emailConfigWithoutPasswordSchema: yup$1.ObjectSchema<{
|
|
24
|
-
type: "
|
|
24
|
+
type: "standard" | "shared";
|
|
25
25
|
host: string | undefined;
|
|
26
26
|
port: number | undefined;
|
|
27
27
|
username: string | undefined;
|
|
@@ -67,7 +67,7 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
67
67
|
facebook_config_id?: string | undefined;
|
|
68
68
|
microsoft_tenant_id?: string | undefined;
|
|
69
69
|
apple_bundle_ids?: string[] | undefined;
|
|
70
|
-
type: "
|
|
70
|
+
type: "standard" | "shared";
|
|
71
71
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
72
72
|
provider_config_id: string;
|
|
73
73
|
}[];
|
|
@@ -90,7 +90,7 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
|
|
|
90
90
|
username?: string | undefined;
|
|
91
91
|
sender_name?: string | undefined;
|
|
92
92
|
sender_email?: string | undefined;
|
|
93
|
-
type: "
|
|
93
|
+
type: "standard" | "shared";
|
|
94
94
|
};
|
|
95
95
|
email_theme: string;
|
|
96
96
|
create_team_on_sign_up: boolean;
|
|
@@ -220,7 +220,7 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
220
220
|
facebook_config_id?: string | undefined;
|
|
221
221
|
microsoft_tenant_id?: string | undefined;
|
|
222
222
|
apple_bundle_ids?: string[] | undefined;
|
|
223
|
-
type: "
|
|
223
|
+
type: "standard" | "shared";
|
|
224
224
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
225
225
|
}[] | undefined;
|
|
226
226
|
allow_localhost?: boolean | undefined;
|
|
@@ -239,7 +239,7 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
|
|
|
239
239
|
username?: string | undefined;
|
|
240
240
|
sender_name?: string | undefined;
|
|
241
241
|
sender_email?: string | undefined;
|
|
242
|
-
type: "
|
|
242
|
+
type: "standard" | "shared";
|
|
243
243
|
} | undefined;
|
|
244
244
|
email_theme?: string | undefined;
|
|
245
245
|
create_team_on_sign_up?: boolean | undefined;
|
|
@@ -300,7 +300,7 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
300
300
|
facebook_config_id?: string | undefined;
|
|
301
301
|
microsoft_tenant_id?: string | undefined;
|
|
302
302
|
apple_bundle_ids?: string[] | undefined;
|
|
303
|
-
type: "
|
|
303
|
+
type: "standard" | "shared";
|
|
304
304
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
305
305
|
}[] | undefined;
|
|
306
306
|
allow_localhost?: boolean | undefined;
|
|
@@ -319,7 +319,7 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
|
|
|
319
319
|
username?: string | undefined;
|
|
320
320
|
sender_name?: string | undefined;
|
|
321
321
|
sender_email?: string | undefined;
|
|
322
|
-
type: "
|
|
322
|
+
type: "standard" | "shared";
|
|
323
323
|
} | undefined;
|
|
324
324
|
email_theme?: string | undefined;
|
|
325
325
|
create_team_on_sign_up?: boolean | undefined;
|
|
@@ -440,7 +440,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
440
440
|
facebook_config_id?: string | undefined;
|
|
441
441
|
microsoft_tenant_id?: string | undefined;
|
|
442
442
|
apple_bundle_ids?: string[] | undefined;
|
|
443
|
-
type: "
|
|
443
|
+
type: "standard" | "shared";
|
|
444
444
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
445
445
|
provider_config_id: string;
|
|
446
446
|
}[];
|
|
@@ -463,7 +463,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
463
463
|
username?: string | undefined;
|
|
464
464
|
sender_name?: string | undefined;
|
|
465
465
|
sender_email?: string | undefined;
|
|
466
|
-
type: "
|
|
466
|
+
type: "standard" | "shared";
|
|
467
467
|
};
|
|
468
468
|
email_theme: string;
|
|
469
469
|
create_team_on_sign_up: boolean;
|
|
@@ -555,7 +555,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
555
555
|
facebook_config_id?: string | undefined;
|
|
556
556
|
microsoft_tenant_id?: string | undefined;
|
|
557
557
|
apple_bundle_ids?: string[] | undefined;
|
|
558
|
-
type: "
|
|
558
|
+
type: "standard" | "shared";
|
|
559
559
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
560
560
|
}[] | undefined;
|
|
561
561
|
allow_localhost?: boolean | undefined;
|
|
@@ -574,7 +574,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
574
574
|
username?: string | undefined;
|
|
575
575
|
sender_name?: string | undefined;
|
|
576
576
|
sender_email?: string | undefined;
|
|
577
|
-
type: "
|
|
577
|
+
type: "standard" | "shared";
|
|
578
578
|
} | undefined;
|
|
579
579
|
email_theme?: string | undefined;
|
|
580
580
|
create_team_on_sign_up?: boolean | undefined;
|
|
@@ -663,7 +663,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
663
663
|
facebook_config_id?: string | undefined;
|
|
664
664
|
microsoft_tenant_id?: string | undefined;
|
|
665
665
|
apple_bundle_ids?: string[] | undefined;
|
|
666
|
-
type: "
|
|
666
|
+
type: "standard" | "shared";
|
|
667
667
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
668
668
|
provider_config_id: string;
|
|
669
669
|
}[];
|
|
@@ -686,7 +686,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
686
686
|
username?: string | undefined;
|
|
687
687
|
sender_name?: string | undefined;
|
|
688
688
|
sender_email?: string | undefined;
|
|
689
|
-
type: "
|
|
689
|
+
type: "standard" | "shared";
|
|
690
690
|
};
|
|
691
691
|
email_theme: string;
|
|
692
692
|
create_team_on_sign_up: boolean;
|
|
@@ -778,7 +778,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
778
778
|
facebook_config_id?: string | undefined;
|
|
779
779
|
microsoft_tenant_id?: string | undefined;
|
|
780
780
|
apple_bundle_ids?: string[] | undefined;
|
|
781
|
-
type: "
|
|
781
|
+
type: "standard" | "shared";
|
|
782
782
|
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
783
783
|
}[] | undefined;
|
|
784
784
|
allow_localhost?: boolean | undefined;
|
|
@@ -797,7 +797,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
797
797
|
username?: string | undefined;
|
|
798
798
|
sender_name?: string | undefined;
|
|
799
799
|
sender_email?: string | undefined;
|
|
800
|
-
type: "
|
|
800
|
+
type: "standard" | "shared";
|
|
801
801
|
} | undefined;
|
|
802
802
|
email_theme?: string | undefined;
|
|
803
803
|
create_team_on_sign_up?: boolean | undefined;
|
|
@@ -21,40 +21,40 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
21
21
|
profile_image_url: string | null;
|
|
22
22
|
} & {
|
|
23
23
|
user: {
|
|
24
|
-
selected_team_id: string | null;
|
|
25
|
-
is_anonymous: boolean;
|
|
26
|
-
is_restricted: boolean;
|
|
27
24
|
restricted_reason: {
|
|
28
25
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
29
26
|
} | null;
|
|
30
|
-
requires_totp_mfa: boolean;
|
|
31
27
|
primary_email: string | null;
|
|
32
28
|
display_name: string | null;
|
|
33
29
|
client_metadata: {} | null;
|
|
34
30
|
client_read_only_metadata: {} | null;
|
|
35
31
|
server_metadata: {} | null;
|
|
36
32
|
id: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
selected_team_id: string | null;
|
|
34
|
+
is_anonymous: boolean;
|
|
35
|
+
is_restricted: boolean;
|
|
36
|
+
requires_totp_mfa: boolean;
|
|
41
37
|
primary_email_verified: boolean;
|
|
42
38
|
primary_email_auth_enabled: boolean;
|
|
39
|
+
profile_image_url: string | null;
|
|
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
44
|
display_name: string;
|
|
48
45
|
id: string;
|
|
49
|
-
created_at_millis: number;
|
|
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;
|
|
@@ -144,40 +144,40 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
144
144
|
profile_image_url: string | null;
|
|
145
145
|
} & {
|
|
146
146
|
user: {
|
|
147
|
-
selected_team_id: string | null;
|
|
148
|
-
is_anonymous: boolean;
|
|
149
|
-
is_restricted: boolean;
|
|
150
147
|
restricted_reason: {
|
|
151
148
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
152
149
|
} | null;
|
|
153
|
-
requires_totp_mfa: boolean;
|
|
154
150
|
primary_email: string | null;
|
|
155
151
|
display_name: string | null;
|
|
156
152
|
client_metadata: {} | null;
|
|
157
153
|
client_read_only_metadata: {} | null;
|
|
158
154
|
server_metadata: {} | null;
|
|
159
155
|
id: string;
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
156
|
+
selected_team_id: string | null;
|
|
157
|
+
is_anonymous: boolean;
|
|
158
|
+
is_restricted: boolean;
|
|
159
|
+
requires_totp_mfa: boolean;
|
|
164
160
|
primary_email_verified: boolean;
|
|
165
161
|
primary_email_auth_enabled: boolean;
|
|
162
|
+
profile_image_url: string | null;
|
|
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
167
|
display_name: string;
|
|
171
168
|
id: string;
|
|
172
|
-
created_at_millis: number;
|
|
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;
|
|
@@ -58,8 +58,8 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
|
|
|
58
58
|
}>;
|
|
59
59
|
display_name: string;
|
|
60
60
|
included_items: Record<string, {
|
|
61
|
-
quantity?: number | undefined;
|
|
62
61
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
62
|
+
quantity?: number | undefined;
|
|
63
63
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
64
64
|
}>;
|
|
65
65
|
};
|
|
@@ -142,8 +142,8 @@ declare const transactionSchema: yup$1.ObjectSchema<{
|
|
|
142
142
|
}>;
|
|
143
143
|
display_name: string;
|
|
144
144
|
included_items: Record<string, {
|
|
145
|
-
quantity?: number | undefined;
|
|
146
145
|
repeat?: "never" | ______utils_dates0.DayInterval | undefined;
|
|
146
|
+
quantity?: number | undefined;
|
|
147
147
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
148
148
|
}>;
|
|
149
149
|
};
|
|
@@ -83,8 +83,8 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
83
83
|
server_metadata?: {} | null | undefined;
|
|
84
84
|
display_name: string;
|
|
85
85
|
id: string;
|
|
86
|
-
created_at_millis: number;
|
|
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;
|
|
@@ -163,22 +163,22 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
163
163
|
requires_totp_mfa: undefined;
|
|
164
164
|
}, "">;
|
|
165
165
|
declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
166
|
-
is_anonymous: boolean | undefined;
|
|
167
166
|
primary_email: string | null | undefined;
|
|
168
167
|
display_name: string | null | undefined;
|
|
169
168
|
client_metadata: {} | null | undefined;
|
|
170
169
|
client_read_only_metadata: {} | null | undefined;
|
|
171
170
|
server_metadata: {} | null | undefined;
|
|
171
|
+
is_anonymous: boolean | undefined;
|
|
172
172
|
password: string | null | undefined;
|
|
173
|
-
country_code: string | null | undefined;
|
|
174
|
-
profile_image_url: string | null | undefined;
|
|
175
173
|
primary_email_verified: boolean | undefined;
|
|
176
174
|
primary_email_auth_enabled: boolean | undefined;
|
|
175
|
+
profile_image_url: string | null | undefined;
|
|
177
176
|
otp_auth_enabled: boolean | undefined;
|
|
178
177
|
passkey_auth_enabled: boolean | undefined;
|
|
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;
|
|
@@ -236,8 +236,8 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
236
236
|
server_metadata?: {} | null | undefined;
|
|
237
237
|
display_name: string;
|
|
238
238
|
id: string;
|
|
239
|
-
created_at_millis: number;
|
|
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;
|
|
@@ -369,22 +369,22 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
369
369
|
};
|
|
370
370
|
}, "">;
|
|
371
371
|
serverCreateSchema: yup$1.ObjectSchema<{
|
|
372
|
-
is_anonymous: boolean | undefined;
|
|
373
372
|
primary_email: string | null | undefined;
|
|
374
373
|
display_name: string | null | undefined;
|
|
375
374
|
client_metadata: {} | null | undefined;
|
|
376
375
|
client_read_only_metadata: {} | null | undefined;
|
|
377
376
|
server_metadata: {} | null | undefined;
|
|
377
|
+
is_anonymous: boolean | undefined;
|
|
378
378
|
password: string | null | undefined;
|
|
379
|
-
country_code: string | null | undefined;
|
|
380
|
-
profile_image_url: string | null | undefined;
|
|
381
379
|
primary_email_verified: boolean | undefined;
|
|
382
380
|
primary_email_auth_enabled: boolean | undefined;
|
|
381
|
+
profile_image_url: string | null | undefined;
|
|
383
382
|
otp_auth_enabled: boolean | undefined;
|
|
384
383
|
passkey_auth_enabled: boolean | undefined;
|
|
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;
|
|
@@ -470,8 +470,8 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
|
|
|
470
470
|
server_metadata?: {} | null | undefined;
|
|
471
471
|
display_name: string;
|
|
472
472
|
id: string;
|
|
473
|
-
created_at_millis: number;
|
|
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;
|
|
@@ -561,8 +561,8 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
|
|
|
561
561
|
server_metadata?: {} | null | undefined;
|
|
562
562
|
display_name: string;
|
|
563
563
|
id: string;
|
|
564
|
-
created_at_millis: number;
|
|
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;
|
|
@@ -22,8 +22,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
|
|
|
22
22
|
server_metadata?: {} | null | undefined;
|
|
23
23
|
display_name: string;
|
|
24
24
|
id: string;
|
|
25
|
-
created_at_millis: number;
|
|
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;
|
|
@@ -112,8 +112,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
|
|
|
112
112
|
server_metadata?: {} | null | undefined;
|
|
113
113
|
display_name: string;
|
|
114
114
|
id: string;
|
|
115
|
-
created_at_millis: number;
|
|
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;
|
|
@@ -140,7 +140,7 @@ declare const projectSignUpEnabledSchema: yup$1.BooleanSchema<boolean | undefine
|
|
|
140
140
|
declare const projectCredentialEnabledSchema: yup$1.BooleanSchema<boolean | undefined, yup$1.AnyObject, undefined, "">;
|
|
141
141
|
declare const oauthIdSchema: yup$1.StringSchema<"google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined, yup$1.AnyObject, undefined, "">;
|
|
142
142
|
declare const oauthEnabledSchema: yup$1.BooleanSchema<boolean | undefined, yup$1.AnyObject, undefined, "">;
|
|
143
|
-
declare const oauthTypeSchema: yup$1.StringSchema<"
|
|
143
|
+
declare const oauthTypeSchema: yup$1.StringSchema<"standard" | "shared" | undefined, yup$1.AnyObject, undefined, "">;
|
|
144
144
|
declare const oauthClientIdSchema: yup$1.StringSchema<string | undefined, yup$1.AnyObject, undefined, "">;
|
|
145
145
|
declare const oauthClientSecretSchema: yup$1.StringSchema<string | undefined, yup$1.AnyObject, undefined, "">;
|
|
146
146
|
declare const oauthCustomCallbackUrlSchema: yup$1.StringSchema<string | undefined, yup$1.AnyObject, undefined, "">;
|
|
@@ -149,7 +149,7 @@ declare const oauthMicrosoftTenantIdSchema: yup$1.StringSchema<string | undefine
|
|
|
149
149
|
declare const oauthAppleBundleIdsSchema: yup$1.ArraySchema<string[] | undefined, yup$1.AnyObject, undefined, "">;
|
|
150
150
|
declare const oauthAppleBundleIdSchema: yup$1.StringSchema<string, yup$1.AnyObject, undefined, "">;
|
|
151
151
|
declare const oauthAccountMergeStrategySchema: yup$1.StringSchema<"link_method" | "raise_error" | "allow_duplicates" | undefined, yup$1.AnyObject, undefined, "">;
|
|
152
|
-
declare const emailTypeSchema: yup$1.StringSchema<"
|
|
152
|
+
declare const emailTypeSchema: yup$1.StringSchema<"standard" | "shared" | undefined, yup$1.AnyObject, undefined, "">;
|
|
153
153
|
declare const emailSenderNameSchema: yup$1.StringSchema<string | undefined, yup$1.AnyObject, undefined, "">;
|
|
154
154
|
declare const emailHostSchema: yup$1.StringSchema<string | undefined, yup$1.AnyObject, undefined, "">;
|
|
155
155
|
declare const emailPortSchema: yup$1.NumberSchema<number | undefined, yup$1.AnyObject, undefined, "">;
|
|
@@ -312,8 +312,8 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
|
|
|
312
312
|
free_trial?: DayInterval | undefined;
|
|
313
313
|
}>;
|
|
314
314
|
included_items: Record<string, {
|
|
315
|
-
quantity?: number | undefined;
|
|
316
315
|
repeat?: "never" | DayInterval | undefined;
|
|
316
|
+
quantity?: number | undefined;
|
|
317
317
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
318
318
|
}>;
|
|
319
319
|
client_metadata: {} | null | undefined;
|
package/dist/esm/sessions.d.ts
CHANGED
|
@@ -9,24 +9,24 @@ declare class AccessToken {
|
|
|
9
9
|
private constructor();
|
|
10
10
|
get payload(): {
|
|
11
11
|
exp?: number | undefined;
|
|
12
|
+
name: string | null;
|
|
12
13
|
sub: string;
|
|
14
|
+
project_id: string;
|
|
15
|
+
refresh_token_id: string;
|
|
16
|
+
email: string | null;
|
|
17
|
+
restricted_reason: {
|
|
18
|
+
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
19
|
+
} | null;
|
|
20
|
+
branch_id: string;
|
|
13
21
|
iat: number;
|
|
14
22
|
iss: string;
|
|
15
23
|
aud: string;
|
|
16
|
-
project_id: string;
|
|
17
|
-
branch_id: string;
|
|
18
|
-
refresh_token_id: string;
|
|
19
24
|
role: "authenticated";
|
|
20
|
-
name: string | null;
|
|
21
|
-
email: string | null;
|
|
22
25
|
email_verified: boolean;
|
|
23
26
|
selected_team_id: string | null;
|
|
24
27
|
signed_up_at: number;
|
|
25
28
|
is_anonymous: boolean;
|
|
26
29
|
is_restricted: boolean;
|
|
27
|
-
restricted_reason: {
|
|
28
|
-
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
29
|
-
} | null;
|
|
30
30
|
requires_totp_mfa: boolean;
|
|
31
31
|
};
|
|
32
32
|
get expiresAt(): Date;
|
|
@@ -150,23 +150,23 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
|
|
|
150
150
|
activity: number;
|
|
151
151
|
}[];
|
|
152
152
|
daily_emails_by_status: {
|
|
153
|
-
date: string;
|
|
154
|
-
error: number;
|
|
155
153
|
ok: number;
|
|
154
|
+
error: number;
|
|
155
|
+
date: string;
|
|
156
156
|
in_progress: number;
|
|
157
157
|
}[];
|
|
158
158
|
emails_sent: number;
|
|
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,23 +489,23 @@ 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
|
-
error: number;
|
|
494
492
|
ok: number;
|
|
493
|
+
error: number;
|
|
494
|
+
date: string;
|
|
495
495
|
in_progress: number;
|
|
496
496
|
}[];
|
|
497
497
|
emails_sent: number;
|
|
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;
|