diff --git a/doc/api/graphql/reference/_index.md b/doc/api/graphql/reference/_index.md index 4aefb70d19f546a53ab5d9ce075b294ede8de8f3..80fe1158642b1d7b42e874c09955252b71ef7027 100644 --- a/doc/api/graphql/reference/_index.md +++ b/doc/api/graphql/reference/_index.md @@ -30973,6 +30973,18 @@ Describes the subscription history of a given namespace. | `seatsInUse` | [`Int`](#int) | Seats being used in subscription. | | `startDate` | [`Time`](#time) | Subscription start date. | +### `GitlabSubscriptionOneTimeCredits` + +Describes the usage of one time credits for the subscription. + +#### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| `creditsUsed` | [`Float`](#float) | GitLab Credits used from the one time credits allocation. | +| `totalCredits` | [`Float`](#float) | Total of GitLab Credits allocated as one time credits. | +| `totalCreditsRemaining` | [`Float`](#float) | Total of GitLab Credits remaining from the one time credits allocation. | + ### `GitlabSubscriptionOverage` Describes the overage usage of consumables for the subscription. @@ -31006,7 +31018,8 @@ Describes the usage of consumables under the subscription. | Name | Type | Description | | ---- | ---- | ----------- | | `endDate` | [`ISO8601Date`](#iso8601date) | End date of the period covered by the usage data. | -| `lastUpdated` | [`ISO8601DateTime`](#iso8601datetime) | Date and time when the usage data was last updated. | +| `lastEventTransactionAt` | [`ISO8601DateTime`](#iso8601datetime) | Date and time when the last usage event resulted in a wallet transaction. | +| `oneTimeCredits` | [`GitlabSubscriptionOneTimeCredits`](#gitlabsubscriptiononetimecredits) | One time credits usage for the subscription. | | `overage` | [`GitlabSubscriptionOverage`](#gitlabsubscriptionoverage) | Overage statistics. | | `poolUsage` | [`GitlabSubscriptionPoolUsage`](#gitlabsubscriptionpoolusage) | Consumption usage for the subscription shared pool. | | `purchaseCreditsPath` | [`String`](#string) | URL to purchase GitLab Credits. | @@ -31075,6 +31088,7 @@ Describes the usage of consumables by users under the subscription. | Name | Type | Description | | ---- | ---- | ----------- | +| `creditsUsed` | [`Float`](#float) | GitLab Credits used by consumers of the subscription. | | `dailyUsage` | [`[GitlabSubscriptionDailyUsage!]`](#gitlabsubscriptiondailyusage) | Array of daily usage of GitLab Credits. | | `totalUsersUsingCredits` | [`Int`](#int) | Total number of users consuming GitLab Credits. | | `totalUsersUsingOverage` | [`Int`](#int) | Total number of users consuming overage. | diff --git a/ee/app/assets/javascripts/usage_quotas/usage_billing/components/app.vue b/ee/app/assets/javascripts/usage_quotas/usage_billing/components/app.vue index 63d46a57b9e7fecbdba38778aec827196dfa2e20..e13a7a09e4f5604821356a6604b4a5f5a306cae7 100644 --- a/ee/app/assets/javascripts/usage_quotas/usage_billing/components/app.vue +++ b/ee/app/assets/javascripts/usage_quotas/usage_billing/components/app.vue @@ -107,10 +107,10 @@ export default { -