Type alias EntitlementCheckResult

EntitlementCheckResult: { accessDeniedReason?: InputMaybe<AccessDeniedReason>; currentUsage?: InputMaybe<Scalars["Float"]>; enumValues?: InputMaybe<Scalars["String"][]>; hasAccess: Scalars["Boolean"]; hasSoftLimit?: InputMaybe<Scalars["Boolean"]>; hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>; monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>; nextResetDate?: InputMaybe<Scalars["DateTime"]>; requestedUsage?: InputMaybe<Scalars["Float"]>; requestedValues?: InputMaybe<Scalars["String"][]>; resetPeriod?: InputMaybe<EntitlementResetPeriod>; usageLimit?: InputMaybe<Scalars["Float"]>; weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>; yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput> }

Result object of an entitlement access check.

Type declaration

  • Optional accessDeniedReason?: InputMaybe<AccessDeniedReason>

    Optional message explaining why access to the feature is denied.

  • Optional currentUsage?: InputMaybe<Scalars["Float"]>

    The amount of the feature the customer has used so far in the current period.

  • Optional enumValues?: InputMaybe<Scalars["String"][]>

    List of enum values applicable to this entitlement, if it is an enum feature.

  • hasAccess: Scalars["Boolean"]

    Indicates whether the customer currently has access to the feature.

  • Optional hasSoftLimit?: InputMaybe<Scalars["Boolean"]>

    Indicates whether the usage limit is soft — usage can exceed the limit, but will be tracked.

  • Optional hasUnlimitedUsage?: InputMaybe<Scalars["Boolean"]>

    Indicates whether this entitlement grants unlimited usage with no enforced cap.

  • Optional monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>

    Configuration for monthly usage reset.

  • Optional nextResetDate?: InputMaybe<Scalars["DateTime"]>

    The next date when the entitlement usage resets.

  • Optional requestedUsage?: InputMaybe<Scalars["Float"]>

    The amount of usage requested by the customer.

  • Optional requestedValues?: InputMaybe<Scalars["String"][]>

    The values requested by the customer, if applicable.

  • Optional resetPeriod?: InputMaybe<EntitlementResetPeriod>

    The interval at which usage resets automatically, such as monthly or yearly.

  • Optional usageLimit?: InputMaybe<Scalars["Float"]>

    The maximum allowed usage for this entitlement before restrictions apply.

  • Optional weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>

    Configuration for weekly usage reset.

  • Optional yearlyResetPeriodConfiguration?: InputMaybe<YearlyResetPeriodConfigInput>

    Configuration for yearly usage reset.