|
980 | 980 | },
|
981 | 981 | "PlayAudioResult": {
|
982 | 982 | "description": "The response payload for play audio operation.",
|
| 983 | + "required": [ |
| 984 | + "status" |
| 985 | + ], |
983 | 986 | "type": "object",
|
984 | 987 | "properties": {
|
985 | 988 | "operationId": {
|
|
1001 | 1004 | },
|
1002 | 1005 | "ResultInfo": {
|
1003 | 1006 | "description": "Result info class to be used to report result status for actions/operations.",
|
| 1007 | + "required": [ |
| 1008 | + "code", |
| 1009 | + "subcode" |
| 1010 | + ], |
1004 | 1011 | "type": "object",
|
1005 | 1012 | "properties": {
|
1006 | 1013 | "code": {
|
1007 | 1014 | "format": "int32",
|
1008 |
| - "description": "Gets or sets the result code\r\nFor synchronous failures, this maps one-to-one with HTTP responses. For asynchronous failures or messages, it is contextual.", |
| 1015 | + "description": "The result code associated with the operation.", |
1009 | 1016 | "type": "integer"
|
1010 | 1017 | },
|
1011 | 1018 | "subcode": {
|
1012 | 1019 | "format": "int32",
|
1013 |
| - "description": "Gets or sets the result subcode.\r\nThe subcode further classifies a failure. For example.", |
| 1020 | + "description": "The subcode that further classifies the result.", |
1014 | 1021 | "type": "integer"
|
1015 | 1022 | },
|
1016 | 1023 | "message": {
|
1017 |
| - "description": "Gets or sets the message\r\nThe message is a detail explanation of subcode.", |
| 1024 | + "description": "The message is a detail explanation of subcode.", |
1018 | 1025 | "type": "string"
|
1019 | 1026 | }
|
1020 | 1027 | }
|
|
1031 | 1038 | },
|
1032 | 1039 | "CancelAllMediaOperationsResult": {
|
1033 | 1040 | "description": "The response payload of the cancel all media operations.",
|
| 1041 | + "required": [ |
| 1042 | + "status" |
| 1043 | + ], |
1034 | 1044 | "type": "object",
|
1035 | 1045 | "properties": {
|
1036 | 1046 | "operationId": {
|
|
1116 | 1126 | },
|
1117 | 1127 | "CallRecordingProperties": {
|
1118 | 1128 | "description": "The response payload of get call recording properties operation.",
|
| 1129 | + "required": [ |
| 1130 | + "recordingState" |
| 1131 | + ], |
1119 | 1132 | "type": "object",
|
1120 | 1133 | "properties": {
|
1121 | 1134 | "recordingState": {
|
|
1186 | 1199 | },
|
1187 | 1200 | "CallConnectionStateChangedEvent": {
|
1188 | 1201 | "description": "The call connection state changed event.",
|
| 1202 | + "required": [ |
| 1203 | + "callConnectionState" |
| 1204 | + ], |
1189 | 1205 | "type": "object",
|
1190 | 1206 | "properties": {
|
1191 | 1207 | "serverCallId": {
|
|
1203 | 1219 | },
|
1204 | 1220 | "CallRecordingStateChangeEvent": {
|
1205 | 1221 | "description": "The call recording state change event.",
|
| 1222 | + "required": [ |
| 1223 | + "state", |
| 1224 | + "startDateTime" |
| 1225 | + ], |
1206 | 1226 | "type": "object",
|
1207 | 1227 | "properties": {
|
1208 | 1228 | "recordingId": {
|
|
1224 | 1244 | }
|
1225 | 1245 | },
|
1226 | 1246 | "AddParticipantResultEvent": {
|
| 1247 | + "required": [ |
| 1248 | + "status" |
| 1249 | + ], |
1227 | 1250 | "type": "object",
|
1228 | 1251 | "properties": {
|
1229 | 1252 | "resultInfo": {
|
|
1258 | 1281 | },
|
1259 | 1282 | "CallParticipant": {
|
1260 | 1283 | "description": "A participant in a call.",
|
| 1284 | + "required": [ |
| 1285 | + "isMuted" |
| 1286 | + ], |
1261 | 1287 | "type": "object",
|
1262 | 1288 | "properties": {
|
1263 | 1289 | "identifier": {
|
|
1276 | 1302 | },
|
1277 | 1303 | "PlayAudioResultEvent": {
|
1278 | 1304 | "description": "The play audio result event.",
|
| 1305 | + "required": [ |
| 1306 | + "status" |
| 1307 | + ], |
1279 | 1308 | "type": "object",
|
1280 | 1309 | "properties": {
|
1281 | 1310 | "resultInfo": {
|
|
1293 | 1322 | },
|
1294 | 1323 | "ToneReceivedEvent": {
|
1295 | 1324 | "description": "The subscribe to tone event",
|
| 1325 | + "required": [ |
| 1326 | + "toneInfo" |
| 1327 | + ], |
1296 | 1328 | "type": "object",
|
1297 | 1329 | "properties": {
|
1298 | 1330 | "toneInfo": {
|
|
1306 | 1338 | }
|
1307 | 1339 | },
|
1308 | 1340 | "ToneValue": {
|
1309 |
| - "description": "Gets or sets the tone detected.", |
| 1341 | + "description": "The tone value.", |
1310 | 1342 | "enum": [
|
1311 | 1343 | "tone0",
|
1312 | 1344 | "tone1",
|
|
1333 | 1365 | }
|
1334 | 1366 | },
|
1335 | 1367 | "ToneInfo": {
|
1336 |
| - "description": "Gets or sets the tone info", |
| 1368 | + "description": "The information about the tone.", |
| 1369 | + "required": [ |
| 1370 | + "sequenceId", |
| 1371 | + "tone" |
| 1372 | + ], |
1337 | 1373 | "type": "object",
|
1338 | 1374 | "properties": {
|
1339 | 1375 | "sequenceId": {
|
1340 | 1376 | "format": "int32",
|
1341 |
| - "description": "Gets or sets the sequence id. This id can be used to determine if the same tone \r\nwas played multiple times or if any tones were missed.", |
| 1377 | + "description": "The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.", |
1342 | 1378 | "type": "integer"
|
1343 | 1379 | },
|
1344 | 1380 | "tone": {
|
|
0 commit comments