@collective-intelligence/external-apps-client-sdk 0.4.0 → 0.4.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/dist/chat.d.ts +2 -2
- package/dist/{client-DR9lGYcy.d.ts → client-C-o7Az4B.d.ts} +1 -1
- package/dist/effect.d.ts +4 -4
- package/dist/{index-_tusNazf.d.ts → index-DaFbcQb9.d.ts} +3 -3
- package/dist/index.d.ts +4 -4
- package/dist/{proxy-BceN4mU3.d.ts → proxy-B4MA1pat.d.ts} +62 -3
- package/dist/{resources-DFkLnuj9.d.ts → resources-Dbdfbb44.d.ts} +1 -1
- package/dist/resources.d.ts +1 -1
- package/package.json +4 -4
package/dist/chat.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { x as ClientOperationMap } from "./proxy-
|
|
2
|
-
import { i as OrganizationClient } from "./client-
|
|
1
|
+
import { x as ClientOperationMap } from "./proxy-B4MA1pat.js";
|
|
2
|
+
import { i as OrganizationClient } from "./client-C-o7Az4B.js";
|
|
3
3
|
import { ChatTransport } from "@collective-intelligence/ai-core/chat";
|
|
4
4
|
/** The organization client whose chat domain the transport calls. */
|
|
5
5
|
type ChatTransportClient = Pick<OrganizationClient<ClientOperationMap>, "chat">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as OperationExecutionOptions, D as CiError, P as CiResult, S as ClientOperationOutput, V as ExternalApplicationChatOperationId, b as ClientOperationInput, i as ClientFetch, k as CiTransportError, n as ProxyTransportOptions, w as TypedOperationExecutor, x as ClientOperationMap, y as ClientOperationId } from "./proxy-
|
|
1
|
+
import { C as OperationExecutionOptions, D as CiError, P as CiResult, S as ClientOperationOutput, V as ExternalApplicationChatOperationId, b as ClientOperationInput, i as ClientFetch, k as CiTransportError, n as ProxyTransportOptions, w as TypedOperationExecutor, x as ClientOperationMap, y as ClientOperationId } from "./proxy-B4MA1pat.js";
|
|
2
2
|
import "effect/Clock";
|
|
3
3
|
import * as Config from "effect/Config";
|
|
4
4
|
import * as Context from "effect/Context";
|
package/dist/effect.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as FederatedAuthError, D as CiError, O as CiErrorCode, d as FederatedAuthValue, f as layerFederated, h as layerServerSessionConfig, i as ClientFetch, j as FederatedAuthErrorCode, k as CiTransportError, m as layerServerSession, p as layerFederatedConfig, u as FederatedAuth } from "./proxy-
|
|
2
|
-
import { A as layerProxyConfig, C as CiClient, D as layerDirectConfig, E as layerDirect, O as layerFromExecutor, S as layer, T as ExecuteResult, _ as CiStreamPage$1, b as Chat, d as RunFollowOptions, f as Runs, k as layerProxy, m as layer$5, p as RunsValue, u as DEFAULT_FOLLOW_RUN_DEADLINE_MS, w as CiClientValue, x as ChatValue } from "./client-
|
|
3
|
-
import { C as RealtimeChange, T as RealtimeTopicFilter, f as DelegatedApplicationRuntimeOptions, p as DelegatedRuntimeState, w as RealtimeTopic } from "./index-
|
|
4
|
-
import { _ as layerLegacy, a as LegacyResourceClient, c as LegacyResourcesValue, d as ResourcesFromEntityTransportOptions, f as ResourcesLayerOptions, g as layerFromEntityTransport, h as layerConfig$3, i as makeEntityHttpExecute, l as ResourceEntityClient, m as layer$4, o as LegacyResources, p as ResourcesValue, s as LegacyResourcesLayerOptions, u as Resources, v as layerLegacyConfig } from "./resources-
|
|
1
|
+
import { A as FederatedAuthError, D as CiError, O as CiErrorCode, d as FederatedAuthValue, f as layerFederated, h as layerServerSessionConfig, i as ClientFetch, j as FederatedAuthErrorCode, k as CiTransportError, m as layerServerSession, p as layerFederatedConfig, u as FederatedAuth } from "./proxy-B4MA1pat.js";
|
|
2
|
+
import { A as layerProxyConfig, C as CiClient, D as layerDirectConfig, E as layerDirect, O as layerFromExecutor, S as layer, T as ExecuteResult, _ as CiStreamPage$1, b as Chat, d as RunFollowOptions, f as Runs, k as layerProxy, m as layer$5, p as RunsValue, u as DEFAULT_FOLLOW_RUN_DEADLINE_MS, w as CiClientValue, x as ChatValue } from "./client-C-o7Az4B.js";
|
|
3
|
+
import { C as RealtimeChange, T as RealtimeTopicFilter, f as DelegatedApplicationRuntimeOptions, p as DelegatedRuntimeState, w as RealtimeTopic } from "./index-DaFbcQb9.js";
|
|
4
|
+
import { _ as layerLegacy, a as LegacyResourceClient, c as LegacyResourcesValue, d as ResourcesFromEntityTransportOptions, f as ResourcesLayerOptions, g as layerFromEntityTransport, h as layerConfig$3, i as makeEntityHttpExecute, l as ResourceEntityClient, m as layer$4, o as LegacyResources, p as ResourcesValue, s as LegacyResourcesLayerOptions, u as Resources, v as layerLegacyConfig } from "./resources-Dbdfbb44.js";
|
|
5
5
|
import * as Schema from "effect/Schema";
|
|
6
6
|
import * as Config from "effect/Config";
|
|
7
7
|
import * as Context from "effect/Context";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as ConversationHistory, D as CiError$1, F as JsonValue, G as SearchQuery, H as JsonObject, K as WorkflowInvokeTarget, M as CiError$2, R as AgentInvokeTarget, U as KnowledgeQuery, W as QueryFilter, c as FederatedSessionIdentity, i as ClientFetch, s as FederatedAuthState, v as ClientOperationDefinition, z as ConversationContinueTarget } from "./proxy-
|
|
2
|
-
import { n as ClientSdkClient } from "./client-
|
|
3
|
-
import "./resources-
|
|
1
|
+
import { B as ConversationHistory, D as CiError$1, F as JsonValue, G as SearchQuery, H as JsonObject, K as WorkflowInvokeTarget, M as CiError$2, R as AgentInvokeTarget, U as KnowledgeQuery, W as QueryFilter, c as FederatedSessionIdentity, i as ClientFetch, s as FederatedAuthState, v as ClientOperationDefinition, z as ConversationContinueTarget } from "./proxy-B4MA1pat.js";
|
|
2
|
+
import { n as ClientSdkClient } from "./client-C-o7Az4B.js";
|
|
3
|
+
import "./resources-Dbdfbb44.js";
|
|
4
4
|
import "effect/Context";
|
|
5
5
|
import "effect/Effect";
|
|
6
6
|
import "effect/Layer";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as FederatedAuthError, C as OperationExecutionOptions, E as isClientOperationId, F as JsonValue, G as SearchQuery, H as JsonObject, I as OperationRequest, K as WorkflowInvokeTarget, L as OperationSuccess, N as CiErrorCode, P as CiResult, S as ClientOperationOutput, T as clientOperationIds, U as KnowledgeQuery, W as QueryFilter, _ as createServerSessionAuth, a as FederatedAuth, b as ClientOperationInput, c as FederatedSessionIdentity, g as ServerSessionAuthOptions, i as ClientFetch, j as FederatedAuthErrorCode, k as CiTransportError, l as createFederatedAuth, n as ProxyTransportOptions, o as FederatedAuthOptions, r as createProxyTransport, s as FederatedAuthState, t as ProxyAuthentication, v as ClientOperationDefinition, w as TypedOperationExecutor, x as ClientOperationMap, y as ClientOperationId } from "./proxy-
|
|
2
|
-
import { M as createDirectTransport, _ as CiStreamPage, a as clientSdkProtocolVersion, c as FollowRunSource, g as CiStreamEvent, h as CiRunCancellation, i as OrganizationClient, j as DirectTransportOptions, l as followRun, n as ClientSdkClient, o as createClient, r as ClientSdkEntrypoint, s as FollowRunOptions, t as ClientDomains, u as DEFAULT_FOLLOW_RUN_DEADLINE_MS, v as nextStreamCursor, y as ChatClient } from "./client-
|
|
3
|
-
import { C as RealtimeChange, E as realtimeTopicKey, S as RealtimeWindow, T as RealtimeTopicFilter, _ as RealtimeStreamEnd, a as RealtimeClientStatus, b as createFetchEventSourceFactory, c as FixedWorkflowClient, d as DelegatedApplicationRuntime, f as DelegatedApplicationRuntimeOptions, g as RealtimeEventSourceFactory, h as RealtimeEventSource, i as RealtimeClientState, l as FixedWorkflowClientOptions, m as createDelegatedApplicationRuntime, n as RealtimeClient, o as RealtimeTimers, p as DelegatedRuntimeState, r as RealtimeClientOptions, s as createRealtimeClient, t as CiError, u as createFixedWorkflowClient, v as RealtimeStreamEvent, w as RealtimeTopic, x as RealtimeDocument, y as RealtimeStreamHandlers } from "./index-
|
|
4
|
-
import { $ as ResourceDefinition, A as EntityFileFieldWrite, B as EntityRequest, C as EntityBatchInput, Ct as ResourceUpdateRequest, D as EntityClient, E as EntityBatchRefusedDetails, F as EntityOperation, G as EntityUploadSlot, H as EntityTransport, I as EntityOperationResult, J as ResourceCapabilities, K as IdempotencyKey, L as EntityPage, M as EntityFileWrite, N as EntityListQuery, O as EntityCreateInput, P as EntityMemberValue, Q as ResourceCursor, R as EntityProtocol, S as createResourceClient, St as ResourceTransportRequest, T as EntityBatchRefusal, U as EntityUpdateInput, V as EntityRestoreInput, W as EntityUploadInput, X as ResourceCreateInput, Y as ResourceClient, Z as ResourceCreateRequest, _t as ResourceRequestOptions, at as ResourceIdentityField, b as isEntityBatchRefusedError, bt as ResourceSort, ct as ResourceLifecycleRequest, dt as ResourceListResult, et as ResourceError, ft as ResourceMutationInput, gt as ResourceRecordId, ht as ResourceRecord, it as ResourceId, j as EntityFileValue, k as EntityDeleteInput, lt as ResourceListQuery, mt as ResourcePaginationMode, n as EntityHttpTransportOptions, nt as ResourceFilter, ot as ResourceJsonValue, pt as ResourcePagination, q as PortableResourceSchema, r as createEntityHttpTransport, rt as ResourceGetRequest, st as ResourceLifecycleInput, t as EntityHttpDestination, tt as ResourceErrorCode, ut as ResourceListRequest, vt as ResourceResult, w as EntityBatchOp, x as isEntityReadLimitError, xt as ResourceTransport, y as createEntityProtocol, yt as ResourceRevision, z as EntityReadLimitDetails } from "./resources-
|
|
1
|
+
import { A as FederatedAuthError, C as OperationExecutionOptions, E as isClientOperationId, F as JsonValue, G as SearchQuery, H as JsonObject, I as OperationRequest, K as WorkflowInvokeTarget, L as OperationSuccess, N as CiErrorCode, P as CiResult, S as ClientOperationOutput, T as clientOperationIds, U as KnowledgeQuery, W as QueryFilter, _ as createServerSessionAuth, a as FederatedAuth, b as ClientOperationInput, c as FederatedSessionIdentity, g as ServerSessionAuthOptions, i as ClientFetch, j as FederatedAuthErrorCode, k as CiTransportError, l as createFederatedAuth, n as ProxyTransportOptions, o as FederatedAuthOptions, r as createProxyTransport, s as FederatedAuthState, t as ProxyAuthentication, v as ClientOperationDefinition, w as TypedOperationExecutor, x as ClientOperationMap, y as ClientOperationId } from "./proxy-B4MA1pat.js";
|
|
2
|
+
import { M as createDirectTransport, _ as CiStreamPage, a as clientSdkProtocolVersion, c as FollowRunSource, g as CiStreamEvent, h as CiRunCancellation, i as OrganizationClient, j as DirectTransportOptions, l as followRun, n as ClientSdkClient, o as createClient, r as ClientSdkEntrypoint, s as FollowRunOptions, t as ClientDomains, u as DEFAULT_FOLLOW_RUN_DEADLINE_MS, v as nextStreamCursor, y as ChatClient } from "./client-C-o7Az4B.js";
|
|
3
|
+
import { C as RealtimeChange, E as realtimeTopicKey, S as RealtimeWindow, T as RealtimeTopicFilter, _ as RealtimeStreamEnd, a as RealtimeClientStatus, b as createFetchEventSourceFactory, c as FixedWorkflowClient, d as DelegatedApplicationRuntime, f as DelegatedApplicationRuntimeOptions, g as RealtimeEventSourceFactory, h as RealtimeEventSource, i as RealtimeClientState, l as FixedWorkflowClientOptions, m as createDelegatedApplicationRuntime, n as RealtimeClient, o as RealtimeTimers, p as DelegatedRuntimeState, r as RealtimeClientOptions, s as createRealtimeClient, t as CiError, u as createFixedWorkflowClient, v as RealtimeStreamEvent, w as RealtimeTopic, x as RealtimeDocument, y as RealtimeStreamHandlers } from "./index-DaFbcQb9.js";
|
|
4
|
+
import { $ as ResourceDefinition, A as EntityFileFieldWrite, B as EntityRequest, C as EntityBatchInput, Ct as ResourceUpdateRequest, D as EntityClient, E as EntityBatchRefusedDetails, F as EntityOperation, G as EntityUploadSlot, H as EntityTransport, I as EntityOperationResult, J as ResourceCapabilities, K as IdempotencyKey, L as EntityPage, M as EntityFileWrite, N as EntityListQuery, O as EntityCreateInput, P as EntityMemberValue, Q as ResourceCursor, R as EntityProtocol, S as createResourceClient, St as ResourceTransportRequest, T as EntityBatchRefusal, U as EntityUpdateInput, V as EntityRestoreInput, W as EntityUploadInput, X as ResourceCreateInput, Y as ResourceClient, Z as ResourceCreateRequest, _t as ResourceRequestOptions, at as ResourceIdentityField, b as isEntityBatchRefusedError, bt as ResourceSort, ct as ResourceLifecycleRequest, dt as ResourceListResult, et as ResourceError, ft as ResourceMutationInput, gt as ResourceRecordId, ht as ResourceRecord, it as ResourceId, j as EntityFileValue, k as EntityDeleteInput, lt as ResourceListQuery, mt as ResourcePaginationMode, n as EntityHttpTransportOptions, nt as ResourceFilter, ot as ResourceJsonValue, pt as ResourcePagination, q as PortableResourceSchema, r as createEntityHttpTransport, rt as ResourceGetRequest, st as ResourceLifecycleInput, t as EntityHttpDestination, tt as ResourceErrorCode, ut as ResourceListRequest, vt as ResourceResult, w as EntityBatchOp, x as isEntityReadLimitError, xt as ResourceTransport, y as createEntityProtocol, yt as ResourceRevision, z as EntityReadLimitDetails } from "./resources-Dbdfbb44.js";
|
|
5
5
|
export { type ChatClient, CiError, type CiErrorCode, type CiResult, type CiRunCancellation, type CiStreamEvent, type CiStreamPage, CiTransportError, type ClientDomains, type ClientFetch, type ClientOperationDefinition, type ClientOperationId, type ClientOperationInput, type ClientOperationMap, type ClientOperationOutput, type ClientSdkClient, type ClientSdkEntrypoint, DEFAULT_FOLLOW_RUN_DEADLINE_MS, type DelegatedApplicationRuntime, type DelegatedApplicationRuntimeOptions, type DelegatedRuntimeState, type DirectTransportOptions, type EntityBatchInput, type EntityBatchOp, type EntityBatchRefusal, type EntityBatchRefusedDetails, type EntityClient, type EntityCreateInput, type EntityDeleteInput, type EntityFileFieldWrite, type EntityFileValue, type EntityFileWrite, type EntityHttpDestination, type EntityHttpTransportOptions, type EntityListQuery, type EntityMemberValue, type EntityOperation, type EntityOperationResult, type EntityPage, type EntityProtocol, type EntityReadLimitDetails, type EntityRequest, type EntityRestoreInput, type EntityTransport, type EntityUpdateInput, type EntityUploadInput, type EntityUploadSlot, type FederatedAuth, FederatedAuthError, type FederatedAuthErrorCode, type FederatedAuthOptions, type FederatedAuthState, type FederatedSessionIdentity, type FixedWorkflowClient, type FixedWorkflowClientOptions, type FollowRunOptions, type FollowRunSource, type IdempotencyKey, type JsonObject, type JsonValue, type KnowledgeQuery, type OperationExecutionOptions, type OperationRequest, type OperationSuccess, type OrganizationClient, type PortableResourceSchema, type ProxyAuthentication, type ProxyTransportOptions, type QueryFilter, type RealtimeChange, type RealtimeClient, type RealtimeClientOptions, type RealtimeClientState, type RealtimeClientStatus, type RealtimeDocument, type RealtimeEventSource, type RealtimeEventSourceFactory, type RealtimeStreamEnd, type RealtimeStreamEvent, type RealtimeStreamHandlers, type RealtimeTimers, type RealtimeTopic, type RealtimeTopicFilter, type RealtimeWindow, type ResourceCapabilities, type ResourceClient, type ResourceCreateInput, type ResourceCreateRequest, type ResourceCursor, type ResourceDefinition, type ResourceError, type ResourceErrorCode, type ResourceFilter, type ResourceGetRequest, type ResourceId, type ResourceIdentityField, type ResourceJsonValue, type ResourceLifecycleInput, type ResourceLifecycleRequest, type ResourceListQuery, type ResourceListRequest, type ResourceListResult, type ResourceMutationInput, type ResourcePagination, type ResourcePaginationMode, type ResourceRecord, type ResourceRecordId, type ResourceRequestOptions, type ResourceResult, type ResourceRevision, type ResourceSort, type ResourceTransport, type ResourceTransportRequest, type ResourceUpdateRequest, type SearchQuery, type ServerSessionAuthOptions, type TypedOperationExecutor, type WorkflowInvokeTarget, clientOperationIds, clientSdkProtocolVersion, createClient, createDelegatedApplicationRuntime, createDirectTransport, createEntityHttpTransport, createEntityProtocol, createFederatedAuth, createFetchEventSourceFactory, createFixedWorkflowClient, createProxyTransport, createRealtimeClient, createResourceClient, createServerSessionAuth, followRun, isClientOperationId, isEntityBatchRefusedError, isEntityReadLimitError, nextStreamCursor, realtimeTopicKey };
|
|
@@ -5,6 +5,50 @@ import * as Effect from "effect/Effect";
|
|
|
5
5
|
import * as Layer from "effect/Layer";
|
|
6
6
|
import * as Stream from "effect/Stream";
|
|
7
7
|
import "effect/ManagedRuntime";
|
|
8
|
+
type ExternalApplicationRunSource = {
|
|
9
|
+
documentId: string;
|
|
10
|
+
downloadUrl: string;
|
|
11
|
+
pages: Array<{
|
|
12
|
+
end: number;
|
|
13
|
+
start: number;
|
|
14
|
+
}>;
|
|
15
|
+
title: string;
|
|
16
|
+
versionId: string;
|
|
17
|
+
};
|
|
18
|
+
type ExternalApplicationsPutRunFeedbackData = {
|
|
19
|
+
body: {
|
|
20
|
+
sentiment: 'positive' | 'negative';
|
|
21
|
+
submitterNote?: string;
|
|
22
|
+
};
|
|
23
|
+
headers: {
|
|
24
|
+
authorization?: string;
|
|
25
|
+
'x-organization-id': string;
|
|
26
|
+
'x-correlation-id'?: string;
|
|
27
|
+
'x-external-audit-issuer'?: string;
|
|
28
|
+
'x-external-audit-subject'?: string;
|
|
29
|
+
'x-external-caller-kind'?: 'anonymous_visitor';
|
|
30
|
+
'x-external-ci-user-id'?: string;
|
|
31
|
+
};
|
|
32
|
+
path: {
|
|
33
|
+
runId: string;
|
|
34
|
+
};
|
|
35
|
+
query?: never;
|
|
36
|
+
url: '/application/v1/runs/{runId}/feedback';
|
|
37
|
+
};
|
|
38
|
+
type ExternalApplicationsPutRunFeedbackResponses = {
|
|
39
|
+
/**
|
|
40
|
+
* Success
|
|
41
|
+
*/
|
|
42
|
+
200: {
|
|
43
|
+
correlationId: string;
|
|
44
|
+
result: {
|
|
45
|
+
runId: string;
|
|
46
|
+
sentiment: 'positive' | 'negative';
|
|
47
|
+
submitterNote: string | null;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
type ExternalApplicationsPutRunFeedbackResponse = ExternalApplicationsPutRunFeedbackResponses[keyof ExternalApplicationsPutRunFeedbackResponses];
|
|
8
52
|
type ExternalAppChatConversationsListData = {
|
|
9
53
|
body?: never;
|
|
10
54
|
headers: {
|
|
@@ -2605,13 +2649,28 @@ interface DurableFileUpload {
|
|
|
2605
2649
|
fileName: string;
|
|
2606
2650
|
sizeBytes: number;
|
|
2607
2651
|
}
|
|
2608
|
-
|
|
2652
|
+
/** The rating of the answer of a run: a not useful one needs a note with text. */
|
|
2653
|
+
type ExternalApplicationRunFeedback = ExternalApplicationsPutRunFeedbackData["body"] & {
|
|
2654
|
+
runId: string;
|
|
2655
|
+
};
|
|
2656
|
+
/** Operations that only a server client invokes. */
|
|
2657
|
+
type ExternalApplicationServiceOperationRequest = {
|
|
2609
2658
|
input: DurableFileUpload;
|
|
2610
2659
|
operationId: "files_upload";
|
|
2611
|
-
}
|
|
2660
|
+
} | {
|
|
2661
|
+
input: {
|
|
2662
|
+
runId: string;
|
|
2663
|
+
};
|
|
2664
|
+
operationId: "runs_sources";
|
|
2665
|
+
} | {
|
|
2666
|
+
input: ExternalApplicationRunFeedback;
|
|
2667
|
+
operationId: "runs_feedback";
|
|
2668
|
+
};
|
|
2612
2669
|
type ExternalApplicationServiceOperationSuccess = EnvelopeSuccess<"files_upload", {
|
|
2613
2670
|
storageFileId: StorageFileId;
|
|
2614
|
-
}
|
|
2671
|
+
}> | EnvelopeSuccess<"runs_sources", {
|
|
2672
|
+
sources: ExternalApplicationRunSource[];
|
|
2673
|
+
}> | EnvelopeSuccess<"runs_feedback", ExternalApplicationsPutRunFeedbackResponse["result"]>;
|
|
2615
2674
|
/** Every operation a confidential server client may invoke. */
|
|
2616
2675
|
type ExternalApplicationServerOperationRequest = ExternalApplicationOperationRequest | ExternalApplicationServiceOperationRequest;
|
|
2617
2676
|
type ExternalApplicationOperationId = ExternalApplicationOperationRequest["operationId"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as CiError, i as ClientFetch, k as CiTransportError, t as ProxyAuthentication } from "./proxy-
|
|
1
|
+
import { D as CiError, i as ClientFetch, k as CiTransportError, t as ProxyAuthentication } from "./proxy-B4MA1pat.js";
|
|
2
2
|
import * as Config from "effect/Config";
|
|
3
3
|
import * as Context from "effect/Context";
|
|
4
4
|
import * as Effect from "effect/Effect";
|
package/dist/resources.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ResourceDefinition, A as EntityFileFieldWrite, B as EntityRequest, C as EntityBatchInput, Ct as ResourceUpdateRequest, D as EntityClient, E as EntityBatchRefusedDetails, F as EntityOperation, G as EntityUploadSlot, H as EntityTransport, I as EntityOperationResult, J as ResourceCapabilities, K as IdempotencyKey, L as EntityPage, M as EntityFileWrite, N as EntityListQuery, O as EntityCreateInput, P as EntityMemberValue, Q as ResourceCursor, R as EntityProtocol, S as createResourceClient, St as ResourceTransportRequest, T as EntityBatchRefusal, U as EntityUpdateInput, V as EntityRestoreInput, W as EntityUploadInput, X as ResourceCreateInput, Y as ResourceClient, Z as ResourceCreateRequest, _t as ResourceRequestOptions, at as ResourceIdentityField, b as isEntityBatchRefusedError, bt as ResourceSort, ct as ResourceLifecycleRequest, dt as ResourceListResult, et as ResourceError, ft as ResourceMutationInput, gt as ResourceRecordId, ht as ResourceRecord, it as ResourceId, j as EntityFileValue, k as EntityDeleteInput, lt as ResourceListQuery, mt as ResourcePaginationMode, n as EntityHttpTransportOptions, nt as ResourceFilter, ot as ResourceJsonValue, pt as ResourcePagination, q as PortableResourceSchema, r as createEntityHttpTransport, rt as ResourceGetRequest, st as ResourceLifecycleInput, t as EntityHttpDestination, tt as ResourceErrorCode, ut as ResourceListRequest, vt as ResourceResult, w as EntityBatchOp, x as isEntityReadLimitError, xt as ResourceTransport, y as createEntityProtocol, yt as ResourceRevision, z as EntityReadLimitDetails } from "./resources-
|
|
1
|
+
import { $ as ResourceDefinition, A as EntityFileFieldWrite, B as EntityRequest, C as EntityBatchInput, Ct as ResourceUpdateRequest, D as EntityClient, E as EntityBatchRefusedDetails, F as EntityOperation, G as EntityUploadSlot, H as EntityTransport, I as EntityOperationResult, J as ResourceCapabilities, K as IdempotencyKey, L as EntityPage, M as EntityFileWrite, N as EntityListQuery, O as EntityCreateInput, P as EntityMemberValue, Q as ResourceCursor, R as EntityProtocol, S as createResourceClient, St as ResourceTransportRequest, T as EntityBatchRefusal, U as EntityUpdateInput, V as EntityRestoreInput, W as EntityUploadInput, X as ResourceCreateInput, Y as ResourceClient, Z as ResourceCreateRequest, _t as ResourceRequestOptions, at as ResourceIdentityField, b as isEntityBatchRefusedError, bt as ResourceSort, ct as ResourceLifecycleRequest, dt as ResourceListResult, et as ResourceError, ft as ResourceMutationInput, gt as ResourceRecordId, ht as ResourceRecord, it as ResourceId, j as EntityFileValue, k as EntityDeleteInput, lt as ResourceListQuery, mt as ResourcePaginationMode, n as EntityHttpTransportOptions, nt as ResourceFilter, ot as ResourceJsonValue, pt as ResourcePagination, q as PortableResourceSchema, r as createEntityHttpTransport, rt as ResourceGetRequest, st as ResourceLifecycleInput, t as EntityHttpDestination, tt as ResourceErrorCode, ut as ResourceListRequest, vt as ResourceResult, w as EntityBatchOp, x as isEntityReadLimitError, xt as ResourceTransport, y as createEntityProtocol, yt as ResourceRevision, z as EntityReadLimitDetails } from "./resources-Dbdfbb44.js";
|
|
2
2
|
export { type EntityBatchInput, type EntityBatchOp, type EntityBatchRefusal, type EntityBatchRefusedDetails, type EntityClient, type EntityCreateInput, type EntityDeleteInput, type EntityFileFieldWrite, type EntityFileValue, type EntityFileWrite, type EntityHttpDestination, type EntityHttpTransportOptions, type EntityListQuery, type EntityMemberValue, type EntityOperation, type EntityOperationResult, type EntityPage, type EntityProtocol, type EntityReadLimitDetails, type EntityRequest, type EntityRestoreInput, type EntityTransport, type EntityUpdateInput, type EntityUploadInput, type EntityUploadSlot, type IdempotencyKey, type PortableResourceSchema, type ResourceCapabilities, type ResourceClient, type ResourceCreateInput, type ResourceCreateRequest, type ResourceCursor, type ResourceDefinition, type ResourceError, type ResourceErrorCode, type ResourceFilter, type ResourceGetRequest, type ResourceId, type ResourceIdentityField, type ResourceJsonValue, type ResourceLifecycleInput, type ResourceLifecycleRequest, type ResourceListQuery, type ResourceListRequest, type ResourceListResult, type ResourceMutationInput, type ResourcePagination, type ResourcePaginationMode, type ResourceRecord, type ResourceRecordId, type ResourceRequestOptions, type ResourceResult, type ResourceRevision, type ResourceSort, type ResourceTransport, type ResourceTransportRequest, type ResourceUpdateRequest, createEntityHttpTransport, createEntityProtocol, createResourceClient, isEntityBatchRefusedError, isEntityReadLimitError };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collective-intelligence/external-apps-client-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Framework-neutral client for Collective Intelligence external applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"ajv-formats": "3.0.1"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@collective-intelligence/ai-core": "0.4.
|
|
65
|
+
"@collective-intelligence/ai-core": "0.4.1",
|
|
66
66
|
"effect": "^4.1.0"
|
|
67
67
|
},
|
|
68
68
|
"peerDependenciesMeta": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@collective-intelligence/ai-core": "0.4.
|
|
74
|
+
"@collective-intelligence/ai-core": "0.4.1",
|
|
75
75
|
"@effect/eslint-plugin": "0.3.2",
|
|
76
76
|
"@effect/vitest": "4.1.4",
|
|
77
77
|
"@oxlint/plugins": "1.94.0",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"ultracite": "7.10.7",
|
|
89
89
|
"vitest": "5.0.2"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "1aea8fbbdc15de6ed86458def4327d8b799d0473"
|
|
92
92
|
}
|