fusio-sdk 7.0.3 → 7.0.6
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/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +107 -58
- package/dist/index.d.ts +107 -58
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -520,7 +520,7 @@ var BackendAgentMessageTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
520
520
|
* @throws {CommonMessageException}
|
|
521
521
|
* @throws {ClientException}
|
|
522
522
|
*/
|
|
523
|
-
async getAll(agentId,
|
|
523
|
+
async getAll(agentId, chatId) {
|
|
524
524
|
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>/message", {
|
|
525
525
|
"agent_id": agentId
|
|
526
526
|
});
|
|
@@ -529,7 +529,7 @@ var BackendAgentMessageTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
529
529
|
method: "GET",
|
|
530
530
|
headers: {},
|
|
531
531
|
params: this.parser.query({
|
|
532
|
-
"
|
|
532
|
+
"chat_id": chatId
|
|
533
533
|
}, [])
|
|
534
534
|
};
|
|
535
535
|
const response = await this.httpClient.request(request);
|
|
@@ -545,7 +545,7 @@ var BackendAgentMessageTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
545
545
|
/**
|
|
546
546
|
* Submits a new agent message
|
|
547
547
|
*
|
|
548
|
-
* @returns {Promise<
|
|
548
|
+
* @returns {Promise<CommonAgentOutput>}
|
|
549
549
|
* @throws {CommonMessageException}
|
|
550
550
|
* @throws {ClientException}
|
|
551
551
|
*/
|
|
@@ -1475,7 +1475,7 @@ var BackendConnectionAgentTag = class extends import_sdkgen_client24.TagAbstract
|
|
|
1475
1475
|
/**
|
|
1476
1476
|
* Sends a message to an agent
|
|
1477
1477
|
*
|
|
1478
|
-
* @returns {Promise<
|
|
1478
|
+
* @returns {Promise<CommonAgentOutput>}
|
|
1479
1479
|
* @throws {CommonMessageException}
|
|
1480
1480
|
* @throws {ClientException}
|
|
1481
1481
|
*/
|