|
| 1 | +<?php |
| 2 | +// This file was auto-generated |
| 3 | +return [ |
| 4 | +// 'version' => '', |
| 5 | + 'metadata' => |
| 6 | + [ |
| 7 | +// 'apiVersion' => '', |
| 8 | +// 'endpointPrefix' => 'conversationalai', |
| 9 | + 'protocol' => 'json', |
| 10 | +// 'serviceFullName' => 'conversationalai', |
| 11 | +// 'serviceId' => 'conversationalai', |
| 12 | + ], |
| 13 | + 'operations' => [ |
| 14 | + 'QueryConvoAgentStatus' => [ |
| 15 | + 'name' => 'QueryConvoAgentStatus', |
| 16 | + 'http' => [ |
| 17 | + 'method' => 'GET', |
| 18 | + 'requestUri' => '/v1/queryConvoAgentStatus', |
| 19 | + ], |
| 20 | + 'input' => [ 'shape' => 'QueryConvoAgentStatusRequestShape', ], |
| 21 | + 'output' => [ 'shape' => 'QueryConvoAgentStatusResponseShape', ], |
| 22 | + ], |
| 23 | + 'QueryConvoAgentList' => [ |
| 24 | + 'name' => 'QueryConvoAgentList', |
| 25 | + 'http' => [ |
| 26 | + 'method' => 'GET', |
| 27 | + 'requestUri' => '/v1/queryConvoAgentList', |
| 28 | + ], |
| 29 | + 'input' => [ 'shape' => 'QueryConvoAgentListRequestShape', ], |
| 30 | + 'output' => [ 'shape' => 'QueryConvoAgentListResponseShape', ], |
| 31 | + ], |
| 32 | + ], |
| 33 | + 'shapes' => [ |
| 34 | + 'Filter' => [ |
| 35 | + 'type' => 'structure', |
| 36 | + 'members' => [ |
| 37 | + 'name' => [ 'type' => 'string', 'locationName' => 'name', ], |
| 38 | + 'operator' => [ 'type' => 'string', 'locationName' => 'operator', ], |
| 39 | + 'values' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ], |
| 40 | + ], |
| 41 | + ], |
| 42 | + 'AgentJoinRoomParams' => [ |
| 43 | + 'type' => 'structure', |
| 44 | + 'members' => [ |
| 45 | + 'appId' => [ 'type' => 'string', 'locationName' => 'appId', ], |
| 46 | + 'userRoomId' => [ 'type' => 'string', 'locationName' => 'userRoomId', ], |
| 47 | + 'userId' => [ 'type' => 'string', 'locationName' => 'userId', ], |
| 48 | + 'timestamp' => [ 'type' => 'long', 'locationName' => 'timestamp', ], |
| 49 | + 'nonce' => [ 'type' => 'string', 'locationName' => 'nonce', ], |
| 50 | + 'token' => [ 'type' => 'string', 'locationName' => 'token', ], |
| 51 | + ], |
| 52 | + ], |
| 53 | + 'SilenceParams' => [ |
| 54 | + 'type' => 'structure', |
| 55 | + 'members' => [ |
| 56 | + 'silentDurationThreshold' => [ 'type' => 'integer', 'locationName' => 'silentDurationThreshold', ], |
| 57 | + 'action' => [ 'type' => 'string', 'locationName' => 'action', ], |
| 58 | + 'content' => [ 'type' => 'string', 'locationName' => 'content', ], |
| 59 | + ], |
| 60 | + ], |
| 61 | + 'QueryConvoAgentListContent' => [ |
| 62 | + 'type' => 'structure', |
| 63 | + 'members' => [ |
| 64 | + 'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ], |
| 65 | + 'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ], |
| 66 | + 'totalElements' => [ 'type' => 'integer', 'locationName' => 'totalElements', ], |
| 67 | + 'totalPages' => [ 'type' => 'integer', 'locationName' => 'totalPages', ], |
| 68 | + 'content' => [ 'type' => 'list', 'member' => [ 'shape' => 'ConvoAgentStatusInfo', ], ], |
| 69 | + ], |
| 70 | + ], |
| 71 | + 'SpeakCustomeText' => [ |
| 72 | + 'type' => 'structure', |
| 73 | + 'members' => [ |
| 74 | + 'priority' => [ 'type' => 'string', 'locationName' => 'priority', ], |
| 75 | + 'content' => [ 'type' => 'string', 'locationName' => 'content', ], |
| 76 | + ], |
| 77 | + ], |
| 78 | + 'VadParams' => [ |
| 79 | + 'type' => 'structure', |
| 80 | + 'members' => [ |
| 81 | + 'volumeDb' => [ 'type' => 'integer', 'locationName' => 'volumeDb', ], |
| 82 | + 'paddingMs' => [ 'type' => 'integer', 'locationName' => 'paddingMs', ], |
| 83 | + 'silenceDurationMs' => [ 'type' => 'integer', 'locationName' => 'silenceDurationMs', ], |
| 84 | + 'threshold' => [ 'type' => 'float', 'locationName' => 'threshold', ], |
| 85 | + ], |
| 86 | + ], |
| 87 | + 'StopConvoAgent' => [ |
| 88 | + 'type' => 'structure', |
| 89 | + 'members' => [ |
| 90 | + 'appId' => [ 'type' => 'string', 'locationName' => 'appId', ], |
| 91 | + 'agentId' => [ 'type' => 'string', 'locationName' => 'agentId', ], |
| 92 | + ], |
| 93 | + ], |
| 94 | + 'StartConvoAgent' => [ |
| 95 | + 'type' => 'structure', |
| 96 | + 'members' => [ |
| 97 | + 'agentName' => [ 'type' => 'string', 'locationName' => 'agentName', ], |
| 98 | + 'agentJoinRoomParams' => [ 'shape' => 'AgentJoinRoomParams', ], |
| 99 | + 'greetingMessage' => [ 'type' => 'string', 'locationName' => 'greetingMessage', ], |
| 100 | + 'enableAsr' => [ 'type' => 'integer', 'locationName' => 'enableAsr', ], |
| 101 | + 'asrVendor' => [ 'type' => 'string', 'locationName' => 'asrVendor', ], |
| 102 | + 'asrParams' => [ 'type' => 'map', 'key' => [ 'type' => 'string', ], 'value' => [ 'type' => 'string', ], ], |
| 103 | + 'enableLlm' => [ 'type' => 'integer', 'locationName' => 'enableLlm', ], |
| 104 | + 'llmVendor' => [ 'type' => 'string', 'locationName' => 'llmVendor', ], |
| 105 | + 'llmParams' => [ 'type' => 'map', 'key' => [ 'type' => 'string', ], 'value' => [ 'type' => 'string', ], ], |
| 106 | + 'enableTts' => [ 'type' => 'integer', 'locationName' => 'enableTts', ], |
| 107 | + 'ttsVendor' => [ 'type' => 'string', 'locationName' => 'ttsVendor', ], |
| 108 | + 'ttsParams' => [ 'type' => 'map', 'key' => [ 'type' => 'string', ], 'value' => [ 'type' => 'string', ], ], |
| 109 | + 'vadParams' => [ 'shape' => 'VadParams', ], |
| 110 | + 'silenceParams' => [ 'shape' => 'SilenceParams', ], |
| 111 | + 'agentParams' => [ 'type' => 'object', 'locationName' => 'agentParams', ], |
| 112 | + ], |
| 113 | + ], |
| 114 | + 'ConvoAgentStatusInfo' => [ |
| 115 | + 'type' => 'structure', |
| 116 | + 'members' => [ |
| 117 | + 'agentName' => [ 'type' => 'string', 'locationName' => 'agentName', ], |
| 118 | + 'agentId' => [ 'type' => 'string', 'locationName' => 'agentId', ], |
| 119 | + 'appId' => [ 'type' => 'string', 'locationName' => 'appId', ], |
| 120 | + 'userPin' => [ 'type' => 'string', 'locationName' => 'userPin', ], |
| 121 | + 'userRoomId' => [ 'type' => 'string', 'locationName' => 'userRoomId', ], |
| 122 | + 'userId' => [ 'type' => 'string', 'locationName' => 'userId', ], |
| 123 | + 'status' => [ 'type' => 'integer', 'locationName' => 'status', ], |
| 124 | + 'errorMsg' => [ 'type' => 'string', 'locationName' => 'errorMsg', ], |
| 125 | + 'createTime' => [ 'type' => 'string', 'locationName' => 'createTime', ], |
| 126 | + 'updateTime' => [ 'type' => 'string', 'locationName' => 'updateTime', ], |
| 127 | + ], |
| 128 | + ], |
| 129 | + 'QueryConvoAgentStatusResponseShape' => [ |
| 130 | + 'type' => 'structure', |
| 131 | + 'members' => [ |
| 132 | + 'result' => [ 'shape' => 'QueryConvoAgentStatusResultShape', ], |
| 133 | + 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
| 134 | + ], |
| 135 | + ], |
| 136 | + 'QueryConvoAgentListResponseShape' => [ |
| 137 | + 'type' => 'structure', |
| 138 | + 'members' => [ |
| 139 | + 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
| 140 | + 'result' => [ 'shape' => 'QueryConvoAgentListResultShape', ], |
| 141 | + ], |
| 142 | + ], |
| 143 | + 'QueryConvoAgentListRequestShape' => [ |
| 144 | + 'type' => 'structure', |
| 145 | + 'members' => [ |
| 146 | + 'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ], |
| 147 | + 'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ], |
| 148 | + 'filters' => [ 'type' => 'list', 'member' => [ 'shape' => 'Filter', ], ], |
| 149 | + ], |
| 150 | + ], |
| 151 | + 'QueryConvoAgentListResultShape' => [ |
| 152 | + 'type' => 'structure', |
| 153 | + 'members' => [ |
| 154 | + 'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ], |
| 155 | + 'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ], |
| 156 | + 'totalElements' => [ 'type' => 'integer', 'locationName' => 'totalElements', ], |
| 157 | + 'totalPages' => [ 'type' => 'integer', 'locationName' => 'totalPages', ], |
| 158 | + 'content' => [ 'type' => 'list', 'member' => [ 'shape' => 'ConvoAgentStatusInfo', ], ], |
| 159 | + ], |
| 160 | + ], |
| 161 | + 'QueryConvoAgentStatusRequestShape' => [ |
| 162 | + 'type' => 'structure', |
| 163 | + 'members' => [ |
| 164 | + 'agentId' => [ 'type' => 'string', 'locationName' => 'agentId', ], |
| 165 | + ], |
| 166 | + ], |
| 167 | + 'QueryConvoAgentStatusResultShape' => [ |
| 168 | + 'type' => 'structure', |
| 169 | + 'members' => [ |
| 170 | + 'agentName' => [ 'type' => 'string', 'locationName' => 'agentName', ], |
| 171 | + 'agentId' => [ 'type' => 'string', 'locationName' => 'agentId', ], |
| 172 | + 'appId' => [ 'type' => 'string', 'locationName' => 'appId', ], |
| 173 | + 'userPin' => [ 'type' => 'string', 'locationName' => 'userPin', ], |
| 174 | + 'userRoomId' => [ 'type' => 'string', 'locationName' => 'userRoomId', ], |
| 175 | + 'userId' => [ 'type' => 'string', 'locationName' => 'userId', ], |
| 176 | + 'status' => [ 'type' => 'integer', 'locationName' => 'status', ], |
| 177 | + 'errorMsg' => [ 'type' => 'string', 'locationName' => 'errorMsg', ], |
| 178 | + 'createTime' => [ 'type' => 'string', 'locationName' => 'createTime', ], |
| 179 | + 'updateTime' => [ 'type' => 'string', 'locationName' => 'updateTime', ], |
| 180 | + ], |
| 181 | + ], |
| 182 | + 'StartConvoAgentResult' => [ |
| 183 | + 'type' => 'structure', |
| 184 | + 'members' => [ |
| 185 | + 'agentId' => [ 'type' => 'string', 'locationName' => 'agentId', ], |
| 186 | + 'status' => [ 'type' => 'integer', 'locationName' => 'status', ], |
| 187 | + ], |
| 188 | + ], |
| 189 | + ], |
| 190 | +]; |
0 commit comments