|
@@ -7324,6 +7324,92 @@
|
|
|
},
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
},
|
|
|
|
|
+ "SessionStatus": {
|
|
|
|
|
+ "anyOf": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "const": "idle"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["type"]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "const": "retry"
|
|
|
|
|
+ },
|
|
|
|
|
+ "attempt": {
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "message": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "next": {
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["type", "attempt", "message", "next"]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "const": "busy"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["type"]
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ "Event.session.status": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "const": "session.status"
|
|
|
|
|
+ },
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "sessionID": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "pattern": "^ses.*"
|
|
|
|
|
+ },
|
|
|
|
|
+ "status": {
|
|
|
|
|
+ "$ref": "#/components/schemas/SessionStatus"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["sessionID", "status"]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["type", "properties"]
|
|
|
|
|
+ },
|
|
|
|
|
+ "Event.session.idle": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "const": "session.idle"
|
|
|
|
|
+ },
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "sessionID": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "pattern": "^ses.*"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["sessionID"]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["type", "properties"]
|
|
|
|
|
+ },
|
|
|
"PermissionRequest": {
|
|
"PermissionRequest": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
"properties": {
|
|
"properties": {
|
|
@@ -7414,92 +7500,6 @@
|
|
|
},
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
},
|
|
|
- "SessionStatus": {
|
|
|
|
|
- "anyOf": [
|
|
|
|
|
- {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "const": "idle"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["type"]
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "const": "retry"
|
|
|
|
|
- },
|
|
|
|
|
- "attempt": {
|
|
|
|
|
- "type": "number"
|
|
|
|
|
- },
|
|
|
|
|
- "message": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "next": {
|
|
|
|
|
- "type": "number"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["type", "attempt", "message", "next"]
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "const": "busy"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["type"]
|
|
|
|
|
- }
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- "Event.session.status": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "const": "session.status"
|
|
|
|
|
- },
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "sessionID": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "pattern": "^ses.*"
|
|
|
|
|
- },
|
|
|
|
|
- "status": {
|
|
|
|
|
- "$ref": "#/components/schemas/SessionStatus"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["sessionID", "status"]
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["type", "properties"]
|
|
|
|
|
- },
|
|
|
|
|
- "Event.session.idle": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "const": "session.idle"
|
|
|
|
|
- },
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "sessionID": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "pattern": "^ses.*"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["sessionID"]
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["type", "properties"]
|
|
|
|
|
- },
|
|
|
|
|
"QuestionOption": {
|
|
"QuestionOption": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
"properties": {
|
|
"properties": {
|
|
@@ -9811,16 +9811,16 @@
|
|
|
"$ref": "#/components/schemas/Event.message.part.delta"
|
|
"$ref": "#/components/schemas/Event.message.part.delta"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- "$ref": "#/components/schemas/Event.permission.asked"
|
|
|
|
|
|
|
+ "$ref": "#/components/schemas/Event.session.status"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- "$ref": "#/components/schemas/Event.permission.replied"
|
|
|
|
|
|
|
+ "$ref": "#/components/schemas/Event.session.idle"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- "$ref": "#/components/schemas/Event.session.status"
|
|
|
|
|
|
|
+ "$ref": "#/components/schemas/Event.permission.asked"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- "$ref": "#/components/schemas/Event.session.idle"
|
|
|
|
|
|
|
+ "$ref": "#/components/schemas/Event.permission.replied"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.question.asked"
|
|
"$ref": "#/components/schemas/Event.question.asked"
|