Skip to content

Commit

Permalink
feat: auto-updated SDK (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 29, 2023
1 parent 7b12fde commit 8d1d5bf
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 2 deletions.
47 changes: 46 additions & 1 deletion openAPIDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,18 @@
}
]
},
"/projects/{project_id}/query/history": {
"parameters": [
{
"name": "project_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
]
},
"/projects/{project_id}/branches": {
"parameters": [
{
Expand Down Expand Up @@ -4183,7 +4195,7 @@
]
},
"SuspendTimeoutSeconds": {
"description": "Duration of inactivity in seconds after which the cimpute endpoint is\nautomatically suspended. The value `0` means use the global default.\nThe value `-1` means never suspend. The default value is `300` seconds (5 minutes).\nThe maximum value is `604800` seconds (1 week). For more information, see\n[Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\n",
"description": "Duration of inactivity in seconds after which the compute endpoint is\nautomatically suspended. The value `0` means use the global default.\nThe value `-1` means never suspend. The default value is `300` seconds (5 minutes).\nThe maximum value is `604800` seconds (1 week). For more information, see\n[Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\n",
"type": "integer",
"format": "int64",
"minimum": -1,
Expand Down Expand Up @@ -4536,6 +4548,30 @@
"last4": {
"type": "string",
"description": "Last 4 digits of the card.\n"
},
"brand": {
"type": "string",
"description": "Brand of credit card.\n",
"enum": [
"amex",
"diners",
"discover",
"jcb",
"mastercard",
"unionpay",
"unknown",
"visa"
]
},
"exp_month": {
"type": "integer",
"format": "int64",
"description": "Credit card expiration month\n"
},
"exp_year": {
"type": "integer",
"format": "int64",
"description": "Credit card expiration year\n"
}
}
},
Expand Down Expand Up @@ -5043,6 +5079,15 @@
"$ref": "#/components/schemas/OperationsResponse"
}
]
},
"SupportTicketSeverity": {
"type": "string",
"enum": [
"low",
"normal",
"high",
"critical"
]
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ type RolesResponse struct {
Roles []Role `json:"roles"`
}

// SuspendTimeoutSeconds Duration of inactivity in seconds after which the cimpute endpoint is
// SuspendTimeoutSeconds Duration of inactivity in seconds after which the compute endpoint is
// automatically suspended. The value `0` means use the global default.
// The value `-1` means never suspend. The default value is `300` seconds (5 minutes).
// The maximum value is `604800` seconds (1 week). For more information, see
Expand Down

0 comments on commit 8d1d5bf

Please sign in to comment.