fusio-sdk 7.0.6 → 7.0.7
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +124 -123
- package/dist/index.d.ts +124 -123
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,122 @@
|
|
|
1
1
|
import { TagAbstract, ClientAbstract, KnownStatusCodeException } from 'sdkgen-client';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* AgentItem automatically generated by SDKgen please do not edit this file manually
|
|
5
|
+
* {@link https://sdkgen.app}
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Agent item
|
|
9
|
+
*/
|
|
10
|
+
interface AgentItem {
|
|
11
|
+
type?: string;
|
|
12
|
+
metadata?: Record<string, any>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* AgentItemBinary automatically generated by SDKgen please do not edit this file manually
|
|
17
|
+
* {@link https://sdkgen.app}
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Binary agent message
|
|
22
|
+
*/
|
|
23
|
+
interface AgentItemBinary extends AgentItem {
|
|
24
|
+
type: "binary";
|
|
25
|
+
mime?: string;
|
|
26
|
+
data?: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* AgentItemObject automatically generated by SDKgen please do not edit this file manually
|
|
31
|
+
* {@link https://sdkgen.app}
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Structured agent message
|
|
36
|
+
*/
|
|
37
|
+
interface AgentItemObject extends AgentItem {
|
|
38
|
+
type: "object";
|
|
39
|
+
payload?: any;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* AgentItemText automatically generated by SDKgen please do not edit this file manually
|
|
44
|
+
* {@link https://sdkgen.app}
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Text agent message
|
|
49
|
+
*/
|
|
50
|
+
interface AgentItemText extends AgentItem {
|
|
51
|
+
type: "text";
|
|
52
|
+
content?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* AgentItemToolCallFunction automatically generated by SDKgen please do not edit this file manually
|
|
57
|
+
* {@link https://sdkgen.app}
|
|
58
|
+
*/
|
|
59
|
+
/**
|
|
60
|
+
* Concrete values for a function tool call
|
|
61
|
+
*/
|
|
62
|
+
interface AgentItemToolCallFunction {
|
|
63
|
+
id?: string;
|
|
64
|
+
name?: string;
|
|
65
|
+
arguments?: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* AgentItemToolCall automatically generated by SDKgen please do not edit this file manually
|
|
70
|
+
* {@link https://sdkgen.app}
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Tool call agent message
|
|
75
|
+
*/
|
|
76
|
+
interface AgentItemToolCall extends AgentItem {
|
|
77
|
+
type: "tool_call";
|
|
78
|
+
functions?: Array<AgentItemToolCallFunction>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* AgentItemChoice automatically generated by SDKgen please do not edit this file manually
|
|
83
|
+
* {@link https://sdkgen.app}
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Choice agent message
|
|
88
|
+
*/
|
|
89
|
+
interface AgentItemChoice extends AgentItem {
|
|
90
|
+
type: "choice";
|
|
91
|
+
items?: Array<AgentItemBinary | AgentItemChoice | AgentItemObject | AgentItemText | AgentItemToolCall>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* AgentInput automatically generated by SDKgen please do not edit this file manually
|
|
96
|
+
* {@link https://sdkgen.app}
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* This object represents an agent input
|
|
101
|
+
*/
|
|
102
|
+
interface AgentInput {
|
|
103
|
+
previousId?: string;
|
|
104
|
+
item?: AgentItemBinary | AgentItemChoice | AgentItemObject | AgentItemText | AgentItemToolCall;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* AgentOutput automatically generated by SDKgen please do not edit this file manually
|
|
109
|
+
* {@link https://sdkgen.app}
|
|
110
|
+
*/
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* This object represents an agent output
|
|
114
|
+
*/
|
|
115
|
+
interface AgentOutput {
|
|
116
|
+
id?: string;
|
|
117
|
+
item?: AgentItemBinary | AgentItemChoice | AgentItemObject | AgentItemText | AgentItemToolCall;
|
|
118
|
+
}
|
|
119
|
+
|
|
3
120
|
/**
|
|
4
121
|
* CommonMetadata automatically generated by SDKgen please do not edit this file manually
|
|
5
122
|
* {@link https://sdkgen.app}
|
|
@@ -593,97 +710,6 @@ interface BackendAgentCollection extends CommonCollection<BackendAgent> {
|
|
|
593
710
|
interface BackendAgentCreate extends BackendAgent {
|
|
594
711
|
}
|
|
595
712
|
|
|
596
|
-
/**
|
|
597
|
-
* CommonAgentContent automatically generated by SDKgen please do not edit this file manually
|
|
598
|
-
* {@link https://sdkgen.app}
|
|
599
|
-
*/
|
|
600
|
-
/**
|
|
601
|
-
* Agent message
|
|
602
|
-
*/
|
|
603
|
-
interface CommonAgentContent {
|
|
604
|
-
type?: string;
|
|
605
|
-
metadata?: Record<string, any>;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
/**
|
|
609
|
-
* CommonAgentContentBinary automatically generated by SDKgen please do not edit this file manually
|
|
610
|
-
* {@link https://sdkgen.app}
|
|
611
|
-
*/
|
|
612
|
-
|
|
613
|
-
/**
|
|
614
|
-
* Binary agent message
|
|
615
|
-
*/
|
|
616
|
-
interface CommonAgentContentBinary extends CommonAgentContent {
|
|
617
|
-
type: "binary";
|
|
618
|
-
mime?: string;
|
|
619
|
-
data?: string;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
/**
|
|
623
|
-
* CommonAgentContentObject automatically generated by SDKgen please do not edit this file manually
|
|
624
|
-
* {@link https://sdkgen.app}
|
|
625
|
-
*/
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Structured agent message
|
|
629
|
-
*/
|
|
630
|
-
interface CommonAgentContentObject extends CommonAgentContent {
|
|
631
|
-
type: "object";
|
|
632
|
-
payload?: any;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* CommonAgentContentText automatically generated by SDKgen please do not edit this file manually
|
|
637
|
-
* {@link https://sdkgen.app}
|
|
638
|
-
*/
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* Text agent message
|
|
642
|
-
*/
|
|
643
|
-
interface CommonAgentContentText extends CommonAgentContent {
|
|
644
|
-
type: "text";
|
|
645
|
-
content?: string;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* CommonAgentContentToolCallFunction automatically generated by SDKgen please do not edit this file manually
|
|
650
|
-
* {@link https://sdkgen.app}
|
|
651
|
-
*/
|
|
652
|
-
/**
|
|
653
|
-
* Concrete values for a function tool call
|
|
654
|
-
*/
|
|
655
|
-
interface CommonAgentContentToolCallFunction {
|
|
656
|
-
id?: string;
|
|
657
|
-
name?: string;
|
|
658
|
-
arguments?: string;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* CommonAgentContentToolCall automatically generated by SDKgen please do not edit this file manually
|
|
663
|
-
* {@link https://sdkgen.app}
|
|
664
|
-
*/
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* Tool call agent message
|
|
668
|
-
*/
|
|
669
|
-
interface CommonAgentContentToolCall extends CommonAgentContent {
|
|
670
|
-
type: "tool_call";
|
|
671
|
-
functions?: Array<CommonAgentContentToolCallFunction>;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* CommonAgentContentChoice automatically generated by SDKgen please do not edit this file manually
|
|
676
|
-
* {@link https://sdkgen.app}
|
|
677
|
-
*/
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* Choice agent message
|
|
681
|
-
*/
|
|
682
|
-
interface CommonAgentContentChoice extends CommonAgentContent {
|
|
683
|
-
type: "choice";
|
|
684
|
-
items?: Array<CommonAgentContentBinary | CommonAgentContentChoice | CommonAgentContentObject | CommonAgentContentText | CommonAgentContentToolCall>;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
713
|
/**
|
|
688
714
|
* BackendAgentMessage automatically generated by SDKgen please do not edit this file manually
|
|
689
715
|
* {@link https://sdkgen.app}
|
|
@@ -694,8 +720,9 @@ interface CommonAgentContentChoice extends CommonAgentContent {
|
|
|
694
720
|
*/
|
|
695
721
|
interface BackendAgentMessage {
|
|
696
722
|
id?: number;
|
|
723
|
+
chatId?: string;
|
|
697
724
|
role?: string;
|
|
698
|
-
|
|
725
|
+
item?: AgentItemBinary | AgentItemChoice | AgentItemObject | AgentItemText | AgentItemToolCall;
|
|
699
726
|
insertDate?: string;
|
|
700
727
|
}
|
|
701
728
|
|
|
@@ -710,32 +737,6 @@ interface BackendAgentMessage {
|
|
|
710
737
|
interface BackendAgentMessageCollection extends CommonCollection<BackendAgentMessage> {
|
|
711
738
|
}
|
|
712
739
|
|
|
713
|
-
/**
|
|
714
|
-
* CommonAgentInput automatically generated by SDKgen please do not edit this file manually
|
|
715
|
-
* {@link https://sdkgen.app}
|
|
716
|
-
*/
|
|
717
|
-
|
|
718
|
-
/**
|
|
719
|
-
* This object represents an agent input
|
|
720
|
-
*/
|
|
721
|
-
interface CommonAgentInput {
|
|
722
|
-
previousId?: string;
|
|
723
|
-
input?: CommonAgentContentBinary | CommonAgentContentChoice | CommonAgentContentObject | CommonAgentContentText | CommonAgentContentToolCall;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* CommonAgentOutput automatically generated by SDKgen please do not edit this file manually
|
|
728
|
-
* {@link https://sdkgen.app}
|
|
729
|
-
*/
|
|
730
|
-
|
|
731
|
-
/**
|
|
732
|
-
* This object represents an agent output
|
|
733
|
-
*/
|
|
734
|
-
interface CommonAgentOutput {
|
|
735
|
-
id?: string;
|
|
736
|
-
output?: CommonAgentContentBinary | CommonAgentContentChoice | CommonAgentContentObject | CommonAgentContentText | CommonAgentContentToolCall;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
740
|
/**
|
|
740
741
|
* BackendAgentMessageTag automatically generated by SDKgen please do not edit this file manually
|
|
741
742
|
* {@link https://sdkgen.app}
|
|
@@ -753,11 +754,11 @@ declare class BackendAgentMessageTag extends TagAbstract {
|
|
|
753
754
|
/**
|
|
754
755
|
* Submits a new agent message
|
|
755
756
|
*
|
|
756
|
-
* @returns {Promise<
|
|
757
|
+
* @returns {Promise<AgentOutput>}
|
|
757
758
|
* @throws {CommonMessageException}
|
|
758
759
|
* @throws {ClientException}
|
|
759
760
|
*/
|
|
760
|
-
submit(agentId: string, payload:
|
|
761
|
+
submit(agentId: string, payload: AgentInput): Promise<AgentOutput>;
|
|
761
762
|
}
|
|
762
763
|
|
|
763
764
|
/**
|
|
@@ -1353,11 +1354,11 @@ declare class BackendConnectionAgentTag extends TagAbstract {
|
|
|
1353
1354
|
/**
|
|
1354
1355
|
* Sends a message to an agent
|
|
1355
1356
|
*
|
|
1356
|
-
* @returns {Promise<
|
|
1357
|
+
* @returns {Promise<AgentOutput>}
|
|
1357
1358
|
* @throws {CommonMessageException}
|
|
1358
1359
|
* @throws {ClientException}
|
|
1359
1360
|
*/
|
|
1360
|
-
send(connectionId: string, payload:
|
|
1361
|
+
send(connectionId: string, payload: AgentInput): Promise<AgentOutput>;
|
|
1361
1362
|
}
|
|
1362
1363
|
|
|
1363
1364
|
/**
|
|
@@ -5903,4 +5904,4 @@ declare class CommonMessageException extends KnownStatusCodeException {
|
|
|
5903
5904
|
getPayload(): CommonMessage;
|
|
5904
5905
|
}
|
|
5905
5906
|
|
|
5906
|
-
export { AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionCommit, type BackendActionCommitCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendAgent, type BackendAgentCollection, type BackendAgentCreate, type BackendAgentMessage, type BackendAgentMessageCollection, BackendAgentMessageTag, BackendAgentTag, type BackendAgentTool, type BackendAgentTools, type BackendAgentUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, BackendConnectionAgentTag, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceBundleTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCommit, type BackendSchemaCommitCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, type BackendTaxonomy, type BackendTaxonomyCollection, type BackendTaxonomyCreate, type BackendTaxonomyMove, BackendTaxonomyTag, type BackendTaxonomyUpdate, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendTrigger, type BackendTriggerCollection, type BackendTriggerCreate, BackendTriggerTag, type BackendTriggerUpdate, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type
|
|
5907
|
+
export { type AgentInput, type AgentItem, type AgentItemBinary, type AgentItemChoice, type AgentItemObject, type AgentItemText, type AgentItemToolCall, type AgentItemToolCallFunction, type AgentOutput, AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionCommit, type BackendActionCommitCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendAgent, type BackendAgentCollection, type BackendAgentCreate, type BackendAgentMessage, type BackendAgentMessageCollection, BackendAgentMessageTag, BackendAgentTag, type BackendAgentTool, type BackendAgentTools, type BackendAgentUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, BackendConnectionAgentTag, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceBundleTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCommit, type BackendSchemaCommitCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, type BackendTaxonomy, type BackendTaxonomyCollection, type BackendTaxonomyCreate, type BackendTaxonomyMove, BackendTaxonomyTag, type BackendTaxonomyUpdate, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendTrigger, type BackendTriggerCollection, type BackendTriggerCreate, BackendTriggerTag, type BackendTriggerUpdate, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type CommonCollection, type CommonFormContainer, type CommonFormElement, type CommonFormElementCheckbox, type CommonFormElementCollection, type CommonFormElementInput, type CommonFormElementMap, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTextArea, type CommonFormElementTypeAPI, type CommonFormElementTypeSchema, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerApp, type ConsumerAppCollection, type ConsumerAppCreate, ConsumerAppTag, type ConsumerAppUpdate, type ConsumerAuthorizeMeta, type ConsumerAuthorizeRequest, type ConsumerAuthorizeResponse, type ConsumerEvent, type ConsumerEventCollection, ConsumerEventTag, type ConsumerForm, type ConsumerFormCollection, ConsumerFormTag, type ConsumerGrant, type ConsumerGrantCollection, ConsumerGrantTag, type ConsumerIdentity, type ConsumerIdentityCollection, ConsumerIdentityTag, type ConsumerLog, type ConsumerLogCollection, ConsumerLogTag, type ConsumerPage, type ConsumerPageCollection, ConsumerPageTag, type ConsumerPaymentCheckoutRequest, type ConsumerPaymentCheckoutResponse, type ConsumerPaymentPortalRequest, type ConsumerPaymentPortalResponse, ConsumerPaymentTag, type ConsumerPlan, type ConsumerPlanCollection, ConsumerPlanTag, type ConsumerScope, type ConsumerScopeCategories, type ConsumerScopeCategory, type ConsumerScopeCategoryScope, type ConsumerScopeCollection, ConsumerScopeTag, ConsumerTag, type ConsumerToken, type ConsumerTokenAccessToken, type ConsumerTokenCollection, type ConsumerTokenCreate, ConsumerTokenTag, type ConsumerTokenUpdate, type ConsumerTransaction, type ConsumerTransactionCollection, ConsumerTransactionTag, type ConsumerUserAccount, type ConsumerUserActivate, type ConsumerUserEmail, type ConsumerUserJWT, type ConsumerUserLogin, type ConsumerUserPasswordReset, type ConsumerUserPlan, type ConsumerUserRefresh, type ConsumerUserRegister, type ConsumerWebhook, type ConsumerWebhookCollection, type ConsumerWebhookCreate, type ConsumerWebhookResponse, ConsumerWebhookTag, type ConsumerWebhookUpdate, type MarketplaceAction, type MarketplaceActionCollection, type MarketplaceActionConfig, type MarketplaceApp, type MarketplaceAppCollection, type MarketplaceBundle, type MarketplaceBundleAction, type MarketplaceBundleActionConfig, type MarketplaceBundleCollection, type MarketplaceBundleConfig, type MarketplaceBundleCronjob, type MarketplaceBundleEvent, type MarketplaceBundleSchema, type MarketplaceBundleSchemaSource, type MarketplaceBundleTrigger, type MarketplaceCollection, type MarketplaceInstall, type MarketplaceMessage, type MarketplaceObject, type MarketplaceUser, type Passthru, type SystemAbout, type SystemAboutApps, type SystemAboutLink, SystemConnectionTag, type SystemHealthCheck, SystemMetaTag, SystemPaymentTag, type SystemRoute, type SystemRouteMethod, type SystemRoutePath, type SystemSchema, type SystemSchemaForm, type SystemSchemaTypeSchema, SystemTag };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,122 @@
|
|
|
1
1
|
import { TagAbstract, ClientAbstract, KnownStatusCodeException } from 'sdkgen-client';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* AgentItem automatically generated by SDKgen please do not edit this file manually
|
|
5
|
+
* {@link https://sdkgen.app}
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Agent item
|
|
9
|
+
*/
|
|
10
|
+
interface AgentItem {
|
|
11
|
+
type?: string;
|
|
12
|
+
metadata?: Record<string, any>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* AgentItemBinary automatically generated by SDKgen please do not edit this file manually
|
|
17
|
+
* {@link https://sdkgen.app}
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Binary agent message
|
|
22
|
+
*/
|
|
23
|
+
interface AgentItemBinary extends AgentItem {
|
|
24
|
+
type: "binary";
|
|
25
|
+
mime?: string;
|
|
26
|
+
data?: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* AgentItemObject automatically generated by SDKgen please do not edit this file manually
|
|
31
|
+
* {@link https://sdkgen.app}
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Structured agent message
|
|
36
|
+
*/
|
|
37
|
+
interface AgentItemObject extends AgentItem {
|
|
38
|
+
type: "object";
|
|
39
|
+
payload?: any;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* AgentItemText automatically generated by SDKgen please do not edit this file manually
|
|
44
|
+
* {@link https://sdkgen.app}
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Text agent message
|
|
49
|
+
*/
|
|
50
|
+
interface AgentItemText extends AgentItem {
|
|
51
|
+
type: "text";
|
|
52
|
+
content?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* AgentItemToolCallFunction automatically generated by SDKgen please do not edit this file manually
|
|
57
|
+
* {@link https://sdkgen.app}
|
|
58
|
+
*/
|
|
59
|
+
/**
|
|
60
|
+
* Concrete values for a function tool call
|
|
61
|
+
*/
|
|
62
|
+
interface AgentItemToolCallFunction {
|
|
63
|
+
id?: string;
|
|
64
|
+
name?: string;
|
|
65
|
+
arguments?: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* AgentItemToolCall automatically generated by SDKgen please do not edit this file manually
|
|
70
|
+
* {@link https://sdkgen.app}
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Tool call agent message
|
|
75
|
+
*/
|
|
76
|
+
interface AgentItemToolCall extends AgentItem {
|
|
77
|
+
type: "tool_call";
|
|
78
|
+
functions?: Array<AgentItemToolCallFunction>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* AgentItemChoice automatically generated by SDKgen please do not edit this file manually
|
|
83
|
+
* {@link https://sdkgen.app}
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Choice agent message
|
|
88
|
+
*/
|
|
89
|
+
interface AgentItemChoice extends AgentItem {
|
|
90
|
+
type: "choice";
|
|
91
|
+
items?: Array<AgentItemBinary | AgentItemChoice | AgentItemObject | AgentItemText | AgentItemToolCall>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* AgentInput automatically generated by SDKgen please do not edit this file manually
|
|
96
|
+
* {@link https://sdkgen.app}
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* This object represents an agent input
|
|
101
|
+
*/
|
|
102
|
+
interface AgentInput {
|
|
103
|
+
previousId?: string;
|
|
104
|
+
item?: AgentItemBinary | AgentItemChoice | AgentItemObject | AgentItemText | AgentItemToolCall;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* AgentOutput automatically generated by SDKgen please do not edit this file manually
|
|
109
|
+
* {@link https://sdkgen.app}
|
|
110
|
+
*/
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* This object represents an agent output
|
|
114
|
+
*/
|
|
115
|
+
interface AgentOutput {
|
|
116
|
+
id?: string;
|
|
117
|
+
item?: AgentItemBinary | AgentItemChoice | AgentItemObject | AgentItemText | AgentItemToolCall;
|
|
118
|
+
}
|
|
119
|
+
|
|
3
120
|
/**
|
|
4
121
|
* CommonMetadata automatically generated by SDKgen please do not edit this file manually
|
|
5
122
|
* {@link https://sdkgen.app}
|
|
@@ -593,97 +710,6 @@ interface BackendAgentCollection extends CommonCollection<BackendAgent> {
|
|
|
593
710
|
interface BackendAgentCreate extends BackendAgent {
|
|
594
711
|
}
|
|
595
712
|
|
|
596
|
-
/**
|
|
597
|
-
* CommonAgentContent automatically generated by SDKgen please do not edit this file manually
|
|
598
|
-
* {@link https://sdkgen.app}
|
|
599
|
-
*/
|
|
600
|
-
/**
|
|
601
|
-
* Agent message
|
|
602
|
-
*/
|
|
603
|
-
interface CommonAgentContent {
|
|
604
|
-
type?: string;
|
|
605
|
-
metadata?: Record<string, any>;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
/**
|
|
609
|
-
* CommonAgentContentBinary automatically generated by SDKgen please do not edit this file manually
|
|
610
|
-
* {@link https://sdkgen.app}
|
|
611
|
-
*/
|
|
612
|
-
|
|
613
|
-
/**
|
|
614
|
-
* Binary agent message
|
|
615
|
-
*/
|
|
616
|
-
interface CommonAgentContentBinary extends CommonAgentContent {
|
|
617
|
-
type: "binary";
|
|
618
|
-
mime?: string;
|
|
619
|
-
data?: string;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
/**
|
|
623
|
-
* CommonAgentContentObject automatically generated by SDKgen please do not edit this file manually
|
|
624
|
-
* {@link https://sdkgen.app}
|
|
625
|
-
*/
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Structured agent message
|
|
629
|
-
*/
|
|
630
|
-
interface CommonAgentContentObject extends CommonAgentContent {
|
|
631
|
-
type: "object";
|
|
632
|
-
payload?: any;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* CommonAgentContentText automatically generated by SDKgen please do not edit this file manually
|
|
637
|
-
* {@link https://sdkgen.app}
|
|
638
|
-
*/
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* Text agent message
|
|
642
|
-
*/
|
|
643
|
-
interface CommonAgentContentText extends CommonAgentContent {
|
|
644
|
-
type: "text";
|
|
645
|
-
content?: string;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* CommonAgentContentToolCallFunction automatically generated by SDKgen please do not edit this file manually
|
|
650
|
-
* {@link https://sdkgen.app}
|
|
651
|
-
*/
|
|
652
|
-
/**
|
|
653
|
-
* Concrete values for a function tool call
|
|
654
|
-
*/
|
|
655
|
-
interface CommonAgentContentToolCallFunction {
|
|
656
|
-
id?: string;
|
|
657
|
-
name?: string;
|
|
658
|
-
arguments?: string;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* CommonAgentContentToolCall automatically generated by SDKgen please do not edit this file manually
|
|
663
|
-
* {@link https://sdkgen.app}
|
|
664
|
-
*/
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* Tool call agent message
|
|
668
|
-
*/
|
|
669
|
-
interface CommonAgentContentToolCall extends CommonAgentContent {
|
|
670
|
-
type: "tool_call";
|
|
671
|
-
functions?: Array<CommonAgentContentToolCallFunction>;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* CommonAgentContentChoice automatically generated by SDKgen please do not edit this file manually
|
|
676
|
-
* {@link https://sdkgen.app}
|
|
677
|
-
*/
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* Choice agent message
|
|
681
|
-
*/
|
|
682
|
-
interface CommonAgentContentChoice extends CommonAgentContent {
|
|
683
|
-
type: "choice";
|
|
684
|
-
items?: Array<CommonAgentContentBinary | CommonAgentContentChoice | CommonAgentContentObject | CommonAgentContentText | CommonAgentContentToolCall>;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
713
|
/**
|
|
688
714
|
* BackendAgentMessage automatically generated by SDKgen please do not edit this file manually
|
|
689
715
|
* {@link https://sdkgen.app}
|
|
@@ -694,8 +720,9 @@ interface CommonAgentContentChoice extends CommonAgentContent {
|
|
|
694
720
|
*/
|
|
695
721
|
interface BackendAgentMessage {
|
|
696
722
|
id?: number;
|
|
723
|
+
chatId?: string;
|
|
697
724
|
role?: string;
|
|
698
|
-
|
|
725
|
+
item?: AgentItemBinary | AgentItemChoice | AgentItemObject | AgentItemText | AgentItemToolCall;
|
|
699
726
|
insertDate?: string;
|
|
700
727
|
}
|
|
701
728
|
|
|
@@ -710,32 +737,6 @@ interface BackendAgentMessage {
|
|
|
710
737
|
interface BackendAgentMessageCollection extends CommonCollection<BackendAgentMessage> {
|
|
711
738
|
}
|
|
712
739
|
|
|
713
|
-
/**
|
|
714
|
-
* CommonAgentInput automatically generated by SDKgen please do not edit this file manually
|
|
715
|
-
* {@link https://sdkgen.app}
|
|
716
|
-
*/
|
|
717
|
-
|
|
718
|
-
/**
|
|
719
|
-
* This object represents an agent input
|
|
720
|
-
*/
|
|
721
|
-
interface CommonAgentInput {
|
|
722
|
-
previousId?: string;
|
|
723
|
-
input?: CommonAgentContentBinary | CommonAgentContentChoice | CommonAgentContentObject | CommonAgentContentText | CommonAgentContentToolCall;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* CommonAgentOutput automatically generated by SDKgen please do not edit this file manually
|
|
728
|
-
* {@link https://sdkgen.app}
|
|
729
|
-
*/
|
|
730
|
-
|
|
731
|
-
/**
|
|
732
|
-
* This object represents an agent output
|
|
733
|
-
*/
|
|
734
|
-
interface CommonAgentOutput {
|
|
735
|
-
id?: string;
|
|
736
|
-
output?: CommonAgentContentBinary | CommonAgentContentChoice | CommonAgentContentObject | CommonAgentContentText | CommonAgentContentToolCall;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
740
|
/**
|
|
740
741
|
* BackendAgentMessageTag automatically generated by SDKgen please do not edit this file manually
|
|
741
742
|
* {@link https://sdkgen.app}
|
|
@@ -753,11 +754,11 @@ declare class BackendAgentMessageTag extends TagAbstract {
|
|
|
753
754
|
/**
|
|
754
755
|
* Submits a new agent message
|
|
755
756
|
*
|
|
756
|
-
* @returns {Promise<
|
|
757
|
+
* @returns {Promise<AgentOutput>}
|
|
757
758
|
* @throws {CommonMessageException}
|
|
758
759
|
* @throws {ClientException}
|
|
759
760
|
*/
|
|
760
|
-
submit(agentId: string, payload:
|
|
761
|
+
submit(agentId: string, payload: AgentInput): Promise<AgentOutput>;
|
|
761
762
|
}
|
|
762
763
|
|
|
763
764
|
/**
|
|
@@ -1353,11 +1354,11 @@ declare class BackendConnectionAgentTag extends TagAbstract {
|
|
|
1353
1354
|
/**
|
|
1354
1355
|
* Sends a message to an agent
|
|
1355
1356
|
*
|
|
1356
|
-
* @returns {Promise<
|
|
1357
|
+
* @returns {Promise<AgentOutput>}
|
|
1357
1358
|
* @throws {CommonMessageException}
|
|
1358
1359
|
* @throws {ClientException}
|
|
1359
1360
|
*/
|
|
1360
|
-
send(connectionId: string, payload:
|
|
1361
|
+
send(connectionId: string, payload: AgentInput): Promise<AgentOutput>;
|
|
1361
1362
|
}
|
|
1362
1363
|
|
|
1363
1364
|
/**
|
|
@@ -5903,4 +5904,4 @@ declare class CommonMessageException extends KnownStatusCodeException {
|
|
|
5903
5904
|
getPayload(): CommonMessage;
|
|
5904
5905
|
}
|
|
5905
5906
|
|
|
5906
|
-
export { AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionCommit, type BackendActionCommitCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendAgent, type BackendAgentCollection, type BackendAgentCreate, type BackendAgentMessage, type BackendAgentMessageCollection, BackendAgentMessageTag, BackendAgentTag, type BackendAgentTool, type BackendAgentTools, type BackendAgentUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, BackendConnectionAgentTag, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceBundleTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCommit, type BackendSchemaCommitCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, type BackendTaxonomy, type BackendTaxonomyCollection, type BackendTaxonomyCreate, type BackendTaxonomyMove, BackendTaxonomyTag, type BackendTaxonomyUpdate, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendTrigger, type BackendTriggerCollection, type BackendTriggerCreate, BackendTriggerTag, type BackendTriggerUpdate, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type
|
|
5907
|
+
export { type AgentInput, type AgentItem, type AgentItemBinary, type AgentItemChoice, type AgentItemObject, type AgentItemText, type AgentItemToolCall, type AgentItemToolCallFunction, type AgentOutput, AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionCommit, type BackendActionCommitCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendAgent, type BackendAgentCollection, type BackendAgentCreate, type BackendAgentMessage, type BackendAgentMessageCollection, BackendAgentMessageTag, BackendAgentTag, type BackendAgentTool, type BackendAgentTools, type BackendAgentUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, BackendConnectionAgentTag, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceBundleTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCommit, type BackendSchemaCommitCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, type BackendTaxonomy, type BackendTaxonomyCollection, type BackendTaxonomyCreate, type BackendTaxonomyMove, BackendTaxonomyTag, type BackendTaxonomyUpdate, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendTrigger, type BackendTriggerCollection, type BackendTriggerCreate, BackendTriggerTag, type BackendTriggerUpdate, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type CommonCollection, type CommonFormContainer, type CommonFormElement, type CommonFormElementCheckbox, type CommonFormElementCollection, type CommonFormElementInput, type CommonFormElementMap, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTextArea, type CommonFormElementTypeAPI, type CommonFormElementTypeSchema, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerApp, type ConsumerAppCollection, type ConsumerAppCreate, ConsumerAppTag, type ConsumerAppUpdate, type ConsumerAuthorizeMeta, type ConsumerAuthorizeRequest, type ConsumerAuthorizeResponse, type ConsumerEvent, type ConsumerEventCollection, ConsumerEventTag, type ConsumerForm, type ConsumerFormCollection, ConsumerFormTag, type ConsumerGrant, type ConsumerGrantCollection, ConsumerGrantTag, type ConsumerIdentity, type ConsumerIdentityCollection, ConsumerIdentityTag, type ConsumerLog, type ConsumerLogCollection, ConsumerLogTag, type ConsumerPage, type ConsumerPageCollection, ConsumerPageTag, type ConsumerPaymentCheckoutRequest, type ConsumerPaymentCheckoutResponse, type ConsumerPaymentPortalRequest, type ConsumerPaymentPortalResponse, ConsumerPaymentTag, type ConsumerPlan, type ConsumerPlanCollection, ConsumerPlanTag, type ConsumerScope, type ConsumerScopeCategories, type ConsumerScopeCategory, type ConsumerScopeCategoryScope, type ConsumerScopeCollection, ConsumerScopeTag, ConsumerTag, type ConsumerToken, type ConsumerTokenAccessToken, type ConsumerTokenCollection, type ConsumerTokenCreate, ConsumerTokenTag, type ConsumerTokenUpdate, type ConsumerTransaction, type ConsumerTransactionCollection, ConsumerTransactionTag, type ConsumerUserAccount, type ConsumerUserActivate, type ConsumerUserEmail, type ConsumerUserJWT, type ConsumerUserLogin, type ConsumerUserPasswordReset, type ConsumerUserPlan, type ConsumerUserRefresh, type ConsumerUserRegister, type ConsumerWebhook, type ConsumerWebhookCollection, type ConsumerWebhookCreate, type ConsumerWebhookResponse, ConsumerWebhookTag, type ConsumerWebhookUpdate, type MarketplaceAction, type MarketplaceActionCollection, type MarketplaceActionConfig, type MarketplaceApp, type MarketplaceAppCollection, type MarketplaceBundle, type MarketplaceBundleAction, type MarketplaceBundleActionConfig, type MarketplaceBundleCollection, type MarketplaceBundleConfig, type MarketplaceBundleCronjob, type MarketplaceBundleEvent, type MarketplaceBundleSchema, type MarketplaceBundleSchemaSource, type MarketplaceBundleTrigger, type MarketplaceCollection, type MarketplaceInstall, type MarketplaceMessage, type MarketplaceObject, type MarketplaceUser, type Passthru, type SystemAbout, type SystemAboutApps, type SystemAboutLink, SystemConnectionTag, type SystemHealthCheck, SystemMetaTag, SystemPaymentTag, type SystemRoute, type SystemRouteMethod, type SystemRoutePath, type SystemSchema, type SystemSchemaForm, type SystemSchemaTypeSchema, SystemTag };
|
package/dist/index.js
CHANGED
|
@@ -451,7 +451,7 @@ var BackendAgentMessageTag = class extends TagAbstract4 {
|
|
|
451
451
|
/**
|
|
452
452
|
* Submits a new agent message
|
|
453
453
|
*
|
|
454
|
-
* @returns {Promise<
|
|
454
|
+
* @returns {Promise<AgentOutput>}
|
|
455
455
|
* @throws {CommonMessageException}
|
|
456
456
|
* @throws {ClientException}
|
|
457
457
|
*/
|
|
@@ -1381,7 +1381,7 @@ var BackendConnectionAgentTag = class extends TagAbstract12 {
|
|
|
1381
1381
|
/**
|
|
1382
1382
|
* Sends a message to an agent
|
|
1383
1383
|
*
|
|
1384
|
-
* @returns {Promise<
|
|
1384
|
+
* @returns {Promise<AgentOutput>}
|
|
1385
1385
|
* @throws {CommonMessageException}
|
|
1386
1386
|
* @throws {ClientException}
|
|
1387
1387
|
*/
|