deep-chat-dev 9.0.198 → 9.0.199

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -921,6 +921,348 @@
921
921
  }
922
922
  ]
923
923
  },
924
+ {
925
+ "kind": "javascript-module",
926
+ "path": "src/types/APIKey.ts",
927
+ "declarations": [],
928
+ "exports": []
929
+ },
930
+ {
931
+ "kind": "javascript-module",
932
+ "path": "src/types/GCP.ts",
933
+ "declarations": [],
934
+ "exports": []
935
+ },
936
+ {
937
+ "kind": "javascript-module",
938
+ "path": "src/types/assemblyAI.ts",
939
+ "declarations": [],
940
+ "exports": []
941
+ },
942
+ {
943
+ "kind": "javascript-module",
944
+ "path": "src/types/assemblyAIResult.ts",
945
+ "declarations": [],
946
+ "exports": []
947
+ },
948
+ {
949
+ "kind": "javascript-module",
950
+ "path": "src/types/avatars.ts",
951
+ "declarations": [],
952
+ "exports": []
953
+ },
954
+ {
955
+ "kind": "javascript-module",
956
+ "path": "src/types/azure.ts",
957
+ "declarations": [],
958
+ "exports": []
959
+ },
960
+ {
961
+ "kind": "javascript-module",
962
+ "path": "src/types/azureResult.ts",
963
+ "declarations": [],
964
+ "exports": []
965
+ },
966
+ {
967
+ "kind": "javascript-module",
968
+ "path": "src/types/button.ts",
969
+ "declarations": [],
970
+ "exports": []
971
+ },
972
+ {
973
+ "kind": "javascript-module",
974
+ "path": "src/types/buttonInternal.ts",
975
+ "declarations": [],
976
+ "exports": []
977
+ },
978
+ {
979
+ "kind": "javascript-module",
980
+ "path": "src/types/buttonTypes.ts",
981
+ "declarations": [],
982
+ "exports": []
983
+ },
984
+ {
985
+ "kind": "javascript-module",
986
+ "path": "src/types/camera.ts",
987
+ "declarations": [],
988
+ "exports": []
989
+ },
990
+ {
991
+ "kind": "javascript-module",
992
+ "path": "src/types/chatLimits.ts",
993
+ "declarations": [],
994
+ "exports": []
995
+ },
996
+ {
997
+ "kind": "javascript-module",
998
+ "path": "src/types/cohere.ts",
999
+ "declarations": [],
1000
+ "exports": []
1001
+ },
1002
+ {
1003
+ "kind": "javascript-module",
1004
+ "path": "src/types/cohereResult.ts",
1005
+ "declarations": [],
1006
+ "exports": []
1007
+ },
1008
+ {
1009
+ "kind": "javascript-module",
1010
+ "path": "src/types/connect.ts",
1011
+ "declarations": [],
1012
+ "exports": []
1013
+ },
1014
+ {
1015
+ "kind": "javascript-module",
1016
+ "path": "src/types/demo.ts",
1017
+ "declarations": [],
1018
+ "exports": []
1019
+ },
1020
+ {
1021
+ "kind": "javascript-module",
1022
+ "path": "src/types/directConnection.ts",
1023
+ "declarations": [],
1024
+ "exports": []
1025
+ },
1026
+ {
1027
+ "kind": "javascript-module",
1028
+ "path": "src/types/dropupStyles.ts",
1029
+ "declarations": [],
1030
+ "exports": []
1031
+ },
1032
+ {
1033
+ "kind": "javascript-module",
1034
+ "path": "src/types/error.ts",
1035
+ "declarations": [],
1036
+ "exports": []
1037
+ },
1038
+ {
1039
+ "kind": "javascript-module",
1040
+ "path": "src/types/errorInternal.ts",
1041
+ "declarations": [],
1042
+ "exports": []
1043
+ },
1044
+ {
1045
+ "kind": "javascript-module",
1046
+ "path": "src/types/fileAttachments.ts",
1047
+ "declarations": [],
1048
+ "exports": []
1049
+ },
1050
+ {
1051
+ "kind": "javascript-module",
1052
+ "path": "src/types/fileServiceConfigs.ts",
1053
+ "declarations": [],
1054
+ "exports": []
1055
+ },
1056
+ {
1057
+ "kind": "javascript-module",
1058
+ "path": "src/types/fileTypes.ts",
1059
+ "declarations": [],
1060
+ "exports": []
1061
+ },
1062
+ {
1063
+ "kind": "javascript-module",
1064
+ "path": "src/types/genericInputButton.ts",
1065
+ "declarations": [],
1066
+ "exports": []
1067
+ },
1068
+ {
1069
+ "kind": "javascript-module",
1070
+ "path": "src/types/handler.ts",
1071
+ "declarations": [],
1072
+ "exports": []
1073
+ },
1074
+ {
1075
+ "kind": "javascript-module",
1076
+ "path": "src/types/headers.ts",
1077
+ "declarations": [],
1078
+ "exports": []
1079
+ },
1080
+ {
1081
+ "kind": "javascript-module",
1082
+ "path": "src/types/history.ts",
1083
+ "declarations": [],
1084
+ "exports": []
1085
+ },
1086
+ {
1087
+ "kind": "javascript-module",
1088
+ "path": "src/types/html.ts",
1089
+ "declarations": [],
1090
+ "exports": []
1091
+ },
1092
+ {
1093
+ "kind": "javascript-module",
1094
+ "path": "src/types/huggingFace.ts",
1095
+ "declarations": [],
1096
+ "exports": []
1097
+ },
1098
+ {
1099
+ "kind": "javascript-module",
1100
+ "path": "src/types/huggingFaceResult.ts",
1101
+ "declarations": [],
1102
+ "exports": []
1103
+ },
1104
+ {
1105
+ "kind": "javascript-module",
1106
+ "path": "src/types/insertKeyViewStyles.ts",
1107
+ "declarations": [],
1108
+ "exports": []
1109
+ },
1110
+ {
1111
+ "kind": "javascript-module",
1112
+ "path": "src/types/interceptors.ts",
1113
+ "declarations": [],
1114
+ "exports": []
1115
+ },
1116
+ {
1117
+ "kind": "javascript-module",
1118
+ "path": "src/types/keyVerificationDetails.ts",
1119
+ "declarations": [],
1120
+ "exports": []
1121
+ },
1122
+ {
1123
+ "kind": "javascript-module",
1124
+ "path": "src/types/messageFile.ts",
1125
+ "declarations": [],
1126
+ "exports": []
1127
+ },
1128
+ {
1129
+ "kind": "javascript-module",
1130
+ "path": "src/types/messages.ts",
1131
+ "declarations": [],
1132
+ "exports": []
1133
+ },
1134
+ {
1135
+ "kind": "javascript-module",
1136
+ "path": "src/types/messagesInternal.ts",
1137
+ "declarations": [],
1138
+ "exports": []
1139
+ },
1140
+ {
1141
+ "kind": "javascript-module",
1142
+ "path": "src/types/microphone.ts",
1143
+ "declarations": [],
1144
+ "exports": []
1145
+ },
1146
+ {
1147
+ "kind": "javascript-module",
1148
+ "path": "src/types/mistral.ts",
1149
+ "declarations": [],
1150
+ "exports": []
1151
+ },
1152
+ {
1153
+ "kind": "javascript-module",
1154
+ "path": "src/types/names.ts",
1155
+ "declarations": [],
1156
+ "exports": []
1157
+ },
1158
+ {
1159
+ "kind": "javascript-module",
1160
+ "path": "src/types/object.ts",
1161
+ "declarations": [],
1162
+ "exports": []
1163
+ },
1164
+ {
1165
+ "kind": "javascript-module",
1166
+ "path": "src/types/openAI.ts",
1167
+ "declarations": [],
1168
+ "exports": []
1169
+ },
1170
+ {
1171
+ "kind": "javascript-module",
1172
+ "path": "src/types/openAIInternal.ts",
1173
+ "declarations": [],
1174
+ "exports": []
1175
+ },
1176
+ {
1177
+ "kind": "javascript-module",
1178
+ "path": "src/types/openAIResult.ts",
1179
+ "declarations": [],
1180
+ "exports": []
1181
+ },
1182
+ {
1183
+ "kind": "javascript-module",
1184
+ "path": "src/types/permittedErrorMessage.ts",
1185
+ "declarations": [],
1186
+ "exports": []
1187
+ },
1188
+ {
1189
+ "kind": "javascript-module",
1190
+ "path": "src/types/response.ts",
1191
+ "declarations": [],
1192
+ "exports": []
1193
+ },
1194
+ {
1195
+ "kind": "javascript-module",
1196
+ "path": "src/types/responseInternal.ts",
1197
+ "declarations": [],
1198
+ "exports": []
1199
+ },
1200
+ {
1201
+ "kind": "javascript-module",
1202
+ "path": "src/types/stabilityAI.ts",
1203
+ "declarations": [],
1204
+ "exports": []
1205
+ },
1206
+ {
1207
+ "kind": "javascript-module",
1208
+ "path": "src/types/stabilityAIResult.ts",
1209
+ "declarations": [],
1210
+ "exports": []
1211
+ },
1212
+ {
1213
+ "kind": "javascript-module",
1214
+ "path": "src/types/stream.ts",
1215
+ "declarations": [],
1216
+ "exports": []
1217
+ },
1218
+ {
1219
+ "kind": "javascript-module",
1220
+ "path": "src/types/styles.ts",
1221
+ "declarations": [],
1222
+ "exports": []
1223
+ },
1224
+ {
1225
+ "kind": "javascript-module",
1226
+ "path": "src/types/submitButton.ts",
1227
+ "declarations": [],
1228
+ "exports": []
1229
+ },
1230
+ {
1231
+ "kind": "javascript-module",
1232
+ "path": "src/types/textInput.ts",
1233
+ "declarations": [],
1234
+ "exports": []
1235
+ },
1236
+ {
1237
+ "kind": "javascript-module",
1238
+ "path": "src/types/textToSpeech.ts",
1239
+ "declarations": [],
1240
+ "exports": []
1241
+ },
1242
+ {
1243
+ "kind": "javascript-module",
1244
+ "path": "src/types/typeConverters.ts",
1245
+ "declarations": [],
1246
+ "exports": []
1247
+ },
1248
+ {
1249
+ "kind": "javascript-module",
1250
+ "path": "src/types/utilityTypes.ts",
1251
+ "declarations": [],
1252
+ "exports": []
1253
+ },
1254
+ {
1255
+ "kind": "javascript-module",
1256
+ "path": "src/types/validateInput.ts",
1257
+ "declarations": [],
1258
+ "exports": []
1259
+ },
1260
+ {
1261
+ "kind": "javascript-module",
1262
+ "path": "src/types/validationHandler.ts",
1263
+ "declarations": [],
1264
+ "exports": []
1265
+ },
924
1266
  {
925
1267
  "kind": "javascript-module",
926
1268
  "path": "src/webModel/webModel.ts",
@@ -2031,348 +2373,6 @@
2031
2373
  "declarations": [],
2032
2374
  "exports": []
2033
2375
  },
2034
- {
2035
- "kind": "javascript-module",
2036
- "path": "src/types/APIKey.ts",
2037
- "declarations": [],
2038
- "exports": []
2039
- },
2040
- {
2041
- "kind": "javascript-module",
2042
- "path": "src/types/GCP.ts",
2043
- "declarations": [],
2044
- "exports": []
2045
- },
2046
- {
2047
- "kind": "javascript-module",
2048
- "path": "src/types/assemblyAI.ts",
2049
- "declarations": [],
2050
- "exports": []
2051
- },
2052
- {
2053
- "kind": "javascript-module",
2054
- "path": "src/types/assemblyAIResult.ts",
2055
- "declarations": [],
2056
- "exports": []
2057
- },
2058
- {
2059
- "kind": "javascript-module",
2060
- "path": "src/types/avatars.ts",
2061
- "declarations": [],
2062
- "exports": []
2063
- },
2064
- {
2065
- "kind": "javascript-module",
2066
- "path": "src/types/azure.ts",
2067
- "declarations": [],
2068
- "exports": []
2069
- },
2070
- {
2071
- "kind": "javascript-module",
2072
- "path": "src/types/azureResult.ts",
2073
- "declarations": [],
2074
- "exports": []
2075
- },
2076
- {
2077
- "kind": "javascript-module",
2078
- "path": "src/types/button.ts",
2079
- "declarations": [],
2080
- "exports": []
2081
- },
2082
- {
2083
- "kind": "javascript-module",
2084
- "path": "src/types/buttonInternal.ts",
2085
- "declarations": [],
2086
- "exports": []
2087
- },
2088
- {
2089
- "kind": "javascript-module",
2090
- "path": "src/types/buttonTypes.ts",
2091
- "declarations": [],
2092
- "exports": []
2093
- },
2094
- {
2095
- "kind": "javascript-module",
2096
- "path": "src/types/camera.ts",
2097
- "declarations": [],
2098
- "exports": []
2099
- },
2100
- {
2101
- "kind": "javascript-module",
2102
- "path": "src/types/chatLimits.ts",
2103
- "declarations": [],
2104
- "exports": []
2105
- },
2106
- {
2107
- "kind": "javascript-module",
2108
- "path": "src/types/cohere.ts",
2109
- "declarations": [],
2110
- "exports": []
2111
- },
2112
- {
2113
- "kind": "javascript-module",
2114
- "path": "src/types/cohereResult.ts",
2115
- "declarations": [],
2116
- "exports": []
2117
- },
2118
- {
2119
- "kind": "javascript-module",
2120
- "path": "src/types/connect.ts",
2121
- "declarations": [],
2122
- "exports": []
2123
- },
2124
- {
2125
- "kind": "javascript-module",
2126
- "path": "src/types/demo.ts",
2127
- "declarations": [],
2128
- "exports": []
2129
- },
2130
- {
2131
- "kind": "javascript-module",
2132
- "path": "src/types/directConnection.ts",
2133
- "declarations": [],
2134
- "exports": []
2135
- },
2136
- {
2137
- "kind": "javascript-module",
2138
- "path": "src/types/dropupStyles.ts",
2139
- "declarations": [],
2140
- "exports": []
2141
- },
2142
- {
2143
- "kind": "javascript-module",
2144
- "path": "src/types/error.ts",
2145
- "declarations": [],
2146
- "exports": []
2147
- },
2148
- {
2149
- "kind": "javascript-module",
2150
- "path": "src/types/errorInternal.ts",
2151
- "declarations": [],
2152
- "exports": []
2153
- },
2154
- {
2155
- "kind": "javascript-module",
2156
- "path": "src/types/fileAttachments.ts",
2157
- "declarations": [],
2158
- "exports": []
2159
- },
2160
- {
2161
- "kind": "javascript-module",
2162
- "path": "src/types/fileServiceConfigs.ts",
2163
- "declarations": [],
2164
- "exports": []
2165
- },
2166
- {
2167
- "kind": "javascript-module",
2168
- "path": "src/types/fileTypes.ts",
2169
- "declarations": [],
2170
- "exports": []
2171
- },
2172
- {
2173
- "kind": "javascript-module",
2174
- "path": "src/types/genericInputButton.ts",
2175
- "declarations": [],
2176
- "exports": []
2177
- },
2178
- {
2179
- "kind": "javascript-module",
2180
- "path": "src/types/handler.ts",
2181
- "declarations": [],
2182
- "exports": []
2183
- },
2184
- {
2185
- "kind": "javascript-module",
2186
- "path": "src/types/headers.ts",
2187
- "declarations": [],
2188
- "exports": []
2189
- },
2190
- {
2191
- "kind": "javascript-module",
2192
- "path": "src/types/history.ts",
2193
- "declarations": [],
2194
- "exports": []
2195
- },
2196
- {
2197
- "kind": "javascript-module",
2198
- "path": "src/types/html.ts",
2199
- "declarations": [],
2200
- "exports": []
2201
- },
2202
- {
2203
- "kind": "javascript-module",
2204
- "path": "src/types/huggingFace.ts",
2205
- "declarations": [],
2206
- "exports": []
2207
- },
2208
- {
2209
- "kind": "javascript-module",
2210
- "path": "src/types/huggingFaceResult.ts",
2211
- "declarations": [],
2212
- "exports": []
2213
- },
2214
- {
2215
- "kind": "javascript-module",
2216
- "path": "src/types/insertKeyViewStyles.ts",
2217
- "declarations": [],
2218
- "exports": []
2219
- },
2220
- {
2221
- "kind": "javascript-module",
2222
- "path": "src/types/interceptors.ts",
2223
- "declarations": [],
2224
- "exports": []
2225
- },
2226
- {
2227
- "kind": "javascript-module",
2228
- "path": "src/types/keyVerificationDetails.ts",
2229
- "declarations": [],
2230
- "exports": []
2231
- },
2232
- {
2233
- "kind": "javascript-module",
2234
- "path": "src/types/messageFile.ts",
2235
- "declarations": [],
2236
- "exports": []
2237
- },
2238
- {
2239
- "kind": "javascript-module",
2240
- "path": "src/types/messages.ts",
2241
- "declarations": [],
2242
- "exports": []
2243
- },
2244
- {
2245
- "kind": "javascript-module",
2246
- "path": "src/types/messagesInternal.ts",
2247
- "declarations": [],
2248
- "exports": []
2249
- },
2250
- {
2251
- "kind": "javascript-module",
2252
- "path": "src/types/microphone.ts",
2253
- "declarations": [],
2254
- "exports": []
2255
- },
2256
- {
2257
- "kind": "javascript-module",
2258
- "path": "src/types/mistral.ts",
2259
- "declarations": [],
2260
- "exports": []
2261
- },
2262
- {
2263
- "kind": "javascript-module",
2264
- "path": "src/types/names.ts",
2265
- "declarations": [],
2266
- "exports": []
2267
- },
2268
- {
2269
- "kind": "javascript-module",
2270
- "path": "src/types/object.ts",
2271
- "declarations": [],
2272
- "exports": []
2273
- },
2274
- {
2275
- "kind": "javascript-module",
2276
- "path": "src/types/openAI.ts",
2277
- "declarations": [],
2278
- "exports": []
2279
- },
2280
- {
2281
- "kind": "javascript-module",
2282
- "path": "src/types/openAIInternal.ts",
2283
- "declarations": [],
2284
- "exports": []
2285
- },
2286
- {
2287
- "kind": "javascript-module",
2288
- "path": "src/types/openAIResult.ts",
2289
- "declarations": [],
2290
- "exports": []
2291
- },
2292
- {
2293
- "kind": "javascript-module",
2294
- "path": "src/types/permittedErrorMessage.ts",
2295
- "declarations": [],
2296
- "exports": []
2297
- },
2298
- {
2299
- "kind": "javascript-module",
2300
- "path": "src/types/response.ts",
2301
- "declarations": [],
2302
- "exports": []
2303
- },
2304
- {
2305
- "kind": "javascript-module",
2306
- "path": "src/types/responseInternal.ts",
2307
- "declarations": [],
2308
- "exports": []
2309
- },
2310
- {
2311
- "kind": "javascript-module",
2312
- "path": "src/types/stabilityAI.ts",
2313
- "declarations": [],
2314
- "exports": []
2315
- },
2316
- {
2317
- "kind": "javascript-module",
2318
- "path": "src/types/stabilityAIResult.ts",
2319
- "declarations": [],
2320
- "exports": []
2321
- },
2322
- {
2323
- "kind": "javascript-module",
2324
- "path": "src/types/stream.ts",
2325
- "declarations": [],
2326
- "exports": []
2327
- },
2328
- {
2329
- "kind": "javascript-module",
2330
- "path": "src/types/styles.ts",
2331
- "declarations": [],
2332
- "exports": []
2333
- },
2334
- {
2335
- "kind": "javascript-module",
2336
- "path": "src/types/submitButton.ts",
2337
- "declarations": [],
2338
- "exports": []
2339
- },
2340
- {
2341
- "kind": "javascript-module",
2342
- "path": "src/types/textInput.ts",
2343
- "declarations": [],
2344
- "exports": []
2345
- },
2346
- {
2347
- "kind": "javascript-module",
2348
- "path": "src/types/textToSpeech.ts",
2349
- "declarations": [],
2350
- "exports": []
2351
- },
2352
- {
2353
- "kind": "javascript-module",
2354
- "path": "src/types/typeConverters.ts",
2355
- "declarations": [],
2356
- "exports": []
2357
- },
2358
- {
2359
- "kind": "javascript-module",
2360
- "path": "src/types/utilityTypes.ts",
2361
- "declarations": [],
2362
- "exports": []
2363
- },
2364
- {
2365
- "kind": "javascript-module",
2366
- "path": "src/types/validateInput.ts",
2367
- "declarations": [],
2368
- "exports": []
2369
- },
2370
- {
2371
- "kind": "javascript-module",
2372
- "path": "src/types/validationHandler.ts",
2373
- "declarations": [],
2374
- "exports": []
2375
- },
2376
2376
  {
2377
2377
  "kind": "javascript-module",
2378
2378
  "path": "src/services/assemblyAI/assemblyAIAudioIO.ts",
@@ -3662,21 +3662,13 @@
3662
3662
  "module": "src/services/openAI/assistant/openAIAssistantIOI.ts"
3663
3663
  }
3664
3664
  },
3665
- {
3666
- "kind": "field",
3667
- "name": "isTextInputDisabled",
3668
- "type": {
3669
- "text": "boolean"
3670
- },
3671
- "default": "false"
3672
- },
3673
3665
  {
3674
3666
  "kind": "field",
3675
3667
  "name": "insertKeyPlaceholderText",
3676
3668
  "type": {
3677
3669
  "text": "string"
3678
3670
  },
3679
- "default": "'OpenAI API Key'",
3671
+ "default": "'Azure OpenAI API Key'",
3680
3672
  "inheritedFrom": {
3681
3673
  "name": "DirectServiceIO",
3682
3674
  "module": "src/services/utils/directServiceIO.ts"
@@ -3688,12 +3680,20 @@
3688
3680
  "type": {
3689
3681
  "text": "string"
3690
3682
  },
3691
- "default": "'https://platform.openai.com/account/api-keys'",
3683
+ "default": "'https://learn.microsoft.com/en-us/answers/questions/1193991/how-to-get-the-value-of-openai-api-key'",
3692
3684
  "inheritedFrom": {
3693
3685
  "name": "DirectServiceIO",
3694
3686
  "module": "src/services/utils/directServiceIO.ts"
3695
3687
  }
3696
3688
  },
3689
+ {
3690
+ "kind": "field",
3691
+ "name": "isTextInputDisabled",
3692
+ "type": {
3693
+ "text": "boolean"
3694
+ },
3695
+ "default": "false"
3696
+ },
3697
3697
  {
3698
3698
  "kind": "field",
3699
3699
  "name": "url",
@@ -28006,110 +28006,162 @@
28006
28006
  },
28007
28007
  {
28008
28008
  "kind": "javascript-module",
28009
- "path": "src/views/chat/chatView.ts",
28009
+ "path": "src/utils/HTTP/HTTPRequest.ts",
28010
28010
  "declarations": [
28011
28011
  {
28012
28012
  "kind": "class",
28013
28013
  "description": "",
28014
- "name": "ChatView",
28014
+ "name": "HTTPRequest",
28015
28015
  "members": [
28016
28016
  {
28017
28017
  "kind": "method",
28018
- "name": "createElements",
28019
- "privacy": "private",
28018
+ "name": "request",
28019
+ "privacy": "public",
28020
28020
  "static": true,
28021
28021
  "parameters": [
28022
28022
  {
28023
- "name": "deepChat",
28023
+ "name": "io",
28024
28024
  "type": {
28025
- "text": "DeepChat"
28025
+ "text": "ServiceIO"
28026
28026
  }
28027
28027
  },
28028
28028
  {
28029
- "name": "serviceIO",
28029
+ "name": "body",
28030
28030
  "type": {
28031
- "text": "ServiceIO"
28031
+ "text": "object"
28032
28032
  }
28033
28033
  },
28034
28034
  {
28035
- "name": "panel",
28036
- "optional": true,
28035
+ "name": "messages",
28037
28036
  "type": {
28038
- "text": "HTMLElement"
28037
+ "text": "Messages"
28039
28038
  }
28039
+ },
28040
+ {
28041
+ "name": "stringifyBody",
28042
+ "default": "true"
28040
28043
  }
28041
28044
  ]
28042
28045
  },
28043
28046
  {
28044
28047
  "kind": "method",
28045
- "name": "render",
28048
+ "name": "executePollRequest",
28046
28049
  "privacy": "public",
28047
28050
  "static": true,
28048
28051
  "parameters": [
28049
28052
  {
28050
- "name": "deepChat",
28053
+ "name": "io",
28051
28054
  "type": {
28052
- "text": "DeepChat"
28055
+ "text": "ServiceIO"
28053
28056
  }
28054
28057
  },
28055
28058
  {
28056
- "name": "containerRef",
28059
+ "name": "url",
28057
28060
  "type": {
28058
- "text": "HTMLElement"
28061
+ "text": "string"
28059
28062
  }
28060
28063
  },
28061
28064
  {
28062
- "name": "serviceIO",
28065
+ "name": "requestInit",
28066
+ "type": {
28067
+ "text": "RequestInit"
28068
+ }
28069
+ },
28070
+ {
28071
+ "name": "messages",
28072
+ "type": {
28073
+ "text": "Messages"
28074
+ }
28075
+ }
28076
+ ]
28077
+ },
28078
+ {
28079
+ "kind": "method",
28080
+ "name": "poll",
28081
+ "privacy": "public",
28082
+ "static": true,
28083
+ "parameters": [
28084
+ {
28085
+ "name": "io",
28063
28086
  "type": {
28064
28087
  "text": "ServiceIO"
28065
28088
  }
28066
28089
  },
28067
28090
  {
28068
- "name": "panel",
28069
- "optional": true,
28091
+ "name": "body",
28070
28092
  "type": {
28071
- "text": "HTMLElement"
28093
+ "text": "object"
28072
28094
  }
28095
+ },
28096
+ {
28097
+ "name": "messages",
28098
+ "type": {
28099
+ "text": "Messages"
28100
+ }
28101
+ },
28102
+ {
28103
+ "name": "stringifyBody",
28104
+ "default": "true"
28073
28105
  }
28074
28106
  ]
28075
- }
28076
- ]
28077
- }
28078
- ],
28079
- "exports": [
28080
- {
28081
- "kind": "js",
28082
- "name": "ChatView",
28083
- "declaration": {
28084
- "name": "ChatView",
28085
- "module": "src/views/chat/chatView.ts"
28086
- }
28087
- }
28088
- ]
28089
- },
28090
- {
28091
- "kind": "javascript-module",
28092
- "path": "src/views/error/errorView.ts",
28093
- "declarations": [
28094
- {
28095
- "kind": "class",
28096
- "description": "",
28097
- "name": "ErrorView",
28098
- "members": [
28107
+ },
28099
28108
  {
28100
28109
  "kind": "method",
28101
- "name": "render",
28110
+ "name": "verifyKey",
28102
28111
  "privacy": "public",
28103
28112
  "static": true,
28104
28113
  "parameters": [
28105
28114
  {
28106
- "name": "containerElement",
28115
+ "name": "key",
28107
28116
  "type": {
28108
- "text": "HTMLElement"
28117
+ "text": "string"
28109
28118
  }
28110
28119
  },
28111
28120
  {
28112
- "name": "text",
28121
+ "name": "url",
28122
+ "type": {
28123
+ "text": "string"
28124
+ }
28125
+ },
28126
+ {
28127
+ "name": "headers",
28128
+ "type": {
28129
+ "text": "HeadersInit"
28130
+ }
28131
+ },
28132
+ {
28133
+ "name": "method",
28134
+ "type": {
28135
+ "text": "string"
28136
+ }
28137
+ },
28138
+ {
28139
+ "name": "onSuccess",
28140
+ "type": {
28141
+ "text": "(key: string) => void"
28142
+ }
28143
+ },
28144
+ {
28145
+ "name": "onFail",
28146
+ "type": {
28147
+ "text": "(message: string) => void"
28148
+ }
28149
+ },
28150
+ {
28151
+ "name": "onLoad",
28152
+ "type": {
28153
+ "text": "() => void"
28154
+ }
28155
+ },
28156
+ {
28157
+ "name": "handleVerificationResult",
28158
+ "type": {
28159
+ "text": "HandleVerificationResult"
28160
+ }
28161
+ },
28162
+ {
28163
+ "name": "body",
28164
+ "optional": true,
28113
28165
  "type": {
28114
28166
  "text": "string"
28115
28167
  }
@@ -28122,281 +28174,313 @@
28122
28174
  "exports": [
28123
28175
  {
28124
28176
  "kind": "js",
28125
- "name": "ErrorView",
28177
+ "name": "HTTPRequest",
28126
28178
  "declaration": {
28127
- "name": "ErrorView",
28128
- "module": "src/views/error/errorView.ts"
28179
+ "name": "HTTPRequest",
28180
+ "module": "src/utils/HTTP/HTTPRequest.ts"
28129
28181
  }
28130
28182
  }
28131
28183
  ]
28132
28184
  },
28133
28185
  {
28134
28186
  "kind": "javascript-module",
28135
- "path": "src/views/insertKey/insertKeyView.ts",
28187
+ "path": "src/utils/HTTP/customHandler.ts",
28136
28188
  "declarations": [
28137
28189
  {
28138
28190
  "kind": "class",
28139
28191
  "description": "",
28140
- "name": "InsertKeyView",
28192
+ "name": "CustomHandler",
28141
28193
  "members": [
28142
28194
  {
28143
28195
  "kind": "method",
28144
- "name": "createCautionText",
28145
- "privacy": "private",
28146
- "static": true
28147
- },
28148
- {
28149
- "kind": "method",
28150
- "name": "createHelpLink",
28151
- "privacy": "private",
28196
+ "name": "request",
28197
+ "privacy": "public",
28152
28198
  "static": true,
28153
28199
  "parameters": [
28154
28200
  {
28155
- "name": "keyHelpUrl",
28201
+ "name": "io",
28156
28202
  "type": {
28157
- "text": "string"
28203
+ "text": "ServiceIO"
28204
+ }
28205
+ },
28206
+ {
28207
+ "name": "body",
28208
+ "type": {
28209
+ "text": "RequestDetails['body']"
28210
+ }
28211
+ },
28212
+ {
28213
+ "name": "messages",
28214
+ "type": {
28215
+ "text": "Messages"
28158
28216
  }
28159
28217
  }
28160
28218
  ]
28161
28219
  },
28162
28220
  {
28163
28221
  "kind": "method",
28164
- "name": "createFailText",
28165
- "privacy": "private",
28166
- "static": true
28167
- },
28168
- {
28169
- "kind": "method",
28170
- "name": "createHelpTextContainer",
28222
+ "name": "attemptToFinaliseStream",
28171
28223
  "privacy": "private",
28172
28224
  "static": true,
28173
28225
  "parameters": [
28174
28226
  {
28175
- "name": "keyHelpUrl",
28176
- "optional": true,
28227
+ "name": "stream",
28177
28228
  "type": {
28178
- "text": "string"
28229
+ "text": "MessageStream"
28179
28230
  }
28180
28231
  },
28181
28232
  {
28182
- "name": "displayCaution",
28183
- "default": "true"
28233
+ "name": "messages",
28234
+ "type": {
28235
+ "text": "Messages"
28236
+ }
28184
28237
  }
28185
28238
  ]
28186
28239
  },
28187
28240
  {
28188
28241
  "kind": "method",
28189
- "name": "onFail",
28190
- "privacy": "private",
28242
+ "name": "stream",
28243
+ "privacy": "public",
28191
28244
  "static": true,
28192
28245
  "parameters": [
28193
28246
  {
28194
- "name": "inputEl",
28195
- "type": {
28196
- "text": "HTMLInputElement"
28197
- }
28198
- },
28199
- {
28200
- "name": "startEl",
28247
+ "name": "io",
28201
28248
  "type": {
28202
- "text": "HTMLElement"
28249
+ "text": "ServiceIO"
28203
28250
  }
28204
28251
  },
28205
28252
  {
28206
- "name": "failTextEl",
28253
+ "name": "body",
28207
28254
  "type": {
28208
- "text": "HTMLElement"
28255
+ "text": "RequestDetails['body']"
28209
28256
  }
28210
28257
  },
28211
28258
  {
28212
- "name": "message",
28259
+ "name": "messages",
28213
28260
  "type": {
28214
- "text": "string"
28261
+ "text": "Messages"
28215
28262
  }
28216
28263
  }
28217
28264
  ]
28218
28265
  },
28219
28266
  {
28220
28267
  "kind": "method",
28221
- "name": "onLoad",
28222
- "privacy": "private",
28268
+ "name": "websocket",
28269
+ "privacy": "public",
28223
28270
  "static": true,
28224
28271
  "parameters": [
28225
28272
  {
28226
- "name": "inputEl",
28273
+ "name": "io",
28227
28274
  "type": {
28228
- "text": "HTMLInputElement"
28275
+ "text": "ServiceIO"
28229
28276
  }
28230
28277
  },
28231
28278
  {
28232
- "name": "startEl",
28279
+ "name": "messages",
28233
28280
  "type": {
28234
- "text": "HTMLElement"
28281
+ "text": "Messages"
28235
28282
  }
28236
28283
  }
28237
28284
  ]
28238
28285
  },
28239
28286
  {
28240
28287
  "kind": "method",
28241
- "name": "verifyKey",
28288
+ "name": "generateOptionalSignals",
28242
28289
  "privacy": "private",
28290
+ "static": true
28291
+ }
28292
+ ]
28293
+ }
28294
+ ],
28295
+ "exports": [
28296
+ {
28297
+ "kind": "js",
28298
+ "name": "CustomHandler",
28299
+ "declaration": {
28300
+ "name": "CustomHandler",
28301
+ "module": "src/utils/HTTP/customHandler.ts"
28302
+ }
28303
+ }
28304
+ ]
28305
+ },
28306
+ {
28307
+ "kind": "javascript-module",
28308
+ "path": "src/utils/HTTP/requestUtils.ts",
28309
+ "declarations": [
28310
+ {
28311
+ "kind": "class",
28312
+ "description": "",
28313
+ "name": "RequestUtils",
28314
+ "members": [
28315
+ {
28316
+ "kind": "field",
28317
+ "name": "CONTENT_TYPE",
28318
+ "type": {
28319
+ "text": "string"
28320
+ },
28321
+ "privacy": "public",
28322
+ "static": true,
28323
+ "readonly": true,
28324
+ "default": "'Content-Type'"
28325
+ },
28326
+ {
28327
+ "kind": "method",
28328
+ "name": "tempRemoveContentHeader",
28329
+ "privacy": "public",
28243
28330
  "static": true,
28244
28331
  "parameters": [
28245
28332
  {
28246
- "name": "inputElement",
28333
+ "name": "connectSettings",
28247
28334
  "type": {
28248
- "text": "HTMLInputElement"
28335
+ "text": "Connect | undefined"
28249
28336
  }
28250
28337
  },
28251
28338
  {
28252
- "name": "keyVerificationHandlers",
28339
+ "name": "request",
28253
28340
  "type": {
28254
- "text": "KeyVerificationHandlers"
28341
+ "text": "(stringifyBody?: boolean) => Promise<unknown>"
28255
28342
  }
28256
28343
  },
28257
28344
  {
28258
- "name": "serviceIO",
28345
+ "name": "stringifyBody",
28259
28346
  "type": {
28260
- "text": "ServiceIO"
28347
+ "text": "boolean"
28261
28348
  }
28262
28349
  }
28263
28350
  ]
28264
28351
  },
28265
28352
  {
28266
28353
  "kind": "method",
28267
- "name": "addVerificationEvents",
28268
- "privacy": "private",
28354
+ "name": "displayError",
28355
+ "privacy": "public",
28269
28356
  "static": true,
28270
28357
  "parameters": [
28271
28358
  {
28272
- "name": "inputEl",
28359
+ "name": "messages",
28273
28360
  "type": {
28274
- "text": "HTMLInputElement"
28361
+ "text": "Messages"
28275
28362
  }
28276
28363
  },
28277
28364
  {
28278
- "name": "startEl",
28365
+ "name": "err",
28279
28366
  "type": {
28280
- "text": "HTMLElement"
28367
+ "text": "ErrorResp"
28281
28368
  }
28282
28369
  },
28283
28370
  {
28284
- "name": "failTextEl",
28371
+ "name": "defMessage",
28372
+ "default": "'Service error, please try again.'"
28373
+ }
28374
+ ]
28375
+ },
28376
+ {
28377
+ "kind": "method",
28378
+ "name": "fetch",
28379
+ "privacy": "public",
28380
+ "static": true,
28381
+ "parameters": [
28382
+ {
28383
+ "name": "io",
28285
28384
  "type": {
28286
- "text": "HTMLElement"
28385
+ "text": "ServiceIO"
28287
28386
  }
28288
28387
  },
28289
28388
  {
28290
- "name": "changeToChat",
28389
+ "name": "headers",
28291
28390
  "type": {
28292
- "text": "() => void"
28391
+ "text": "GenericObject<string> | undefined"
28293
28392
  }
28294
28393
  },
28295
28394
  {
28296
- "name": "serviceIO",
28395
+ "name": "stringifyBody",
28297
28396
  "type": {
28298
- "text": "ServiceIO"
28397
+ "text": "boolean"
28299
28398
  }
28300
- }
28301
- ]
28302
- },
28303
- {
28304
- "kind": "method",
28305
- "name": "createStartButton",
28306
- "privacy": "private",
28307
- "static": true
28308
- },
28309
- {
28310
- "kind": "method",
28311
- "name": "onInputFocus",
28312
- "privacy": "private",
28313
- "static": true,
28314
- "parameters": [
28399
+ },
28315
28400
  {
28316
- "name": "event",
28401
+ "name": "body",
28317
28402
  "type": {
28318
- "text": "FocusEvent"
28403
+ "text": "any"
28319
28404
  }
28320
28405
  }
28321
28406
  ]
28322
28407
  },
28323
28408
  {
28324
28409
  "kind": "method",
28325
- "name": "createInput",
28326
- "privacy": "private",
28410
+ "name": "processResponseByType",
28411
+ "privacy": "public",
28327
28412
  "static": true,
28328
28413
  "parameters": [
28329
28414
  {
28330
- "name": "placeholderText",
28331
- "optional": true,
28415
+ "name": "response",
28332
28416
  "type": {
28333
- "text": "string"
28417
+ "text": "Response"
28334
28418
  }
28335
28419
  }
28336
28420
  ]
28337
28421
  },
28338
28422
  {
28339
28423
  "kind": "method",
28340
- "name": "createContents",
28341
- "privacy": "private",
28424
+ "name": "processRequestInterceptor",
28425
+ "privacy": "public",
28342
28426
  "static": true,
28427
+ "return": {
28428
+ "type": {
28429
+ "text": "InterceptorResultP"
28430
+ }
28431
+ },
28343
28432
  "parameters": [
28344
28433
  {
28345
- "name": "changeToChat",
28434
+ "name": "deepChat",
28346
28435
  "type": {
28347
- "text": "() => void"
28436
+ "text": "DeepChat"
28348
28437
  }
28349
28438
  },
28350
28439
  {
28351
- "name": "serviceIO",
28440
+ "name": "requestDetails",
28352
28441
  "type": {
28353
- "text": "ServiceIO"
28442
+ "text": "RequestDetails"
28354
28443
  }
28355
28444
  }
28356
28445
  ]
28357
28446
  },
28358
28447
  {
28359
28448
  "kind": "method",
28360
- "name": "createElements",
28361
- "privacy": "private",
28449
+ "name": "validateResponseFormat",
28450
+ "privacy": "public",
28362
28451
  "static": true,
28363
28452
  "parameters": [
28364
28453
  {
28365
- "name": "changeToChat",
28366
- "type": {
28367
- "text": "() => void"
28368
- }
28369
- },
28370
- {
28371
- "name": "serviceIO",
28454
+ "name": "response",
28372
28455
  "type": {
28373
- "text": "ServiceIO"
28456
+ "text": "ResponseI"
28374
28457
  }
28375
28458
  }
28376
28459
  ]
28377
28460
  },
28378
28461
  {
28379
28462
  "kind": "method",
28380
- "name": "render",
28463
+ "name": "onInterceptorError",
28381
28464
  "privacy": "public",
28382
28465
  "static": true,
28383
28466
  "parameters": [
28384
28467
  {
28385
- "name": "containerRef",
28468
+ "name": "messages",
28386
28469
  "type": {
28387
- "text": "HTMLElement"
28470
+ "text": "Messages"
28388
28471
  }
28389
28472
  },
28390
28473
  {
28391
- "name": "changeToChat",
28474
+ "name": "error",
28392
28475
  "type": {
28393
- "text": "() => void"
28476
+ "text": "string"
28394
28477
  }
28395
28478
  },
28396
28479
  {
28397
- "name": "serviceIO",
28480
+ "name": "onFinish",
28481
+ "optional": true,
28398
28482
  "type": {
28399
- "text": "ServiceIO"
28483
+ "text": "() => void"
28400
28484
  }
28401
28485
  }
28402
28486
  ]
@@ -28407,343 +28491,212 @@
28407
28491
  "exports": [
28408
28492
  {
28409
28493
  "kind": "js",
28410
- "name": "InsertKeyView",
28494
+ "name": "RequestUtils",
28411
28495
  "declaration": {
28412
- "name": "InsertKeyView",
28413
- "module": "src/views/insertKey/insertKeyView.ts"
28496
+ "name": "RequestUtils",
28497
+ "module": "src/utils/HTTP/requestUtils.ts"
28414
28498
  }
28415
28499
  }
28416
28500
  ]
28417
28501
  },
28418
28502
  {
28419
28503
  "kind": "javascript-module",
28420
- "path": "src/views/insertKey/visibilityIcon.ts",
28504
+ "path": "src/utils/HTTP/stream.ts",
28421
28505
  "declarations": [
28422
28506
  {
28423
28507
  "kind": "class",
28424
28508
  "description": "",
28425
- "name": "VisibilityIcon",
28509
+ "name": "Stream",
28426
28510
  "members": [
28427
- {
28428
- "kind": "field",
28429
- "name": "VISIBLE_ICON_ID",
28430
- "type": {
28431
- "text": "string"
28432
- },
28433
- "privacy": "private",
28434
- "static": true,
28435
- "readonly": true,
28436
- "default": "'visible-icon'"
28437
- },
28438
28511
  {
28439
28512
  "kind": "method",
28440
- "name": "changeVisibility",
28441
- "privacy": "private",
28513
+ "name": "request",
28514
+ "privacy": "public",
28442
28515
  "static": true,
28443
28516
  "parameters": [
28444
28517
  {
28445
- "name": "inputElement",
28518
+ "name": "io",
28446
28519
  "type": {
28447
- "text": "HTMLInputElement"
28520
+ "text": "ServiceIO"
28448
28521
  }
28449
28522
  },
28450
28523
  {
28451
- "name": "visibleIcon",
28524
+ "name": "body",
28452
28525
  "type": {
28453
- "text": "SVGGraphicsElement"
28526
+ "text": "object"
28454
28527
  }
28455
28528
  },
28456
28529
  {
28457
- "name": "notVisibleIcon",
28530
+ "name": "messages",
28458
28531
  "type": {
28459
- "text": "SVGGraphicsElement"
28532
+ "text": "Messages"
28460
28533
  }
28461
28534
  },
28462
28535
  {
28463
- "name": "event",
28464
- "type": {
28465
- "text": "MouseEvent"
28466
- }
28536
+ "name": "stringifyBody",
28537
+ "default": "true"
28538
+ },
28539
+ {
28540
+ "name": "canBeEmpty",
28541
+ "default": "false"
28467
28542
  }
28468
28543
  ]
28469
28544
  },
28470
28545
  {
28471
28546
  "kind": "method",
28472
- "name": "createIconElement",
28473
- "privacy": "private",
28547
+ "name": "simulate",
28548
+ "privacy": "public",
28474
28549
  "static": true,
28475
28550
  "parameters": [
28476
28551
  {
28477
- "name": "iconString",
28552
+ "name": "messages",
28478
28553
  "type": {
28479
- "text": "string"
28554
+ "text": "Messages"
28480
28555
  }
28481
28556
  },
28482
28557
  {
28483
- "name": "id",
28558
+ "name": "sh",
28484
28559
  "type": {
28485
- "text": "string"
28560
+ "text": "StreamHandlers"
28561
+ }
28562
+ },
28563
+ {
28564
+ "name": "result",
28565
+ "type": {
28566
+ "text": "ResponseI"
28486
28567
  }
28487
28568
  }
28488
28569
  ]
28489
28570
  },
28490
28571
  {
28491
28572
  "kind": "method",
28492
- "name": "create",
28493
- "privacy": "public",
28573
+ "name": "populateMessages",
28574
+ "privacy": "private",
28494
28575
  "static": true,
28495
28576
  "parameters": [
28496
28577
  {
28497
- "name": "inputElement",
28578
+ "name": "responseStrings",
28498
28579
  "type": {
28499
- "text": "HTMLInputElement"
28580
+ "text": "string[]"
28500
28581
  }
28501
- }
28502
- ]
28503
- }
28504
- ]
28505
- }
28506
- ],
28507
- "exports": [
28508
- {
28509
- "kind": "js",
28510
- "name": "VisibilityIcon",
28511
- "declaration": {
28512
- "name": "VisibilityIcon",
28513
- "module": "src/views/insertKey/visibilityIcon.ts"
28514
- }
28515
- }
28516
- ]
28517
- },
28518
- {
28519
- "kind": "javascript-module",
28520
- "path": "src/views/validateKeyProperty/validateKeyPropertyView.ts",
28521
- "declarations": [
28522
- {
28523
- "kind": "class",
28524
- "description": "",
28525
- "name": "ValidateKeyPropertyView",
28526
- "members": [
28527
- {
28528
- "kind": "method",
28529
- "name": "onLoad",
28530
- "privacy": "private",
28531
- "static": true,
28532
- "parameters": [
28582
+ },
28533
28583
  {
28534
- "name": "startElement",
28584
+ "name": "stream",
28535
28585
  "type": {
28536
- "text": "HTMLElement"
28586
+ "text": "MessageStream"
28537
28587
  }
28538
- }
28539
- ]
28540
- },
28541
- {
28542
- "kind": "method",
28543
- "name": "createElements",
28544
- "privacy": "private",
28545
- "static": true
28546
- },
28547
- {
28548
- "kind": "method",
28549
- "name": "render",
28550
- "privacy": "public",
28551
- "static": true,
28552
- "parameters": [
28588
+ },
28553
28589
  {
28554
- "name": "containerRef",
28590
+ "name": "sh",
28555
28591
  "type": {
28556
- "text": "HTMLElement"
28592
+ "text": "SimulationSH"
28557
28593
  }
28558
28594
  },
28559
28595
  {
28560
- "name": "changeToChat",
28596
+ "name": "type",
28561
28597
  "type": {
28562
- "text": "() => void"
28598
+ "text": "'text'|'html'"
28563
28599
  }
28564
28600
  },
28565
28601
  {
28566
- "name": "serviceIO",
28567
- "type": {
28568
- "text": "ServiceIO"
28569
- }
28602
+ "name": "charIndex",
28603
+ "default": "0"
28570
28604
  }
28571
28605
  ]
28572
- }
28573
- ]
28574
- }
28575
- ],
28576
- "exports": [
28577
- {
28578
- "kind": "js",
28579
- "name": "ValidateKeyPropertyView",
28580
- "declaration": {
28581
- "name": "ValidateKeyPropertyView",
28582
- "module": "src/views/validateKeyProperty/validateKeyPropertyView.ts"
28583
- }
28584
- }
28585
- ]
28586
- },
28587
- {
28588
- "kind": "javascript-module",
28589
- "path": "src/utils/HTTP/HTTPRequest.ts",
28590
- "declarations": [
28591
- {
28592
- "kind": "class",
28593
- "description": "",
28594
- "name": "HTTPRequest",
28595
- "members": [
28606
+ },
28596
28607
  {
28597
28608
  "kind": "method",
28598
- "name": "request",
28609
+ "name": "isSimulation",
28599
28610
  "privacy": "public",
28600
28611
  "static": true,
28601
28612
  "parameters": [
28602
28613
  {
28603
- "name": "io",
28604
- "type": {
28605
- "text": "ServiceIO"
28606
- }
28607
- },
28608
- {
28609
- "name": "body",
28610
- "type": {
28611
- "text": "object"
28612
- }
28613
- },
28614
- {
28615
- "name": "messages",
28614
+ "name": "stream",
28615
+ "optional": true,
28616
28616
  "type": {
28617
- "text": "Messages"
28617
+ "text": "StreamI"
28618
28618
  }
28619
- },
28620
- {
28621
- "name": "stringifyBody",
28622
- "default": "true"
28623
28619
  }
28624
28620
  ]
28625
28621
  },
28626
28622
  {
28627
28623
  "kind": "method",
28628
- "name": "executePollRequest",
28624
+ "name": "isSimulatable",
28629
28625
  "privacy": "public",
28630
28626
  "static": true,
28631
28627
  "parameters": [
28632
28628
  {
28633
- "name": "io",
28634
- "type": {
28635
- "text": "ServiceIO"
28636
- }
28637
- },
28638
- {
28639
- "name": "url",
28640
- "type": {
28641
- "text": "string"
28642
- }
28643
- },
28644
- {
28645
- "name": "requestInit",
28629
+ "name": "stream",
28630
+ "optional": true,
28646
28631
  "type": {
28647
- "text": "RequestInit"
28632
+ "text": "StreamI"
28648
28633
  }
28649
28634
  },
28650
28635
  {
28651
- "name": "messages",
28636
+ "name": "respone",
28637
+ "optional": true,
28652
28638
  "type": {
28653
- "text": "Messages"
28639
+ "text": "ResponseI"
28654
28640
  }
28655
28641
  }
28656
28642
  ]
28657
28643
  },
28658
28644
  {
28659
28645
  "kind": "method",
28660
- "name": "poll",
28661
- "privacy": "public",
28646
+ "name": "abort",
28647
+ "privacy": "private",
28662
28648
  "static": true,
28663
28649
  "parameters": [
28664
28650
  {
28665
- "name": "io",
28651
+ "name": "timeout",
28666
28652
  "type": {
28667
- "text": "ServiceIO"
28653
+ "text": "number"
28668
28654
  }
28669
28655
  },
28670
28656
  {
28671
- "name": "body",
28657
+ "name": "stream",
28672
28658
  "type": {
28673
- "text": "object"
28659
+ "text": "MessageStream"
28674
28660
  }
28675
28661
  },
28676
28662
  {
28677
- "name": "messages",
28663
+ "name": "onClose",
28678
28664
  "type": {
28679
- "text": "Messages"
28665
+ "text": "() => void"
28680
28666
  }
28681
- },
28682
- {
28683
- "name": "stringifyBody",
28684
- "default": "true"
28685
28667
  }
28686
28668
  ]
28687
28669
  },
28688
28670
  {
28689
28671
  "kind": "method",
28690
- "name": "verifyKey",
28672
+ "name": "upsertWFiles",
28691
28673
  "privacy": "public",
28692
28674
  "static": true,
28693
28675
  "parameters": [
28694
28676
  {
28695
- "name": "key",
28696
- "type": {
28697
- "text": "string"
28698
- }
28699
- },
28700
- {
28701
- "name": "url",
28702
- "type": {
28703
- "text": "string"
28704
- }
28705
- },
28706
- {
28707
- "name": "headers",
28708
- "type": {
28709
- "text": "HeadersInit"
28710
- }
28711
- },
28712
- {
28713
- "name": "method",
28714
- "type": {
28715
- "text": "string"
28716
- }
28717
- },
28718
- {
28719
- "name": "onSuccess",
28720
- "type": {
28721
- "text": "(key: string) => void"
28722
- }
28723
- },
28724
- {
28725
- "name": "onFail",
28677
+ "name": "messages",
28726
28678
  "type": {
28727
- "text": "(message: string) => void"
28679
+ "text": "Messages"
28728
28680
  }
28729
28681
  },
28730
28682
  {
28731
- "name": "onLoad",
28683
+ "name": "upsert",
28732
28684
  "type": {
28733
- "text": "() => void"
28685
+ "text": "UpsertFunc"
28734
28686
  }
28735
28687
  },
28736
28688
  {
28737
- "name": "handleVerificationResult",
28689
+ "name": "stream",
28690
+ "optional": true,
28738
28691
  "type": {
28739
- "text": "HandleVerificationResult"
28692
+ "text": "MessageStream"
28740
28693
  }
28741
28694
  },
28742
28695
  {
28743
- "name": "body",
28696
+ "name": "response",
28744
28697
  "optional": true,
28745
28698
  "type": {
28746
- "text": "string"
28699
+ "text": "ResponseI"
28747
28700
  }
28748
28701
  }
28749
28702
  ]
@@ -28754,26 +28707,26 @@
28754
28707
  "exports": [
28755
28708
  {
28756
28709
  "kind": "js",
28757
- "name": "HTTPRequest",
28710
+ "name": "Stream",
28758
28711
  "declaration": {
28759
- "name": "HTTPRequest",
28760
- "module": "src/utils/HTTP/HTTPRequest.ts"
28712
+ "name": "Stream",
28713
+ "module": "src/utils/HTTP/stream.ts"
28761
28714
  }
28762
28715
  }
28763
28716
  ]
28764
28717
  },
28765
28718
  {
28766
28719
  "kind": "javascript-module",
28767
- "path": "src/utils/HTTP/customHandler.ts",
28720
+ "path": "src/utils/HTTP/websocket.ts",
28768
28721
  "declarations": [
28769
28722
  {
28770
28723
  "kind": "class",
28771
28724
  "description": "",
28772
- "name": "CustomHandler",
28725
+ "name": "Websocket",
28773
28726
  "members": [
28774
28727
  {
28775
28728
  "kind": "method",
28776
- "name": "request",
28729
+ "name": "setup",
28777
28730
  "privacy": "public",
28778
28731
  "static": true,
28779
28732
  "parameters": [
@@ -28782,44 +28735,26 @@
28782
28735
  "type": {
28783
28736
  "text": "ServiceIO"
28784
28737
  }
28785
- },
28786
- {
28787
- "name": "body",
28788
- "type": {
28789
- "text": "RequestDetails['body']"
28790
- }
28791
- },
28792
- {
28793
- "name": "messages",
28794
- "type": {
28795
- "text": "Messages"
28796
- }
28797
28738
  }
28798
28739
  ]
28799
28740
  },
28800
28741
  {
28801
28742
  "kind": "method",
28802
- "name": "attemptToFinaliseStream",
28743
+ "name": "isElementPresentInDOM",
28803
28744
  "privacy": "private",
28804
28745
  "static": true,
28805
28746
  "parameters": [
28806
28747
  {
28807
- "name": "stream",
28808
- "type": {
28809
- "text": "MessageStream"
28810
- }
28811
- },
28812
- {
28813
- "name": "messages",
28748
+ "name": "deepChat",
28814
28749
  "type": {
28815
- "text": "Messages"
28750
+ "text": "DeepChat"
28816
28751
  }
28817
28752
  }
28818
28753
  ]
28819
28754
  },
28820
28755
  {
28821
28756
  "kind": "method",
28822
- "name": "stream",
28757
+ "name": "createConnection",
28823
28758
  "privacy": "public",
28824
28759
  "static": true,
28825
28760
  "parameters": [
@@ -28829,12 +28764,6 @@
28829
28764
  "text": "ServiceIO"
28830
28765
  }
28831
28766
  },
28832
- {
28833
- "name": "body",
28834
- "type": {
28835
- "text": "RequestDetails['body']"
28836
- }
28837
- },
28838
28767
  {
28839
28768
  "name": "messages",
28840
28769
  "type": {
@@ -28845,8 +28774,8 @@
28845
28774
  },
28846
28775
  {
28847
28776
  "kind": "method",
28848
- "name": "websocket",
28849
- "privacy": "public",
28777
+ "name": "retryConnection",
28778
+ "privacy": "private",
28850
28779
  "static": true,
28851
28780
  "parameters": [
28852
28781
  {
@@ -28865,97 +28794,33 @@
28865
28794
  },
28866
28795
  {
28867
28796
  "kind": "method",
28868
- "name": "generateOptionalSignals",
28797
+ "name": "assignListeners",
28869
28798
  "privacy": "private",
28870
- "static": true
28871
- }
28872
- ]
28873
- }
28874
- ],
28875
- "exports": [
28876
- {
28877
- "kind": "js",
28878
- "name": "CustomHandler",
28879
- "declaration": {
28880
- "name": "CustomHandler",
28881
- "module": "src/utils/HTTP/customHandler.ts"
28882
- }
28883
- }
28884
- ]
28885
- },
28886
- {
28887
- "kind": "javascript-module",
28888
- "path": "src/utils/HTTP/requestUtils.ts",
28889
- "declarations": [
28890
- {
28891
- "kind": "class",
28892
- "description": "",
28893
- "name": "RequestUtils",
28894
- "members": [
28895
- {
28896
- "kind": "field",
28897
- "name": "CONTENT_TYPE",
28898
- "type": {
28899
- "text": "string"
28900
- },
28901
- "privacy": "public",
28902
- "static": true,
28903
- "readonly": true,
28904
- "default": "'Content-Type'"
28905
- },
28906
- {
28907
- "kind": "method",
28908
- "name": "tempRemoveContentHeader",
28909
- "privacy": "public",
28910
28799
  "static": true,
28911
28800
  "parameters": [
28912
28801
  {
28913
- "name": "connectSettings",
28802
+ "name": "io",
28914
28803
  "type": {
28915
- "text": "Connect | undefined"
28804
+ "text": "ServiceIO"
28916
28805
  }
28917
28806
  },
28918
28807
  {
28919
- "name": "request",
28808
+ "name": "ws",
28920
28809
  "type": {
28921
- "text": "(stringifyBody?: boolean) => Promise<unknown>"
28810
+ "text": "WebSocket"
28922
28811
  }
28923
28812
  },
28924
- {
28925
- "name": "stringifyBody",
28926
- "type": {
28927
- "text": "boolean"
28928
- }
28929
- }
28930
- ]
28931
- },
28932
- {
28933
- "kind": "method",
28934
- "name": "displayError",
28935
- "privacy": "public",
28936
- "static": true,
28937
- "parameters": [
28938
28813
  {
28939
28814
  "name": "messages",
28940
28815
  "type": {
28941
28816
  "text": "Messages"
28942
28817
  }
28943
- },
28944
- {
28945
- "name": "err",
28946
- "type": {
28947
- "text": "ErrorResp"
28948
- }
28949
- },
28950
- {
28951
- "name": "defMessage",
28952
- "default": "'Service error, please try again.'"
28953
28818
  }
28954
28819
  ]
28955
28820
  },
28956
28821
  {
28957
28822
  "kind": "method",
28958
- "name": "fetch",
28823
+ "name": "sendWebsocket",
28959
28824
  "privacy": "public",
28960
28825
  "static": true,
28961
28826
  "parameters": [
@@ -28966,84 +28831,68 @@
28966
28831
  }
28967
28832
  },
28968
28833
  {
28969
- "name": "headers",
28834
+ "name": "body",
28970
28835
  "type": {
28971
- "text": "GenericObject<string> | undefined"
28836
+ "text": "object"
28972
28837
  }
28973
28838
  },
28974
28839
  {
28975
- "name": "stringifyBody",
28840
+ "name": "messages",
28976
28841
  "type": {
28977
- "text": "boolean"
28842
+ "text": "Messages"
28978
28843
  }
28979
28844
  },
28980
28845
  {
28981
- "name": "body",
28982
- "type": {
28983
- "text": "any"
28984
- }
28846
+ "name": "stringifyBody",
28847
+ "default": "true"
28985
28848
  }
28986
28849
  ]
28987
28850
  },
28988
28851
  {
28989
28852
  "kind": "method",
28990
- "name": "processResponseByType",
28853
+ "name": "canSendMessage",
28991
28854
  "privacy": "public",
28992
28855
  "static": true,
28993
28856
  "parameters": [
28994
28857
  {
28995
- "name": "response",
28858
+ "name": "websocket",
28996
28859
  "type": {
28997
- "text": "Response"
28860
+ "text": "ServiceIO['websocket']"
28998
28861
  }
28999
28862
  }
29000
28863
  ]
29001
28864
  },
29002
28865
  {
29003
28866
  "kind": "method",
29004
- "name": "processRequestInterceptor",
29005
- "privacy": "public",
28867
+ "name": "isWebSocket",
28868
+ "privacy": "private",
29006
28869
  "static": true,
29007
28870
  "return": {
29008
28871
  "type": {
29009
- "text": "InterceptorResultP"
28872
+ "text": "websocket is WebSocket"
29010
28873
  }
29011
28874
  },
29012
28875
  "parameters": [
29013
28876
  {
29014
- "name": "deepChat",
29015
- "type": {
29016
- "text": "DeepChat"
29017
- }
29018
- },
29019
- {
29020
- "name": "requestDetails",
28877
+ "name": "websocket",
29021
28878
  "type": {
29022
- "text": "RequestDetails"
28879
+ "text": "WebSocket | IWebsocketHandler"
29023
28880
  }
29024
28881
  }
29025
28882
  ]
29026
28883
  },
29027
28884
  {
29028
28885
  "kind": "method",
29029
- "name": "validateResponseFormat",
28886
+ "name": "stream",
29030
28887
  "privacy": "public",
29031
28888
  "static": true,
29032
28889
  "parameters": [
29033
28890
  {
29034
- "name": "response",
28891
+ "name": "io",
29035
28892
  "type": {
29036
- "text": "ResponseI"
28893
+ "text": "ServiceIO"
29037
28894
  }
29038
- }
29039
- ]
29040
- },
29041
- {
29042
- "kind": "method",
29043
- "name": "onInterceptorError",
29044
- "privacy": "public",
29045
- "static": true,
29046
- "parameters": [
28895
+ },
29047
28896
  {
29048
28897
  "name": "messages",
29049
28898
  "type": {
@@ -29051,16 +28900,16 @@
29051
28900
  }
29052
28901
  },
29053
28902
  {
29054
- "name": "error",
28903
+ "name": "roleToStream",
29055
28904
  "type": {
29056
- "text": "string"
28905
+ "text": "RoleToStream"
29057
28906
  }
29058
28907
  },
29059
28908
  {
29060
- "name": "onFinish",
28909
+ "name": "result",
29061
28910
  "optional": true,
29062
28911
  "type": {
29063
- "text": "() => void"
28912
+ "text": "Response"
29064
28913
  }
29065
28914
  }
29066
28915
  ]
@@ -29071,592 +28920,163 @@
29071
28920
  "exports": [
29072
28921
  {
29073
28922
  "kind": "js",
29074
- "name": "RequestUtils",
28923
+ "name": "Websocket",
29075
28924
  "declaration": {
29076
- "name": "RequestUtils",
29077
- "module": "src/utils/HTTP/requestUtils.ts"
28925
+ "name": "Websocket",
28926
+ "module": "src/utils/HTTP/websocket.ts"
29078
28927
  }
29079
28928
  }
29080
28929
  ]
29081
28930
  },
29082
28931
  {
29083
28932
  "kind": "javascript-module",
29084
- "path": "src/utils/HTTP/stream.ts",
28933
+ "path": "src/utils/browser/browser.ts",
29085
28934
  "declarations": [
29086
28935
  {
29087
28936
  "kind": "class",
29088
28937
  "description": "",
29089
- "name": "Stream",
28938
+ "name": "Browser",
28939
+ "members": [
28940
+ {
28941
+ "kind": "field",
28942
+ "name": "IS_SAFARI",
28943
+ "privacy": "public",
28944
+ "static": true,
28945
+ "readonly": true
28946
+ },
28947
+ {
28948
+ "kind": "field",
28949
+ "name": "IS_CHROMIUM",
28950
+ "privacy": "public",
28951
+ "static": true,
28952
+ "readonly": true
28953
+ }
28954
+ ]
28955
+ }
28956
+ ],
28957
+ "exports": [
28958
+ {
28959
+ "kind": "js",
28960
+ "name": "Browser",
28961
+ "declaration": {
28962
+ "name": "Browser",
28963
+ "module": "src/utils/browser/browser.ts"
28964
+ }
28965
+ }
28966
+ ]
28967
+ },
28968
+ {
28969
+ "kind": "javascript-module",
28970
+ "path": "src/utils/buttons/inputButtons.ts",
28971
+ "declarations": [
28972
+ {
28973
+ "kind": "variable",
28974
+ "name": "BUTTON_ORDER",
28975
+ "type": {
28976
+ "text": "readonly BUTTON_TYPE[]"
28977
+ },
28978
+ "default": "[\n 'camera',\n 'gifs',\n 'images',\n 'audio',\n 'mixedFiles',\n 'submit',\n 'microphone',\n]"
28979
+ }
28980
+ ],
28981
+ "exports": [
28982
+ {
28983
+ "kind": "js",
28984
+ "name": "BUTTON_ORDER",
28985
+ "declaration": {
28986
+ "name": "BUTTON_ORDER",
28987
+ "module": "src/utils/buttons/inputButtons.ts"
28988
+ }
28989
+ }
28990
+ ]
28991
+ },
28992
+ {
28993
+ "kind": "javascript-module",
28994
+ "path": "src/utils/buttons/keyboardKeys.ts",
28995
+ "declarations": [],
28996
+ "exports": []
28997
+ },
28998
+ {
28999
+ "kind": "javascript-module",
29000
+ "path": "src/utils/data/objectUtils.ts",
29001
+ "declarations": [
29002
+ {
29003
+ "kind": "class",
29004
+ "description": "",
29005
+ "name": "ObjectUtils",
29090
29006
  "members": [
29091
29007
  {
29092
29008
  "kind": "method",
29093
- "name": "request",
29009
+ "name": "setPropertyValueIfDoesNotExist",
29094
29010
  "privacy": "public",
29095
29011
  "static": true,
29096
29012
  "parameters": [
29097
29013
  {
29098
- "name": "io",
29014
+ "name": "object",
29099
29015
  "type": {
29100
- "text": "ServiceIO"
29016
+ "text": "T"
29101
29017
  }
29102
29018
  },
29103
29019
  {
29104
- "name": "body",
29020
+ "name": "nestedKeys",
29105
29021
  "type": {
29106
- "text": "object"
29022
+ "text": "string[]"
29107
29023
  }
29108
29024
  },
29109
29025
  {
29110
- "name": "messages",
29026
+ "name": "value",
29111
29027
  "type": {
29112
- "text": "Messages"
29028
+ "text": "unknown"
29113
29029
  }
29114
- },
29115
- {
29116
- "name": "stringifyBody",
29117
- "default": "true"
29118
- },
29119
- {
29120
- "name": "canBeEmpty",
29121
- "default": "false"
29122
29030
  }
29123
29031
  ]
29124
29032
  },
29125
29033
  {
29126
29034
  "kind": "method",
29127
- "name": "simulate",
29035
+ "name": "setPropertyValue",
29128
29036
  "privacy": "public",
29129
29037
  "static": true,
29130
29038
  "parameters": [
29131
29039
  {
29132
- "name": "messages",
29040
+ "name": "object",
29133
29041
  "type": {
29134
- "text": "Messages"
29042
+ "text": "T"
29135
29043
  }
29136
29044
  },
29137
29045
  {
29138
- "name": "sh",
29046
+ "name": "nestedKeys",
29139
29047
  "type": {
29140
- "text": "StreamHandlers"
29048
+ "text": "string[]"
29141
29049
  }
29142
29050
  },
29143
29051
  {
29144
- "name": "result",
29052
+ "name": "value",
29145
29053
  "type": {
29146
- "text": "ResponseI"
29054
+ "text": "unknown"
29147
29055
  }
29148
29056
  }
29149
29057
  ]
29150
29058
  },
29151
29059
  {
29152
29060
  "kind": "method",
29153
- "name": "populateMessages",
29154
- "privacy": "private",
29061
+ "name": "getObjectValue",
29062
+ "privacy": "public",
29155
29063
  "static": true,
29064
+ "return": {
29065
+ "type": {
29066
+ "text": "object | undefined"
29067
+ }
29068
+ },
29156
29069
  "parameters": [
29157
29070
  {
29158
- "name": "responseStrings",
29159
- "type": {
29160
- "text": "string[]"
29161
- }
29162
- },
29163
- {
29164
- "name": "stream",
29071
+ "name": "object",
29165
29072
  "type": {
29166
- "text": "MessageStream"
29073
+ "text": "T"
29167
29074
  }
29168
29075
  },
29169
29076
  {
29170
- "name": "sh",
29077
+ "name": "nestedKeys",
29171
29078
  "type": {
29172
- "text": "SimulationSH"
29173
- }
29174
- },
29175
- {
29176
- "name": "type",
29177
- "type": {
29178
- "text": "'text'|'html'"
29179
- }
29180
- },
29181
- {
29182
- "name": "charIndex",
29183
- "default": "0"
29184
- }
29185
- ]
29186
- },
29187
- {
29188
- "kind": "method",
29189
- "name": "isSimulation",
29190
- "privacy": "public",
29191
- "static": true,
29192
- "parameters": [
29193
- {
29194
- "name": "stream",
29195
- "optional": true,
29196
- "type": {
29197
- "text": "StreamI"
29198
- }
29199
- }
29200
- ]
29201
- },
29202
- {
29203
- "kind": "method",
29204
- "name": "isSimulatable",
29205
- "privacy": "public",
29206
- "static": true,
29207
- "parameters": [
29208
- {
29209
- "name": "stream",
29210
- "optional": true,
29211
- "type": {
29212
- "text": "StreamI"
29213
- }
29214
- },
29215
- {
29216
- "name": "respone",
29217
- "optional": true,
29218
- "type": {
29219
- "text": "ResponseI"
29220
- }
29221
- }
29222
- ]
29223
- },
29224
- {
29225
- "kind": "method",
29226
- "name": "abort",
29227
- "privacy": "private",
29228
- "static": true,
29229
- "parameters": [
29230
- {
29231
- "name": "timeout",
29232
- "type": {
29233
- "text": "number"
29234
- }
29235
- },
29236
- {
29237
- "name": "stream",
29238
- "type": {
29239
- "text": "MessageStream"
29240
- }
29241
- },
29242
- {
29243
- "name": "onClose",
29244
- "type": {
29245
- "text": "() => void"
29246
- }
29247
- }
29248
- ]
29249
- },
29250
- {
29251
- "kind": "method",
29252
- "name": "upsertWFiles",
29253
- "privacy": "public",
29254
- "static": true,
29255
- "parameters": [
29256
- {
29257
- "name": "messages",
29258
- "type": {
29259
- "text": "Messages"
29260
- }
29261
- },
29262
- {
29263
- "name": "upsert",
29264
- "type": {
29265
- "text": "UpsertFunc"
29266
- }
29267
- },
29268
- {
29269
- "name": "stream",
29270
- "optional": true,
29271
- "type": {
29272
- "text": "MessageStream"
29273
- }
29274
- },
29275
- {
29276
- "name": "response",
29277
- "optional": true,
29278
- "type": {
29279
- "text": "ResponseI"
29280
- }
29281
- }
29282
- ]
29283
- }
29284
- ]
29285
- }
29286
- ],
29287
- "exports": [
29288
- {
29289
- "kind": "js",
29290
- "name": "Stream",
29291
- "declaration": {
29292
- "name": "Stream",
29293
- "module": "src/utils/HTTP/stream.ts"
29294
- }
29295
- }
29296
- ]
29297
- },
29298
- {
29299
- "kind": "javascript-module",
29300
- "path": "src/utils/HTTP/websocket.ts",
29301
- "declarations": [
29302
- {
29303
- "kind": "class",
29304
- "description": "",
29305
- "name": "Websocket",
29306
- "members": [
29307
- {
29308
- "kind": "method",
29309
- "name": "setup",
29310
- "privacy": "public",
29311
- "static": true,
29312
- "parameters": [
29313
- {
29314
- "name": "io",
29315
- "type": {
29316
- "text": "ServiceIO"
29317
- }
29318
- }
29319
- ]
29320
- },
29321
- {
29322
- "kind": "method",
29323
- "name": "isElementPresentInDOM",
29324
- "privacy": "private",
29325
- "static": true,
29326
- "parameters": [
29327
- {
29328
- "name": "deepChat",
29329
- "type": {
29330
- "text": "DeepChat"
29331
- }
29332
- }
29333
- ]
29334
- },
29335
- {
29336
- "kind": "method",
29337
- "name": "createConnection",
29338
- "privacy": "public",
29339
- "static": true,
29340
- "parameters": [
29341
- {
29342
- "name": "io",
29343
- "type": {
29344
- "text": "ServiceIO"
29345
- }
29346
- },
29347
- {
29348
- "name": "messages",
29349
- "type": {
29350
- "text": "Messages"
29351
- }
29352
- }
29353
- ]
29354
- },
29355
- {
29356
- "kind": "method",
29357
- "name": "retryConnection",
29358
- "privacy": "private",
29359
- "static": true,
29360
- "parameters": [
29361
- {
29362
- "name": "io",
29363
- "type": {
29364
- "text": "ServiceIO"
29365
- }
29366
- },
29367
- {
29368
- "name": "messages",
29369
- "type": {
29370
- "text": "Messages"
29371
- }
29372
- }
29373
- ]
29374
- },
29375
- {
29376
- "kind": "method",
29377
- "name": "assignListeners",
29378
- "privacy": "private",
29379
- "static": true,
29380
- "parameters": [
29381
- {
29382
- "name": "io",
29383
- "type": {
29384
- "text": "ServiceIO"
29385
- }
29386
- },
29387
- {
29388
- "name": "ws",
29389
- "type": {
29390
- "text": "WebSocket"
29391
- }
29392
- },
29393
- {
29394
- "name": "messages",
29395
- "type": {
29396
- "text": "Messages"
29397
- }
29398
- }
29399
- ]
29400
- },
29401
- {
29402
- "kind": "method",
29403
- "name": "sendWebsocket",
29404
- "privacy": "public",
29405
- "static": true,
29406
- "parameters": [
29407
- {
29408
- "name": "io",
29409
- "type": {
29410
- "text": "ServiceIO"
29411
- }
29412
- },
29413
- {
29414
- "name": "body",
29415
- "type": {
29416
- "text": "object"
29417
- }
29418
- },
29419
- {
29420
- "name": "messages",
29421
- "type": {
29422
- "text": "Messages"
29423
- }
29424
- },
29425
- {
29426
- "name": "stringifyBody",
29427
- "default": "true"
29428
- }
29429
- ]
29430
- },
29431
- {
29432
- "kind": "method",
29433
- "name": "canSendMessage",
29434
- "privacy": "public",
29435
- "static": true,
29436
- "parameters": [
29437
- {
29438
- "name": "websocket",
29439
- "type": {
29440
- "text": "ServiceIO['websocket']"
29441
- }
29442
- }
29443
- ]
29444
- },
29445
- {
29446
- "kind": "method",
29447
- "name": "isWebSocket",
29448
- "privacy": "private",
29449
- "static": true,
29450
- "return": {
29451
- "type": {
29452
- "text": "websocket is WebSocket"
29453
- }
29454
- },
29455
- "parameters": [
29456
- {
29457
- "name": "websocket",
29458
- "type": {
29459
- "text": "WebSocket | IWebsocketHandler"
29460
- }
29461
- }
29462
- ]
29463
- },
29464
- {
29465
- "kind": "method",
29466
- "name": "stream",
29467
- "privacy": "public",
29468
- "static": true,
29469
- "parameters": [
29470
- {
29471
- "name": "io",
29472
- "type": {
29473
- "text": "ServiceIO"
29474
- }
29475
- },
29476
- {
29477
- "name": "messages",
29478
- "type": {
29479
- "text": "Messages"
29480
- }
29481
- },
29482
- {
29483
- "name": "roleToStream",
29484
- "type": {
29485
- "text": "RoleToStream"
29486
- }
29487
- },
29488
- {
29489
- "name": "result",
29490
- "optional": true,
29491
- "type": {
29492
- "text": "Response"
29493
- }
29494
- }
29495
- ]
29496
- }
29497
- ]
29498
- }
29499
- ],
29500
- "exports": [
29501
- {
29502
- "kind": "js",
29503
- "name": "Websocket",
29504
- "declaration": {
29505
- "name": "Websocket",
29506
- "module": "src/utils/HTTP/websocket.ts"
29507
- }
29508
- }
29509
- ]
29510
- },
29511
- {
29512
- "kind": "javascript-module",
29513
- "path": "src/utils/browser/browser.ts",
29514
- "declarations": [
29515
- {
29516
- "kind": "class",
29517
- "description": "",
29518
- "name": "Browser",
29519
- "members": [
29520
- {
29521
- "kind": "field",
29522
- "name": "IS_SAFARI",
29523
- "privacy": "public",
29524
- "static": true,
29525
- "readonly": true
29526
- },
29527
- {
29528
- "kind": "field",
29529
- "name": "IS_CHROMIUM",
29530
- "privacy": "public",
29531
- "static": true,
29532
- "readonly": true
29533
- }
29534
- ]
29535
- }
29536
- ],
29537
- "exports": [
29538
- {
29539
- "kind": "js",
29540
- "name": "Browser",
29541
- "declaration": {
29542
- "name": "Browser",
29543
- "module": "src/utils/browser/browser.ts"
29544
- }
29545
- }
29546
- ]
29547
- },
29548
- {
29549
- "kind": "javascript-module",
29550
- "path": "src/utils/buttons/inputButtons.ts",
29551
- "declarations": [
29552
- {
29553
- "kind": "variable",
29554
- "name": "BUTTON_ORDER",
29555
- "type": {
29556
- "text": "readonly BUTTON_TYPE[]"
29557
- },
29558
- "default": "[\n 'camera',\n 'gifs',\n 'images',\n 'audio',\n 'mixedFiles',\n 'submit',\n 'microphone',\n]"
29559
- }
29560
- ],
29561
- "exports": [
29562
- {
29563
- "kind": "js",
29564
- "name": "BUTTON_ORDER",
29565
- "declaration": {
29566
- "name": "BUTTON_ORDER",
29567
- "module": "src/utils/buttons/inputButtons.ts"
29568
- }
29569
- }
29570
- ]
29571
- },
29572
- {
29573
- "kind": "javascript-module",
29574
- "path": "src/utils/buttons/keyboardKeys.ts",
29575
- "declarations": [],
29576
- "exports": []
29577
- },
29578
- {
29579
- "kind": "javascript-module",
29580
- "path": "src/utils/data/objectUtils.ts",
29581
- "declarations": [
29582
- {
29583
- "kind": "class",
29584
- "description": "",
29585
- "name": "ObjectUtils",
29586
- "members": [
29587
- {
29588
- "kind": "method",
29589
- "name": "setPropertyValueIfDoesNotExist",
29590
- "privacy": "public",
29591
- "static": true,
29592
- "parameters": [
29593
- {
29594
- "name": "object",
29595
- "type": {
29596
- "text": "T"
29597
- }
29598
- },
29599
- {
29600
- "name": "nestedKeys",
29601
- "type": {
29602
- "text": "string[]"
29603
- }
29604
- },
29605
- {
29606
- "name": "value",
29607
- "type": {
29608
- "text": "unknown"
29609
- }
29610
- }
29611
- ]
29612
- },
29613
- {
29614
- "kind": "method",
29615
- "name": "setPropertyValue",
29616
- "privacy": "public",
29617
- "static": true,
29618
- "parameters": [
29619
- {
29620
- "name": "object",
29621
- "type": {
29622
- "text": "T"
29623
- }
29624
- },
29625
- {
29626
- "name": "nestedKeys",
29627
- "type": {
29628
- "text": "string[]"
29629
- }
29630
- },
29631
- {
29632
- "name": "value",
29633
- "type": {
29634
- "text": "unknown"
29635
- }
29636
- }
29637
- ]
29638
- },
29639
- {
29640
- "kind": "method",
29641
- "name": "getObjectValue",
29642
- "privacy": "public",
29643
- "static": true,
29644
- "return": {
29645
- "type": {
29646
- "text": "object | undefined"
29647
- }
29648
- },
29649
- "parameters": [
29650
- {
29651
- "name": "object",
29652
- "type": {
29653
- "text": "T"
29654
- }
29655
- },
29656
- {
29657
- "name": "nestedKeys",
29658
- "type": {
29659
- "text": "string[]"
29079
+ "text": "string[]"
29660
29080
  }
29661
29081
  }
29662
29082
  ]
@@ -29941,30 +29361,6 @@
29941
29361
  }
29942
29362
  ]
29943
29363
  },
29944
- {
29945
- "kind": "javascript-module",
29946
- "path": "src/utils/errorMessages/errorMessages.ts",
29947
- "declarations": [
29948
- {
29949
- "kind": "variable",
29950
- "name": "ErrorMessages",
29951
- "type": {
29952
- "text": "object"
29953
- },
29954
- "default": "{\n INVALID_KEY: 'Invalid API Key',\n CONNECTION_FAILED: 'Failed to connect',\n INVALID_RESPONSE: getInvalidResponseMessage,\n INVALID_MODEL_REQUEST: getModelRequestMessage,\n INVALID_MODEL_RESPONSE: getModelResponseMessage,\n INVALID_STREAM_EVENT,\n INVALID_STREAM_EVENT_MIX: 'Cannot mix {text: string} and {html: string} responses.',\n NO_VALID_STREAM_EVENTS_SENT: `No valid stream events were sent.\\n${INVALID_STREAM_EVENT}`,\n}"
29955
- }
29956
- ],
29957
- "exports": [
29958
- {
29959
- "kind": "js",
29960
- "name": "ErrorMessages",
29961
- "declaration": {
29962
- "name": "ErrorMessages",
29963
- "module": "src/utils/errorMessages/errorMessages.ts"
29964
- }
29965
- }
29966
- ]
29967
- },
29968
29364
  {
29969
29365
  "kind": "javascript-module",
29970
29366
  "path": "src/utils/element/elementUtils.ts",
@@ -30397,11 +29793,35 @@
30397
29793
  },
30398
29794
  {
30399
29795
  "kind": "javascript-module",
30400
- "path": "src/utils/events/fireEvents.ts",
29796
+ "path": "src/utils/errorMessages/errorMessages.ts",
30401
29797
  "declarations": [
30402
29798
  {
30403
- "kind": "class",
30404
- "description": "",
29799
+ "kind": "variable",
29800
+ "name": "ErrorMessages",
29801
+ "type": {
29802
+ "text": "object"
29803
+ },
29804
+ "default": "{\n INVALID_KEY: 'Invalid API Key',\n CONNECTION_FAILED: 'Failed to connect',\n INVALID_RESPONSE: getInvalidResponseMessage,\n INVALID_MODEL_REQUEST: getModelRequestMessage,\n INVALID_MODEL_RESPONSE: getModelResponseMessage,\n INVALID_STREAM_EVENT,\n INVALID_STREAM_EVENT_MIX: 'Cannot mix {text: string} and {html: string} responses.',\n NO_VALID_STREAM_EVENTS_SENT: `No valid stream events were sent.\\n${INVALID_STREAM_EVENT}`,\n}"
29805
+ }
29806
+ ],
29807
+ "exports": [
29808
+ {
29809
+ "kind": "js",
29810
+ "name": "ErrorMessages",
29811
+ "declaration": {
29812
+ "name": "ErrorMessages",
29813
+ "module": "src/utils/errorMessages/errorMessages.ts"
29814
+ }
29815
+ }
29816
+ ]
29817
+ },
29818
+ {
29819
+ "kind": "javascript-module",
29820
+ "path": "src/utils/events/fireEvents.ts",
29821
+ "declarations": [
29822
+ {
29823
+ "kind": "class",
29824
+ "description": "",
30405
29825
  "name": "FireEvents",
30406
29826
  "members": [
30407
29827
  {
@@ -30848,112 +30268,6 @@
30848
30268
  }
30849
30269
  ]
30850
30270
  },
30851
- {
30852
- "kind": "javascript-module",
30853
- "path": "src/types/webModel/webModel.ts",
30854
- "declarations": [],
30855
- "exports": []
30856
- },
30857
- {
30858
- "kind": "javascript-module",
30859
- "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
30860
- "declarations": [
30861
- {
30862
- "kind": "class",
30863
- "description": "",
30864
- "name": "AssemblyAIUtils",
30865
- "members": [
30866
- {
30867
- "kind": "method",
30868
- "name": "poll",
30869
- "privacy": "public",
30870
- "static": true,
30871
- "parameters": [
30872
- {
30873
- "name": "api_token",
30874
- "type": {
30875
- "text": "string"
30876
- }
30877
- },
30878
- {
30879
- "name": "audio_url",
30880
- "type": {
30881
- "text": "string"
30882
- }
30883
- }
30884
- ]
30885
- },
30886
- {
30887
- "kind": "method",
30888
- "name": "buildHeaders",
30889
- "privacy": "public",
30890
- "static": true,
30891
- "parameters": [
30892
- {
30893
- "name": "key",
30894
- "type": {
30895
- "text": "string"
30896
- }
30897
- }
30898
- ]
30899
- },
30900
- {
30901
- "kind": "method",
30902
- "name": "handleVerificationResult",
30903
- "privacy": "private",
30904
- "static": true,
30905
- "parameters": [
30906
- {
30907
- "name": "result",
30908
- "type": {
30909
- "text": "object"
30910
- }
30911
- },
30912
- {
30913
- "name": "key",
30914
- "type": {
30915
- "text": "string"
30916
- }
30917
- },
30918
- {
30919
- "name": "onSuccess",
30920
- "type": {
30921
- "text": "(key: string) => void"
30922
- }
30923
- },
30924
- {
30925
- "name": "onFail",
30926
- "type": {
30927
- "text": "(message: string) => void"
30928
- }
30929
- }
30930
- ]
30931
- },
30932
- {
30933
- "kind": "method",
30934
- "name": "buildKeyVerificationDetails",
30935
- "privacy": "public",
30936
- "static": true,
30937
- "return": {
30938
- "type": {
30939
- "text": "KeyVerificationDetails"
30940
- }
30941
- }
30942
- }
30943
- ]
30944
- }
30945
- ],
30946
- "exports": [
30947
- {
30948
- "kind": "js",
30949
- "name": "AssemblyAIUtils",
30950
- "declaration": {
30951
- "name": "AssemblyAIUtils",
30952
- "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts"
30953
- }
30954
- }
30955
- ]
30956
- },
30957
30271
  {
30958
30272
  "kind": "javascript-module",
30959
30273
  "path": "src/utils/webComponent/googleFont.ts",
@@ -31212,32 +30526,222 @@
31212
30526
  },
31213
30527
  {
31214
30528
  "kind": "javascript-module",
31215
- "path": "src/services/azure/utils/azureOpenAIUtils.ts",
30529
+ "path": "src/views/chat/chatView.ts",
31216
30530
  "declarations": [
31217
30531
  {
31218
30532
  "kind": "class",
31219
30533
  "description": "",
31220
- "name": "AzureOpenAIUtils",
30534
+ "name": "ChatView",
31221
30535
  "members": [
31222
30536
  {
31223
- "kind": "field",
31224
- "name": "URL_DETAILS_ERROR_MESSAGE",
31225
- "type": {
31226
- "text": "string"
31227
- },
30537
+ "kind": "method",
30538
+ "name": "createElements",
30539
+ "privacy": "private",
30540
+ "static": true,
30541
+ "parameters": [
30542
+ {
30543
+ "name": "deepChat",
30544
+ "type": {
30545
+ "text": "DeepChat"
30546
+ }
30547
+ },
30548
+ {
30549
+ "name": "serviceIO",
30550
+ "type": {
30551
+ "text": "ServiceIO"
30552
+ }
30553
+ },
30554
+ {
30555
+ "name": "panel",
30556
+ "optional": true,
30557
+ "type": {
30558
+ "text": "HTMLElement"
30559
+ }
30560
+ }
30561
+ ]
30562
+ },
30563
+ {
30564
+ "kind": "method",
30565
+ "name": "render",
31228
30566
  "privacy": "public",
31229
30567
  "static": true,
31230
- "readonly": true,
31231
- "default": "'Please define the Azure URL Details. [More Information](https://deepchat.dev/docs/directConnection/Azure)'"
30568
+ "parameters": [
30569
+ {
30570
+ "name": "deepChat",
30571
+ "type": {
30572
+ "text": "DeepChat"
30573
+ }
30574
+ },
30575
+ {
30576
+ "name": "containerRef",
30577
+ "type": {
30578
+ "text": "HTMLElement"
30579
+ }
30580
+ },
30581
+ {
30582
+ "name": "serviceIO",
30583
+ "type": {
30584
+ "text": "ServiceIO"
30585
+ }
30586
+ },
30587
+ {
30588
+ "name": "panel",
30589
+ "optional": true,
30590
+ "type": {
30591
+ "text": "HTMLElement"
30592
+ }
30593
+ }
30594
+ ]
30595
+ }
30596
+ ]
30597
+ }
30598
+ ],
30599
+ "exports": [
30600
+ {
30601
+ "kind": "js",
30602
+ "name": "ChatView",
30603
+ "declaration": {
30604
+ "name": "ChatView",
30605
+ "module": "src/views/chat/chatView.ts"
30606
+ }
30607
+ }
30608
+ ]
30609
+ },
30610
+ {
30611
+ "kind": "javascript-module",
30612
+ "path": "src/views/error/errorView.ts",
30613
+ "declarations": [
30614
+ {
30615
+ "kind": "class",
30616
+ "description": "",
30617
+ "name": "ErrorView",
30618
+ "members": [
30619
+ {
30620
+ "kind": "method",
30621
+ "name": "render",
30622
+ "privacy": "public",
30623
+ "static": true,
30624
+ "parameters": [
30625
+ {
30626
+ "name": "containerElement",
30627
+ "type": {
30628
+ "text": "HTMLElement"
30629
+ }
30630
+ },
30631
+ {
30632
+ "name": "text",
30633
+ "type": {
30634
+ "text": "string"
30635
+ }
30636
+ }
30637
+ ]
30638
+ }
30639
+ ]
30640
+ }
30641
+ ],
30642
+ "exports": [
30643
+ {
30644
+ "kind": "js",
30645
+ "name": "ErrorView",
30646
+ "declaration": {
30647
+ "name": "ErrorView",
30648
+ "module": "src/views/error/errorView.ts"
30649
+ }
30650
+ }
30651
+ ]
30652
+ },
30653
+ {
30654
+ "kind": "javascript-module",
30655
+ "path": "src/views/validateKeyProperty/validateKeyPropertyView.ts",
30656
+ "declarations": [
30657
+ {
30658
+ "kind": "class",
30659
+ "description": "",
30660
+ "name": "ValidateKeyPropertyView",
30661
+ "members": [
30662
+ {
30663
+ "kind": "method",
30664
+ "name": "onLoad",
30665
+ "privacy": "private",
30666
+ "static": true,
30667
+ "parameters": [
30668
+ {
30669
+ "name": "startElement",
30670
+ "type": {
30671
+ "text": "HTMLElement"
30672
+ }
30673
+ }
30674
+ ]
31232
30675
  },
31233
30676
  {
31234
30677
  "kind": "method",
31235
- "name": "buildHeaders",
30678
+ "name": "createElements",
30679
+ "privacy": "private",
30680
+ "static": true
30681
+ },
30682
+ {
30683
+ "kind": "method",
30684
+ "name": "render",
31236
30685
  "privacy": "public",
31237
30686
  "static": true,
31238
30687
  "parameters": [
31239
30688
  {
31240
- "name": "apiKey",
30689
+ "name": "containerRef",
30690
+ "type": {
30691
+ "text": "HTMLElement"
30692
+ }
30693
+ },
30694
+ {
30695
+ "name": "changeToChat",
30696
+ "type": {
30697
+ "text": "() => void"
30698
+ }
30699
+ },
30700
+ {
30701
+ "name": "serviceIO",
30702
+ "type": {
30703
+ "text": "ServiceIO"
30704
+ }
30705
+ }
30706
+ ]
30707
+ }
30708
+ ]
30709
+ }
30710
+ ],
30711
+ "exports": [
30712
+ {
30713
+ "kind": "js",
30714
+ "name": "ValidateKeyPropertyView",
30715
+ "declaration": {
30716
+ "name": "ValidateKeyPropertyView",
30717
+ "module": "src/views/validateKeyProperty/validateKeyPropertyView.ts"
30718
+ }
30719
+ }
30720
+ ]
30721
+ },
30722
+ {
30723
+ "kind": "javascript-module",
30724
+ "path": "src/views/insertKey/insertKeyView.ts",
30725
+ "declarations": [
30726
+ {
30727
+ "kind": "class",
30728
+ "description": "",
30729
+ "name": "InsertKeyView",
30730
+ "members": [
30731
+ {
30732
+ "kind": "method",
30733
+ "name": "createCautionText",
30734
+ "privacy": "private",
30735
+ "static": true
30736
+ },
30737
+ {
30738
+ "kind": "method",
30739
+ "name": "createHelpLink",
30740
+ "privacy": "private",
30741
+ "static": true,
30742
+ "parameters": [
30743
+ {
30744
+ "name": "keyHelpUrl",
31241
30745
  "type": {
31242
30746
  "text": "string"
31243
30747
  }
@@ -31246,33 +30750,342 @@
31246
30750
  },
31247
30751
  {
31248
30752
  "kind": "method",
31249
- "name": "buildKeyVerificationDetails",
30753
+ "name": "createFailText",
30754
+ "privacy": "private",
30755
+ "static": true
30756
+ },
30757
+ {
30758
+ "kind": "method",
30759
+ "name": "createHelpTextContainer",
30760
+ "privacy": "private",
30761
+ "static": true,
30762
+ "parameters": [
30763
+ {
30764
+ "name": "keyHelpUrl",
30765
+ "optional": true,
30766
+ "type": {
30767
+ "text": "string"
30768
+ }
30769
+ },
30770
+ {
30771
+ "name": "displayCaution",
30772
+ "default": "true"
30773
+ }
30774
+ ]
30775
+ },
30776
+ {
30777
+ "kind": "method",
30778
+ "name": "onFail",
30779
+ "privacy": "private",
30780
+ "static": true,
30781
+ "parameters": [
30782
+ {
30783
+ "name": "inputEl",
30784
+ "type": {
30785
+ "text": "HTMLInputElement"
30786
+ }
30787
+ },
30788
+ {
30789
+ "name": "startEl",
30790
+ "type": {
30791
+ "text": "HTMLElement"
30792
+ }
30793
+ },
30794
+ {
30795
+ "name": "failTextEl",
30796
+ "type": {
30797
+ "text": "HTMLElement"
30798
+ }
30799
+ },
30800
+ {
30801
+ "name": "message",
30802
+ "type": {
30803
+ "text": "string"
30804
+ }
30805
+ }
30806
+ ]
30807
+ },
30808
+ {
30809
+ "kind": "method",
30810
+ "name": "onLoad",
30811
+ "privacy": "private",
30812
+ "static": true,
30813
+ "parameters": [
30814
+ {
30815
+ "name": "inputEl",
30816
+ "type": {
30817
+ "text": "HTMLInputElement"
30818
+ }
30819
+ },
30820
+ {
30821
+ "name": "startEl",
30822
+ "type": {
30823
+ "text": "HTMLElement"
30824
+ }
30825
+ }
30826
+ ]
30827
+ },
30828
+ {
30829
+ "kind": "method",
30830
+ "name": "verifyKey",
30831
+ "privacy": "private",
30832
+ "static": true,
30833
+ "parameters": [
30834
+ {
30835
+ "name": "inputElement",
30836
+ "type": {
30837
+ "text": "HTMLInputElement"
30838
+ }
30839
+ },
30840
+ {
30841
+ "name": "keyVerificationHandlers",
30842
+ "type": {
30843
+ "text": "KeyVerificationHandlers"
30844
+ }
30845
+ },
30846
+ {
30847
+ "name": "serviceIO",
30848
+ "type": {
30849
+ "text": "ServiceIO"
30850
+ }
30851
+ }
30852
+ ]
30853
+ },
30854
+ {
30855
+ "kind": "method",
30856
+ "name": "addVerificationEvents",
30857
+ "privacy": "private",
30858
+ "static": true,
30859
+ "parameters": [
30860
+ {
30861
+ "name": "inputEl",
30862
+ "type": {
30863
+ "text": "HTMLInputElement"
30864
+ }
30865
+ },
30866
+ {
30867
+ "name": "startEl",
30868
+ "type": {
30869
+ "text": "HTMLElement"
30870
+ }
30871
+ },
30872
+ {
30873
+ "name": "failTextEl",
30874
+ "type": {
30875
+ "text": "HTMLElement"
30876
+ }
30877
+ },
30878
+ {
30879
+ "name": "changeToChat",
30880
+ "type": {
30881
+ "text": "() => void"
30882
+ }
30883
+ },
30884
+ {
30885
+ "name": "serviceIO",
30886
+ "type": {
30887
+ "text": "ServiceIO"
30888
+ }
30889
+ }
30890
+ ]
30891
+ },
30892
+ {
30893
+ "kind": "method",
30894
+ "name": "createStartButton",
30895
+ "privacy": "private",
30896
+ "static": true
30897
+ },
30898
+ {
30899
+ "kind": "method",
30900
+ "name": "onInputFocus",
30901
+ "privacy": "private",
30902
+ "static": true,
30903
+ "parameters": [
30904
+ {
30905
+ "name": "event",
30906
+ "type": {
30907
+ "text": "FocusEvent"
30908
+ }
30909
+ }
30910
+ ]
30911
+ },
30912
+ {
30913
+ "kind": "method",
30914
+ "name": "createInput",
30915
+ "privacy": "private",
30916
+ "static": true,
30917
+ "parameters": [
30918
+ {
30919
+ "name": "placeholderText",
30920
+ "optional": true,
30921
+ "type": {
30922
+ "text": "string"
30923
+ }
30924
+ }
30925
+ ]
30926
+ },
30927
+ {
30928
+ "kind": "method",
30929
+ "name": "createContents",
30930
+ "privacy": "private",
30931
+ "static": true,
30932
+ "parameters": [
30933
+ {
30934
+ "name": "changeToChat",
30935
+ "type": {
30936
+ "text": "() => void"
30937
+ }
30938
+ },
30939
+ {
30940
+ "name": "serviceIO",
30941
+ "type": {
30942
+ "text": "ServiceIO"
30943
+ }
30944
+ }
30945
+ ]
30946
+ },
30947
+ {
30948
+ "kind": "method",
30949
+ "name": "createElements",
30950
+ "privacy": "private",
30951
+ "static": true,
30952
+ "parameters": [
30953
+ {
30954
+ "name": "changeToChat",
30955
+ "type": {
30956
+ "text": "() => void"
30957
+ }
30958
+ },
30959
+ {
30960
+ "name": "serviceIO",
30961
+ "type": {
30962
+ "text": "ServiceIO"
30963
+ }
30964
+ }
30965
+ ]
30966
+ },
30967
+ {
30968
+ "kind": "method",
30969
+ "name": "render",
31250
30970
  "privacy": "public",
31251
30971
  "static": true,
31252
- "return": {
31253
- "type": {
31254
- "text": "KeyVerificationDetails"
30972
+ "parameters": [
30973
+ {
30974
+ "name": "containerRef",
30975
+ "type": {
30976
+ "text": "HTMLElement"
30977
+ }
30978
+ },
30979
+ {
30980
+ "name": "changeToChat",
30981
+ "type": {
30982
+ "text": "() => void"
30983
+ }
30984
+ },
30985
+ {
30986
+ "name": "serviceIO",
30987
+ "type": {
30988
+ "text": "ServiceIO"
30989
+ }
31255
30990
  }
30991
+ ]
30992
+ }
30993
+ ]
30994
+ }
30995
+ ],
30996
+ "exports": [
30997
+ {
30998
+ "kind": "js",
30999
+ "name": "InsertKeyView",
31000
+ "declaration": {
31001
+ "name": "InsertKeyView",
31002
+ "module": "src/views/insertKey/insertKeyView.ts"
31003
+ }
31004
+ }
31005
+ ]
31006
+ },
31007
+ {
31008
+ "kind": "javascript-module",
31009
+ "path": "src/views/insertKey/visibilityIcon.ts",
31010
+ "declarations": [
31011
+ {
31012
+ "kind": "class",
31013
+ "description": "",
31014
+ "name": "VisibilityIcon",
31015
+ "members": [
31016
+ {
31017
+ "kind": "field",
31018
+ "name": "VISIBLE_ICON_ID",
31019
+ "type": {
31020
+ "text": "string"
31256
31021
  },
31022
+ "privacy": "private",
31023
+ "static": true,
31024
+ "readonly": true,
31025
+ "default": "'visible-icon'"
31026
+ },
31027
+ {
31028
+ "kind": "method",
31029
+ "name": "changeVisibility",
31030
+ "privacy": "private",
31031
+ "static": true,
31257
31032
  "parameters": [
31258
31033
  {
31259
- "name": "urlDetails",
31034
+ "name": "inputElement",
31260
31035
  "type": {
31261
- "text": "AzureOpenAI['urlDetails']"
31036
+ "text": "HTMLInputElement"
31037
+ }
31038
+ },
31039
+ {
31040
+ "name": "visibleIcon",
31041
+ "type": {
31042
+ "text": "SVGGraphicsElement"
31043
+ }
31044
+ },
31045
+ {
31046
+ "name": "notVisibleIcon",
31047
+ "type": {
31048
+ "text": "SVGGraphicsElement"
31049
+ }
31050
+ },
31051
+ {
31052
+ "name": "event",
31053
+ "type": {
31054
+ "text": "MouseEvent"
31262
31055
  }
31263
31056
  }
31264
31057
  ]
31265
31058
  },
31266
31059
  {
31267
31060
  "kind": "method",
31268
- "name": "validateURLDetails",
31061
+ "name": "createIconElement",
31062
+ "privacy": "private",
31063
+ "static": true,
31064
+ "parameters": [
31065
+ {
31066
+ "name": "iconString",
31067
+ "type": {
31068
+ "text": "string"
31069
+ }
31070
+ },
31071
+ {
31072
+ "name": "id",
31073
+ "type": {
31074
+ "text": "string"
31075
+ }
31076
+ }
31077
+ ]
31078
+ },
31079
+ {
31080
+ "kind": "method",
31081
+ "name": "create",
31269
31082
  "privacy": "public",
31270
31083
  "static": true,
31271
31084
  "parameters": [
31272
31085
  {
31273
- "name": "urlDetails",
31086
+ "name": "inputElement",
31274
31087
  "type": {
31275
- "text": "AzureOpenAI['urlDetails']"
31088
+ "text": "HTMLInputElement"
31276
31089
  }
31277
31090
  }
31278
31091
  ]
@@ -31283,37 +31096,37 @@
31283
31096
  "exports": [
31284
31097
  {
31285
31098
  "kind": "js",
31286
- "name": "AzureOpenAIUtils",
31099
+ "name": "VisibilityIcon",
31287
31100
  "declaration": {
31288
- "name": "AzureOpenAIUtils",
31289
- "module": "src/services/azure/utils/azureOpenAIUtils.ts"
31101
+ "name": "VisibilityIcon",
31102
+ "module": "src/views/insertKey/visibilityIcon.ts"
31290
31103
  }
31291
31104
  }
31292
31105
  ]
31293
31106
  },
31294
31107
  {
31295
31108
  "kind": "javascript-module",
31296
- "path": "src/services/azure/utils/azureUtils.ts",
31109
+ "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
31297
31110
  "declarations": [
31298
31111
  {
31299
31112
  "kind": "class",
31300
31113
  "description": "",
31301
- "name": "AzureUtils",
31114
+ "name": "AssemblyAIUtils",
31302
31115
  "members": [
31303
31116
  {
31304
31117
  "kind": "method",
31305
- "name": "buildTextToSpeechHeaders",
31118
+ "name": "poll",
31306
31119
  "privacy": "public",
31307
31120
  "static": true,
31308
31121
  "parameters": [
31309
31122
  {
31310
- "name": "outputFormat",
31123
+ "name": "api_token",
31311
31124
  "type": {
31312
31125
  "text": "string"
31313
31126
  }
31314
31127
  },
31315
31128
  {
31316
- "name": "key",
31129
+ "name": "audio_url",
31317
31130
  "type": {
31318
31131
  "text": "string"
31319
31132
  }
@@ -31322,7 +31135,7 @@
31322
31135
  },
31323
31136
  {
31324
31137
  "kind": "method",
31325
- "name": "buildSpeechToTextHeaders",
31138
+ "name": "buildHeaders",
31326
31139
  "privacy": "public",
31327
31140
  "static": true,
31328
31141
  "parameters": [
@@ -31336,7 +31149,7 @@
31336
31149
  },
31337
31150
  {
31338
31151
  "kind": "method",
31339
- "name": "handleSpeechVerificationResult",
31152
+ "name": "handleVerificationResult",
31340
31153
  "privacy": "private",
31341
31154
  "static": true,
31342
31155
  "parameters": [
@@ -31368,17 +31181,57 @@
31368
31181
  },
31369
31182
  {
31370
31183
  "kind": "method",
31371
- "name": "buildSpeechKeyVerificationDetails",
31184
+ "name": "buildKeyVerificationDetails",
31372
31185
  "privacy": "public",
31373
31186
  "static": true,
31374
31187
  "return": {
31375
31188
  "type": {
31376
31189
  "text": "KeyVerificationDetails"
31377
31190
  }
31191
+ }
31192
+ }
31193
+ ]
31194
+ }
31195
+ ],
31196
+ "exports": [
31197
+ {
31198
+ "kind": "js",
31199
+ "name": "AssemblyAIUtils",
31200
+ "declaration": {
31201
+ "name": "AssemblyAIUtils",
31202
+ "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts"
31203
+ }
31204
+ }
31205
+ ]
31206
+ },
31207
+ {
31208
+ "kind": "javascript-module",
31209
+ "path": "src/services/azure/utils/azureOpenAIUtils.ts",
31210
+ "declarations": [
31211
+ {
31212
+ "kind": "class",
31213
+ "description": "",
31214
+ "name": "AzureOpenAIUtils",
31215
+ "members": [
31216
+ {
31217
+ "kind": "field",
31218
+ "name": "URL_DETAILS_ERROR_MESSAGE",
31219
+ "type": {
31220
+ "text": "string"
31378
31221
  },
31222
+ "privacy": "public",
31223
+ "static": true,
31224
+ "readonly": true,
31225
+ "default": "'Please define the Azure URL Details. [More Information](https://deepchat.dev/docs/directConnection/Azure)'"
31226
+ },
31227
+ {
31228
+ "kind": "method",
31229
+ "name": "buildHeaders",
31230
+ "privacy": "public",
31231
+ "static": true,
31379
31232
  "parameters": [
31380
31233
  {
31381
- "name": "region",
31234
+ "name": "apiKey",
31382
31235
  "type": {
31383
31236
  "text": "string"
31384
31237
  }
@@ -31387,63 +31240,88 @@
31387
31240
  },
31388
31241
  {
31389
31242
  "kind": "method",
31390
- "name": "buildSummarizationHeader",
31243
+ "name": "buildKeyVerificationDetails",
31391
31244
  "privacy": "public",
31392
31245
  "static": true,
31246
+ "return": {
31247
+ "type": {
31248
+ "text": "KeyVerificationDetails"
31249
+ }
31250
+ },
31393
31251
  "parameters": [
31394
31252
  {
31395
- "name": "key",
31253
+ "name": "urlDetails",
31396
31254
  "type": {
31397
- "text": "string"
31255
+ "text": "AzureOpenAI['urlDetails']"
31398
31256
  }
31399
31257
  }
31400
31258
  ]
31401
31259
  },
31402
31260
  {
31403
31261
  "kind": "method",
31404
- "name": "handleLanguageVerificationResult",
31405
- "privacy": "private",
31262
+ "name": "validateURLDetails",
31263
+ "privacy": "public",
31406
31264
  "static": true,
31407
31265
  "parameters": [
31408
31266
  {
31409
- "name": "result",
31267
+ "name": "urlDetails",
31410
31268
  "type": {
31411
- "text": "object"
31269
+ "text": "AzureOpenAI['urlDetails']"
31412
31270
  }
31413
- },
31271
+ }
31272
+ ]
31273
+ }
31274
+ ]
31275
+ }
31276
+ ],
31277
+ "exports": [
31278
+ {
31279
+ "kind": "js",
31280
+ "name": "AzureOpenAIUtils",
31281
+ "declaration": {
31282
+ "name": "AzureOpenAIUtils",
31283
+ "module": "src/services/azure/utils/azureOpenAIUtils.ts"
31284
+ }
31285
+ }
31286
+ ]
31287
+ },
31288
+ {
31289
+ "kind": "javascript-module",
31290
+ "path": "src/services/azure/utils/azureUtils.ts",
31291
+ "declarations": [
31292
+ {
31293
+ "kind": "class",
31294
+ "description": "",
31295
+ "name": "AzureUtils",
31296
+ "members": [
31297
+ {
31298
+ "kind": "method",
31299
+ "name": "buildTextToSpeechHeaders",
31300
+ "privacy": "public",
31301
+ "static": true,
31302
+ "parameters": [
31414
31303
  {
31415
- "name": "key",
31304
+ "name": "outputFormat",
31416
31305
  "type": {
31417
31306
  "text": "string"
31418
31307
  }
31419
31308
  },
31420
31309
  {
31421
- "name": "onSuccess",
31422
- "type": {
31423
- "text": "(key: string) => void"
31424
- }
31425
- },
31426
- {
31427
- "name": "onFail",
31310
+ "name": "key",
31428
31311
  "type": {
31429
- "text": "(message: string) => void"
31312
+ "text": "string"
31430
31313
  }
31431
31314
  }
31432
31315
  ]
31433
31316
  },
31434
31317
  {
31435
31318
  "kind": "method",
31436
- "name": "buildLanguageKeyVerificationDetails",
31319
+ "name": "buildSpeechToTextHeaders",
31437
31320
  "privacy": "public",
31438
31321
  "static": true,
31439
- "return": {
31440
- "type": {
31441
- "text": "KeyVerificationDetails"
31442
- }
31443
- },
31444
31322
  "parameters": [
31445
31323
  {
31446
- "name": "endpoint",
31324
+ "name": "key",
31447
31325
  "type": {
31448
31326
  "text": "string"
31449
31327
  }
@@ -31452,7 +31330,7 @@
31452
31330
  },
31453
31331
  {
31454
31332
  "kind": "method",
31455
- "name": "handleTranslationVerificationResult",
31333
+ "name": "handleSpeechVerificationResult",
31456
31334
  "privacy": "private",
31457
31335
  "static": true,
31458
31336
  "parameters": [
@@ -31484,7 +31362,7 @@
31484
31362
  },
31485
31363
  {
31486
31364
  "kind": "method",
31487
- "name": "buildTranslationKeyVerificationDetails",
31365
+ "name": "buildSpeechKeyVerificationDetails",
31488
31366
  "privacy": "public",
31489
31367
  "static": true,
31490
31368
  "return": {
@@ -31495,7 +31373,6 @@
31495
31373
  "parameters": [
31496
31374
  {
31497
31375
  "name": "region",
31498
- "optional": true,
31499
31376
  "type": {
31500
31377
  "text": "string"
31501
31378
  }
@@ -31504,14 +31381,28 @@
31504
31381
  },
31505
31382
  {
31506
31383
  "kind": "method",
31507
- "name": "buildTranslationHeaders",
31384
+ "name": "buildSummarizationHeader",
31508
31385
  "privacy": "public",
31509
31386
  "static": true,
31510
31387
  "parameters": [
31511
31388
  {
31512
- "name": "region",
31389
+ "name": "key",
31513
31390
  "type": {
31514
- "text": "string | undefined"
31391
+ "text": "string"
31392
+ }
31393
+ }
31394
+ ]
31395
+ },
31396
+ {
31397
+ "kind": "method",
31398
+ "name": "handleLanguageVerificationResult",
31399
+ "privacy": "private",
31400
+ "static": true,
31401
+ "parameters": [
31402
+ {
31403
+ "name": "result",
31404
+ "type": {
31405
+ "text": "object"
31515
31406
  }
31516
31407
  },
31517
31408
  {
@@ -31519,40 +31410,34 @@
31519
31410
  "type": {
31520
31411
  "text": "string"
31521
31412
  }
31413
+ },
31414
+ {
31415
+ "name": "onSuccess",
31416
+ "type": {
31417
+ "text": "(key: string) => void"
31418
+ }
31419
+ },
31420
+ {
31421
+ "name": "onFail",
31422
+ "type": {
31423
+ "text": "(message: string) => void"
31424
+ }
31522
31425
  }
31523
31426
  ]
31524
- }
31525
- ]
31526
- }
31527
- ],
31528
- "exports": [
31529
- {
31530
- "kind": "js",
31531
- "name": "AzureUtils",
31532
- "declaration": {
31533
- "name": "AzureUtils",
31534
- "module": "src/services/azure/utils/azureUtils.ts"
31535
- }
31536
- }
31537
- ]
31538
- },
31539
- {
31540
- "kind": "javascript-module",
31541
- "path": "src/services/gemini/utils/geminiUtils.ts",
31542
- "declarations": [
31543
- {
31544
- "kind": "class",
31545
- "description": "",
31546
- "name": "GeminiUtils",
31547
- "members": [
31427
+ },
31548
31428
  {
31549
31429
  "kind": "method",
31550
- "name": "buildHeaders",
31430
+ "name": "buildLanguageKeyVerificationDetails",
31551
31431
  "privacy": "public",
31552
31432
  "static": true,
31433
+ "return": {
31434
+ "type": {
31435
+ "text": "KeyVerificationDetails"
31436
+ }
31437
+ },
31553
31438
  "parameters": [
31554
31439
  {
31555
- "name": "key",
31440
+ "name": "endpoint",
31556
31441
  "type": {
31557
31442
  "text": "string"
31558
31443
  }
@@ -31561,7 +31446,7 @@
31561
31446
  },
31562
31447
  {
31563
31448
  "kind": "method",
31564
- "name": "handleVerificationResult",
31449
+ "name": "handleTranslationVerificationResult",
31565
31450
  "privacy": "private",
31566
31451
  "static": true,
31567
31452
  "parameters": [
@@ -31593,42 +31478,41 @@
31593
31478
  },
31594
31479
  {
31595
31480
  "kind": "method",
31596
- "name": "buildKeyVerificationDetails",
31481
+ "name": "buildTranslationKeyVerificationDetails",
31597
31482
  "privacy": "public",
31598
31483
  "static": true,
31599
31484
  "return": {
31600
31485
  "type": {
31601
31486
  "text": "KeyVerificationDetails"
31602
31487
  }
31603
- }
31488
+ },
31489
+ "parameters": [
31490
+ {
31491
+ "name": "region",
31492
+ "optional": true,
31493
+ "type": {
31494
+ "text": "string"
31495
+ }
31496
+ }
31497
+ ]
31604
31498
  },
31605
31499
  {
31606
31500
  "kind": "method",
31607
- "name": "directFetch",
31501
+ "name": "buildTranslationHeaders",
31608
31502
  "privacy": "public",
31609
31503
  "static": true,
31610
31504
  "parameters": [
31611
31505
  {
31612
- "name": "serviceIO",
31613
- "type": {
31614
- "text": "ServiceIO"
31615
- }
31616
- },
31617
- {
31618
- "name": "body",
31506
+ "name": "region",
31619
31507
  "type": {
31620
- "text": "any"
31508
+ "text": "string | undefined"
31621
31509
  }
31622
31510
  },
31623
31511
  {
31624
- "name": "method",
31512
+ "name": "key",
31625
31513
  "type": {
31626
- "text": "'POST' | 'GET'"
31514
+ "text": "string"
31627
31515
  }
31628
- },
31629
- {
31630
- "name": "stringify",
31631
- "default": "true"
31632
31516
  }
31633
31517
  ]
31634
31518
  }
@@ -31638,14 +31522,20 @@
31638
31522
  "exports": [
31639
31523
  {
31640
31524
  "kind": "js",
31641
- "name": "GeminiUtils",
31525
+ "name": "AzureUtils",
31642
31526
  "declaration": {
31643
- "name": "GeminiUtils",
31644
- "module": "src/services/gemini/utils/geminiUtils.ts"
31527
+ "name": "AzureUtils",
31528
+ "module": "src/services/azure/utils/azureUtils.ts"
31645
31529
  }
31646
31530
  }
31647
31531
  ]
31648
31532
  },
31533
+ {
31534
+ "kind": "javascript-module",
31535
+ "path": "src/types/webModel/webModel.ts",
31536
+ "declarations": [],
31537
+ "exports": []
31538
+ },
31649
31539
  {
31650
31540
  "kind": "javascript-module",
31651
31541
  "path": "src/services/cohere/utils/cohereUtils.ts",
@@ -31728,12 +31618,12 @@
31728
31618
  },
31729
31619
  {
31730
31620
  "kind": "javascript-module",
31731
- "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
31621
+ "path": "src/services/gemini/utils/geminiUtils.ts",
31732
31622
  "declarations": [
31733
31623
  {
31734
31624
  "kind": "class",
31735
31625
  "description": "",
31736
- "name": "HuggingFaceUtils",
31626
+ "name": "GeminiUtils",
31737
31627
  "members": [
31738
31628
  {
31739
31629
  "kind": "method",
@@ -31791,6 +31681,36 @@
31791
31681
  "text": "KeyVerificationDetails"
31792
31682
  }
31793
31683
  }
31684
+ },
31685
+ {
31686
+ "kind": "method",
31687
+ "name": "directFetch",
31688
+ "privacy": "public",
31689
+ "static": true,
31690
+ "parameters": [
31691
+ {
31692
+ "name": "serviceIO",
31693
+ "type": {
31694
+ "text": "ServiceIO"
31695
+ }
31696
+ },
31697
+ {
31698
+ "name": "body",
31699
+ "type": {
31700
+ "text": "any"
31701
+ }
31702
+ },
31703
+ {
31704
+ "name": "method",
31705
+ "type": {
31706
+ "text": "'POST' | 'GET'"
31707
+ }
31708
+ },
31709
+ {
31710
+ "name": "stringify",
31711
+ "default": "true"
31712
+ }
31713
+ ]
31794
31714
  }
31795
31715
  ]
31796
31716
  }
@@ -31798,22 +31718,22 @@
31798
31718
  "exports": [
31799
31719
  {
31800
31720
  "kind": "js",
31801
- "name": "HuggingFaceUtils",
31721
+ "name": "GeminiUtils",
31802
31722
  "declaration": {
31803
- "name": "HuggingFaceUtils",
31804
- "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
31723
+ "name": "GeminiUtils",
31724
+ "module": "src/services/gemini/utils/geminiUtils.ts"
31805
31725
  }
31806
31726
  }
31807
31727
  ]
31808
31728
  },
31809
31729
  {
31810
31730
  "kind": "javascript-module",
31811
- "path": "src/services/mistral/utils/mistralUtils.ts",
31731
+ "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
31812
31732
  "declarations": [
31813
31733
  {
31814
31734
  "kind": "class",
31815
31735
  "description": "",
31816
- "name": "MistralUtils",
31736
+ "name": "HuggingFaceUtils",
31817
31737
  "members": [
31818
31738
  {
31819
31739
  "kind": "method",
@@ -31878,22 +31798,22 @@
31878
31798
  "exports": [
31879
31799
  {
31880
31800
  "kind": "js",
31881
- "name": "MistralUtils",
31801
+ "name": "HuggingFaceUtils",
31882
31802
  "declaration": {
31883
- "name": "MistralUtils",
31884
- "module": "src/services/mistral/utils/mistralUtils.ts"
31803
+ "name": "HuggingFaceUtils",
31804
+ "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
31885
31805
  }
31886
31806
  }
31887
31807
  ]
31888
31808
  },
31889
31809
  {
31890
31810
  "kind": "javascript-module",
31891
- "path": "src/services/openAI/utils/openAIUtils.ts",
31811
+ "path": "src/services/mistral/utils/mistralUtils.ts",
31892
31812
  "declarations": [
31893
31813
  {
31894
31814
  "kind": "class",
31895
31815
  "description": "",
31896
- "name": "OpenAIUtils",
31816
+ "name": "MistralUtils",
31897
31817
  "members": [
31898
31818
  {
31899
31819
  "kind": "method",
@@ -31912,7 +31832,7 @@
31912
31832
  {
31913
31833
  "kind": "method",
31914
31834
  "name": "handleVerificationResult",
31915
- "privacy": "public",
31835
+ "privacy": "private",
31916
31836
  "static": true,
31917
31837
  "parameters": [
31918
31838
  {
@@ -31951,36 +31871,6 @@
31951
31871
  "text": "KeyVerificationDetails"
31952
31872
  }
31953
31873
  }
31954
- },
31955
- {
31956
- "kind": "method",
31957
- "name": "directFetch",
31958
- "privacy": "public",
31959
- "static": true,
31960
- "parameters": [
31961
- {
31962
- "name": "serviceIO",
31963
- "type": {
31964
- "text": "ServiceIO"
31965
- }
31966
- },
31967
- {
31968
- "name": "body",
31969
- "type": {
31970
- "text": "any"
31971
- }
31972
- },
31973
- {
31974
- "name": "method",
31975
- "type": {
31976
- "text": "'POST' | 'GET'"
31977
- }
31978
- },
31979
- {
31980
- "name": "stringify",
31981
- "default": "true"
31982
- }
31983
- ]
31984
31874
  }
31985
31875
  ]
31986
31876
  }
@@ -31988,10 +31878,10 @@
31988
31878
  "exports": [
31989
31879
  {
31990
31880
  "kind": "js",
31991
- "name": "OpenAIUtils",
31881
+ "name": "MistralUtils",
31992
31882
  "declaration": {
31993
- "name": "OpenAIUtils",
31994
- "module": "src/services/openAI/utils/openAIUtils.ts"
31883
+ "name": "MistralUtils",
31884
+ "module": "src/services/mistral/utils/mistralUtils.ts"
31995
31885
  }
31996
31886
  }
31997
31887
  ]
@@ -34097,6 +33987,116 @@
34097
33987
  }
34098
33988
  ]
34099
33989
  },
33990
+ {
33991
+ "kind": "javascript-module",
33992
+ "path": "src/services/openAI/utils/openAIUtils.ts",
33993
+ "declarations": [
33994
+ {
33995
+ "kind": "class",
33996
+ "description": "",
33997
+ "name": "OpenAIUtils",
33998
+ "members": [
33999
+ {
34000
+ "kind": "method",
34001
+ "name": "buildHeaders",
34002
+ "privacy": "public",
34003
+ "static": true,
34004
+ "parameters": [
34005
+ {
34006
+ "name": "key",
34007
+ "type": {
34008
+ "text": "string"
34009
+ }
34010
+ }
34011
+ ]
34012
+ },
34013
+ {
34014
+ "kind": "method",
34015
+ "name": "handleVerificationResult",
34016
+ "privacy": "public",
34017
+ "static": true,
34018
+ "parameters": [
34019
+ {
34020
+ "name": "result",
34021
+ "type": {
34022
+ "text": "object"
34023
+ }
34024
+ },
34025
+ {
34026
+ "name": "key",
34027
+ "type": {
34028
+ "text": "string"
34029
+ }
34030
+ },
34031
+ {
34032
+ "name": "onSuccess",
34033
+ "type": {
34034
+ "text": "(key: string) => void"
34035
+ }
34036
+ },
34037
+ {
34038
+ "name": "onFail",
34039
+ "type": {
34040
+ "text": "(message: string) => void"
34041
+ }
34042
+ }
34043
+ ]
34044
+ },
34045
+ {
34046
+ "kind": "method",
34047
+ "name": "buildKeyVerificationDetails",
34048
+ "privacy": "public",
34049
+ "static": true,
34050
+ "return": {
34051
+ "type": {
34052
+ "text": "KeyVerificationDetails"
34053
+ }
34054
+ }
34055
+ },
34056
+ {
34057
+ "kind": "method",
34058
+ "name": "directFetch",
34059
+ "privacy": "public",
34060
+ "static": true,
34061
+ "parameters": [
34062
+ {
34063
+ "name": "serviceIO",
34064
+ "type": {
34065
+ "text": "ServiceIO"
34066
+ }
34067
+ },
34068
+ {
34069
+ "name": "body",
34070
+ "type": {
34071
+ "text": "any"
34072
+ }
34073
+ },
34074
+ {
34075
+ "name": "method",
34076
+ "type": {
34077
+ "text": "'POST' | 'GET'"
34078
+ }
34079
+ },
34080
+ {
34081
+ "name": "stringify",
34082
+ "default": "true"
34083
+ }
34084
+ ]
34085
+ }
34086
+ ]
34087
+ }
34088
+ ],
34089
+ "exports": [
34090
+ {
34091
+ "kind": "js",
34092
+ "name": "OpenAIUtils",
34093
+ "declaration": {
34094
+ "name": "OpenAIUtils",
34095
+ "module": "src/services/openAI/utils/openAIUtils.ts"
34096
+ }
34097
+ }
34098
+ ]
34099
+ },
34100
34100
  {
34101
34101
  "kind": "javascript-module",
34102
34102
  "path": "src/services/stabilityAI/utils/stabilityAIUtils.ts",
@@ -34177,6 +34177,111 @@
34177
34177
  }
34178
34178
  ]
34179
34179
  },
34180
+ {
34181
+ "kind": "javascript-module",
34182
+ "path": "src/views/chat/introPanel/introPanel.ts",
34183
+ "declarations": [
34184
+ {
34185
+ "kind": "class",
34186
+ "description": "",
34187
+ "name": "IntroPanel",
34188
+ "members": [
34189
+ {
34190
+ "kind": "field",
34191
+ "name": "_elementRef",
34192
+ "type": {
34193
+ "text": "HTMLElement | undefined"
34194
+ },
34195
+ "readonly": true
34196
+ },
34197
+ {
34198
+ "kind": "field",
34199
+ "name": "_isDisplayed",
34200
+ "type": {
34201
+ "text": "boolean"
34202
+ },
34203
+ "privacy": "private",
34204
+ "default": "false"
34205
+ },
34206
+ {
34207
+ "kind": "method",
34208
+ "name": "createIntroPanel",
34209
+ "privacy": "private",
34210
+ "static": true,
34211
+ "parameters": [
34212
+ {
34213
+ "name": "introPanelStyle",
34214
+ "optional": true,
34215
+ "type": {
34216
+ "text": "CustomStyle"
34217
+ }
34218
+ }
34219
+ ]
34220
+ },
34221
+ {
34222
+ "kind": "method",
34223
+ "name": "createIntroPanelWithChild",
34224
+ "privacy": "private",
34225
+ "parameters": [
34226
+ {
34227
+ "name": "childElement",
34228
+ "type": {
34229
+ "text": "HTMLElement"
34230
+ }
34231
+ },
34232
+ {
34233
+ "name": "introPanelStyle",
34234
+ "optional": true,
34235
+ "type": {
34236
+ "text": "CustomStyle"
34237
+ }
34238
+ }
34239
+ ]
34240
+ },
34241
+ {
34242
+ "kind": "method",
34243
+ "name": "createInternalIntroPanel",
34244
+ "privacy": "private",
34245
+ "parameters": [
34246
+ {
34247
+ "name": "introPanelMarkUp",
34248
+ "type": {
34249
+ "text": "string"
34250
+ }
34251
+ },
34252
+ {
34253
+ "name": "introPanelStyle",
34254
+ "optional": true,
34255
+ "type": {
34256
+ "text": "CustomStyle"
34257
+ }
34258
+ }
34259
+ ]
34260
+ },
34261
+ {
34262
+ "kind": "method",
34263
+ "name": "hide",
34264
+ "privacy": "public"
34265
+ },
34266
+ {
34267
+ "kind": "method",
34268
+ "name": "display",
34269
+ "privacy": "public"
34270
+ }
34271
+ ]
34272
+ }
34273
+ ],
34274
+ "exports": [
34275
+ {
34276
+ "kind": "js",
34277
+ "name": "IntroPanel",
34278
+ "declaration": {
34279
+ "name": "IntroPanel",
34280
+ "module": "src/views/chat/introPanel/introPanel.ts"
34281
+ }
34282
+ }
34283
+ ]
34284
+ },
34180
34285
  {
34181
34286
  "kind": "javascript-module",
34182
34287
  "path": "src/views/chat/input/input.ts",
@@ -34349,111 +34454,6 @@
34349
34454
  }
34350
34455
  ]
34351
34456
  },
34352
- {
34353
- "kind": "javascript-module",
34354
- "path": "src/views/chat/introPanel/introPanel.ts",
34355
- "declarations": [
34356
- {
34357
- "kind": "class",
34358
- "description": "",
34359
- "name": "IntroPanel",
34360
- "members": [
34361
- {
34362
- "kind": "field",
34363
- "name": "_elementRef",
34364
- "type": {
34365
- "text": "HTMLElement | undefined"
34366
- },
34367
- "readonly": true
34368
- },
34369
- {
34370
- "kind": "field",
34371
- "name": "_isDisplayed",
34372
- "type": {
34373
- "text": "boolean"
34374
- },
34375
- "privacy": "private",
34376
- "default": "false"
34377
- },
34378
- {
34379
- "kind": "method",
34380
- "name": "createIntroPanel",
34381
- "privacy": "private",
34382
- "static": true,
34383
- "parameters": [
34384
- {
34385
- "name": "introPanelStyle",
34386
- "optional": true,
34387
- "type": {
34388
- "text": "CustomStyle"
34389
- }
34390
- }
34391
- ]
34392
- },
34393
- {
34394
- "kind": "method",
34395
- "name": "createIntroPanelWithChild",
34396
- "privacy": "private",
34397
- "parameters": [
34398
- {
34399
- "name": "childElement",
34400
- "type": {
34401
- "text": "HTMLElement"
34402
- }
34403
- },
34404
- {
34405
- "name": "introPanelStyle",
34406
- "optional": true,
34407
- "type": {
34408
- "text": "CustomStyle"
34409
- }
34410
- }
34411
- ]
34412
- },
34413
- {
34414
- "kind": "method",
34415
- "name": "createInternalIntroPanel",
34416
- "privacy": "private",
34417
- "parameters": [
34418
- {
34419
- "name": "introPanelMarkUp",
34420
- "type": {
34421
- "text": "string"
34422
- }
34423
- },
34424
- {
34425
- "name": "introPanelStyle",
34426
- "optional": true,
34427
- "type": {
34428
- "text": "CustomStyle"
34429
- }
34430
- }
34431
- ]
34432
- },
34433
- {
34434
- "kind": "method",
34435
- "name": "hide",
34436
- "privacy": "public"
34437
- },
34438
- {
34439
- "kind": "method",
34440
- "name": "display",
34441
- "privacy": "public"
34442
- }
34443
- ]
34444
- }
34445
- ],
34446
- "exports": [
34447
- {
34448
- "kind": "js",
34449
- "name": "IntroPanel",
34450
- "declaration": {
34451
- "name": "IntroPanel",
34452
- "module": "src/views/chat/introPanel/introPanel.ts"
34453
- }
34454
- }
34455
- ]
34456
- },
34457
34457
  {
34458
34458
  "kind": "javascript-module",
34459
34459
  "path": "src/types/webModel/webLLM/webLLM.ts",
@@ -39727,6 +39727,180 @@
39727
39727
  }
39728
39728
  ]
39729
39729
  },
39730
+ {
39731
+ "kind": "javascript-module",
39732
+ "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
39733
+ "declarations": [
39734
+ {
39735
+ "kind": "class",
39736
+ "description": "",
39737
+ "name": "FileAttachments",
39738
+ "members": [
39739
+ {
39740
+ "kind": "field",
39741
+ "name": "_fileAttachmentsTypes",
39742
+ "type": {
39743
+ "text": "FileAttachmentsType[]"
39744
+ },
39745
+ "privacy": "private",
39746
+ "readonly": true,
39747
+ "default": "[]"
39748
+ },
39749
+ {
39750
+ "kind": "field",
39751
+ "name": "elementRef",
39752
+ "type": {
39753
+ "text": "HTMLElement"
39754
+ },
39755
+ "readonly": true
39756
+ },
39757
+ {
39758
+ "kind": "method",
39759
+ "name": "addType",
39760
+ "parameters": [
39761
+ {
39762
+ "name": "deepChat",
39763
+ "type": {
39764
+ "text": "DeepChat"
39765
+ }
39766
+ },
39767
+ {
39768
+ "name": "files",
39769
+ "type": {
39770
+ "text": "FileAttachmentsT"
39771
+ }
39772
+ },
39773
+ {
39774
+ "name": "type",
39775
+ "type": {
39776
+ "text": "keyof ServiceFileTypes"
39777
+ }
39778
+ }
39779
+ ]
39780
+ },
39781
+ {
39782
+ "kind": "method",
39783
+ "name": "createAttachmentContainer",
39784
+ "privacy": "private"
39785
+ },
39786
+ {
39787
+ "kind": "method",
39788
+ "name": "toggleContainerDisplay",
39789
+ "privacy": "private",
39790
+ "parameters": [
39791
+ {
39792
+ "name": "display",
39793
+ "type": {
39794
+ "text": "boolean"
39795
+ }
39796
+ }
39797
+ ]
39798
+ },
39799
+ {
39800
+ "kind": "method",
39801
+ "name": "getAllFileData"
39802
+ },
39803
+ {
39804
+ "kind": "method",
39805
+ "name": "completePlaceholders"
39806
+ },
39807
+ {
39808
+ "kind": "method",
39809
+ "name": "addFilesToType",
39810
+ "privacy": "public",
39811
+ "static": true,
39812
+ "parameters": [
39813
+ {
39814
+ "name": "files",
39815
+ "type": {
39816
+ "text": "File[]"
39817
+ }
39818
+ },
39819
+ {
39820
+ "name": "fileAttachmentTypes",
39821
+ "type": {
39822
+ "text": "FileAttachmentsType[]"
39823
+ }
39824
+ }
39825
+ ]
39826
+ },
39827
+ {
39828
+ "kind": "method",
39829
+ "name": "addFilesToAnyType",
39830
+ "parameters": [
39831
+ {
39832
+ "name": "files",
39833
+ "type": {
39834
+ "text": "File[]"
39835
+ }
39836
+ }
39837
+ ]
39838
+ },
39839
+ {
39840
+ "kind": "method",
39841
+ "name": "removeAllFiles"
39842
+ },
39843
+ {
39844
+ "kind": "method",
39845
+ "name": "getNumberOfTypes"
39846
+ }
39847
+ ]
39848
+ }
39849
+ ],
39850
+ "exports": [
39851
+ {
39852
+ "kind": "js",
39853
+ "name": "FileAttachments",
39854
+ "declaration": {
39855
+ "name": "FileAttachments",
39856
+ "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
39857
+ }
39858
+ }
39859
+ ]
39860
+ },
39861
+ {
39862
+ "kind": "javascript-module",
39863
+ "path": "src/views/chat/input/fileAttachments/newFileName.ts",
39864
+ "declarations": [
39865
+ {
39866
+ "kind": "class",
39867
+ "description": "",
39868
+ "name": "NewFileName",
39869
+ "members": [
39870
+ {
39871
+ "kind": "method",
39872
+ "name": "getFileName",
39873
+ "privacy": "public",
39874
+ "static": true,
39875
+ "parameters": [
39876
+ {
39877
+ "name": "prefix",
39878
+ "type": {
39879
+ "text": "string"
39880
+ }
39881
+ },
39882
+ {
39883
+ "name": "extension",
39884
+ "type": {
39885
+ "text": "string"
39886
+ }
39887
+ }
39888
+ ]
39889
+ }
39890
+ ]
39891
+ }
39892
+ ],
39893
+ "exports": [
39894
+ {
39895
+ "kind": "js",
39896
+ "name": "NewFileName",
39897
+ "declaration": {
39898
+ "name": "NewFileName",
39899
+ "module": "src/views/chat/input/fileAttachments/newFileName.ts"
39900
+ }
39901
+ }
39902
+ ]
39903
+ },
39730
39904
  {
39731
39905
  "kind": "javascript-module",
39732
39906
  "path": "src/views/chat/input/textInput/focusUtils.ts",
@@ -40320,180 +40494,6 @@
40320
40494
  }
40321
40495
  ]
40322
40496
  },
40323
- {
40324
- "kind": "javascript-module",
40325
- "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
40326
- "declarations": [
40327
- {
40328
- "kind": "class",
40329
- "description": "",
40330
- "name": "FileAttachments",
40331
- "members": [
40332
- {
40333
- "kind": "field",
40334
- "name": "_fileAttachmentsTypes",
40335
- "type": {
40336
- "text": "FileAttachmentsType[]"
40337
- },
40338
- "privacy": "private",
40339
- "readonly": true,
40340
- "default": "[]"
40341
- },
40342
- {
40343
- "kind": "field",
40344
- "name": "elementRef",
40345
- "type": {
40346
- "text": "HTMLElement"
40347
- },
40348
- "readonly": true
40349
- },
40350
- {
40351
- "kind": "method",
40352
- "name": "addType",
40353
- "parameters": [
40354
- {
40355
- "name": "deepChat",
40356
- "type": {
40357
- "text": "DeepChat"
40358
- }
40359
- },
40360
- {
40361
- "name": "files",
40362
- "type": {
40363
- "text": "FileAttachmentsT"
40364
- }
40365
- },
40366
- {
40367
- "name": "type",
40368
- "type": {
40369
- "text": "keyof ServiceFileTypes"
40370
- }
40371
- }
40372
- ]
40373
- },
40374
- {
40375
- "kind": "method",
40376
- "name": "createAttachmentContainer",
40377
- "privacy": "private"
40378
- },
40379
- {
40380
- "kind": "method",
40381
- "name": "toggleContainerDisplay",
40382
- "privacy": "private",
40383
- "parameters": [
40384
- {
40385
- "name": "display",
40386
- "type": {
40387
- "text": "boolean"
40388
- }
40389
- }
40390
- ]
40391
- },
40392
- {
40393
- "kind": "method",
40394
- "name": "getAllFileData"
40395
- },
40396
- {
40397
- "kind": "method",
40398
- "name": "completePlaceholders"
40399
- },
40400
- {
40401
- "kind": "method",
40402
- "name": "addFilesToType",
40403
- "privacy": "public",
40404
- "static": true,
40405
- "parameters": [
40406
- {
40407
- "name": "files",
40408
- "type": {
40409
- "text": "File[]"
40410
- }
40411
- },
40412
- {
40413
- "name": "fileAttachmentTypes",
40414
- "type": {
40415
- "text": "FileAttachmentsType[]"
40416
- }
40417
- }
40418
- ]
40419
- },
40420
- {
40421
- "kind": "method",
40422
- "name": "addFilesToAnyType",
40423
- "parameters": [
40424
- {
40425
- "name": "files",
40426
- "type": {
40427
- "text": "File[]"
40428
- }
40429
- }
40430
- ]
40431
- },
40432
- {
40433
- "kind": "method",
40434
- "name": "removeAllFiles"
40435
- },
40436
- {
40437
- "kind": "method",
40438
- "name": "getNumberOfTypes"
40439
- }
40440
- ]
40441
- }
40442
- ],
40443
- "exports": [
40444
- {
40445
- "kind": "js",
40446
- "name": "FileAttachments",
40447
- "declaration": {
40448
- "name": "FileAttachments",
40449
- "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
40450
- }
40451
- }
40452
- ]
40453
- },
40454
- {
40455
- "kind": "javascript-module",
40456
- "path": "src/views/chat/input/fileAttachments/newFileName.ts",
40457
- "declarations": [
40458
- {
40459
- "kind": "class",
40460
- "description": "",
40461
- "name": "NewFileName",
40462
- "members": [
40463
- {
40464
- "kind": "method",
40465
- "name": "getFileName",
40466
- "privacy": "public",
40467
- "static": true,
40468
- "parameters": [
40469
- {
40470
- "name": "prefix",
40471
- "type": {
40472
- "text": "string"
40473
- }
40474
- },
40475
- {
40476
- "name": "extension",
40477
- "type": {
40478
- "text": "string"
40479
- }
40480
- }
40481
- ]
40482
- }
40483
- ]
40484
- }
40485
- ],
40486
- "exports": [
40487
- {
40488
- "kind": "js",
40489
- "name": "NewFileName",
40490
- "declaration": {
40491
- "name": "NewFileName",
40492
- "module": "src/views/chat/input/fileAttachments/newFileName.ts"
40493
- }
40494
- }
40495
- ]
40496
- },
40497
40497
  {
40498
40498
  "kind": "javascript-module",
40499
40499
  "path": "src/views/chat/messages/history/history.ts",
@@ -41031,6 +41031,32 @@
41031
41031
  {
41032
41032
  "kind": "method",
41033
41033
  "name": "overwrite",
41034
+ "privacy": "public",
41035
+ "static": true,
41036
+ "parameters": [
41037
+ {
41038
+ "name": "messages",
41039
+ "type": {
41040
+ "text": "MessagesBase"
41041
+ }
41042
+ },
41043
+ {
41044
+ "name": "html",
41045
+ "type": {
41046
+ "text": "string"
41047
+ }
41048
+ },
41049
+ {
41050
+ "name": "elements",
41051
+ "type": {
41052
+ "text": "MessageElements"
41053
+ }
41054
+ }
41055
+ ]
41056
+ },
41057
+ {
41058
+ "kind": "method",
41059
+ "name": "overwriteLast",
41034
41060
  "privacy": "private",
41035
41061
  "static": true,
41036
41062
  "parameters": [