@dofe/infra-clients 0.1.1 → 0.1.2

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.
Files changed (311) hide show
  1. package/dist/index.d.ts.map +1 -1
  2. package/dist/index.js.map +1 -1
  3. package/dist/internal/agentx/agentx-client.module.d.ts.map +1 -1
  4. package/dist/internal/agentx/agentx-client.module.js.map +1 -1
  5. package/dist/internal/agentx/agentx-client.service.d.ts.map +1 -1
  6. package/dist/internal/agentx/agentx-client.service.js.map +1 -1
  7. package/dist/internal/agentx/agentx-file-client.service.d.ts.map +1 -1
  8. package/dist/internal/agentx/agentx-file-client.service.js +3 -2
  9. package/dist/internal/agentx/agentx-file-client.service.js.map +1 -1
  10. package/dist/internal/agentx/index.d.ts.map +1 -1
  11. package/dist/internal/agentx/index.js.map +1 -1
  12. package/dist/internal/agentx/interfaces/file.interface.d.ts.map +1 -1
  13. package/dist/internal/agentx/interfaces/file.interface.js.map +1 -1
  14. package/dist/internal/agentx/interfaces/task.interface.d.ts.map +1 -1
  15. package/dist/internal/agentx/interfaces/task.interface.js.map +1 -1
  16. package/dist/internal/ai/index.d.ts.map +1 -1
  17. package/dist/internal/ai/index.js.map +1 -1
  18. package/dist/internal/ai/risk-detection.client.d.ts.map +1 -1
  19. package/dist/internal/ai/risk-detection.client.js.map +1 -1
  20. package/dist/internal/ai/risk-detection.module.d.ts.map +1 -1
  21. package/dist/internal/ai/risk-detection.module.js.map +1 -1
  22. package/dist/internal/ai-provider/ai-provider.client.d.ts.map +1 -1
  23. package/dist/internal/ai-provider/ai-provider.client.js.map +1 -1
  24. package/dist/internal/ai-provider/ai-provider.module.d.ts.map +1 -1
  25. package/dist/internal/ai-provider/ai-provider.module.js.map +1 -1
  26. package/dist/internal/ai-provider/index.d.ts.map +1 -1
  27. package/dist/internal/ai-provider/index.js.map +1 -1
  28. package/dist/internal/channel-verify/channel-verify.client.d.ts.map +1 -1
  29. package/dist/internal/channel-verify/channel-verify.client.js.map +1 -1
  30. package/dist/internal/channel-verify/index.d.ts.map +1 -1
  31. package/dist/internal/channel-verify/index.js.map +1 -1
  32. package/dist/internal/complexity-classifier/complexity-classifier.module.d.ts.map +1 -1
  33. package/dist/internal/complexity-classifier/complexity-classifier.module.js.map +1 -1
  34. package/dist/internal/complexity-classifier/complexity-classifier.service.d.ts.map +1 -1
  35. package/dist/internal/complexity-classifier/complexity-classifier.service.js.map +1 -1
  36. package/dist/internal/complexity-classifier/complexity-classifier.types.d.ts.map +1 -1
  37. package/dist/internal/complexity-classifier/complexity-classifier.types.js.map +1 -1
  38. package/dist/internal/complexity-classifier/index.d.ts.map +1 -1
  39. package/dist/internal/complexity-classifier/index.js.map +1 -1
  40. package/dist/internal/crypt/crypt.client.d.ts.map +1 -1
  41. package/dist/internal/crypt/crypt.client.js.map +1 -1
  42. package/dist/internal/crypt/crypt.module.d.ts.map +1 -1
  43. package/dist/internal/crypt/crypt.module.js.map +1 -1
  44. package/dist/internal/crypt/index.d.ts.map +1 -1
  45. package/dist/internal/crypt/index.js.map +1 -1
  46. package/dist/internal/email/dto/email.dto.d.ts.map +1 -1
  47. package/dist/internal/email/dto/email.dto.js.map +1 -1
  48. package/dist/internal/email/index.d.ts.map +1 -1
  49. package/dist/internal/email/index.js.map +1 -1
  50. package/dist/internal/email/sendcloud.client.d.ts.map +1 -1
  51. package/dist/internal/email/sendcloud.client.js.map +1 -1
  52. package/dist/internal/exchange-rate/exchange-rate.client.d.ts.map +1 -1
  53. package/dist/internal/exchange-rate/exchange-rate.client.js.map +1 -1
  54. package/dist/internal/exchange-rate/exchange-rate.module.d.ts.map +1 -1
  55. package/dist/internal/exchange-rate/exchange-rate.module.js.map +1 -1
  56. package/dist/internal/exchange-rate/index.d.ts.map +1 -1
  57. package/dist/internal/exchange-rate/index.js.map +1 -1
  58. package/dist/internal/file-cdn/dto/file-cdn.dto.d.ts.map +1 -1
  59. package/dist/internal/file-cdn/dto/file-cdn.dto.js.map +1 -1
  60. package/dist/internal/file-cdn/file-cdn.client.d.ts.map +1 -1
  61. package/dist/internal/file-cdn/file-cdn.client.js.map +1 -1
  62. package/dist/internal/file-cdn/file-cdn.module.d.ts.map +1 -1
  63. package/dist/internal/file-cdn/file-cdn.module.js.map +1 -1
  64. package/dist/internal/file-cdn/index.d.ts.map +1 -1
  65. package/dist/internal/file-cdn/index.js.map +1 -1
  66. package/dist/internal/file-storage/config/file.config.d.ts.map +1 -1
  67. package/dist/internal/file-storage/config/file.config.js.map +1 -1
  68. package/dist/internal/file-storage/dto/file.dto.d.ts +8 -9
  69. package/dist/internal/file-storage/dto/file.dto.d.ts.map +1 -1
  70. package/dist/internal/file-storage/dto/file.dto.js.map +1 -1
  71. package/dist/internal/file-storage/file-gcs.client.d.ts.map +1 -1
  72. package/dist/internal/file-storage/file-gcs.client.js.map +1 -1
  73. package/dist/internal/file-storage/file-qiniu.client.d.ts.map +1 -1
  74. package/dist/internal/file-storage/file-qiniu.client.js.map +1 -1
  75. package/dist/internal/file-storage/file-s3.client.d.ts.map +1 -1
  76. package/dist/internal/file-storage/file-s3.client.js +1 -1
  77. package/dist/internal/file-storage/file-s3.client.js.map +1 -1
  78. package/dist/internal/file-storage/file-storage.interface.d.ts.map +1 -1
  79. package/dist/internal/file-storage/file-storage.interface.js.map +1 -1
  80. package/dist/internal/file-storage/file-tos.client.d.ts.map +1 -1
  81. package/dist/internal/file-storage/file-tos.client.js.map +1 -1
  82. package/dist/internal/file-storage/file-us3.client.d.ts.map +1 -1
  83. package/dist/internal/file-storage/file-us3.client.js.map +1 -1
  84. package/dist/internal/file-storage/index.d.ts.map +1 -1
  85. package/dist/internal/file-storage/index.js.map +1 -1
  86. package/dist/internal/health-check/health-check.client.d.ts.map +1 -1
  87. package/dist/internal/health-check/health-check.client.js.map +1 -1
  88. package/dist/internal/health-check/health-check.module.d.ts.map +1 -1
  89. package/dist/internal/health-check/health-check.module.js.map +1 -1
  90. package/dist/internal/health-check/index.d.ts.map +1 -1
  91. package/dist/internal/health-check/index.js.map +1 -1
  92. package/dist/internal/ip-info/dto/ip-info.dto.d.ts.map +1 -1
  93. package/dist/internal/ip-info/dto/ip-info.dto.js.map +1 -1
  94. package/dist/internal/ip-info/index.d.ts.map +1 -1
  95. package/dist/internal/ip-info/index.js.map +1 -1
  96. package/dist/internal/ip-info/ip-info.client.d.ts.map +1 -1
  97. package/dist/internal/ip-info/ip-info.client.js.map +1 -1
  98. package/dist/internal/ip-info/ip-info.module.d.ts.map +1 -1
  99. package/dist/internal/ip-info/ip-info.module.js.map +1 -1
  100. package/dist/internal/ocr/dto/ocr.dto.d.ts.map +1 -1
  101. package/dist/internal/ocr/dto/ocr.dto.js.map +1 -1
  102. package/dist/internal/ocr/index.d.ts.map +1 -1
  103. package/dist/internal/ocr/index.js.map +1 -1
  104. package/dist/internal/ocr/ocr.client.d.ts.map +1 -1
  105. package/dist/internal/ocr/ocr.client.js.map +1 -1
  106. package/dist/internal/ocr/ocr.module.d.ts.map +1 -1
  107. package/dist/internal/ocr/ocr.module.js.map +1 -1
  108. package/dist/internal/openai/index.d.ts.map +1 -1
  109. package/dist/internal/openai/index.js.map +1 -1
  110. package/dist/internal/openai/openai.client.d.ts.map +1 -1
  111. package/dist/internal/openai/openai.client.js.map +1 -1
  112. package/dist/internal/openai/openai.module.d.ts.map +1 -1
  113. package/dist/internal/openai/openai.module.js.map +1 -1
  114. package/dist/internal/openspeech/index.d.ts.map +1 -1
  115. package/dist/internal/openspeech/index.js.map +1 -1
  116. package/dist/internal/openspeech/openspeech.client.d.ts.map +1 -1
  117. package/dist/internal/openspeech/openspeech.client.js.map +1 -1
  118. package/dist/internal/openspeech/openspeech.factory.d.ts.map +1 -1
  119. package/dist/internal/openspeech/openspeech.factory.js.map +1 -1
  120. package/dist/internal/openspeech/openspeech.module.d.ts.map +1 -1
  121. package/dist/internal/openspeech/openspeech.module.js.map +1 -1
  122. package/dist/internal/openspeech/providers/aliyun.provider.d.ts.map +1 -1
  123. package/dist/internal/openspeech/providers/aliyun.provider.js.map +1 -1
  124. package/dist/internal/openspeech/providers/base.provider.d.ts.map +1 -1
  125. package/dist/internal/openspeech/providers/base.provider.js.map +1 -1
  126. package/dist/internal/openspeech/providers/index.d.ts.map +1 -1
  127. package/dist/internal/openspeech/providers/index.js.map +1 -1
  128. package/dist/internal/openspeech/providers/volcengine-streaming.provider.d.ts.map +1 -1
  129. package/dist/internal/openspeech/providers/volcengine-streaming.provider.js.map +1 -1
  130. package/dist/internal/openspeech/providers/volcengine.provider.d.ts.map +1 -1
  131. package/dist/internal/openspeech/providers/volcengine.provider.js.map +1 -1
  132. package/dist/internal/openspeech/types.d.ts.map +1 -1
  133. package/dist/internal/openspeech/types.js.map +1 -1
  134. package/dist/internal/routing-llm/index.d.ts.map +1 -1
  135. package/dist/internal/routing-llm/index.js.map +1 -1
  136. package/dist/internal/routing-llm/interfaces/routing-llm.interface.d.ts +1 -1
  137. package/dist/internal/routing-llm/interfaces/routing-llm.interface.d.ts.map +1 -1
  138. package/dist/internal/routing-llm/interfaces/routing-llm.interface.js.map +1 -1
  139. package/dist/internal/routing-llm/routing-llm.client.d.ts.map +1 -1
  140. package/dist/internal/routing-llm/routing-llm.client.js.map +1 -1
  141. package/dist/internal/routing-llm/routing-llm.module.d.ts.map +1 -1
  142. package/dist/internal/routing-llm/routing-llm.module.js.map +1 -1
  143. package/dist/internal/sms/dto/sms.dto.d.ts +6 -6
  144. package/dist/internal/sms/dto/sms.dto.d.ts.map +1 -1
  145. package/dist/internal/sms/dto/sms.dto.js.map +1 -1
  146. package/dist/internal/sms/index.d.ts.map +1 -1
  147. package/dist/internal/sms/index.js.map +1 -1
  148. package/dist/internal/sms/sms-aliyun.client.d.ts +1 -2
  149. package/dist/internal/sms/sms-aliyun.client.d.ts.map +1 -1
  150. package/dist/internal/sms/sms-aliyun.client.js.map +1 -1
  151. package/dist/internal/sms/sms-http.client.d.ts.map +1 -1
  152. package/dist/internal/sms/sms-http.client.js.map +1 -1
  153. package/dist/internal/sms/sms-tencent.client.d.ts +1 -1
  154. package/dist/internal/sms/sms-tencent.client.d.ts.map +1 -1
  155. package/dist/internal/sms/sms-tencent.client.js.map +1 -1
  156. package/dist/internal/sms/sms-volcengine.client.d.ts +2 -2
  157. package/dist/internal/sms/sms-volcengine.client.d.ts.map +1 -1
  158. package/dist/internal/sms/sms-volcengine.client.js.map +1 -1
  159. package/dist/internal/sms/sms-zxjc.client.d.ts.map +1 -1
  160. package/dist/internal/sms/sms-zxjc.client.js.map +1 -1
  161. package/dist/internal/sse/index.d.ts.map +1 -1
  162. package/dist/internal/sse/index.js.map +1 -1
  163. package/dist/internal/sse/sse.client.d.ts.map +1 -1
  164. package/dist/internal/sse/sse.client.js.map +1 -1
  165. package/dist/internal/sse/sse.module.d.ts.map +1 -1
  166. package/dist/internal/sse/sse.module.js.map +1 -1
  167. package/dist/internal/third-party-sse/index.d.ts.map +1 -1
  168. package/dist/internal/third-party-sse/index.js.map +1 -1
  169. package/dist/internal/third-party-sse/third-party-sse.client.d.ts.map +1 -1
  170. package/dist/internal/third-party-sse/third-party-sse.client.js.map +1 -1
  171. package/dist/internal/third-party-sse/third-party-sse.module.d.ts.map +1 -1
  172. package/dist/internal/third-party-sse/third-party-sse.module.js.map +1 -1
  173. package/dist/internal/verify/index.d.ts.map +1 -1
  174. package/dist/internal/verify/index.js.map +1 -1
  175. package/dist/internal/verify/verify.client.d.ts.map +1 -1
  176. package/dist/internal/verify/verify.client.js.map +1 -1
  177. package/dist/internal/verify/verify.module.d.ts.map +1 -1
  178. package/dist/internal/verify/verify.module.js.map +1 -1
  179. package/dist/internal/volcengine-tts/dto/tts.dto.d.ts.map +1 -1
  180. package/dist/internal/volcengine-tts/dto/tts.dto.js.map +1 -1
  181. package/dist/internal/volcengine-tts/index.d.ts.map +1 -1
  182. package/dist/internal/volcengine-tts/index.js.map +1 -1
  183. package/dist/internal/volcengine-tts/volcengine-tts.client.d.ts.map +1 -1
  184. package/dist/internal/volcengine-tts/volcengine-tts.client.js.map +1 -1
  185. package/dist/internal/volcengine-tts/volcengine-tts.module.d.ts.map +1 -1
  186. package/dist/internal/volcengine-tts/volcengine-tts.module.js.map +1 -1
  187. package/dist/internal/wechat/index.d.ts.map +1 -1
  188. package/dist/internal/wechat/index.js.map +1 -1
  189. package/dist/internal/wechat/wechat.client.d.ts.map +1 -1
  190. package/dist/internal/wechat/wechat.client.js.map +1 -1
  191. package/dist/internal/wechat/wechat.module.d.ts.map +1 -1
  192. package/dist/internal/wechat/wechat.module.js.map +1 -1
  193. package/dist/plugin/decorators/inject-client.decorator.d.ts.map +1 -1
  194. package/dist/plugin/decorators/inject-client.decorator.js.map +1 -1
  195. package/dist/plugin/index.d.ts.map +1 -1
  196. package/dist/plugin/index.js.map +1 -1
  197. package/dist/plugin/interceptors/http-logging.interceptor.d.ts.map +1 -1
  198. package/dist/plugin/interceptors/http-logging.interceptor.js.map +1 -1
  199. package/dist/plugin/interfaces/client.interface.d.ts.map +1 -1
  200. package/dist/plugin/interfaces/client.interface.js.map +1 -1
  201. package/dist/plugin/utils/retry.util.d.ts.map +1 -1
  202. package/dist/plugin/utils/retry.util.js.map +1 -1
  203. package/package.json +7 -7
  204. package/dist/internal/crypt/crypt-client.service.spec.d.ts +0 -2
  205. package/dist/internal/crypt/crypt-client.service.spec.d.ts.map +0 -1
  206. package/dist/internal/crypt/crypt-client.service.spec.js +0 -17
  207. package/dist/internal/crypt/crypt-client.service.spec.js.map +0 -1
  208. package/dist/internal/file-cdn/file-cdn-client.service.spec.d.ts +0 -2
  209. package/dist/internal/file-cdn/file-cdn-client.service.spec.d.ts.map +0 -1
  210. package/dist/internal/file-cdn/file-cdn-client.service.spec.js +0 -17
  211. package/dist/internal/file-cdn/file-cdn-client.service.spec.js.map +0 -1
  212. package/dist/internal/mlflow/mlflow.client.d.ts +0 -44
  213. package/dist/internal/mlflow/mlflow.client.d.ts.map +0 -1
  214. package/dist/internal/mlflow/mlflow.client.js +0 -184
  215. package/dist/internal/mlflow/mlflow.client.js.map +0 -1
  216. package/dist/internal/mlflow/mlflow.module.d.ts +0 -3
  217. package/dist/internal/mlflow/mlflow.module.d.ts.map +0 -1
  218. package/dist/internal/mlflow/mlflow.module.js +0 -23
  219. package/dist/internal/mlflow/mlflow.module.js.map +0 -1
  220. package/dist/internal/model-research-proxy/anthropic-proxy-research.client.d.ts +0 -52
  221. package/dist/internal/model-research-proxy/anthropic-proxy-research.client.d.ts.map +0 -1
  222. package/dist/internal/model-research-proxy/anthropic-proxy-research.client.js +0 -174
  223. package/dist/internal/model-research-proxy/anthropic-proxy-research.client.js.map +0 -1
  224. package/dist/internal/model-research-proxy/anthropic-proxy-research.client.spec.d.ts +0 -2
  225. package/dist/internal/model-research-proxy/anthropic-proxy-research.client.spec.d.ts.map +0 -1
  226. package/dist/internal/model-research-proxy/anthropic-proxy-research.client.spec.js +0 -145
  227. package/dist/internal/model-research-proxy/anthropic-proxy-research.client.spec.js.map +0 -1
  228. package/dist/internal/model-research-proxy/anthropic-proxy-research.module.d.ts +0 -3
  229. package/dist/internal/model-research-proxy/anthropic-proxy-research.module.d.ts.map +0 -1
  230. package/dist/internal/model-research-proxy/anthropic-proxy-research.module.js +0 -30
  231. package/dist/internal/model-research-proxy/anthropic-proxy-research.module.js.map +0 -1
  232. package/dist/internal/model-research-proxy/index.d.ts +0 -6
  233. package/dist/internal/model-research-proxy/index.d.ts.map +0 -1
  234. package/dist/internal/model-research-proxy/index.js +0 -24
  235. package/dist/internal/model-research-proxy/index.js.map +0 -1
  236. package/dist/internal/model-verify/index.d.ts +0 -4
  237. package/dist/internal/model-verify/index.d.ts.map +0 -1
  238. package/dist/internal/model-verify/index.js +0 -26
  239. package/dist/internal/model-verify/index.js.map +0 -1
  240. package/dist/internal/model-verify/model-verify.client.d.ts +0 -77
  241. package/dist/internal/model-verify/model-verify.client.d.ts.map +0 -1
  242. package/dist/internal/model-verify/model-verify.client.js +0 -324
  243. package/dist/internal/model-verify/model-verify.client.js.map +0 -1
  244. package/dist/internal/openclaw/docker-exec.service.d.ts +0 -132
  245. package/dist/internal/openclaw/docker-exec.service.d.ts.map +0 -1
  246. package/dist/internal/openclaw/docker-exec.service.js +0 -544
  247. package/dist/internal/openclaw/docker-exec.service.js.map +0 -1
  248. package/dist/internal/openclaw/index.d.ts +0 -14
  249. package/dist/internal/openclaw/index.d.ts.map +0 -1
  250. package/dist/internal/openclaw/index.js +0 -32
  251. package/dist/internal/openclaw/index.js.map +0 -1
  252. package/dist/internal/openclaw/openclaw-agent-coordination.client.d.ts +0 -73
  253. package/dist/internal/openclaw/openclaw-agent-coordination.client.d.ts.map +0 -1
  254. package/dist/internal/openclaw/openclaw-agent-coordination.client.js +0 -249
  255. package/dist/internal/openclaw/openclaw-agent-coordination.client.js.map +0 -1
  256. package/dist/internal/openclaw/openclaw-context-status.client.d.ts +0 -66
  257. package/dist/internal/openclaw/openclaw-context-status.client.d.ts.map +0 -1
  258. package/dist/internal/openclaw/openclaw-context-status.client.js +0 -164
  259. package/dist/internal/openclaw/openclaw-context-status.client.js.map +0 -1
  260. package/dist/internal/openclaw/openclaw-cron.client.d.ts +0 -61
  261. package/dist/internal/openclaw/openclaw-cron.client.d.ts.map +0 -1
  262. package/dist/internal/openclaw/openclaw-cron.client.js +0 -416
  263. package/dist/internal/openclaw/openclaw-cron.client.js.map +0 -1
  264. package/dist/internal/openclaw/openclaw-gateway.client.d.ts +0 -41
  265. package/dist/internal/openclaw/openclaw-gateway.client.d.ts.map +0 -1
  266. package/dist/internal/openclaw/openclaw-gateway.client.js +0 -175
  267. package/dist/internal/openclaw/openclaw-gateway.client.js.map +0 -1
  268. package/dist/internal/openclaw/openclaw-skill-sync.client.d.ts +0 -222
  269. package/dist/internal/openclaw/openclaw-skill-sync.client.d.ts.map +0 -1
  270. package/dist/internal/openclaw/openclaw-skill-sync.client.js +0 -720
  271. package/dist/internal/openclaw/openclaw-skill-sync.client.js.map +0 -1
  272. package/dist/internal/openclaw/openclaw.client.d.ts +0 -602
  273. package/dist/internal/openclaw/openclaw.client.d.ts.map +0 -1
  274. package/dist/internal/openclaw/openclaw.client.js +0 -3062
  275. package/dist/internal/openclaw/openclaw.client.js.map +0 -1
  276. package/dist/internal/openclaw/openclaw.module.d.ts +0 -3
  277. package/dist/internal/openclaw/openclaw.module.d.ts.map +0 -1
  278. package/dist/internal/openclaw/openclaw.module.js +0 -62
  279. package/dist/internal/openclaw/openclaw.module.js.map +0 -1
  280. package/dist/internal/openclaw/skill-translation.service.d.ts +0 -39
  281. package/dist/internal/openclaw/skill-translation.service.d.ts.map +0 -1
  282. package/dist/internal/openclaw/skill-translation.service.js +0 -217
  283. package/dist/internal/openclaw/skill-translation.service.js.map +0 -1
  284. package/dist/internal/openclaw/types/cron.types.d.ts +0 -112
  285. package/dist/internal/openclaw/types/cron.types.d.ts.map +0 -1
  286. package/dist/internal/openclaw/types/cron.types.js +0 -9
  287. package/dist/internal/openclaw/types/cron.types.js.map +0 -1
  288. package/dist/internal/provider-verify/index.d.ts +0 -6
  289. package/dist/internal/provider-verify/index.d.ts.map +0 -1
  290. package/dist/internal/provider-verify/index.js +0 -24
  291. package/dist/internal/provider-verify/index.js.map +0 -1
  292. package/dist/internal/provider-verify/provider-verify.client.d.ts +0 -55
  293. package/dist/internal/provider-verify/provider-verify.client.d.ts.map +0 -1
  294. package/dist/internal/provider-verify/provider-verify.client.js +0 -284
  295. package/dist/internal/provider-verify/provider-verify.client.js.map +0 -1
  296. package/dist/internal/provider-verify/provider-verify.module.d.ts +0 -3
  297. package/dist/internal/provider-verify/provider-verify.module.d.ts.map +0 -1
  298. package/dist/internal/provider-verify/provider-verify.module.js +0 -28
  299. package/dist/internal/provider-verify/provider-verify.module.js.map +0 -1
  300. package/dist/internal/sse/sse-client.service.spec.d.ts +0 -2
  301. package/dist/internal/sse/sse-client.service.spec.d.ts.map +0 -1
  302. package/dist/internal/sse/sse-client.service.spec.js +0 -17
  303. package/dist/internal/sse/sse-client.service.spec.js.map +0 -1
  304. package/dist/internal/third-party-sse/third-party-sse.service.spec.d.ts +0 -2
  305. package/dist/internal/third-party-sse/third-party-sse.service.spec.d.ts.map +0 -1
  306. package/dist/internal/third-party-sse/third-party-sse.service.spec.js +0 -17
  307. package/dist/internal/third-party-sse/third-party-sse.service.spec.js.map +0 -1
  308. package/dist/internal/wechat/wechat-client.service.spec.d.ts +0 -2
  309. package/dist/internal/wechat/wechat-client.service.spec.d.ts.map +0 -1
  310. package/dist/internal/wechat/wechat-client.service.spec.js +0 -17
  311. package/dist/internal/wechat/wechat-client.service.spec.js.map +0 -1
@@ -1,6 +0,0 @@
1
- /**
2
- * Provider Verify 模块导出
3
- */
4
- export * from './provider-verify.client';
5
- export { ProviderVerifyModule } from './provider-verify.module';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/internal/provider-verify/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ProviderVerifyModule = void 0;
18
- /**
19
- * Provider Verify 模块导出
20
- */
21
- __exportStar(require("./provider-verify.client"), exports);
22
- var provider_verify_module_1 = require("./provider-verify.module");
23
- Object.defineProperty(exports, "ProviderVerifyModule", { enumerable: true, get: function () { return provider_verify_module_1.ProviderVerifyModule; } });
24
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/internal/provider-verify/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,2DAAyC;AACzC,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA"}
@@ -1,55 +0,0 @@
1
- import { HttpService } from '@nestjs/axios';
2
- import { Logger } from 'winston';
3
- import type { VerifyProviderKeyInput, VerifyProviderKeyResponse } from '@dofe/infra-contracts';
4
- /**
5
- * ProviderVerifyClient - Provider Key 验证客户端
6
- *
7
- * 负责调用各 AI 提供商的 API 验证密钥有效性并获取模型列表
8
- * 支持 OpenAI 兼容 API 和 Anthropic API
9
- */
10
- export declare class ProviderVerifyClient {
11
- private readonly httpService;
12
- private readonly logger;
13
- constructor(httpService: HttpService, logger: Logger);
14
- /**
15
- * 判断是否是 DMXAPI 等第三方聚合平台
16
- * 基于 effectiveHost 的域名进行匹配
17
- */
18
- private isAggregatorPlatform;
19
- /**
20
- * 获取 API 请求的 headers
21
- * 根据平台类型动态调整:
22
- * - DMXAPI 等聚合平台:Authorization 不需要 Bearer,需要 Rix-Api-User
23
- * - 标准 OpenAI 兼容 API:Authorization 使用 Bearer 前缀
24
- */
25
- private getOpenAICompatibleHeaders;
26
- /**
27
- * Verify a provider key and get available models
28
- */
29
- verify(input: VerifyProviderKeyInput): Promise<VerifyProviderKeyResponse>;
30
- /**
31
- * Verify Anthropic API key
32
- * Anthropic doesn't have a models endpoint, so we verify by calling messages endpoint
33
- */
34
- private verifyAnthropicKey;
35
- /**
36
- * Verify Google Gemini API key by calling /models endpoint
37
- * Gemini API uses a different authentication method (API key in query param)
38
- */
39
- private verifyGeminiKey;
40
- /**
41
- * Verify Ollama API key by calling /api/tags endpoint
42
- * Ollama uses a different endpoint structure
43
- */
44
- private verifyOllamaKey;
45
- /**
46
- * Verify OpenAI-compatible API key by calling /models endpoint
47
- * 支持 DMXAPI 等第三方聚合平台的特殊 headers
48
- */
49
- private verifyOpenAICompatibleKey;
50
- /**
51
- * Handle errors and return appropriate response
52
- */
53
- private handleError;
54
- }
55
- //# sourceMappingURL=provider-verify.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"provider-verify.client.d.ts","sourceRoot":"","sources":["../../../src/internal/provider-verify/provider-verify.client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,OAAO,KAAK,EACV,sBAAsB,EACtB,yBAAyB,EAG1B,MAAM,uBAAuB,CAAC;AAe/B;;;;;GAKG;AACH,qBACa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IACK,OAAO,CAAC,QAAQ,CAAC,MAAM;gBADvC,WAAW,EAAE,WAAW,EACS,MAAM,EAAE,MAAM;IAGlE;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAY5B;;;;;OAKG;IACH,OAAO,CAAC,0BAA0B;IAqBlC;;OAEG;IACG,MAAM,CACV,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,yBAAyB,CAAC;IA4DrC;;;OAGG;YACW,kBAAkB;IA6BhC;;;OAGG;YACW,eAAe;IA6B7B;;;OAGG;YACW,eAAe;IA2B7B;;;OAGG;YACW,yBAAyB;IAwCvC;;OAEG;IACH,OAAO,CAAC,WAAW;CAuCpB"}
@@ -1,284 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ProviderVerifyClient = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const axios_1 = require("@nestjs/axios");
18
- const nest_winston_1 = require("nest-winston");
19
- const winston_1 = require("winston");
20
- const rxjs_1 = require("rxjs");
21
- const infra_contracts_1 = require("@dofe/infra-contracts");
22
- /**
23
- * DMXAPI 等第三方聚合平台的域名特征
24
- * 这些平台需要特殊的 headers:
25
- * - Authorization 不需要 Bearer 前缀
26
- * - 需要 Rix-Api-User header
27
- */
28
- const AGGREGATOR_PLATFORM_DOMAINS = [
29
- 'dmxapi.com',
30
- 'dmxapi.cn',
31
- 'api.dmxapi.com',
32
- ];
33
- /**
34
- * ProviderVerifyClient - Provider Key 验证客户端
35
- *
36
- * 负责调用各 AI 提供商的 API 验证密钥有效性并获取模型列表
37
- * 支持 OpenAI 兼容 API 和 Anthropic API
38
- */
39
- let ProviderVerifyClient = class ProviderVerifyClient {
40
- httpService;
41
- logger;
42
- constructor(httpService, logger) {
43
- this.httpService = httpService;
44
- this.logger = logger;
45
- }
46
- /**
47
- * 判断是否是 DMXAPI 等第三方聚合平台
48
- * 基于 effectiveHost 的域名进行匹配
49
- */
50
- isAggregatorPlatform(effectiveHost) {
51
- try {
52
- const url = new URL(effectiveHost);
53
- const hostname = url.hostname.toLowerCase();
54
- return AGGREGATOR_PLATFORM_DOMAINS.some((domain) => hostname.includes(domain));
55
- }
56
- catch {
57
- return false;
58
- }
59
- }
60
- /**
61
- * 获取 API 请求的 headers
62
- * 根据平台类型动态调整:
63
- * - DMXAPI 等聚合平台:Authorization 不需要 Bearer,需要 Rix-Api-User
64
- * - 标准 OpenAI 兼容 API:Authorization 使用 Bearer 前缀
65
- */
66
- getOpenAICompatibleHeaders(effectiveHost, secret) {
67
- if (this.isAggregatorPlatform(effectiveHost)) {
68
- // DMXAPI 等聚合平台的特殊 headers
69
- const userId = process.env.DMXAPI_USER_ID || '20700';
70
- return {
71
- Authorization: secret, // 不需要 Bearer 前缀
72
- Accept: 'application/json',
73
- 'Rix-Api-User': userId,
74
- };
75
- }
76
- // 标准 OpenAI 兼容 API
77
- return {
78
- Authorization: `Bearer ${secret}`,
79
- 'Content-Type': 'application/json',
80
- };
81
- }
82
- /**
83
- * Verify a provider key and get available models
84
- */
85
- async verify(input) {
86
- const startTime = Date.now();
87
- const { vendor, apiKey: secret, baseUrl, apiType: inputApiType, extraConfig: metadata } = input;
88
- // Get effective API host
89
- let effectiveHost = (0, infra_contracts_1.getEffectiveApiHost)(vendor, baseUrl);
90
- if (!effectiveHost) {
91
- return {
92
- valid: false,
93
- error: 'No API host configured for this provider',
94
- };
95
- }
96
- // Get provider config to determine API type
97
- // Use input apiType if provided, otherwise fall back to provider config
98
- const providerConfig = infra_contracts_1.PROVIDER_CONFIGS[vendor];
99
- const apiType = inputApiType || providerConfig?.apiType || 'openai';
100
- // MiniMax: append GroupId to host if provided in metadata
101
- if (vendor === 'minimax' && metadata?.group_id) {
102
- const separator = effectiveHost.includes('?') ? '&' : '?';
103
- effectiveHost += `${separator}GroupId=${encodeURIComponent(String(metadata.group_id))}`;
104
- }
105
- this.logger.info(`[ProviderVerify] Verifying key for vendor=${vendor}, apiType=${apiType}, effectiveHost=${effectiveHost}`);
106
- try {
107
- let models = [];
108
- // Handle different API types
109
- if (apiType === 'anthropic') {
110
- models = await this.verifyAnthropicKey(effectiveHost, secret, startTime);
111
- }
112
- else if (apiType === 'gemini') {
113
- models = await this.verifyGeminiKey(effectiveHost, secret);
114
- }
115
- else if (apiType === 'ollama') {
116
- models = await this.verifyOllamaKey(effectiveHost, secret);
117
- }
118
- else {
119
- models = await this.verifyOpenAICompatibleKey(effectiveHost, secret);
120
- }
121
- const latency = Date.now() - startTime;
122
- this.logger.info(`[ProviderVerify] Success: ${models.length} models found for ${vendor}`);
123
- return {
124
- valid: true,
125
- latency,
126
- models,
127
- };
128
- }
129
- catch (error) {
130
- return this.handleError(error, vendor, startTime);
131
- }
132
- }
133
- /**
134
- * Verify Anthropic API key
135
- * Anthropic doesn't have a models endpoint, so we verify by calling messages endpoint
136
- */
137
- async verifyAnthropicKey(effectiveHost, secret, startTime) {
138
- const response = await (0, rxjs_1.firstValueFrom)(this.httpService.get(`${effectiveHost}/v1/messages`, {
139
- headers: {
140
- 'x-api-key': secret,
141
- 'anthropic-version': '2023-06-01',
142
- },
143
- timeout: 10000,
144
- validateStatus: (status) => status < 500,
145
- }));
146
- // 401 means invalid key
147
- if (response.status === 401) {
148
- throw { response: { status: 401 } };
149
- }
150
- // Return predefined Anthropic models (latest Claude 4 series)
151
- return [
152
- { id: 'claude-opus-4-6', name: 'Claude Opus 4.6' },
153
- { id: 'claude-sonnet-4-5-20250929', name: 'Claude Sonnet 4.5' },
154
- { id: 'claude-haiku-4-5-20251001', name: 'Claude Haiku 4.5' },
155
- ];
156
- }
157
- /**
158
- * Verify Google Gemini API key by calling /models endpoint
159
- * Gemini API uses a different authentication method (API key in query param)
160
- */
161
- async verifyGeminiKey(effectiveHost, secret) {
162
- const modelsUrl = `${effectiveHost}/models?key=${secret}`;
163
- const response = await (0, rxjs_1.firstValueFrom)(this.httpService.get(modelsUrl, {
164
- headers: {
165
- 'Content-Type': 'application/json',
166
- },
167
- timeout: 10000,
168
- }));
169
- const data = response.data;
170
- let models = [];
171
- if (data?.models && Array.isArray(data.models)) {
172
- models = data.models
173
- .filter((m) => m.name?.startsWith('models/gemini'))
174
- .map((m) => ({
175
- id: m.name?.replace('models/', '') || m.name,
176
- name: m.displayName || m.name?.replace('models/', ''),
177
- }));
178
- }
179
- return models;
180
- }
181
- /**
182
- * Verify Ollama API key by calling /api/tags endpoint
183
- * Ollama uses a different endpoint structure
184
- */
185
- async verifyOllamaKey(effectiveHost, _secret) {
186
- // Ollama doesn't require authentication, just check if the server is running
187
- // The endpoint is /api/tags for listing models
188
- const baseHost = effectiveHost.replace(/\/v1$/, '');
189
- const modelsUrl = `${baseHost}/api/tags`;
190
- const response = await (0, rxjs_1.firstValueFrom)(this.httpService.get(modelsUrl, {
191
- timeout: 10000,
192
- }));
193
- const data = response.data;
194
- let models = [];
195
- if (data?.models && Array.isArray(data.models)) {
196
- models = data.models.map((m) => ({
197
- id: m.name || m.model,
198
- name: m.name || m.model,
199
- }));
200
- }
201
- return models;
202
- }
203
- /**
204
- * Verify OpenAI-compatible API key by calling /models endpoint
205
- * 支持 DMXAPI 等第三方聚合平台的特殊 headers
206
- */
207
- async verifyOpenAICompatibleKey(effectiveHost, secret) {
208
- const modelsUrl = `${effectiveHost}/models`;
209
- const headers = this.getOpenAICompatibleHeaders(effectiveHost, secret);
210
- this.logger.debug(`[ProviderVerify] Calling ${modelsUrl} with headers keys: ${Object.keys(headers).join(', ')}`);
211
- const response = await (0, rxjs_1.firstValueFrom)(this.httpService.get(modelsUrl, {
212
- headers,
213
- timeout: 10000,
214
- }));
215
- const data = response.data;
216
- let models = [];
217
- if (data?.data && Array.isArray(data.data)) {
218
- models = data.data.map((m) => ({
219
- id: m.id,
220
- name: m.name || m.id,
221
- created: m.created,
222
- owned_by: m.owned_by,
223
- }));
224
- }
225
- else if (data?.models && Array.isArray(data.models)) {
226
- // Some providers use 'models' instead of 'data'
227
- models = data.models.map((m) => ({
228
- id: m.id || m.name,
229
- name: m.name || m.id,
230
- created: m.created,
231
- owned_by: m.owned_by,
232
- }));
233
- }
234
- return models;
235
- }
236
- /**
237
- * Handle errors and return appropriate response
238
- */
239
- handleError(error, vendor, startTime) {
240
- const latency = Date.now() - startTime;
241
- let errorMessage = 'Connection failed';
242
- if (error.response) {
243
- const status = error.response.status;
244
- if (status === 401) {
245
- errorMessage = 'Invalid API key';
246
- }
247
- else if (status === 403) {
248
- errorMessage = 'Access denied';
249
- }
250
- else if (status === 404) {
251
- errorMessage = 'API endpoint not found';
252
- }
253
- else if (status === 429) {
254
- errorMessage = 'Rate limit exceeded';
255
- }
256
- else {
257
- errorMessage = error.response.data?.error?.message || `HTTP ${status}`;
258
- }
259
- }
260
- else if (error.code === 'ECONNREFUSED') {
261
- errorMessage = 'Connection refused';
262
- }
263
- else if (error.code === 'ETIMEDOUT' || error.code === 'ECONNABORTED') {
264
- errorMessage = 'Connection timeout';
265
- }
266
- else if (error.message) {
267
- errorMessage = error.message;
268
- }
269
- this.logger.warn(`Provider key verification failed for ${vendor}: ${errorMessage}`);
270
- return {
271
- valid: false,
272
- latency,
273
- error: errorMessage,
274
- };
275
- }
276
- };
277
- exports.ProviderVerifyClient = ProviderVerifyClient;
278
- exports.ProviderVerifyClient = ProviderVerifyClient = __decorate([
279
- (0, common_1.Injectable)(),
280
- __param(1, (0, common_1.Inject)(nest_winston_1.WINSTON_MODULE_PROVIDER)),
281
- __metadata("design:paramtypes", [axios_1.HttpService,
282
- winston_1.Logger])
283
- ], ProviderVerifyClient);
284
- //# sourceMappingURL=provider-verify.client.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"provider-verify.client.js","sourceRoot":"","sources":["../../../src/internal/provider-verify/provider-verify.client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,yCAA4C;AAC5C,+CAAuD;AACvD,qCAAiC;AACjC,+BAAsC;AAOtC,2DAA8E;AAE9E;;;;;GAKG;AACH,MAAM,2BAA2B,GAAG;IAClC,YAAY;IACZ,WAAW;IACX,gBAAgB;CACjB,CAAC;AAEF;;;;;GAKG;AAEI,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAEZ;IACiC;IAFpD,YACmB,WAAwB,EACS,MAAc;QAD/C,gBAAW,GAAX,WAAW,CAAa;QACS,WAAM,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AAK,GAAG,EAAE,CAAC;gBAC1B,YAAY,GAAG,wBAAwB,CAAC;YAC1C,CAAC;iBAAM,IAAI,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC1B,YAAY,GAAG,qBAAqB,CAAC;YACvC,CAAC;iBAAM,CAAC;gBACN,YAAY,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,IAAI,QAAQ,MAAM,EAAE,CAAC;YACzE,CAAC;QACH,CAAC;aAAM,IAAI,KAAK,CAAC,IAAI,KAAK,cAAc,EAAE,CAAC;YACzC,YAAY,GAAG,oBAAoB,CAAC;QACtC,CAAC;aAAM,IAAI,KAAK,CAAC,IAAI,KAAK,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,cAAc,EAAE,CAAC;YACvE,YAAY,GAAG,oBAAoB,CAAC;QACtC,CAAC;aAAM,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;YACzB,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC;QAC/B,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,IAAI,CACd,wCAAwC,MAAM,KAAK,YAAY,EAAE,CAClE,CAAC;QAEF,OAAO;YACL,KAAK,EAAE,KAAK;YACZ,OAAO;YACP,KAAK,EAAE,YAAY;SACpB,CAAC;IACJ,CAAC;CACF,CAAA;AAzSY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;IAIR,WAAA,IAAA,eAAM,EAAC,sCAAuB,CAAC,CAAA;qCADF,mBAAW;QACiB,gBAAM;GAHvD,oBAAoB,CAyShC"}
@@ -1,3 +0,0 @@
1
- export declare class ProviderVerifyModule {
2
- }
3
- //# sourceMappingURL=provider-verify.module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"provider-verify.module.d.ts","sourceRoot":"","sources":["../../../src/internal/provider-verify/provider-verify.module.ts"],"names":[],"mappings":"AAIA,qBAUa,oBAAoB;CAAG"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.ProviderVerifyModule = void 0;
10
- const common_1 = require("@nestjs/common");
11
- const axios_1 = require("@nestjs/axios");
12
- const provider_verify_client_1 = require("./provider-verify.client");
13
- let ProviderVerifyModule = class ProviderVerifyModule {
14
- };
15
- exports.ProviderVerifyModule = ProviderVerifyModule;
16
- exports.ProviderVerifyModule = ProviderVerifyModule = __decorate([
17
- (0, common_1.Module)({
18
- imports: [
19
- axios_1.HttpModule.register({
20
- timeout: 15000,
21
- maxRedirects: 5,
22
- }),
23
- ],
24
- providers: [provider_verify_client_1.ProviderVerifyClient],
25
- exports: [provider_verify_client_1.ProviderVerifyClient],
26
- })
27
- ], ProviderVerifyModule);
28
- //# sourceMappingURL=provider-verify.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"provider-verify.module.js","sourceRoot":"","sources":["../../../src/internal/provider-verify/provider-verify.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,yCAA2C;AAC3C,qEAAgE;AAYzD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAAG,CAAA;AAAvB,oDAAoB;+BAApB,oBAAoB;IAVhC,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,kBAAU,CAAC,QAAQ,CAAC;gBAClB,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,CAAC;aAChB,CAAC;SACH;QACD,SAAS,EAAE,CAAC,6CAAoB,CAAC;QACjC,OAAO,EAAE,CAAC,6CAAoB,CAAC;KAChC,CAAC;GACW,oBAAoB,CAAG"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=sse-client.service.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sse-client.service.spec.d.ts","sourceRoot":"","sources":["../../../src/internal/sse/sse-client.service.spec.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const testing_1 = require("@nestjs/testing");
4
- const sse_client_1 = require("./sse.client");
5
- describe('SseClient', () => {
6
- let service;
7
- beforeEach(async () => {
8
- const module = await testing_1.Test.createTestingModule({
9
- providers: [sse_client_1.SseClient],
10
- }).compile();
11
- service = module.get(sse_client_1.SseClient);
12
- });
13
- it('should be defined', () => {
14
- expect(service).toBeDefined();
15
- });
16
- });
17
- //# sourceMappingURL=sse-client.service.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sse-client.service.spec.js","sourceRoot":"","sources":["../../../src/internal/sse/sse-client.service.spec.ts"],"names":[],"mappings":";;AAAA,6CAAsD;AACtD,6CAAyC;AAEzC,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,IAAI,OAAkB,CAAC;IAEvB,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,MAAM,GAAkB,MAAM,cAAI,CAAC,mBAAmB,CAAC;YAC3D,SAAS,EAAE,CAAC,sBAAS,CAAC;SACvB,CAAC,CAAC,OAAO,EAAE,CAAC;QAEb,OAAO,GAAG,MAAM,CAAC,GAAG,CAAY,sBAAS,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=third-party-sse.service.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"third-party-sse.service.spec.d.ts","sourceRoot":"","sources":["../../../src/internal/third-party-sse/third-party-sse.service.spec.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const testing_1 = require("@nestjs/testing");
4
- const third_party_sse_client_1 = require("./third-party-sse.client");
5
- describe('ThirdPartySseClient', () => {
6
- let service;
7
- beforeEach(async () => {
8
- const module = await testing_1.Test.createTestingModule({
9
- providers: [third_party_sse_client_1.ThirdPartySseClient],
10
- }).compile();
11
- service = module.get(third_party_sse_client_1.ThirdPartySseClient);
12
- });
13
- it('should be defined', () => {
14
- expect(service).toBeDefined();
15
- });
16
- });
17
- //# sourceMappingURL=third-party-sse.service.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"third-party-sse.service.spec.js","sourceRoot":"","sources":["../../../src/internal/third-party-sse/third-party-sse.service.spec.ts"],"names":[],"mappings":";;AAAA,6CAAsD;AACtD,qEAA+D;AAE/D,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACnC,IAAI,OAA4B,CAAC;IAEjC,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,MAAM,GAAkB,MAAM,cAAI,CAAC,mBAAmB,CAAC;YAC3D,SAAS,EAAE,CAAC,4CAAmB,CAAC;SACjC,CAAC,CAAC,OAAO,EAAE,CAAC;QAEb,OAAO,GAAG,MAAM,CAAC,GAAG,CAAsB,4CAAmB,CAAC,CAAC;IACjE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=wechat-client.service.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wechat-client.service.spec.d.ts","sourceRoot":"","sources":["../../../src/internal/wechat/wechat-client.service.spec.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const testing_1 = require("@nestjs/testing");
4
- const wechat_client_1 = require("./wechat.client");
5
- describe('WechatClient', () => {
6
- let service;
7
- beforeEach(async () => {
8
- const module = await testing_1.Test.createTestingModule({
9
- providers: [wechat_client_1.WechatClient],
10
- }).compile();
11
- service = module.get(wechat_client_1.WechatClient);
12
- });
13
- it('should be defined', () => {
14
- expect(service).toBeDefined();
15
- });
16
- });
17
- //# sourceMappingURL=wechat-client.service.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wechat-client.service.spec.js","sourceRoot":"","sources":["../../../src/internal/wechat/wechat-client.service.spec.ts"],"names":[],"mappings":";;AAAA,6CAAsD;AACtD,mDAA+C;AAE/C,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,IAAI,OAAqB,CAAC;IAE1B,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,MAAM,GAAkB,MAAM,cAAI,CAAC,mBAAmB,CAAC;YAC3D,SAAS,EAAE,CAAC,4BAAY,CAAC;SAC1B,CAAC,CAAC,OAAO,EAAE,CAAC;QAEb,OAAO,GAAG,MAAM,CAAC,GAAG,CAAe,4BAAY,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}