deep-chat-dev 9.0.155 → 9.0.156

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.
@@ -502,54 +502,6 @@
502
502
  }
503
503
  ]
504
504
  },
505
- {
506
- "kind": "javascript-module",
507
- "path": "src/services/serviceIO.ts",
508
- "declarations": [],
509
- "exports": []
510
- },
511
- {
512
- "kind": "javascript-module",
513
- "path": "src/services/serviceIOFactory.ts",
514
- "declarations": [
515
- {
516
- "kind": "class",
517
- "description": "",
518
- "name": "ServiceIOFactory",
519
- "members": [
520
- {
521
- "kind": "method",
522
- "name": "create",
523
- "privacy": "public",
524
- "static": true,
525
- "return": {
526
- "type": {
527
- "text": "ServiceIO"
528
- }
529
- },
530
- "parameters": [
531
- {
532
- "name": "deepChat",
533
- "type": {
534
- "text": "DeepChat"
535
- }
536
- }
537
- ]
538
- }
539
- ]
540
- }
541
- ],
542
- "exports": [
543
- {
544
- "kind": "js",
545
- "name": "ServiceIOFactory",
546
- "declaration": {
547
- "name": "ServiceIOFactory",
548
- "module": "src/services/serviceIOFactory.ts"
549
- }
550
- }
551
- ]
552
- },
553
505
  {
554
506
  "kind": "javascript-module",
555
507
  "path": "src/icons/audioIcon.ts",
@@ -909,333 +861,51 @@
909
861
  },
910
862
  {
911
863
  "kind": "javascript-module",
912
- "path": "src/types/APIKey.ts",
913
- "declarations": [],
914
- "exports": []
915
- },
916
- {
917
- "kind": "javascript-module",
918
- "path": "src/types/GCP.ts",
919
- "declarations": [],
920
- "exports": []
921
- },
922
- {
923
- "kind": "javascript-module",
924
- "path": "src/types/assemblyAI.ts",
925
- "declarations": [],
926
- "exports": []
927
- },
928
- {
929
- "kind": "javascript-module",
930
- "path": "src/types/assemblyAIResult.ts",
931
- "declarations": [],
932
- "exports": []
933
- },
934
- {
935
- "kind": "javascript-module",
936
- "path": "src/types/avatars.ts",
937
- "declarations": [],
938
- "exports": []
939
- },
940
- {
941
- "kind": "javascript-module",
942
- "path": "src/types/azure.ts",
943
- "declarations": [],
944
- "exports": []
945
- },
946
- {
947
- "kind": "javascript-module",
948
- "path": "src/types/azureResult.ts",
949
- "declarations": [],
950
- "exports": []
951
- },
952
- {
953
- "kind": "javascript-module",
954
- "path": "src/types/button.ts",
955
- "declarations": [],
956
- "exports": []
957
- },
958
- {
959
- "kind": "javascript-module",
960
- "path": "src/types/buttonInternal.ts",
961
- "declarations": [],
962
- "exports": []
963
- },
964
- {
965
- "kind": "javascript-module",
966
- "path": "src/types/buttonTypes.ts",
967
- "declarations": [],
968
- "exports": []
969
- },
970
- {
971
- "kind": "javascript-module",
972
- "path": "src/types/camera.ts",
973
- "declarations": [],
974
- "exports": []
975
- },
976
- {
977
- "kind": "javascript-module",
978
- "path": "src/types/chatLimits.ts",
979
- "declarations": [],
980
- "exports": []
981
- },
982
- {
983
- "kind": "javascript-module",
984
- "path": "src/types/cohere.ts",
985
- "declarations": [],
986
- "exports": []
987
- },
988
- {
989
- "kind": "javascript-module",
990
- "path": "src/types/cohereResult.ts",
991
- "declarations": [],
992
- "exports": []
993
- },
994
- {
995
- "kind": "javascript-module",
996
- "path": "src/types/connect.ts",
997
- "declarations": [],
998
- "exports": []
999
- },
1000
- {
1001
- "kind": "javascript-module",
1002
- "path": "src/types/demo.ts",
1003
- "declarations": [],
1004
- "exports": []
1005
- },
1006
- {
1007
- "kind": "javascript-module",
1008
- "path": "src/types/directConnection.ts",
1009
- "declarations": [],
1010
- "exports": []
1011
- },
1012
- {
1013
- "kind": "javascript-module",
1014
- "path": "src/types/dropupStyles.ts",
1015
- "declarations": [],
1016
- "exports": []
1017
- },
1018
- {
1019
- "kind": "javascript-module",
1020
- "path": "src/types/error.ts",
1021
- "declarations": [],
1022
- "exports": []
1023
- },
1024
- {
1025
- "kind": "javascript-module",
1026
- "path": "src/types/fileAttachments.ts",
1027
- "declarations": [],
1028
- "exports": []
1029
- },
1030
- {
1031
- "kind": "javascript-module",
1032
- "path": "src/types/fileServiceConfigs.ts",
1033
- "declarations": [],
1034
- "exports": []
1035
- },
1036
- {
1037
- "kind": "javascript-module",
1038
- "path": "src/types/fileTypes.ts",
1039
- "declarations": [],
1040
- "exports": []
1041
- },
1042
- {
1043
- "kind": "javascript-module",
1044
- "path": "src/types/genericInputButton.ts",
1045
- "declarations": [],
1046
- "exports": []
1047
- },
1048
- {
1049
- "kind": "javascript-module",
1050
- "path": "src/types/handler.ts",
1051
- "declarations": [],
1052
- "exports": []
1053
- },
1054
- {
1055
- "kind": "javascript-module",
1056
- "path": "src/types/headers.ts",
1057
- "declarations": [],
1058
- "exports": []
1059
- },
1060
- {
1061
- "kind": "javascript-module",
1062
- "path": "src/types/html.ts",
1063
- "declarations": [],
1064
- "exports": []
1065
- },
1066
- {
1067
- "kind": "javascript-module",
1068
- "path": "src/types/huggingFace.ts",
1069
- "declarations": [],
1070
- "exports": []
1071
- },
1072
- {
1073
- "kind": "javascript-module",
1074
- "path": "src/types/huggingFaceResult.ts",
1075
- "declarations": [],
1076
- "exports": []
1077
- },
1078
- {
1079
- "kind": "javascript-module",
1080
- "path": "src/types/insertKeyViewStyles.ts",
1081
- "declarations": [],
1082
- "exports": []
1083
- },
1084
- {
1085
- "kind": "javascript-module",
1086
- "path": "src/types/interceptors.ts",
1087
- "declarations": [],
1088
- "exports": []
1089
- },
1090
- {
1091
- "kind": "javascript-module",
1092
- "path": "src/types/keyVerificationDetails.ts",
1093
- "declarations": [],
1094
- "exports": []
1095
- },
1096
- {
1097
- "kind": "javascript-module",
1098
- "path": "src/types/messageFile.ts",
1099
- "declarations": [],
1100
- "exports": []
1101
- },
1102
- {
1103
- "kind": "javascript-module",
1104
- "path": "src/types/messages.ts",
1105
- "declarations": [],
1106
- "exports": []
1107
- },
1108
- {
1109
- "kind": "javascript-module",
1110
- "path": "src/types/messagesInternal.ts",
1111
- "declarations": [],
1112
- "exports": []
1113
- },
1114
- {
1115
- "kind": "javascript-module",
1116
- "path": "src/types/microphone.ts",
1117
- "declarations": [],
1118
- "exports": []
1119
- },
1120
- {
1121
- "kind": "javascript-module",
1122
- "path": "src/types/mistral.ts",
1123
- "declarations": [],
1124
- "exports": []
1125
- },
1126
- {
1127
- "kind": "javascript-module",
1128
- "path": "src/types/names.ts",
1129
- "declarations": [],
1130
- "exports": []
1131
- },
1132
- {
1133
- "kind": "javascript-module",
1134
- "path": "src/types/object.ts",
1135
- "declarations": [],
1136
- "exports": []
1137
- },
1138
- {
1139
- "kind": "javascript-module",
1140
- "path": "src/types/openAI.ts",
1141
- "declarations": [],
1142
- "exports": []
1143
- },
1144
- {
1145
- "kind": "javascript-module",
1146
- "path": "src/types/openAIInternal.ts",
1147
- "declarations": [],
1148
- "exports": []
1149
- },
1150
- {
1151
- "kind": "javascript-module",
1152
- "path": "src/types/openAIResult.ts",
1153
- "declarations": [],
1154
- "exports": []
1155
- },
1156
- {
1157
- "kind": "javascript-module",
1158
- "path": "src/types/permittedErrorMessage.ts",
1159
- "declarations": [],
1160
- "exports": []
1161
- },
1162
- {
1163
- "kind": "javascript-module",
1164
- "path": "src/types/response.ts",
1165
- "declarations": [],
1166
- "exports": []
1167
- },
1168
- {
1169
- "kind": "javascript-module",
1170
- "path": "src/types/responseInternal.ts",
1171
- "declarations": [],
1172
- "exports": []
1173
- },
1174
- {
1175
- "kind": "javascript-module",
1176
- "path": "src/types/stabilityAI.ts",
1177
- "declarations": [],
1178
- "exports": []
1179
- },
1180
- {
1181
- "kind": "javascript-module",
1182
- "path": "src/types/stabilityAIResult.ts",
1183
- "declarations": [],
1184
- "exports": []
1185
- },
1186
- {
1187
- "kind": "javascript-module",
1188
- "path": "src/types/stream.ts",
1189
- "declarations": [],
1190
- "exports": []
1191
- },
1192
- {
1193
- "kind": "javascript-module",
1194
- "path": "src/types/styles.ts",
1195
- "declarations": [],
1196
- "exports": []
1197
- },
1198
- {
1199
- "kind": "javascript-module",
1200
- "path": "src/types/submitButton.ts",
1201
- "declarations": [],
1202
- "exports": []
1203
- },
1204
- {
1205
- "kind": "javascript-module",
1206
- "path": "src/types/textInput.ts",
1207
- "declarations": [],
1208
- "exports": []
1209
- },
1210
- {
1211
- "kind": "javascript-module",
1212
- "path": "src/types/textToSpeech.ts",
1213
- "declarations": [],
1214
- "exports": []
1215
- },
1216
- {
1217
- "kind": "javascript-module",
1218
- "path": "src/types/typeConverters.ts",
1219
- "declarations": [],
1220
- "exports": []
1221
- },
1222
- {
1223
- "kind": "javascript-module",
1224
- "path": "src/types/utilityTypes.ts",
1225
- "declarations": [],
1226
- "exports": []
1227
- },
1228
- {
1229
- "kind": "javascript-module",
1230
- "path": "src/types/validateInput.ts",
864
+ "path": "src/services/serviceIO.ts",
1231
865
  "declarations": [],
1232
866
  "exports": []
1233
867
  },
1234
868
  {
1235
869
  "kind": "javascript-module",
1236
- "path": "src/types/validationHandler.ts",
1237
- "declarations": [],
1238
- "exports": []
870
+ "path": "src/services/serviceIOFactory.ts",
871
+ "declarations": [
872
+ {
873
+ "kind": "class",
874
+ "description": "",
875
+ "name": "ServiceIOFactory",
876
+ "members": [
877
+ {
878
+ "kind": "method",
879
+ "name": "create",
880
+ "privacy": "public",
881
+ "static": true,
882
+ "return": {
883
+ "type": {
884
+ "text": "ServiceIO"
885
+ }
886
+ },
887
+ "parameters": [
888
+ {
889
+ "name": "deepChat",
890
+ "type": {
891
+ "text": "DeepChat"
892
+ }
893
+ }
894
+ ]
895
+ }
896
+ ]
897
+ }
898
+ ],
899
+ "exports": [
900
+ {
901
+ "kind": "js",
902
+ "name": "ServiceIOFactory",
903
+ "declaration": {
904
+ "name": "ServiceIOFactory",
905
+ "module": "src/services/serviceIOFactory.ts"
906
+ }
907
+ }
908
+ ]
1239
909
  },
1240
910
  {
1241
911
  "kind": "javascript-module",
@@ -2347,6 +2017,336 @@
2347
2017
  "declarations": [],
2348
2018
  "exports": []
2349
2019
  },
2020
+ {
2021
+ "kind": "javascript-module",
2022
+ "path": "src/types/APIKey.ts",
2023
+ "declarations": [],
2024
+ "exports": []
2025
+ },
2026
+ {
2027
+ "kind": "javascript-module",
2028
+ "path": "src/types/GCP.ts",
2029
+ "declarations": [],
2030
+ "exports": []
2031
+ },
2032
+ {
2033
+ "kind": "javascript-module",
2034
+ "path": "src/types/assemblyAI.ts",
2035
+ "declarations": [],
2036
+ "exports": []
2037
+ },
2038
+ {
2039
+ "kind": "javascript-module",
2040
+ "path": "src/types/assemblyAIResult.ts",
2041
+ "declarations": [],
2042
+ "exports": []
2043
+ },
2044
+ {
2045
+ "kind": "javascript-module",
2046
+ "path": "src/types/avatars.ts",
2047
+ "declarations": [],
2048
+ "exports": []
2049
+ },
2050
+ {
2051
+ "kind": "javascript-module",
2052
+ "path": "src/types/azure.ts",
2053
+ "declarations": [],
2054
+ "exports": []
2055
+ },
2056
+ {
2057
+ "kind": "javascript-module",
2058
+ "path": "src/types/azureResult.ts",
2059
+ "declarations": [],
2060
+ "exports": []
2061
+ },
2062
+ {
2063
+ "kind": "javascript-module",
2064
+ "path": "src/types/button.ts",
2065
+ "declarations": [],
2066
+ "exports": []
2067
+ },
2068
+ {
2069
+ "kind": "javascript-module",
2070
+ "path": "src/types/buttonInternal.ts",
2071
+ "declarations": [],
2072
+ "exports": []
2073
+ },
2074
+ {
2075
+ "kind": "javascript-module",
2076
+ "path": "src/types/buttonTypes.ts",
2077
+ "declarations": [],
2078
+ "exports": []
2079
+ },
2080
+ {
2081
+ "kind": "javascript-module",
2082
+ "path": "src/types/camera.ts",
2083
+ "declarations": [],
2084
+ "exports": []
2085
+ },
2086
+ {
2087
+ "kind": "javascript-module",
2088
+ "path": "src/types/chatLimits.ts",
2089
+ "declarations": [],
2090
+ "exports": []
2091
+ },
2092
+ {
2093
+ "kind": "javascript-module",
2094
+ "path": "src/types/cohere.ts",
2095
+ "declarations": [],
2096
+ "exports": []
2097
+ },
2098
+ {
2099
+ "kind": "javascript-module",
2100
+ "path": "src/types/cohereResult.ts",
2101
+ "declarations": [],
2102
+ "exports": []
2103
+ },
2104
+ {
2105
+ "kind": "javascript-module",
2106
+ "path": "src/types/connect.ts",
2107
+ "declarations": [],
2108
+ "exports": []
2109
+ },
2110
+ {
2111
+ "kind": "javascript-module",
2112
+ "path": "src/types/demo.ts",
2113
+ "declarations": [],
2114
+ "exports": []
2115
+ },
2116
+ {
2117
+ "kind": "javascript-module",
2118
+ "path": "src/types/directConnection.ts",
2119
+ "declarations": [],
2120
+ "exports": []
2121
+ },
2122
+ {
2123
+ "kind": "javascript-module",
2124
+ "path": "src/types/dropupStyles.ts",
2125
+ "declarations": [],
2126
+ "exports": []
2127
+ },
2128
+ {
2129
+ "kind": "javascript-module",
2130
+ "path": "src/types/error.ts",
2131
+ "declarations": [],
2132
+ "exports": []
2133
+ },
2134
+ {
2135
+ "kind": "javascript-module",
2136
+ "path": "src/types/fileAttachments.ts",
2137
+ "declarations": [],
2138
+ "exports": []
2139
+ },
2140
+ {
2141
+ "kind": "javascript-module",
2142
+ "path": "src/types/fileServiceConfigs.ts",
2143
+ "declarations": [],
2144
+ "exports": []
2145
+ },
2146
+ {
2147
+ "kind": "javascript-module",
2148
+ "path": "src/types/fileTypes.ts",
2149
+ "declarations": [],
2150
+ "exports": []
2151
+ },
2152
+ {
2153
+ "kind": "javascript-module",
2154
+ "path": "src/types/genericInputButton.ts",
2155
+ "declarations": [],
2156
+ "exports": []
2157
+ },
2158
+ {
2159
+ "kind": "javascript-module",
2160
+ "path": "src/types/handler.ts",
2161
+ "declarations": [],
2162
+ "exports": []
2163
+ },
2164
+ {
2165
+ "kind": "javascript-module",
2166
+ "path": "src/types/headers.ts",
2167
+ "declarations": [],
2168
+ "exports": []
2169
+ },
2170
+ {
2171
+ "kind": "javascript-module",
2172
+ "path": "src/types/html.ts",
2173
+ "declarations": [],
2174
+ "exports": []
2175
+ },
2176
+ {
2177
+ "kind": "javascript-module",
2178
+ "path": "src/types/huggingFace.ts",
2179
+ "declarations": [],
2180
+ "exports": []
2181
+ },
2182
+ {
2183
+ "kind": "javascript-module",
2184
+ "path": "src/types/huggingFaceResult.ts",
2185
+ "declarations": [],
2186
+ "exports": []
2187
+ },
2188
+ {
2189
+ "kind": "javascript-module",
2190
+ "path": "src/types/insertKeyViewStyles.ts",
2191
+ "declarations": [],
2192
+ "exports": []
2193
+ },
2194
+ {
2195
+ "kind": "javascript-module",
2196
+ "path": "src/types/interceptors.ts",
2197
+ "declarations": [],
2198
+ "exports": []
2199
+ },
2200
+ {
2201
+ "kind": "javascript-module",
2202
+ "path": "src/types/keyVerificationDetails.ts",
2203
+ "declarations": [],
2204
+ "exports": []
2205
+ },
2206
+ {
2207
+ "kind": "javascript-module",
2208
+ "path": "src/types/messageFile.ts",
2209
+ "declarations": [],
2210
+ "exports": []
2211
+ },
2212
+ {
2213
+ "kind": "javascript-module",
2214
+ "path": "src/types/messages.ts",
2215
+ "declarations": [],
2216
+ "exports": []
2217
+ },
2218
+ {
2219
+ "kind": "javascript-module",
2220
+ "path": "src/types/messagesInternal.ts",
2221
+ "declarations": [],
2222
+ "exports": []
2223
+ },
2224
+ {
2225
+ "kind": "javascript-module",
2226
+ "path": "src/types/microphone.ts",
2227
+ "declarations": [],
2228
+ "exports": []
2229
+ },
2230
+ {
2231
+ "kind": "javascript-module",
2232
+ "path": "src/types/mistral.ts",
2233
+ "declarations": [],
2234
+ "exports": []
2235
+ },
2236
+ {
2237
+ "kind": "javascript-module",
2238
+ "path": "src/types/names.ts",
2239
+ "declarations": [],
2240
+ "exports": []
2241
+ },
2242
+ {
2243
+ "kind": "javascript-module",
2244
+ "path": "src/types/object.ts",
2245
+ "declarations": [],
2246
+ "exports": []
2247
+ },
2248
+ {
2249
+ "kind": "javascript-module",
2250
+ "path": "src/types/openAI.ts",
2251
+ "declarations": [],
2252
+ "exports": []
2253
+ },
2254
+ {
2255
+ "kind": "javascript-module",
2256
+ "path": "src/types/openAIInternal.ts",
2257
+ "declarations": [],
2258
+ "exports": []
2259
+ },
2260
+ {
2261
+ "kind": "javascript-module",
2262
+ "path": "src/types/openAIResult.ts",
2263
+ "declarations": [],
2264
+ "exports": []
2265
+ },
2266
+ {
2267
+ "kind": "javascript-module",
2268
+ "path": "src/types/permittedErrorMessage.ts",
2269
+ "declarations": [],
2270
+ "exports": []
2271
+ },
2272
+ {
2273
+ "kind": "javascript-module",
2274
+ "path": "src/types/response.ts",
2275
+ "declarations": [],
2276
+ "exports": []
2277
+ },
2278
+ {
2279
+ "kind": "javascript-module",
2280
+ "path": "src/types/responseInternal.ts",
2281
+ "declarations": [],
2282
+ "exports": []
2283
+ },
2284
+ {
2285
+ "kind": "javascript-module",
2286
+ "path": "src/types/stabilityAI.ts",
2287
+ "declarations": [],
2288
+ "exports": []
2289
+ },
2290
+ {
2291
+ "kind": "javascript-module",
2292
+ "path": "src/types/stabilityAIResult.ts",
2293
+ "declarations": [],
2294
+ "exports": []
2295
+ },
2296
+ {
2297
+ "kind": "javascript-module",
2298
+ "path": "src/types/stream.ts",
2299
+ "declarations": [],
2300
+ "exports": []
2301
+ },
2302
+ {
2303
+ "kind": "javascript-module",
2304
+ "path": "src/types/styles.ts",
2305
+ "declarations": [],
2306
+ "exports": []
2307
+ },
2308
+ {
2309
+ "kind": "javascript-module",
2310
+ "path": "src/types/submitButton.ts",
2311
+ "declarations": [],
2312
+ "exports": []
2313
+ },
2314
+ {
2315
+ "kind": "javascript-module",
2316
+ "path": "src/types/textInput.ts",
2317
+ "declarations": [],
2318
+ "exports": []
2319
+ },
2320
+ {
2321
+ "kind": "javascript-module",
2322
+ "path": "src/types/textToSpeech.ts",
2323
+ "declarations": [],
2324
+ "exports": []
2325
+ },
2326
+ {
2327
+ "kind": "javascript-module",
2328
+ "path": "src/types/typeConverters.ts",
2329
+ "declarations": [],
2330
+ "exports": []
2331
+ },
2332
+ {
2333
+ "kind": "javascript-module",
2334
+ "path": "src/types/utilityTypes.ts",
2335
+ "declarations": [],
2336
+ "exports": []
2337
+ },
2338
+ {
2339
+ "kind": "javascript-module",
2340
+ "path": "src/types/validateInput.ts",
2341
+ "declarations": [],
2342
+ "exports": []
2343
+ },
2344
+ {
2345
+ "kind": "javascript-module",
2346
+ "path": "src/types/validationHandler.ts",
2347
+ "declarations": [],
2348
+ "exports": []
2349
+ },
2350
2350
  {
2351
2351
  "kind": "javascript-module",
2352
2352
  "path": "src/services/assemblyAI/assemblyAIAudioIO.ts",
@@ -17732,6 +17732,25 @@
17732
17732
  "readonly": true,
17733
17733
  "default": "false"
17734
17734
  },
17735
+ {
17736
+ "kind": "field",
17737
+ "name": "waitingForStreamResponse",
17738
+ "type": {
17739
+ "text": "boolean"
17740
+ },
17741
+ "privacy": "private",
17742
+ "default": "false"
17743
+ },
17744
+ {
17745
+ "kind": "field",
17746
+ "name": "isSSEStream",
17747
+ "type": {
17748
+ "text": "boolean"
17749
+ },
17750
+ "privacy": "private",
17751
+ "readonly": true,
17752
+ "default": "false"
17753
+ },
17735
17754
  {
17736
17755
  "kind": "field",
17737
17756
  "name": "fetchHistory",
@@ -17868,7 +17887,7 @@
17868
17887
  "name": "extractResultData",
17869
17888
  "return": {
17870
17889
  "type": {
17871
- "text": "Promise<{makingAnotherRequest: true}>"
17890
+ "text": "Promise<ResponseT | {makingAnotherRequest: true}>"
17872
17891
  }
17873
17892
  },
17874
17893
  "parameters": [
@@ -17949,6 +17968,45 @@
17949
17968
  }
17950
17969
  ]
17951
17970
  },
17971
+ {
17972
+ "kind": "method",
17973
+ "name": "handleStream",
17974
+ "privacy": "private",
17975
+ "parameters": [
17976
+ {
17977
+ "name": "result",
17978
+ "type": {
17979
+ "text": "OpenAIAssistantInitReqResult"
17980
+ }
17981
+ }
17982
+ ]
17983
+ },
17984
+ {
17985
+ "kind": "method",
17986
+ "name": "parseStreamResult",
17987
+ "privacy": "private",
17988
+ "parameters": [
17989
+ {
17990
+ "name": "result",
17991
+ "type": {
17992
+ "text": "OpenAIAssistantInitReqResult"
17993
+ }
17994
+ }
17995
+ ]
17996
+ },
17997
+ {
17998
+ "kind": "method",
17999
+ "name": "createStreamRun",
18000
+ "privacy": "private",
18001
+ "parameters": [
18002
+ {
18003
+ "name": "body",
18004
+ "type": {
18005
+ "text": "any"
18006
+ }
18007
+ }
18008
+ ]
18009
+ },
17952
18010
  {
17953
18011
  "kind": "field",
17954
18012
  "name": "headers",
@@ -27187,6 +27245,10 @@
27187
27245
  {
27188
27246
  "name": "stringifyBody",
27189
27247
  "default": "true"
27248
+ },
27249
+ {
27250
+ "name": "canBeEmpty",
27251
+ "default": "false"
27190
27252
  }
27191
27253
  ]
27192
27254
  },
@@ -28443,30 +28505,6 @@
28443
28505
  }
28444
28506
  ]
28445
28507
  },
28446
- {
28447
- "kind": "javascript-module",
28448
- "path": "src/utils/files/fileTypeButtonIcons.ts",
28449
- "declarations": [
28450
- {
28451
- "kind": "variable",
28452
- "name": "FILE_TYPE_BUTTON_ICONS",
28453
- "type": {
28454
- "text": "ServiceFileTypes"
28455
- },
28456
- "default": "{\n images: {id: 'upload-images-icon', svgString: IMAGE_ICON_STRING, dropupText: 'Image'},\n gifs: {id: 'upload-gifs-icon', svgString: GIF_ICON_STRING, dropupText: 'GIF'},\n audio: {id: 'upload-audio-icon', svgString: AUDIO_ICON_STRING, dropupText: 'Audio'},\n mixedFiles: {id: 'upload-mixed-files-icon', svgString: MIXED_FILES_ICON_STRING, dropupText: 'File'},\n}"
28457
- }
28458
- ],
28459
- "exports": [
28460
- {
28461
- "kind": "js",
28462
- "name": "FILE_TYPE_BUTTON_ICONS",
28463
- "declaration": {
28464
- "name": "FILE_TYPE_BUTTON_ICONS",
28465
- "module": "src/utils/files/fileTypeButtonIcons.ts"
28466
- }
28467
- }
28468
- ]
28469
- },
28470
28508
  {
28471
28509
  "kind": "javascript-module",
28472
28510
  "path": "src/utils/events/fireEvents.ts",
@@ -28564,6 +28602,30 @@
28564
28602
  }
28565
28603
  ]
28566
28604
  },
28605
+ {
28606
+ "kind": "javascript-module",
28607
+ "path": "src/utils/files/fileTypeButtonIcons.ts",
28608
+ "declarations": [
28609
+ {
28610
+ "kind": "variable",
28611
+ "name": "FILE_TYPE_BUTTON_ICONS",
28612
+ "type": {
28613
+ "text": "ServiceFileTypes"
28614
+ },
28615
+ "default": "{\n images: {id: 'upload-images-icon', svgString: IMAGE_ICON_STRING, dropupText: 'Image'},\n gifs: {id: 'upload-gifs-icon', svgString: GIF_ICON_STRING, dropupText: 'GIF'},\n audio: {id: 'upload-audio-icon', svgString: AUDIO_ICON_STRING, dropupText: 'Audio'},\n mixedFiles: {id: 'upload-mixed-files-icon', svgString: MIXED_FILES_ICON_STRING, dropupText: 'File'},\n}"
28616
+ }
28617
+ ],
28618
+ "exports": [
28619
+ {
28620
+ "kind": "js",
28621
+ "name": "FILE_TYPE_BUTTON_ICONS",
28622
+ "declaration": {
28623
+ "name": "FILE_TYPE_BUTTON_ICONS",
28624
+ "module": "src/utils/files/fileTypeButtonIcons.ts"
28625
+ }
28626
+ }
28627
+ ]
28628
+ },
28567
28629
  {
28568
28630
  "kind": "javascript-module",
28569
28631
  "path": "src/utils/legacy/legacy.ts",
@@ -33964,6 +34026,180 @@
33964
34026
  }
33965
34027
  ]
33966
34028
  },
34029
+ {
34030
+ "kind": "javascript-module",
34031
+ "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
34032
+ "declarations": [
34033
+ {
34034
+ "kind": "class",
34035
+ "description": "",
34036
+ "name": "FileAttachments",
34037
+ "members": [
34038
+ {
34039
+ "kind": "field",
34040
+ "name": "_fileAttachmentsTypes",
34041
+ "type": {
34042
+ "text": "FileAttachmentsType[]"
34043
+ },
34044
+ "privacy": "private",
34045
+ "readonly": true,
34046
+ "default": "[]"
34047
+ },
34048
+ {
34049
+ "kind": "field",
34050
+ "name": "elementRef",
34051
+ "type": {
34052
+ "text": "HTMLElement"
34053
+ },
34054
+ "readonly": true
34055
+ },
34056
+ {
34057
+ "kind": "method",
34058
+ "name": "addType",
34059
+ "parameters": [
34060
+ {
34061
+ "name": "deepChat",
34062
+ "type": {
34063
+ "text": "DeepChat"
34064
+ }
34065
+ },
34066
+ {
34067
+ "name": "files",
34068
+ "type": {
34069
+ "text": "FileAttachmentsT"
34070
+ }
34071
+ },
34072
+ {
34073
+ "name": "type",
34074
+ "type": {
34075
+ "text": "keyof ServiceFileTypes"
34076
+ }
34077
+ }
34078
+ ]
34079
+ },
34080
+ {
34081
+ "kind": "method",
34082
+ "name": "createAttachmentContainer",
34083
+ "privacy": "private"
34084
+ },
34085
+ {
34086
+ "kind": "method",
34087
+ "name": "toggleContainerDisplay",
34088
+ "privacy": "private",
34089
+ "parameters": [
34090
+ {
34091
+ "name": "display",
34092
+ "type": {
34093
+ "text": "boolean"
34094
+ }
34095
+ }
34096
+ ]
34097
+ },
34098
+ {
34099
+ "kind": "method",
34100
+ "name": "getAllFileData"
34101
+ },
34102
+ {
34103
+ "kind": "method",
34104
+ "name": "completePlaceholders"
34105
+ },
34106
+ {
34107
+ "kind": "method",
34108
+ "name": "addFilesToType",
34109
+ "privacy": "public",
34110
+ "static": true,
34111
+ "parameters": [
34112
+ {
34113
+ "name": "files",
34114
+ "type": {
34115
+ "text": "File[]"
34116
+ }
34117
+ },
34118
+ {
34119
+ "name": "fileAttachmentTypes",
34120
+ "type": {
34121
+ "text": "FileAttachmentsType[]"
34122
+ }
34123
+ }
34124
+ ]
34125
+ },
34126
+ {
34127
+ "kind": "method",
34128
+ "name": "addFilesToAnyType",
34129
+ "parameters": [
34130
+ {
34131
+ "name": "files",
34132
+ "type": {
34133
+ "text": "File[]"
34134
+ }
34135
+ }
34136
+ ]
34137
+ },
34138
+ {
34139
+ "kind": "method",
34140
+ "name": "removeAllFiles"
34141
+ },
34142
+ {
34143
+ "kind": "method",
34144
+ "name": "getNumberOfTypes"
34145
+ }
34146
+ ]
34147
+ }
34148
+ ],
34149
+ "exports": [
34150
+ {
34151
+ "kind": "js",
34152
+ "name": "FileAttachments",
34153
+ "declaration": {
34154
+ "name": "FileAttachments",
34155
+ "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
34156
+ }
34157
+ }
34158
+ ]
34159
+ },
34160
+ {
34161
+ "kind": "javascript-module",
34162
+ "path": "src/views/chat/input/fileAttachments/newFileName.ts",
34163
+ "declarations": [
34164
+ {
34165
+ "kind": "class",
34166
+ "description": "",
34167
+ "name": "NewFileName",
34168
+ "members": [
34169
+ {
34170
+ "kind": "method",
34171
+ "name": "getFileName",
34172
+ "privacy": "public",
34173
+ "static": true,
34174
+ "parameters": [
34175
+ {
34176
+ "name": "prefix",
34177
+ "type": {
34178
+ "text": "string"
34179
+ }
34180
+ },
34181
+ {
34182
+ "name": "extension",
34183
+ "type": {
34184
+ "text": "string"
34185
+ }
34186
+ }
34187
+ ]
34188
+ }
34189
+ ]
34190
+ }
34191
+ ],
34192
+ "exports": [
34193
+ {
34194
+ "kind": "js",
34195
+ "name": "NewFileName",
34196
+ "declaration": {
34197
+ "name": "NewFileName",
34198
+ "module": "src/views/chat/input/fileAttachments/newFileName.ts"
34199
+ }
34200
+ }
34201
+ ]
34202
+ },
33967
34203
  {
33968
34204
  "kind": "javascript-module",
33969
34205
  "path": "src/views/chat/input/dropup/dropup.ts",
@@ -34726,160 +34962,166 @@
34726
34962
  },
34727
34963
  {
34728
34964
  "kind": "javascript-module",
34729
- "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
34965
+ "path": "src/views/chat/input/validation/validationHandler.ts",
34730
34966
  "declarations": [
34731
34967
  {
34732
34968
  "kind": "class",
34733
34969
  "description": "",
34734
- "name": "FileAttachments",
34970
+ "name": "ValidationHandler",
34735
34971
  "members": [
34736
- {
34737
- "kind": "field",
34738
- "name": "_fileAttachmentsTypes",
34739
- "type": {
34740
- "text": "FileAttachmentsType[]"
34741
- },
34742
- "privacy": "private",
34743
- "readonly": true,
34744
- "default": "[]"
34745
- },
34746
- {
34747
- "kind": "field",
34748
- "name": "elementRef",
34749
- "type": {
34750
- "text": "HTMLElement"
34751
- },
34752
- "readonly": true
34753
- },
34754
34972
  {
34755
34973
  "kind": "method",
34756
- "name": "addType",
34974
+ "name": "validate",
34975
+ "privacy": "private",
34976
+ "static": true,
34757
34977
  "parameters": [
34758
34978
  {
34759
- "name": "deepChat",
34979
+ "name": "validation",
34760
34980
  "type": {
34761
- "text": "DeepChat"
34981
+ "text": "ValidateFunc"
34982
+ }
34983
+ },
34984
+ {
34985
+ "name": "submitButton",
34986
+ "type": {
34987
+ "text": "SubmitButton"
34988
+ }
34989
+ },
34990
+ {
34991
+ "name": "text",
34992
+ "optional": true,
34993
+ "type": {
34994
+ "text": "string"
34762
34995
  }
34763
34996
  },
34764
34997
  {
34765
34998
  "name": "files",
34999
+ "optional": true,
34766
35000
  "type": {
34767
- "text": "FileAttachmentsT"
35001
+ "text": "File[]"
34768
35002
  }
34769
35003
  },
34770
35004
  {
34771
- "name": "type",
35005
+ "name": "isProgrammatic",
35006
+ "optional": true,
34772
35007
  "type": {
34773
- "text": "keyof ServiceFileTypes"
35008
+ "text": "boolean"
34774
35009
  }
34775
35010
  }
34776
35011
  ]
34777
35012
  },
34778
35013
  {
34779
35014
  "kind": "method",
34780
- "name": "createAttachmentContainer",
34781
- "privacy": "private"
34782
- },
34783
- {
34784
- "kind": "method",
34785
- "name": "toggleContainerDisplay",
35015
+ "name": "useValidationFunc",
34786
35016
  "privacy": "private",
35017
+ "static": true,
34787
35018
  "parameters": [
34788
35019
  {
34789
- "name": "display",
35020
+ "name": "validation",
34790
35021
  "type": {
34791
- "text": "boolean"
35022
+ "text": "ValidateFunc"
35023
+ }
35024
+ },
35025
+ {
35026
+ "name": "textInput",
35027
+ "type": {
35028
+ "text": "TextInputEl"
35029
+ }
35030
+ },
35031
+ {
35032
+ "name": "fileAttachments",
35033
+ "type": {
35034
+ "text": "FileAttachments"
35035
+ }
35036
+ },
35037
+ {
35038
+ "name": "submitButton",
35039
+ "type": {
35040
+ "text": "SubmitButton"
34792
35041
  }
34793
35042
  }
34794
35043
  ]
34795
35044
  },
34796
35045
  {
34797
35046
  "kind": "method",
34798
- "name": "getAllFileData"
34799
- },
34800
- {
34801
- "kind": "method",
34802
- "name": "completePlaceholders"
34803
- },
34804
- {
34805
- "kind": "method",
34806
- "name": "addFilesToType",
34807
- "privacy": "public",
35047
+ "name": "useValidationFuncProgrammatic",
35048
+ "privacy": "private",
34808
35049
  "static": true,
34809
35050
  "parameters": [
34810
35051
  {
34811
- "name": "files",
35052
+ "name": "validation",
34812
35053
  "type": {
34813
- "text": "File[]"
35054
+ "text": "ValidateFunc"
34814
35055
  }
34815
35056
  },
34816
35057
  {
34817
- "name": "fileAttachmentTypes",
35058
+ "name": "programmatic",
34818
35059
  "type": {
34819
- "text": "FileAttachmentsType[]"
35060
+ "text": "UserContentI"
35061
+ }
35062
+ },
35063
+ {
35064
+ "name": "submitButton",
35065
+ "type": {
35066
+ "text": "SubmitButton"
34820
35067
  }
34821
35068
  }
34822
35069
  ]
34823
35070
  },
34824
35071
  {
34825
35072
  "kind": "method",
34826
- "name": "addFilesToAnyType",
35073
+ "name": "validateWebsocket",
35074
+ "privacy": "private",
35075
+ "static": true,
34827
35076
  "parameters": [
34828
35077
  {
34829
- "name": "files",
35078
+ "name": "serviceIO",
34830
35079
  "type": {
34831
- "text": "File[]"
35080
+ "text": "ServiceIO"
35081
+ }
35082
+ },
35083
+ {
35084
+ "name": "submitButton",
35085
+ "type": {
35086
+ "text": "SubmitButton"
34832
35087
  }
34833
35088
  }
34834
35089
  ]
34835
35090
  },
34836
35091
  {
34837
35092
  "kind": "method",
34838
- "name": "removeAllFiles"
34839
- },
34840
- {
34841
- "kind": "method",
34842
- "name": "getNumberOfTypes"
34843
- }
34844
- ]
34845
- }
34846
- ],
34847
- "exports": [
34848
- {
34849
- "kind": "js",
34850
- "name": "FileAttachments",
34851
- "declaration": {
34852
- "name": "FileAttachments",
34853
- "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
34854
- }
34855
- }
34856
- ]
34857
- },
34858
- {
34859
- "kind": "javascript-module",
34860
- "path": "src/views/chat/input/fileAttachments/newFileName.ts",
34861
- "declarations": [
34862
- {
34863
- "kind": "class",
34864
- "description": "",
34865
- "name": "NewFileName",
34866
- "members": [
34867
- {
34868
- "kind": "method",
34869
- "name": "getFileName",
35093
+ "name": "attach",
34870
35094
  "privacy": "public",
34871
35095
  "static": true,
34872
35096
  "parameters": [
34873
35097
  {
34874
- "name": "prefix",
35098
+ "name": "deepChat",
34875
35099
  "type": {
34876
- "text": "string"
35100
+ "text": "DeepChat"
34877
35101
  }
34878
35102
  },
34879
35103
  {
34880
- "name": "extension",
35104
+ "name": "serviceIO",
34881
35105
  "type": {
34882
- "text": "string"
35106
+ "text": "ServiceIO"
35107
+ }
35108
+ },
35109
+ {
35110
+ "name": "textInput",
35111
+ "type": {
35112
+ "text": "TextInputEl"
35113
+ }
35114
+ },
35115
+ {
35116
+ "name": "fileAttachments",
35117
+ "type": {
35118
+ "text": "FileAttachments"
35119
+ }
35120
+ },
35121
+ {
35122
+ "name": "submitButton",
35123
+ "type": {
35124
+ "text": "SubmitButton"
34883
35125
  }
34884
35126
  }
34885
35127
  ]
@@ -34890,10 +35132,10 @@
34890
35132
  "exports": [
34891
35133
  {
34892
35134
  "kind": "js",
34893
- "name": "NewFileName",
35135
+ "name": "ValidationHandler",
34894
35136
  "declaration": {
34895
- "name": "NewFileName",
34896
- "module": "src/views/chat/input/fileAttachments/newFileName.ts"
35137
+ "name": "ValidationHandler",
35138
+ "module": "src/views/chat/input/validation/validationHandler.ts"
34897
35139
  }
34898
35140
  }
34899
35141
  ]
@@ -35341,186 +35583,6 @@
35341
35583
  }
35342
35584
  ]
35343
35585
  },
35344
- {
35345
- "kind": "javascript-module",
35346
- "path": "src/views/chat/input/validation/validationHandler.ts",
35347
- "declarations": [
35348
- {
35349
- "kind": "class",
35350
- "description": "",
35351
- "name": "ValidationHandler",
35352
- "members": [
35353
- {
35354
- "kind": "method",
35355
- "name": "validate",
35356
- "privacy": "private",
35357
- "static": true,
35358
- "parameters": [
35359
- {
35360
- "name": "validation",
35361
- "type": {
35362
- "text": "ValidateFunc"
35363
- }
35364
- },
35365
- {
35366
- "name": "submitButton",
35367
- "type": {
35368
- "text": "SubmitButton"
35369
- }
35370
- },
35371
- {
35372
- "name": "text",
35373
- "optional": true,
35374
- "type": {
35375
- "text": "string"
35376
- }
35377
- },
35378
- {
35379
- "name": "files",
35380
- "optional": true,
35381
- "type": {
35382
- "text": "File[]"
35383
- }
35384
- },
35385
- {
35386
- "name": "isProgrammatic",
35387
- "optional": true,
35388
- "type": {
35389
- "text": "boolean"
35390
- }
35391
- }
35392
- ]
35393
- },
35394
- {
35395
- "kind": "method",
35396
- "name": "useValidationFunc",
35397
- "privacy": "private",
35398
- "static": true,
35399
- "parameters": [
35400
- {
35401
- "name": "validation",
35402
- "type": {
35403
- "text": "ValidateFunc"
35404
- }
35405
- },
35406
- {
35407
- "name": "textInput",
35408
- "type": {
35409
- "text": "TextInputEl"
35410
- }
35411
- },
35412
- {
35413
- "name": "fileAttachments",
35414
- "type": {
35415
- "text": "FileAttachments"
35416
- }
35417
- },
35418
- {
35419
- "name": "submitButton",
35420
- "type": {
35421
- "text": "SubmitButton"
35422
- }
35423
- }
35424
- ]
35425
- },
35426
- {
35427
- "kind": "method",
35428
- "name": "useValidationFuncProgrammatic",
35429
- "privacy": "private",
35430
- "static": true,
35431
- "parameters": [
35432
- {
35433
- "name": "validation",
35434
- "type": {
35435
- "text": "ValidateFunc"
35436
- }
35437
- },
35438
- {
35439
- "name": "programmatic",
35440
- "type": {
35441
- "text": "UserContentI"
35442
- }
35443
- },
35444
- {
35445
- "name": "submitButton",
35446
- "type": {
35447
- "text": "SubmitButton"
35448
- }
35449
- }
35450
- ]
35451
- },
35452
- {
35453
- "kind": "method",
35454
- "name": "validateWebsocket",
35455
- "privacy": "private",
35456
- "static": true,
35457
- "parameters": [
35458
- {
35459
- "name": "serviceIO",
35460
- "type": {
35461
- "text": "ServiceIO"
35462
- }
35463
- },
35464
- {
35465
- "name": "submitButton",
35466
- "type": {
35467
- "text": "SubmitButton"
35468
- }
35469
- }
35470
- ]
35471
- },
35472
- {
35473
- "kind": "method",
35474
- "name": "attach",
35475
- "privacy": "public",
35476
- "static": true,
35477
- "parameters": [
35478
- {
35479
- "name": "deepChat",
35480
- "type": {
35481
- "text": "DeepChat"
35482
- }
35483
- },
35484
- {
35485
- "name": "serviceIO",
35486
- "type": {
35487
- "text": "ServiceIO"
35488
- }
35489
- },
35490
- {
35491
- "name": "textInput",
35492
- "type": {
35493
- "text": "TextInputEl"
35494
- }
35495
- },
35496
- {
35497
- "name": "fileAttachments",
35498
- "type": {
35499
- "text": "FileAttachments"
35500
- }
35501
- },
35502
- {
35503
- "name": "submitButton",
35504
- "type": {
35505
- "text": "SubmitButton"
35506
- }
35507
- }
35508
- ]
35509
- }
35510
- ]
35511
- }
35512
- ],
35513
- "exports": [
35514
- {
35515
- "kind": "js",
35516
- "name": "ValidationHandler",
35517
- "declaration": {
35518
- "name": "ValidationHandler",
35519
- "module": "src/views/chat/input/validation/validationHandler.ts"
35520
- }
35521
- }
35522
- ]
35523
- },
35524
35586
  {
35525
35587
  "kind": "javascript-module",
35526
35588
  "path": "src/views/chat/messages/html/htmlDeepChatElements.ts",