Skip to content

Commit 8255dc1

Browse files
rrwang7Convex, Inc.
authored andcommitted
set warning threshold when creating a new spend limit (#34686)
GitOrigin-RevId: b6811211d1f3cdc4b282248e4e50fd1fa02dc3ea
1 parent f8c788d commit 8255dc1

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

npm-packages/dashboard/dashboard-openapi.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2759,7 +2759,15 @@
27592759
"planId": {
27602760
"type": "string"
27612761
},
2762-
"spendingLimitThresholdCents": {
2762+
"spendingLimitDisableThresholdCents": {
2763+
"type": [
2764+
"integer",
2765+
"null"
2766+
],
2767+
"format": "int64",
2768+
"minimum": 0
2769+
},
2770+
"spendingLimitWarningThresholdCents": {
27632771
"type": [
27642772
"integer",
27652773
"null"
@@ -3721,10 +3729,16 @@
37213729
"SetSpendingLimitArgs": {
37223730
"type": "object",
37233731
"required": [
3724-
"thresholdCents"
3732+
"disableThresholdCents",
3733+
"warningThresholdCents"
37253734
],
37263735
"properties": {
3727-
"thresholdCents": {
3736+
"disableThresholdCents": {
3737+
"type": "integer",
3738+
"format": "int64",
3739+
"minimum": 0
3740+
},
3741+
"warningThresholdCents": {
37283742
"type": "integer",
37293743
"format": "int64",
37303744
"minimum": 0

0 commit comments

Comments
 (0)