@stackframe/stack-shared 2.8.39 → 2.8.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/CHANGELOG.md +6 -0
- package/dist/esm/schema-fields.js +17 -1
- package/dist/esm/schema-fields.js.map +1 -1
- package/dist/esm/sessions.js +19 -9
- package/dist/esm/sessions.js.map +1 -1
- package/dist/esm/utils/paginated-lists.js +230 -0
- package/dist/esm/utils/paginated-lists.js.map +1 -0
- package/dist/helpers/password.d.mts +3 -3
- package/dist/helpers/password.d.ts +3 -3
- package/dist/index.d.mts +4 -5
- package/dist/index.d.ts +4 -5
- package/dist/interface/admin-interface.d.mts +4 -5
- package/dist/interface/admin-interface.d.ts +4 -5
- package/dist/interface/client-interface.d.mts +0 -1
- package/dist/interface/client-interface.d.ts +0 -1
- package/dist/interface/crud/current-user.d.mts +4 -4
- package/dist/interface/crud/current-user.d.ts +4 -4
- package/dist/interface/crud/oauth-providers.d.mts +4 -4
- package/dist/interface/crud/oauth-providers.d.ts +4 -4
- package/dist/interface/crud/project-api-keys.d.mts +2 -2
- package/dist/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/interface/crud/projects.d.mts +12 -12
- package/dist/interface/crud/projects.d.ts +12 -12
- package/dist/interface/crud/team-member-profiles.d.mts +6 -6
- package/dist/interface/crud/team-member-profiles.d.ts +6 -6
- package/dist/interface/crud/transactions.d.mts +1 -1
- package/dist/interface/crud/transactions.d.ts +1 -1
- package/dist/interface/crud/users.d.mts +6 -6
- package/dist/interface/crud/users.d.ts +6 -6
- package/dist/interface/server-interface.d.mts +0 -1
- package/dist/interface/server-interface.d.ts +0 -1
- package/dist/known-errors.d.mts +3 -3
- package/dist/known-errors.d.ts +3 -3
- package/dist/schema-fields.d.mts +36 -7
- package/dist/schema-fields.d.ts +36 -7
- package/dist/schema-fields.js +19 -2
- package/dist/schema-fields.js.map +1 -1
- package/dist/sessions.d.mts +26 -4
- package/dist/sessions.d.ts +26 -4
- package/dist/sessions.js +19 -9
- package/dist/sessions.js.map +1 -1
- package/dist/utils/paginated-lists.d.mts +176 -0
- package/dist/utils/paginated-lists.d.ts +176 -0
- package/dist/utils/paginated-lists.js +256 -0
- package/dist/utils/paginated-lists.js.map +1 -0
- package/dist/utils/stores.d.mts +6 -6
- package/dist/utils/stores.d.ts +6 -6
- package/package.json +1 -1
|
@@ -61,11 +61,11 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
|
|
|
61
61
|
facebook_config_id?: string | undefined;
|
|
62
62
|
microsoft_tenant_id?: string | undefined;
|
|
63
63
|
type: "shared" | "standard";
|
|
64
|
-
id: "
|
|
64
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
65
65
|
provider_config_id: string;
|
|
66
66
|
}[];
|
|
67
67
|
enabled_oauth_providers: {
|
|
68
|
-
id: "
|
|
68
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
69
69
|
}[];
|
|
70
70
|
domains: {
|
|
71
71
|
domain: string;
|
|
@@ -145,7 +145,7 @@ declare const projectsCrudClientReadSchema: yup.ObjectSchema<{
|
|
|
145
145
|
allow_user_api_keys: boolean;
|
|
146
146
|
allow_team_api_keys: boolean;
|
|
147
147
|
enabled_oauth_providers: {
|
|
148
|
-
id: "
|
|
148
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
149
149
|
}[];
|
|
150
150
|
};
|
|
151
151
|
}, yup.AnyObject, {
|
|
@@ -185,7 +185,7 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
|
|
|
185
185
|
facebook_config_id?: string | undefined;
|
|
186
186
|
microsoft_tenant_id?: string | undefined;
|
|
187
187
|
type: "shared" | "standard";
|
|
188
|
-
id: "
|
|
188
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
189
189
|
}[] | undefined;
|
|
190
190
|
domains?: {
|
|
191
191
|
domain: string;
|
|
@@ -243,7 +243,7 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
|
|
|
243
243
|
facebook_config_id?: string | undefined;
|
|
244
244
|
microsoft_tenant_id?: string | undefined;
|
|
245
245
|
type: "shared" | "standard";
|
|
246
|
-
id: "
|
|
246
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
247
247
|
}[] | undefined;
|
|
248
248
|
domains?: {
|
|
249
249
|
domain: string;
|
|
@@ -298,7 +298,7 @@ declare const clientProjectsCrud: CrudSchemaFromOptions<{
|
|
|
298
298
|
allow_user_api_keys: boolean;
|
|
299
299
|
allow_team_api_keys: boolean;
|
|
300
300
|
enabled_oauth_providers: {
|
|
301
|
-
id: "
|
|
301
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
302
302
|
}[];
|
|
303
303
|
};
|
|
304
304
|
}, yup.AnyObject, {
|
|
@@ -351,11 +351,11 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
351
351
|
facebook_config_id?: string | undefined;
|
|
352
352
|
microsoft_tenant_id?: string | undefined;
|
|
353
353
|
type: "shared" | "standard";
|
|
354
|
-
id: "
|
|
354
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
355
355
|
provider_config_id: string;
|
|
356
356
|
}[];
|
|
357
357
|
enabled_oauth_providers: {
|
|
358
|
-
id: "
|
|
358
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
359
359
|
}[];
|
|
360
360
|
domains: {
|
|
361
361
|
domain: string;
|
|
@@ -444,7 +444,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
444
444
|
facebook_config_id?: string | undefined;
|
|
445
445
|
microsoft_tenant_id?: string | undefined;
|
|
446
446
|
type: "shared" | "standard";
|
|
447
|
-
id: "
|
|
447
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
448
448
|
}[] | undefined;
|
|
449
449
|
domains?: {
|
|
450
450
|
domain: string;
|
|
@@ -526,11 +526,11 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
526
526
|
facebook_config_id?: string | undefined;
|
|
527
527
|
microsoft_tenant_id?: string | undefined;
|
|
528
528
|
type: "shared" | "standard";
|
|
529
|
-
id: "
|
|
529
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
530
530
|
provider_config_id: string;
|
|
531
531
|
}[];
|
|
532
532
|
enabled_oauth_providers: {
|
|
533
|
-
id: "
|
|
533
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
534
534
|
}[];
|
|
535
535
|
domains: {
|
|
536
536
|
domain: string;
|
|
@@ -619,7 +619,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
619
619
|
facebook_config_id?: string | undefined;
|
|
620
620
|
microsoft_tenant_id?: string | undefined;
|
|
621
621
|
type: "shared" | "standard";
|
|
622
|
-
id: "
|
|
622
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
623
623
|
}[] | undefined;
|
|
624
624
|
domains?: {
|
|
625
625
|
domain: string;
|
|
@@ -61,11 +61,11 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
|
|
|
61
61
|
facebook_config_id?: string | undefined;
|
|
62
62
|
microsoft_tenant_id?: string | undefined;
|
|
63
63
|
type: "shared" | "standard";
|
|
64
|
-
id: "
|
|
64
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
65
65
|
provider_config_id: string;
|
|
66
66
|
}[];
|
|
67
67
|
enabled_oauth_providers: {
|
|
68
|
-
id: "
|
|
68
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
69
69
|
}[];
|
|
70
70
|
domains: {
|
|
71
71
|
domain: string;
|
|
@@ -145,7 +145,7 @@ declare const projectsCrudClientReadSchema: yup.ObjectSchema<{
|
|
|
145
145
|
allow_user_api_keys: boolean;
|
|
146
146
|
allow_team_api_keys: boolean;
|
|
147
147
|
enabled_oauth_providers: {
|
|
148
|
-
id: "
|
|
148
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
149
149
|
}[];
|
|
150
150
|
};
|
|
151
151
|
}, yup.AnyObject, {
|
|
@@ -185,7 +185,7 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
|
|
|
185
185
|
facebook_config_id?: string | undefined;
|
|
186
186
|
microsoft_tenant_id?: string | undefined;
|
|
187
187
|
type: "shared" | "standard";
|
|
188
|
-
id: "
|
|
188
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
189
189
|
}[] | undefined;
|
|
190
190
|
domains?: {
|
|
191
191
|
domain: string;
|
|
@@ -243,7 +243,7 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
|
|
|
243
243
|
facebook_config_id?: string | undefined;
|
|
244
244
|
microsoft_tenant_id?: string | undefined;
|
|
245
245
|
type: "shared" | "standard";
|
|
246
|
-
id: "
|
|
246
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
247
247
|
}[] | undefined;
|
|
248
248
|
domains?: {
|
|
249
249
|
domain: string;
|
|
@@ -298,7 +298,7 @@ declare const clientProjectsCrud: CrudSchemaFromOptions<{
|
|
|
298
298
|
allow_user_api_keys: boolean;
|
|
299
299
|
allow_team_api_keys: boolean;
|
|
300
300
|
enabled_oauth_providers: {
|
|
301
|
-
id: "
|
|
301
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
302
302
|
}[];
|
|
303
303
|
};
|
|
304
304
|
}, yup.AnyObject, {
|
|
@@ -351,11 +351,11 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
351
351
|
facebook_config_id?: string | undefined;
|
|
352
352
|
microsoft_tenant_id?: string | undefined;
|
|
353
353
|
type: "shared" | "standard";
|
|
354
|
-
id: "
|
|
354
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
355
355
|
provider_config_id: string;
|
|
356
356
|
}[];
|
|
357
357
|
enabled_oauth_providers: {
|
|
358
|
-
id: "
|
|
358
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
359
359
|
}[];
|
|
360
360
|
domains: {
|
|
361
361
|
domain: string;
|
|
@@ -444,7 +444,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
444
444
|
facebook_config_id?: string | undefined;
|
|
445
445
|
microsoft_tenant_id?: string | undefined;
|
|
446
446
|
type: "shared" | "standard";
|
|
447
|
-
id: "
|
|
447
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
448
448
|
}[] | undefined;
|
|
449
449
|
domains?: {
|
|
450
450
|
domain: string;
|
|
@@ -526,11 +526,11 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
526
526
|
facebook_config_id?: string | undefined;
|
|
527
527
|
microsoft_tenant_id?: string | undefined;
|
|
528
528
|
type: "shared" | "standard";
|
|
529
|
-
id: "
|
|
529
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
530
530
|
provider_config_id: string;
|
|
531
531
|
}[];
|
|
532
532
|
enabled_oauth_providers: {
|
|
533
|
-
id: "
|
|
533
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
534
534
|
}[];
|
|
535
535
|
domains: {
|
|
536
536
|
domain: string;
|
|
@@ -619,7 +619,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
619
619
|
facebook_config_id?: string | undefined;
|
|
620
620
|
microsoft_tenant_id?: string | undefined;
|
|
621
621
|
type: "shared" | "standard";
|
|
622
|
-
id: "
|
|
622
|
+
id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
623
623
|
}[] | undefined;
|
|
624
624
|
domains?: {
|
|
625
625
|
domain: string;
|
|
@@ -21,8 +21,9 @@ declare const teamMemberProfilesCrudServerReadSchema: yup.ObjectSchema<{
|
|
|
21
21
|
profile_image_url: string | null;
|
|
22
22
|
} & {
|
|
23
23
|
user: {
|
|
24
|
+
selected_team_id: string | null;
|
|
25
|
+
is_anonymous: boolean;
|
|
24
26
|
id: string;
|
|
25
|
-
primary_email: string | null;
|
|
26
27
|
display_name: string | null;
|
|
27
28
|
oauth_providers: {
|
|
28
29
|
email?: string | null | undefined;
|
|
@@ -33,12 +34,11 @@ declare const teamMemberProfilesCrudServerReadSchema: yup.ObjectSchema<{
|
|
|
33
34
|
client_metadata: {} | null;
|
|
34
35
|
client_read_only_metadata: {} | null;
|
|
35
36
|
server_metadata: {} | null;
|
|
37
|
+
primary_email: string | null;
|
|
36
38
|
primary_email_verified: boolean;
|
|
37
39
|
primary_email_auth_enabled: boolean;
|
|
38
40
|
passkey_auth_enabled: boolean;
|
|
39
41
|
otp_auth_enabled: boolean;
|
|
40
|
-
selected_team_id: string | null;
|
|
41
|
-
is_anonymous: boolean;
|
|
42
42
|
selected_team: {
|
|
43
43
|
client_metadata?: {} | null | undefined;
|
|
44
44
|
client_read_only_metadata?: {} | null | undefined;
|
|
@@ -116,8 +116,9 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
|
|
|
116
116
|
profile_image_url: string | null;
|
|
117
117
|
} & {
|
|
118
118
|
user: {
|
|
119
|
+
selected_team_id: string | null;
|
|
120
|
+
is_anonymous: boolean;
|
|
119
121
|
id: string;
|
|
120
|
-
primary_email: string | null;
|
|
121
122
|
display_name: string | null;
|
|
122
123
|
oauth_providers: {
|
|
123
124
|
email?: string | null | undefined;
|
|
@@ -128,12 +129,11 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
|
|
|
128
129
|
client_metadata: {} | null;
|
|
129
130
|
client_read_only_metadata: {} | null;
|
|
130
131
|
server_metadata: {} | null;
|
|
132
|
+
primary_email: string | null;
|
|
131
133
|
primary_email_verified: boolean;
|
|
132
134
|
primary_email_auth_enabled: boolean;
|
|
133
135
|
passkey_auth_enabled: boolean;
|
|
134
136
|
otp_auth_enabled: boolean;
|
|
135
|
-
selected_team_id: string | null;
|
|
136
|
-
is_anonymous: boolean;
|
|
137
137
|
selected_team: {
|
|
138
138
|
client_metadata?: {} | null | undefined;
|
|
139
139
|
client_read_only_metadata?: {} | null | undefined;
|
|
@@ -21,8 +21,9 @@ declare const teamMemberProfilesCrudServerReadSchema: yup.ObjectSchema<{
|
|
|
21
21
|
profile_image_url: string | null;
|
|
22
22
|
} & {
|
|
23
23
|
user: {
|
|
24
|
+
selected_team_id: string | null;
|
|
25
|
+
is_anonymous: boolean;
|
|
24
26
|
id: string;
|
|
25
|
-
primary_email: string | null;
|
|
26
27
|
display_name: string | null;
|
|
27
28
|
oauth_providers: {
|
|
28
29
|
email?: string | null | undefined;
|
|
@@ -33,12 +34,11 @@ declare const teamMemberProfilesCrudServerReadSchema: yup.ObjectSchema<{
|
|
|
33
34
|
client_metadata: {} | null;
|
|
34
35
|
client_read_only_metadata: {} | null;
|
|
35
36
|
server_metadata: {} | null;
|
|
37
|
+
primary_email: string | null;
|
|
36
38
|
primary_email_verified: boolean;
|
|
37
39
|
primary_email_auth_enabled: boolean;
|
|
38
40
|
passkey_auth_enabled: boolean;
|
|
39
41
|
otp_auth_enabled: boolean;
|
|
40
|
-
selected_team_id: string | null;
|
|
41
|
-
is_anonymous: boolean;
|
|
42
42
|
selected_team: {
|
|
43
43
|
client_metadata?: {} | null | undefined;
|
|
44
44
|
client_read_only_metadata?: {} | null | undefined;
|
|
@@ -116,8 +116,9 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
|
|
|
116
116
|
profile_image_url: string | null;
|
|
117
117
|
} & {
|
|
118
118
|
user: {
|
|
119
|
+
selected_team_id: string | null;
|
|
120
|
+
is_anonymous: boolean;
|
|
119
121
|
id: string;
|
|
120
|
-
primary_email: string | null;
|
|
121
122
|
display_name: string | null;
|
|
122
123
|
oauth_providers: {
|
|
123
124
|
email?: string | null | undefined;
|
|
@@ -128,12 +129,11 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
|
|
|
128
129
|
client_metadata: {} | null;
|
|
129
130
|
client_read_only_metadata: {} | null;
|
|
130
131
|
server_metadata: {} | null;
|
|
132
|
+
primary_email: string | null;
|
|
131
133
|
primary_email_verified: boolean;
|
|
132
134
|
primary_email_auth_enabled: boolean;
|
|
133
135
|
passkey_auth_enabled: boolean;
|
|
134
136
|
otp_auth_enabled: boolean;
|
|
135
|
-
selected_team_id: string | null;
|
|
136
|
-
is_anonymous: boolean;
|
|
137
137
|
selected_team: {
|
|
138
138
|
client_metadata?: {} | null | undefined;
|
|
139
139
|
client_read_only_metadata?: {} | null | undefined;
|
|
@@ -6,7 +6,7 @@ declare const adminTransaction: yup.ObjectSchema<{
|
|
|
6
6
|
id: string;
|
|
7
7
|
type: "subscription" | "one_time" | "item_quantity_change";
|
|
8
8
|
created_at_millis: number;
|
|
9
|
-
customer_type: "
|
|
9
|
+
customer_type: "user" | "team" | "custom";
|
|
10
10
|
customer_id: string;
|
|
11
11
|
quantity: number;
|
|
12
12
|
test_mode: boolean;
|
|
@@ -6,7 +6,7 @@ declare const adminTransaction: yup.ObjectSchema<{
|
|
|
6
6
|
id: string;
|
|
7
7
|
type: "subscription" | "one_time" | "item_quantity_change";
|
|
8
8
|
created_at_millis: number;
|
|
9
|
-
customer_type: "
|
|
9
|
+
customer_type: "user" | "team" | "custom";
|
|
10
10
|
customer_id: string;
|
|
11
11
|
quantity: number;
|
|
12
12
|
test_mode: boolean;
|
|
@@ -100,24 +100,24 @@ declare const usersCrudServerReadSchema: yup.ObjectSchema<{
|
|
|
100
100
|
requires_totp_mfa: undefined;
|
|
101
101
|
}, "">;
|
|
102
102
|
declare const usersCrudServerCreateSchema: yup.ObjectSchema<{
|
|
103
|
-
|
|
103
|
+
is_anonymous: boolean | undefined;
|
|
104
104
|
password: string | null | undefined;
|
|
105
105
|
display_name: string | null | undefined;
|
|
106
106
|
profile_image_url: string | null | undefined;
|
|
107
107
|
client_metadata: {} | null | undefined;
|
|
108
108
|
client_read_only_metadata: {} | null | undefined;
|
|
109
109
|
server_metadata: {} | null | undefined;
|
|
110
|
+
primary_email: string | null | undefined;
|
|
110
111
|
primary_email_verified: boolean | undefined;
|
|
111
112
|
primary_email_auth_enabled: boolean | undefined;
|
|
112
113
|
passkey_auth_enabled: boolean | undefined;
|
|
113
114
|
password_hash: string | undefined;
|
|
114
115
|
otp_auth_enabled: boolean | undefined;
|
|
115
116
|
totp_secret_base64: string | null | undefined;
|
|
116
|
-
is_anonymous: boolean | undefined;
|
|
117
117
|
} & {
|
|
118
118
|
oauth_providers: {
|
|
119
|
-
id: string;
|
|
120
119
|
email: string | null;
|
|
120
|
+
id: string;
|
|
121
121
|
account_id: string;
|
|
122
122
|
}[] | undefined;
|
|
123
123
|
is_anonymous: boolean | undefined;
|
|
@@ -238,24 +238,24 @@ declare const usersCrud: CrudSchemaFromOptions<{
|
|
|
238
238
|
is_anonymous: undefined;
|
|
239
239
|
}, "">;
|
|
240
240
|
serverCreateSchema: yup.ObjectSchema<{
|
|
241
|
-
|
|
241
|
+
is_anonymous: boolean | undefined;
|
|
242
242
|
password: string | null | undefined;
|
|
243
243
|
display_name: string | null | undefined;
|
|
244
244
|
profile_image_url: string | null | undefined;
|
|
245
245
|
client_metadata: {} | null | undefined;
|
|
246
246
|
client_read_only_metadata: {} | null | undefined;
|
|
247
247
|
server_metadata: {} | null | undefined;
|
|
248
|
+
primary_email: string | null | undefined;
|
|
248
249
|
primary_email_verified: boolean | undefined;
|
|
249
250
|
primary_email_auth_enabled: boolean | undefined;
|
|
250
251
|
passkey_auth_enabled: boolean | undefined;
|
|
251
252
|
password_hash: string | undefined;
|
|
252
253
|
otp_auth_enabled: boolean | undefined;
|
|
253
254
|
totp_secret_base64: string | null | undefined;
|
|
254
|
-
is_anonymous: boolean | undefined;
|
|
255
255
|
} & {
|
|
256
256
|
oauth_providers: {
|
|
257
|
-
id: string;
|
|
258
257
|
email: string | null;
|
|
258
|
+
id: string;
|
|
259
259
|
account_id: string;
|
|
260
260
|
}[] | undefined;
|
|
261
261
|
is_anonymous: boolean | undefined;
|
|
@@ -100,24 +100,24 @@ declare const usersCrudServerReadSchema: yup.ObjectSchema<{
|
|
|
100
100
|
requires_totp_mfa: undefined;
|
|
101
101
|
}, "">;
|
|
102
102
|
declare const usersCrudServerCreateSchema: yup.ObjectSchema<{
|
|
103
|
-
|
|
103
|
+
is_anonymous: boolean | undefined;
|
|
104
104
|
password: string | null | undefined;
|
|
105
105
|
display_name: string | null | undefined;
|
|
106
106
|
profile_image_url: string | null | undefined;
|
|
107
107
|
client_metadata: {} | null | undefined;
|
|
108
108
|
client_read_only_metadata: {} | null | undefined;
|
|
109
109
|
server_metadata: {} | null | undefined;
|
|
110
|
+
primary_email: string | null | undefined;
|
|
110
111
|
primary_email_verified: boolean | undefined;
|
|
111
112
|
primary_email_auth_enabled: boolean | undefined;
|
|
112
113
|
passkey_auth_enabled: boolean | undefined;
|
|
113
114
|
password_hash: string | undefined;
|
|
114
115
|
otp_auth_enabled: boolean | undefined;
|
|
115
116
|
totp_secret_base64: string | null | undefined;
|
|
116
|
-
is_anonymous: boolean | undefined;
|
|
117
117
|
} & {
|
|
118
118
|
oauth_providers: {
|
|
119
|
-
id: string;
|
|
120
119
|
email: string | null;
|
|
120
|
+
id: string;
|
|
121
121
|
account_id: string;
|
|
122
122
|
}[] | undefined;
|
|
123
123
|
is_anonymous: boolean | undefined;
|
|
@@ -238,24 +238,24 @@ declare const usersCrud: CrudSchemaFromOptions<{
|
|
|
238
238
|
is_anonymous: undefined;
|
|
239
239
|
}, "">;
|
|
240
240
|
serverCreateSchema: yup.ObjectSchema<{
|
|
241
|
-
|
|
241
|
+
is_anonymous: boolean | undefined;
|
|
242
242
|
password: string | null | undefined;
|
|
243
243
|
display_name: string | null | undefined;
|
|
244
244
|
profile_image_url: string | null | undefined;
|
|
245
245
|
client_metadata: {} | null | undefined;
|
|
246
246
|
client_read_only_metadata: {} | null | undefined;
|
|
247
247
|
server_metadata: {} | null | undefined;
|
|
248
|
+
primary_email: string | null | undefined;
|
|
248
249
|
primary_email_verified: boolean | undefined;
|
|
249
250
|
primary_email_auth_enabled: boolean | undefined;
|
|
250
251
|
passkey_auth_enabled: boolean | undefined;
|
|
251
252
|
password_hash: string | undefined;
|
|
252
253
|
otp_auth_enabled: boolean | undefined;
|
|
253
254
|
totp_secret_base64: string | null | undefined;
|
|
254
|
-
is_anonymous: boolean | undefined;
|
|
255
255
|
} & {
|
|
256
256
|
oauth_providers: {
|
|
257
|
-
id: string;
|
|
258
257
|
email: string | null;
|
|
258
|
+
id: string;
|
|
259
259
|
account_id: string;
|
|
260
260
|
}[] | undefined;
|
|
261
261
|
is_anonymous: boolean | undefined;
|
|
@@ -18,7 +18,6 @@ import { TeamsCrud } from './crud/teams.mjs';
|
|
|
18
18
|
import { UsersCrud } from './crud/users.mjs';
|
|
19
19
|
import '../utils/errors.mjs';
|
|
20
20
|
import '../utils/json.mjs';
|
|
21
|
-
import 'jose';
|
|
22
21
|
import 'yup';
|
|
23
22
|
import '../schema-fields.mjs';
|
|
24
23
|
import '../utils/currency-constants.mjs';
|
|
@@ -18,7 +18,6 @@ import { TeamsCrud } from './crud/teams.js';
|
|
|
18
18
|
import { UsersCrud } from './crud/users.js';
|
|
19
19
|
import '../utils/errors.js';
|
|
20
20
|
import '../utils/json.js';
|
|
21
|
-
import 'jose';
|
|
22
21
|
import 'yup';
|
|
23
22
|
import '../schema-fields.js';
|
|
24
23
|
import '../utils/currency-constants.js';
|
package/dist/known-errors.d.mts
CHANGED
|
@@ -354,7 +354,7 @@ declare const KnownErrors: {
|
|
|
354
354
|
PermissionNotFound: KnownErrorConstructor<KnownError & KnownErrorBrand<"PERMISSION_NOT_FOUND">, [permissionId: string]> & {
|
|
355
355
|
errorCode: "PERMISSION_NOT_FOUND";
|
|
356
356
|
};
|
|
357
|
-
PermissionScopeMismatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"WRONG_PERMISSION_SCOPE">, [permissionId: string, expectedScope: "
|
|
357
|
+
PermissionScopeMismatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"WRONG_PERMISSION_SCOPE">, [permissionId: string, expectedScope: "project" | "team", actualScope: "project" | "team" | null]> & {
|
|
358
358
|
errorCode: "WRONG_PERMISSION_SCOPE";
|
|
359
359
|
};
|
|
360
360
|
ContainedPermissionNotFound: KnownErrorConstructor<KnownError & KnownErrorBrand<"CONTAINED_PERMISSION_NOT_FOUND">, [permissionId: string]> & {
|
|
@@ -468,7 +468,7 @@ declare const KnownErrors: {
|
|
|
468
468
|
ItemNotFound: KnownErrorConstructor<KnownError & KnownErrorBrand<"ITEM_NOT_FOUND">, [itemId: string]> & {
|
|
469
469
|
errorCode: "ITEM_NOT_FOUND";
|
|
470
470
|
};
|
|
471
|
-
ItemCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"ITEM_CUSTOMER_TYPE_DOES_NOT_MATCH">, [itemId: string, customerId: string, itemCustomerType: "
|
|
471
|
+
ItemCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"ITEM_CUSTOMER_TYPE_DOES_NOT_MATCH">, [itemId: string, customerId: string, itemCustomerType: "user" | "team" | "custom" | undefined, actualCustomerType: "user" | "team" | "custom"]> & {
|
|
472
472
|
errorCode: "ITEM_CUSTOMER_TYPE_DOES_NOT_MATCH";
|
|
473
473
|
};
|
|
474
474
|
CustomerDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"CUSTOMER_DOES_NOT_EXIST">, [customerId: string]> & {
|
|
@@ -477,7 +477,7 @@ declare const KnownErrors: {
|
|
|
477
477
|
OfferDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"OFFER_DOES_NOT_EXIST">, [offerId: string, accessType: "client" | "server" | "admin"]> & {
|
|
478
478
|
errorCode: "OFFER_DOES_NOT_EXIST";
|
|
479
479
|
};
|
|
480
|
-
OfferCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"OFFER_CUSTOMER_TYPE_DOES_NOT_MATCH">, [offerId: string | undefined, customerId: string, offerCustomerType: "
|
|
480
|
+
OfferCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"OFFER_CUSTOMER_TYPE_DOES_NOT_MATCH">, [offerId: string | undefined, customerId: string, offerCustomerType: "user" | "team" | "custom" | undefined, actualCustomerType: "user" | "team" | "custom"]> & {
|
|
481
481
|
errorCode: "OFFER_CUSTOMER_TYPE_DOES_NOT_MATCH";
|
|
482
482
|
};
|
|
483
483
|
ItemQuantityInsufficientAmount: KnownErrorConstructor<KnownError & KnownErrorBrand<"ITEM_QUANTITY_INSUFFICIENT_AMOUNT">, [itemId: string, customerId: string, quantity: number]> & {
|
package/dist/known-errors.d.ts
CHANGED
|
@@ -354,7 +354,7 @@ declare const KnownErrors: {
|
|
|
354
354
|
PermissionNotFound: KnownErrorConstructor<KnownError & KnownErrorBrand<"PERMISSION_NOT_FOUND">, [permissionId: string]> & {
|
|
355
355
|
errorCode: "PERMISSION_NOT_FOUND";
|
|
356
356
|
};
|
|
357
|
-
PermissionScopeMismatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"WRONG_PERMISSION_SCOPE">, [permissionId: string, expectedScope: "
|
|
357
|
+
PermissionScopeMismatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"WRONG_PERMISSION_SCOPE">, [permissionId: string, expectedScope: "project" | "team", actualScope: "project" | "team" | null]> & {
|
|
358
358
|
errorCode: "WRONG_PERMISSION_SCOPE";
|
|
359
359
|
};
|
|
360
360
|
ContainedPermissionNotFound: KnownErrorConstructor<KnownError & KnownErrorBrand<"CONTAINED_PERMISSION_NOT_FOUND">, [permissionId: string]> & {
|
|
@@ -468,7 +468,7 @@ declare const KnownErrors: {
|
|
|
468
468
|
ItemNotFound: KnownErrorConstructor<KnownError & KnownErrorBrand<"ITEM_NOT_FOUND">, [itemId: string]> & {
|
|
469
469
|
errorCode: "ITEM_NOT_FOUND";
|
|
470
470
|
};
|
|
471
|
-
ItemCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"ITEM_CUSTOMER_TYPE_DOES_NOT_MATCH">, [itemId: string, customerId: string, itemCustomerType: "
|
|
471
|
+
ItemCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"ITEM_CUSTOMER_TYPE_DOES_NOT_MATCH">, [itemId: string, customerId: string, itemCustomerType: "user" | "team" | "custom" | undefined, actualCustomerType: "user" | "team" | "custom"]> & {
|
|
472
472
|
errorCode: "ITEM_CUSTOMER_TYPE_DOES_NOT_MATCH";
|
|
473
473
|
};
|
|
474
474
|
CustomerDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"CUSTOMER_DOES_NOT_EXIST">, [customerId: string]> & {
|
|
@@ -477,7 +477,7 @@ declare const KnownErrors: {
|
|
|
477
477
|
OfferDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"OFFER_DOES_NOT_EXIST">, [offerId: string, accessType: "client" | "server" | "admin"]> & {
|
|
478
478
|
errorCode: "OFFER_DOES_NOT_EXIST";
|
|
479
479
|
};
|
|
480
|
-
OfferCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"OFFER_CUSTOMER_TYPE_DOES_NOT_MATCH">, [offerId: string | undefined, customerId: string, offerCustomerType: "
|
|
480
|
+
OfferCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"OFFER_CUSTOMER_TYPE_DOES_NOT_MATCH">, [offerId: string | undefined, customerId: string, offerCustomerType: "user" | "team" | "custom" | undefined, actualCustomerType: "user" | "team" | "custom"]> & {
|
|
481
481
|
errorCode: "OFFER_CUSTOMER_TYPE_DOES_NOT_MATCH";
|
|
482
482
|
};
|
|
483
483
|
ItemQuantityInsufficientAmount: KnownErrorConstructor<KnownError & KnownErrorBrand<"ITEM_QUANTITY_INSUFFICIENT_AMOUNT">, [itemId: string, customerId: string, quantity: number]> & {
|
package/dist/schema-fields.d.mts
CHANGED
|
@@ -104,7 +104,7 @@ declare const projectClientTeamCreationEnabledSchema: yup.BooleanSchema<boolean
|
|
|
104
104
|
declare const projectClientUserDeletionEnabledSchema: yup.BooleanSchema<boolean | undefined, yup.AnyObject, undefined, "">;
|
|
105
105
|
declare const projectSignUpEnabledSchema: yup.BooleanSchema<boolean | undefined, yup.AnyObject, undefined, "">;
|
|
106
106
|
declare const projectCredentialEnabledSchema: yup.BooleanSchema<boolean | undefined, yup.AnyObject, undefined, "">;
|
|
107
|
-
declare const oauthIdSchema: yup.StringSchema<"
|
|
107
|
+
declare const oauthIdSchema: yup.StringSchema<"google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined, yup.AnyObject, undefined, "">;
|
|
108
108
|
declare const oauthEnabledSchema: yup.BooleanSchema<boolean | undefined, yup.AnyObject, undefined, "">;
|
|
109
109
|
declare const oauthTypeSchema: yup.StringSchema<"shared" | "standard" | undefined, yup.AnyObject, undefined, "">;
|
|
110
110
|
declare const oauthClientIdSchema: yup.StringSchema<string | undefined, yup.AnyObject, undefined, "">;
|
|
@@ -131,7 +131,7 @@ declare const emailTemplateListSchema: yup.MixedSchema<Record<string, {
|
|
|
131
131
|
displayName: string;
|
|
132
132
|
tsxSource: string;
|
|
133
133
|
}>, yup.AnyObject, undefined, "">;
|
|
134
|
-
declare const customerTypeSchema: yup.StringSchema<"
|
|
134
|
+
declare const customerTypeSchema: yup.StringSchema<"user" | "team" | "custom" | undefined, yup.AnyObject, undefined, "">;
|
|
135
135
|
declare const offerPriceSchema: yup.ObjectSchema<{
|
|
136
136
|
interval: DayInterval | undefined;
|
|
137
137
|
serverOnly: boolean | undefined;
|
|
@@ -171,7 +171,7 @@ declare const offerSchema: yup.ObjectSchema<{
|
|
|
171
171
|
displayName: string | undefined;
|
|
172
172
|
groupId: string | undefined;
|
|
173
173
|
isAddOnTo: false | Record<string, true> | undefined;
|
|
174
|
-
customerType: "
|
|
174
|
+
customerType: "user" | "team" | "custom";
|
|
175
175
|
freeTrial: DayInterval | undefined;
|
|
176
176
|
serverOnly: boolean | undefined;
|
|
177
177
|
stackable: boolean | undefined;
|
|
@@ -205,7 +205,7 @@ declare const offerSchema: yup.ObjectSchema<{
|
|
|
205
205
|
}, "">;
|
|
206
206
|
declare const inlineOfferSchema: yup.ObjectSchema<{
|
|
207
207
|
display_name: string;
|
|
208
|
-
customer_type: "
|
|
208
|
+
customer_type: "user" | "team" | "custom";
|
|
209
209
|
free_trial: DayInterval | undefined;
|
|
210
210
|
server_only: boolean;
|
|
211
211
|
prices: Record<string, {
|
|
@@ -250,7 +250,7 @@ declare const userClientReadOnlyMetadataSchema: yup.MixedSchema<{} | null, yup.A
|
|
|
250
250
|
declare const userServerMetadataSchema: yup.MixedSchema<{} | null, yup.AnyObject, undefined, "">;
|
|
251
251
|
declare const userOAuthProviderSchema: yup.ObjectSchema<{
|
|
252
252
|
id: string;
|
|
253
|
-
type: "
|
|
253
|
+
type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
254
254
|
provider_user_id: string;
|
|
255
255
|
}, yup.AnyObject, {
|
|
256
256
|
id: undefined;
|
|
@@ -265,6 +265,35 @@ declare const userHasPasswordSchema: yup.BooleanSchema<boolean | undefined, yup.
|
|
|
265
265
|
declare const userPasswordMutationSchema: yup.StringSchema<string | null | undefined, yup.AnyObject, undefined, "">;
|
|
266
266
|
declare const userPasswordHashMutationSchema: yup.StringSchema<string | undefined, yup.AnyObject, undefined, "">;
|
|
267
267
|
declare const userTotpSecretMutationSchema: yup.StringSchema<string | null | undefined, yup.AnyObject, undefined, "">;
|
|
268
|
+
declare const accessTokenPayloadSchema: yup.ObjectSchema<{
|
|
269
|
+
sub: string;
|
|
270
|
+
exp: number | undefined;
|
|
271
|
+
iss: string;
|
|
272
|
+
aud: string;
|
|
273
|
+
project_id: string;
|
|
274
|
+
branch_id: string;
|
|
275
|
+
refresh_token_id: string;
|
|
276
|
+
role: "authenticated";
|
|
277
|
+
name: string | null;
|
|
278
|
+
email: string | null;
|
|
279
|
+
email_verified: boolean;
|
|
280
|
+
selected_team_id: string | null;
|
|
281
|
+
is_anonymous: boolean;
|
|
282
|
+
}, yup.AnyObject, {
|
|
283
|
+
sub: undefined;
|
|
284
|
+
exp: undefined;
|
|
285
|
+
iss: undefined;
|
|
286
|
+
aud: undefined;
|
|
287
|
+
project_id: undefined;
|
|
288
|
+
branch_id: undefined;
|
|
289
|
+
refresh_token_id: undefined;
|
|
290
|
+
role: undefined;
|
|
291
|
+
name: undefined;
|
|
292
|
+
email: undefined;
|
|
293
|
+
email_verified: undefined;
|
|
294
|
+
selected_team_id: undefined;
|
|
295
|
+
is_anonymous: undefined;
|
|
296
|
+
}, "">;
|
|
268
297
|
declare const signInEmailSchema: yup.StringSchema<string | undefined, yup.AnyObject, undefined, "">;
|
|
269
298
|
declare const emailOtpSignInCallbackUrlSchema: yup.StringSchema<string | undefined, yup.AnyObject, undefined, "">;
|
|
270
299
|
declare const emailVerificationCallbackUrlSchema: yup.StringSchema<string | undefined, yup.AnyObject, undefined, "">;
|
|
@@ -306,7 +335,7 @@ declare const contactChannelIsVerifiedSchema: yup.BooleanSchema<boolean | undefi
|
|
|
306
335
|
declare const contactChannelIsPrimarySchema: yup.BooleanSchema<boolean | undefined, yup.AnyObject, undefined, "">;
|
|
307
336
|
declare const oauthProviderIdSchema: yup.StringSchema<string | undefined, yup.AnyObject, undefined, "">;
|
|
308
337
|
declare const oauthProviderEmailSchema: yup.StringSchema<string | undefined, yup.AnyObject, undefined, "">;
|
|
309
|
-
declare const oauthProviderTypeSchema: yup.StringSchema<"
|
|
338
|
+
declare const oauthProviderTypeSchema: yup.StringSchema<"google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined, yup.AnyObject, undefined, "">;
|
|
310
339
|
declare const oauthProviderAllowSignInSchema: yup.BooleanSchema<boolean | undefined, yup.AnyObject, undefined, "">;
|
|
311
340
|
declare const oauthProviderAllowConnectedAccountsSchema: yup.BooleanSchema<boolean | undefined, yup.AnyObject, undefined, "">;
|
|
312
341
|
declare const oauthProviderAccountIdSchema: yup.StringSchema<string | undefined, yup.AnyObject, undefined, "">;
|
|
@@ -316,4 +345,4 @@ declare const neonAuthorizationHeaderSchema: yup.StringSchema<string | undefined
|
|
|
316
345
|
declare function yupDefinedWhen<S extends yup.AnyObject>(schema: S, triggers: Record<string, any>): S;
|
|
317
346
|
declare function yupDefinedAndNonEmptyWhen<S extends yup.StringSchema>(schema: S, triggers: Record<string, any>): S;
|
|
318
347
|
|
|
319
|
-
export { ReplaceFieldWithOwnUserId, StackAdaptSentinel, accessTokenResponseSchema, adaptSchema, adminAuthTypeSchema, base64Schema, basicAuthorizationHeaderSchema, clientOrHigherAuthTypeSchema, contactChannelIdSchema, contactChannelIsPrimarySchema, contactChannelIsVerifiedSchema, contactChannelTypeSchema, contactChannelUsedForAuthSchema, contactChannelValueSchema, containedPermissionIdsSchema, customPermissionDefinitionIdSchema, customerTypeSchema, dayIntervalOrNeverSchema, dayIntervalSchema, emailHostSchema, emailOtpSignInCallbackUrlSchema, emailPasswordSchema, emailPortSchema, emailSchema, emailSenderEmailSchema, emailSenderNameSchema, emailTemplateListSchema, emailThemeListSchema, emailThemeSchema, emailTypeSchema, emailUsernameSchema, emailVerificationCallbackUrlSchema, ensureObjectSchema, handlerPathSchema, inlineOfferSchema, intervalOrNeverSchema, intervalSchema, jsonSchema, jsonStringOrEmptySchema, jsonStringSchema, moneyAmountSchema, neonAuthorizationHeaderSchema, oauthAccountMergeStrategySchema, oauthClientIdSchema, oauthClientSecretSchema, oauthEnabledSchema, oauthFacebookConfigIdSchema, oauthIdSchema, oauthMicrosoftTenantIdSchema, oauthProviderAccountIdSchema, oauthProviderAllowConnectedAccountsSchema, oauthProviderAllowSignInSchema, oauthProviderEmailSchema, oauthProviderIdSchema, oauthProviderProviderConfigIdSchema, oauthProviderTypeSchema, oauthTypeSchema, offerPriceSchema, offerSchema, passwordSchema, permissionDefinitionIdSchema, priceOrIncludeByDefaultSchema, primaryEmailAuthEnabledSchema, primaryEmailSchema, primaryEmailVerifiedSchema, profileImageUrlSchema, projectAllowLocalhostSchema, projectBranchIdSchema, projectClientTeamCreationEnabledSchema, projectClientUserDeletionEnabledSchema, projectConfigIdSchema, projectCreateTeamOnSignUpSchema, projectCreatedAtMillisSchema, projectCredentialEnabledSchema, projectDescriptionSchema, projectDisplayNameSchema, projectFullLogoUrlSchema, projectIdSchema, projectIsProductionModeSchema, projectLogoUrlSchema, projectMagicLinkEnabledSchema, projectPasskeyEnabledSchema, projectSignUpEnabledSchema, refreshTokenResponseSchema, selectedTeamIdSchema, serverOrHigherAuthTypeSchema, signInEmailSchema, signInResponseSchema, signedUpAtMillisSchema, strictEmailSchema, teamClientMetadataSchema, teamClientReadOnlyMetadataSchema, teamCreatedAtMillisSchema, teamCreatorUserIdSchema, teamDisplayNameSchema, teamIdSchema, teamInvitationCallbackUrlSchema, teamInvitationEmailSchema, teamMemberDisplayNameSchema, teamMemberProfileImageUrlSchema, teamPermissionDescriptionSchema, teamProfileImageUrlSchema, teamServerMetadataSchema, teamSystemPermissions, templateThemeIdSchema, urlSchema, userClientMetadataSchema, userClientReadOnlyMetadataSchema, userDisplayNameSchema, userHasPasswordSchema, userIdOrMeSchema, userIdSchema, userLastActiveAtMillisSchema, userOAuthProviderSchema, userOtpAuthEnabledMutationSchema, userOtpAuthEnabledSchema, userPasskeyAuthEnabledSchema, userPasswordHashMutationSchema, userPasswordMutationSchema, userServerMetadataSchema, userSpecifiedIdSchema, userTotpSecretMutationSchema, wildcardUrlSchema, yupArray, yupBoolean, yupDate, yupDefinedAndNonEmptyWhen, yupDefinedWhen, yupMixed, yupNever, yupNumber, yupObject, yupObjectWithAutoDefault, yupRecord, yupString, yupTuple, yupUnion, yupValidate };
|
|
348
|
+
export { ReplaceFieldWithOwnUserId, StackAdaptSentinel, accessTokenPayloadSchema, accessTokenResponseSchema, adaptSchema, adminAuthTypeSchema, base64Schema, basicAuthorizationHeaderSchema, clientOrHigherAuthTypeSchema, contactChannelIdSchema, contactChannelIsPrimarySchema, contactChannelIsVerifiedSchema, contactChannelTypeSchema, contactChannelUsedForAuthSchema, contactChannelValueSchema, containedPermissionIdsSchema, customPermissionDefinitionIdSchema, customerTypeSchema, dayIntervalOrNeverSchema, dayIntervalSchema, emailHostSchema, emailOtpSignInCallbackUrlSchema, emailPasswordSchema, emailPortSchema, emailSchema, emailSenderEmailSchema, emailSenderNameSchema, emailTemplateListSchema, emailThemeListSchema, emailThemeSchema, emailTypeSchema, emailUsernameSchema, emailVerificationCallbackUrlSchema, ensureObjectSchema, handlerPathSchema, inlineOfferSchema, intervalOrNeverSchema, intervalSchema, jsonSchema, jsonStringOrEmptySchema, jsonStringSchema, moneyAmountSchema, neonAuthorizationHeaderSchema, oauthAccountMergeStrategySchema, oauthClientIdSchema, oauthClientSecretSchema, oauthEnabledSchema, oauthFacebookConfigIdSchema, oauthIdSchema, oauthMicrosoftTenantIdSchema, oauthProviderAccountIdSchema, oauthProviderAllowConnectedAccountsSchema, oauthProviderAllowSignInSchema, oauthProviderEmailSchema, oauthProviderIdSchema, oauthProviderProviderConfigIdSchema, oauthProviderTypeSchema, oauthTypeSchema, offerPriceSchema, offerSchema, passwordSchema, permissionDefinitionIdSchema, priceOrIncludeByDefaultSchema, primaryEmailAuthEnabledSchema, primaryEmailSchema, primaryEmailVerifiedSchema, profileImageUrlSchema, projectAllowLocalhostSchema, projectBranchIdSchema, projectClientTeamCreationEnabledSchema, projectClientUserDeletionEnabledSchema, projectConfigIdSchema, projectCreateTeamOnSignUpSchema, projectCreatedAtMillisSchema, projectCredentialEnabledSchema, projectDescriptionSchema, projectDisplayNameSchema, projectFullLogoUrlSchema, projectIdSchema, projectIsProductionModeSchema, projectLogoUrlSchema, projectMagicLinkEnabledSchema, projectPasskeyEnabledSchema, projectSignUpEnabledSchema, refreshTokenResponseSchema, selectedTeamIdSchema, serverOrHigherAuthTypeSchema, signInEmailSchema, signInResponseSchema, signedUpAtMillisSchema, strictEmailSchema, teamClientMetadataSchema, teamClientReadOnlyMetadataSchema, teamCreatedAtMillisSchema, teamCreatorUserIdSchema, teamDisplayNameSchema, teamIdSchema, teamInvitationCallbackUrlSchema, teamInvitationEmailSchema, teamMemberDisplayNameSchema, teamMemberProfileImageUrlSchema, teamPermissionDescriptionSchema, teamProfileImageUrlSchema, teamServerMetadataSchema, teamSystemPermissions, templateThemeIdSchema, urlSchema, userClientMetadataSchema, userClientReadOnlyMetadataSchema, userDisplayNameSchema, userHasPasswordSchema, userIdOrMeSchema, userIdSchema, userLastActiveAtMillisSchema, userOAuthProviderSchema, userOtpAuthEnabledMutationSchema, userOtpAuthEnabledSchema, userPasskeyAuthEnabledSchema, userPasswordHashMutationSchema, userPasswordMutationSchema, userServerMetadataSchema, userSpecifiedIdSchema, userTotpSecretMutationSchema, wildcardUrlSchema, yupArray, yupBoolean, yupDate, yupDefinedAndNonEmptyWhen, yupDefinedWhen, yupMixed, yupNever, yupNumber, yupObject, yupObjectWithAutoDefault, yupRecord, yupString, yupTuple, yupUnion, yupValidate };
|