@proteos/sdk 0.84.0 → 0.86.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/dist/{chunk-Z773P4RO.cjs → chunk-4BBHU3XA.cjs} +36 -86
- package/dist/chunk-4BBHU3XA.cjs.map +1 -0
- package/dist/{chunk-C5642XOH.js → chunk-KX4VIMIJ.js} +36 -86
- package/dist/chunk-KX4VIMIJ.js.map +1 -0
- package/dist/index.cjs +264 -175
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +142 -26
- package/dist/index.d.ts +142 -26
- package/dist/index.js +142 -53
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +96 -96
- package/dist/meta/index.js +1 -1
- package/package.json +3 -3
- package/src/agent/mcp-servers.ts +0 -1
- package/src/agent/prompts.ts +0 -1
- package/src/agent/skills.ts +4 -2
- package/src/agent/tools.ts +0 -1
- package/src/auth/shares.ts +7 -2
- package/src/auth/types.ts +12 -0
- package/src/connector/index.ts +26 -7
- package/src/conversation/index.ts +8 -3
- package/src/conversation/types.ts +15 -0
- package/src/discovery/index.ts +35 -3
- package/src/discovery/types.ts +84 -2
- package/src/events/index.ts +8 -6
- package/src/index.ts +10 -0
- package/src/knowledge/index.ts +3 -5
- package/src/meta/index.ts +7 -7
- package/src/meta/layout/control-registry.json +24 -82
- package/src/meta/list-extensions.ts +1 -3
- package/src/meta/page-extensions.ts +2 -4
- package/src/meta/types.ts +10 -2
- package/src/scheduling/index.ts +105 -24
- package/src/storage/files.ts +1 -4
- package/src/workflow/types.ts +2 -2
- package/dist/chunk-C5642XOH.js.map +0 -1
- package/dist/chunk-Z773P4RO.cjs.map +0 -1
package/src/connector/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ProteosClient } from '../client.js'
|
|
2
2
|
import type {
|
|
3
|
+
ConnectionTokenResponse,
|
|
3
4
|
Connector,
|
|
4
5
|
ConnectorConnection,
|
|
5
6
|
ConnectorMethod,
|
|
6
|
-
ConnectionTokenResponse,
|
|
7
7
|
CreateConnectorConnectionRequest,
|
|
8
8
|
InstallConnectorConnectionResponse,
|
|
9
9
|
InvokeMethodResponse,
|
|
@@ -54,7 +54,10 @@ class ConnectorCatalogServiceImpl implements ConnectorCatalogService {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
get(key: string): Promise<Connector> {
|
|
57
|
-
return this.client.request(
|
|
57
|
+
return this.client.request(
|
|
58
|
+
'GET',
|
|
59
|
+
`${CONNECTOR_BASE_PATH}/connectors/${encodeURIComponent(key)}`,
|
|
60
|
+
)
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
async listMethods(key: string): Promise<ConnectorMethod[]> {
|
|
@@ -86,7 +89,10 @@ class ConnectorConnectionServiceImpl implements ConnectorConnectionService {
|
|
|
86
89
|
}
|
|
87
90
|
|
|
88
91
|
get(id: string): Promise<ConnectorConnection> {
|
|
89
|
-
return this.client.request(
|
|
92
|
+
return this.client.request(
|
|
93
|
+
'GET',
|
|
94
|
+
`${CONNECTOR_BASE_PATH}/connections/${encodeURIComponent(id)}`,
|
|
95
|
+
)
|
|
90
96
|
}
|
|
91
97
|
|
|
92
98
|
create(request: CreateConnectorConnectionRequest): Promise<ConnectorConnection> {
|
|
@@ -94,19 +100,32 @@ class ConnectorConnectionServiceImpl implements ConnectorConnectionService {
|
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
update(id: string, request: UpdateConnectorConnectionRequest): Promise<ConnectorConnection> {
|
|
97
|
-
return this.client.request(
|
|
103
|
+
return this.client.request(
|
|
104
|
+
'PATCH',
|
|
105
|
+
`${CONNECTOR_BASE_PATH}/connections/${encodeURIComponent(id)}`,
|
|
106
|
+
request,
|
|
107
|
+
)
|
|
98
108
|
}
|
|
99
109
|
|
|
100
110
|
async delete(id: string): Promise<void> {
|
|
101
|
-
await this.client.request(
|
|
111
|
+
await this.client.request(
|
|
112
|
+
'DELETE',
|
|
113
|
+
`${CONNECTOR_BASE_PATH}/connections/${encodeURIComponent(id)}`,
|
|
114
|
+
)
|
|
102
115
|
}
|
|
103
116
|
|
|
104
117
|
install(id: string): Promise<InstallConnectorConnectionResponse> {
|
|
105
|
-
return this.client.request(
|
|
118
|
+
return this.client.request(
|
|
119
|
+
'POST',
|
|
120
|
+
`${CONNECTOR_BASE_PATH}/connections/${encodeURIComponent(id)}/install`,
|
|
121
|
+
)
|
|
106
122
|
}
|
|
107
123
|
|
|
108
124
|
token(id: string): Promise<ConnectionTokenResponse> {
|
|
109
|
-
return this.client.request(
|
|
125
|
+
return this.client.request(
|
|
126
|
+
'POST',
|
|
127
|
+
`${CONNECTOR_BASE_PATH}/connections/${encodeURIComponent(id)}/token`,
|
|
128
|
+
)
|
|
110
129
|
}
|
|
111
130
|
|
|
112
131
|
async invokeMethod<T = unknown>(id: string, method: string, params: unknown = {}): Promise<T> {
|
|
@@ -124,6 +124,7 @@ import type {
|
|
|
124
124
|
ToneProfileSetup,
|
|
125
125
|
Transcription,
|
|
126
126
|
UnreadCounts,
|
|
127
|
+
UnreadCountsQuery,
|
|
127
128
|
UpdateAgentListenerRequest,
|
|
128
129
|
UpdateConnectionRequest,
|
|
129
130
|
UpdateContactGroupRequest,
|
|
@@ -785,7 +786,7 @@ export interface ConversationService {
|
|
|
785
786
|
/** Remove the marker — the conversation reads as unread again. */
|
|
786
787
|
markUnread(id: string): Promise<void>
|
|
787
788
|
/** Unread-conversation counts for the requesting user (envelope + badges). */
|
|
788
|
-
unreadCounts(): Promise<UnreadCounts>
|
|
789
|
+
unreadCounts(query?: UnreadCountsQuery): Promise<UnreadCounts>
|
|
789
790
|
}
|
|
790
791
|
|
|
791
792
|
class ConversationServiceImpl implements ConversationService {
|
|
@@ -853,8 +854,12 @@ class ConversationServiceImpl implements ConversationService {
|
|
|
853
854
|
)
|
|
854
855
|
}
|
|
855
856
|
|
|
856
|
-
unreadCounts(): Promise<UnreadCounts> {
|
|
857
|
-
return this.client.
|
|
857
|
+
unreadCounts(query?: UnreadCountsQuery): Promise<UnreadCounts> {
|
|
858
|
+
return this.client.requestWithQuery(
|
|
859
|
+
'GET',
|
|
860
|
+
`${CONVERSATION_BASE_PATH}/conversations/unread-counts`,
|
|
861
|
+
query,
|
|
862
|
+
)
|
|
858
863
|
}
|
|
859
864
|
}
|
|
860
865
|
|
|
@@ -2217,6 +2217,21 @@ export interface ListConversationsQuery extends PaginationQuery {
|
|
|
2217
2217
|
tag_key?: string
|
|
2218
2218
|
/** With `tag_key`: only conversations whose tag has this value. */
|
|
2219
2219
|
tag_value?: string
|
|
2220
|
+
/**
|
|
2221
|
+
* The hub's Mine / All axis. `own`: threads on the caller's own
|
|
2222
|
+
* connections and the org-wide ones (on a shared sending connection only
|
|
2223
|
+
* threads the caller is in), plus connection-less threads they created.
|
|
2224
|
+
* `all` (the default when omitted): everything the caller may read.
|
|
2225
|
+
*/
|
|
2226
|
+
conversation_scope?: ConversationScope
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
/** `?conversation_scope=` values — see ListConversationsQuery. */
|
|
2230
|
+
export type ConversationScope = 'own' | 'all'
|
|
2231
|
+
|
|
2232
|
+
/** Unread counts follow the same Mine / All axis as the list. */
|
|
2233
|
+
export interface UnreadCountsQuery {
|
|
2234
|
+
conversation_scope?: ConversationScope
|
|
2220
2235
|
}
|
|
2221
2236
|
|
|
2222
2237
|
/**
|
package/src/discovery/index.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { ProteosClient } from '../client.js'
|
|
2
2
|
import type {
|
|
3
|
+
CreateDiscoveryEvidenceNarrationRequest,
|
|
3
4
|
CreateDiscoveryEvidenceRequest,
|
|
4
5
|
DiscoveryEvidence,
|
|
5
6
|
DiscoveryEvidenceDownloadUrl,
|
|
7
|
+
DiscoveryEvidenceNarration,
|
|
6
8
|
DiscoveryEvidenceOrgSummary,
|
|
7
9
|
ListDiscoveryEvidenceQuery,
|
|
8
10
|
ListPlatformDiscoveryEvidenceQuery,
|
|
@@ -22,22 +24,25 @@ const encode = encodeURIComponent
|
|
|
22
24
|
* screen recordings with ink-annotated frames, written feedback).
|
|
23
25
|
*
|
|
24
26
|
* `evidence` acts in the caller's org — own rows under a scoped grant, every
|
|
25
|
-
* row under the unscoped read. `
|
|
26
|
-
*
|
|
27
|
+
* row under the unscoped read. `narrations` are the jobs that draft feedback
|
|
28
|
+
* from what was said in a recording. `platform` is the Proteos-side view
|
|
29
|
+
* across every org; it answers only to platform admins.
|
|
27
30
|
*
|
|
28
31
|
* ```ts
|
|
29
32
|
* const discovery = new DiscoveryClient(client)
|
|
30
|
-
* const sent = await discovery.evidence.create({ kind: 'feedback',
|
|
33
|
+
* const sent = await discovery.evidence.create({ kind: 'feedback', source: 'web', notes, context })
|
|
31
34
|
* const { data: mine } = await discovery.evidence.list()
|
|
32
35
|
* const { url } = await discovery.evidence.createDownloadUrl(sent.id, fileId)
|
|
33
36
|
* ```
|
|
34
37
|
*/
|
|
35
38
|
export class DiscoveryClient {
|
|
36
39
|
readonly evidence: DiscoveryEvidenceService
|
|
40
|
+
readonly narrations: DiscoveryEvidenceNarrationService
|
|
37
41
|
readonly platform: PlatformDiscoveryEvidenceService
|
|
38
42
|
|
|
39
43
|
constructor(client: ProteosClient) {
|
|
40
44
|
this.evidence = new DiscoveryEvidenceServiceImpl(client)
|
|
45
|
+
this.narrations = new DiscoveryEvidenceNarrationServiceImpl(client)
|
|
41
46
|
this.platform = new PlatformDiscoveryEvidenceServiceImpl(client)
|
|
42
47
|
}
|
|
43
48
|
}
|
|
@@ -55,6 +60,17 @@ export interface DiscoveryEvidenceService {
|
|
|
55
60
|
createDownloadUrl(id: string, fileId: string): Promise<DiscoveryEvidenceDownloadUrl>
|
|
56
61
|
}
|
|
57
62
|
|
|
63
|
+
/**
|
|
64
|
+
* Narration jobs of the capture UI: started when a recording with sound stops,
|
|
65
|
+
* polled until `completed` or `failed`, named on the create request.
|
|
66
|
+
*/
|
|
67
|
+
export interface DiscoveryEvidenceNarrationService {
|
|
68
|
+
create(request: CreateDiscoveryEvidenceNarrationRequest): Promise<DiscoveryEvidenceNarration>
|
|
69
|
+
get(id: string): Promise<DiscoveryEvidenceNarration>
|
|
70
|
+
/** Discards a job that was not sent with evidence, along with its audio file. */
|
|
71
|
+
delete(id: string): Promise<void>
|
|
72
|
+
}
|
|
73
|
+
|
|
58
74
|
/** The Proteos-side view across orgs. Platform admins only. */
|
|
59
75
|
export interface PlatformDiscoveryEvidenceService {
|
|
60
76
|
list(query?: ListPlatformDiscoveryEvidenceQuery): Promise<ListResponse<DiscoveryEvidence>>
|
|
@@ -99,6 +115,22 @@ class DiscoveryEvidenceServiceImpl implements DiscoveryEvidenceService {
|
|
|
99
115
|
}
|
|
100
116
|
}
|
|
101
117
|
|
|
118
|
+
class DiscoveryEvidenceNarrationServiceImpl implements DiscoveryEvidenceNarrationService {
|
|
119
|
+
constructor(private readonly client: ProteosClient) {}
|
|
120
|
+
|
|
121
|
+
create(request: CreateDiscoveryEvidenceNarrationRequest): Promise<DiscoveryEvidenceNarration> {
|
|
122
|
+
return this.client.request('POST', `${DISCOVERY_BASE_PATH}/evidence-narrations`, request)
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
get(id: string): Promise<DiscoveryEvidenceNarration> {
|
|
126
|
+
return this.client.request('GET', `${DISCOVERY_BASE_PATH}/evidence-narrations/${encode(id)}`)
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
async delete(id: string): Promise<void> {
|
|
130
|
+
await this.client.request('DELETE', `${DISCOVERY_BASE_PATH}/evidence-narrations/${encode(id)}`)
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
102
134
|
class PlatformDiscoveryEvidenceServiceImpl implements PlatformDiscoveryEvidenceService {
|
|
103
135
|
constructor(private readonly client: ProteosClient) {}
|
|
104
136
|
|
package/src/discovery/types.ts
CHANGED
|
@@ -11,6 +11,20 @@ export type DiscoveryEvidenceKind = 'screenshot' | 'recording' | 'feedback'
|
|
|
11
11
|
export type DiscoveryEvidenceCategory = 'bug' | 'idea' | 'question' | 'praise' | 'other'
|
|
12
12
|
export type DiscoveryEvidenceStatus = 'new' | 'reviewed' | 'archived'
|
|
13
13
|
export type DiscoveryEvidenceSource = 'web' | 'extension'
|
|
14
|
+
/**
|
|
15
|
+
* The background call that writes the title and category the sender no longer
|
|
16
|
+
* types: `pending` until it ran, then `completed` or `failed` (the fallbacks
|
|
17
|
+
* stay).
|
|
18
|
+
*/
|
|
19
|
+
export type DiscoveryEvidenceEnrichmentStatus = 'pending' | 'completed' | 'failed'
|
|
20
|
+
/**
|
|
21
|
+
* Who wrote a field: `''` when it is empty or was never set, `generated` for a
|
|
22
|
+
* title or category the model wrote, `narration` for notes and frame comments
|
|
23
|
+
* drafted from what the sender said, `user` for anything a person typed or
|
|
24
|
+
* edited. A `user` value is never overwritten by a model.
|
|
25
|
+
*/
|
|
26
|
+
export type DiscoveryEvidenceFieldSource = '' | 'generated' | 'narration' | 'user'
|
|
27
|
+
export type DiscoveryEvidenceNarrationStatus = 'transcribing' | 'drafting' | 'completed' | 'failed'
|
|
14
28
|
|
|
15
29
|
/** What the client knew when it captured: where the user was and on what. */
|
|
16
30
|
export interface DiscoveryEvidenceContext {
|
|
@@ -64,6 +78,7 @@ export interface DiscoveryEvidenceFrame {
|
|
|
64
78
|
/** The composite with the ink burned in; empty when the client did not render one. */
|
|
65
79
|
annotated_image_file_id: string
|
|
66
80
|
comment: string
|
|
81
|
+
comment_source: DiscoveryEvidenceFieldSource
|
|
67
82
|
strokes: InkStroke[]
|
|
68
83
|
}
|
|
69
84
|
|
|
@@ -74,6 +89,12 @@ export interface DiscoveryEvidence {
|
|
|
74
89
|
category: DiscoveryEvidenceCategory
|
|
75
90
|
title: string
|
|
76
91
|
notes: string
|
|
92
|
+
enrichment_status: DiscoveryEvidenceEnrichmentStatus
|
|
93
|
+
title_source: DiscoveryEvidenceFieldSource
|
|
94
|
+
category_source: DiscoveryEvidenceFieldSource
|
|
95
|
+
notes_source: DiscoveryEvidenceFieldSource
|
|
96
|
+
/** The transcription of the narration; empty unless a recording with audio was transcribed. */
|
|
97
|
+
transcription_id: string
|
|
77
98
|
status: DiscoveryEvidenceStatus
|
|
78
99
|
source: DiscoveryEvidenceSource
|
|
79
100
|
context: DiscoveryEvidenceContext
|
|
@@ -116,6 +137,14 @@ export interface CreateDiscoveryEvidenceFrameRequest {
|
|
|
116
137
|
image_file_id: string
|
|
117
138
|
annotated_image_file_id?: string
|
|
118
139
|
comment?: string
|
|
140
|
+
/** `narration` when the comment is a draft the sender left as drafted. */
|
|
141
|
+
comment_source?: 'narration' | 'user'
|
|
142
|
+
/**
|
|
143
|
+
* The key this frame had in the narration job the evidence is sent with.
|
|
144
|
+
* A draft that lands after sending goes to the frame with its key; a frame
|
|
145
|
+
* without one gets none.
|
|
146
|
+
*/
|
|
147
|
+
narration_key?: string
|
|
119
148
|
strokes: CreateDiscoveryEvidenceStrokeRequest[]
|
|
120
149
|
}
|
|
121
150
|
|
|
@@ -125,12 +154,22 @@ export interface CreateDiscoveryEvidenceFrameRequest {
|
|
|
125
154
|
* Shape rules per kind: a screenshot has exactly one frame at 0 and no
|
|
126
155
|
* recording; a recording has a recording file and frames within its duration;
|
|
127
156
|
* feedback has neither and non-blank notes.
|
|
157
|
+
*
|
|
158
|
+
* The sender types only the notes: leave `category` and `title` out and a
|
|
159
|
+
* model call writes both after the create. A value that is sent is kept.
|
|
128
160
|
*/
|
|
129
161
|
export interface CreateDiscoveryEvidenceRequest {
|
|
130
162
|
kind: DiscoveryEvidenceKind
|
|
131
|
-
category
|
|
163
|
+
category?: DiscoveryEvidenceCategory
|
|
132
164
|
title?: string
|
|
133
165
|
notes?: string
|
|
166
|
+
/** `narration` when the notes are a draft the sender left as drafted. */
|
|
167
|
+
notes_source?: 'narration' | 'user'
|
|
168
|
+
/**
|
|
169
|
+
* The narration job of a recording. Drafts that are not ready at send time
|
|
170
|
+
* are added to the notes and frame comments that are still empty.
|
|
171
|
+
*/
|
|
172
|
+
narration_id?: string
|
|
134
173
|
source: DiscoveryEvidenceSource
|
|
135
174
|
context: DiscoveryEvidenceContext
|
|
136
175
|
recording_file_id?: string
|
|
@@ -147,8 +186,12 @@ export interface UpdateDiscoveryEvidenceFrameRequest {
|
|
|
147
186
|
comment: string
|
|
148
187
|
}
|
|
149
188
|
|
|
150
|
-
/**
|
|
189
|
+
/**
|
|
190
|
+
* The submitter's partial edit: the words, never the capture. Every field sent
|
|
191
|
+
* is marked as written by a person and is never replaced by a model afterwards.
|
|
192
|
+
*/
|
|
151
193
|
export interface UpdateDiscoveryEvidenceRequest {
|
|
194
|
+
/** 1 to 120 characters. */
|
|
152
195
|
title?: string
|
|
153
196
|
notes?: string
|
|
154
197
|
category?: DiscoveryEvidenceCategory
|
|
@@ -161,6 +204,45 @@ export interface UpdateDiscoveryEvidenceStatusRequest {
|
|
|
161
204
|
status: DiscoveryEvidenceStatus
|
|
162
205
|
}
|
|
163
206
|
|
|
207
|
+
/** A frame as the client knows it when the recording stops. */
|
|
208
|
+
export interface CreateDiscoveryEvidenceNarrationFrameRequest {
|
|
209
|
+
/** The client's own key; the drafts come back by it. */
|
|
210
|
+
key: string
|
|
211
|
+
at_ms: number
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Starts a narration job from the audio-only file uploaded when the recording
|
|
216
|
+
* stopped: it is transcribed, then one model call drafts the feedback text and
|
|
217
|
+
* a comment per frame.
|
|
218
|
+
*/
|
|
219
|
+
export interface CreateDiscoveryEvidenceNarrationRequest {
|
|
220
|
+
audio_file_id: string
|
|
221
|
+
frames: CreateDiscoveryEvidenceNarrationFrameRequest[]
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/** The draft for one frame, with the stretch of narration it was taken from. */
|
|
225
|
+
export interface DiscoveryEvidenceNarrationFrameComment {
|
|
226
|
+
key: string
|
|
227
|
+
/** Empty when nothing was said about the frame. */
|
|
228
|
+
comment: string
|
|
229
|
+
from_ms: number
|
|
230
|
+
to_ms: number
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/** A narration job. Only the person who started it can read it. */
|
|
234
|
+
export interface DiscoveryEvidenceNarration {
|
|
235
|
+
id: string
|
|
236
|
+
org_id: string
|
|
237
|
+
status: DiscoveryEvidenceNarrationStatus
|
|
238
|
+
/** The draft for the feedback text; empty until completed, or when nothing was said. */
|
|
239
|
+
summary: string
|
|
240
|
+
frame_comments: DiscoveryEvidenceNarrationFrameComment[]
|
|
241
|
+
created_at: string
|
|
242
|
+
created_by: UserRef
|
|
243
|
+
updated_at: string
|
|
244
|
+
}
|
|
245
|
+
|
|
164
246
|
export interface ListDiscoveryEvidenceQuery {
|
|
165
247
|
kind?: DiscoveryEvidenceKind
|
|
166
248
|
category?: DiscoveryEvidenceCategory
|
package/src/events/index.ts
CHANGED
|
@@ -68,15 +68,17 @@ class TopicServiceImpl implements TopicService {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
async events(topic: string, options: ListEventsOptions = {}): Promise<PlatformEvent[]> {
|
|
71
|
-
const response = await this.client.requestWithQuery<
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
)
|
|
71
|
+
const response = await this.client.requestWithQuery<
|
|
72
|
+
{ data: PlatformEvent[] },
|
|
73
|
+
ListEventsOptions
|
|
74
|
+
>('GET', `${EVENTS_BASE_PATH}/topics/${encodeURIComponent(topic)}/events`, options)
|
|
76
75
|
return response.data ?? []
|
|
77
76
|
}
|
|
78
77
|
|
|
79
|
-
async *tail(
|
|
78
|
+
async *tail(
|
|
79
|
+
topic: string,
|
|
80
|
+
options: TailOptions = {},
|
|
81
|
+
): AsyncGenerator<PlatformEvent, void, unknown> {
|
|
80
82
|
const path = `${EVENTS_BASE_PATH}/topics/${encodeURIComponent(topic)}/events?follow=true`
|
|
81
83
|
let body: ReadableStream<Uint8Array> | null
|
|
82
84
|
try {
|
package/src/index.ts
CHANGED
|
@@ -339,6 +339,7 @@ export type {
|
|
|
339
339
|
ConversationPhase,
|
|
340
340
|
ConversationPhaseProgress,
|
|
341
341
|
ConversationPhaseStatus,
|
|
342
|
+
ConversationScope,
|
|
342
343
|
ConversationService,
|
|
343
344
|
ConversationStatus,
|
|
344
345
|
ConversationSummaryStatus,
|
|
@@ -521,6 +522,7 @@ export type {
|
|
|
521
522
|
TwilioPhoneSettings,
|
|
522
523
|
TwilioPhoneVoicemailSettings,
|
|
523
524
|
UnreadCounts,
|
|
525
|
+
UnreadCountsQuery,
|
|
524
526
|
UpdateAgentListenerRequest,
|
|
525
527
|
UpdateConnectionRequest,
|
|
526
528
|
UpdateContactGroupRequest,
|
|
@@ -613,15 +615,23 @@ export {
|
|
|
613
615
|
export type {
|
|
614
616
|
CreateDiscoveryEvidenceFrameRequest,
|
|
615
617
|
CreateDiscoveryEvidenceLinkRequest,
|
|
618
|
+
CreateDiscoveryEvidenceNarrationFrameRequest,
|
|
619
|
+
CreateDiscoveryEvidenceNarrationRequest,
|
|
616
620
|
CreateDiscoveryEvidenceRequest,
|
|
617
621
|
CreateDiscoveryEvidenceStrokeRequest,
|
|
618
622
|
DiscoveryEvidence,
|
|
619
623
|
DiscoveryEvidenceCategory,
|
|
620
624
|
DiscoveryEvidenceContext,
|
|
621
625
|
DiscoveryEvidenceDownloadUrl,
|
|
626
|
+
DiscoveryEvidenceEnrichmentStatus,
|
|
627
|
+
DiscoveryEvidenceFieldSource,
|
|
622
628
|
DiscoveryEvidenceFrame,
|
|
623
629
|
DiscoveryEvidenceKind,
|
|
624
630
|
DiscoveryEvidenceLink,
|
|
631
|
+
DiscoveryEvidenceNarration,
|
|
632
|
+
DiscoveryEvidenceNarrationFrameComment,
|
|
633
|
+
DiscoveryEvidenceNarrationService,
|
|
634
|
+
DiscoveryEvidenceNarrationStatus,
|
|
625
635
|
DiscoveryEvidenceOrgSummary,
|
|
626
636
|
DiscoveryEvidenceService,
|
|
627
637
|
DiscoveryEvidenceSource,
|
package/src/knowledge/index.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { type GraphService, GraphServiceImpl } from './graph.js'
|
|
|
3
3
|
import { type LabelService, LabelServiceImpl } from './labels.js'
|
|
4
4
|
import { type LinkService, LinkServiceImpl } from './links.js'
|
|
5
5
|
import { type NodeService, NodeServiceImpl } from './nodes.js'
|
|
6
|
-
import { type SpaceService, SpaceServiceImpl } from './spaces.js'
|
|
7
6
|
import { type RecordLinkService, RecordLinkServiceImpl } from './record-links.js'
|
|
7
|
+
import { type SpaceService, SpaceServiceImpl } from './spaces.js'
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Facade for the knowledge-service (graph-native knowledge base: nodes, typed
|
|
@@ -47,8 +47,8 @@ export type { GraphService } from './graph.js'
|
|
|
47
47
|
export type { LabelService } from './labels.js'
|
|
48
48
|
export type { LinkService } from './links.js'
|
|
49
49
|
export type { NodeService } from './nodes.js'
|
|
50
|
-
export type { SpaceService } from './spaces.js'
|
|
51
50
|
export type { RecordLinkService } from './record-links.js'
|
|
51
|
+
export type { SpaceService } from './spaces.js'
|
|
52
52
|
|
|
53
53
|
// Re-export types
|
|
54
54
|
export type {
|
|
@@ -102,10 +102,7 @@ export type {
|
|
|
102
102
|
UpdateSpaceRequest,
|
|
103
103
|
WriteContentResponse,
|
|
104
104
|
} from './types.js'
|
|
105
|
-
|
|
106
105
|
// Re-export the reserved space-filter sentinel (a value, not a type).
|
|
107
|
-
export { UNASSIGNED_SPACE_SLUG } from './types.js'
|
|
108
|
-
|
|
109
106
|
// Re-export Zod schemas
|
|
110
107
|
export {
|
|
111
108
|
KnowledgeLabelSchema,
|
|
@@ -116,4 +113,5 @@ export {
|
|
|
116
113
|
KnowledgeNodeSearchResultSchema,
|
|
117
114
|
KnowledgeRecordLinkSchema,
|
|
118
115
|
NodeNeighborhoodSchema,
|
|
116
|
+
UNASSIGNED_SPACE_SLUG,
|
|
119
117
|
} from './types.js'
|
package/src/meta/index.ts
CHANGED
|
@@ -276,11 +276,8 @@ export type {
|
|
|
276
276
|
// PageExtension types
|
|
277
277
|
PageExtension,
|
|
278
278
|
PageExtensionPlacement,
|
|
279
|
-
PageType,
|
|
280
|
-
RecordPageBinding,
|
|
281
279
|
PageMode,
|
|
282
|
-
|
|
283
|
-
TriggerPhase,
|
|
280
|
+
PageType,
|
|
284
281
|
// User attribute meta
|
|
285
282
|
PrincipalAttributeMeta,
|
|
286
283
|
PrincipalRef,
|
|
@@ -288,12 +285,15 @@ export type {
|
|
|
288
285
|
PublicAccessOperation,
|
|
289
286
|
PublicPageComponent,
|
|
290
287
|
PublicPageResponse,
|
|
288
|
+
RecordPageBinding,
|
|
291
289
|
// Relation attribute meta
|
|
292
290
|
RelationAttributeMeta,
|
|
293
291
|
SortConfig,
|
|
294
292
|
SortDirection,
|
|
295
293
|
StringAttributeMeta,
|
|
296
294
|
StringFormat,
|
|
295
|
+
TriggerPageBinding,
|
|
296
|
+
TriggerPhase,
|
|
297
297
|
UpdateAppConfigurationRequest,
|
|
298
298
|
UpdateAppRequest,
|
|
299
299
|
UpdateComponentRequest,
|
|
@@ -317,8 +317,6 @@ export type {
|
|
|
317
317
|
export {
|
|
318
318
|
AppConfigurationSchema,
|
|
319
319
|
AppHomeSchema,
|
|
320
|
-
RecordPageBindingSchema,
|
|
321
|
-
TriggerPageBindingSchema,
|
|
322
320
|
AppSchema,
|
|
323
321
|
AttributeSchema,
|
|
324
322
|
acceptsCurrentUserDefault,
|
|
@@ -353,9 +351,9 @@ export {
|
|
|
353
351
|
MenuItemType,
|
|
354
352
|
ModuleSchema,
|
|
355
353
|
OnDeleteActionSchema,
|
|
354
|
+
PAGE_ACTION_MATCH_MAX_LIMIT,
|
|
356
355
|
PAGE_EXTENSION_ANCHOR_MAIN,
|
|
357
356
|
PAGE_EXTENSION_ANCHOR_SIDE_PANEL,
|
|
358
|
-
PAGE_ACTION_MATCH_MAX_LIMIT,
|
|
359
357
|
PageActionMatchSchema,
|
|
360
358
|
PageActionSchema,
|
|
361
359
|
PageExtensionPlacementSchema,
|
|
@@ -369,8 +367,10 @@ export {
|
|
|
369
367
|
parseRelationMeta,
|
|
370
368
|
parseUserMeta,
|
|
371
369
|
platformAttributes,
|
|
370
|
+
RecordPageBindingSchema,
|
|
372
371
|
RelationAttributeMetaSchema,
|
|
373
372
|
SortConfigSchema,
|
|
373
|
+
TriggerPageBindingSchema,
|
|
374
374
|
UserAttributeMetaSchema,
|
|
375
375
|
VariableSchema,
|
|
376
376
|
} from './types.js'
|