Circle V2 API Docs
    Preparing search index...

    Variable superadminSessionsRepoConst

    superadminSessionsRepo: DbRepo<
        {
            endActive: (
                superadminProfileId: ProfileId,
            ) => Promise<
                | {
                    created_at: DbDate;
                    ended_at: string & { __brand: "DbDate" }
                    | null;
                    expires_at: string & { __brand: "DbDate" };
                    id: SuperadminSessionId;
                    impersonated_entity_id: number & { __brand: "EntityId" };
                    impersonated_profile_id: string & { __brand: "ProfileId" } | null;
                    superadmin_profile_id: string & { __brand: "ProfileId" };
                }
                | undefined,
            >;
            getActiveBySuperadminProfileId: (
                profileId: ProfileId,
            ) => Promise<
                | {
                    created_at: DbDate;
                    ended_at: string & { __brand: "DbDate" }
                    | null;
                    expires_at: string & { __brand: "DbDate" };
                    id: SuperadminSessionId;
                    impersonated_entity_id: number & { __brand: "EntityId" };
                    impersonated_profile_id: string & { __brand: "ProfileId" } | null;
                    superadmin_profile_id: string & { __brand: "ProfileId" };
                }
                | undefined,
            >;
            getById: (
                id: SuperadminSessionId,
            ) => Promise<
                | {
                    created_at: DbDate;
                    ended_at: string & { __brand: "DbDate" }
                    | null;
                    expires_at: string & { __brand: "DbDate" };
                    id: SuperadminSessionId;
                    impersonated_entity_id: number & { __brand: "EntityId" };
                    impersonated_profile_id: string & { __brand: "ProfileId" } | null;
                    superadmin_profile_id: string & { __brand: "ProfileId" };
                }
                | undefined,
            >;
            start: (
                params: StartSuperadminSessionParams,
            ) => Promise<
                {
                    created_at: DbDate;
                    ended_at: string & { __brand: "DbDate" }
                    | null;
                    expires_at: string & { __brand: "DbDate" };
                    id: SuperadminSessionId;
                    impersonated_entity_id: number & { __brand: "EntityId" };
                    impersonated_profile_id: string & { __brand: "ProfileId" } | null;
                    superadmin_profile_id: string & { __brand: "ProfileId" };
                },
            >;
        },
    > = ...