@lunnoa/client 1.1.0 → 1.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 +22 -0
- package/dist/cli.js +821 -91
- package/dist/index.cjs +71 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +132 -41
- package/dist/index.d.ts +132 -41
- package/dist/index.js +71 -21
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +70 -22
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +129 -34
- package/dist/react.d.ts +129 -34
- package/dist/react.js +70 -22
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/skills/lunnoa-client/SKILL.md +21 -5
- package/skills/lunnoa-solution-design/SKILL.md +9 -7
package/dist/index.d.cts
CHANGED
|
@@ -131,6 +131,15 @@ type ChatMode = 'builder' | 'preview';
|
|
|
131
131
|
interface StreamMessageOptions {
|
|
132
132
|
/** Agent chat mode; defaults to the server default (`builder`). */
|
|
133
133
|
chatMode?: ChatMode;
|
|
134
|
+
/** Optional image attachment forwarded with this turn. */
|
|
135
|
+
data?: {
|
|
136
|
+
imageUrl?: string;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Answer to an ask-before-sending personal-data prompt.
|
|
140
|
+
* Applies to this message only.
|
|
141
|
+
*/
|
|
142
|
+
piiResolution?: 'anonymize' | 'fallback';
|
|
134
143
|
/** Abort the stream (closes the HTTP connection; the run keeps going server-side — call `stop` to cancel it). */
|
|
135
144
|
signal?: AbortSignal;
|
|
136
145
|
}
|
|
@@ -859,7 +868,7 @@ interface paths {
|
|
|
859
868
|
};
|
|
860
869
|
/**
|
|
861
870
|
* Get all entities for workspace with filtering
|
|
862
|
-
* @description Returns a paginated list of entities in the workspace, optionally filtered by type, state,
|
|
871
|
+
* @description Returns a paginated list of entities in the workspace, optionally filtered by type, state, or a name search.
|
|
863
872
|
*/
|
|
864
873
|
get: operations["ObjectsController_findAll"];
|
|
865
874
|
put?: never;
|
|
@@ -1660,8 +1669,6 @@ interface components {
|
|
|
1660
1669
|
SKILLS: boolean;
|
|
1661
1670
|
/** @description Whether the hexagonal agent builder canvas UI is enabled. */
|
|
1662
1671
|
AGENT_BUILDER_CANVAS: boolean;
|
|
1663
|
-
/** @description Whether the Solution Designer UI is enabled. */
|
|
1664
|
-
SOLUTION_DESIGNER: boolean;
|
|
1665
1672
|
/** @description Whether isolated code execution for agents is enabled. */
|
|
1666
1673
|
CODE_EXECUTION: boolean;
|
|
1667
1674
|
/** @description Whether SSO (OIDC) login is enabled. Requires at least one enabled SSO provider. */
|
|
@@ -2282,9 +2289,7 @@ interface components {
|
|
|
2282
2289
|
/** @description Error message to record against the queue item. */
|
|
2283
2290
|
error: string;
|
|
2284
2291
|
/** @description Additional structured error details, supplied as a JSON string. */
|
|
2285
|
-
errorDetails?:
|
|
2286
|
-
[key: string]: unknown;
|
|
2287
|
-
};
|
|
2292
|
+
errorDetails?: string;
|
|
2288
2293
|
};
|
|
2289
2294
|
BulkDeleteItemsDto: {
|
|
2290
2295
|
/** @description IDs of the queue items to delete. */
|
|
@@ -2519,11 +2524,6 @@ interface components {
|
|
|
2519
2524
|
attributes?: {
|
|
2520
2525
|
[key: string]: unknown;
|
|
2521
2526
|
};
|
|
2522
|
-
/**
|
|
2523
|
-
* Format: uuid
|
|
2524
|
-
* @description Workspace user ID of the entity owner.
|
|
2525
|
-
*/
|
|
2526
|
-
ownerId?: string;
|
|
2527
2527
|
};
|
|
2528
2528
|
ObjectTypeSummaryDto: {
|
|
2529
2529
|
/** @description Entity type ID. */
|
|
@@ -2639,8 +2639,6 @@ interface components {
|
|
|
2639
2639
|
attributes?: {
|
|
2640
2640
|
[key: string]: unknown;
|
|
2641
2641
|
};
|
|
2642
|
-
/** @description Workspace user ID of the new entity owner. */
|
|
2643
|
-
ownerId?: string;
|
|
2644
2642
|
};
|
|
2645
2643
|
ChangeObjectStateDto: {
|
|
2646
2644
|
/** @description ID of the target state. Must be a valid transition from the current state when the entity type defines transitions. */
|
|
@@ -3424,7 +3422,7 @@ interface components {
|
|
|
3424
3422
|
approvalStatus?: "pending" | "partially_approved" | "approved" | "rejected" | "expired";
|
|
3425
3423
|
/** @description Number of approve decisions received so far */
|
|
3426
3424
|
approvalsReceived?: number;
|
|
3427
|
-
/** @description
|
|
3425
|
+
/** @description How many approvals are required before the workflow continues */
|
|
3428
3426
|
approvalsRequired?: number;
|
|
3429
3427
|
};
|
|
3430
3428
|
PendingInputFieldDto: {
|
|
@@ -3802,11 +3800,15 @@ interface components {
|
|
|
3802
3800
|
* "imageUrl": "https://example.com/image.png"
|
|
3803
3801
|
* }
|
|
3804
3802
|
*/
|
|
3805
|
-
data?:
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3803
|
+
data?: {
|
|
3804
|
+
/** @description URL of an image attached to the message. */
|
|
3805
|
+
imageUrl?: string;
|
|
3806
|
+
};
|
|
3807
|
+
/**
|
|
3808
|
+
* @description Answer to an ask-before-sending personal-data prompt. Applies to this message only.
|
|
3809
|
+
* @enum {string}
|
|
3810
|
+
*/
|
|
3811
|
+
piiResolution?: "anonymize" | "fallback";
|
|
3810
3812
|
};
|
|
3811
3813
|
StreamMessageStopDto: {
|
|
3812
3814
|
/** @description Partial assistant message to persist when stopping a stream */
|
|
@@ -4870,8 +4872,6 @@ interface operations {
|
|
|
4870
4872
|
state?: string;
|
|
4871
4873
|
/** @description Filter by multiple state IDs, supplied as a comma-separated list. */
|
|
4872
4874
|
states?: string;
|
|
4873
|
-
/** @description Filter by owner workspace user ID. */
|
|
4874
|
-
ownerId?: string;
|
|
4875
4875
|
/** @description Case-insensitive search on the entity name. */
|
|
4876
4876
|
search?: string;
|
|
4877
4877
|
/** @description Field to sort by (for example name, createdAt, updatedAt). Defaults to updatedAt. */
|
|
@@ -5153,13 +5153,11 @@ interface operations {
|
|
|
5153
5153
|
* @enum {string}
|
|
5154
5154
|
*/
|
|
5155
5155
|
format?: "csv" | "xlsx";
|
|
5156
|
-
/** @description When true, adds an ownerName column resolved from the owning workspace member. */
|
|
5157
|
-
includeRelatedEntityNames?: boolean;
|
|
5158
5156
|
};
|
|
5159
5157
|
};
|
|
5160
5158
|
};
|
|
5161
5159
|
responses: {
|
|
5162
|
-
/** @description Flat export rows. Each row contains id, name, state, createdAt, updatedAt, the requested attribute fields
|
|
5160
|
+
/** @description Flat export rows. Each row contains id, name, state, createdAt, updatedAt, and the requested attribute fields. */
|
|
5163
5161
|
201: {
|
|
5164
5162
|
headers: {
|
|
5165
5163
|
[name: string]: unknown;
|
|
@@ -6851,8 +6849,6 @@ interface ListEntitiesOptions {
|
|
|
6851
6849
|
state?: string;
|
|
6852
6850
|
/** Filter by several states (comma-separated server-side). */
|
|
6853
6851
|
states?: string[];
|
|
6854
|
-
/** Filter by owner workspace-user ID. */
|
|
6855
|
-
ownerId?: string;
|
|
6856
6852
|
/** Free-text search over entity names. */
|
|
6857
6853
|
search?: string;
|
|
6858
6854
|
sortBy?: string;
|
|
@@ -6884,7 +6880,6 @@ interface ExportEntitiesInput {
|
|
|
6884
6880
|
value: unknown;
|
|
6885
6881
|
}>;
|
|
6886
6882
|
format?: 'csv' | 'xlsx';
|
|
6887
|
-
includeRelatedEntityNames?: boolean;
|
|
6888
6883
|
}
|
|
6889
6884
|
/**
|
|
6890
6885
|
* Entities (the platform calls them Objects internally): the structured data
|
|
@@ -6991,7 +6986,6 @@ type ApprovalInboxItem = {
|
|
|
6991
6986
|
status: string;
|
|
6992
6987
|
requiredCount: number;
|
|
6993
6988
|
receivedApprovals: number;
|
|
6994
|
-
currentStageIndex?: number;
|
|
6995
6989
|
expiresAt?: string;
|
|
6996
6990
|
createdAt?: string;
|
|
6997
6991
|
updatedAt?: string;
|
|
@@ -7010,7 +7004,7 @@ type ApprovalInboxItem = {
|
|
|
7010
7004
|
comment?: string;
|
|
7011
7005
|
decidedAt?: string;
|
|
7012
7006
|
};
|
|
7013
|
-
/** People who can still decide
|
|
7007
|
+
/** People who can still decide. */
|
|
7014
7008
|
eligibleApprovers?: EligibleApprover[];
|
|
7015
7009
|
approval?: Record<string, unknown>;
|
|
7016
7010
|
};
|
|
@@ -7079,6 +7073,16 @@ declare class ProjectsResource {
|
|
|
7079
7073
|
create(data: CreateProjectInput): Promise<Project>;
|
|
7080
7074
|
}
|
|
7081
7075
|
|
|
7076
|
+
type QueueItemStatus = 'PENDING' | 'PROCESSING' | 'SUCCESS' | 'FAILED' | 'RETRYING';
|
|
7077
|
+
interface AddQueueItemErrorInput {
|
|
7078
|
+
/** Error message recorded on the item. */
|
|
7079
|
+
error: string;
|
|
7080
|
+
/**
|
|
7081
|
+
* Extra details. An object is sent as a JSON string, which is what the
|
|
7082
|
+
* server validates.
|
|
7083
|
+
*/
|
|
7084
|
+
errorDetails?: string | Record<string, unknown>;
|
|
7085
|
+
}
|
|
7082
7086
|
interface ListQueueItemsOptions {
|
|
7083
7087
|
limit?: number;
|
|
7084
7088
|
offset?: number;
|
|
@@ -7124,12 +7128,18 @@ declare class QueueItemsResource {
|
|
|
7124
7128
|
}): Promise<QueueItem[]>;
|
|
7125
7129
|
/** Returns items eligible for retry. */
|
|
7126
7130
|
listRetryable(queueId: string): Promise<QueueItem[]>;
|
|
7127
|
-
/** Returns items with the given status. */
|
|
7128
|
-
listByStatus(queueId: string, status:
|
|
7131
|
+
/** Returns a page of items with the given status. */
|
|
7132
|
+
listByStatus(queueId: string, status: QueueItemStatus, options?: {
|
|
7133
|
+
limit?: number;
|
|
7134
|
+
offset?: number;
|
|
7135
|
+
}): Promise<QueueItemList>;
|
|
7129
7136
|
/** Looks an item up by the external ID your system supplied. */
|
|
7130
7137
|
getByExternalId(queueId: string, externalId: string): Promise<QueueItemFull>;
|
|
7131
|
-
/**
|
|
7132
|
-
|
|
7138
|
+
/**
|
|
7139
|
+
* Searches items by external id, item data, and metadata.
|
|
7140
|
+
* Returns one page, same shape as `list`.
|
|
7141
|
+
*/
|
|
7142
|
+
search(queueId: string, query: string, options?: Omit<ListQueueItemsOptions, 'filterBy'>): Promise<QueueItemList>;
|
|
7133
7143
|
/** Returns per-status and per-priority counts for the queue. */
|
|
7134
7144
|
stats(queueId: string): Promise<QueueItemStats>;
|
|
7135
7145
|
/** Returns the recorded processing errors of an item. */
|
|
@@ -7141,10 +7151,7 @@ declare class QueueItemsResource {
|
|
|
7141
7151
|
/** Queues the item for another processing attempt. */
|
|
7142
7152
|
retry(queueId: string, itemId: string): Promise<QueueItem>;
|
|
7143
7153
|
/** Records a processing error on the item. */
|
|
7144
|
-
addError(queueId: string, itemId: string, error:
|
|
7145
|
-
message: string;
|
|
7146
|
-
[key: string]: unknown;
|
|
7147
|
-
}): Promise<QueueItem>;
|
|
7154
|
+
addError(queueId: string, itemId: string, error: AddQueueItemErrorInput): Promise<QueueItem>;
|
|
7148
7155
|
}
|
|
7149
7156
|
|
|
7150
7157
|
declare class QueuesResource {
|
|
@@ -7201,6 +7208,91 @@ declare class RunsResource {
|
|
|
7201
7208
|
startAndWait(input: StartRunInput, waitOptions?: WaitUntilFinishedOptions): Promise<Execution>;
|
|
7202
7209
|
}
|
|
7203
7210
|
|
|
7211
|
+
type ScorecardMeasureStatus = 'ON_TRACK' | 'AT_RISK' | 'OFF_TRACK' | 'NO_DATA';
|
|
7212
|
+
type ScorecardSummary = {
|
|
7213
|
+
id: string;
|
|
7214
|
+
name: string;
|
|
7215
|
+
periodLabel: string | null;
|
|
7216
|
+
description: string | null;
|
|
7217
|
+
FK_ownerId: string | null;
|
|
7218
|
+
createdAt: string;
|
|
7219
|
+
_count: {
|
|
7220
|
+
objectives: number;
|
|
7221
|
+
};
|
|
7222
|
+
};
|
|
7223
|
+
type ScorecardMeasure = {
|
|
7224
|
+
id: string;
|
|
7225
|
+
name: string;
|
|
7226
|
+
unit: string;
|
|
7227
|
+
currency: string | null;
|
|
7228
|
+
direction: 'HIGHER_IS_BETTER' | 'LOWER_IS_BETTER';
|
|
7229
|
+
kind: 'LEADING' | 'LAGGING';
|
|
7230
|
+
cadence: 'DAILY' | 'WEEKLY' | 'MONTHLY';
|
|
7231
|
+
sourceType: 'MANUAL' | 'API' | 'WORKFLOW' | 'BUILT_IN';
|
|
7232
|
+
builtInKey: string | null;
|
|
7233
|
+
target: number;
|
|
7234
|
+
atRiskThreshold: number | null;
|
|
7235
|
+
latest: {
|
|
7236
|
+
value: number;
|
|
7237
|
+
periodStart: string;
|
|
7238
|
+
createdAt: string;
|
|
7239
|
+
} | null;
|
|
7240
|
+
previousValue: number | null;
|
|
7241
|
+
series: {
|
|
7242
|
+
periodStart: string;
|
|
7243
|
+
value: number;
|
|
7244
|
+
}[];
|
|
7245
|
+
status: ScorecardMeasureStatus;
|
|
7246
|
+
stale: boolean;
|
|
7247
|
+
};
|
|
7248
|
+
type ScorecardObjective = {
|
|
7249
|
+
id: string;
|
|
7250
|
+
perspective: 'FINANCIAL' | 'CUSTOMER' | 'PROCESS' | 'LEARNING';
|
|
7251
|
+
name: string;
|
|
7252
|
+
description: string | null;
|
|
7253
|
+
ownerLabel: string | null;
|
|
7254
|
+
drivesIds: string[];
|
|
7255
|
+
position: number;
|
|
7256
|
+
status: ScorecardMeasureStatus;
|
|
7257
|
+
measures: ScorecardMeasure[];
|
|
7258
|
+
};
|
|
7259
|
+
type Scorecard = Omit<ScorecardSummary, '_count'> & {
|
|
7260
|
+
aiSpendUsdThisMonth: number;
|
|
7261
|
+
objectives: ScorecardObjective[];
|
|
7262
|
+
};
|
|
7263
|
+
type ScorecardMeasureValue = {
|
|
7264
|
+
id: string;
|
|
7265
|
+
FK_measureId: string;
|
|
7266
|
+
periodStart: string;
|
|
7267
|
+
value: number;
|
|
7268
|
+
note: string | null;
|
|
7269
|
+
sourceType: ScorecardMeasure['sourceType'];
|
|
7270
|
+
supersededAt: string | null;
|
|
7271
|
+
createdAt: string;
|
|
7272
|
+
};
|
|
7273
|
+
type RecordMeasureValueInput = {
|
|
7274
|
+
value: number;
|
|
7275
|
+
/** Any ISO date inside the target period; defaults to the current period. */
|
|
7276
|
+
period?: string;
|
|
7277
|
+
note?: string;
|
|
7278
|
+
};
|
|
7279
|
+
/**
|
|
7280
|
+
* Balanced Scorecard (workspace API). Pushing values needs `scorecard:record`.
|
|
7281
|
+
*/
|
|
7282
|
+
declare class ScorecardsResource {
|
|
7283
|
+
private readonly http;
|
|
7284
|
+
constructor(http: HttpClient);
|
|
7285
|
+
/** Lists scorecards in the workspace. */
|
|
7286
|
+
list(): Promise<ScorecardSummary[]>;
|
|
7287
|
+
/** Returns a scorecard with objectives, measures, latest values and status. */
|
|
7288
|
+
get(scorecardId: string): Promise<Scorecard>;
|
|
7289
|
+
/**
|
|
7290
|
+
* Records a measure value. A value for the same period replaces the current
|
|
7291
|
+
* one; the old value is kept as superseded history.
|
|
7292
|
+
*/
|
|
7293
|
+
recordValue(measureId: string, data: RecordMeasureValueInput): Promise<ScorecardMeasureValue>;
|
|
7294
|
+
}
|
|
7295
|
+
|
|
7204
7296
|
declare class TasksResource {
|
|
7205
7297
|
private readonly http;
|
|
7206
7298
|
constructor(http: HttpClient);
|
|
@@ -7220,9 +7312,7 @@ declare class TasksResource {
|
|
|
7220
7312
|
* messages in AI SDK UIMessage format. For token-by-token output use
|
|
7221
7313
|
* `client.agentChat.streamMessage` instead.
|
|
7222
7314
|
*/
|
|
7223
|
-
message(agentId: string, taskId: string, message: string | UIMessage, options?:
|
|
7224
|
-
chatMode?: ChatMode;
|
|
7225
|
-
}): Promise<string | UIMessage[]>;
|
|
7315
|
+
message(agentId: string, taskId: string, message: string | UIMessage, options?: Omit<StreamMessageOptions, 'signal'>): Promise<string | UIMessage[]>;
|
|
7226
7316
|
}
|
|
7227
7317
|
|
|
7228
7318
|
declare class VariablesResource {
|
|
@@ -7338,6 +7428,7 @@ declare class LunnoaClient {
|
|
|
7338
7428
|
readonly queues: QueuesResource;
|
|
7339
7429
|
readonly queueItems: QueueItemsResource;
|
|
7340
7430
|
readonly variables: VariablesResource;
|
|
7431
|
+
readonly scorecards: ScorecardsResource;
|
|
7341
7432
|
readonly connections: ConnectionsResource;
|
|
7342
7433
|
readonly projects: ProjectsResource;
|
|
7343
7434
|
readonly workflowApps: WorkflowAppsResource;
|
|
@@ -7486,4 +7577,4 @@ interface CreateServerClientOptions {
|
|
|
7486
7577
|
*/
|
|
7487
7578
|
declare function createServerClient(options: CreateServerClientOptions): LunnoaClient;
|
|
7488
7579
|
|
|
7489
|
-
export { API_KEY_PREFIX, type ActionDefinition, ActionsResource, type Agent, AgentChatClient, AgentChatStream, type AgentDefinition, type AgentToolDefinition, AgentsResource, type AiConnectionDefinition, type ApprovalInboxItem, ApprovalsResource, AuthResource, type AuthTokens, type BulkCreateQueueItemsInput, type BulkCreateQueueItemsResult, type ChangeEntityStateInput, type ChangeEntityStateResult, type ChatMode, type Connection, type ConnectionDefinition, ConnectionsResource, type CreateBrowserClientOptions, type CreateEntityInput, type CreateKnowledgeInput, type CreateProjectInput, type CreateQueueInput, type CreateQueueItemInput, type CreateServerClientOptions, type CreateTaskInput, type CreateVariableInput, type CurrentUser, DEFINE_KINDS, type DefineKind, type DeletedTask, DiscoveryResource, type EligibleApprover, type EnabledFeatures, EntitiesResource, type Entity, type EntityStateHistoryEntry, type EntityStateTransitions, type EntityType, type EntityTypeDefinition, type EntityTypeReadOptions, EntityTypesResource, type ExecuteWorkflowResult, type Execution, type ExecutionPathStep, type ExecutionProgress, type ExecutionProgressPayload, type ExecutionProgressStep, ExecutionProgressStream, type ExecutionStatus, type ExecutionStreamEvent, type ExecutionStreamEventType, ExecutionTimeoutError, ExecutionsResource, type ExportEntitiesInput, type FetchLike, HttpClient, type ImportEntitiesInput, type ImportEntitiesResult, type ImportTemplate, type Knowledge, type KnowledgeDocument, type KnowledgeDocumentGroup, KnowledgeResource, type ListEntitiesOptions, type ListQueryOptions, type ListQueueItemsByObjectOptions, type ListQueueItemsOptions, type LocalStorageTokenStoreOptions, type LoginRequires2FA, type LoginResult, type LoginSuccess, LunnoaApiError, LunnoaClient, type LunnoaClientOptions, type MessageTaskInput, type OffsetPagination, type PagePagination, type PaginatedEntities, type PendingInput, type PendingInputField, type Project, ProjectsResource, type QueryValue, type Queue, type QueueAllowedObjectType, type QueueItem, type QueueItemCreated, type QueueItemErrorEntry, type QueueItemFull, type QueueItemList, type QueueItemObjectSummary, type QueueItemStats, QueueItemsResource, type QueueStats, QueuesResource, type RequestOptions, type RunActionInput, type RunActionOptions, type RunActionResult, RunsResource, type SaveUploadedTextInput, type SseEvent, SsoAuthResource, type SsoProviderSummary, type SsoProvidersResponse, type StartRunInput, type StartRunInputDto, type StartRunOptions, type StartRunStep, type StopStreamOptions, type StreamMessageOptions, type Task, type TaskListItem, TasksResource, type TokenStore, type UpdateEntityInput, type UpdateKnowledgeInput, type UpdateQueueInput, type UpdateQueueItemInput, type UpdateTaskInput, type UpdateVariableInput, type UpsertAgentBySlugInput, type UpsertAgentBySlugInputDto, type UpsertAgentToolInput, type UpsertEntityTypeBySlugInput, type UpsertWorkflowBySlugInput, type UpsertWorkflowBySlugInputDto, type UpsertWorkflowStepInput, type Variable, VariablesResource, type WaitUntilFinishedOptions, type WatchProgressOptions, type Workflow, type WorkflowApp, WorkflowAppsResource, type WorkflowDefinition, type WorkflowStepDefinition, WorkflowsResource, assertApiKeyAllowedInEnvironment, type components, createBrowserClient, createLocalStorageTokenStore, createMemoryTokenStore, createServerClient, defineAction, defineAgent, defineAiConnection, defineConnection, defineEntityType, defineWorkflow, entityTypeDefinitionToUpsert, isBrowserEnvironment, isLoginRequires2FA, iterateOffset, iteratePages, type operations, parseSseEvents, parseSseStream, type paths, resolveActionAppId, resolveActionId };
|
|
7580
|
+
export { API_KEY_PREFIX, type ActionDefinition, ActionsResource, type AddQueueItemErrorInput, type Agent, AgentChatClient, AgentChatStream, type AgentDefinition, type AgentToolDefinition, AgentsResource, type AiConnectionDefinition, type ApprovalInboxItem, ApprovalsResource, AuthResource, type AuthTokens, type BulkCreateQueueItemsInput, type BulkCreateQueueItemsResult, type ChangeEntityStateInput, type ChangeEntityStateResult, type ChatMode, type Connection, type ConnectionDefinition, ConnectionsResource, type CreateBrowserClientOptions, type CreateEntityInput, type CreateKnowledgeInput, type CreateProjectInput, type CreateQueueInput, type CreateQueueItemInput, type CreateServerClientOptions, type CreateTaskInput, type CreateVariableInput, type CurrentUser, DEFINE_KINDS, type DefineKind, type DeletedTask, DiscoveryResource, type EligibleApprover, type EnabledFeatures, EntitiesResource, type Entity, type EntityStateHistoryEntry, type EntityStateTransitions, type EntityType, type EntityTypeDefinition, type EntityTypeReadOptions, EntityTypesResource, type ExecuteWorkflowResult, type Execution, type ExecutionPathStep, type ExecutionProgress, type ExecutionProgressPayload, type ExecutionProgressStep, ExecutionProgressStream, type ExecutionStatus, type ExecutionStreamEvent, type ExecutionStreamEventType, ExecutionTimeoutError, ExecutionsResource, type ExportEntitiesInput, type FetchLike, HttpClient, type ImportEntitiesInput, type ImportEntitiesResult, type ImportTemplate, type Knowledge, type KnowledgeDocument, type KnowledgeDocumentGroup, KnowledgeResource, type ListEntitiesOptions, type ListQueryOptions, type ListQueueItemsByObjectOptions, type ListQueueItemsOptions, type LocalStorageTokenStoreOptions, type LoginRequires2FA, type LoginResult, type LoginSuccess, LunnoaApiError, LunnoaClient, type LunnoaClientOptions, type MessageTaskInput, type OffsetPagination, type PagePagination, type PaginatedEntities, type PendingInput, type PendingInputField, type Project, ProjectsResource, type QueryValue, type Queue, type QueueAllowedObjectType, type QueueItem, type QueueItemCreated, type QueueItemErrorEntry, type QueueItemFull, type QueueItemList, type QueueItemObjectSummary, type QueueItemStats, type QueueItemStatus, QueueItemsResource, type QueueStats, QueuesResource, type RecordMeasureValueInput, type RequestOptions, type RunActionInput, type RunActionOptions, type RunActionResult, RunsResource, type SaveUploadedTextInput, type Scorecard, type ScorecardMeasure, type ScorecardMeasureStatus, type ScorecardMeasureValue, type ScorecardObjective, type ScorecardSummary, ScorecardsResource, type SseEvent, SsoAuthResource, type SsoProviderSummary, type SsoProvidersResponse, type StartRunInput, type StartRunInputDto, type StartRunOptions, type StartRunStep, type StopStreamOptions, type StreamMessageOptions, type Task, type TaskListItem, TasksResource, type TokenStore, type UpdateEntityInput, type UpdateKnowledgeInput, type UpdateQueueInput, type UpdateQueueItemInput, type UpdateTaskInput, type UpdateVariableInput, type UpsertAgentBySlugInput, type UpsertAgentBySlugInputDto, type UpsertAgentToolInput, type UpsertEntityTypeBySlugInput, type UpsertWorkflowBySlugInput, type UpsertWorkflowBySlugInputDto, type UpsertWorkflowStepInput, type Variable, VariablesResource, type WaitUntilFinishedOptions, type WatchProgressOptions, type Workflow, type WorkflowApp, WorkflowAppsResource, type WorkflowDefinition, type WorkflowStepDefinition, WorkflowsResource, assertApiKeyAllowedInEnvironment, type components, createBrowserClient, createLocalStorageTokenStore, createMemoryTokenStore, createServerClient, defineAction, defineAgent, defineAiConnection, defineConnection, defineEntityType, defineWorkflow, entityTypeDefinitionToUpsert, isBrowserEnvironment, isLoginRequires2FA, iterateOffset, iteratePages, type operations, parseSseEvents, parseSseStream, type paths, resolveActionAppId, resolveActionId };
|
package/dist/index.d.ts
CHANGED
|
@@ -131,6 +131,15 @@ type ChatMode = 'builder' | 'preview';
|
|
|
131
131
|
interface StreamMessageOptions {
|
|
132
132
|
/** Agent chat mode; defaults to the server default (`builder`). */
|
|
133
133
|
chatMode?: ChatMode;
|
|
134
|
+
/** Optional image attachment forwarded with this turn. */
|
|
135
|
+
data?: {
|
|
136
|
+
imageUrl?: string;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Answer to an ask-before-sending personal-data prompt.
|
|
140
|
+
* Applies to this message only.
|
|
141
|
+
*/
|
|
142
|
+
piiResolution?: 'anonymize' | 'fallback';
|
|
134
143
|
/** Abort the stream (closes the HTTP connection; the run keeps going server-side — call `stop` to cancel it). */
|
|
135
144
|
signal?: AbortSignal;
|
|
136
145
|
}
|
|
@@ -859,7 +868,7 @@ interface paths {
|
|
|
859
868
|
};
|
|
860
869
|
/**
|
|
861
870
|
* Get all entities for workspace with filtering
|
|
862
|
-
* @description Returns a paginated list of entities in the workspace, optionally filtered by type, state,
|
|
871
|
+
* @description Returns a paginated list of entities in the workspace, optionally filtered by type, state, or a name search.
|
|
863
872
|
*/
|
|
864
873
|
get: operations["ObjectsController_findAll"];
|
|
865
874
|
put?: never;
|
|
@@ -1660,8 +1669,6 @@ interface components {
|
|
|
1660
1669
|
SKILLS: boolean;
|
|
1661
1670
|
/** @description Whether the hexagonal agent builder canvas UI is enabled. */
|
|
1662
1671
|
AGENT_BUILDER_CANVAS: boolean;
|
|
1663
|
-
/** @description Whether the Solution Designer UI is enabled. */
|
|
1664
|
-
SOLUTION_DESIGNER: boolean;
|
|
1665
1672
|
/** @description Whether isolated code execution for agents is enabled. */
|
|
1666
1673
|
CODE_EXECUTION: boolean;
|
|
1667
1674
|
/** @description Whether SSO (OIDC) login is enabled. Requires at least one enabled SSO provider. */
|
|
@@ -2282,9 +2289,7 @@ interface components {
|
|
|
2282
2289
|
/** @description Error message to record against the queue item. */
|
|
2283
2290
|
error: string;
|
|
2284
2291
|
/** @description Additional structured error details, supplied as a JSON string. */
|
|
2285
|
-
errorDetails?:
|
|
2286
|
-
[key: string]: unknown;
|
|
2287
|
-
};
|
|
2292
|
+
errorDetails?: string;
|
|
2288
2293
|
};
|
|
2289
2294
|
BulkDeleteItemsDto: {
|
|
2290
2295
|
/** @description IDs of the queue items to delete. */
|
|
@@ -2519,11 +2524,6 @@ interface components {
|
|
|
2519
2524
|
attributes?: {
|
|
2520
2525
|
[key: string]: unknown;
|
|
2521
2526
|
};
|
|
2522
|
-
/**
|
|
2523
|
-
* Format: uuid
|
|
2524
|
-
* @description Workspace user ID of the entity owner.
|
|
2525
|
-
*/
|
|
2526
|
-
ownerId?: string;
|
|
2527
2527
|
};
|
|
2528
2528
|
ObjectTypeSummaryDto: {
|
|
2529
2529
|
/** @description Entity type ID. */
|
|
@@ -2639,8 +2639,6 @@ interface components {
|
|
|
2639
2639
|
attributes?: {
|
|
2640
2640
|
[key: string]: unknown;
|
|
2641
2641
|
};
|
|
2642
|
-
/** @description Workspace user ID of the new entity owner. */
|
|
2643
|
-
ownerId?: string;
|
|
2644
2642
|
};
|
|
2645
2643
|
ChangeObjectStateDto: {
|
|
2646
2644
|
/** @description ID of the target state. Must be a valid transition from the current state when the entity type defines transitions. */
|
|
@@ -3424,7 +3422,7 @@ interface components {
|
|
|
3424
3422
|
approvalStatus?: "pending" | "partially_approved" | "approved" | "rejected" | "expired";
|
|
3425
3423
|
/** @description Number of approve decisions received so far */
|
|
3426
3424
|
approvalsReceived?: number;
|
|
3427
|
-
/** @description
|
|
3425
|
+
/** @description How many approvals are required before the workflow continues */
|
|
3428
3426
|
approvalsRequired?: number;
|
|
3429
3427
|
};
|
|
3430
3428
|
PendingInputFieldDto: {
|
|
@@ -3802,11 +3800,15 @@ interface components {
|
|
|
3802
3800
|
* "imageUrl": "https://example.com/image.png"
|
|
3803
3801
|
* }
|
|
3804
3802
|
*/
|
|
3805
|
-
data?:
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3803
|
+
data?: {
|
|
3804
|
+
/** @description URL of an image attached to the message. */
|
|
3805
|
+
imageUrl?: string;
|
|
3806
|
+
};
|
|
3807
|
+
/**
|
|
3808
|
+
* @description Answer to an ask-before-sending personal-data prompt. Applies to this message only.
|
|
3809
|
+
* @enum {string}
|
|
3810
|
+
*/
|
|
3811
|
+
piiResolution?: "anonymize" | "fallback";
|
|
3810
3812
|
};
|
|
3811
3813
|
StreamMessageStopDto: {
|
|
3812
3814
|
/** @description Partial assistant message to persist when stopping a stream */
|
|
@@ -4870,8 +4872,6 @@ interface operations {
|
|
|
4870
4872
|
state?: string;
|
|
4871
4873
|
/** @description Filter by multiple state IDs, supplied as a comma-separated list. */
|
|
4872
4874
|
states?: string;
|
|
4873
|
-
/** @description Filter by owner workspace user ID. */
|
|
4874
|
-
ownerId?: string;
|
|
4875
4875
|
/** @description Case-insensitive search on the entity name. */
|
|
4876
4876
|
search?: string;
|
|
4877
4877
|
/** @description Field to sort by (for example name, createdAt, updatedAt). Defaults to updatedAt. */
|
|
@@ -5153,13 +5153,11 @@ interface operations {
|
|
|
5153
5153
|
* @enum {string}
|
|
5154
5154
|
*/
|
|
5155
5155
|
format?: "csv" | "xlsx";
|
|
5156
|
-
/** @description When true, adds an ownerName column resolved from the owning workspace member. */
|
|
5157
|
-
includeRelatedEntityNames?: boolean;
|
|
5158
5156
|
};
|
|
5159
5157
|
};
|
|
5160
5158
|
};
|
|
5161
5159
|
responses: {
|
|
5162
|
-
/** @description Flat export rows. Each row contains id, name, state, createdAt, updatedAt, the requested attribute fields
|
|
5160
|
+
/** @description Flat export rows. Each row contains id, name, state, createdAt, updatedAt, and the requested attribute fields. */
|
|
5163
5161
|
201: {
|
|
5164
5162
|
headers: {
|
|
5165
5163
|
[name: string]: unknown;
|
|
@@ -6851,8 +6849,6 @@ interface ListEntitiesOptions {
|
|
|
6851
6849
|
state?: string;
|
|
6852
6850
|
/** Filter by several states (comma-separated server-side). */
|
|
6853
6851
|
states?: string[];
|
|
6854
|
-
/** Filter by owner workspace-user ID. */
|
|
6855
|
-
ownerId?: string;
|
|
6856
6852
|
/** Free-text search over entity names. */
|
|
6857
6853
|
search?: string;
|
|
6858
6854
|
sortBy?: string;
|
|
@@ -6884,7 +6880,6 @@ interface ExportEntitiesInput {
|
|
|
6884
6880
|
value: unknown;
|
|
6885
6881
|
}>;
|
|
6886
6882
|
format?: 'csv' | 'xlsx';
|
|
6887
|
-
includeRelatedEntityNames?: boolean;
|
|
6888
6883
|
}
|
|
6889
6884
|
/**
|
|
6890
6885
|
* Entities (the platform calls them Objects internally): the structured data
|
|
@@ -6991,7 +6986,6 @@ type ApprovalInboxItem = {
|
|
|
6991
6986
|
status: string;
|
|
6992
6987
|
requiredCount: number;
|
|
6993
6988
|
receivedApprovals: number;
|
|
6994
|
-
currentStageIndex?: number;
|
|
6995
6989
|
expiresAt?: string;
|
|
6996
6990
|
createdAt?: string;
|
|
6997
6991
|
updatedAt?: string;
|
|
@@ -7010,7 +7004,7 @@ type ApprovalInboxItem = {
|
|
|
7010
7004
|
comment?: string;
|
|
7011
7005
|
decidedAt?: string;
|
|
7012
7006
|
};
|
|
7013
|
-
/** People who can still decide
|
|
7007
|
+
/** People who can still decide. */
|
|
7014
7008
|
eligibleApprovers?: EligibleApprover[];
|
|
7015
7009
|
approval?: Record<string, unknown>;
|
|
7016
7010
|
};
|
|
@@ -7079,6 +7073,16 @@ declare class ProjectsResource {
|
|
|
7079
7073
|
create(data: CreateProjectInput): Promise<Project>;
|
|
7080
7074
|
}
|
|
7081
7075
|
|
|
7076
|
+
type QueueItemStatus = 'PENDING' | 'PROCESSING' | 'SUCCESS' | 'FAILED' | 'RETRYING';
|
|
7077
|
+
interface AddQueueItemErrorInput {
|
|
7078
|
+
/** Error message recorded on the item. */
|
|
7079
|
+
error: string;
|
|
7080
|
+
/**
|
|
7081
|
+
* Extra details. An object is sent as a JSON string, which is what the
|
|
7082
|
+
* server validates.
|
|
7083
|
+
*/
|
|
7084
|
+
errorDetails?: string | Record<string, unknown>;
|
|
7085
|
+
}
|
|
7082
7086
|
interface ListQueueItemsOptions {
|
|
7083
7087
|
limit?: number;
|
|
7084
7088
|
offset?: number;
|
|
@@ -7124,12 +7128,18 @@ declare class QueueItemsResource {
|
|
|
7124
7128
|
}): Promise<QueueItem[]>;
|
|
7125
7129
|
/** Returns items eligible for retry. */
|
|
7126
7130
|
listRetryable(queueId: string): Promise<QueueItem[]>;
|
|
7127
|
-
/** Returns items with the given status. */
|
|
7128
|
-
listByStatus(queueId: string, status:
|
|
7131
|
+
/** Returns a page of items with the given status. */
|
|
7132
|
+
listByStatus(queueId: string, status: QueueItemStatus, options?: {
|
|
7133
|
+
limit?: number;
|
|
7134
|
+
offset?: number;
|
|
7135
|
+
}): Promise<QueueItemList>;
|
|
7129
7136
|
/** Looks an item up by the external ID your system supplied. */
|
|
7130
7137
|
getByExternalId(queueId: string, externalId: string): Promise<QueueItemFull>;
|
|
7131
|
-
/**
|
|
7132
|
-
|
|
7138
|
+
/**
|
|
7139
|
+
* Searches items by external id, item data, and metadata.
|
|
7140
|
+
* Returns one page, same shape as `list`.
|
|
7141
|
+
*/
|
|
7142
|
+
search(queueId: string, query: string, options?: Omit<ListQueueItemsOptions, 'filterBy'>): Promise<QueueItemList>;
|
|
7133
7143
|
/** Returns per-status and per-priority counts for the queue. */
|
|
7134
7144
|
stats(queueId: string): Promise<QueueItemStats>;
|
|
7135
7145
|
/** Returns the recorded processing errors of an item. */
|
|
@@ -7141,10 +7151,7 @@ declare class QueueItemsResource {
|
|
|
7141
7151
|
/** Queues the item for another processing attempt. */
|
|
7142
7152
|
retry(queueId: string, itemId: string): Promise<QueueItem>;
|
|
7143
7153
|
/** Records a processing error on the item. */
|
|
7144
|
-
addError(queueId: string, itemId: string, error:
|
|
7145
|
-
message: string;
|
|
7146
|
-
[key: string]: unknown;
|
|
7147
|
-
}): Promise<QueueItem>;
|
|
7154
|
+
addError(queueId: string, itemId: string, error: AddQueueItemErrorInput): Promise<QueueItem>;
|
|
7148
7155
|
}
|
|
7149
7156
|
|
|
7150
7157
|
declare class QueuesResource {
|
|
@@ -7201,6 +7208,91 @@ declare class RunsResource {
|
|
|
7201
7208
|
startAndWait(input: StartRunInput, waitOptions?: WaitUntilFinishedOptions): Promise<Execution>;
|
|
7202
7209
|
}
|
|
7203
7210
|
|
|
7211
|
+
type ScorecardMeasureStatus = 'ON_TRACK' | 'AT_RISK' | 'OFF_TRACK' | 'NO_DATA';
|
|
7212
|
+
type ScorecardSummary = {
|
|
7213
|
+
id: string;
|
|
7214
|
+
name: string;
|
|
7215
|
+
periodLabel: string | null;
|
|
7216
|
+
description: string | null;
|
|
7217
|
+
FK_ownerId: string | null;
|
|
7218
|
+
createdAt: string;
|
|
7219
|
+
_count: {
|
|
7220
|
+
objectives: number;
|
|
7221
|
+
};
|
|
7222
|
+
};
|
|
7223
|
+
type ScorecardMeasure = {
|
|
7224
|
+
id: string;
|
|
7225
|
+
name: string;
|
|
7226
|
+
unit: string;
|
|
7227
|
+
currency: string | null;
|
|
7228
|
+
direction: 'HIGHER_IS_BETTER' | 'LOWER_IS_BETTER';
|
|
7229
|
+
kind: 'LEADING' | 'LAGGING';
|
|
7230
|
+
cadence: 'DAILY' | 'WEEKLY' | 'MONTHLY';
|
|
7231
|
+
sourceType: 'MANUAL' | 'API' | 'WORKFLOW' | 'BUILT_IN';
|
|
7232
|
+
builtInKey: string | null;
|
|
7233
|
+
target: number;
|
|
7234
|
+
atRiskThreshold: number | null;
|
|
7235
|
+
latest: {
|
|
7236
|
+
value: number;
|
|
7237
|
+
periodStart: string;
|
|
7238
|
+
createdAt: string;
|
|
7239
|
+
} | null;
|
|
7240
|
+
previousValue: number | null;
|
|
7241
|
+
series: {
|
|
7242
|
+
periodStart: string;
|
|
7243
|
+
value: number;
|
|
7244
|
+
}[];
|
|
7245
|
+
status: ScorecardMeasureStatus;
|
|
7246
|
+
stale: boolean;
|
|
7247
|
+
};
|
|
7248
|
+
type ScorecardObjective = {
|
|
7249
|
+
id: string;
|
|
7250
|
+
perspective: 'FINANCIAL' | 'CUSTOMER' | 'PROCESS' | 'LEARNING';
|
|
7251
|
+
name: string;
|
|
7252
|
+
description: string | null;
|
|
7253
|
+
ownerLabel: string | null;
|
|
7254
|
+
drivesIds: string[];
|
|
7255
|
+
position: number;
|
|
7256
|
+
status: ScorecardMeasureStatus;
|
|
7257
|
+
measures: ScorecardMeasure[];
|
|
7258
|
+
};
|
|
7259
|
+
type Scorecard = Omit<ScorecardSummary, '_count'> & {
|
|
7260
|
+
aiSpendUsdThisMonth: number;
|
|
7261
|
+
objectives: ScorecardObjective[];
|
|
7262
|
+
};
|
|
7263
|
+
type ScorecardMeasureValue = {
|
|
7264
|
+
id: string;
|
|
7265
|
+
FK_measureId: string;
|
|
7266
|
+
periodStart: string;
|
|
7267
|
+
value: number;
|
|
7268
|
+
note: string | null;
|
|
7269
|
+
sourceType: ScorecardMeasure['sourceType'];
|
|
7270
|
+
supersededAt: string | null;
|
|
7271
|
+
createdAt: string;
|
|
7272
|
+
};
|
|
7273
|
+
type RecordMeasureValueInput = {
|
|
7274
|
+
value: number;
|
|
7275
|
+
/** Any ISO date inside the target period; defaults to the current period. */
|
|
7276
|
+
period?: string;
|
|
7277
|
+
note?: string;
|
|
7278
|
+
};
|
|
7279
|
+
/**
|
|
7280
|
+
* Balanced Scorecard (workspace API). Pushing values needs `scorecard:record`.
|
|
7281
|
+
*/
|
|
7282
|
+
declare class ScorecardsResource {
|
|
7283
|
+
private readonly http;
|
|
7284
|
+
constructor(http: HttpClient);
|
|
7285
|
+
/** Lists scorecards in the workspace. */
|
|
7286
|
+
list(): Promise<ScorecardSummary[]>;
|
|
7287
|
+
/** Returns a scorecard with objectives, measures, latest values and status. */
|
|
7288
|
+
get(scorecardId: string): Promise<Scorecard>;
|
|
7289
|
+
/**
|
|
7290
|
+
* Records a measure value. A value for the same period replaces the current
|
|
7291
|
+
* one; the old value is kept as superseded history.
|
|
7292
|
+
*/
|
|
7293
|
+
recordValue(measureId: string, data: RecordMeasureValueInput): Promise<ScorecardMeasureValue>;
|
|
7294
|
+
}
|
|
7295
|
+
|
|
7204
7296
|
declare class TasksResource {
|
|
7205
7297
|
private readonly http;
|
|
7206
7298
|
constructor(http: HttpClient);
|
|
@@ -7220,9 +7312,7 @@ declare class TasksResource {
|
|
|
7220
7312
|
* messages in AI SDK UIMessage format. For token-by-token output use
|
|
7221
7313
|
* `client.agentChat.streamMessage` instead.
|
|
7222
7314
|
*/
|
|
7223
|
-
message(agentId: string, taskId: string, message: string | UIMessage, options?:
|
|
7224
|
-
chatMode?: ChatMode;
|
|
7225
|
-
}): Promise<string | UIMessage[]>;
|
|
7315
|
+
message(agentId: string, taskId: string, message: string | UIMessage, options?: Omit<StreamMessageOptions, 'signal'>): Promise<string | UIMessage[]>;
|
|
7226
7316
|
}
|
|
7227
7317
|
|
|
7228
7318
|
declare class VariablesResource {
|
|
@@ -7338,6 +7428,7 @@ declare class LunnoaClient {
|
|
|
7338
7428
|
readonly queues: QueuesResource;
|
|
7339
7429
|
readonly queueItems: QueueItemsResource;
|
|
7340
7430
|
readonly variables: VariablesResource;
|
|
7431
|
+
readonly scorecards: ScorecardsResource;
|
|
7341
7432
|
readonly connections: ConnectionsResource;
|
|
7342
7433
|
readonly projects: ProjectsResource;
|
|
7343
7434
|
readonly workflowApps: WorkflowAppsResource;
|
|
@@ -7486,4 +7577,4 @@ interface CreateServerClientOptions {
|
|
|
7486
7577
|
*/
|
|
7487
7578
|
declare function createServerClient(options: CreateServerClientOptions): LunnoaClient;
|
|
7488
7579
|
|
|
7489
|
-
export { API_KEY_PREFIX, type ActionDefinition, ActionsResource, type Agent, AgentChatClient, AgentChatStream, type AgentDefinition, type AgentToolDefinition, AgentsResource, type AiConnectionDefinition, type ApprovalInboxItem, ApprovalsResource, AuthResource, type AuthTokens, type BulkCreateQueueItemsInput, type BulkCreateQueueItemsResult, type ChangeEntityStateInput, type ChangeEntityStateResult, type ChatMode, type Connection, type ConnectionDefinition, ConnectionsResource, type CreateBrowserClientOptions, type CreateEntityInput, type CreateKnowledgeInput, type CreateProjectInput, type CreateQueueInput, type CreateQueueItemInput, type CreateServerClientOptions, type CreateTaskInput, type CreateVariableInput, type CurrentUser, DEFINE_KINDS, type DefineKind, type DeletedTask, DiscoveryResource, type EligibleApprover, type EnabledFeatures, EntitiesResource, type Entity, type EntityStateHistoryEntry, type EntityStateTransitions, type EntityType, type EntityTypeDefinition, type EntityTypeReadOptions, EntityTypesResource, type ExecuteWorkflowResult, type Execution, type ExecutionPathStep, type ExecutionProgress, type ExecutionProgressPayload, type ExecutionProgressStep, ExecutionProgressStream, type ExecutionStatus, type ExecutionStreamEvent, type ExecutionStreamEventType, ExecutionTimeoutError, ExecutionsResource, type ExportEntitiesInput, type FetchLike, HttpClient, type ImportEntitiesInput, type ImportEntitiesResult, type ImportTemplate, type Knowledge, type KnowledgeDocument, type KnowledgeDocumentGroup, KnowledgeResource, type ListEntitiesOptions, type ListQueryOptions, type ListQueueItemsByObjectOptions, type ListQueueItemsOptions, type LocalStorageTokenStoreOptions, type LoginRequires2FA, type LoginResult, type LoginSuccess, LunnoaApiError, LunnoaClient, type LunnoaClientOptions, type MessageTaskInput, type OffsetPagination, type PagePagination, type PaginatedEntities, type PendingInput, type PendingInputField, type Project, ProjectsResource, type QueryValue, type Queue, type QueueAllowedObjectType, type QueueItem, type QueueItemCreated, type QueueItemErrorEntry, type QueueItemFull, type QueueItemList, type QueueItemObjectSummary, type QueueItemStats, QueueItemsResource, type QueueStats, QueuesResource, type RequestOptions, type RunActionInput, type RunActionOptions, type RunActionResult, RunsResource, type SaveUploadedTextInput, type SseEvent, SsoAuthResource, type SsoProviderSummary, type SsoProvidersResponse, type StartRunInput, type StartRunInputDto, type StartRunOptions, type StartRunStep, type StopStreamOptions, type StreamMessageOptions, type Task, type TaskListItem, TasksResource, type TokenStore, type UpdateEntityInput, type UpdateKnowledgeInput, type UpdateQueueInput, type UpdateQueueItemInput, type UpdateTaskInput, type UpdateVariableInput, type UpsertAgentBySlugInput, type UpsertAgentBySlugInputDto, type UpsertAgentToolInput, type UpsertEntityTypeBySlugInput, type UpsertWorkflowBySlugInput, type UpsertWorkflowBySlugInputDto, type UpsertWorkflowStepInput, type Variable, VariablesResource, type WaitUntilFinishedOptions, type WatchProgressOptions, type Workflow, type WorkflowApp, WorkflowAppsResource, type WorkflowDefinition, type WorkflowStepDefinition, WorkflowsResource, assertApiKeyAllowedInEnvironment, type components, createBrowserClient, createLocalStorageTokenStore, createMemoryTokenStore, createServerClient, defineAction, defineAgent, defineAiConnection, defineConnection, defineEntityType, defineWorkflow, entityTypeDefinitionToUpsert, isBrowserEnvironment, isLoginRequires2FA, iterateOffset, iteratePages, type operations, parseSseEvents, parseSseStream, type paths, resolveActionAppId, resolveActionId };
|
|
7580
|
+
export { API_KEY_PREFIX, type ActionDefinition, ActionsResource, type AddQueueItemErrorInput, type Agent, AgentChatClient, AgentChatStream, type AgentDefinition, type AgentToolDefinition, AgentsResource, type AiConnectionDefinition, type ApprovalInboxItem, ApprovalsResource, AuthResource, type AuthTokens, type BulkCreateQueueItemsInput, type BulkCreateQueueItemsResult, type ChangeEntityStateInput, type ChangeEntityStateResult, type ChatMode, type Connection, type ConnectionDefinition, ConnectionsResource, type CreateBrowserClientOptions, type CreateEntityInput, type CreateKnowledgeInput, type CreateProjectInput, type CreateQueueInput, type CreateQueueItemInput, type CreateServerClientOptions, type CreateTaskInput, type CreateVariableInput, type CurrentUser, DEFINE_KINDS, type DefineKind, type DeletedTask, DiscoveryResource, type EligibleApprover, type EnabledFeatures, EntitiesResource, type Entity, type EntityStateHistoryEntry, type EntityStateTransitions, type EntityType, type EntityTypeDefinition, type EntityTypeReadOptions, EntityTypesResource, type ExecuteWorkflowResult, type Execution, type ExecutionPathStep, type ExecutionProgress, type ExecutionProgressPayload, type ExecutionProgressStep, ExecutionProgressStream, type ExecutionStatus, type ExecutionStreamEvent, type ExecutionStreamEventType, ExecutionTimeoutError, ExecutionsResource, type ExportEntitiesInput, type FetchLike, HttpClient, type ImportEntitiesInput, type ImportEntitiesResult, type ImportTemplate, type Knowledge, type KnowledgeDocument, type KnowledgeDocumentGroup, KnowledgeResource, type ListEntitiesOptions, type ListQueryOptions, type ListQueueItemsByObjectOptions, type ListQueueItemsOptions, type LocalStorageTokenStoreOptions, type LoginRequires2FA, type LoginResult, type LoginSuccess, LunnoaApiError, LunnoaClient, type LunnoaClientOptions, type MessageTaskInput, type OffsetPagination, type PagePagination, type PaginatedEntities, type PendingInput, type PendingInputField, type Project, ProjectsResource, type QueryValue, type Queue, type QueueAllowedObjectType, type QueueItem, type QueueItemCreated, type QueueItemErrorEntry, type QueueItemFull, type QueueItemList, type QueueItemObjectSummary, type QueueItemStats, type QueueItemStatus, QueueItemsResource, type QueueStats, QueuesResource, type RecordMeasureValueInput, type RequestOptions, type RunActionInput, type RunActionOptions, type RunActionResult, RunsResource, type SaveUploadedTextInput, type Scorecard, type ScorecardMeasure, type ScorecardMeasureStatus, type ScorecardMeasureValue, type ScorecardObjective, type ScorecardSummary, ScorecardsResource, type SseEvent, SsoAuthResource, type SsoProviderSummary, type SsoProvidersResponse, type StartRunInput, type StartRunInputDto, type StartRunOptions, type StartRunStep, type StopStreamOptions, type StreamMessageOptions, type Task, type TaskListItem, TasksResource, type TokenStore, type UpdateEntityInput, type UpdateKnowledgeInput, type UpdateQueueInput, type UpdateQueueItemInput, type UpdateTaskInput, type UpdateVariableInput, type UpsertAgentBySlugInput, type UpsertAgentBySlugInputDto, type UpsertAgentToolInput, type UpsertEntityTypeBySlugInput, type UpsertWorkflowBySlugInput, type UpsertWorkflowBySlugInputDto, type UpsertWorkflowStepInput, type Variable, VariablesResource, type WaitUntilFinishedOptions, type WatchProgressOptions, type Workflow, type WorkflowApp, WorkflowAppsResource, type WorkflowDefinition, type WorkflowStepDefinition, WorkflowsResource, assertApiKeyAllowedInEnvironment, type components, createBrowserClient, createLocalStorageTokenStore, createMemoryTokenStore, createServerClient, defineAction, defineAgent, defineAiConnection, defineConnection, defineEntityType, defineWorkflow, entityTypeDefinitionToUpsert, isBrowserEnvironment, isLoginRequires2FA, iterateOffset, iteratePages, type operations, parseSseEvents, parseSseStream, type paths, resolveActionAppId, resolveActionId };
|