@stigg/node-server-sdk - v4.23.0

    Type Alias GetEntitlementV2Input

    Query for fetching a single entitlement by reference (supports both feature and credit entitlements).

    type GetEntitlementV2Input = {
        currencyId?: InputMaybe<Scalars["String"]>;
        customerId: Scalars["String"];
        environmentId?: InputMaybe<Scalars["String"]>;
        featureId?: InputMaybe<Scalars["String"]>;
        options?: InputMaybe<EntitlementOptions>;
        resourceId?: InputMaybe<Scalars["String"]>;
    }
    Index

    Properties

    currencyId?: InputMaybe<Scalars["String"]>

    Identifier of the credit type / custom currency (for credit entitlements). Exactly one of featureId or currencyId must be set.

    customerId: Scalars["String"]

    Identifier of the customer.

    environmentId?: InputMaybe<Scalars["String"]>

    The environment identifier used to resolve the entitlement context.

    Identifier of the feature (for feature entitlements). Exactly one of featureId or currencyId must be set.

    options?: InputMaybe<EntitlementOptions>

    Optional flags or preferences to customize the fetch behavior.

    resourceId?: InputMaybe<Scalars["String"]>

    The scoped resource Identifier.

    MMNEPVFCICPMFPCPTTAAATR