@tier0/sdk-v2 0.2.2 → 0.3.0
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 +28 -13
- package/dist/cjs/capabilities.js +2 -2
- package/dist/cjs/capabilities.js.map +1 -1
- package/dist/cjs/client.d.ts +284 -374
- package/dist/cjs/cloud-transport.js +6 -1
- package/dist/cjs/cloud-transport.js.map +1 -1
- package/dist/cjs/controls.d.ts +19 -7
- package/dist/cjs/controls.js +37 -34
- package/dist/cjs/controls.js.map +1 -1
- package/dist/cjs/data/bootstrap.js +3 -2
- package/dist/cjs/data/bootstrap.js.map +1 -1
- package/dist/cjs/data/collection.d.ts +22 -0
- package/dist/cjs/data/collection.js +10 -9
- package/dist/cjs/data/collection.js.map +1 -1
- package/dist/cjs/files.d.ts +9 -9
- package/dist/cjs/mq/broker.d.ts +1 -1
- package/dist/cjs/mq/broker.js +1 -1
- package/dist/cjs/mq/broker.js.map +1 -1
- package/dist/cjs/mq/types.d.ts +1 -1
- package/dist/cjs/mq/types.js.map +1 -1
- package/dist/cjs/openapi/api.generated.d.ts +417 -541
- package/dist/cjs/openapi/api.generated.js +292 -377
- package/dist/cjs/openapi/api.generated.js.map +1 -1
- package/dist/cjs/openapi/client.js +1 -1
- package/dist/cjs/openapi/client.js.map +1 -1
- package/dist/cjs/openapi/codecs.generated.d.ts +394 -652
- package/dist/cjs/openapi/codecs.generated.js +2 -2
- package/dist/cjs/openapi/codecs.generated.js.map +1 -1
- package/dist/cjs/openapi/types.generated.d.ts +697 -906
- package/dist/cjs/openapi/types.generated.js.map +1 -1
- package/dist/cjs/source.d.ts +0 -7
- package/dist/cjs/source.js +1 -3
- package/dist/cjs/source.js.map +1 -1
- package/dist/cjs/stream.d.ts +0 -5
- package/dist/cjs/stream.js +3 -4
- package/dist/cjs/stream.js.map +1 -1
- package/dist/cjs/uns-v2/codec.js +1 -1
- package/dist/cjs/uns-v2/codec.js.map +1 -1
- package/dist/cjs/uns-v2/generated.d.ts +4713 -13494
- package/dist/cjs/uns-v2/generated.js +12 -33
- package/dist/cjs/uns-v2/generated.js.map +1 -1
- package/dist/esm/capabilities.js +2 -2
- package/dist/esm/capabilities.js.map +1 -1
- package/dist/esm/client.d.ts +284 -374
- package/dist/esm/cloud-transport.js +6 -1
- package/dist/esm/cloud-transport.js.map +1 -1
- package/dist/esm/controls.d.ts +19 -7
- package/dist/esm/controls.js +38 -35
- package/dist/esm/controls.js.map +1 -1
- package/dist/esm/data/bootstrap.js +4 -3
- package/dist/esm/data/bootstrap.js.map +1 -1
- package/dist/esm/data/collection.d.ts +22 -0
- package/dist/esm/data/collection.js +10 -10
- package/dist/esm/data/collection.js.map +1 -1
- package/dist/esm/files.d.ts +9 -9
- package/dist/esm/mq/broker.d.ts +1 -1
- package/dist/esm/mq/broker.js +1 -1
- package/dist/esm/mq/broker.js.map +1 -1
- package/dist/esm/mq/types.d.ts +1 -1
- package/dist/esm/mq/types.js.map +1 -1
- package/dist/esm/openapi/api.generated.d.ts +417 -541
- package/dist/esm/openapi/api.generated.js +292 -377
- package/dist/esm/openapi/api.generated.js.map +1 -1
- package/dist/esm/openapi/client.js +1 -1
- package/dist/esm/openapi/client.js.map +1 -1
- package/dist/esm/openapi/codecs.generated.d.ts +394 -652
- package/dist/esm/openapi/codecs.generated.js +1 -1
- package/dist/esm/openapi/codecs.generated.js.map +1 -1
- package/dist/esm/openapi/types.generated.d.ts +697 -906
- package/dist/esm/openapi/types.generated.js.map +1 -1
- package/dist/esm/source.d.ts +0 -7
- package/dist/esm/source.js +1 -3
- package/dist/esm/source.js.map +1 -1
- package/dist/esm/stream.d.ts +0 -5
- package/dist/esm/stream.js +3 -4
- package/dist/esm/stream.js.map +1 -1
- package/dist/esm/uns-v2/codec.js +2 -2
- package/dist/esm/uns-v2/codec.js.map +1 -1
- package/dist/esm/uns-v2/generated.d.ts +4713 -13494
- package/dist/esm/uns-v2/generated.js +12 -33
- package/dist/esm/uns-v2/generated.js.map +1 -1
- package/package.json +1 -1
- package/skills/tier0-sdk-v2/SKILL.md +5 -3
- package/skills/tier0-sdk-v2/tier0-sdk-v2-agent/SKILL.md +4 -4
- package/skills/tier0-sdk-v2/tier0-sdk-v2-controls/SKILL.md +3 -3
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/read-write.md +12 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-files/references/delete.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-files/references/url.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-members/references/app-members.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-members/references/platform-members.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-notifications/references/get.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-notifications/references/send.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/SKILL.md +2 -2
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/changes.md +4 -4
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/read.md +2 -2
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/SKILL.md +3 -3
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/create.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/deploy.md +11 -2
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/lifecycle.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/read.md +25 -5
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/update.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-system/references/info.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-system/references/whoami.md +1 -1
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/SKILL.md +3 -3
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/create.md +9 -5
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/delete.md +5 -5
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/namespace.md +4 -4
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/read.md +8 -7
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/restore.md +2 -2
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/update.md +4 -4
package/dist/esm/client.d.ts
CHANGED
|
@@ -8,6 +8,12 @@ export interface Tier0ClientConfig extends ClientConfig, CloudTransportConfig {
|
|
|
8
8
|
/** Use a fresh instance per incoming request when supplying employee data delegation. */
|
|
9
9
|
export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
10
10
|
system: {
|
|
11
|
+
info: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
12
|
+
capabilities: string[];
|
|
13
|
+
mqttBroker: string;
|
|
14
|
+
name: string;
|
|
15
|
+
version: string;
|
|
16
|
+
}>;
|
|
11
17
|
whoami: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
12
18
|
apiKeyName: string;
|
|
13
19
|
email: string;
|
|
@@ -20,14 +26,14 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
20
26
|
workspaceID: number | bigint;
|
|
21
27
|
workspaceName: string;
|
|
22
28
|
}>;
|
|
23
|
-
info: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
24
|
-
name?: string;
|
|
25
|
-
version?: string;
|
|
26
|
-
capabilities?: string[];
|
|
27
|
-
mqttBroker?: string;
|
|
28
|
-
}>;
|
|
29
29
|
};
|
|
30
30
|
members: {
|
|
31
|
+
listWorkspace: (body?: import("./index.js").components["schemas"]["SdkmembersListWorkspaceRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
32
|
+
list: import("./index.js").components["schemas"]["PlatformMemberResp"][];
|
|
33
|
+
page: number | bigint;
|
|
34
|
+
size: number | bigint;
|
|
35
|
+
total: number | bigint;
|
|
36
|
+
}>;
|
|
31
37
|
listApp: (body: import("./index.js").components["schemas"]["SdkmembersListAppRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
32
38
|
allActiveMembers: number | bigint;
|
|
33
39
|
appId: string;
|
|
@@ -39,14 +45,13 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
39
45
|
size: number | bigint;
|
|
40
46
|
total: number | bigint;
|
|
41
47
|
}>;
|
|
42
|
-
listWorkspace: (body?: import("./index.js").components["schemas"]["SdkmembersListWorkspaceRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
43
|
-
list: import("./index.js").components["schemas"]["PlatformMemberResp"][];
|
|
44
|
-
page: number | bigint;
|
|
45
|
-
size: number | bigint;
|
|
46
|
-
total: number | bigint;
|
|
47
|
-
}>;
|
|
48
48
|
};
|
|
49
49
|
notifications: {
|
|
50
|
+
send: (body: import("./index.js").components["schemas"]["SdknotificationsSendRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
51
|
+
createdAt: string;
|
|
52
|
+
messageId: string;
|
|
53
|
+
status: string;
|
|
54
|
+
}>;
|
|
50
55
|
get: (body: import("./index.js").components["schemas"]["SdknotificationsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
51
56
|
completedAt?: string;
|
|
52
57
|
createdAt: string;
|
|
@@ -56,11 +61,6 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
56
61
|
status: string;
|
|
57
62
|
type: string;
|
|
58
63
|
}>;
|
|
59
|
-
send: (body: import("./index.js").components["schemas"]["SdknotificationsSendRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
60
|
-
createdAt: string;
|
|
61
|
-
messageId: string;
|
|
62
|
-
status: string;
|
|
63
|
-
}>;
|
|
64
64
|
};
|
|
65
65
|
mqttAuth: {
|
|
66
66
|
create: (body: import("./index.js").components["schemas"]["SdkmqttAuthCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
@@ -76,29 +76,7 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
76
76
|
}>;
|
|
77
77
|
};
|
|
78
78
|
agent: {
|
|
79
|
-
analyses: {
|
|
80
|
-
dispatch: (body: import("./index.js").components["schemas"]["SdkagentAnalysesDispatchRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
81
|
-
dispatchState: string;
|
|
82
|
-
errorCode: string;
|
|
83
|
-
errorMessage: string;
|
|
84
|
-
runId: string;
|
|
85
|
-
}>;
|
|
86
|
-
get: (body: import("./index.js").components["schemas"]["SdkagentAnalysesGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
87
|
-
run: import("./index.js").components["schemas"]["AgentJobRunRecord"];
|
|
88
|
-
}>;
|
|
89
|
-
};
|
|
90
|
-
canvases: {
|
|
91
|
-
list: (body: import("./index.js").components["schemas"]["SdkagentCanvasesListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
92
|
-
list: import("./index.js").components["schemas"]["AgentCanvasRecord"][];
|
|
93
|
-
page: number | bigint;
|
|
94
|
-
size: number | bigint;
|
|
95
|
-
total: number | bigint;
|
|
96
|
-
}>;
|
|
97
|
-
};
|
|
98
79
|
cards: {
|
|
99
|
-
delete: (body: import("./index.js").components["schemas"]["SdkagentCardsDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
100
|
-
cardId: string;
|
|
101
|
-
}>;
|
|
102
80
|
get: (body: import("./index.js").components["schemas"]["SdkagentCardsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
103
81
|
canvasId: string;
|
|
104
82
|
cardId: string;
|
|
@@ -106,32 +84,42 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
106
84
|
cardSpec: unknown;
|
|
107
85
|
updatedAt: number | bigint;
|
|
108
86
|
}>;
|
|
87
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentCardsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
88
|
+
cardId: string;
|
|
89
|
+
}>;
|
|
109
90
|
list: (body: import("./index.js").components["schemas"]["SdkagentCardsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
110
91
|
list: import("./index.js").components["schemas"]["AgentCardGetResp"][];
|
|
111
92
|
page: number | bigint;
|
|
112
93
|
size: number | bigint;
|
|
113
94
|
total: number | bigint;
|
|
114
95
|
}>;
|
|
115
|
-
|
|
96
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentCardsDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
116
97
|
cardId: string;
|
|
117
98
|
}>;
|
|
118
99
|
};
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
100
|
+
results: {
|
|
101
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentResultsCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
102
|
+
jobRunId: string;
|
|
103
|
+
resultId: string;
|
|
122
104
|
}>;
|
|
123
|
-
|
|
124
|
-
|
|
105
|
+
get: (body?: import("./index.js").components["schemas"]["SdkagentResultsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
106
|
+
result: import("./index.js").components["schemas"]["AgentStoredResult"];
|
|
107
|
+
}>;
|
|
108
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentResultsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
109
|
+
list: import("./index.js").components["schemas"]["AgentStoredResult"][];
|
|
125
110
|
page: number | bigint;
|
|
126
111
|
size: number | bigint;
|
|
127
112
|
total: number | bigint;
|
|
128
113
|
}>;
|
|
114
|
+
pin: (body: import("./index.js").components["schemas"]["SdkagentResultsPinRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
115
|
+
cardId: string;
|
|
116
|
+
}>;
|
|
129
117
|
};
|
|
130
118
|
jobs: {
|
|
131
119
|
create: (body: import("./index.js").components["schemas"]["SdkagentJobsCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
132
120
|
jobId: string;
|
|
133
121
|
}>;
|
|
134
|
-
|
|
122
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentJobsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
135
123
|
jobId: string;
|
|
136
124
|
}>;
|
|
137
125
|
get: (body: import("./index.js").components["schemas"]["SdkagentJobsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
@@ -149,73 +137,63 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
149
137
|
resume: (body: import("./index.js").components["schemas"]["SdkagentJobsResumeRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
150
138
|
jobId: string;
|
|
151
139
|
}>;
|
|
140
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentJobsDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
141
|
+
jobId: string;
|
|
142
|
+
}>;
|
|
152
143
|
trigger: (body: import("./index.js").components["schemas"]["SdkagentJobsTriggerRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
153
144
|
dispatchState: string;
|
|
154
145
|
jobId: string;
|
|
155
146
|
jobRunId: string;
|
|
156
147
|
}>;
|
|
157
|
-
update: (body: import("./index.js").components["schemas"]["SdkagentJobsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
158
|
-
jobId: string;
|
|
159
|
-
}>;
|
|
160
148
|
};
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
149
|
+
jobRuns: {
|
|
150
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentJobRunsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
151
|
+
run: import("./index.js").components["schemas"]["AgentJobRunRecord"];
|
|
164
152
|
}>;
|
|
165
|
-
|
|
166
|
-
|
|
153
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentJobRunsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
154
|
+
list: import("./index.js").components["schemas"]["AgentJobRunRecord"][];
|
|
155
|
+
page: number | bigint;
|
|
156
|
+
size: number | bigint;
|
|
157
|
+
total: number | bigint;
|
|
167
158
|
}>;
|
|
168
|
-
|
|
169
|
-
|
|
159
|
+
};
|
|
160
|
+
canvases: {
|
|
161
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentCanvasesListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
162
|
+
list: import("./index.js").components["schemas"]["AgentCanvasRecord"][];
|
|
163
|
+
page: number | bigint;
|
|
164
|
+
size: number | bigint;
|
|
165
|
+
total: number | bigint;
|
|
170
166
|
}>;
|
|
167
|
+
};
|
|
168
|
+
library: {
|
|
171
169
|
list: (body: import("./index.js").components["schemas"]["SdkagentLibraryListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
172
170
|
list: import("./index.js").components["schemas"]["AgentLibraryItem"][];
|
|
173
171
|
page: number | bigint;
|
|
174
172
|
size: number | bigint;
|
|
175
173
|
total: number | bigint;
|
|
176
174
|
}>;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}>;
|
|
180
|
-
};
|
|
181
|
-
nodes: {
|
|
182
|
-
indexSync: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
183
|
-
durationMs: number | bigint;
|
|
184
|
-
embedded: number | bigint;
|
|
185
|
-
pending: number | bigint;
|
|
186
|
-
skipped: number | bigint;
|
|
187
|
-
total: number | bigint;
|
|
175
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentLibraryGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
176
|
+
item: import("./index.js").components["schemas"]["AgentLibraryItem"];
|
|
188
177
|
}>;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
indexedCount: number | bigint;
|
|
178
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentLibraryCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
179
|
+
libraryItemId: string;
|
|
192
180
|
}>;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
list: (body: import("./index.js").components["schemas"]["SdkagentRelationsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
196
|
-
relations: import("./index.js").components["schemas"]["AgentRelationInfo"][];
|
|
181
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentLibraryUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
182
|
+
libraryItemId: string;
|
|
197
183
|
}>;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
id: string;
|
|
184
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentLibraryDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
185
|
+
libraryItemId: string;
|
|
201
186
|
}>;
|
|
202
187
|
};
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
result: import("./index.js").components["schemas"]["AgentStoredResult"];
|
|
210
|
-
}>;
|
|
211
|
-
list: (body: import("./index.js").components["schemas"]["SdkagentResultsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
212
|
-
list: import("./index.js").components["schemas"]["AgentStoredResult"][];
|
|
213
|
-
page: number | bigint;
|
|
214
|
-
size: number | bigint;
|
|
215
|
-
total: number | bigint;
|
|
188
|
+
analyses: {
|
|
189
|
+
dispatch: (body: import("./index.js").components["schemas"]["SdkagentAnalysesDispatchRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
190
|
+
dispatchState: string;
|
|
191
|
+
errorCode: string;
|
|
192
|
+
errorMessage: string;
|
|
193
|
+
runId: string;
|
|
216
194
|
}>;
|
|
217
|
-
|
|
218
|
-
|
|
195
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentAnalysesGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
196
|
+
run: import("./index.js").components["schemas"]["AgentJobRunRecord"];
|
|
219
197
|
}>;
|
|
220
198
|
};
|
|
221
199
|
};
|
|
@@ -223,10 +201,6 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
223
201
|
capabilities: CapabilitiesClient;
|
|
224
202
|
controls: ControlsClient;
|
|
225
203
|
source: Readonly<{
|
|
226
|
-
list: (request: import("./index.js").UnsV2SourceListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceListResponse>;
|
|
227
|
-
get: (request: import("./index.js").UnsV2SourceGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceGetResponse>;
|
|
228
|
-
create: (request: import("./index.js").UnsV2SourceCreateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceCreateResponse>;
|
|
229
|
-
update: (request: import("./index.js").UnsV2SourceUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceUpdateResponse>;
|
|
230
204
|
delete: (request: import("./index.js").CloudSourceDeleteReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudSourceDeleteResponse>;
|
|
231
205
|
validate: (request: import("./index.js").UnsV2SourceValidateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceValidateResponse>;
|
|
232
206
|
probe: (request: import("./index.js").UnsV2SourceProbeReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceProbeResponse>;
|
|
@@ -235,9 +209,6 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
235
209
|
protocols: Readonly<{
|
|
236
210
|
list: (request: import("./index.js").UnsV2SourceProtocolsListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceProtocolsListResponse>;
|
|
237
211
|
}>;
|
|
238
|
-
connection: Readonly<{
|
|
239
|
-
update: (request: import("./index.js").UnsV2SourceConnectionUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceConnectionUpdateResponse>;
|
|
240
|
-
}>;
|
|
241
212
|
state: Readonly<{
|
|
242
213
|
update: (request: import("./index.js").UnsV2SourceStateUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceStateUpdateResponse>;
|
|
243
214
|
}>;
|
|
@@ -257,13 +228,8 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
257
228
|
stream: Readonly<{
|
|
258
229
|
programs: Readonly<{
|
|
259
230
|
list: (request: import("./index.js").CloudStreamProgramListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamProgramListResponse>;
|
|
260
|
-
get: (request: import("./index.js").UnsV2StreamProgramGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramGetResponse>;
|
|
261
|
-
create: (request: import("./index.js").UnsV2StreamProgramCreateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramCreateResponse>;
|
|
262
|
-
update: (request: import("./index.js").UnsV2StreamProgramUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramUpdateResponse>;
|
|
263
231
|
delete: (request: import("./index.js").CloudStreamProgramDeleteReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamProgramDeleteResponse>;
|
|
264
|
-
validate: (request: import("./index.js").UnsV2StreamProgramValidateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramValidateResponse>;
|
|
265
232
|
deploy: (request: import("./index.js").UnsV2StreamProgramDeployReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramDeployResponse>;
|
|
266
|
-
disable: (request: import("./index.js").UnsV2StreamProgramDisableReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramDisableResponse>;
|
|
267
233
|
rollback: (request: import("./index.js").UnsV2StreamProgramRollbackReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramRollbackResponse>;
|
|
268
234
|
versions: Readonly<{
|
|
269
235
|
list: (request: import("./index.js").UnsV2StreamProgramVersionsListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramVersionsListResponse>;
|
|
@@ -289,69 +255,189 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
289
255
|
}>;
|
|
290
256
|
uns: Readonly<Pick<import("./index.js").UnsV2Operations, import("./uns-v2/data-client.js").UnsDataOperationName>>;
|
|
291
257
|
api: {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
list: (body: import("./index.js").components["schemas"]["SdkagentCardsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
324
|
-
list: import("./index.js").components["schemas"]["AgentCardGetResp"][];
|
|
325
|
-
page: number | bigint;
|
|
326
|
-
size: number | bigint;
|
|
327
|
-
total: number | bigint;
|
|
328
|
-
}>;
|
|
329
|
-
update: (body: import("./index.js").components["schemas"]["SdkagentCardsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
330
|
-
cardId: string;
|
|
258
|
+
system: {
|
|
259
|
+
info: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
260
|
+
capabilities: string[];
|
|
261
|
+
mqttBroker: string;
|
|
262
|
+
name: string;
|
|
263
|
+
version: string;
|
|
264
|
+
}>;
|
|
265
|
+
whoami: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
266
|
+
apiKeyName: string;
|
|
267
|
+
email: string;
|
|
268
|
+
keyPrefix: string;
|
|
269
|
+
keyType: string;
|
|
270
|
+
permissions: string[];
|
|
271
|
+
roles: string[];
|
|
272
|
+
userID: number | bigint;
|
|
273
|
+
userName: string;
|
|
274
|
+
workspaceID: number | bigint;
|
|
275
|
+
workspaceName: string;
|
|
276
|
+
}>;
|
|
277
|
+
};
|
|
278
|
+
assets: {
|
|
279
|
+
files: {
|
|
280
|
+
prepareUpload: (body: import("./index.js").components["schemas"]["SdkassetsFilesPrepareUploadRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
281
|
+
expiresAt?: number | bigint;
|
|
282
|
+
fileId?: number | bigint;
|
|
283
|
+
filePath: string;
|
|
284
|
+
fileUrl?: string;
|
|
285
|
+
postFields: {
|
|
286
|
+
[key: string]: string;
|
|
287
|
+
};
|
|
288
|
+
postUrl: string;
|
|
331
289
|
}>;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
290
|
+
download: (query: import("./index.js").components["schemas"]["SdkassetsFilesDownloadQuery"], options?: import("./openapi/client.js").RequestOptions) => Promise<Response>;
|
|
291
|
+
url: (query: import("./index.js").components["schemas"]["SdkassetsFilesUrlQuery"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
292
|
+
expiresAt?: number | bigint;
|
|
293
|
+
fileUrl: string;
|
|
336
294
|
}>;
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
page: number | bigint;
|
|
340
|
-
size: number | bigint;
|
|
341
|
-
total: number | bigint;
|
|
295
|
+
delete: (body: import("./index.js").components["schemas"]["SdkassetsFilesDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
296
|
+
deleted: boolean;
|
|
342
297
|
}>;
|
|
298
|
+
multipart: {
|
|
299
|
+
init: (body: import("./index.js").components["schemas"]["SdkassetsFilesMultipartInitRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
300
|
+
expiresAt: number | bigint;
|
|
301
|
+
fileKey: string;
|
|
302
|
+
filePath: string;
|
|
303
|
+
partCount: number | bigint;
|
|
304
|
+
partSize: number | bigint;
|
|
305
|
+
uploadId: string;
|
|
306
|
+
}>;
|
|
307
|
+
partUrls: (body: import("./index.js").components["schemas"]["SdkassetsFilesMultipartPartUrlsRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
308
|
+
partUrls: import("./index.js").components["schemas"]["AssetFileMultipartPartUrl"][];
|
|
309
|
+
}>;
|
|
310
|
+
complete: (body: import("./index.js").components["schemas"]["SdkassetsFilesMultipartCompleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
311
|
+
expiresAt?: number | bigint;
|
|
312
|
+
filePath: string;
|
|
313
|
+
fileUrl?: string;
|
|
314
|
+
sizeBytes: number | bigint;
|
|
315
|
+
}>;
|
|
316
|
+
abort: (body: import("./index.js").components["schemas"]["SdkassetsFilesMultipartAbortRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
317
|
+
aborted: number | bigint;
|
|
318
|
+
}>;
|
|
319
|
+
};
|
|
343
320
|
};
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
321
|
+
upload: (body: import("./index.js").components["schemas"]["SdkassetsUploadRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
322
|
+
filePath: string;
|
|
323
|
+
fileUrl?: string;
|
|
324
|
+
postFields: {
|
|
325
|
+
[key: string]: string;
|
|
326
|
+
};
|
|
327
|
+
postUrl: string;
|
|
328
|
+
}>;
|
|
329
|
+
};
|
|
330
|
+
notifications: {
|
|
331
|
+
send: (body: import("./index.js").components["schemas"]["SdknotificationsSendRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
332
|
+
createdAt: string;
|
|
333
|
+
messageId: string;
|
|
334
|
+
status: string;
|
|
335
|
+
}>;
|
|
336
|
+
get: (body: import("./index.js").components["schemas"]["SdknotificationsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
337
|
+
completedAt?: string;
|
|
338
|
+
createdAt: string;
|
|
339
|
+
errorCode?: string;
|
|
340
|
+
message?: string;
|
|
341
|
+
messageId: string;
|
|
342
|
+
status: string;
|
|
343
|
+
type: string;
|
|
344
|
+
}>;
|
|
345
|
+
};
|
|
346
|
+
members: {
|
|
347
|
+
listWorkspace: (body?: import("./index.js").components["schemas"]["SdkmembersListWorkspaceRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
348
|
+
list: import("./index.js").components["schemas"]["PlatformMemberResp"][];
|
|
349
|
+
page: number | bigint;
|
|
350
|
+
size: number | bigint;
|
|
351
|
+
total: number | bigint;
|
|
352
|
+
}>;
|
|
353
|
+
listApp: (body: import("./index.js").components["schemas"]["SdkmembersListAppRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
354
|
+
allActiveMembers: number | bigint;
|
|
355
|
+
appId: string;
|
|
356
|
+
list: import("./index.js").components["schemas"]["AppAccessMemberResp"][];
|
|
357
|
+
page: number | bigint;
|
|
358
|
+
productionVersionId?: string;
|
|
359
|
+
published: number | bigint;
|
|
360
|
+
roles: import("./index.js").components["schemas"]["AppAccessRoleResp"][];
|
|
361
|
+
size: number | bigint;
|
|
362
|
+
total: number | bigint;
|
|
363
|
+
}>;
|
|
364
|
+
};
|
|
365
|
+
mqttAuth: {
|
|
366
|
+
create: (body: import("./index.js").components["schemas"]["SdkmqttAuthCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
367
|
+
clientID: string;
|
|
368
|
+
clientIDRandomSuffixEnabled: boolean;
|
|
369
|
+
id: number | bigint;
|
|
370
|
+
name: string;
|
|
371
|
+
password: string;
|
|
372
|
+
username: string;
|
|
373
|
+
}>;
|
|
374
|
+
delete: (body: import("./index.js").components["schemas"]["SdkmqttAuthDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
375
|
+
success: boolean;
|
|
376
|
+
}>;
|
|
377
|
+
};
|
|
378
|
+
capabilities: {
|
|
379
|
+
discover: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
380
|
+
apiContractVersions: string[];
|
|
381
|
+
capabilities: import("./index.js").components["schemas"]["PublicCapability"][];
|
|
382
|
+
contractVersion: string;
|
|
383
|
+
deprecations: import("./index.js").components["schemas"]["CapabilityDeprecation"][];
|
|
384
|
+
interpreterContractVersions: string[];
|
|
385
|
+
product: string;
|
|
386
|
+
productVersion?: string;
|
|
387
|
+
sdkContractVersions: string[];
|
|
388
|
+
}>;
|
|
389
|
+
};
|
|
390
|
+
agent: {
|
|
391
|
+
cards: {
|
|
392
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentCardsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
393
|
+
canvasId: string;
|
|
394
|
+
cardId: string;
|
|
395
|
+
cardKey: string;
|
|
396
|
+
cardSpec: unknown;
|
|
397
|
+
updatedAt: number | bigint;
|
|
398
|
+
}>;
|
|
399
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentCardsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
400
|
+
cardId: string;
|
|
401
|
+
}>;
|
|
402
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentCardsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
403
|
+
list: import("./index.js").components["schemas"]["AgentCardGetResp"][];
|
|
404
|
+
page: number | bigint;
|
|
405
|
+
size: number | bigint;
|
|
406
|
+
total: number | bigint;
|
|
407
|
+
}>;
|
|
408
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentCardsDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
409
|
+
cardId: string;
|
|
410
|
+
}>;
|
|
411
|
+
};
|
|
412
|
+
results: {
|
|
413
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentResultsCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
414
|
+
jobRunId: string;
|
|
415
|
+
resultId: string;
|
|
416
|
+
}>;
|
|
417
|
+
get: (body?: import("./index.js").components["schemas"]["SdkagentResultsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
418
|
+
result: import("./index.js").components["schemas"]["AgentStoredResult"];
|
|
419
|
+
}>;
|
|
420
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentResultsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
421
|
+
list: import("./index.js").components["schemas"]["AgentStoredResult"][];
|
|
422
|
+
page: number | bigint;
|
|
423
|
+
size: number | bigint;
|
|
424
|
+
total: number | bigint;
|
|
425
|
+
}>;
|
|
426
|
+
pin: (body: import("./index.js").components["schemas"]["SdkagentResultsPinRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
427
|
+
cardId: string;
|
|
428
|
+
}>;
|
|
429
|
+
};
|
|
430
|
+
jobs: {
|
|
431
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentJobsCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
432
|
+
jobId: string;
|
|
433
|
+
}>;
|
|
434
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentJobsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
435
|
+
jobId: string;
|
|
436
|
+
}>;
|
|
437
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentJobsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
438
|
+
job: import("./index.js").components["schemas"]["AgentJobRecord"];
|
|
439
|
+
}>;
|
|
440
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentJobsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
355
441
|
list: import("./index.js").components["schemas"]["AgentJobRecord"][];
|
|
356
442
|
page: number | bigint;
|
|
357
443
|
size: number | bigint;
|
|
@@ -363,241 +449,65 @@ export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
|
363
449
|
resume: (body: import("./index.js").components["schemas"]["SdkagentJobsResumeRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
364
450
|
jobId: string;
|
|
365
451
|
}>;
|
|
452
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentJobsDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
453
|
+
jobId: string;
|
|
454
|
+
}>;
|
|
366
455
|
trigger: (body: import("./index.js").components["schemas"]["SdkagentJobsTriggerRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
367
456
|
dispatchState: string;
|
|
368
457
|
jobId: string;
|
|
369
458
|
jobRunId: string;
|
|
370
459
|
}>;
|
|
371
|
-
update: (body: import("./index.js").components["schemas"]["SdkagentJobsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
372
|
-
jobId: string;
|
|
373
|
-
}>;
|
|
374
460
|
};
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
}>;
|
|
379
|
-
delete: (body: import("./index.js").components["schemas"]["SdkagentLibraryDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
380
|
-
libraryItemId: string;
|
|
381
|
-
}>;
|
|
382
|
-
get: (body: import("./index.js").components["schemas"]["SdkagentLibraryGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
383
|
-
item: import("./index.js").components["schemas"]["AgentLibraryItem"];
|
|
461
|
+
jobRuns: {
|
|
462
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentJobRunsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
463
|
+
run: import("./index.js").components["schemas"]["AgentJobRunRecord"];
|
|
384
464
|
}>;
|
|
385
|
-
list: (body: import("./index.js").components["schemas"]["
|
|
386
|
-
list: import("./index.js").components["schemas"]["
|
|
465
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentJobRunsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
466
|
+
list: import("./index.js").components["schemas"]["AgentJobRunRecord"][];
|
|
387
467
|
page: number | bigint;
|
|
388
468
|
size: number | bigint;
|
|
389
469
|
total: number | bigint;
|
|
390
470
|
}>;
|
|
391
|
-
update: (body: import("./index.js").components["schemas"]["SdkagentLibraryUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
392
|
-
libraryItemId: string;
|
|
393
|
-
}>;
|
|
394
471
|
};
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
skipped: number | bigint;
|
|
472
|
+
canvases: {
|
|
473
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentCanvasesListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
474
|
+
list: import("./index.js").components["schemas"]["AgentCanvasRecord"][];
|
|
475
|
+
page: number | bigint;
|
|
476
|
+
size: number | bigint;
|
|
401
477
|
total: number | bigint;
|
|
402
478
|
}>;
|
|
403
|
-
searchSemantic: (body: import("./index.js").components["schemas"]["SdkagentNodesSearchSemanticRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
404
|
-
hits: import("./index.js").components["schemas"]["AgentNodeSemanticHit"][];
|
|
405
|
-
indexedCount: number | bigint;
|
|
406
|
-
}>;
|
|
407
|
-
};
|
|
408
|
-
relations: {
|
|
409
|
-
list: (body: import("./index.js").components["schemas"]["SdkagentRelationsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
410
|
-
relations: import("./index.js").components["schemas"]["AgentRelationInfo"][];
|
|
411
|
-
}>;
|
|
412
|
-
teach: (body: import("./index.js").components["schemas"]["SdkagentRelationsTeachRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
413
|
-
created: number | bigint;
|
|
414
|
-
id: string;
|
|
415
|
-
}>;
|
|
416
479
|
};
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
resultId: string;
|
|
421
|
-
}>;
|
|
422
|
-
get: (body?: import("./index.js").components["schemas"]["SdkagentResultsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
423
|
-
result: import("./index.js").components["schemas"]["AgentStoredResult"];
|
|
424
|
-
}>;
|
|
425
|
-
list: (body: import("./index.js").components["schemas"]["SdkagentResultsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
426
|
-
list: import("./index.js").components["schemas"]["AgentStoredResult"][];
|
|
480
|
+
library: {
|
|
481
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentLibraryListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
482
|
+
list: import("./index.js").components["schemas"]["AgentLibraryItem"][];
|
|
427
483
|
page: number | bigint;
|
|
428
484
|
size: number | bigint;
|
|
429
485
|
total: number | bigint;
|
|
430
486
|
}>;
|
|
431
|
-
|
|
432
|
-
|
|
487
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentLibraryGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
488
|
+
item: import("./index.js").components["schemas"]["AgentLibraryItem"];
|
|
433
489
|
}>;
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
members: {
|
|
437
|
-
listApp: (body: import("./index.js").components["schemas"]["SdkmembersListAppRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
438
|
-
allActiveMembers: number | bigint;
|
|
439
|
-
appId: string;
|
|
440
|
-
list: import("./index.js").components["schemas"]["AppAccessMemberResp"][];
|
|
441
|
-
page: number | bigint;
|
|
442
|
-
productionVersionId?: string;
|
|
443
|
-
published: number | bigint;
|
|
444
|
-
roles: import("./index.js").components["schemas"]["AppAccessRoleResp"][];
|
|
445
|
-
size: number | bigint;
|
|
446
|
-
total: number | bigint;
|
|
447
|
-
}>;
|
|
448
|
-
listWorkspace: (body?: import("./index.js").components["schemas"]["SdkmembersListWorkspaceRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
449
|
-
list: import("./index.js").components["schemas"]["PlatformMemberResp"][];
|
|
450
|
-
page: number | bigint;
|
|
451
|
-
size: number | bigint;
|
|
452
|
-
total: number | bigint;
|
|
453
|
-
}>;
|
|
454
|
-
};
|
|
455
|
-
assets: {
|
|
456
|
-
files: {
|
|
457
|
-
prepareUpload: (body: import("./index.js").components["schemas"]["SdkassetsFilesPrepareUploadRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
458
|
-
expiresAt?: number | bigint;
|
|
459
|
-
fileId?: number | bigint;
|
|
460
|
-
filePath: string;
|
|
461
|
-
fileUrl?: string;
|
|
462
|
-
postFields: {
|
|
463
|
-
[key: string]: string;
|
|
464
|
-
};
|
|
465
|
-
postUrl: string;
|
|
490
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentLibraryCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
491
|
+
libraryItemId: string;
|
|
466
492
|
}>;
|
|
467
|
-
|
|
468
|
-
|
|
493
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentLibraryUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
494
|
+
libraryItemId: string;
|
|
469
495
|
}>;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
fileKey: string;
|
|
484
|
-
filePath: string;
|
|
485
|
-
partCount: number | bigint;
|
|
486
|
-
partSize: number | bigint;
|
|
487
|
-
uploadId: string;
|
|
488
|
-
}>;
|
|
489
|
-
partUrls: (body: import("./index.js").components["schemas"]["SdkassetsFilesMultipartPartUrlsRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
490
|
-
partUrls: import("./index.js").components["schemas"]["AssetFileMultipartPartUrl"][];
|
|
491
|
-
}>;
|
|
492
|
-
};
|
|
493
|
-
url: (query: import("./index.js").components["schemas"]["SdkassetsFilesUrlQuery"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
494
|
-
expiresAt?: number | bigint;
|
|
495
|
-
fileUrl: string;
|
|
496
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentLibraryDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
497
|
+
libraryItemId: string;
|
|
498
|
+
}>;
|
|
499
|
+
};
|
|
500
|
+
analyses: {
|
|
501
|
+
dispatch: (body: import("./index.js").components["schemas"]["SdkagentAnalysesDispatchRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
502
|
+
dispatchState: string;
|
|
503
|
+
errorCode: string;
|
|
504
|
+
errorMessage: string;
|
|
505
|
+
runId: string;
|
|
506
|
+
}>;
|
|
507
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentAnalysesGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
508
|
+
run: import("./index.js").components["schemas"]["AgentJobRunRecord"];
|
|
496
509
|
}>;
|
|
497
510
|
};
|
|
498
|
-
upload: (body: import("./index.js").components["schemas"]["SdkassetsUploadRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
499
|
-
filePath: string;
|
|
500
|
-
fileUrl?: string;
|
|
501
|
-
postFields: {
|
|
502
|
-
[key: string]: string;
|
|
503
|
-
};
|
|
504
|
-
postUrl: string;
|
|
505
|
-
}>;
|
|
506
|
-
};
|
|
507
|
-
system: {
|
|
508
|
-
whoami: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
509
|
-
apiKeyName: string;
|
|
510
|
-
email: string;
|
|
511
|
-
keyPrefix: string;
|
|
512
|
-
keyType: string;
|
|
513
|
-
permissions: string[];
|
|
514
|
-
roles: string[];
|
|
515
|
-
userID: number | bigint;
|
|
516
|
-
userName: string;
|
|
517
|
-
workspaceID: number | bigint;
|
|
518
|
-
workspaceName: string;
|
|
519
|
-
}>;
|
|
520
|
-
info: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
521
|
-
name?: string;
|
|
522
|
-
version?: string;
|
|
523
|
-
capabilities?: string[];
|
|
524
|
-
mqttBroker?: string;
|
|
525
|
-
}>;
|
|
526
|
-
};
|
|
527
|
-
capabilities: {
|
|
528
|
-
discover: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
529
|
-
apiContractVersions: string[];
|
|
530
|
-
capabilities: import("./index.js").components["schemas"]["PublicCapability"][];
|
|
531
|
-
contractVersion: string;
|
|
532
|
-
deprecations: import("./index.js").components["schemas"]["CapabilityDeprecation"][];
|
|
533
|
-
interpreterContractVersions: string[];
|
|
534
|
-
product: string;
|
|
535
|
-
productVersion?: string;
|
|
536
|
-
sdkContractVersions: string[];
|
|
537
|
-
}>;
|
|
538
|
-
};
|
|
539
|
-
controls: {
|
|
540
|
-
discover: (body?: import("./index.js").components["schemas"]["SdkcontrolsDiscoverRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
541
|
-
list: import("./index.js").components["schemas"]["PublicControl"][];
|
|
542
|
-
total: number | bigint;
|
|
543
|
-
}>;
|
|
544
|
-
describe: (params: {
|
|
545
|
-
"controlCode": string;
|
|
546
|
-
}, options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
547
|
-
code: string;
|
|
548
|
-
contractVersion: string;
|
|
549
|
-
description: string;
|
|
550
|
-
idempotency: string;
|
|
551
|
-
inputSchema: {
|
|
552
|
-
[key: string]: unknown;
|
|
553
|
-
};
|
|
554
|
-
name: string;
|
|
555
|
-
outputSchema: {
|
|
556
|
-
[key: string]: unknown;
|
|
557
|
-
};
|
|
558
|
-
sideEffect: string;
|
|
559
|
-
status: string;
|
|
560
|
-
timeoutMs: number | bigint;
|
|
561
|
-
}>;
|
|
562
|
-
invoke: (params: {
|
|
563
|
-
"controlCode": string;
|
|
564
|
-
}, body: import("./index.js").components["schemas"]["SdkcontrolsInvokeRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
565
|
-
code: string;
|
|
566
|
-
contractVersion: string;
|
|
567
|
-
replayed: boolean;
|
|
568
|
-
result: unknown;
|
|
569
|
-
runID: string;
|
|
570
|
-
status: string;
|
|
571
|
-
}>;
|
|
572
|
-
};
|
|
573
|
-
mqttAuth: {
|
|
574
|
-
create: (body: import("./index.js").components["schemas"]["SdkmqttAuthCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
575
|
-
clientID: string;
|
|
576
|
-
clientIDRandomSuffixEnabled: boolean;
|
|
577
|
-
id: number | bigint;
|
|
578
|
-
name: string;
|
|
579
|
-
password: string;
|
|
580
|
-
username: string;
|
|
581
|
-
}>;
|
|
582
|
-
delete: (body: import("./index.js").components["schemas"]["SdkmqttAuthDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
583
|
-
success: boolean;
|
|
584
|
-
}>;
|
|
585
|
-
};
|
|
586
|
-
notifications: {
|
|
587
|
-
get: (body: import("./index.js").components["schemas"]["SdknotificationsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
588
|
-
completedAt?: string;
|
|
589
|
-
createdAt: string;
|
|
590
|
-
errorCode?: string;
|
|
591
|
-
message?: string;
|
|
592
|
-
messageId: string;
|
|
593
|
-
status: string;
|
|
594
|
-
type: string;
|
|
595
|
-
}>;
|
|
596
|
-
send: (body: import("./index.js").components["schemas"]["SdknotificationsSendRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
597
|
-
createdAt: string;
|
|
598
|
-
messageId: string;
|
|
599
|
-
status: string;
|
|
600
|
-
}>;
|
|
601
511
|
};
|
|
602
512
|
};
|
|
603
513
|
}>;
|