Type alias ReportUsageInput

ReportUsageInput: { createdAt?: InputMaybe<Scalars["DateTime"]>; customerId: Scalars["String"]; dimensions?: InputMaybe<Scalars["JSON"]>; environmentId?: InputMaybe<Scalars["String"]>; featureId: Scalars["String"]; resourceId?: InputMaybe<Scalars["String"]>; updateBehavior?: InputMaybe<UsageUpdateBehavior>; value: Scalars["Float"] }

Input parameters for reporting usage

Type declaration

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

    Timestamp of when the record was created

  • customerId: Scalars["String"]

    Customer id

  • Optional dimensions?: InputMaybe<Scalars["JSON"]>

    Additional dimensions for the usage report

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

    The unique identifier for the environment

  • featureId: Scalars["String"]

    Feature id

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

    Resource id

  • Optional updateBehavior?: InputMaybe<UsageUpdateBehavior>

    The method by which the usage value should be updated

  • value: Scalars["Float"]

    The value to report for usage