schemas/credentialPost.json in losant_rest-1.19.3 vs schemas/credentialPost.json in losant_rest-1.19.4
- old
+ new
@@ -18,11 +18,13 @@
"type": "string",
"enum": [
"aws",
"azure",
"gcp",
- "http"
+ "http",
+ "sendgrid",
+ "twilio"
]
},
"awsConfig": {
"type": "object",
"properties": {
@@ -110,9 +112,49 @@
"additionalProperties": false,
"required": [
"uriMatch",
"authMethod",
"secretValue"
+ ]
+ },
+ "sendgridConfig": {
+ "type": "object",
+ "properties": {
+ "apiKey": {
+ "type": "string",
+ "minLength": 4,
+ "maxLength": 128
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "apiKey"
+ ]
+ },
+ "twilioConfig": {
+ "type": "object",
+ "properties": {
+ "accountSid": {
+ "type": "string",
+ "minLength": 4,
+ "maxLength": 128
+ },
+ "apiKeySid": {
+ "type": "string",
+ "minLength": 4,
+ "maxLength": 128
+ },
+ "apiKeySecret": {
+ "type": "string",
+ "minLength": 4,
+ "maxLength": 128
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "accountSid",
+ "apiKeySid",
+ "apiKeySecret"
]
}
},
"additionalProperties": false,
"required": [
\ No newline at end of file