@logto/schemas 1.42.0 → 1.44.0
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/alterations/1.43.0-1785393731-add-oidc-model-instances-account-id-partial-index.ts +33 -0
- package/alterations/1.43.0-1785481546-add-tenant-aware-scope-indexes.ts +33 -0
- package/alterations/1.43.0-1785488115-add-cimd-permission-ceiling-tables.ts +77 -0
- package/alterations/1.43.0-1785722831-add-oidc-session-extensions-account-id-index.ts +27 -0
- package/alterations/1.43.0-1785835991-add-cimd-client-identifier-columns.ts +31 -0
- package/alterations/1.43.0-1786325989-add-cimd-grant-organizations-table.ts +54 -0
- package/alterations/1.43.0-1786333495-add-trusted-devices.ts +57 -0
- package/alterations/1.43.0-1786373004-tighten-cimd-grant-organizations-pkey.ts +28 -0
- package/alterations/1.43.0-1786414712-add-service-logs-email-indexes.ts +34 -0
- package/alterations/1.43.0-1786431364-add-cimd-grant-client-snapshots-table.ts +43 -0
- package/alterations/1.44.0-1788946735-add-saml-authn-request-config.ts +18 -0
- package/alterations/1.44.0-1789000000-extend-user-id-length.ts +61 -0
- package/alterations-js/1.43.0-1785393731-add-oidc-model-instances-account-id-partial-index.js +28 -0
- package/alterations-js/1.43.0-1785481546-add-tenant-aware-scope-indexes.js +28 -0
- package/alterations-js/1.43.0-1785488115-add-cimd-permission-ceiling-tables.js +69 -0
- package/alterations-js/1.43.0-1785722831-add-oidc-session-extensions-account-id-index.js +23 -0
- package/alterations-js/1.43.0-1785835991-add-cimd-client-identifier-columns.js +27 -0
- package/alterations-js/1.43.0-1786325989-add-cimd-grant-organizations-table.js +49 -0
- package/alterations-js/1.43.0-1786333495-add-trusted-devices.js +50 -0
- package/alterations-js/1.43.0-1786373004-tighten-cimd-grant-organizations-pkey.js +24 -0
- package/alterations-js/1.43.0-1786414712-add-service-logs-email-indexes.js +30 -0
- package/alterations-js/1.43.0-1786431364-add-cimd-grant-client-snapshots-table.js +38 -0
- package/alterations-js/1.44.0-1788946735-add-saml-authn-request-config.js +14 -0
- package/alterations-js/1.44.0-1789000000-extend-user-id-length.js +47 -0
- package/lib/consts/experience.d.ts +3 -0
- package/lib/consts/experience.js +3 -0
- package/lib/consts/index.d.ts +2 -0
- package/lib/consts/index.js +2 -0
- package/lib/consts/license.d.ts +222 -0
- package/lib/consts/license.js +81 -0
- package/lib/consts/license.test.d.ts +1 -0
- package/lib/consts/license.test.js +96 -0
- package/lib/consts/oidc.d.ts +15 -1
- package/lib/consts/oidc.js +11 -0
- package/lib/consts/oidc.test.d.ts +1 -0
- package/lib/consts/oidc.test.js +15 -0
- package/lib/consts/product-event.d.ts +5 -1
- package/lib/consts/product-event.js +4 -0
- package/lib/consts/social-state.d.ts +12 -0
- package/lib/consts/social-state.js +12 -0
- package/lib/consts/subscriptions.d.ts +13 -1
- package/lib/consts/subscriptions.js +12 -0
- package/lib/db-entries/aggregated-daily-active-user.js +2 -2
- package/lib/db-entries/application-access-control-user-relation.js +2 -2
- package/lib/db-entries/application-user-consent-organization.js +2 -2
- package/lib/db-entries/cimd-grant-client-snapshot.d.ts +32 -0
- package/lib/db-entries/cimd-grant-client-snapshot.js +45 -0
- package/lib/db-entries/cimd-grant-organization.d.ts +30 -0
- package/lib/db-entries/cimd-grant-organization.js +37 -0
- package/lib/db-entries/cimd-organization-resource-scope.d.ts +20 -0
- package/lib/db-entries/cimd-organization-resource-scope.js +25 -0
- package/lib/db-entries/cimd-organization-scope.d.ts +20 -0
- package/lib/db-entries/cimd-organization-scope.js +25 -0
- package/lib/db-entries/cimd-resource-scope.d.ts +20 -0
- package/lib/db-entries/cimd-resource-scope.js +25 -0
- package/lib/db-entries/cimd-user-scope.d.ts +20 -0
- package/lib/db-entries/cimd-user-scope.js +25 -0
- package/lib/db-entries/daily-active-user.js +2 -2
- package/lib/db-entries/index.d.ts +7 -0
- package/lib/db-entries/index.js +7 -0
- package/lib/db-entries/oidc-session-extension.d.ts +3 -1
- package/lib/db-entries/oidc-session-extension.js +6 -2
- package/lib/db-entries/organization-invitation.js +4 -4
- package/lib/db-entries/organization-role-user-relation.js +2 -2
- package/lib/db-entries/organization-user-relation.js +2 -2
- package/lib/db-entries/organization.d.ts +5 -1
- package/lib/db-entries/organization.js +4 -0
- package/lib/db-entries/personal-access-token.js +2 -2
- package/lib/db-entries/saml-application-config.d.ts +4 -2
- package/lib/db-entries/saml-application-config.js +5 -1
- package/lib/db-entries/secret.js +2 -2
- package/lib/db-entries/sign-in-experience.d.ts +4 -2
- package/lib/db-entries/sign-in-experience.js +5 -1
- package/lib/db-entries/subject-token.js +2 -2
- package/lib/db-entries/trusted-device.d.ts +36 -0
- package/lib/db-entries/trusted-device.js +62 -0
- package/lib/db-entries/user-geo-location.js +2 -2
- package/lib/db-entries/user-sign-in-country.js +2 -2
- package/lib/db-entries/user-sso-identity.js +2 -2
- package/lib/db-entries/user.d.ts +3 -1
- package/lib/db-entries/user.js +6 -2
- package/lib/db-entries/users-role.js +2 -2
- package/lib/db-entries/verification-record.js +2 -2
- package/lib/db-entries/verification-status.js +2 -2
- package/lib/foundations/jsonb-types/account-centers.d.ts +3 -0
- package/lib/foundations/jsonb-types/account-centers.js +1 -0
- package/lib/foundations/jsonb-types/account-centers.test.d.ts +1 -0
- package/lib/foundations/jsonb-types/account-centers.test.js +13 -0
- package/lib/foundations/jsonb-types/captcha.d.ts +47 -1
- package/lib/foundations/jsonb-types/captcha.js +20 -0
- package/lib/foundations/jsonb-types/hooks.d.ts +5 -4
- package/lib/foundations/jsonb-types/hooks.js +3 -0
- package/lib/foundations/jsonb-types/logs.d.ts +18 -0
- package/lib/foundations/jsonb-types/logs.js +6 -0
- package/lib/foundations/jsonb-types/saml-application-configs.d.ts +23 -0
- package/lib/foundations/jsonb-types/saml-application-configs.js +16 -0
- package/lib/foundations/jsonb-types/saml-application-configs.test.js +24 -1
- package/lib/foundations/jsonb-types/sign-in-experience.d.ts +23 -3
- package/lib/foundations/jsonb-types/sign-in-experience.js +9 -0
- package/lib/foundations/jsonb-types/sign-in-experience.test.js +17 -1
- package/lib/types/authentication-context.d.ts +224 -0
- package/lib/types/authentication-context.js +238 -0
- package/lib/types/authentication-context.test.d.ts +1 -0
- package/lib/types/authentication-context.test.js +186 -0
- package/lib/types/connector.d.ts +8 -0
- package/lib/types/consent.d.ts +16 -190
- package/lib/types/consent.js +10 -1
- package/lib/types/cookie.d.ts +4 -0
- package/lib/types/cookie.js +6 -1
- package/lib/types/custom-profile-fields.d.ts +1 -0
- package/lib/types/hook.d.ts +31 -6
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.js +2 -0
- package/lib/types/interactions.d.ts +161 -0
- package/lib/types/interactions.js +23 -0
- package/lib/types/log/index.d.ts +5 -2
- package/lib/types/log/index.js +1 -0
- package/lib/types/log/interaction.d.ts +15 -2
- package/lib/types/log/interaction.js +5 -0
- package/lib/types/log/trusted-device.d.ts +7 -0
- package/lib/types/log/trusted-device.js +6 -0
- package/lib/types/logto-config/action.d.ts +1 -1
- package/lib/types/logto-config/action.js +1 -1
- package/lib/types/logto-config/index.d.ts +83 -7
- package/lib/types/logto-config/index.js +14 -0
- package/lib/types/logto-config/index.test.js +23 -0
- package/lib/types/logto-config/jwt-customizer.d.ts +123 -10
- package/lib/types/logto-config/jwt-customizer.js +1 -1
- package/lib/types/logto-config/oidc-provider.d.ts +2 -2
- package/lib/types/saml-application.d.ts +55 -1
- package/lib/types/saml-application.js +7 -1
- package/lib/types/service-log.d.ts +14 -1
- package/lib/types/service-log.js +13 -0
- package/lib/types/sign-in-experience.d.ts +20 -6
- package/lib/types/sign-in-experience.js +1 -0
- package/lib/types/ssr.d.ts +2 -0
- package/lib/types/system.d.ts +59 -7
- package/lib/types/system.js +36 -0
- package/lib/types/system.test.d.ts +1 -0
- package/lib/types/system.test.js +26 -0
- package/lib/types/trusted-device.d.ts +67 -0
- package/lib/types/trusted-device.js +16 -0
- package/lib/types/user-sessions.d.ts +195 -209
- package/lib/types/user-sessions.js +9 -4
- package/lib/types/user.d.ts +10 -3
- package/lib/types/user.js +1 -0
- package/lib/types/verification-records/code-verification.d.ts +17 -0
- package/lib/types/verification-records/code-verification.js +1 -0
- package/lib/utils/cimd.d.ts +14 -0
- package/lib/utils/cimd.js +14 -0
- package/lib/utils/cimd.test.d.ts +1 -0
- package/lib/utils/cimd.test.js +9 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +1 -0
- package/lib/utils/oidc-private-key.test.js +44 -0
- package/package.json +9 -9
- package/tables/aggregated_daily_active_users.sql +1 -1
- package/tables/application_access_control_user_relations.sql +1 -1
- package/tables/application_user_consent_organizations.sql +1 -1
- package/tables/cimd_grant_client_snapshots.sql +27 -0
- package/tables/cimd_grant_organizations.sql +38 -0
- package/tables/cimd_organization_resource_scopes.sql +16 -0
- package/tables/cimd_organization_scopes.sql +15 -0
- package/tables/cimd_resource_scopes.sql +15 -0
- package/tables/cimd_user_scopes.sql +13 -0
- package/tables/daily_active_users.sql +1 -1
- package/tables/oidc_model_instances.sql +5 -0
- package/tables/oidc_session_extensions.sql +6 -1
- package/tables/organization_invitations.sql +2 -2
- package/tables/organization_role_user_relations.sql +1 -1
- package/tables/organization_scopes.sql +4 -0
- package/tables/organization_user_relations.sql +1 -1
- package/tables/organizations.sql +2 -0
- package/tables/personal_access_tokens.sql +1 -1
- package/tables/saml_application_configs.sql +1 -0
- package/tables/scopes.sql +4 -0
- package/tables/secrets.sql +1 -1
- package/tables/service_logs.sql +14 -0
- package/tables/sign_in_experiences.sql +1 -0
- package/tables/subject_tokens.sql +1 -1
- package/tables/trusted_devices.sql +25 -0
- package/tables/user_geo_locations.sql +1 -1
- package/tables/user_sign_in_countries.sql +1 -1
- package/tables/user_sso_identities.sql +1 -1
- package/tables/users.sql +2 -1
- package/tables/users_roles.sql +1 -1
- package/tables/verification_records.sql +1 -1
- package/tables/verification_statuses.sql +1 -1
- package/LICENSE +0 -373
|
@@ -140,6 +140,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
140
140
|
id: z.ZodString;
|
|
141
141
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
142
142
|
verified: z.ZodBoolean;
|
|
143
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
143
144
|
} & {
|
|
144
145
|
type: z.ZodLiteral<import("./index.js").VerificationType.EmailVerificationCode>;
|
|
145
146
|
identifier: z.ZodObject<{
|
|
@@ -161,6 +162,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
161
162
|
};
|
|
162
163
|
templateType: import("../foundations/index.js").TemplateType;
|
|
163
164
|
verified: boolean;
|
|
165
|
+
userId?: string | undefined;
|
|
164
166
|
}, {
|
|
165
167
|
type: import("./index.js").VerificationType.EmailVerificationCode;
|
|
166
168
|
id: string;
|
|
@@ -170,10 +172,12 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
170
172
|
};
|
|
171
173
|
templateType: import("../foundations/index.js").TemplateType;
|
|
172
174
|
verified: boolean;
|
|
175
|
+
userId?: string | undefined;
|
|
173
176
|
}>, z.ZodObject<{
|
|
174
177
|
id: z.ZodString;
|
|
175
178
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
176
179
|
verified: z.ZodBoolean;
|
|
180
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
177
181
|
} & {
|
|
178
182
|
type: z.ZodLiteral<import("./index.js").VerificationType.PhoneVerificationCode>;
|
|
179
183
|
identifier: z.ZodObject<{
|
|
@@ -195,6 +199,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
195
199
|
};
|
|
196
200
|
templateType: import("../foundations/index.js").TemplateType;
|
|
197
201
|
verified: boolean;
|
|
202
|
+
userId?: string | undefined;
|
|
198
203
|
}, {
|
|
199
204
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
200
205
|
id: string;
|
|
@@ -204,10 +209,12 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
204
209
|
};
|
|
205
210
|
templateType: import("../foundations/index.js").TemplateType;
|
|
206
211
|
verified: boolean;
|
|
212
|
+
userId?: string | undefined;
|
|
207
213
|
}>, z.ZodObject<{
|
|
208
214
|
id: z.ZodString;
|
|
209
215
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
210
216
|
verified: z.ZodBoolean;
|
|
217
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
211
218
|
} & {
|
|
212
219
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaEmailVerificationCode>;
|
|
213
220
|
identifier: z.ZodObject<{
|
|
@@ -229,6 +236,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
229
236
|
};
|
|
230
237
|
templateType: import("../foundations/index.js").TemplateType;
|
|
231
238
|
verified: boolean;
|
|
239
|
+
userId?: string | undefined;
|
|
232
240
|
}, {
|
|
233
241
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
234
242
|
id: string;
|
|
@@ -238,10 +246,12 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
238
246
|
};
|
|
239
247
|
templateType: import("../foundations/index.js").TemplateType;
|
|
240
248
|
verified: boolean;
|
|
249
|
+
userId?: string | undefined;
|
|
241
250
|
}>, z.ZodObject<{
|
|
242
251
|
id: z.ZodString;
|
|
243
252
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
244
253
|
verified: z.ZodBoolean;
|
|
254
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
245
255
|
} & {
|
|
246
256
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaPhoneVerificationCode>;
|
|
247
257
|
identifier: z.ZodObject<{
|
|
@@ -263,6 +273,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
263
273
|
};
|
|
264
274
|
templateType: import("../foundations/index.js").TemplateType;
|
|
265
275
|
verified: boolean;
|
|
276
|
+
userId?: string | undefined;
|
|
266
277
|
}, {
|
|
267
278
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
268
279
|
id: string;
|
|
@@ -272,6 +283,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
272
283
|
};
|
|
273
284
|
templateType: import("../foundations/index.js").TemplateType;
|
|
274
285
|
verified: boolean;
|
|
286
|
+
userId?: string | undefined;
|
|
275
287
|
}>, z.ZodObject<Omit<{
|
|
276
288
|
id: z.ZodString;
|
|
277
289
|
connectorId: z.ZodString;
|
|
@@ -626,7 +638,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
626
638
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
627
639
|
}>;
|
|
628
640
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
629
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
641
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
630
642
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
631
643
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
632
644
|
id: string;
|
|
@@ -660,6 +672,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
660
672
|
};
|
|
661
673
|
templateType: import("../foundations/index.js").TemplateType;
|
|
662
674
|
verified: boolean;
|
|
675
|
+
userId?: string | undefined;
|
|
663
676
|
} | {
|
|
664
677
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
665
678
|
id: string;
|
|
@@ -669,6 +682,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
669
682
|
};
|
|
670
683
|
templateType: import("../foundations/index.js").TemplateType;
|
|
671
684
|
verified: boolean;
|
|
685
|
+
userId?: string | undefined;
|
|
672
686
|
} | {
|
|
673
687
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
674
688
|
id: string;
|
|
@@ -678,6 +692,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
678
692
|
};
|
|
679
693
|
templateType: import("../foundations/index.js").TemplateType;
|
|
680
694
|
verified: boolean;
|
|
695
|
+
userId?: string | undefined;
|
|
681
696
|
} | {
|
|
682
697
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
683
698
|
id: string;
|
|
@@ -687,6 +702,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
687
702
|
};
|
|
688
703
|
templateType: import("../foundations/index.js").TemplateType;
|
|
689
704
|
verified: boolean;
|
|
705
|
+
userId?: string | undefined;
|
|
690
706
|
} | {
|
|
691
707
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
692
708
|
id: string;
|
|
@@ -775,6 +791,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
775
791
|
};
|
|
776
792
|
templateType: import("../foundations/index.js").TemplateType;
|
|
777
793
|
verified: boolean;
|
|
794
|
+
userId?: string | undefined;
|
|
778
795
|
} | {
|
|
779
796
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
780
797
|
id: string;
|
|
@@ -784,6 +801,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
784
801
|
};
|
|
785
802
|
templateType: import("../foundations/index.js").TemplateType;
|
|
786
803
|
verified: boolean;
|
|
804
|
+
userId?: string | undefined;
|
|
787
805
|
} | {
|
|
788
806
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
789
807
|
id: string;
|
|
@@ -793,6 +811,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
793
811
|
};
|
|
794
812
|
templateType: import("../foundations/index.js").TemplateType;
|
|
795
813
|
verified: boolean;
|
|
814
|
+
userId?: string | undefined;
|
|
796
815
|
} | {
|
|
797
816
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
798
817
|
id: string;
|
|
@@ -802,6 +821,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
802
821
|
};
|
|
803
822
|
templateType: import("../foundations/index.js").TemplateType;
|
|
804
823
|
verified: boolean;
|
|
824
|
+
userId?: string | undefined;
|
|
805
825
|
} | {
|
|
806
826
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
807
827
|
id: string;
|
|
@@ -880,6 +900,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
880
900
|
}, "strip", z.ZodTypeAny, {
|
|
881
901
|
accountId: string | null;
|
|
882
902
|
expiresAt: number;
|
|
903
|
+
clientId: string | null;
|
|
883
904
|
payload: {
|
|
884
905
|
uid: string;
|
|
885
906
|
exp: number;
|
|
@@ -913,6 +934,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
913
934
|
};
|
|
914
935
|
templateType: import("../foundations/index.js").TemplateType;
|
|
915
936
|
verified: boolean;
|
|
937
|
+
userId?: string | undefined;
|
|
916
938
|
} | {
|
|
917
939
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
918
940
|
id: string;
|
|
@@ -922,6 +944,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
922
944
|
};
|
|
923
945
|
templateType: import("../foundations/index.js").TemplateType;
|
|
924
946
|
verified: boolean;
|
|
947
|
+
userId?: string | undefined;
|
|
925
948
|
} | {
|
|
926
949
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
927
950
|
id: string;
|
|
@@ -931,6 +954,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
931
954
|
};
|
|
932
955
|
templateType: import("../foundations/index.js").TemplateType;
|
|
933
956
|
verified: boolean;
|
|
957
|
+
userId?: string | undefined;
|
|
934
958
|
} | {
|
|
935
959
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
936
960
|
id: string;
|
|
@@ -940,6 +964,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
940
964
|
};
|
|
941
965
|
templateType: import("../foundations/index.js").TemplateType;
|
|
942
966
|
verified: boolean;
|
|
967
|
+
userId?: string | undefined;
|
|
943
968
|
} | {
|
|
944
969
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
945
970
|
id: string;
|
|
@@ -1012,10 +1037,10 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1012
1037
|
})[];
|
|
1013
1038
|
signInContext?: Record<string, string> | undefined;
|
|
1014
1039
|
} | null;
|
|
1015
|
-
clientId: string | null;
|
|
1016
1040
|
}, {
|
|
1017
1041
|
accountId: string | null;
|
|
1018
1042
|
expiresAt: number;
|
|
1043
|
+
clientId: string | null;
|
|
1019
1044
|
payload: {
|
|
1020
1045
|
uid: string;
|
|
1021
1046
|
exp: number;
|
|
@@ -1049,6 +1074,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1049
1074
|
};
|
|
1050
1075
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1051
1076
|
verified: boolean;
|
|
1077
|
+
userId?: string | undefined;
|
|
1052
1078
|
} | {
|
|
1053
1079
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
1054
1080
|
id: string;
|
|
@@ -1058,6 +1084,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1058
1084
|
};
|
|
1059
1085
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1060
1086
|
verified: boolean;
|
|
1087
|
+
userId?: string | undefined;
|
|
1061
1088
|
} | {
|
|
1062
1089
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
1063
1090
|
id: string;
|
|
@@ -1067,6 +1094,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1067
1094
|
};
|
|
1068
1095
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1069
1096
|
verified: boolean;
|
|
1097
|
+
userId?: string | undefined;
|
|
1070
1098
|
} | {
|
|
1071
1099
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
1072
1100
|
id: string;
|
|
@@ -1076,6 +1104,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1076
1104
|
};
|
|
1077
1105
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1078
1106
|
verified: boolean;
|
|
1107
|
+
userId?: string | undefined;
|
|
1079
1108
|
} | {
|
|
1080
1109
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
1081
1110
|
id: string;
|
|
@@ -1148,7 +1177,6 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1148
1177
|
})[];
|
|
1149
1178
|
signInContext?: Record<string, string> | undefined;
|
|
1150
1179
|
} | null;
|
|
1151
|
-
clientId: string | null;
|
|
1152
1180
|
}>;
|
|
1153
1181
|
export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
1154
1182
|
sessions: z.ZodArray<z.ZodObject<{
|
|
@@ -1253,6 +1281,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1253
1281
|
id: z.ZodString;
|
|
1254
1282
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
1255
1283
|
verified: z.ZodBoolean;
|
|
1284
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1256
1285
|
} & {
|
|
1257
1286
|
type: z.ZodLiteral<import("./index.js").VerificationType.EmailVerificationCode>;
|
|
1258
1287
|
identifier: z.ZodObject<{
|
|
@@ -1274,6 +1303,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1274
1303
|
};
|
|
1275
1304
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1276
1305
|
verified: boolean;
|
|
1306
|
+
userId?: string | undefined;
|
|
1277
1307
|
}, {
|
|
1278
1308
|
type: import("./index.js").VerificationType.EmailVerificationCode;
|
|
1279
1309
|
id: string;
|
|
@@ -1283,10 +1313,12 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1283
1313
|
};
|
|
1284
1314
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1285
1315
|
verified: boolean;
|
|
1316
|
+
userId?: string | undefined;
|
|
1286
1317
|
}>, z.ZodObject<{
|
|
1287
1318
|
id: z.ZodString;
|
|
1288
1319
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
1289
1320
|
verified: z.ZodBoolean;
|
|
1321
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1290
1322
|
} & {
|
|
1291
1323
|
type: z.ZodLiteral<import("./index.js").VerificationType.PhoneVerificationCode>;
|
|
1292
1324
|
identifier: z.ZodObject<{
|
|
@@ -1308,6 +1340,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1308
1340
|
};
|
|
1309
1341
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1310
1342
|
verified: boolean;
|
|
1343
|
+
userId?: string | undefined;
|
|
1311
1344
|
}, {
|
|
1312
1345
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
1313
1346
|
id: string;
|
|
@@ -1317,10 +1350,12 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1317
1350
|
};
|
|
1318
1351
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1319
1352
|
verified: boolean;
|
|
1353
|
+
userId?: string | undefined;
|
|
1320
1354
|
}>, z.ZodObject<{
|
|
1321
1355
|
id: z.ZodString;
|
|
1322
1356
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
1323
1357
|
verified: z.ZodBoolean;
|
|
1358
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1324
1359
|
} & {
|
|
1325
1360
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaEmailVerificationCode>;
|
|
1326
1361
|
identifier: z.ZodObject<{
|
|
@@ -1342,6 +1377,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1342
1377
|
};
|
|
1343
1378
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1344
1379
|
verified: boolean;
|
|
1380
|
+
userId?: string | undefined;
|
|
1345
1381
|
}, {
|
|
1346
1382
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
1347
1383
|
id: string;
|
|
@@ -1351,10 +1387,12 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1351
1387
|
};
|
|
1352
1388
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1353
1389
|
verified: boolean;
|
|
1390
|
+
userId?: string | undefined;
|
|
1354
1391
|
}>, z.ZodObject<{
|
|
1355
1392
|
id: z.ZodString;
|
|
1356
1393
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
1357
1394
|
verified: z.ZodBoolean;
|
|
1395
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1358
1396
|
} & {
|
|
1359
1397
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaPhoneVerificationCode>;
|
|
1360
1398
|
identifier: z.ZodObject<{
|
|
@@ -1376,6 +1414,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1376
1414
|
};
|
|
1377
1415
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1378
1416
|
verified: boolean;
|
|
1417
|
+
userId?: string | undefined;
|
|
1379
1418
|
}, {
|
|
1380
1419
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
1381
1420
|
id: string;
|
|
@@ -1385,6 +1424,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1385
1424
|
};
|
|
1386
1425
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1387
1426
|
verified: boolean;
|
|
1427
|
+
userId?: string | undefined;
|
|
1388
1428
|
}>, z.ZodObject<Omit<{
|
|
1389
1429
|
id: z.ZodString;
|
|
1390
1430
|
connectorId: z.ZodString;
|
|
@@ -1739,7 +1779,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1739
1779
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
1740
1780
|
}>;
|
|
1741
1781
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
1742
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
1782
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
1743
1783
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
1744
1784
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
1745
1785
|
id: string;
|
|
@@ -1773,6 +1813,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1773
1813
|
};
|
|
1774
1814
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1775
1815
|
verified: boolean;
|
|
1816
|
+
userId?: string | undefined;
|
|
1776
1817
|
} | {
|
|
1777
1818
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
1778
1819
|
id: string;
|
|
@@ -1782,6 +1823,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1782
1823
|
};
|
|
1783
1824
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1784
1825
|
verified: boolean;
|
|
1826
|
+
userId?: string | undefined;
|
|
1785
1827
|
} | {
|
|
1786
1828
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
1787
1829
|
id: string;
|
|
@@ -1791,6 +1833,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1791
1833
|
};
|
|
1792
1834
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1793
1835
|
verified: boolean;
|
|
1836
|
+
userId?: string | undefined;
|
|
1794
1837
|
} | {
|
|
1795
1838
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
1796
1839
|
id: string;
|
|
@@ -1800,6 +1843,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1800
1843
|
};
|
|
1801
1844
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1802
1845
|
verified: boolean;
|
|
1846
|
+
userId?: string | undefined;
|
|
1803
1847
|
} | {
|
|
1804
1848
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
1805
1849
|
id: string;
|
|
@@ -1888,6 +1932,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1888
1932
|
};
|
|
1889
1933
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1890
1934
|
verified: boolean;
|
|
1935
|
+
userId?: string | undefined;
|
|
1891
1936
|
} | {
|
|
1892
1937
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
1893
1938
|
id: string;
|
|
@@ -1897,6 +1942,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1897
1942
|
};
|
|
1898
1943
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1899
1944
|
verified: boolean;
|
|
1945
|
+
userId?: string | undefined;
|
|
1900
1946
|
} | {
|
|
1901
1947
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
1902
1948
|
id: string;
|
|
@@ -1906,6 +1952,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1906
1952
|
};
|
|
1907
1953
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1908
1954
|
verified: boolean;
|
|
1955
|
+
userId?: string | undefined;
|
|
1909
1956
|
} | {
|
|
1910
1957
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
1911
1958
|
id: string;
|
|
@@ -1915,6 +1962,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1915
1962
|
};
|
|
1916
1963
|
templateType: import("../foundations/index.js").TemplateType;
|
|
1917
1964
|
verified: boolean;
|
|
1965
|
+
userId?: string | undefined;
|
|
1918
1966
|
} | {
|
|
1919
1967
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
1920
1968
|
id: string;
|
|
@@ -1993,6 +2041,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1993
2041
|
}, "strip", z.ZodTypeAny, {
|
|
1994
2042
|
accountId: string | null;
|
|
1995
2043
|
expiresAt: number;
|
|
2044
|
+
clientId: string | null;
|
|
1996
2045
|
payload: {
|
|
1997
2046
|
uid: string;
|
|
1998
2047
|
exp: number;
|
|
@@ -2026,6 +2075,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2026
2075
|
};
|
|
2027
2076
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2028
2077
|
verified: boolean;
|
|
2078
|
+
userId?: string | undefined;
|
|
2029
2079
|
} | {
|
|
2030
2080
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
2031
2081
|
id: string;
|
|
@@ -2035,6 +2085,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2035
2085
|
};
|
|
2036
2086
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2037
2087
|
verified: boolean;
|
|
2088
|
+
userId?: string | undefined;
|
|
2038
2089
|
} | {
|
|
2039
2090
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
2040
2091
|
id: string;
|
|
@@ -2044,6 +2095,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2044
2095
|
};
|
|
2045
2096
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2046
2097
|
verified: boolean;
|
|
2098
|
+
userId?: string | undefined;
|
|
2047
2099
|
} | {
|
|
2048
2100
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
2049
2101
|
id: string;
|
|
@@ -2053,6 +2105,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2053
2105
|
};
|
|
2054
2106
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2055
2107
|
verified: boolean;
|
|
2108
|
+
userId?: string | undefined;
|
|
2056
2109
|
} | {
|
|
2057
2110
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
2058
2111
|
id: string;
|
|
@@ -2125,10 +2178,10 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2125
2178
|
})[];
|
|
2126
2179
|
signInContext?: Record<string, string> | undefined;
|
|
2127
2180
|
} | null;
|
|
2128
|
-
clientId: string | null;
|
|
2129
2181
|
}, {
|
|
2130
2182
|
accountId: string | null;
|
|
2131
2183
|
expiresAt: number;
|
|
2184
|
+
clientId: string | null;
|
|
2132
2185
|
payload: {
|
|
2133
2186
|
uid: string;
|
|
2134
2187
|
exp: number;
|
|
@@ -2162,6 +2215,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2162
2215
|
};
|
|
2163
2216
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2164
2217
|
verified: boolean;
|
|
2218
|
+
userId?: string | undefined;
|
|
2165
2219
|
} | {
|
|
2166
2220
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
2167
2221
|
id: string;
|
|
@@ -2171,6 +2225,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2171
2225
|
};
|
|
2172
2226
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2173
2227
|
verified: boolean;
|
|
2228
|
+
userId?: string | undefined;
|
|
2174
2229
|
} | {
|
|
2175
2230
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
2176
2231
|
id: string;
|
|
@@ -2180,6 +2235,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2180
2235
|
};
|
|
2181
2236
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2182
2237
|
verified: boolean;
|
|
2238
|
+
userId?: string | undefined;
|
|
2183
2239
|
} | {
|
|
2184
2240
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
2185
2241
|
id: string;
|
|
@@ -2189,6 +2245,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2189
2245
|
};
|
|
2190
2246
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2191
2247
|
verified: boolean;
|
|
2248
|
+
userId?: string | undefined;
|
|
2192
2249
|
} | {
|
|
2193
2250
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
2194
2251
|
id: string;
|
|
@@ -2261,12 +2318,12 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2261
2318
|
})[];
|
|
2262
2319
|
signInContext?: Record<string, string> | undefined;
|
|
2263
2320
|
} | null;
|
|
2264
|
-
clientId: string | null;
|
|
2265
2321
|
}>, "many">;
|
|
2266
2322
|
}, "strip", z.ZodTypeAny, {
|
|
2267
2323
|
sessions: {
|
|
2268
2324
|
accountId: string | null;
|
|
2269
2325
|
expiresAt: number;
|
|
2326
|
+
clientId: string | null;
|
|
2270
2327
|
payload: {
|
|
2271
2328
|
uid: string;
|
|
2272
2329
|
exp: number;
|
|
@@ -2300,6 +2357,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2300
2357
|
};
|
|
2301
2358
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2302
2359
|
verified: boolean;
|
|
2360
|
+
userId?: string | undefined;
|
|
2303
2361
|
} | {
|
|
2304
2362
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
2305
2363
|
id: string;
|
|
@@ -2309,6 +2367,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2309
2367
|
};
|
|
2310
2368
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2311
2369
|
verified: boolean;
|
|
2370
|
+
userId?: string | undefined;
|
|
2312
2371
|
} | {
|
|
2313
2372
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
2314
2373
|
id: string;
|
|
@@ -2318,6 +2377,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2318
2377
|
};
|
|
2319
2378
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2320
2379
|
verified: boolean;
|
|
2380
|
+
userId?: string | undefined;
|
|
2321
2381
|
} | {
|
|
2322
2382
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
2323
2383
|
id: string;
|
|
@@ -2327,6 +2387,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2327
2387
|
};
|
|
2328
2388
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2329
2389
|
verified: boolean;
|
|
2390
|
+
userId?: string | undefined;
|
|
2330
2391
|
} | {
|
|
2331
2392
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
2332
2393
|
id: string;
|
|
@@ -2399,12 +2460,12 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2399
2460
|
})[];
|
|
2400
2461
|
signInContext?: Record<string, string> | undefined;
|
|
2401
2462
|
} | null;
|
|
2402
|
-
clientId: string | null;
|
|
2403
2463
|
}[];
|
|
2404
2464
|
}, {
|
|
2405
2465
|
sessions: {
|
|
2406
2466
|
accountId: string | null;
|
|
2407
2467
|
expiresAt: number;
|
|
2468
|
+
clientId: string | null;
|
|
2408
2469
|
payload: {
|
|
2409
2470
|
uid: string;
|
|
2410
2471
|
exp: number;
|
|
@@ -2438,6 +2499,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2438
2499
|
};
|
|
2439
2500
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2440
2501
|
verified: boolean;
|
|
2502
|
+
userId?: string | undefined;
|
|
2441
2503
|
} | {
|
|
2442
2504
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
2443
2505
|
id: string;
|
|
@@ -2447,6 +2509,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2447
2509
|
};
|
|
2448
2510
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2449
2511
|
verified: boolean;
|
|
2512
|
+
userId?: string | undefined;
|
|
2450
2513
|
} | {
|
|
2451
2514
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
2452
2515
|
id: string;
|
|
@@ -2456,6 +2519,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2456
2519
|
};
|
|
2457
2520
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2458
2521
|
verified: boolean;
|
|
2522
|
+
userId?: string | undefined;
|
|
2459
2523
|
} | {
|
|
2460
2524
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
2461
2525
|
id: string;
|
|
@@ -2465,6 +2529,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2465
2529
|
};
|
|
2466
2530
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2467
2531
|
verified: boolean;
|
|
2532
|
+
userId?: string | undefined;
|
|
2468
2533
|
} | {
|
|
2469
2534
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
2470
2535
|
id: string;
|
|
@@ -2537,7 +2602,6 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2537
2602
|
})[];
|
|
2538
2603
|
signInContext?: Record<string, string> | undefined;
|
|
2539
2604
|
} | null;
|
|
2540
|
-
clientId: string | null;
|
|
2541
2605
|
}[];
|
|
2542
2606
|
}>;
|
|
2543
2607
|
/** Response type for `GET /users/:userId/sessions`. */
|
|
@@ -2644,6 +2708,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2644
2708
|
id: z.ZodString;
|
|
2645
2709
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
2646
2710
|
verified: z.ZodBoolean;
|
|
2711
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2647
2712
|
} & {
|
|
2648
2713
|
type: z.ZodLiteral<import("./index.js").VerificationType.EmailVerificationCode>;
|
|
2649
2714
|
identifier: z.ZodObject<{
|
|
@@ -2665,6 +2730,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2665
2730
|
};
|
|
2666
2731
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2667
2732
|
verified: boolean;
|
|
2733
|
+
userId?: string | undefined;
|
|
2668
2734
|
}, {
|
|
2669
2735
|
type: import("./index.js").VerificationType.EmailVerificationCode;
|
|
2670
2736
|
id: string;
|
|
@@ -2674,10 +2740,12 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2674
2740
|
};
|
|
2675
2741
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2676
2742
|
verified: boolean;
|
|
2743
|
+
userId?: string | undefined;
|
|
2677
2744
|
}>, z.ZodObject<{
|
|
2678
2745
|
id: z.ZodString;
|
|
2679
2746
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
2680
2747
|
verified: z.ZodBoolean;
|
|
2748
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2681
2749
|
} & {
|
|
2682
2750
|
type: z.ZodLiteral<import("./index.js").VerificationType.PhoneVerificationCode>;
|
|
2683
2751
|
identifier: z.ZodObject<{
|
|
@@ -2699,6 +2767,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2699
2767
|
};
|
|
2700
2768
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2701
2769
|
verified: boolean;
|
|
2770
|
+
userId?: string | undefined;
|
|
2702
2771
|
}, {
|
|
2703
2772
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
2704
2773
|
id: string;
|
|
@@ -2708,10 +2777,12 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2708
2777
|
};
|
|
2709
2778
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2710
2779
|
verified: boolean;
|
|
2780
|
+
userId?: string | undefined;
|
|
2711
2781
|
}>, z.ZodObject<{
|
|
2712
2782
|
id: z.ZodString;
|
|
2713
2783
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
2714
2784
|
verified: z.ZodBoolean;
|
|
2785
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2715
2786
|
} & {
|
|
2716
2787
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaEmailVerificationCode>;
|
|
2717
2788
|
identifier: z.ZodObject<{
|
|
@@ -2733,6 +2804,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2733
2804
|
};
|
|
2734
2805
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2735
2806
|
verified: boolean;
|
|
2807
|
+
userId?: string | undefined;
|
|
2736
2808
|
}, {
|
|
2737
2809
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
2738
2810
|
id: string;
|
|
@@ -2742,10 +2814,12 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2742
2814
|
};
|
|
2743
2815
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2744
2816
|
verified: boolean;
|
|
2817
|
+
userId?: string | undefined;
|
|
2745
2818
|
}>, z.ZodObject<{
|
|
2746
2819
|
id: z.ZodString;
|
|
2747
2820
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
2748
2821
|
verified: z.ZodBoolean;
|
|
2822
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2749
2823
|
} & {
|
|
2750
2824
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaPhoneVerificationCode>;
|
|
2751
2825
|
identifier: z.ZodObject<{
|
|
@@ -2767,6 +2841,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2767
2841
|
};
|
|
2768
2842
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2769
2843
|
verified: boolean;
|
|
2844
|
+
userId?: string | undefined;
|
|
2770
2845
|
}, {
|
|
2771
2846
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
2772
2847
|
id: string;
|
|
@@ -2776,6 +2851,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2776
2851
|
};
|
|
2777
2852
|
templateType: import("../foundations/index.js").TemplateType;
|
|
2778
2853
|
verified: boolean;
|
|
2854
|
+
userId?: string | undefined;
|
|
2779
2855
|
}>, z.ZodObject<Omit<{
|
|
2780
2856
|
id: z.ZodString;
|
|
2781
2857
|
connectorId: z.ZodString;
|
|
@@ -3130,7 +3206,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3130
3206
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
3131
3207
|
}>;
|
|
3132
3208
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
3133
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
3209
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
3134
3210
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
3135
3211
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
3136
3212
|
id: string;
|
|
@@ -3164,6 +3240,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3164
3240
|
};
|
|
3165
3241
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3166
3242
|
verified: boolean;
|
|
3243
|
+
userId?: string | undefined;
|
|
3167
3244
|
} | {
|
|
3168
3245
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
3169
3246
|
id: string;
|
|
@@ -3173,6 +3250,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3173
3250
|
};
|
|
3174
3251
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3175
3252
|
verified: boolean;
|
|
3253
|
+
userId?: string | undefined;
|
|
3176
3254
|
} | {
|
|
3177
3255
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
3178
3256
|
id: string;
|
|
@@ -3182,6 +3260,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3182
3260
|
};
|
|
3183
3261
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3184
3262
|
verified: boolean;
|
|
3263
|
+
userId?: string | undefined;
|
|
3185
3264
|
} | {
|
|
3186
3265
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
3187
3266
|
id: string;
|
|
@@ -3191,6 +3270,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3191
3270
|
};
|
|
3192
3271
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3193
3272
|
verified: boolean;
|
|
3273
|
+
userId?: string | undefined;
|
|
3194
3274
|
} | {
|
|
3195
3275
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
3196
3276
|
id: string;
|
|
@@ -3279,6 +3359,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3279
3359
|
};
|
|
3280
3360
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3281
3361
|
verified: boolean;
|
|
3362
|
+
userId?: string | undefined;
|
|
3282
3363
|
} | {
|
|
3283
3364
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
3284
3365
|
id: string;
|
|
@@ -3288,6 +3369,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3288
3369
|
};
|
|
3289
3370
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3290
3371
|
verified: boolean;
|
|
3372
|
+
userId?: string | undefined;
|
|
3291
3373
|
} | {
|
|
3292
3374
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
3293
3375
|
id: string;
|
|
@@ -3297,6 +3379,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3297
3379
|
};
|
|
3298
3380
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3299
3381
|
verified: boolean;
|
|
3382
|
+
userId?: string | undefined;
|
|
3300
3383
|
} | {
|
|
3301
3384
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
3302
3385
|
id: string;
|
|
@@ -3306,6 +3389,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3306
3389
|
};
|
|
3307
3390
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3308
3391
|
verified: boolean;
|
|
3392
|
+
userId?: string | undefined;
|
|
3309
3393
|
} | {
|
|
3310
3394
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
3311
3395
|
id: string;
|
|
@@ -3384,6 +3468,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3384
3468
|
}, "strip", z.ZodTypeAny, {
|
|
3385
3469
|
accountId: string | null;
|
|
3386
3470
|
expiresAt: number;
|
|
3471
|
+
clientId: string | null;
|
|
3387
3472
|
payload: {
|
|
3388
3473
|
uid: string;
|
|
3389
3474
|
exp: number;
|
|
@@ -3417,6 +3502,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3417
3502
|
};
|
|
3418
3503
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3419
3504
|
verified: boolean;
|
|
3505
|
+
userId?: string | undefined;
|
|
3420
3506
|
} | {
|
|
3421
3507
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
3422
3508
|
id: string;
|
|
@@ -3426,6 +3512,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3426
3512
|
};
|
|
3427
3513
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3428
3514
|
verified: boolean;
|
|
3515
|
+
userId?: string | undefined;
|
|
3429
3516
|
} | {
|
|
3430
3517
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
3431
3518
|
id: string;
|
|
@@ -3435,6 +3522,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3435
3522
|
};
|
|
3436
3523
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3437
3524
|
verified: boolean;
|
|
3525
|
+
userId?: string | undefined;
|
|
3438
3526
|
} | {
|
|
3439
3527
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
3440
3528
|
id: string;
|
|
@@ -3444,6 +3532,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3444
3532
|
};
|
|
3445
3533
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3446
3534
|
verified: boolean;
|
|
3535
|
+
userId?: string | undefined;
|
|
3447
3536
|
} | {
|
|
3448
3537
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
3449
3538
|
id: string;
|
|
@@ -3516,10 +3605,10 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3516
3605
|
})[];
|
|
3517
3606
|
signInContext?: Record<string, string> | undefined;
|
|
3518
3607
|
} | null;
|
|
3519
|
-
clientId: string | null;
|
|
3520
3608
|
}, {
|
|
3521
3609
|
accountId: string | null;
|
|
3522
3610
|
expiresAt: number;
|
|
3611
|
+
clientId: string | null;
|
|
3523
3612
|
payload: {
|
|
3524
3613
|
uid: string;
|
|
3525
3614
|
exp: number;
|
|
@@ -3553,6 +3642,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3553
3642
|
};
|
|
3554
3643
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3555
3644
|
verified: boolean;
|
|
3645
|
+
userId?: string | undefined;
|
|
3556
3646
|
} | {
|
|
3557
3647
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
3558
3648
|
id: string;
|
|
@@ -3562,6 +3652,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3562
3652
|
};
|
|
3563
3653
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3564
3654
|
verified: boolean;
|
|
3655
|
+
userId?: string | undefined;
|
|
3565
3656
|
} | {
|
|
3566
3657
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
3567
3658
|
id: string;
|
|
@@ -3571,6 +3662,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3571
3662
|
};
|
|
3572
3663
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3573
3664
|
verified: boolean;
|
|
3665
|
+
userId?: string | undefined;
|
|
3574
3666
|
} | {
|
|
3575
3667
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
3576
3668
|
id: string;
|
|
@@ -3580,6 +3672,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3580
3672
|
};
|
|
3581
3673
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3582
3674
|
verified: boolean;
|
|
3675
|
+
userId?: string | undefined;
|
|
3583
3676
|
} | {
|
|
3584
3677
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
3585
3678
|
id: string;
|
|
@@ -3652,7 +3745,6 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3652
3745
|
})[];
|
|
3653
3746
|
signInContext?: Record<string, string> | undefined;
|
|
3654
3747
|
} | null;
|
|
3655
|
-
clientId: string | null;
|
|
3656
3748
|
}>;
|
|
3657
3749
|
/** Response type for `GET /users/:userId/sessions/:sessionId`. */
|
|
3658
3750
|
export type GetUserSessionResponse = z.infer<typeof getUserSessionResponseGuard>;
|
|
@@ -3766,6 +3858,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3766
3858
|
id: z.ZodString;
|
|
3767
3859
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
3768
3860
|
verified: z.ZodBoolean;
|
|
3861
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
3769
3862
|
} & {
|
|
3770
3863
|
type: z.ZodLiteral<import("./index.js").VerificationType.EmailVerificationCode>;
|
|
3771
3864
|
identifier: z.ZodObject<{
|
|
@@ -3787,6 +3880,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3787
3880
|
};
|
|
3788
3881
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3789
3882
|
verified: boolean;
|
|
3883
|
+
userId?: string | undefined;
|
|
3790
3884
|
}, {
|
|
3791
3885
|
type: import("./index.js").VerificationType.EmailVerificationCode;
|
|
3792
3886
|
id: string;
|
|
@@ -3796,10 +3890,12 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3796
3890
|
};
|
|
3797
3891
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3798
3892
|
verified: boolean;
|
|
3893
|
+
userId?: string | undefined;
|
|
3799
3894
|
}>, z.ZodObject<{
|
|
3800
3895
|
id: z.ZodString;
|
|
3801
3896
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
3802
3897
|
verified: z.ZodBoolean;
|
|
3898
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
3803
3899
|
} & {
|
|
3804
3900
|
type: z.ZodLiteral<import("./index.js").VerificationType.PhoneVerificationCode>;
|
|
3805
3901
|
identifier: z.ZodObject<{
|
|
@@ -3821,6 +3917,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3821
3917
|
};
|
|
3822
3918
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3823
3919
|
verified: boolean;
|
|
3920
|
+
userId?: string | undefined;
|
|
3824
3921
|
}, {
|
|
3825
3922
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
3826
3923
|
id: string;
|
|
@@ -3830,10 +3927,12 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3830
3927
|
};
|
|
3831
3928
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3832
3929
|
verified: boolean;
|
|
3930
|
+
userId?: string | undefined;
|
|
3833
3931
|
}>, z.ZodObject<{
|
|
3834
3932
|
id: z.ZodString;
|
|
3835
3933
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
3836
3934
|
verified: z.ZodBoolean;
|
|
3935
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
3837
3936
|
} & {
|
|
3838
3937
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaEmailVerificationCode>;
|
|
3839
3938
|
identifier: z.ZodObject<{
|
|
@@ -3855,6 +3954,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3855
3954
|
};
|
|
3856
3955
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3857
3956
|
verified: boolean;
|
|
3957
|
+
userId?: string | undefined;
|
|
3858
3958
|
}, {
|
|
3859
3959
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
3860
3960
|
id: string;
|
|
@@ -3864,10 +3964,12 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3864
3964
|
};
|
|
3865
3965
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3866
3966
|
verified: boolean;
|
|
3967
|
+
userId?: string | undefined;
|
|
3867
3968
|
}>, z.ZodObject<{
|
|
3868
3969
|
id: z.ZodString;
|
|
3869
3970
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
3870
3971
|
verified: z.ZodBoolean;
|
|
3972
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
3871
3973
|
} & {
|
|
3872
3974
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaPhoneVerificationCode>;
|
|
3873
3975
|
identifier: z.ZodObject<{
|
|
@@ -3889,6 +3991,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3889
3991
|
};
|
|
3890
3992
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3891
3993
|
verified: boolean;
|
|
3994
|
+
userId?: string | undefined;
|
|
3892
3995
|
}, {
|
|
3893
3996
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
3894
3997
|
id: string;
|
|
@@ -3898,6 +4001,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3898
4001
|
};
|
|
3899
4002
|
templateType: import("../foundations/index.js").TemplateType;
|
|
3900
4003
|
verified: boolean;
|
|
4004
|
+
userId?: string | undefined;
|
|
3901
4005
|
}>, z.ZodObject<Omit<{
|
|
3902
4006
|
id: z.ZodString;
|
|
3903
4007
|
connectorId: z.ZodString;
|
|
@@ -4252,7 +4356,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4252
4356
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
4253
4357
|
}>;
|
|
4254
4358
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
4255
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
4359
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
4256
4360
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
4257
4361
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
4258
4362
|
id: string;
|
|
@@ -4286,6 +4390,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4286
4390
|
};
|
|
4287
4391
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4288
4392
|
verified: boolean;
|
|
4393
|
+
userId?: string | undefined;
|
|
4289
4394
|
} | {
|
|
4290
4395
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
4291
4396
|
id: string;
|
|
@@ -4295,6 +4400,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4295
4400
|
};
|
|
4296
4401
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4297
4402
|
verified: boolean;
|
|
4403
|
+
userId?: string | undefined;
|
|
4298
4404
|
} | {
|
|
4299
4405
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
4300
4406
|
id: string;
|
|
@@ -4304,6 +4410,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4304
4410
|
};
|
|
4305
4411
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4306
4412
|
verified: boolean;
|
|
4413
|
+
userId?: string | undefined;
|
|
4307
4414
|
} | {
|
|
4308
4415
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
4309
4416
|
id: string;
|
|
@@ -4313,6 +4420,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4313
4420
|
};
|
|
4314
4421
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4315
4422
|
verified: boolean;
|
|
4423
|
+
userId?: string | undefined;
|
|
4316
4424
|
} | {
|
|
4317
4425
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
4318
4426
|
id: string;
|
|
@@ -4401,6 +4509,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4401
4509
|
};
|
|
4402
4510
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4403
4511
|
verified: boolean;
|
|
4512
|
+
userId?: string | undefined;
|
|
4404
4513
|
} | {
|
|
4405
4514
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
4406
4515
|
id: string;
|
|
@@ -4410,6 +4519,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4410
4519
|
};
|
|
4411
4520
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4412
4521
|
verified: boolean;
|
|
4522
|
+
userId?: string | undefined;
|
|
4413
4523
|
} | {
|
|
4414
4524
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
4415
4525
|
id: string;
|
|
@@ -4419,6 +4529,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4419
4529
|
};
|
|
4420
4530
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4421
4531
|
verified: boolean;
|
|
4532
|
+
userId?: string | undefined;
|
|
4422
4533
|
} | {
|
|
4423
4534
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
4424
4535
|
id: string;
|
|
@@ -4428,6 +4539,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4428
4539
|
};
|
|
4429
4540
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4430
4541
|
verified: boolean;
|
|
4542
|
+
userId?: string | undefined;
|
|
4431
4543
|
} | {
|
|
4432
4544
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
4433
4545
|
id: string;
|
|
@@ -4515,6 +4627,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4515
4627
|
}, "strip", z.ZodTypeAny, {
|
|
4516
4628
|
accountId: string | null;
|
|
4517
4629
|
expiresAt: number;
|
|
4630
|
+
clientId: string | null;
|
|
4518
4631
|
payload: {
|
|
4519
4632
|
uid: string;
|
|
4520
4633
|
exp: number;
|
|
@@ -4548,6 +4661,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4548
4661
|
};
|
|
4549
4662
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4550
4663
|
verified: boolean;
|
|
4664
|
+
userId?: string | undefined;
|
|
4551
4665
|
} | {
|
|
4552
4666
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
4553
4667
|
id: string;
|
|
@@ -4557,6 +4671,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4557
4671
|
};
|
|
4558
4672
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4559
4673
|
verified: boolean;
|
|
4674
|
+
userId?: string | undefined;
|
|
4560
4675
|
} | {
|
|
4561
4676
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
4562
4677
|
id: string;
|
|
@@ -4566,6 +4681,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4566
4681
|
};
|
|
4567
4682
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4568
4683
|
verified: boolean;
|
|
4684
|
+
userId?: string | undefined;
|
|
4569
4685
|
} | {
|
|
4570
4686
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
4571
4687
|
id: string;
|
|
@@ -4575,6 +4691,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4575
4691
|
};
|
|
4576
4692
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4577
4693
|
verified: boolean;
|
|
4694
|
+
userId?: string | undefined;
|
|
4578
4695
|
} | {
|
|
4579
4696
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
4580
4697
|
id: string;
|
|
@@ -4647,11 +4764,11 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4647
4764
|
})[];
|
|
4648
4765
|
signInContext?: Record<string, string> | undefined;
|
|
4649
4766
|
} | null;
|
|
4650
|
-
clientId: string | null;
|
|
4651
4767
|
isCurrent: boolean;
|
|
4652
4768
|
}, {
|
|
4653
4769
|
accountId: string | null;
|
|
4654
4770
|
expiresAt: number;
|
|
4771
|
+
clientId: string | null;
|
|
4655
4772
|
payload: {
|
|
4656
4773
|
uid: string;
|
|
4657
4774
|
exp: number;
|
|
@@ -4685,6 +4802,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4685
4802
|
};
|
|
4686
4803
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4687
4804
|
verified: boolean;
|
|
4805
|
+
userId?: string | undefined;
|
|
4688
4806
|
} | {
|
|
4689
4807
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
4690
4808
|
id: string;
|
|
@@ -4694,6 +4812,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4694
4812
|
};
|
|
4695
4813
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4696
4814
|
verified: boolean;
|
|
4815
|
+
userId?: string | undefined;
|
|
4697
4816
|
} | {
|
|
4698
4817
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
4699
4818
|
id: string;
|
|
@@ -4703,6 +4822,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4703
4822
|
};
|
|
4704
4823
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4705
4824
|
verified: boolean;
|
|
4825
|
+
userId?: string | undefined;
|
|
4706
4826
|
} | {
|
|
4707
4827
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
4708
4828
|
id: string;
|
|
@@ -4712,6 +4832,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4712
4832
|
};
|
|
4713
4833
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4714
4834
|
verified: boolean;
|
|
4835
|
+
userId?: string | undefined;
|
|
4715
4836
|
} | {
|
|
4716
4837
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
4717
4838
|
id: string;
|
|
@@ -4784,7 +4905,6 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4784
4905
|
})[];
|
|
4785
4906
|
signInContext?: Record<string, string> | undefined;
|
|
4786
4907
|
} | null;
|
|
4787
|
-
clientId: string | null;
|
|
4788
4908
|
isCurrent: boolean;
|
|
4789
4909
|
}>;
|
|
4790
4910
|
export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
@@ -4890,6 +5010,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
4890
5010
|
id: z.ZodString;
|
|
4891
5011
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
4892
5012
|
verified: z.ZodBoolean;
|
|
5013
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
4893
5014
|
} & {
|
|
4894
5015
|
type: z.ZodLiteral<import("./index.js").VerificationType.EmailVerificationCode>;
|
|
4895
5016
|
identifier: z.ZodObject<{
|
|
@@ -4911,6 +5032,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
4911
5032
|
};
|
|
4912
5033
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4913
5034
|
verified: boolean;
|
|
5035
|
+
userId?: string | undefined;
|
|
4914
5036
|
}, {
|
|
4915
5037
|
type: import("./index.js").VerificationType.EmailVerificationCode;
|
|
4916
5038
|
id: string;
|
|
@@ -4920,10 +5042,12 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
4920
5042
|
};
|
|
4921
5043
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4922
5044
|
verified: boolean;
|
|
5045
|
+
userId?: string | undefined;
|
|
4923
5046
|
}>, z.ZodObject<{
|
|
4924
5047
|
id: z.ZodString;
|
|
4925
5048
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
4926
5049
|
verified: z.ZodBoolean;
|
|
5050
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
4927
5051
|
} & {
|
|
4928
5052
|
type: z.ZodLiteral<import("./index.js").VerificationType.PhoneVerificationCode>;
|
|
4929
5053
|
identifier: z.ZodObject<{
|
|
@@ -4945,6 +5069,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
4945
5069
|
};
|
|
4946
5070
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4947
5071
|
verified: boolean;
|
|
5072
|
+
userId?: string | undefined;
|
|
4948
5073
|
}, {
|
|
4949
5074
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
4950
5075
|
id: string;
|
|
@@ -4954,10 +5079,12 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
4954
5079
|
};
|
|
4955
5080
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4956
5081
|
verified: boolean;
|
|
5082
|
+
userId?: string | undefined;
|
|
4957
5083
|
}>, z.ZodObject<{
|
|
4958
5084
|
id: z.ZodString;
|
|
4959
5085
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
4960
5086
|
verified: z.ZodBoolean;
|
|
5087
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
4961
5088
|
} & {
|
|
4962
5089
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaEmailVerificationCode>;
|
|
4963
5090
|
identifier: z.ZodObject<{
|
|
@@ -4979,6 +5106,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
4979
5106
|
};
|
|
4980
5107
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4981
5108
|
verified: boolean;
|
|
5109
|
+
userId?: string | undefined;
|
|
4982
5110
|
}, {
|
|
4983
5111
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
4984
5112
|
id: string;
|
|
@@ -4988,10 +5116,12 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
4988
5116
|
};
|
|
4989
5117
|
templateType: import("../foundations/index.js").TemplateType;
|
|
4990
5118
|
verified: boolean;
|
|
5119
|
+
userId?: string | undefined;
|
|
4991
5120
|
}>, z.ZodObject<{
|
|
4992
5121
|
id: z.ZodString;
|
|
4993
5122
|
templateType: z.ZodNativeEnum<typeof import("../foundations/index.js").TemplateType>;
|
|
4994
5123
|
verified: z.ZodBoolean;
|
|
5124
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
4995
5125
|
} & {
|
|
4996
5126
|
type: z.ZodLiteral<import("./index.js").VerificationType.MfaPhoneVerificationCode>;
|
|
4997
5127
|
identifier: z.ZodObject<{
|
|
@@ -5013,6 +5143,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5013
5143
|
};
|
|
5014
5144
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5015
5145
|
verified: boolean;
|
|
5146
|
+
userId?: string | undefined;
|
|
5016
5147
|
}, {
|
|
5017
5148
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
5018
5149
|
id: string;
|
|
@@ -5022,6 +5153,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5022
5153
|
};
|
|
5023
5154
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5024
5155
|
verified: boolean;
|
|
5156
|
+
userId?: string | undefined;
|
|
5025
5157
|
}>, z.ZodObject<Omit<{
|
|
5026
5158
|
id: z.ZodString;
|
|
5027
5159
|
connectorId: z.ZodString;
|
|
@@ -5376,7 +5508,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5376
5508
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
5377
5509
|
}>;
|
|
5378
5510
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
5379
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
5511
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
5380
5512
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
5381
5513
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
5382
5514
|
id: string;
|
|
@@ -5410,6 +5542,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5410
5542
|
};
|
|
5411
5543
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5412
5544
|
verified: boolean;
|
|
5545
|
+
userId?: string | undefined;
|
|
5413
5546
|
} | {
|
|
5414
5547
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
5415
5548
|
id: string;
|
|
@@ -5419,6 +5552,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5419
5552
|
};
|
|
5420
5553
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5421
5554
|
verified: boolean;
|
|
5555
|
+
userId?: string | undefined;
|
|
5422
5556
|
} | {
|
|
5423
5557
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
5424
5558
|
id: string;
|
|
@@ -5428,6 +5562,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5428
5562
|
};
|
|
5429
5563
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5430
5564
|
verified: boolean;
|
|
5565
|
+
userId?: string | undefined;
|
|
5431
5566
|
} | {
|
|
5432
5567
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
5433
5568
|
id: string;
|
|
@@ -5437,6 +5572,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5437
5572
|
};
|
|
5438
5573
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5439
5574
|
verified: boolean;
|
|
5575
|
+
userId?: string | undefined;
|
|
5440
5576
|
} | {
|
|
5441
5577
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
5442
5578
|
id: string;
|
|
@@ -5525,6 +5661,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5525
5661
|
};
|
|
5526
5662
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5527
5663
|
verified: boolean;
|
|
5664
|
+
userId?: string | undefined;
|
|
5528
5665
|
} | {
|
|
5529
5666
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
5530
5667
|
id: string;
|
|
@@ -5534,6 +5671,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5534
5671
|
};
|
|
5535
5672
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5536
5673
|
verified: boolean;
|
|
5674
|
+
userId?: string | undefined;
|
|
5537
5675
|
} | {
|
|
5538
5676
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
5539
5677
|
id: string;
|
|
@@ -5543,6 +5681,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5543
5681
|
};
|
|
5544
5682
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5545
5683
|
verified: boolean;
|
|
5684
|
+
userId?: string | undefined;
|
|
5546
5685
|
} | {
|
|
5547
5686
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
5548
5687
|
id: string;
|
|
@@ -5552,6 +5691,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5552
5691
|
};
|
|
5553
5692
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5554
5693
|
verified: boolean;
|
|
5694
|
+
userId?: string | undefined;
|
|
5555
5695
|
} | {
|
|
5556
5696
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
5557
5697
|
id: string;
|
|
@@ -5639,6 +5779,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5639
5779
|
}, "strip", z.ZodTypeAny, {
|
|
5640
5780
|
accountId: string | null;
|
|
5641
5781
|
expiresAt: number;
|
|
5782
|
+
clientId: string | null;
|
|
5642
5783
|
payload: {
|
|
5643
5784
|
uid: string;
|
|
5644
5785
|
exp: number;
|
|
@@ -5672,6 +5813,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5672
5813
|
};
|
|
5673
5814
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5674
5815
|
verified: boolean;
|
|
5816
|
+
userId?: string | undefined;
|
|
5675
5817
|
} | {
|
|
5676
5818
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
5677
5819
|
id: string;
|
|
@@ -5681,6 +5823,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5681
5823
|
};
|
|
5682
5824
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5683
5825
|
verified: boolean;
|
|
5826
|
+
userId?: string | undefined;
|
|
5684
5827
|
} | {
|
|
5685
5828
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
5686
5829
|
id: string;
|
|
@@ -5690,6 +5833,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5690
5833
|
};
|
|
5691
5834
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5692
5835
|
verified: boolean;
|
|
5836
|
+
userId?: string | undefined;
|
|
5693
5837
|
} | {
|
|
5694
5838
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
5695
5839
|
id: string;
|
|
@@ -5699,6 +5843,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5699
5843
|
};
|
|
5700
5844
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5701
5845
|
verified: boolean;
|
|
5846
|
+
userId?: string | undefined;
|
|
5702
5847
|
} | {
|
|
5703
5848
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
5704
5849
|
id: string;
|
|
@@ -5771,11 +5916,11 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5771
5916
|
})[];
|
|
5772
5917
|
signInContext?: Record<string, string> | undefined;
|
|
5773
5918
|
} | null;
|
|
5774
|
-
clientId: string | null;
|
|
5775
5919
|
isCurrent: boolean;
|
|
5776
5920
|
}, {
|
|
5777
5921
|
accountId: string | null;
|
|
5778
5922
|
expiresAt: number;
|
|
5923
|
+
clientId: string | null;
|
|
5779
5924
|
payload: {
|
|
5780
5925
|
uid: string;
|
|
5781
5926
|
exp: number;
|
|
@@ -5809,6 +5954,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5809
5954
|
};
|
|
5810
5955
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5811
5956
|
verified: boolean;
|
|
5957
|
+
userId?: string | undefined;
|
|
5812
5958
|
} | {
|
|
5813
5959
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
5814
5960
|
id: string;
|
|
@@ -5818,6 +5964,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5818
5964
|
};
|
|
5819
5965
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5820
5966
|
verified: boolean;
|
|
5967
|
+
userId?: string | undefined;
|
|
5821
5968
|
} | {
|
|
5822
5969
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
5823
5970
|
id: string;
|
|
@@ -5827,6 +5974,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5827
5974
|
};
|
|
5828
5975
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5829
5976
|
verified: boolean;
|
|
5977
|
+
userId?: string | undefined;
|
|
5830
5978
|
} | {
|
|
5831
5979
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
5832
5980
|
id: string;
|
|
@@ -5836,6 +5984,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5836
5984
|
};
|
|
5837
5985
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5838
5986
|
verified: boolean;
|
|
5987
|
+
userId?: string | undefined;
|
|
5839
5988
|
} | {
|
|
5840
5989
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
5841
5990
|
id: string;
|
|
@@ -5908,13 +6057,13 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5908
6057
|
})[];
|
|
5909
6058
|
signInContext?: Record<string, string> | undefined;
|
|
5910
6059
|
} | null;
|
|
5911
|
-
clientId: string | null;
|
|
5912
6060
|
isCurrent: boolean;
|
|
5913
6061
|
}>, "many">;
|
|
5914
6062
|
}, "strip", z.ZodTypeAny, {
|
|
5915
6063
|
sessions: {
|
|
5916
6064
|
accountId: string | null;
|
|
5917
6065
|
expiresAt: number;
|
|
6066
|
+
clientId: string | null;
|
|
5918
6067
|
payload: {
|
|
5919
6068
|
uid: string;
|
|
5920
6069
|
exp: number;
|
|
@@ -5948,6 +6097,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5948
6097
|
};
|
|
5949
6098
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5950
6099
|
verified: boolean;
|
|
6100
|
+
userId?: string | undefined;
|
|
5951
6101
|
} | {
|
|
5952
6102
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
5953
6103
|
id: string;
|
|
@@ -5957,6 +6107,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5957
6107
|
};
|
|
5958
6108
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5959
6109
|
verified: boolean;
|
|
6110
|
+
userId?: string | undefined;
|
|
5960
6111
|
} | {
|
|
5961
6112
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
5962
6113
|
id: string;
|
|
@@ -5966,6 +6117,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5966
6117
|
};
|
|
5967
6118
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5968
6119
|
verified: boolean;
|
|
6120
|
+
userId?: string | undefined;
|
|
5969
6121
|
} | {
|
|
5970
6122
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
5971
6123
|
id: string;
|
|
@@ -5975,6 +6127,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5975
6127
|
};
|
|
5976
6128
|
templateType: import("../foundations/index.js").TemplateType;
|
|
5977
6129
|
verified: boolean;
|
|
6130
|
+
userId?: string | undefined;
|
|
5978
6131
|
} | {
|
|
5979
6132
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
5980
6133
|
id: string;
|
|
@@ -6047,13 +6200,13 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
6047
6200
|
})[];
|
|
6048
6201
|
signInContext?: Record<string, string> | undefined;
|
|
6049
6202
|
} | null;
|
|
6050
|
-
clientId: string | null;
|
|
6051
6203
|
isCurrent: boolean;
|
|
6052
6204
|
}[];
|
|
6053
6205
|
}, {
|
|
6054
6206
|
sessions: {
|
|
6055
6207
|
accountId: string | null;
|
|
6056
6208
|
expiresAt: number;
|
|
6209
|
+
clientId: string | null;
|
|
6057
6210
|
payload: {
|
|
6058
6211
|
uid: string;
|
|
6059
6212
|
exp: number;
|
|
@@ -6087,6 +6240,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
6087
6240
|
};
|
|
6088
6241
|
templateType: import("../foundations/index.js").TemplateType;
|
|
6089
6242
|
verified: boolean;
|
|
6243
|
+
userId?: string | undefined;
|
|
6090
6244
|
} | {
|
|
6091
6245
|
type: import("./index.js").VerificationType.PhoneVerificationCode;
|
|
6092
6246
|
id: string;
|
|
@@ -6096,6 +6250,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
6096
6250
|
};
|
|
6097
6251
|
templateType: import("../foundations/index.js").TemplateType;
|
|
6098
6252
|
verified: boolean;
|
|
6253
|
+
userId?: string | undefined;
|
|
6099
6254
|
} | {
|
|
6100
6255
|
type: import("./index.js").VerificationType.MfaEmailVerificationCode;
|
|
6101
6256
|
id: string;
|
|
@@ -6105,6 +6260,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
6105
6260
|
};
|
|
6106
6261
|
templateType: import("../foundations/index.js").TemplateType;
|
|
6107
6262
|
verified: boolean;
|
|
6263
|
+
userId?: string | undefined;
|
|
6108
6264
|
} | {
|
|
6109
6265
|
type: import("./index.js").VerificationType.MfaPhoneVerificationCode;
|
|
6110
6266
|
id: string;
|
|
@@ -6114,6 +6270,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
6114
6270
|
};
|
|
6115
6271
|
templateType: import("../foundations/index.js").TemplateType;
|
|
6116
6272
|
verified: boolean;
|
|
6273
|
+
userId?: string | undefined;
|
|
6117
6274
|
} | {
|
|
6118
6275
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
6119
6276
|
id: string;
|
|
@@ -6186,7 +6343,6 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
6186
6343
|
})[];
|
|
6187
6344
|
signInContext?: Record<string, string> | undefined;
|
|
6188
6345
|
} | null;
|
|
6189
|
-
clientId: string | null;
|
|
6190
6346
|
isCurrent: boolean;
|
|
6191
6347
|
}[];
|
|
6192
6348
|
}>;
|
|
@@ -6252,101 +6408,16 @@ export declare const userApplicationGrantGuard: z.ZodObject<{
|
|
|
6252
6408
|
accountId: z.ZodString;
|
|
6253
6409
|
}, z.ZodUnknown, "strip">>;
|
|
6254
6410
|
expiresAt: z.ZodNumber;
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
idTokenTtl?: number | undefined;
|
|
6266
|
-
refreshTokenTtl?: number | undefined;
|
|
6267
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
6268
|
-
tenantId?: string | undefined;
|
|
6269
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
6270
|
-
rotateRefreshToken?: boolean | undefined;
|
|
6271
|
-
allowTokenExchange?: boolean | undefined;
|
|
6272
|
-
isDeviceFlow?: boolean | undefined;
|
|
6273
|
-
maxAllowedGrants?: number | undefined;
|
|
6274
|
-
}, z.ZodTypeDef, {
|
|
6275
|
-
corsAllowedOrigins?: string[] | undefined;
|
|
6276
|
-
idTokenTtl?: number | undefined;
|
|
6277
|
-
refreshTokenTtl?: number | undefined;
|
|
6278
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
6279
|
-
tenantId?: string | undefined;
|
|
6280
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
6281
|
-
rotateRefreshToken?: boolean | undefined;
|
|
6282
|
-
allowTokenExchange?: boolean | undefined;
|
|
6283
|
-
isDeviceFlow?: boolean | undefined;
|
|
6284
|
-
maxAllowedGrants?: number | undefined;
|
|
6285
|
-
}>;
|
|
6286
|
-
protectedAppMetadata: z.ZodType<{
|
|
6287
|
-
host: string;
|
|
6288
|
-
origin: string;
|
|
6289
|
-
sessionDuration: number;
|
|
6290
|
-
pageRules: {
|
|
6291
|
-
path: string;
|
|
6292
|
-
}[];
|
|
6293
|
-
additionalScopes?: (import("@logto/core-kit").UserScope.CustomData | import("@logto/core-kit").UserScope.Identities | import("@logto/core-kit").UserScope.Roles | import("@logto/core-kit").UserScope.Organizations | import("@logto/core-kit").UserScope.OrganizationRoles)[] | undefined;
|
|
6294
|
-
customDomains?: {
|
|
6295
|
-
status: import("../foundations/index.js").DomainStatus;
|
|
6296
|
-
domain: string;
|
|
6297
|
-
errorMessage: string | null;
|
|
6298
|
-
dnsRecords: {
|
|
6299
|
-
value: string;
|
|
6300
|
-
type: string;
|
|
6301
|
-
name: string;
|
|
6302
|
-
}[];
|
|
6303
|
-
cloudflareData: {
|
|
6304
|
-
status: string;
|
|
6305
|
-
id: string;
|
|
6306
|
-
ssl: {
|
|
6307
|
-
status: string;
|
|
6308
|
-
validation_errors?: {
|
|
6309
|
-
message: string;
|
|
6310
|
-
}[] | undefined;
|
|
6311
|
-
};
|
|
6312
|
-
verification_errors?: string[] | undefined;
|
|
6313
|
-
} | null;
|
|
6314
|
-
}[] | undefined;
|
|
6315
|
-
} | null, z.ZodTypeDef, {
|
|
6316
|
-
host: string;
|
|
6317
|
-
origin: string;
|
|
6318
|
-
sessionDuration: number;
|
|
6319
|
-
pageRules: {
|
|
6320
|
-
path: string;
|
|
6321
|
-
}[];
|
|
6322
|
-
additionalScopes?: (import("@logto/core-kit").UserScope.CustomData | import("@logto/core-kit").UserScope.Identities | import("@logto/core-kit").UserScope.Roles | import("@logto/core-kit").UserScope.Organizations | import("@logto/core-kit").UserScope.OrganizationRoles)[] | undefined;
|
|
6323
|
-
customDomains?: {
|
|
6324
|
-
status: import("../foundations/index.js").DomainStatus;
|
|
6325
|
-
domain: string;
|
|
6326
|
-
errorMessage: string | null;
|
|
6327
|
-
dnsRecords: {
|
|
6328
|
-
value: string;
|
|
6329
|
-
type: string;
|
|
6330
|
-
name: string;
|
|
6331
|
-
}[];
|
|
6332
|
-
cloudflareData: {
|
|
6333
|
-
status: string;
|
|
6334
|
-
id: string;
|
|
6335
|
-
ssl: {
|
|
6336
|
-
status: string;
|
|
6337
|
-
validation_errors?: {
|
|
6338
|
-
message: string;
|
|
6339
|
-
}[] | undefined;
|
|
6340
|
-
};
|
|
6341
|
-
verification_errors?: string[] | undefined;
|
|
6342
|
-
} | null;
|
|
6343
|
-
}[] | undefined;
|
|
6344
|
-
} | null>;
|
|
6345
|
-
customData: z.ZodType<import("@withtyped/server/lib/types.js").JsonObject, z.ZodTypeDef, import("@withtyped/server/lib/types.js").JsonObject>;
|
|
6346
|
-
isThirdParty: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
6347
|
-
appLevelAccessControlEnabled: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
6348
|
-
createdAt: z.ZodType<number, z.ZodTypeDef, number>;
|
|
6349
|
-
}, "name" | "id">, "strip", z.ZodTypeAny, {
|
|
6411
|
+
/**
|
|
6412
|
+
* A CIMD (client ID metadata document) grant fills this slot with a URL identity that has no
|
|
6413
|
+
* `applications` row: the identifier URL lands in `id` and `name` comes from the consent-time
|
|
6414
|
+
* snapshot, so neither field can keep the applications table varchar bounds. Consumers tell
|
|
6415
|
+
* the kinds apart by the id shape.
|
|
6416
|
+
*/
|
|
6417
|
+
application: z.ZodObject<{
|
|
6418
|
+
id: z.ZodString;
|
|
6419
|
+
name: z.ZodString;
|
|
6420
|
+
}, "strip", z.ZodTypeAny, {
|
|
6350
6421
|
name: string;
|
|
6351
6422
|
id: string;
|
|
6352
6423
|
}, {
|
|
@@ -6421,101 +6492,16 @@ export declare const getUserApplicationGrantsResponseGuard: z.ZodObject<{
|
|
|
6421
6492
|
accountId: z.ZodString;
|
|
6422
6493
|
}, z.ZodUnknown, "strip">>;
|
|
6423
6494
|
expiresAt: z.ZodNumber;
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
idTokenTtl?: number | undefined;
|
|
6435
|
-
refreshTokenTtl?: number | undefined;
|
|
6436
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
6437
|
-
tenantId?: string | undefined;
|
|
6438
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
6439
|
-
rotateRefreshToken?: boolean | undefined;
|
|
6440
|
-
allowTokenExchange?: boolean | undefined;
|
|
6441
|
-
isDeviceFlow?: boolean | undefined;
|
|
6442
|
-
maxAllowedGrants?: number | undefined;
|
|
6443
|
-
}, z.ZodTypeDef, {
|
|
6444
|
-
corsAllowedOrigins?: string[] | undefined;
|
|
6445
|
-
idTokenTtl?: number | undefined;
|
|
6446
|
-
refreshTokenTtl?: number | undefined;
|
|
6447
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
6448
|
-
tenantId?: string | undefined;
|
|
6449
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
6450
|
-
rotateRefreshToken?: boolean | undefined;
|
|
6451
|
-
allowTokenExchange?: boolean | undefined;
|
|
6452
|
-
isDeviceFlow?: boolean | undefined;
|
|
6453
|
-
maxAllowedGrants?: number | undefined;
|
|
6454
|
-
}>;
|
|
6455
|
-
protectedAppMetadata: z.ZodType<{
|
|
6456
|
-
host: string;
|
|
6457
|
-
origin: string;
|
|
6458
|
-
sessionDuration: number;
|
|
6459
|
-
pageRules: {
|
|
6460
|
-
path: string;
|
|
6461
|
-
}[];
|
|
6462
|
-
additionalScopes?: (import("@logto/core-kit").UserScope.CustomData | import("@logto/core-kit").UserScope.Identities | import("@logto/core-kit").UserScope.Roles | import("@logto/core-kit").UserScope.Organizations | import("@logto/core-kit").UserScope.OrganizationRoles)[] | undefined;
|
|
6463
|
-
customDomains?: {
|
|
6464
|
-
status: import("../foundations/index.js").DomainStatus;
|
|
6465
|
-
domain: string;
|
|
6466
|
-
errorMessage: string | null;
|
|
6467
|
-
dnsRecords: {
|
|
6468
|
-
value: string;
|
|
6469
|
-
type: string;
|
|
6470
|
-
name: string;
|
|
6471
|
-
}[];
|
|
6472
|
-
cloudflareData: {
|
|
6473
|
-
status: string;
|
|
6474
|
-
id: string;
|
|
6475
|
-
ssl: {
|
|
6476
|
-
status: string;
|
|
6477
|
-
validation_errors?: {
|
|
6478
|
-
message: string;
|
|
6479
|
-
}[] | undefined;
|
|
6480
|
-
};
|
|
6481
|
-
verification_errors?: string[] | undefined;
|
|
6482
|
-
} | null;
|
|
6483
|
-
}[] | undefined;
|
|
6484
|
-
} | null, z.ZodTypeDef, {
|
|
6485
|
-
host: string;
|
|
6486
|
-
origin: string;
|
|
6487
|
-
sessionDuration: number;
|
|
6488
|
-
pageRules: {
|
|
6489
|
-
path: string;
|
|
6490
|
-
}[];
|
|
6491
|
-
additionalScopes?: (import("@logto/core-kit").UserScope.CustomData | import("@logto/core-kit").UserScope.Identities | import("@logto/core-kit").UserScope.Roles | import("@logto/core-kit").UserScope.Organizations | import("@logto/core-kit").UserScope.OrganizationRoles)[] | undefined;
|
|
6492
|
-
customDomains?: {
|
|
6493
|
-
status: import("../foundations/index.js").DomainStatus;
|
|
6494
|
-
domain: string;
|
|
6495
|
-
errorMessage: string | null;
|
|
6496
|
-
dnsRecords: {
|
|
6497
|
-
value: string;
|
|
6498
|
-
type: string;
|
|
6499
|
-
name: string;
|
|
6500
|
-
}[];
|
|
6501
|
-
cloudflareData: {
|
|
6502
|
-
status: string;
|
|
6503
|
-
id: string;
|
|
6504
|
-
ssl: {
|
|
6505
|
-
status: string;
|
|
6506
|
-
validation_errors?: {
|
|
6507
|
-
message: string;
|
|
6508
|
-
}[] | undefined;
|
|
6509
|
-
};
|
|
6510
|
-
verification_errors?: string[] | undefined;
|
|
6511
|
-
} | null;
|
|
6512
|
-
}[] | undefined;
|
|
6513
|
-
} | null>;
|
|
6514
|
-
customData: z.ZodType<import("@withtyped/server/lib/types.js").JsonObject, z.ZodTypeDef, import("@withtyped/server/lib/types.js").JsonObject>;
|
|
6515
|
-
isThirdParty: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
6516
|
-
appLevelAccessControlEnabled: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
6517
|
-
createdAt: z.ZodType<number, z.ZodTypeDef, number>;
|
|
6518
|
-
}, "name" | "id">, "strip", z.ZodTypeAny, {
|
|
6495
|
+
/**
|
|
6496
|
+
* A CIMD (client ID metadata document) grant fills this slot with a URL identity that has no
|
|
6497
|
+
* `applications` row: the identifier URL lands in `id` and `name` comes from the consent-time
|
|
6498
|
+
* snapshot, so neither field can keep the applications table varchar bounds. Consumers tell
|
|
6499
|
+
* the kinds apart by the id shape.
|
|
6500
|
+
*/
|
|
6501
|
+
application: z.ZodObject<{
|
|
6502
|
+
id: z.ZodString;
|
|
6503
|
+
name: z.ZodString;
|
|
6504
|
+
}, "strip", z.ZodTypeAny, {
|
|
6519
6505
|
name: string;
|
|
6520
6506
|
id: string;
|
|
6521
6507
|
}, {
|