@proteos/sdk 0.18.1
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/LICENSE +40 -0
- package/dist/chunk-7RGN4E22.cjs +1185 -0
- package/dist/chunk-7RGN4E22.cjs.map +1 -0
- package/dist/chunk-XJP5WCRZ.js +1125 -0
- package/dist/chunk-XJP5WCRZ.js.map +1 -0
- package/dist/index.cjs +2384 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +5225 -0
- package/dist/index.d.ts +5225 -0
- package/dist/index.js +2146 -0
- package/dist/index.js.map +1 -0
- package/dist/meta/index.cjs +204 -0
- package/dist/meta/index.cjs.map +1 -0
- package/dist/meta/index.d.cts +2 -0
- package/dist/meta/index.d.ts +2 -0
- package/dist/meta/index.js +3 -0
- package/dist/meta/index.js.map +1 -0
- package/dist/types-BNsjfU8N.d.cts +3299 -0
- package/dist/types-BNsjfU8N.d.ts +3299 -0
- package/package.json +86 -0
- package/src/agent/agents.ts +53 -0
- package/src/agent/index.ts +134 -0
- package/src/agent/mcp-servers.ts +102 -0
- package/src/agent/prompts.ts +80 -0
- package/src/agent/session-types.ts +397 -0
- package/src/agent/sessions.ts +197 -0
- package/src/agent/skills.ts +89 -0
- package/src/agent/tools.ts +53 -0
- package/src/agent/types.ts +362 -0
- package/src/auth/index.ts +111 -0
- package/src/auth/me.ts +46 -0
- package/src/auth/organizations.ts +128 -0
- package/src/auth/platform-entities.ts +78 -0
- package/src/auth/roles.ts +213 -0
- package/src/auth/types.ts +294 -0
- package/src/auth/users.ts +226 -0
- package/src/client.ts +441 -0
- package/src/connector/index.ts +120 -0
- package/src/connector/types.ts +150 -0
- package/src/conversation/index.ts +297 -0
- package/src/conversation/types.ts +590 -0
- package/src/conversation/voice.ts +123 -0
- package/src/data/index.ts +53 -0
- package/src/data/queries.ts +66 -0
- package/src/data/records.ts +122 -0
- package/src/data/types.ts +89 -0
- package/src/errors.ts +148 -0
- package/src/events/index.ts +172 -0
- package/src/events/types.ts +77 -0
- package/src/functions/actions.ts +95 -0
- package/src/functions/index.ts +32 -0
- package/src/functions/types.ts +71 -0
- package/src/http/index.ts +2 -0
- package/src/http/query-params.ts +106 -0
- package/src/index.ts +598 -0
- package/src/iterator.ts +183 -0
- package/src/knowledge/graph.ts +35 -0
- package/src/knowledge/index.ts +104 -0
- package/src/knowledge/labels.ts +70 -0
- package/src/knowledge/links.ts +65 -0
- package/src/knowledge/nodes.ts +198 -0
- package/src/knowledge/record-links.ts +66 -0
- package/src/knowledge/types.ts +569 -0
- package/src/meta/apps.ts +107 -0
- package/src/meta/components.ts +124 -0
- package/src/meta/currency/index.ts +202 -0
- package/src/meta/entities.ts +193 -0
- package/src/meta/filters.ts +76 -0
- package/src/meta/index.ts +227 -0
- package/src/meta/layout/common-props.ts +93 -0
- package/src/meta/layout/control-registry.json +70 -0
- package/src/meta/layout/control-registry.ts +92 -0
- package/src/meta/layout/elements.ts +203 -0
- package/src/meta/layout/index.ts +41 -0
- package/src/meta/layout/page-layout.ts +35 -0
- package/src/meta/layout/size-value.ts +27 -0
- package/src/meta/list-views.ts +109 -0
- package/src/meta/lists.ts +104 -0
- package/src/meta/menu-configurations.ts +128 -0
- package/src/meta/modules.ts +159 -0
- package/src/meta/pages.ts +106 -0
- package/src/meta/types.ts +1115 -0
- package/src/meta/variables.ts +98 -0
- package/src/storage/files.ts +183 -0
- package/src/storage/index.ts +33 -0
- package/src/storage/types.ts +70 -0
- package/src/types/common.ts +143 -0
- package/src/types/index.ts +28 -0
- package/src/types/options.ts +95 -0
- package/src/workflow/executions.ts +99 -0
- package/src/workflow/index.ts +109 -0
- package/src/workflow/node-types.ts +50 -0
- package/src/workflow/types.ts +658 -0
- package/src/workflow/workflows.ts +152 -0
package/src/index.ts
ADDED
|
@@ -0,0 +1,598 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Proteos SDK for TypeScript/JavaScript
|
|
3
|
+
*
|
|
4
|
+
* A type-safe client library for the Proteos platform API.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```ts
|
|
8
|
+
* import { ProteosClient, MetaClient, isNotFound } from 'proteos-sdk';
|
|
9
|
+
*
|
|
10
|
+
* // Create client
|
|
11
|
+
* const client = new ProteosClient({
|
|
12
|
+
* baseUrl: 'https://api.proteos.ai',
|
|
13
|
+
* token: 'your-api-token',
|
|
14
|
+
* });
|
|
15
|
+
*
|
|
16
|
+
* // Create meta client
|
|
17
|
+
* const meta = new MetaClient(client);
|
|
18
|
+
*
|
|
19
|
+
* // List entities
|
|
20
|
+
* for await (const entity of meta.entities.list()) {
|
|
21
|
+
* console.log(entity.slug);
|
|
22
|
+
* }
|
|
23
|
+
*
|
|
24
|
+
* // Handle errors
|
|
25
|
+
* try {
|
|
26
|
+
* const entity = await meta.entities.get('not-found');
|
|
27
|
+
* } catch (error) {
|
|
28
|
+
* if (isNotFound(error)) {
|
|
29
|
+
* console.log('Entity not found');
|
|
30
|
+
* }
|
|
31
|
+
* }
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @packageDocumentation
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
// Agent client (agent-service: agents, prompts, skills, tools, mcp-servers, sessions)
|
|
38
|
+
export type {
|
|
39
|
+
ActionBinding,
|
|
40
|
+
Agent,
|
|
41
|
+
AgentArtifactsPayload,
|
|
42
|
+
AgentMessagePayload,
|
|
43
|
+
AgentResourceListOptions,
|
|
44
|
+
AgentService,
|
|
45
|
+
AppendEventRequest,
|
|
46
|
+
ClientEventType,
|
|
47
|
+
ClientToolSchema,
|
|
48
|
+
ContentBlock,
|
|
49
|
+
ContextCompactedPayload,
|
|
50
|
+
CreateAgentRequest,
|
|
51
|
+
CreateMcpServerRequest,
|
|
52
|
+
CreatePromptRequest,
|
|
53
|
+
CreateSessionRequest,
|
|
54
|
+
CreateToolRequest,
|
|
55
|
+
EmptyPayload,
|
|
56
|
+
ErrorPayload,
|
|
57
|
+
EventType,
|
|
58
|
+
FileBlock,
|
|
59
|
+
ListAgentsOptions,
|
|
60
|
+
ListMcpServersOptions,
|
|
61
|
+
ListPromptsOptions,
|
|
62
|
+
ListSessionsOptions,
|
|
63
|
+
ListSkillsOptions,
|
|
64
|
+
ListToolsOptions,
|
|
65
|
+
McpBinding,
|
|
66
|
+
McpConnectionState,
|
|
67
|
+
McpConnectionStatus,
|
|
68
|
+
McpServer,
|
|
69
|
+
McpServerAuth,
|
|
70
|
+
McpServerOAuth,
|
|
71
|
+
McpServerService,
|
|
72
|
+
McpToolSummary,
|
|
73
|
+
ModelConfig,
|
|
74
|
+
ModelRequestEndPayload,
|
|
75
|
+
ModelRequestStartPayload,
|
|
76
|
+
ModelUsage,
|
|
77
|
+
Prompt,
|
|
78
|
+
PromptService,
|
|
79
|
+
PromptVersion,
|
|
80
|
+
ReasoningPayload,
|
|
81
|
+
ResultBlock,
|
|
82
|
+
Session,
|
|
83
|
+
SessionEvent,
|
|
84
|
+
SessionEventEnvelope,
|
|
85
|
+
SessionEventsOptions,
|
|
86
|
+
SessionIdlePayload,
|
|
87
|
+
SessionService,
|
|
88
|
+
SessionStatus,
|
|
89
|
+
SessionStreamOptions,
|
|
90
|
+
SessionUpdatedPayload,
|
|
91
|
+
Skill,
|
|
92
|
+
SkillBundle,
|
|
93
|
+
SkillService,
|
|
94
|
+
SkillVersion,
|
|
95
|
+
StartMcpOAuthResponse,
|
|
96
|
+
StopReason,
|
|
97
|
+
TextBlock,
|
|
98
|
+
Tool,
|
|
99
|
+
ToolBinding,
|
|
100
|
+
ToolConfirmationPayload,
|
|
101
|
+
ToolKind,
|
|
102
|
+
ToolResultPayload,
|
|
103
|
+
ToolService,
|
|
104
|
+
ToolUsePayload,
|
|
105
|
+
Turn,
|
|
106
|
+
UpdateAgentRequest,
|
|
107
|
+
UpdateMcpServerRequest,
|
|
108
|
+
UpdatePromptRequest,
|
|
109
|
+
UpdateToolRequest,
|
|
110
|
+
UserMessagePayload,
|
|
111
|
+
} from './agent/index.js'
|
|
112
|
+
export { AgentClient } from './agent/index.js'
|
|
113
|
+
// Auth types (re-exported from auth/index.ts for convenience)
|
|
114
|
+
export type {
|
|
115
|
+
AssignPermissionRequest,
|
|
116
|
+
AssignRoleRequest,
|
|
117
|
+
// Shared auth types
|
|
118
|
+
AuthListOptions,
|
|
119
|
+
CreateOrganizationRequest,
|
|
120
|
+
CreateRoleRequest,
|
|
121
|
+
CreateUserRequest,
|
|
122
|
+
ListOrganizationsOptions,
|
|
123
|
+
ListRolePermissionsOptions,
|
|
124
|
+
ListRolesOptions,
|
|
125
|
+
ListUserRoleAssignmentsOptions,
|
|
126
|
+
ListUsersOptions,
|
|
127
|
+
// Me (caller-scoped) service
|
|
128
|
+
MeService,
|
|
129
|
+
// Organization types
|
|
130
|
+
Organization,
|
|
131
|
+
OrganizationService,
|
|
132
|
+
// Permission types
|
|
133
|
+
Permission,
|
|
134
|
+
// Platform entities
|
|
135
|
+
PlatformEntity,
|
|
136
|
+
// Role types
|
|
137
|
+
Role,
|
|
138
|
+
RoleEntityPermission,
|
|
139
|
+
RoleService,
|
|
140
|
+
UpdateOrganizationRequest,
|
|
141
|
+
UpdateRoleRequest,
|
|
142
|
+
UpdateUserRequest,
|
|
143
|
+
// User types
|
|
144
|
+
User,
|
|
145
|
+
// User role assignment types
|
|
146
|
+
UserRoleAssignment,
|
|
147
|
+
UserService,
|
|
148
|
+
} from './auth/index.js'
|
|
149
|
+
// Auth client and services
|
|
150
|
+
// Auth Zod schemas
|
|
151
|
+
export {
|
|
152
|
+
AccountClient,
|
|
153
|
+
isPlatformEntity,
|
|
154
|
+
OrganizationSchema,
|
|
155
|
+
PLATFORM_ENTITIES,
|
|
156
|
+
PLATFORM_ENTITY_SLUGS,
|
|
157
|
+
RoleEntityPermissionSchema,
|
|
158
|
+
RoleSchema,
|
|
159
|
+
UserRoleAssignmentSchema,
|
|
160
|
+
UserSchema,
|
|
161
|
+
} from './auth/index.js'
|
|
162
|
+
// Main client
|
|
163
|
+
export { ProteosClient } from './client.js'
|
|
164
|
+
// Conversation types (conversation-service: connections, conversations, messages, listeners)
|
|
165
|
+
export type {
|
|
166
|
+
AgentListener,
|
|
167
|
+
AgentListenerService,
|
|
168
|
+
AgentListenerTriggerType,
|
|
169
|
+
Attachment,
|
|
170
|
+
Channel,
|
|
171
|
+
Connection,
|
|
172
|
+
ConnectionCredentials,
|
|
173
|
+
ConnectionScope,
|
|
174
|
+
ConnectionService,
|
|
175
|
+
ConnectionStatus,
|
|
176
|
+
ConnectorKey,
|
|
177
|
+
ConnectorProvider,
|
|
178
|
+
// Aliased: the agent module already exports its own ContentBlock.
|
|
179
|
+
ContentBlock as MessageContentBlock,
|
|
180
|
+
Conversation,
|
|
181
|
+
ConversationParticipant,
|
|
182
|
+
ConversationService,
|
|
183
|
+
ConversationStatus,
|
|
184
|
+
CreateAgentListenerRequest,
|
|
185
|
+
CreateConnectionRequest,
|
|
186
|
+
InstallConnectionResponse,
|
|
187
|
+
ListAgentListenersQuery,
|
|
188
|
+
ListConnectionsQuery,
|
|
189
|
+
ListConversationsQuery,
|
|
190
|
+
ListMessagesQuery,
|
|
191
|
+
ListParticipantsQuery,
|
|
192
|
+
// Conversation-local page envelope ({meta, data}) — distinct from the
|
|
193
|
+
// PageIterator-based ListResult used by the other modules.
|
|
194
|
+
ListResponse,
|
|
195
|
+
ListRoomsQuery,
|
|
196
|
+
Message,
|
|
197
|
+
MessageDirection,
|
|
198
|
+
MessagePreview,
|
|
199
|
+
MessageRecipient,
|
|
200
|
+
MessageService,
|
|
201
|
+
MessageStatus,
|
|
202
|
+
Participant,
|
|
203
|
+
ParticipantRef,
|
|
204
|
+
ParticipantSource,
|
|
205
|
+
Reaction,
|
|
206
|
+
ReactionCapability,
|
|
207
|
+
ReactionOption,
|
|
208
|
+
ReactionSetKind,
|
|
209
|
+
RecipientKind,
|
|
210
|
+
RecipientRole,
|
|
211
|
+
Room,
|
|
212
|
+
SendMessageRequest,
|
|
213
|
+
SendRecipient,
|
|
214
|
+
TranscribeStreamOptions,
|
|
215
|
+
TranscriptResult,
|
|
216
|
+
UnreadCounts,
|
|
217
|
+
UpdateAgentListenerRequest,
|
|
218
|
+
UpdateConnectionRequest,
|
|
219
|
+
VoiceService,
|
|
220
|
+
VoiceTranscriptionStream,
|
|
221
|
+
} from './conversation/index.js'
|
|
222
|
+
// Conversation client (conversation-service)
|
|
223
|
+
export { ConversationClient } from './conversation/index.js'
|
|
224
|
+
// Connector client (connector-service)
|
|
225
|
+
export { ConnectorClient } from './connector/index.js'
|
|
226
|
+
export type {
|
|
227
|
+
Connector,
|
|
228
|
+
ConnectorConnection,
|
|
229
|
+
ConnectorMethod,
|
|
230
|
+
ConnectionScope as ConnectorConnectionScope,
|
|
231
|
+
ConnectionStatus as ConnectorConnectionStatus,
|
|
232
|
+
ConnectionTokenResponse as ConnectorConnectionTokenResponse,
|
|
233
|
+
CreateConnectorConnectionRequest,
|
|
234
|
+
CredentialKind as ConnectorCredentialKind,
|
|
235
|
+
InstallConnectorConnectionResponse,
|
|
236
|
+
ListConnectorConnectionsQuery,
|
|
237
|
+
ListConnectorsQuery,
|
|
238
|
+
UpdateConnectorConnectionRequest,
|
|
239
|
+
WriteCredentialsRequest,
|
|
240
|
+
} from './connector/index.js'
|
|
241
|
+
export type {
|
|
242
|
+
BatchTransactionError,
|
|
243
|
+
BatchTransactionStatus,
|
|
244
|
+
BatchUpsertRecordsResponse,
|
|
245
|
+
BatchUpsertTransaction,
|
|
246
|
+
BatchUpsertTransactionResult,
|
|
247
|
+
ListRecordsOptions,
|
|
248
|
+
QueryExecuteMeta,
|
|
249
|
+
QueryExecuteResponse,
|
|
250
|
+
QueryRow,
|
|
251
|
+
QueryService,
|
|
252
|
+
QueryValidateMeta,
|
|
253
|
+
QueryValidateResponse,
|
|
254
|
+
RecordData,
|
|
255
|
+
RecordService,
|
|
256
|
+
} from './data/index.js'
|
|
257
|
+
// Data client (data-service)
|
|
258
|
+
export {
|
|
259
|
+
BatchTransactionErrorSchema,
|
|
260
|
+
BatchUpsertRecordsResponseSchema,
|
|
261
|
+
BatchUpsertTransactionResultSchema,
|
|
262
|
+
BatchUpsertTransactionSchema,
|
|
263
|
+
DataClient,
|
|
264
|
+
} from './data/index.js'
|
|
265
|
+
export type { ApiErrorResponse, ErrorCodeType } from './errors.js'
|
|
266
|
+
// Error handling
|
|
267
|
+
export {
|
|
268
|
+
ErrorCode,
|
|
269
|
+
getDefaultErrorCode,
|
|
270
|
+
isBadRequest,
|
|
271
|
+
isConflict,
|
|
272
|
+
isForbidden,
|
|
273
|
+
isNotFound,
|
|
274
|
+
isProteosError,
|
|
275
|
+
isUnauthorized,
|
|
276
|
+
ProteosError,
|
|
277
|
+
parseErrorResponse,
|
|
278
|
+
} from './errors.js'
|
|
279
|
+
export type {
|
|
280
|
+
ConsumerGroup,
|
|
281
|
+
ListEventsOptions,
|
|
282
|
+
PlatformEvent,
|
|
283
|
+
PublishEventRequest,
|
|
284
|
+
RedriveResult,
|
|
285
|
+
TailOptions,
|
|
286
|
+
Topic,
|
|
287
|
+
TopicKind,
|
|
288
|
+
TopicService,
|
|
289
|
+
} from './events/index.js'
|
|
290
|
+
// Events client (event-service: read/admin view over the Redis bus)
|
|
291
|
+
export { EventsClient } from './events/index.js'
|
|
292
|
+
// Functions client (function-service: deployed actions + hooks)
|
|
293
|
+
export type {
|
|
294
|
+
Action,
|
|
295
|
+
ActionScope,
|
|
296
|
+
ActionService,
|
|
297
|
+
InvokeActionResponse,
|
|
298
|
+
ListActionsOptions,
|
|
299
|
+
} from './functions/index.js'
|
|
300
|
+
export { ActionSchema, ActionScopeSchema, FunctionsClient } from './functions/index.js'
|
|
301
|
+
// HTTP utilities
|
|
302
|
+
export type { QueryObject, QueryValue } from './http/index.js'
|
|
303
|
+
export { buildUrl, toQueryParams, toQueryString } from './http/index.js'
|
|
304
|
+
export type { Done, ListFn } from './iterator.js'
|
|
305
|
+
// Iterator
|
|
306
|
+
export { createIterator, DEFAULT_PAGE_SIZE, DONE, PageIterator } from './iterator.js'
|
|
307
|
+
// Knowledge types (re-exported from knowledge/index.ts for convenience)
|
|
308
|
+
export type {
|
|
309
|
+
ContentMatch,
|
|
310
|
+
ContentResponse,
|
|
311
|
+
CreateLabelRequest,
|
|
312
|
+
CreateLinkRequest,
|
|
313
|
+
CreateNodeRequest,
|
|
314
|
+
CreateRecordLinkRequest,
|
|
315
|
+
EditContentRequest,
|
|
316
|
+
EditContentResponse,
|
|
317
|
+
GetGraphOptions,
|
|
318
|
+
GraphService,
|
|
319
|
+
InlineLinkRequest,
|
|
320
|
+
KnowledgeGraph,
|
|
321
|
+
KnowledgeGraphLink,
|
|
322
|
+
KnowledgeGraphNode,
|
|
323
|
+
KnowledgeLabel,
|
|
324
|
+
KnowledgeLink,
|
|
325
|
+
KnowledgeNode,
|
|
326
|
+
KnowledgeNodeLabel,
|
|
327
|
+
KnowledgeNodeMetadata,
|
|
328
|
+
KnowledgeNodeSearchResult,
|
|
329
|
+
KnowledgeRecordLink,
|
|
330
|
+
LabelService,
|
|
331
|
+
LinkService,
|
|
332
|
+
LinkType,
|
|
333
|
+
ListLabelsOptions,
|
|
334
|
+
ListLinksOptions,
|
|
335
|
+
ListNodesOptions,
|
|
336
|
+
ListRecordLinksOptions,
|
|
337
|
+
MatchMode,
|
|
338
|
+
NeighborDirection,
|
|
339
|
+
NeighborEdge,
|
|
340
|
+
NeighborNode,
|
|
341
|
+
NeighborsOptions,
|
|
342
|
+
NodeContentMatches,
|
|
343
|
+
NodeNeighborhood,
|
|
344
|
+
NodeOutline,
|
|
345
|
+
NodeService,
|
|
346
|
+
NodeStatus,
|
|
347
|
+
NodeType,
|
|
348
|
+
OutlineHeading,
|
|
349
|
+
OutlineRequest,
|
|
350
|
+
OutlineResponse,
|
|
351
|
+
RecordLinkService,
|
|
352
|
+
SearchContentRequest,
|
|
353
|
+
SearchContentResponse,
|
|
354
|
+
SearchNodesRequest,
|
|
355
|
+
UpdateLabelRequest,
|
|
356
|
+
UpdateLinkRequest,
|
|
357
|
+
UpdateNodeRequest,
|
|
358
|
+
WriteContentResponse,
|
|
359
|
+
} from './knowledge/index.js'
|
|
360
|
+
// Knowledge client (knowledge-service: graph-native knowledge base)
|
|
361
|
+
export {
|
|
362
|
+
KnowledgeClient,
|
|
363
|
+
KnowledgeLabelSchema,
|
|
364
|
+
KnowledgeLinkSchema,
|
|
365
|
+
KnowledgeNodeLabelSchema,
|
|
366
|
+
KnowledgeNodeMetadataSchema,
|
|
367
|
+
KnowledgeNodeSchema,
|
|
368
|
+
KnowledgeNodeSearchResultSchema,
|
|
369
|
+
KnowledgeRecordLinkSchema,
|
|
370
|
+
NodeNeighborhoodSchema,
|
|
371
|
+
} from './knowledge/index.js'
|
|
372
|
+
// Meta types (re-exported from meta/index.ts for convenience)
|
|
373
|
+
export type {
|
|
374
|
+
// App types
|
|
375
|
+
App,
|
|
376
|
+
AppService,
|
|
377
|
+
Attribute,
|
|
378
|
+
AttributeType,
|
|
379
|
+
Column,
|
|
380
|
+
ComparisonOperator,
|
|
381
|
+
// Component types
|
|
382
|
+
Component,
|
|
383
|
+
ComponentService,
|
|
384
|
+
CreateAppRequest,
|
|
385
|
+
CreateComponentRequest,
|
|
386
|
+
CreateEntityRequest,
|
|
387
|
+
CreateListRequest,
|
|
388
|
+
CreateListViewRequest,
|
|
389
|
+
CreateMenuConfigurationRequest,
|
|
390
|
+
CreatePageRequest,
|
|
391
|
+
CreateVariableRequest,
|
|
392
|
+
// Currency attribute meta + value
|
|
393
|
+
CurrencyAttributeMeta,
|
|
394
|
+
CurrencySymbolSide,
|
|
395
|
+
CurrencyValue,
|
|
396
|
+
DeployModuleRequest,
|
|
397
|
+
// Entity types
|
|
398
|
+
Entity,
|
|
399
|
+
EntityService,
|
|
400
|
+
EntityWithSchema,
|
|
401
|
+
// File attribute meta
|
|
402
|
+
FileAttributeMeta,
|
|
403
|
+
FilterElement,
|
|
404
|
+
FilterGroup,
|
|
405
|
+
// List types
|
|
406
|
+
List,
|
|
407
|
+
ListAppsOptions,
|
|
408
|
+
ListComponentsOptions,
|
|
409
|
+
ListEntitiesOptions,
|
|
410
|
+
ListListsOptions,
|
|
411
|
+
ListListViewsOptions,
|
|
412
|
+
ListMenuConfigurationsOptions,
|
|
413
|
+
ListModulesOptions,
|
|
414
|
+
ListPagesOptions,
|
|
415
|
+
ListService,
|
|
416
|
+
ListVariablesOptions,
|
|
417
|
+
// ListView types
|
|
418
|
+
ListView,
|
|
419
|
+
ListViewService,
|
|
420
|
+
LogicalOperator,
|
|
421
|
+
// MenuConfiguration types
|
|
422
|
+
MenuConfiguration,
|
|
423
|
+
MenuConfigurationService,
|
|
424
|
+
MenuItem,
|
|
425
|
+
// Shared meta types
|
|
426
|
+
MetaListOptions,
|
|
427
|
+
// Module types
|
|
428
|
+
Module,
|
|
429
|
+
ModuleService,
|
|
430
|
+
ModuleStatus,
|
|
431
|
+
OnDeleteAction,
|
|
432
|
+
// Page types
|
|
433
|
+
Page,
|
|
434
|
+
PageAction,
|
|
435
|
+
PageLayout,
|
|
436
|
+
PageService,
|
|
437
|
+
// Relation attribute meta
|
|
438
|
+
RelationAttributeMeta,
|
|
439
|
+
SortConfig,
|
|
440
|
+
SortDirection,
|
|
441
|
+
UpdateAppRequest,
|
|
442
|
+
UpdateComponentRequest,
|
|
443
|
+
UpdateEntityRequest,
|
|
444
|
+
UpdateListRequest,
|
|
445
|
+
UpdateListViewRequest,
|
|
446
|
+
UpdateMenuConfigurationRequest,
|
|
447
|
+
UpdatePageRequest,
|
|
448
|
+
UpdateVariableRequest,
|
|
449
|
+
// Variable types
|
|
450
|
+
Variable,
|
|
451
|
+
VariableService,
|
|
452
|
+
} from './meta/index.js'
|
|
453
|
+
// Meta client and services
|
|
454
|
+
// Value-level constants from meta
|
|
455
|
+
// Meta Zod schemas
|
|
456
|
+
export {
|
|
457
|
+
AppSchema,
|
|
458
|
+
AttributeSchema,
|
|
459
|
+
allCurrencyCodes,
|
|
460
|
+
ColumnSchema,
|
|
461
|
+
ComponentSchema,
|
|
462
|
+
CurrencyAttributeMetaSchema,
|
|
463
|
+
currencyLabel,
|
|
464
|
+
currencySymbol,
|
|
465
|
+
currencySymbolSide,
|
|
466
|
+
EntitySchema,
|
|
467
|
+
EntityWithSchemaSchema,
|
|
468
|
+
FilterElementSchema,
|
|
469
|
+
FilterGroupSchema,
|
|
470
|
+
formatAmount,
|
|
471
|
+
formatMoney,
|
|
472
|
+
isPlatformAttributeName,
|
|
473
|
+
ListSchema,
|
|
474
|
+
ListViewSchema,
|
|
475
|
+
localeNumberSeparators,
|
|
476
|
+
MenuConfigurationSchema,
|
|
477
|
+
MenuItemSchema,
|
|
478
|
+
MenuItemType,
|
|
479
|
+
MetaClient,
|
|
480
|
+
ModuleSchema,
|
|
481
|
+
OnDeleteActionSchema,
|
|
482
|
+
PageActionSchema,
|
|
483
|
+
PageLayoutSchema,
|
|
484
|
+
PageSchema,
|
|
485
|
+
PLATFORM_ATTRIBUTE_NAMES,
|
|
486
|
+
parseAmount,
|
|
487
|
+
parseCurrencyMeta,
|
|
488
|
+
parseFileMeta,
|
|
489
|
+
parseRelationMeta,
|
|
490
|
+
platformAttributes,
|
|
491
|
+
RelationAttributeMetaSchema,
|
|
492
|
+
SortConfigSchema,
|
|
493
|
+
VariableSchema,
|
|
494
|
+
} from './meta/index.js'
|
|
495
|
+
export type {
|
|
496
|
+
CreateFileMetadata,
|
|
497
|
+
FileService,
|
|
498
|
+
FileVersionContent,
|
|
499
|
+
ParseStatus,
|
|
500
|
+
StorageFile,
|
|
501
|
+
StorageFileVersion,
|
|
502
|
+
} from './storage/index.js'
|
|
503
|
+
// Storage client (storage-service: file upload / download / metadata)
|
|
504
|
+
export { StorageClient } from './storage/index.js'
|
|
505
|
+
// Common types
|
|
506
|
+
export type {
|
|
507
|
+
AuditFields,
|
|
508
|
+
ClientOptions,
|
|
509
|
+
FileRef,
|
|
510
|
+
ListOptions,
|
|
511
|
+
ListResult,
|
|
512
|
+
RequestOptions,
|
|
513
|
+
ResolvedClientOptions,
|
|
514
|
+
ResponseMeta,
|
|
515
|
+
Timestamps,
|
|
516
|
+
TokenProvider,
|
|
517
|
+
UserRef,
|
|
518
|
+
UserType,
|
|
519
|
+
} from './types/index.js'
|
|
520
|
+
export {
|
|
521
|
+
AuditFieldsSchema,
|
|
522
|
+
createListResultSchema,
|
|
523
|
+
DEFAULT_OPTIONS,
|
|
524
|
+
FileRefSchema,
|
|
525
|
+
PLATFORM_USER_ID,
|
|
526
|
+
ResponseMetaSchema,
|
|
527
|
+
resolveOptions,
|
|
528
|
+
UserRefSchema,
|
|
529
|
+
} from './types/index.js'
|
|
530
|
+
export type {
|
|
531
|
+
AgentActionParams,
|
|
532
|
+
AgentKickoff,
|
|
533
|
+
BinaryRef,
|
|
534
|
+
ConnectionEndpoint,
|
|
535
|
+
CreateWorkflowRequest,
|
|
536
|
+
CredentialSpec,
|
|
537
|
+
CronTriggerParams,
|
|
538
|
+
DisplayOptions,
|
|
539
|
+
EventTriggerParams,
|
|
540
|
+
EventVerb,
|
|
541
|
+
ExecutionError,
|
|
542
|
+
ExecutionStatus,
|
|
543
|
+
ExecutionTriggerContext,
|
|
544
|
+
GetExecutionDetailResponse,
|
|
545
|
+
GetNodeExecutionItemsOptions,
|
|
546
|
+
GetNodeExecutionItemsResponse,
|
|
547
|
+
GetNodeTypesResponse,
|
|
548
|
+
InvokeNodeMethodRequest,
|
|
549
|
+
InvokeNodeMethodResponse,
|
|
550
|
+
Item,
|
|
551
|
+
KickoffSource,
|
|
552
|
+
KickoffType,
|
|
553
|
+
ListExecutionsOptions,
|
|
554
|
+
ListWorkflowsOptions,
|
|
555
|
+
ManualTriggerParams,
|
|
556
|
+
MessageKickoff,
|
|
557
|
+
MessageTriggerParams,
|
|
558
|
+
NodeDescriptor,
|
|
559
|
+
NodeExecution,
|
|
560
|
+
NodeGroup,
|
|
561
|
+
NodeMethodOption,
|
|
562
|
+
NodePosition,
|
|
563
|
+
NodeProperty,
|
|
564
|
+
NodeRetryPolicy,
|
|
565
|
+
NodeRuntime,
|
|
566
|
+
NodeTypeKey,
|
|
567
|
+
NodeTypeService,
|
|
568
|
+
NodeTypeStatus,
|
|
569
|
+
OnErrorPolicy,
|
|
570
|
+
OutcomeKickoff,
|
|
571
|
+
OutcomeRubric,
|
|
572
|
+
PairedItem,
|
|
573
|
+
PortSpec,
|
|
574
|
+
PropertyOption,
|
|
575
|
+
PropertyType,
|
|
576
|
+
RunWorkflowRequest,
|
|
577
|
+
TestNodeCandidate,
|
|
578
|
+
TestNodeInputSource,
|
|
579
|
+
TestNodeRequest,
|
|
580
|
+
TestNodeResponse,
|
|
581
|
+
TriggerKind,
|
|
582
|
+
UpdateWorkflowRequest,
|
|
583
|
+
WebhookTriggerParams,
|
|
584
|
+
Workflow,
|
|
585
|
+
WorkflowConnection,
|
|
586
|
+
WorkflowContentBlock,
|
|
587
|
+
WorkflowExecution,
|
|
588
|
+
WorkflowGraph,
|
|
589
|
+
WorkflowNode,
|
|
590
|
+
WorkflowNodeType,
|
|
591
|
+
WorkflowStatus,
|
|
592
|
+
WorkflowVersion,
|
|
593
|
+
WorkflowVersionAuthor,
|
|
594
|
+
WorkflowVersionSummary,
|
|
595
|
+
} from './workflow/index.js'
|
|
596
|
+
// Workflow client (workflow-service: n8n-shaped workflows + executions +
|
|
597
|
+
// node-type catalog)
|
|
598
|
+
export { DEFAULT_PORT, ERROR_PORT, WorkflowClient } from './workflow/index.js'
|