@logto/schemas 1.41.0 → 1.43.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.42.0-1783916980-add-domain-verification-files.ts +20 -0
- package/alterations/1.42.0-1784619793-add-service-logs-created-at-index.ts +33 -0
- package/alterations/1.42.0-1784620000-add-saml-sso-connector-signing-keys-table.ts +38 -0
- 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/utils/1704934999-tables.ts +22 -1
- package/alterations-js/1.42.0-1783916980-add-domain-verification-files.js +16 -0
- package/alterations-js/1.42.0-1784619793-add-service-logs-created-at-index.js +29 -0
- package/alterations-js/1.42.0-1784620000-add-saml-sso-connector-signing-keys-table.js +33 -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/utils/1704934999-tables.js +19 -1
- package/lib/consts/experience.d.ts +1 -0
- package/lib/consts/experience.js +1 -0
- package/lib/consts/index.d.ts +1 -0
- package/lib/consts/index.js +1 -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/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/domain.d.ts +4 -2
- package/lib/db-entries/domain.js +5 -1
- package/lib/db-entries/index.d.ts +8 -0
- package/lib/db-entries/index.js +8 -0
- package/lib/db-entries/oidc-session-extension.d.ts +3 -1
- package/lib/db-entries/oidc-session-extension.js +4 -0
- package/lib/db-entries/organization.d.ts +5 -1
- package/lib/db-entries/organization.js +4 -0
- package/lib/db-entries/saml-sso-connector-signing-key.d.ts +32 -0
- package/lib/db-entries/saml-sso-connector-signing-key.js +49 -0
- 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/trusted-device.d.ts +36 -0
- package/lib/db-entries/trusted-device.js +62 -0
- package/lib/db-entries/user.d.ts +3 -1
- package/lib/db-entries/user.js +4 -0
- 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/custom-domain.d.ts +57 -0
- package/lib/foundations/jsonb-types/custom-domain.js +51 -0
- package/lib/foundations/jsonb-types/custom-domain.test.d.ts +1 -0
- package/lib/foundations/jsonb-types/custom-domain.test.js +38 -0
- package/lib/foundations/jsonb-types/hooks.d.ts +9 -5
- package/lib/foundations/jsonb-types/hooks.js +8 -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/one-time-tokens.d.ts +5 -0
- package/lib/foundations/jsonb-types/one-time-tokens.js +2 -0
- package/lib/foundations/jsonb-types/sign-in-experience.d.ts +39 -4
- package/lib/foundations/jsonb-types/sign-in-experience.js +10 -0
- package/lib/foundations/jsonb-types/sign-in-experience.test.js +17 -1
- package/lib/types/application.d.ts +131 -1
- package/lib/types/application.js +8 -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/custom-profile-fields.d.ts +2 -1
- package/lib/types/domain.d.ts +9 -0
- package/lib/types/hook.d.ts +37 -5
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +1 -0
- package/lib/types/interaction-event.d.ts +11 -0
- package/lib/types/interaction-event.js +12 -0
- package/lib/types/interactions.d.ts +2 -11
- package/lib/types/interactions.js +2 -11
- package/lib/types/log/action.d.ts +7 -0
- package/lib/types/log/action.js +6 -0
- package/lib/types/log/index.d.ts +8 -2
- package/lib/types/log/index.js +2 -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 +963 -0
- package/lib/types/logto-config/action.js +77 -0
- package/lib/types/logto-config/index.d.ts +68 -26
- package/lib/types/logto-config/index.js +20 -7
- package/lib/types/logto-config/index.test.js +32 -9
- package/lib/types/logto-config/jwt-customizer.d.ts +60 -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/organization.d.ts +136 -1
- package/lib/types/organization.js +3 -2
- 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 +18 -10
- package/lib/types/sign-in-experience.js +2 -1
- package/lib/types/sso-connector.d.ts +58 -0
- package/lib/types/sso-connector.js +12 -0
- package/lib/types/system.d.ts +2 -2
- package/lib/types/trusted-device.d.ts +67 -0
- package/lib/types/trusted-device.js +16 -0
- package/lib/types/user-sessions.d.ts +117 -238
- 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/one-time-token-verification.d.ts +5 -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/package.json +7 -7
- 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/domains.sql +1 -0
- package/tables/oidc_model_instances.sql +5 -0
- package/tables/oidc_session_extensions.sql +5 -0
- package/tables/organization_scopes.sql +4 -0
- package/tables/organizations.sql +2 -0
- package/tables/saml_sso_connector_signing_keys.sql +21 -0
- package/tables/scopes.sql +4 -0
- package/tables/service_logs.sql +19 -0
- package/tables/sign_in_experiences.sql +1 -0
- package/tables/trusted_devices.sql +25 -0
- package/tables/users.sql +1 -0
- package/lib/types/logto-config/inline-hook.d.ts +0 -76
- package/lib/types/logto-config/inline-hook.js +0 -25
|
@@ -104,7 +104,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
104
104
|
}, z.ZodUnknown, "strip">>>>;
|
|
105
105
|
}, z.ZodUnknown, "strip">>;
|
|
106
106
|
lastSubmission: z.ZodNullable<z.ZodObject<{
|
|
107
|
-
interactionEvent: z.ZodNativeEnum<typeof import("./
|
|
107
|
+
interactionEvent: z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>;
|
|
108
108
|
userId: z.ZodString;
|
|
109
109
|
verificationRecords: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
110
110
|
id: z.ZodString;
|
|
@@ -580,10 +580,13 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
580
580
|
}>;
|
|
581
581
|
oneTimeTokenContext: z.ZodOptional<z.ZodObject<{
|
|
582
582
|
jitOrganizationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
583
|
+
interactionEvent: z.ZodOptional<z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>>;
|
|
583
584
|
}, "strip", z.ZodTypeAny, {
|
|
584
585
|
jitOrganizationIds?: string[] | undefined;
|
|
586
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
585
587
|
}, {
|
|
586
588
|
jitOrganizationIds?: string[] | undefined;
|
|
589
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
587
590
|
}>>;
|
|
588
591
|
}, "strip", z.ZodTypeAny, {
|
|
589
592
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -595,6 +598,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
595
598
|
verified: boolean;
|
|
596
599
|
oneTimeTokenContext?: {
|
|
597
600
|
jitOrganizationIds?: string[] | undefined;
|
|
601
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
598
602
|
} | undefined;
|
|
599
603
|
}, {
|
|
600
604
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -606,6 +610,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
606
610
|
verified: boolean;
|
|
607
611
|
oneTimeTokenContext?: {
|
|
608
612
|
jitOrganizationIds?: string[] | undefined;
|
|
613
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
609
614
|
} | undefined;
|
|
610
615
|
}>, z.ZodObject<Omit<{
|
|
611
616
|
id: z.ZodString;
|
|
@@ -621,7 +626,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
621
626
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
622
627
|
}>;
|
|
623
628
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
624
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
629
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
625
630
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
626
631
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
627
632
|
id: string;
|
|
@@ -640,7 +645,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
640
645
|
signInContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
641
646
|
}, "strip", z.ZodTypeAny, {
|
|
642
647
|
userId: string;
|
|
643
|
-
interactionEvent: import("./
|
|
648
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
644
649
|
verificationRecords: ({
|
|
645
650
|
type: import("./index.js").VerificationType.BackupCode;
|
|
646
651
|
id: string;
|
|
@@ -699,6 +704,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
699
704
|
verified: boolean;
|
|
700
705
|
oneTimeTokenContext?: {
|
|
701
706
|
jitOrganizationIds?: string[] | undefined;
|
|
707
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
702
708
|
} | undefined;
|
|
703
709
|
} | {
|
|
704
710
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -754,7 +760,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
754
760
|
signInContext?: Record<string, string> | undefined;
|
|
755
761
|
}, {
|
|
756
762
|
userId: string;
|
|
757
|
-
interactionEvent: import("./
|
|
763
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
758
764
|
verificationRecords: ({
|
|
759
765
|
type: import("./index.js").VerificationType.BackupCode;
|
|
760
766
|
id: string;
|
|
@@ -813,6 +819,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
813
819
|
verified: boolean;
|
|
814
820
|
oneTimeTokenContext?: {
|
|
815
821
|
jitOrganizationIds?: string[] | undefined;
|
|
822
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
816
823
|
} | undefined;
|
|
817
824
|
} | {
|
|
818
825
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -873,6 +880,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
873
880
|
}, "strip", z.ZodTypeAny, {
|
|
874
881
|
accountId: string | null;
|
|
875
882
|
expiresAt: number;
|
|
883
|
+
clientId: string | null;
|
|
876
884
|
payload: {
|
|
877
885
|
uid: string;
|
|
878
886
|
exp: number;
|
|
@@ -891,7 +899,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
891
899
|
};
|
|
892
900
|
lastSubmission: {
|
|
893
901
|
userId: string;
|
|
894
|
-
interactionEvent: import("./
|
|
902
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
895
903
|
verificationRecords: ({
|
|
896
904
|
type: import("./index.js").VerificationType.BackupCode;
|
|
897
905
|
id: string;
|
|
@@ -950,6 +958,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
950
958
|
verified: boolean;
|
|
951
959
|
oneTimeTokenContext?: {
|
|
952
960
|
jitOrganizationIds?: string[] | undefined;
|
|
961
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
953
962
|
} | undefined;
|
|
954
963
|
} | {
|
|
955
964
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -1004,10 +1013,10 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1004
1013
|
})[];
|
|
1005
1014
|
signInContext?: Record<string, string> | undefined;
|
|
1006
1015
|
} | null;
|
|
1007
|
-
clientId: string | null;
|
|
1008
1016
|
}, {
|
|
1009
1017
|
accountId: string | null;
|
|
1010
1018
|
expiresAt: number;
|
|
1019
|
+
clientId: string | null;
|
|
1011
1020
|
payload: {
|
|
1012
1021
|
uid: string;
|
|
1013
1022
|
exp: number;
|
|
@@ -1026,7 +1035,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1026
1035
|
};
|
|
1027
1036
|
lastSubmission: {
|
|
1028
1037
|
userId: string;
|
|
1029
|
-
interactionEvent: import("./
|
|
1038
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
1030
1039
|
verificationRecords: ({
|
|
1031
1040
|
type: import("./index.js").VerificationType.BackupCode;
|
|
1032
1041
|
id: string;
|
|
@@ -1085,6 +1094,7 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1085
1094
|
verified: boolean;
|
|
1086
1095
|
oneTimeTokenContext?: {
|
|
1087
1096
|
jitOrganizationIds?: string[] | undefined;
|
|
1097
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
1088
1098
|
} | undefined;
|
|
1089
1099
|
} | {
|
|
1090
1100
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -1139,7 +1149,6 @@ export declare const userExtendedSessionGuard: z.ZodObject<{
|
|
|
1139
1149
|
})[];
|
|
1140
1150
|
signInContext?: Record<string, string> | undefined;
|
|
1141
1151
|
} | null;
|
|
1142
|
-
clientId: string | null;
|
|
1143
1152
|
}>;
|
|
1144
1153
|
export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
1145
1154
|
sessions: z.ZodArray<z.ZodObject<{
|
|
@@ -1208,7 +1217,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1208
1217
|
}, z.ZodUnknown, "strip">>>>;
|
|
1209
1218
|
}, z.ZodUnknown, "strip">>;
|
|
1210
1219
|
lastSubmission: z.ZodNullable<z.ZodObject<{
|
|
1211
|
-
interactionEvent: z.ZodNativeEnum<typeof import("./
|
|
1220
|
+
interactionEvent: z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>;
|
|
1212
1221
|
userId: z.ZodString;
|
|
1213
1222
|
verificationRecords: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1214
1223
|
id: z.ZodString;
|
|
@@ -1684,10 +1693,13 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1684
1693
|
}>;
|
|
1685
1694
|
oneTimeTokenContext: z.ZodOptional<z.ZodObject<{
|
|
1686
1695
|
jitOrganizationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1696
|
+
interactionEvent: z.ZodOptional<z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>>;
|
|
1687
1697
|
}, "strip", z.ZodTypeAny, {
|
|
1688
1698
|
jitOrganizationIds?: string[] | undefined;
|
|
1699
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
1689
1700
|
}, {
|
|
1690
1701
|
jitOrganizationIds?: string[] | undefined;
|
|
1702
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
1691
1703
|
}>>;
|
|
1692
1704
|
}, "strip", z.ZodTypeAny, {
|
|
1693
1705
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -1699,6 +1711,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1699
1711
|
verified: boolean;
|
|
1700
1712
|
oneTimeTokenContext?: {
|
|
1701
1713
|
jitOrganizationIds?: string[] | undefined;
|
|
1714
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
1702
1715
|
} | undefined;
|
|
1703
1716
|
}, {
|
|
1704
1717
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -1710,6 +1723,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1710
1723
|
verified: boolean;
|
|
1711
1724
|
oneTimeTokenContext?: {
|
|
1712
1725
|
jitOrganizationIds?: string[] | undefined;
|
|
1726
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
1713
1727
|
} | undefined;
|
|
1714
1728
|
}>, z.ZodObject<Omit<{
|
|
1715
1729
|
id: z.ZodString;
|
|
@@ -1725,7 +1739,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1725
1739
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
1726
1740
|
}>;
|
|
1727
1741
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
1728
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
1742
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
1729
1743
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
1730
1744
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
1731
1745
|
id: string;
|
|
@@ -1744,7 +1758,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1744
1758
|
signInContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1745
1759
|
}, "strip", z.ZodTypeAny, {
|
|
1746
1760
|
userId: string;
|
|
1747
|
-
interactionEvent: import("./
|
|
1761
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
1748
1762
|
verificationRecords: ({
|
|
1749
1763
|
type: import("./index.js").VerificationType.BackupCode;
|
|
1750
1764
|
id: string;
|
|
@@ -1803,6 +1817,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1803
1817
|
verified: boolean;
|
|
1804
1818
|
oneTimeTokenContext?: {
|
|
1805
1819
|
jitOrganizationIds?: string[] | undefined;
|
|
1820
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
1806
1821
|
} | undefined;
|
|
1807
1822
|
} | {
|
|
1808
1823
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -1858,7 +1873,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1858
1873
|
signInContext?: Record<string, string> | undefined;
|
|
1859
1874
|
}, {
|
|
1860
1875
|
userId: string;
|
|
1861
|
-
interactionEvent: import("./
|
|
1876
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
1862
1877
|
verificationRecords: ({
|
|
1863
1878
|
type: import("./index.js").VerificationType.BackupCode;
|
|
1864
1879
|
id: string;
|
|
@@ -1917,6 +1932,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1917
1932
|
verified: boolean;
|
|
1918
1933
|
oneTimeTokenContext?: {
|
|
1919
1934
|
jitOrganizationIds?: string[] | undefined;
|
|
1935
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
1920
1936
|
} | undefined;
|
|
1921
1937
|
} | {
|
|
1922
1938
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -1977,6 +1993,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1977
1993
|
}, "strip", z.ZodTypeAny, {
|
|
1978
1994
|
accountId: string | null;
|
|
1979
1995
|
expiresAt: number;
|
|
1996
|
+
clientId: string | null;
|
|
1980
1997
|
payload: {
|
|
1981
1998
|
uid: string;
|
|
1982
1999
|
exp: number;
|
|
@@ -1995,7 +2012,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
1995
2012
|
};
|
|
1996
2013
|
lastSubmission: {
|
|
1997
2014
|
userId: string;
|
|
1998
|
-
interactionEvent: import("./
|
|
2015
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
1999
2016
|
verificationRecords: ({
|
|
2000
2017
|
type: import("./index.js").VerificationType.BackupCode;
|
|
2001
2018
|
id: string;
|
|
@@ -2054,6 +2071,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2054
2071
|
verified: boolean;
|
|
2055
2072
|
oneTimeTokenContext?: {
|
|
2056
2073
|
jitOrganizationIds?: string[] | undefined;
|
|
2074
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
2057
2075
|
} | undefined;
|
|
2058
2076
|
} | {
|
|
2059
2077
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -2108,10 +2126,10 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2108
2126
|
})[];
|
|
2109
2127
|
signInContext?: Record<string, string> | undefined;
|
|
2110
2128
|
} | null;
|
|
2111
|
-
clientId: string | null;
|
|
2112
2129
|
}, {
|
|
2113
2130
|
accountId: string | null;
|
|
2114
2131
|
expiresAt: number;
|
|
2132
|
+
clientId: string | null;
|
|
2115
2133
|
payload: {
|
|
2116
2134
|
uid: string;
|
|
2117
2135
|
exp: number;
|
|
@@ -2130,7 +2148,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2130
2148
|
};
|
|
2131
2149
|
lastSubmission: {
|
|
2132
2150
|
userId: string;
|
|
2133
|
-
interactionEvent: import("./
|
|
2151
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
2134
2152
|
verificationRecords: ({
|
|
2135
2153
|
type: import("./index.js").VerificationType.BackupCode;
|
|
2136
2154
|
id: string;
|
|
@@ -2189,6 +2207,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2189
2207
|
verified: boolean;
|
|
2190
2208
|
oneTimeTokenContext?: {
|
|
2191
2209
|
jitOrganizationIds?: string[] | undefined;
|
|
2210
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
2192
2211
|
} | undefined;
|
|
2193
2212
|
} | {
|
|
2194
2213
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -2243,12 +2262,12 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2243
2262
|
})[];
|
|
2244
2263
|
signInContext?: Record<string, string> | undefined;
|
|
2245
2264
|
} | null;
|
|
2246
|
-
clientId: string | null;
|
|
2247
2265
|
}>, "many">;
|
|
2248
2266
|
}, "strip", z.ZodTypeAny, {
|
|
2249
2267
|
sessions: {
|
|
2250
2268
|
accountId: string | null;
|
|
2251
2269
|
expiresAt: number;
|
|
2270
|
+
clientId: string | null;
|
|
2252
2271
|
payload: {
|
|
2253
2272
|
uid: string;
|
|
2254
2273
|
exp: number;
|
|
@@ -2267,7 +2286,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2267
2286
|
};
|
|
2268
2287
|
lastSubmission: {
|
|
2269
2288
|
userId: string;
|
|
2270
|
-
interactionEvent: import("./
|
|
2289
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
2271
2290
|
verificationRecords: ({
|
|
2272
2291
|
type: import("./index.js").VerificationType.BackupCode;
|
|
2273
2292
|
id: string;
|
|
@@ -2326,6 +2345,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2326
2345
|
verified: boolean;
|
|
2327
2346
|
oneTimeTokenContext?: {
|
|
2328
2347
|
jitOrganizationIds?: string[] | undefined;
|
|
2348
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
2329
2349
|
} | undefined;
|
|
2330
2350
|
} | {
|
|
2331
2351
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -2380,12 +2400,12 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2380
2400
|
})[];
|
|
2381
2401
|
signInContext?: Record<string, string> | undefined;
|
|
2382
2402
|
} | null;
|
|
2383
|
-
clientId: string | null;
|
|
2384
2403
|
}[];
|
|
2385
2404
|
}, {
|
|
2386
2405
|
sessions: {
|
|
2387
2406
|
accountId: string | null;
|
|
2388
2407
|
expiresAt: number;
|
|
2408
|
+
clientId: string | null;
|
|
2389
2409
|
payload: {
|
|
2390
2410
|
uid: string;
|
|
2391
2411
|
exp: number;
|
|
@@ -2404,7 +2424,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2404
2424
|
};
|
|
2405
2425
|
lastSubmission: {
|
|
2406
2426
|
userId: string;
|
|
2407
|
-
interactionEvent: import("./
|
|
2427
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
2408
2428
|
verificationRecords: ({
|
|
2409
2429
|
type: import("./index.js").VerificationType.BackupCode;
|
|
2410
2430
|
id: string;
|
|
@@ -2463,6 +2483,7 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2463
2483
|
verified: boolean;
|
|
2464
2484
|
oneTimeTokenContext?: {
|
|
2465
2485
|
jitOrganizationIds?: string[] | undefined;
|
|
2486
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
2466
2487
|
} | undefined;
|
|
2467
2488
|
} | {
|
|
2468
2489
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -2517,7 +2538,6 @@ export declare const getUserSessionsResponseGuard: z.ZodObject<{
|
|
|
2517
2538
|
})[];
|
|
2518
2539
|
signInContext?: Record<string, string> | undefined;
|
|
2519
2540
|
} | null;
|
|
2520
|
-
clientId: string | null;
|
|
2521
2541
|
}[];
|
|
2522
2542
|
}>;
|
|
2523
2543
|
/** Response type for `GET /users/:userId/sessions`. */
|
|
@@ -2588,7 +2608,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
2588
2608
|
}, z.ZodUnknown, "strip">>>>;
|
|
2589
2609
|
}, z.ZodUnknown, "strip">>;
|
|
2590
2610
|
lastSubmission: z.ZodNullable<z.ZodObject<{
|
|
2591
|
-
interactionEvent: z.ZodNativeEnum<typeof import("./
|
|
2611
|
+
interactionEvent: z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>;
|
|
2592
2612
|
userId: z.ZodString;
|
|
2593
2613
|
verificationRecords: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2594
2614
|
id: z.ZodString;
|
|
@@ -3064,10 +3084,13 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3064
3084
|
}>;
|
|
3065
3085
|
oneTimeTokenContext: z.ZodOptional<z.ZodObject<{
|
|
3066
3086
|
jitOrganizationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3087
|
+
interactionEvent: z.ZodOptional<z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>>;
|
|
3067
3088
|
}, "strip", z.ZodTypeAny, {
|
|
3068
3089
|
jitOrganizationIds?: string[] | undefined;
|
|
3090
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
3069
3091
|
}, {
|
|
3070
3092
|
jitOrganizationIds?: string[] | undefined;
|
|
3093
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
3071
3094
|
}>>;
|
|
3072
3095
|
}, "strip", z.ZodTypeAny, {
|
|
3073
3096
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -3079,6 +3102,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3079
3102
|
verified: boolean;
|
|
3080
3103
|
oneTimeTokenContext?: {
|
|
3081
3104
|
jitOrganizationIds?: string[] | undefined;
|
|
3105
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
3082
3106
|
} | undefined;
|
|
3083
3107
|
}, {
|
|
3084
3108
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -3090,6 +3114,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3090
3114
|
verified: boolean;
|
|
3091
3115
|
oneTimeTokenContext?: {
|
|
3092
3116
|
jitOrganizationIds?: string[] | undefined;
|
|
3117
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
3093
3118
|
} | undefined;
|
|
3094
3119
|
}>, z.ZodObject<Omit<{
|
|
3095
3120
|
id: z.ZodString;
|
|
@@ -3105,7 +3130,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3105
3130
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
3106
3131
|
}>;
|
|
3107
3132
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
3108
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
3133
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
3109
3134
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
3110
3135
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
3111
3136
|
id: string;
|
|
@@ -3124,7 +3149,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3124
3149
|
signInContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3125
3150
|
}, "strip", z.ZodTypeAny, {
|
|
3126
3151
|
userId: string;
|
|
3127
|
-
interactionEvent: import("./
|
|
3152
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
3128
3153
|
verificationRecords: ({
|
|
3129
3154
|
type: import("./index.js").VerificationType.BackupCode;
|
|
3130
3155
|
id: string;
|
|
@@ -3183,6 +3208,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3183
3208
|
verified: boolean;
|
|
3184
3209
|
oneTimeTokenContext?: {
|
|
3185
3210
|
jitOrganizationIds?: string[] | undefined;
|
|
3211
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
3186
3212
|
} | undefined;
|
|
3187
3213
|
} | {
|
|
3188
3214
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -3238,7 +3264,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3238
3264
|
signInContext?: Record<string, string> | undefined;
|
|
3239
3265
|
}, {
|
|
3240
3266
|
userId: string;
|
|
3241
|
-
interactionEvent: import("./
|
|
3267
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
3242
3268
|
verificationRecords: ({
|
|
3243
3269
|
type: import("./index.js").VerificationType.BackupCode;
|
|
3244
3270
|
id: string;
|
|
@@ -3297,6 +3323,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3297
3323
|
verified: boolean;
|
|
3298
3324
|
oneTimeTokenContext?: {
|
|
3299
3325
|
jitOrganizationIds?: string[] | undefined;
|
|
3326
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
3300
3327
|
} | undefined;
|
|
3301
3328
|
} | {
|
|
3302
3329
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -3357,6 +3384,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3357
3384
|
}, "strip", z.ZodTypeAny, {
|
|
3358
3385
|
accountId: string | null;
|
|
3359
3386
|
expiresAt: number;
|
|
3387
|
+
clientId: string | null;
|
|
3360
3388
|
payload: {
|
|
3361
3389
|
uid: string;
|
|
3362
3390
|
exp: number;
|
|
@@ -3375,7 +3403,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3375
3403
|
};
|
|
3376
3404
|
lastSubmission: {
|
|
3377
3405
|
userId: string;
|
|
3378
|
-
interactionEvent: import("./
|
|
3406
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
3379
3407
|
verificationRecords: ({
|
|
3380
3408
|
type: import("./index.js").VerificationType.BackupCode;
|
|
3381
3409
|
id: string;
|
|
@@ -3434,6 +3462,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3434
3462
|
verified: boolean;
|
|
3435
3463
|
oneTimeTokenContext?: {
|
|
3436
3464
|
jitOrganizationIds?: string[] | undefined;
|
|
3465
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
3437
3466
|
} | undefined;
|
|
3438
3467
|
} | {
|
|
3439
3468
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -3488,10 +3517,10 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3488
3517
|
})[];
|
|
3489
3518
|
signInContext?: Record<string, string> | undefined;
|
|
3490
3519
|
} | null;
|
|
3491
|
-
clientId: string | null;
|
|
3492
3520
|
}, {
|
|
3493
3521
|
accountId: string | null;
|
|
3494
3522
|
expiresAt: number;
|
|
3523
|
+
clientId: string | null;
|
|
3495
3524
|
payload: {
|
|
3496
3525
|
uid: string;
|
|
3497
3526
|
exp: number;
|
|
@@ -3510,7 +3539,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3510
3539
|
};
|
|
3511
3540
|
lastSubmission: {
|
|
3512
3541
|
userId: string;
|
|
3513
|
-
interactionEvent: import("./
|
|
3542
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
3514
3543
|
verificationRecords: ({
|
|
3515
3544
|
type: import("./index.js").VerificationType.BackupCode;
|
|
3516
3545
|
id: string;
|
|
@@ -3569,6 +3598,7 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3569
3598
|
verified: boolean;
|
|
3570
3599
|
oneTimeTokenContext?: {
|
|
3571
3600
|
jitOrganizationIds?: string[] | undefined;
|
|
3601
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
3572
3602
|
} | undefined;
|
|
3573
3603
|
} | {
|
|
3574
3604
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -3623,7 +3653,6 @@ export declare const getUserSessionResponseGuard: z.ZodObject<{
|
|
|
3623
3653
|
})[];
|
|
3624
3654
|
signInContext?: Record<string, string> | undefined;
|
|
3625
3655
|
} | null;
|
|
3626
|
-
clientId: string | null;
|
|
3627
3656
|
}>;
|
|
3628
3657
|
/** Response type for `GET /users/:userId/sessions/:sessionId`. */
|
|
3629
3658
|
export type GetUserSessionResponse = z.infer<typeof getUserSessionResponseGuard>;
|
|
@@ -3701,7 +3730,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
3701
3730
|
}, z.ZodUnknown, "strip">>>>;
|
|
3702
3731
|
}, z.ZodUnknown, "strip">>;
|
|
3703
3732
|
lastSubmission: z.ZodNullable<z.ZodObject<{
|
|
3704
|
-
interactionEvent: z.ZodNativeEnum<typeof import("./
|
|
3733
|
+
interactionEvent: z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>;
|
|
3705
3734
|
userId: z.ZodString;
|
|
3706
3735
|
verificationRecords: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3707
3736
|
id: z.ZodString;
|
|
@@ -4177,10 +4206,13 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4177
4206
|
}>;
|
|
4178
4207
|
oneTimeTokenContext: z.ZodOptional<z.ZodObject<{
|
|
4179
4208
|
jitOrganizationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4209
|
+
interactionEvent: z.ZodOptional<z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>>;
|
|
4180
4210
|
}, "strip", z.ZodTypeAny, {
|
|
4181
4211
|
jitOrganizationIds?: string[] | undefined;
|
|
4212
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
4182
4213
|
}, {
|
|
4183
4214
|
jitOrganizationIds?: string[] | undefined;
|
|
4215
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
4184
4216
|
}>>;
|
|
4185
4217
|
}, "strip", z.ZodTypeAny, {
|
|
4186
4218
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -4192,6 +4224,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4192
4224
|
verified: boolean;
|
|
4193
4225
|
oneTimeTokenContext?: {
|
|
4194
4226
|
jitOrganizationIds?: string[] | undefined;
|
|
4227
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
4195
4228
|
} | undefined;
|
|
4196
4229
|
}, {
|
|
4197
4230
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -4203,6 +4236,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4203
4236
|
verified: boolean;
|
|
4204
4237
|
oneTimeTokenContext?: {
|
|
4205
4238
|
jitOrganizationIds?: string[] | undefined;
|
|
4239
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
4206
4240
|
} | undefined;
|
|
4207
4241
|
}>, z.ZodObject<Omit<{
|
|
4208
4242
|
id: z.ZodString;
|
|
@@ -4218,7 +4252,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4218
4252
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
4219
4253
|
}>;
|
|
4220
4254
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
4221
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
4255
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
4222
4256
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
4223
4257
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
4224
4258
|
id: string;
|
|
@@ -4237,7 +4271,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4237
4271
|
signInContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4238
4272
|
}, "strip", z.ZodTypeAny, {
|
|
4239
4273
|
userId: string;
|
|
4240
|
-
interactionEvent: import("./
|
|
4274
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
4241
4275
|
verificationRecords: ({
|
|
4242
4276
|
type: import("./index.js").VerificationType.BackupCode;
|
|
4243
4277
|
id: string;
|
|
@@ -4296,6 +4330,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4296
4330
|
verified: boolean;
|
|
4297
4331
|
oneTimeTokenContext?: {
|
|
4298
4332
|
jitOrganizationIds?: string[] | undefined;
|
|
4333
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
4299
4334
|
} | undefined;
|
|
4300
4335
|
} | {
|
|
4301
4336
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -4351,7 +4386,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4351
4386
|
signInContext?: Record<string, string> | undefined;
|
|
4352
4387
|
}, {
|
|
4353
4388
|
userId: string;
|
|
4354
|
-
interactionEvent: import("./
|
|
4389
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
4355
4390
|
verificationRecords: ({
|
|
4356
4391
|
type: import("./index.js").VerificationType.BackupCode;
|
|
4357
4392
|
id: string;
|
|
@@ -4410,6 +4445,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4410
4445
|
verified: boolean;
|
|
4411
4446
|
oneTimeTokenContext?: {
|
|
4412
4447
|
jitOrganizationIds?: string[] | undefined;
|
|
4448
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
4413
4449
|
} | undefined;
|
|
4414
4450
|
} | {
|
|
4415
4451
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -4479,6 +4515,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4479
4515
|
}, "strip", z.ZodTypeAny, {
|
|
4480
4516
|
accountId: string | null;
|
|
4481
4517
|
expiresAt: number;
|
|
4518
|
+
clientId: string | null;
|
|
4482
4519
|
payload: {
|
|
4483
4520
|
uid: string;
|
|
4484
4521
|
exp: number;
|
|
@@ -4497,7 +4534,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4497
4534
|
};
|
|
4498
4535
|
lastSubmission: {
|
|
4499
4536
|
userId: string;
|
|
4500
|
-
interactionEvent: import("./
|
|
4537
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
4501
4538
|
verificationRecords: ({
|
|
4502
4539
|
type: import("./index.js").VerificationType.BackupCode;
|
|
4503
4540
|
id: string;
|
|
@@ -4556,6 +4593,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4556
4593
|
verified: boolean;
|
|
4557
4594
|
oneTimeTokenContext?: {
|
|
4558
4595
|
jitOrganizationIds?: string[] | undefined;
|
|
4596
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
4559
4597
|
} | undefined;
|
|
4560
4598
|
} | {
|
|
4561
4599
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -4610,11 +4648,11 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4610
4648
|
})[];
|
|
4611
4649
|
signInContext?: Record<string, string> | undefined;
|
|
4612
4650
|
} | null;
|
|
4613
|
-
clientId: string | null;
|
|
4614
4651
|
isCurrent: boolean;
|
|
4615
4652
|
}, {
|
|
4616
4653
|
accountId: string | null;
|
|
4617
4654
|
expiresAt: number;
|
|
4655
|
+
clientId: string | null;
|
|
4618
4656
|
payload: {
|
|
4619
4657
|
uid: string;
|
|
4620
4658
|
exp: number;
|
|
@@ -4633,7 +4671,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4633
4671
|
};
|
|
4634
4672
|
lastSubmission: {
|
|
4635
4673
|
userId: string;
|
|
4636
|
-
interactionEvent: import("./
|
|
4674
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
4637
4675
|
verificationRecords: ({
|
|
4638
4676
|
type: import("./index.js").VerificationType.BackupCode;
|
|
4639
4677
|
id: string;
|
|
@@ -4692,6 +4730,7 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4692
4730
|
verified: boolean;
|
|
4693
4731
|
oneTimeTokenContext?: {
|
|
4694
4732
|
jitOrganizationIds?: string[] | undefined;
|
|
4733
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
4695
4734
|
} | undefined;
|
|
4696
4735
|
} | {
|
|
4697
4736
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -4746,7 +4785,6 @@ export declare const accountUserExtendedSessionGuard: z.ZodObject<{
|
|
|
4746
4785
|
})[];
|
|
4747
4786
|
signInContext?: Record<string, string> | undefined;
|
|
4748
4787
|
} | null;
|
|
4749
|
-
clientId: string | null;
|
|
4750
4788
|
isCurrent: boolean;
|
|
4751
4789
|
}>;
|
|
4752
4790
|
export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
@@ -4816,7 +4854,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
4816
4854
|
}, z.ZodUnknown, "strip">>>>;
|
|
4817
4855
|
}, z.ZodUnknown, "strip">>;
|
|
4818
4856
|
lastSubmission: z.ZodNullable<z.ZodObject<{
|
|
4819
|
-
interactionEvent: z.ZodNativeEnum<typeof import("./
|
|
4857
|
+
interactionEvent: z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>;
|
|
4820
4858
|
userId: z.ZodString;
|
|
4821
4859
|
verificationRecords: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4822
4860
|
id: z.ZodString;
|
|
@@ -5292,10 +5330,13 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5292
5330
|
}>;
|
|
5293
5331
|
oneTimeTokenContext: z.ZodOptional<z.ZodObject<{
|
|
5294
5332
|
jitOrganizationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5333
|
+
interactionEvent: z.ZodOptional<z.ZodNativeEnum<typeof import("./interaction-event.js").InteractionEvent>>;
|
|
5295
5334
|
}, "strip", z.ZodTypeAny, {
|
|
5296
5335
|
jitOrganizationIds?: string[] | undefined;
|
|
5336
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
5297
5337
|
}, {
|
|
5298
5338
|
jitOrganizationIds?: string[] | undefined;
|
|
5339
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
5299
5340
|
}>>;
|
|
5300
5341
|
}, "strip", z.ZodTypeAny, {
|
|
5301
5342
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -5307,6 +5348,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5307
5348
|
verified: boolean;
|
|
5308
5349
|
oneTimeTokenContext?: {
|
|
5309
5350
|
jitOrganizationIds?: string[] | undefined;
|
|
5351
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
5310
5352
|
} | undefined;
|
|
5311
5353
|
}, {
|
|
5312
5354
|
type: import("./index.js").VerificationType.OneTimeToken;
|
|
@@ -5318,6 +5360,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5318
5360
|
verified: boolean;
|
|
5319
5361
|
oneTimeTokenContext?: {
|
|
5320
5362
|
jitOrganizationIds?: string[] | undefined;
|
|
5363
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
5321
5364
|
} | undefined;
|
|
5322
5365
|
}>, z.ZodObject<Omit<{
|
|
5323
5366
|
id: z.ZodString;
|
|
@@ -5333,7 +5376,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5333
5376
|
type: import("../foundations/index.js").SignInIdentifier;
|
|
5334
5377
|
}>;
|
|
5335
5378
|
passwordEncrypted: z.ZodOptional<z.ZodString>;
|
|
5336
|
-
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../
|
|
5379
|
+
passwordEncryptionMethod: z.ZodOptional<z.ZodLiteral<import("../index.js").UsersPasswordEncryptionMethod.Argon2i>>;
|
|
5337
5380
|
}, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, {
|
|
5338
5381
|
type: import("./index.js").VerificationType.NewPasswordIdentity;
|
|
5339
5382
|
id: string;
|
|
@@ -5352,7 +5395,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5352
5395
|
signInContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5353
5396
|
}, "strip", z.ZodTypeAny, {
|
|
5354
5397
|
userId: string;
|
|
5355
|
-
interactionEvent: import("./
|
|
5398
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
5356
5399
|
verificationRecords: ({
|
|
5357
5400
|
type: import("./index.js").VerificationType.BackupCode;
|
|
5358
5401
|
id: string;
|
|
@@ -5411,6 +5454,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5411
5454
|
verified: boolean;
|
|
5412
5455
|
oneTimeTokenContext?: {
|
|
5413
5456
|
jitOrganizationIds?: string[] | undefined;
|
|
5457
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
5414
5458
|
} | undefined;
|
|
5415
5459
|
} | {
|
|
5416
5460
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -5466,7 +5510,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5466
5510
|
signInContext?: Record<string, string> | undefined;
|
|
5467
5511
|
}, {
|
|
5468
5512
|
userId: string;
|
|
5469
|
-
interactionEvent: import("./
|
|
5513
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
5470
5514
|
verificationRecords: ({
|
|
5471
5515
|
type: import("./index.js").VerificationType.BackupCode;
|
|
5472
5516
|
id: string;
|
|
@@ -5525,6 +5569,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5525
5569
|
verified: boolean;
|
|
5526
5570
|
oneTimeTokenContext?: {
|
|
5527
5571
|
jitOrganizationIds?: string[] | undefined;
|
|
5572
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
5528
5573
|
} | undefined;
|
|
5529
5574
|
} | {
|
|
5530
5575
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -5594,6 +5639,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5594
5639
|
}, "strip", z.ZodTypeAny, {
|
|
5595
5640
|
accountId: string | null;
|
|
5596
5641
|
expiresAt: number;
|
|
5642
|
+
clientId: string | null;
|
|
5597
5643
|
payload: {
|
|
5598
5644
|
uid: string;
|
|
5599
5645
|
exp: number;
|
|
@@ -5612,7 +5658,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5612
5658
|
};
|
|
5613
5659
|
lastSubmission: {
|
|
5614
5660
|
userId: string;
|
|
5615
|
-
interactionEvent: import("./
|
|
5661
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
5616
5662
|
verificationRecords: ({
|
|
5617
5663
|
type: import("./index.js").VerificationType.BackupCode;
|
|
5618
5664
|
id: string;
|
|
@@ -5671,6 +5717,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5671
5717
|
verified: boolean;
|
|
5672
5718
|
oneTimeTokenContext?: {
|
|
5673
5719
|
jitOrganizationIds?: string[] | undefined;
|
|
5720
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
5674
5721
|
} | undefined;
|
|
5675
5722
|
} | {
|
|
5676
5723
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -5725,11 +5772,11 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5725
5772
|
})[];
|
|
5726
5773
|
signInContext?: Record<string, string> | undefined;
|
|
5727
5774
|
} | null;
|
|
5728
|
-
clientId: string | null;
|
|
5729
5775
|
isCurrent: boolean;
|
|
5730
5776
|
}, {
|
|
5731
5777
|
accountId: string | null;
|
|
5732
5778
|
expiresAt: number;
|
|
5779
|
+
clientId: string | null;
|
|
5733
5780
|
payload: {
|
|
5734
5781
|
uid: string;
|
|
5735
5782
|
exp: number;
|
|
@@ -5748,7 +5795,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5748
5795
|
};
|
|
5749
5796
|
lastSubmission: {
|
|
5750
5797
|
userId: string;
|
|
5751
|
-
interactionEvent: import("./
|
|
5798
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
5752
5799
|
verificationRecords: ({
|
|
5753
5800
|
type: import("./index.js").VerificationType.BackupCode;
|
|
5754
5801
|
id: string;
|
|
@@ -5807,6 +5854,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5807
5854
|
verified: boolean;
|
|
5808
5855
|
oneTimeTokenContext?: {
|
|
5809
5856
|
jitOrganizationIds?: string[] | undefined;
|
|
5857
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
5810
5858
|
} | undefined;
|
|
5811
5859
|
} | {
|
|
5812
5860
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -5861,13 +5909,13 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5861
5909
|
})[];
|
|
5862
5910
|
signInContext?: Record<string, string> | undefined;
|
|
5863
5911
|
} | null;
|
|
5864
|
-
clientId: string | null;
|
|
5865
5912
|
isCurrent: boolean;
|
|
5866
5913
|
}>, "many">;
|
|
5867
5914
|
}, "strip", z.ZodTypeAny, {
|
|
5868
5915
|
sessions: {
|
|
5869
5916
|
accountId: string | null;
|
|
5870
5917
|
expiresAt: number;
|
|
5918
|
+
clientId: string | null;
|
|
5871
5919
|
payload: {
|
|
5872
5920
|
uid: string;
|
|
5873
5921
|
exp: number;
|
|
@@ -5886,7 +5934,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5886
5934
|
};
|
|
5887
5935
|
lastSubmission: {
|
|
5888
5936
|
userId: string;
|
|
5889
|
-
interactionEvent: import("./
|
|
5937
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
5890
5938
|
verificationRecords: ({
|
|
5891
5939
|
type: import("./index.js").VerificationType.BackupCode;
|
|
5892
5940
|
id: string;
|
|
@@ -5945,6 +5993,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5945
5993
|
verified: boolean;
|
|
5946
5994
|
oneTimeTokenContext?: {
|
|
5947
5995
|
jitOrganizationIds?: string[] | undefined;
|
|
5996
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
5948
5997
|
} | undefined;
|
|
5949
5998
|
} | {
|
|
5950
5999
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -5999,13 +6048,13 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
5999
6048
|
})[];
|
|
6000
6049
|
signInContext?: Record<string, string> | undefined;
|
|
6001
6050
|
} | null;
|
|
6002
|
-
clientId: string | null;
|
|
6003
6051
|
isCurrent: boolean;
|
|
6004
6052
|
}[];
|
|
6005
6053
|
}, {
|
|
6006
6054
|
sessions: {
|
|
6007
6055
|
accountId: string | null;
|
|
6008
6056
|
expiresAt: number;
|
|
6057
|
+
clientId: string | null;
|
|
6009
6058
|
payload: {
|
|
6010
6059
|
uid: string;
|
|
6011
6060
|
exp: number;
|
|
@@ -6024,7 +6073,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
6024
6073
|
};
|
|
6025
6074
|
lastSubmission: {
|
|
6026
6075
|
userId: string;
|
|
6027
|
-
interactionEvent: import("./
|
|
6076
|
+
interactionEvent: import("./interaction-event.js").InteractionEvent;
|
|
6028
6077
|
verificationRecords: ({
|
|
6029
6078
|
type: import("./index.js").VerificationType.BackupCode;
|
|
6030
6079
|
id: string;
|
|
@@ -6083,6 +6132,7 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
6083
6132
|
verified: boolean;
|
|
6084
6133
|
oneTimeTokenContext?: {
|
|
6085
6134
|
jitOrganizationIds?: string[] | undefined;
|
|
6135
|
+
interactionEvent?: import("./interaction-event.js").InteractionEvent | undefined;
|
|
6086
6136
|
} | undefined;
|
|
6087
6137
|
} | {
|
|
6088
6138
|
type: import("./index.js").VerificationType.Password;
|
|
@@ -6137,7 +6187,6 @@ export declare const getAccountUserSessionsResponseGuard: z.ZodObject<{
|
|
|
6137
6187
|
})[];
|
|
6138
6188
|
signInContext?: Record<string, string> | undefined;
|
|
6139
6189
|
} | null;
|
|
6140
|
-
clientId: string | null;
|
|
6141
6190
|
isCurrent: boolean;
|
|
6142
6191
|
}[];
|
|
6143
6192
|
}>;
|
|
@@ -6203,101 +6252,16 @@ export declare const userApplicationGrantGuard: z.ZodObject<{
|
|
|
6203
6252
|
accountId: z.ZodString;
|
|
6204
6253
|
}, z.ZodUnknown, "strip">>;
|
|
6205
6254
|
expiresAt: z.ZodNumber;
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
idTokenTtl?: number | undefined;
|
|
6217
|
-
refreshTokenTtl?: number | undefined;
|
|
6218
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
6219
|
-
tenantId?: string | undefined;
|
|
6220
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
6221
|
-
rotateRefreshToken?: boolean | undefined;
|
|
6222
|
-
allowTokenExchange?: boolean | undefined;
|
|
6223
|
-
isDeviceFlow?: boolean | undefined;
|
|
6224
|
-
maxAllowedGrants?: number | undefined;
|
|
6225
|
-
}, z.ZodTypeDef, {
|
|
6226
|
-
corsAllowedOrigins?: string[] | undefined;
|
|
6227
|
-
idTokenTtl?: number | undefined;
|
|
6228
|
-
refreshTokenTtl?: number | undefined;
|
|
6229
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
6230
|
-
tenantId?: string | undefined;
|
|
6231
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
6232
|
-
rotateRefreshToken?: boolean | undefined;
|
|
6233
|
-
allowTokenExchange?: boolean | undefined;
|
|
6234
|
-
isDeviceFlow?: boolean | undefined;
|
|
6235
|
-
maxAllowedGrants?: number | undefined;
|
|
6236
|
-
}>;
|
|
6237
|
-
protectedAppMetadata: z.ZodType<{
|
|
6238
|
-
host: string;
|
|
6239
|
-
origin: string;
|
|
6240
|
-
sessionDuration: number;
|
|
6241
|
-
pageRules: {
|
|
6242
|
-
path: string;
|
|
6243
|
-
}[];
|
|
6244
|
-
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;
|
|
6245
|
-
customDomains?: {
|
|
6246
|
-
status: import("../foundations/index.js").DomainStatus;
|
|
6247
|
-
domain: string;
|
|
6248
|
-
errorMessage: string | null;
|
|
6249
|
-
dnsRecords: {
|
|
6250
|
-
value: string;
|
|
6251
|
-
type: string;
|
|
6252
|
-
name: string;
|
|
6253
|
-
}[];
|
|
6254
|
-
cloudflareData: {
|
|
6255
|
-
status: string;
|
|
6256
|
-
id: string;
|
|
6257
|
-
ssl: {
|
|
6258
|
-
status: string;
|
|
6259
|
-
validation_errors?: {
|
|
6260
|
-
message: string;
|
|
6261
|
-
}[] | undefined;
|
|
6262
|
-
};
|
|
6263
|
-
verification_errors?: string[] | undefined;
|
|
6264
|
-
} | null;
|
|
6265
|
-
}[] | undefined;
|
|
6266
|
-
} | null, z.ZodTypeDef, {
|
|
6267
|
-
host: string;
|
|
6268
|
-
origin: string;
|
|
6269
|
-
sessionDuration: number;
|
|
6270
|
-
pageRules: {
|
|
6271
|
-
path: string;
|
|
6272
|
-
}[];
|
|
6273
|
-
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;
|
|
6274
|
-
customDomains?: {
|
|
6275
|
-
status: import("../foundations/index.js").DomainStatus;
|
|
6276
|
-
domain: string;
|
|
6277
|
-
errorMessage: string | null;
|
|
6278
|
-
dnsRecords: {
|
|
6279
|
-
value: string;
|
|
6280
|
-
type: string;
|
|
6281
|
-
name: string;
|
|
6282
|
-
}[];
|
|
6283
|
-
cloudflareData: {
|
|
6284
|
-
status: string;
|
|
6285
|
-
id: string;
|
|
6286
|
-
ssl: {
|
|
6287
|
-
status: string;
|
|
6288
|
-
validation_errors?: {
|
|
6289
|
-
message: string;
|
|
6290
|
-
}[] | undefined;
|
|
6291
|
-
};
|
|
6292
|
-
verification_errors?: string[] | undefined;
|
|
6293
|
-
} | null;
|
|
6294
|
-
}[] | undefined;
|
|
6295
|
-
} | null>;
|
|
6296
|
-
customData: z.ZodType<import("@withtyped/server/lib/types.js").JsonObject, z.ZodTypeDef, import("@withtyped/server/lib/types.js").JsonObject>;
|
|
6297
|
-
isThirdParty: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
6298
|
-
appLevelAccessControlEnabled: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
6299
|
-
createdAt: z.ZodType<number, z.ZodTypeDef, number>;
|
|
6300
|
-
}, "name" | "id">, "strip", z.ZodTypeAny, {
|
|
6255
|
+
/**
|
|
6256
|
+
* A CIMD (client ID metadata document) grant fills this slot with a URL identity that has no
|
|
6257
|
+
* `applications` row: the identifier URL lands in `id` and `name` comes from the consent-time
|
|
6258
|
+
* snapshot, so neither field can keep the applications table varchar bounds. Consumers tell
|
|
6259
|
+
* the kinds apart by the id shape.
|
|
6260
|
+
*/
|
|
6261
|
+
application: z.ZodObject<{
|
|
6262
|
+
id: z.ZodString;
|
|
6263
|
+
name: z.ZodString;
|
|
6264
|
+
}, "strip", z.ZodTypeAny, {
|
|
6301
6265
|
name: string;
|
|
6302
6266
|
id: string;
|
|
6303
6267
|
}, {
|
|
@@ -6372,101 +6336,16 @@ export declare const getUserApplicationGrantsResponseGuard: z.ZodObject<{
|
|
|
6372
6336
|
accountId: z.ZodString;
|
|
6373
6337
|
}, z.ZodUnknown, "strip">>;
|
|
6374
6338
|
expiresAt: z.ZodNumber;
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
idTokenTtl?: number | undefined;
|
|
6386
|
-
refreshTokenTtl?: number | undefined;
|
|
6387
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
6388
|
-
tenantId?: string | undefined;
|
|
6389
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
6390
|
-
rotateRefreshToken?: boolean | undefined;
|
|
6391
|
-
allowTokenExchange?: boolean | undefined;
|
|
6392
|
-
isDeviceFlow?: boolean | undefined;
|
|
6393
|
-
maxAllowedGrants?: number | undefined;
|
|
6394
|
-
}, z.ZodTypeDef, {
|
|
6395
|
-
corsAllowedOrigins?: string[] | undefined;
|
|
6396
|
-
idTokenTtl?: number | undefined;
|
|
6397
|
-
refreshTokenTtl?: number | undefined;
|
|
6398
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
6399
|
-
tenantId?: string | undefined;
|
|
6400
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
6401
|
-
rotateRefreshToken?: boolean | undefined;
|
|
6402
|
-
allowTokenExchange?: boolean | undefined;
|
|
6403
|
-
isDeviceFlow?: boolean | undefined;
|
|
6404
|
-
maxAllowedGrants?: number | undefined;
|
|
6405
|
-
}>;
|
|
6406
|
-
protectedAppMetadata: z.ZodType<{
|
|
6407
|
-
host: string;
|
|
6408
|
-
origin: string;
|
|
6409
|
-
sessionDuration: number;
|
|
6410
|
-
pageRules: {
|
|
6411
|
-
path: string;
|
|
6412
|
-
}[];
|
|
6413
|
-
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;
|
|
6414
|
-
customDomains?: {
|
|
6415
|
-
status: import("../foundations/index.js").DomainStatus;
|
|
6416
|
-
domain: string;
|
|
6417
|
-
errorMessage: string | null;
|
|
6418
|
-
dnsRecords: {
|
|
6419
|
-
value: string;
|
|
6420
|
-
type: string;
|
|
6421
|
-
name: string;
|
|
6422
|
-
}[];
|
|
6423
|
-
cloudflareData: {
|
|
6424
|
-
status: string;
|
|
6425
|
-
id: string;
|
|
6426
|
-
ssl: {
|
|
6427
|
-
status: string;
|
|
6428
|
-
validation_errors?: {
|
|
6429
|
-
message: string;
|
|
6430
|
-
}[] | undefined;
|
|
6431
|
-
};
|
|
6432
|
-
verification_errors?: string[] | undefined;
|
|
6433
|
-
} | null;
|
|
6434
|
-
}[] | undefined;
|
|
6435
|
-
} | null, z.ZodTypeDef, {
|
|
6436
|
-
host: string;
|
|
6437
|
-
origin: string;
|
|
6438
|
-
sessionDuration: number;
|
|
6439
|
-
pageRules: {
|
|
6440
|
-
path: string;
|
|
6441
|
-
}[];
|
|
6442
|
-
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;
|
|
6443
|
-
customDomains?: {
|
|
6444
|
-
status: import("../foundations/index.js").DomainStatus;
|
|
6445
|
-
domain: string;
|
|
6446
|
-
errorMessage: string | null;
|
|
6447
|
-
dnsRecords: {
|
|
6448
|
-
value: string;
|
|
6449
|
-
type: string;
|
|
6450
|
-
name: string;
|
|
6451
|
-
}[];
|
|
6452
|
-
cloudflareData: {
|
|
6453
|
-
status: string;
|
|
6454
|
-
id: string;
|
|
6455
|
-
ssl: {
|
|
6456
|
-
status: string;
|
|
6457
|
-
validation_errors?: {
|
|
6458
|
-
message: string;
|
|
6459
|
-
}[] | undefined;
|
|
6460
|
-
};
|
|
6461
|
-
verification_errors?: string[] | undefined;
|
|
6462
|
-
} | null;
|
|
6463
|
-
}[] | undefined;
|
|
6464
|
-
} | null>;
|
|
6465
|
-
customData: z.ZodType<import("@withtyped/server/lib/types.js").JsonObject, z.ZodTypeDef, import("@withtyped/server/lib/types.js").JsonObject>;
|
|
6466
|
-
isThirdParty: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
6467
|
-
appLevelAccessControlEnabled: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
6468
|
-
createdAt: z.ZodType<number, z.ZodTypeDef, number>;
|
|
6469
|
-
}, "name" | "id">, "strip", z.ZodTypeAny, {
|
|
6339
|
+
/**
|
|
6340
|
+
* A CIMD (client ID metadata document) grant fills this slot with a URL identity that has no
|
|
6341
|
+
* `applications` row: the identifier URL lands in `id` and `name` comes from the consent-time
|
|
6342
|
+
* snapshot, so neither field can keep the applications table varchar bounds. Consumers tell
|
|
6343
|
+
* the kinds apart by the id shape.
|
|
6344
|
+
*/
|
|
6345
|
+
application: z.ZodObject<{
|
|
6346
|
+
id: z.ZodString;
|
|
6347
|
+
name: z.ZodString;
|
|
6348
|
+
}, "strip", z.ZodTypeAny, {
|
|
6470
6349
|
name: string;
|
|
6471
6350
|
id: string;
|
|
6472
6351
|
}, {
|