@blueking/chat-helper 0.0.12-beta.13 → 0.0.12-beta.15
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.
- package/README.md +8 -2
- package/dist/agent/type.d.ts +69 -0
- package/dist/agent/type.ts.js +1 -1
- package/dist/agent/use-agent.d.ts +515 -357
- package/dist/agent/use-agent.ts.js +50 -11
- package/dist/event/ag-ui.d.ts +2 -0
- package/dist/event/ag-ui.ts.js +34 -3
- package/dist/event/type.d.ts +14 -3
- package/dist/event/type.ts.js +2 -0
- package/dist/http/fetch/fetch.ts.js +80 -16
- package/dist/http/index.d.ts +4 -2
- package/dist/http/module/agent.d.ts +2 -0
- package/dist/http/module/agent.ts.js +19 -2
- package/dist/http/module/index.d.ts +4 -2
- package/dist/http/module/message.d.ts +2 -2
- package/dist/http/module/session.d.ts +2 -1
- package/dist/http/module/session.ts.js +19 -0
- package/dist/http/transform/agent.d.ts +9 -1
- package/dist/http/transform/agent.ts.js +27 -0
- package/dist/http/transform/message.ts.js +4 -0
- package/dist/index.d.ts +3536 -2751
- package/dist/message/type.d.ts +18 -3
- package/dist/message/type.ts.js +2 -0
- package/dist/message/use-message.d.ts +593 -385
- package/dist/session/type.d.ts +14 -0
- package/dist/session/use-session.d.ts +2341 -1924
- package/dist/session/use-session.ts.js +5 -0
- package/package.json +1 -1
|
@@ -330,6 +330,10 @@ import { computed, ref } from 'vue';
|
|
|
330
330
|
var _mediator_http;
|
|
331
331
|
return (_mediator_http = mediator.http) === null || _mediator_http === void 0 ? void 0 : _mediator_http.session.uploadFile(sessionCode, file);
|
|
332
332
|
};
|
|
333
|
+
const getPvFileDownloadUrl = (sessionCode, path, options)=>{
|
|
334
|
+
var _mediator_http;
|
|
335
|
+
return (_mediator_http = mediator.http) === null || _mediator_http === void 0 ? void 0 : _mediator_http.session.getPvFileDownloadUrl(sessionCode, path, options);
|
|
336
|
+
};
|
|
333
337
|
/**
|
|
334
338
|
* 重置 session 模块状态
|
|
335
339
|
*/ const reset = ()=>{
|
|
@@ -373,6 +377,7 @@ import { computed, ref } from 'vue';
|
|
|
373
377
|
getSessionFeedbackReasons,
|
|
374
378
|
renameSession,
|
|
375
379
|
uploadFile,
|
|
380
|
+
getPvFileDownloadUrl,
|
|
376
381
|
reset
|
|
377
382
|
};
|
|
378
383
|
};
|