Skip to content

Commit 073d276

Browse files
committed
fix: updated schema
1 parent 6857e1e commit 073d276

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

lib/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2878,6 +2878,10 @@ export interface Plan {
28782878
* price in cents per unit of plan
28792879
*/
28802880
cents?: number
2881+
/**
2882+
* price is negotiated in a contract outside of monthly add-on billing
2883+
*/
2884+
contract?: boolean
28812885
/**
28822886
* unit of price for plan
28832887
*/

schema.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1890,6 +1890,9 @@
18901890
"cents": {
18911891
"$ref": "#/definitions/plan/definitions/cents"
18921892
},
1893+
"contract": {
1894+
"$ref": "#/definitions/plan/definitions/contract"
1895+
},
18931896
"unit": {
18941897
"$ref": "#/definitions/plan/definitions/unit"
18951898
}
@@ -9871,9 +9874,7 @@
98719874
"description": "Provides the necessary information to establish an AWS VPC Peering with your private space.",
98729875
"href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peering-info",
98739876
"method": "GET",
9874-
"rel": {
9875-
"$ref": "#/definitions/peering-info"
9876-
},
9877+
"rel": "self",
98779878
"targetSchema": {
98789879
"$ref": "#/definitions/peering-info"
98799880
},
@@ -10890,6 +10891,14 @@
1089010891
"integer"
1089110892
]
1089210893
},
10894+
"contract": {
10895+
"description": "price is negotiated in a contract outside of monthly add-on billing",
10896+
"example": false,
10897+
"readOnly": true,
10898+
"type": [
10899+
"boolean"
10900+
]
10901+
},
1089310902
"unit": {
1089410903
"description": "unit of price for plan",
1089510904
"example": "month",
@@ -11018,6 +11027,9 @@
1101811027
"cents": {
1101911028
"$ref": "#/definitions/plan/definitions/cents"
1102011029
},
11030+
"contract": {
11031+
"$ref": "#/definitions/plan/definitions/contract"
11032+
},
1102111033
"unit": {
1102211034
"$ref": "#/definitions/plan/definitions/unit"
1102311035
}

0 commit comments

Comments
 (0)