Astrada TypeScript SDK
    Preparing search index...

    Interface EnrollmentLinkDetail

    EnrollmentLinkDetail

    interface EnrollmentLinkDetail {
        _links: SelfLinks;
        createdAt: Date;
        createdBy: EnrollmentLinkCreatedBy;
        customerReferenceId?: string;
        expiresAt: Date;
        id: string;
        kind: EnrollmentLinkDetailKindEnum;
        maxUses: number;
        organizationName?: string;
        platformName?: string;
        revokedAt?: Date;
        sessions: EnrollmentLinkSession[];
        startingPoint: "card";
        starts: number;
        state: EnrollmentLinkDetailStateEnum;
        subaccountId: string;
        updatedAt: Date;
        usedAt?: Date;
        uses: number;
    }
    Index
    _links: SelfLinks

    EnrollmentLinkDetail

    createdAt: Date

    EnrollmentLinkDetail

    EnrollmentLinkDetail

    customerReferenceId?: string

    The reference given when the link was created. Absent when none was given.

    EnrollmentLinkDetail

    expiresAt: Date

    After this time no session starts from the link.

    EnrollmentLinkDetail

    id: string

    The link's identifier.

    EnrollmentLinkDetail

    • cardholder: a personal link for one employee. It allows up to 5 session starts and is used up by the first session that completes something.
    • team: a link to share with a team. Every session start counts as a use, up to maxUses.

    EnrollmentLinkDetail

    maxUses: number

    1 on a personal link. On a team link, the session starts it allows.

    EnrollmentLinkDetail

    organizationName?: string

    The organization name given when the link was created. Absent when none was given.

    EnrollmentLinkDetail

    platformName?: string

    The platform name given when the link was created. Absent when none was given. The hosted page ignores it once the account has a brand profile.

    EnrollmentLinkDetail

    revokedAt?: Date

    When the link was revoked.

    EnrollmentLinkDetail

    The sessions started from the link, oldest first.

    EnrollmentLinkDetail

    startingPoint: "card"

    Where the hosted page starts. Only card is available now; links made before the field existed read as card.

    EnrollmentLinkDetail

    starts: number

    The sessions started from the link so far.

    EnrollmentLinkDetail

    • active: sessions can start.
    • used: a personal link whose session completed something.
    • revoked: revoked with POST /enrollment-links/{linkId}/revoke or by deleting its subaccount. Team links revoked by the former five-active-link limit on POST /subaccounts/{subaccountId}/team-link stay revoked.
    • expired: an active link past expiresAt.

    EnrollmentLinkDetail

    subaccountId: string

    The subaccount that cards enrolled through the link join.

    EnrollmentLinkDetail

    updatedAt: Date

    EnrollmentLinkDetail

    usedAt?: Date

    When a personal link was used up.

    EnrollmentLinkDetail

    uses: number

    On a team link, the sessions started so far. On a personal link, 1 once it is used, otherwise 0.

    EnrollmentLinkDetail