fusio-sdk 7.0.3 → 7.0.4
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 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -549,7 +549,7 @@ var BackendAgentMessageTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
549
549
|
* @throws {CommonMessageException}
|
|
550
550
|
* @throws {ClientException}
|
|
551
551
|
*/
|
|
552
|
-
async submit(agentId, payload) {
|
|
552
|
+
async submit(agentId, payload, parent) {
|
|
553
553
|
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>/message", {
|
|
554
554
|
"agent_id": agentId
|
|
555
555
|
});
|
|
@@ -559,7 +559,9 @@ var BackendAgentMessageTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
559
559
|
headers: {
|
|
560
560
|
"Content-Type": "application/json"
|
|
561
561
|
},
|
|
562
|
-
params: this.parser.query({
|
|
562
|
+
params: this.parser.query({
|
|
563
|
+
"parent": parent
|
|
564
|
+
}, []),
|
|
563
565
|
data: payload
|
|
564
566
|
};
|
|
565
567
|
const response = await this.httpClient.request(request);
|