Skip to content

Commit

Permalink
set warning threshold when creating a new spend limit (#34686)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: b6811211d1f3cdc4b282248e4e50fd1fa02dc3ea
  • Loading branch information
rrwang7 authored and Convex, Inc. committed Feb 26, 2025
1 parent f8c788d commit 8255dc1
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions npm-packages/dashboard/dashboard-openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2759,7 +2759,15 @@
"planId": {
"type": "string"
},
"spendingLimitThresholdCents": {
"spendingLimitDisableThresholdCents": {
"type": [
"integer",
"null"
],
"format": "int64",
"minimum": 0
},
"spendingLimitWarningThresholdCents": {
"type": [
"integer",
"null"
Expand Down Expand Up @@ -3721,10 +3729,16 @@
"SetSpendingLimitArgs": {
"type": "object",
"required": [
"thresholdCents"
"disableThresholdCents",
"warningThresholdCents"
],
"properties": {
"thresholdCents": {
"disableThresholdCents": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"warningThresholdCents": {
"type": "integer",
"format": "int64",
"minimum": 0
Expand Down

0 comments on commit 8255dc1

Please sign in to comment.