@amigo-ai/platform-sdk 0.5.7 → 0.5.8
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/types/generated/api.d.ts +6 -0
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +126 -22
- package/dist/types/resources/actions.d.ts.map +1 -1
- package/dist/types/resources/agents.d.ts +102 -16
- package/dist/types/resources/agents.d.ts.map +1 -1
- package/dist/types/resources/analytics.d.ts +74 -22
- package/dist/types/resources/analytics.d.ts.map +1 -1
- package/dist/types/resources/api-keys.d.ts +16 -3
- package/dist/types/resources/api-keys.d.ts.map +1 -1
- package/dist/types/resources/audit.d.ts +87 -31
- package/dist/types/resources/audit.d.ts.map +1 -1
- package/dist/types/resources/billing.d.ts +42 -9
- package/dist/types/resources/billing.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +169 -65
- package/dist/types/resources/calls.d.ts.map +1 -1
- package/dist/types/resources/compliance.d.ts +6 -6
- package/dist/types/resources/context-graphs.d.ts +974 -17
- package/dist/types/resources/context-graphs.d.ts.map +1 -1
- package/dist/types/resources/data-sources.d.ts +50 -13
- package/dist/types/resources/data-sources.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts +49 -22
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +379 -49
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/memory.d.ts +48 -4
- package/dist/types/resources/memory.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts +189 -64
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/personas.d.ts +20 -7
- package/dist/types/resources/personas.d.ts.map +1 -1
- package/dist/types/resources/phone-numbers.d.ts +46 -8
- package/dist/types/resources/phone-numbers.d.ts.map +1 -1
- package/dist/types/resources/recordings.d.ts +4 -4
- package/dist/types/resources/review-queue.d.ts +350 -49
- package/dist/types/resources/review-queue.d.ts.map +1 -1
- package/dist/types/resources/safety.d.ts +32 -6
- package/dist/types/resources/safety.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +242 -47
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +404 -36
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/simulations.d.ts +148 -20
- package/dist/types/resources/simulations.d.ts.map +1 -1
- package/dist/types/resources/skills.d.ts +117 -21
- package/dist/types/resources/skills.d.ts.map +1 -1
- package/dist/types/resources/triggers.d.ts +92 -64
- package/dist/types/resources/triggers.d.ts.map +1 -1
- package/dist/types/resources/webhook-destinations.d.ts +44 -20
- package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
- package/dist/types/resources/workspaces.d.ts +26 -4
- package/dist/types/resources/workspaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts +322 -121
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -14,21 +14,83 @@ export interface ListIntegrationsParams extends ListParams {
|
|
|
14
14
|
export declare class IntegrationsResource extends WorkspaceScopedResource {
|
|
15
15
|
/** Create a new integration */
|
|
16
16
|
create(body: components['schemas']['CreateIntegrationRequest']): Promise<{
|
|
17
|
-
auth?:
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
auth?: {
|
|
18
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
19
|
+
assertion_audience?: string | null | undefined;
|
|
20
|
+
assertion_issuer?: string | null | undefined;
|
|
21
|
+
assertion_kid?: string | null | undefined;
|
|
22
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
23
|
+
assertion_subject?: string | null | undefined;
|
|
24
|
+
client_id?: string | null | undefined;
|
|
25
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
26
|
+
gcp_scopes?: string[] | null | undefined;
|
|
27
|
+
header_name?: string | null | undefined;
|
|
28
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
29
|
+
scopes?: string[] | null | undefined;
|
|
30
|
+
ssm_param_path?: string | null | undefined;
|
|
31
|
+
token_lifetime_seconds?: number | undefined;
|
|
32
|
+
token_ssm_param_path?: string | null | undefined;
|
|
33
|
+
token_url?: string | null | undefined;
|
|
34
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
35
|
+
} | null | undefined;
|
|
36
|
+
base_url?: string | undefined;
|
|
37
|
+
builtin?: boolean | undefined;
|
|
20
38
|
created_at: string;
|
|
21
39
|
display_name: string;
|
|
22
40
|
enabled: boolean;
|
|
23
|
-
endpoints?:
|
|
41
|
+
endpoints?: {
|
|
42
|
+
auth?: {
|
|
43
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
44
|
+
assertion_audience?: string | null | undefined;
|
|
45
|
+
assertion_issuer?: string | null | undefined;
|
|
46
|
+
assertion_kid?: string | null | undefined;
|
|
47
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
48
|
+
assertion_subject?: string | null | undefined;
|
|
49
|
+
client_id?: string | null | undefined;
|
|
50
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
51
|
+
gcp_scopes?: string[] | null | undefined;
|
|
52
|
+
header_name?: string | null | undefined;
|
|
53
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
54
|
+
scopes?: string[] | null | undefined;
|
|
55
|
+
ssm_param_path?: string | null | undefined;
|
|
56
|
+
token_lifetime_seconds?: number | undefined;
|
|
57
|
+
token_ssm_param_path?: string | null | undefined;
|
|
58
|
+
token_url?: string | null | undefined;
|
|
59
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
60
|
+
} | null | undefined;
|
|
61
|
+
base_url?: string | null | undefined;
|
|
62
|
+
body_format?: "json" | "form" | undefined;
|
|
63
|
+
description: string;
|
|
64
|
+
headers?: {
|
|
65
|
+
[x: string]: string;
|
|
66
|
+
} | undefined;
|
|
67
|
+
input_schema?: {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
} | undefined;
|
|
70
|
+
max_result_length?: number | undefined;
|
|
71
|
+
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
72
|
+
name: string;
|
|
73
|
+
path: string;
|
|
74
|
+
response_filter?: string[] | null | undefined;
|
|
75
|
+
response_mapping?: {
|
|
76
|
+
[x: string]: string;
|
|
77
|
+
} | null | undefined;
|
|
78
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
79
|
+
result_key?: string | null | undefined;
|
|
80
|
+
result_template?: string | null | undefined;
|
|
81
|
+
retry_config?: {
|
|
82
|
+
max_retries?: number | undefined;
|
|
83
|
+
retry_on_status?: number[] | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
}[] | undefined;
|
|
24
86
|
id: string;
|
|
25
|
-
mcp_args?: string[] | null;
|
|
26
|
-
mcp_command?: string | null;
|
|
87
|
+
mcp_args?: string[] | null | undefined;
|
|
88
|
+
mcp_command?: string | null | undefined;
|
|
27
89
|
mcp_headers?: {
|
|
28
|
-
[
|
|
29
|
-
} | null;
|
|
30
|
-
mcp_transport?: ("stdio" | "sse" | "http") | null;
|
|
31
|
-
mcp_url?: string | null;
|
|
90
|
+
[x: string]: string;
|
|
91
|
+
} | null | undefined;
|
|
92
|
+
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
93
|
+
mcp_url?: string | null | undefined;
|
|
32
94
|
name: string;
|
|
33
95
|
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
34
96
|
updated_at: string;
|
|
@@ -36,27 +98,171 @@ export declare class IntegrationsResource extends WorkspaceScopedResource {
|
|
|
36
98
|
} & import("../index.js").ResponseMetadata>;
|
|
37
99
|
/** List integrations */
|
|
38
100
|
list(params?: ListIntegrationsParams): Promise<{
|
|
39
|
-
continuation_token?: number | null;
|
|
101
|
+
continuation_token?: number | null | undefined;
|
|
40
102
|
has_more: boolean;
|
|
41
|
-
items:
|
|
42
|
-
|
|
103
|
+
items: {
|
|
104
|
+
auth?: {
|
|
105
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
106
|
+
assertion_audience?: string | null | undefined;
|
|
107
|
+
assertion_issuer?: string | null | undefined;
|
|
108
|
+
assertion_kid?: string | null | undefined;
|
|
109
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
110
|
+
assertion_subject?: string | null | undefined;
|
|
111
|
+
client_id?: string | null | undefined;
|
|
112
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
113
|
+
gcp_scopes?: string[] | null | undefined;
|
|
114
|
+
header_name?: string | null | undefined;
|
|
115
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
116
|
+
scopes?: string[] | null | undefined;
|
|
117
|
+
ssm_param_path?: string | null | undefined;
|
|
118
|
+
token_lifetime_seconds?: number | undefined;
|
|
119
|
+
token_ssm_param_path?: string | null | undefined;
|
|
120
|
+
token_url?: string | null | undefined;
|
|
121
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
122
|
+
} | null | undefined;
|
|
123
|
+
base_url?: string | undefined;
|
|
124
|
+
builtin?: boolean | undefined;
|
|
125
|
+
created_at: string;
|
|
126
|
+
display_name: string;
|
|
127
|
+
enabled: boolean;
|
|
128
|
+
endpoints?: {
|
|
129
|
+
auth?: {
|
|
130
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
131
|
+
assertion_audience?: string | null | undefined;
|
|
132
|
+
assertion_issuer?: string | null | undefined;
|
|
133
|
+
assertion_kid?: string | null | undefined;
|
|
134
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
135
|
+
assertion_subject?: string | null | undefined;
|
|
136
|
+
client_id?: string | null | undefined;
|
|
137
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
138
|
+
gcp_scopes?: string[] | null | undefined;
|
|
139
|
+
header_name?: string | null | undefined;
|
|
140
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
141
|
+
scopes?: string[] | null | undefined;
|
|
142
|
+
ssm_param_path?: string | null | undefined;
|
|
143
|
+
token_lifetime_seconds?: number | undefined;
|
|
144
|
+
token_ssm_param_path?: string | null | undefined;
|
|
145
|
+
token_url?: string | null | undefined;
|
|
146
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
147
|
+
} | null | undefined;
|
|
148
|
+
base_url?: string | null | undefined;
|
|
149
|
+
body_format?: "json" | "form" | undefined;
|
|
150
|
+
description: string;
|
|
151
|
+
headers?: {
|
|
152
|
+
[x: string]: string;
|
|
153
|
+
} | undefined;
|
|
154
|
+
input_schema?: {
|
|
155
|
+
[x: string]: unknown;
|
|
156
|
+
} | undefined;
|
|
157
|
+
max_result_length?: number | undefined;
|
|
158
|
+
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
159
|
+
name: string;
|
|
160
|
+
path: string;
|
|
161
|
+
response_filter?: string[] | null | undefined;
|
|
162
|
+
response_mapping?: {
|
|
163
|
+
[x: string]: string;
|
|
164
|
+
} | null | undefined;
|
|
165
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
166
|
+
result_key?: string | null | undefined;
|
|
167
|
+
result_template?: string | null | undefined;
|
|
168
|
+
retry_config?: {
|
|
169
|
+
max_retries?: number | undefined;
|
|
170
|
+
retry_on_status?: number[] | undefined;
|
|
171
|
+
} | undefined;
|
|
172
|
+
}[] | undefined;
|
|
173
|
+
id: string;
|
|
174
|
+
mcp_args?: string[] | null | undefined;
|
|
175
|
+
mcp_command?: string | null | undefined;
|
|
176
|
+
mcp_headers?: {
|
|
177
|
+
[x: string]: string;
|
|
178
|
+
} | null | undefined;
|
|
179
|
+
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
180
|
+
mcp_url?: string | null | undefined;
|
|
181
|
+
name: string;
|
|
182
|
+
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
183
|
+
updated_at: string;
|
|
184
|
+
workspace_id: string;
|
|
185
|
+
}[];
|
|
186
|
+
total?: number | null | undefined;
|
|
43
187
|
} & import("../index.js").ResponseMetadata>;
|
|
44
188
|
listAutoPaging(params?: ListIntegrationsParams): AsyncGenerator<{
|
|
45
|
-
auth?:
|
|
46
|
-
|
|
47
|
-
|
|
189
|
+
auth?: {
|
|
190
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
191
|
+
assertion_audience?: string | null | undefined;
|
|
192
|
+
assertion_issuer?: string | null | undefined;
|
|
193
|
+
assertion_kid?: string | null | undefined;
|
|
194
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
195
|
+
assertion_subject?: string | null | undefined;
|
|
196
|
+
client_id?: string | null | undefined;
|
|
197
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
198
|
+
gcp_scopes?: string[] | null | undefined;
|
|
199
|
+
header_name?: string | null | undefined;
|
|
200
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
201
|
+
scopes?: string[] | null | undefined;
|
|
202
|
+
ssm_param_path?: string | null | undefined;
|
|
203
|
+
token_lifetime_seconds?: number | undefined;
|
|
204
|
+
token_ssm_param_path?: string | null | undefined;
|
|
205
|
+
token_url?: string | null | undefined;
|
|
206
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
207
|
+
} | null | undefined;
|
|
208
|
+
base_url?: string | undefined;
|
|
209
|
+
builtin?: boolean | undefined;
|
|
48
210
|
created_at: string;
|
|
49
211
|
display_name: string;
|
|
50
212
|
enabled: boolean;
|
|
51
|
-
endpoints?:
|
|
213
|
+
endpoints?: {
|
|
214
|
+
auth?: {
|
|
215
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
216
|
+
assertion_audience?: string | null | undefined;
|
|
217
|
+
assertion_issuer?: string | null | undefined;
|
|
218
|
+
assertion_kid?: string | null | undefined;
|
|
219
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
220
|
+
assertion_subject?: string | null | undefined;
|
|
221
|
+
client_id?: string | null | undefined;
|
|
222
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
223
|
+
gcp_scopes?: string[] | null | undefined;
|
|
224
|
+
header_name?: string | null | undefined;
|
|
225
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
226
|
+
scopes?: string[] | null | undefined;
|
|
227
|
+
ssm_param_path?: string | null | undefined;
|
|
228
|
+
token_lifetime_seconds?: number | undefined;
|
|
229
|
+
token_ssm_param_path?: string | null | undefined;
|
|
230
|
+
token_url?: string | null | undefined;
|
|
231
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
232
|
+
} | null | undefined;
|
|
233
|
+
base_url?: string | null | undefined;
|
|
234
|
+
body_format?: "json" | "form" | undefined;
|
|
235
|
+
description: string;
|
|
236
|
+
headers?: {
|
|
237
|
+
[x: string]: string;
|
|
238
|
+
} | undefined;
|
|
239
|
+
input_schema?: {
|
|
240
|
+
[x: string]: unknown;
|
|
241
|
+
} | undefined;
|
|
242
|
+
max_result_length?: number | undefined;
|
|
243
|
+
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
244
|
+
name: string;
|
|
245
|
+
path: string;
|
|
246
|
+
response_filter?: string[] | null | undefined;
|
|
247
|
+
response_mapping?: {
|
|
248
|
+
[x: string]: string;
|
|
249
|
+
} | null | undefined;
|
|
250
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
251
|
+
result_key?: string | null | undefined;
|
|
252
|
+
result_template?: string | null | undefined;
|
|
253
|
+
retry_config?: {
|
|
254
|
+
max_retries?: number | undefined;
|
|
255
|
+
retry_on_status?: number[] | undefined;
|
|
256
|
+
} | undefined;
|
|
257
|
+
}[] | undefined;
|
|
52
258
|
id: string;
|
|
53
|
-
mcp_args?: string[] | null;
|
|
54
|
-
mcp_command?: string | null;
|
|
259
|
+
mcp_args?: string[] | null | undefined;
|
|
260
|
+
mcp_command?: string | null | undefined;
|
|
55
261
|
mcp_headers?: {
|
|
56
|
-
[
|
|
57
|
-
} | null;
|
|
58
|
-
mcp_transport?: ("stdio" | "sse" | "http") | null;
|
|
59
|
-
mcp_url?: string | null;
|
|
262
|
+
[x: string]: string;
|
|
263
|
+
} | null | undefined;
|
|
264
|
+
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
265
|
+
mcp_url?: string | null | undefined;
|
|
60
266
|
name: string;
|
|
61
267
|
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
62
268
|
updated_at: string;
|
|
@@ -64,21 +270,83 @@ export declare class IntegrationsResource extends WorkspaceScopedResource {
|
|
|
64
270
|
}, any, any>;
|
|
65
271
|
/** Get a single integration */
|
|
66
272
|
get(integrationId: IntegrationId | string): Promise<{
|
|
67
|
-
auth?:
|
|
68
|
-
|
|
69
|
-
|
|
273
|
+
auth?: {
|
|
274
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
275
|
+
assertion_audience?: string | null | undefined;
|
|
276
|
+
assertion_issuer?: string | null | undefined;
|
|
277
|
+
assertion_kid?: string | null | undefined;
|
|
278
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
279
|
+
assertion_subject?: string | null | undefined;
|
|
280
|
+
client_id?: string | null | undefined;
|
|
281
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
282
|
+
gcp_scopes?: string[] | null | undefined;
|
|
283
|
+
header_name?: string | null | undefined;
|
|
284
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
285
|
+
scopes?: string[] | null | undefined;
|
|
286
|
+
ssm_param_path?: string | null | undefined;
|
|
287
|
+
token_lifetime_seconds?: number | undefined;
|
|
288
|
+
token_ssm_param_path?: string | null | undefined;
|
|
289
|
+
token_url?: string | null | undefined;
|
|
290
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
291
|
+
} | null | undefined;
|
|
292
|
+
base_url?: string | undefined;
|
|
293
|
+
builtin?: boolean | undefined;
|
|
70
294
|
created_at: string;
|
|
71
295
|
display_name: string;
|
|
72
296
|
enabled: boolean;
|
|
73
|
-
endpoints?:
|
|
297
|
+
endpoints?: {
|
|
298
|
+
auth?: {
|
|
299
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
300
|
+
assertion_audience?: string | null | undefined;
|
|
301
|
+
assertion_issuer?: string | null | undefined;
|
|
302
|
+
assertion_kid?: string | null | undefined;
|
|
303
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
304
|
+
assertion_subject?: string | null | undefined;
|
|
305
|
+
client_id?: string | null | undefined;
|
|
306
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
307
|
+
gcp_scopes?: string[] | null | undefined;
|
|
308
|
+
header_name?: string | null | undefined;
|
|
309
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
310
|
+
scopes?: string[] | null | undefined;
|
|
311
|
+
ssm_param_path?: string | null | undefined;
|
|
312
|
+
token_lifetime_seconds?: number | undefined;
|
|
313
|
+
token_ssm_param_path?: string | null | undefined;
|
|
314
|
+
token_url?: string | null | undefined;
|
|
315
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
316
|
+
} | null | undefined;
|
|
317
|
+
base_url?: string | null | undefined;
|
|
318
|
+
body_format?: "json" | "form" | undefined;
|
|
319
|
+
description: string;
|
|
320
|
+
headers?: {
|
|
321
|
+
[x: string]: string;
|
|
322
|
+
} | undefined;
|
|
323
|
+
input_schema?: {
|
|
324
|
+
[x: string]: unknown;
|
|
325
|
+
} | undefined;
|
|
326
|
+
max_result_length?: number | undefined;
|
|
327
|
+
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
328
|
+
name: string;
|
|
329
|
+
path: string;
|
|
330
|
+
response_filter?: string[] | null | undefined;
|
|
331
|
+
response_mapping?: {
|
|
332
|
+
[x: string]: string;
|
|
333
|
+
} | null | undefined;
|
|
334
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
335
|
+
result_key?: string | null | undefined;
|
|
336
|
+
result_template?: string | null | undefined;
|
|
337
|
+
retry_config?: {
|
|
338
|
+
max_retries?: number | undefined;
|
|
339
|
+
retry_on_status?: number[] | undefined;
|
|
340
|
+
} | undefined;
|
|
341
|
+
}[] | undefined;
|
|
74
342
|
id: string;
|
|
75
|
-
mcp_args?: string[] | null;
|
|
76
|
-
mcp_command?: string | null;
|
|
343
|
+
mcp_args?: string[] | null | undefined;
|
|
344
|
+
mcp_command?: string | null | undefined;
|
|
77
345
|
mcp_headers?: {
|
|
78
|
-
[
|
|
79
|
-
} | null;
|
|
80
|
-
mcp_transport?: ("stdio" | "sse" | "http") | null;
|
|
81
|
-
mcp_url?: string | null;
|
|
346
|
+
[x: string]: string;
|
|
347
|
+
} | null | undefined;
|
|
348
|
+
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
349
|
+
mcp_url?: string | null | undefined;
|
|
82
350
|
name: string;
|
|
83
351
|
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
84
352
|
updated_at: string;
|
|
@@ -86,21 +354,83 @@ export declare class IntegrationsResource extends WorkspaceScopedResource {
|
|
|
86
354
|
} & import("../index.js").ResponseMetadata>;
|
|
87
355
|
/** Update integration configuration */
|
|
88
356
|
update(integrationId: IntegrationId | string, body: components['schemas']['UpdateIntegrationRequest']): Promise<{
|
|
89
|
-
auth?:
|
|
90
|
-
|
|
91
|
-
|
|
357
|
+
auth?: {
|
|
358
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
359
|
+
assertion_audience?: string | null | undefined;
|
|
360
|
+
assertion_issuer?: string | null | undefined;
|
|
361
|
+
assertion_kid?: string | null | undefined;
|
|
362
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
363
|
+
assertion_subject?: string | null | undefined;
|
|
364
|
+
client_id?: string | null | undefined;
|
|
365
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
366
|
+
gcp_scopes?: string[] | null | undefined;
|
|
367
|
+
header_name?: string | null | undefined;
|
|
368
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
369
|
+
scopes?: string[] | null | undefined;
|
|
370
|
+
ssm_param_path?: string | null | undefined;
|
|
371
|
+
token_lifetime_seconds?: number | undefined;
|
|
372
|
+
token_ssm_param_path?: string | null | undefined;
|
|
373
|
+
token_url?: string | null | undefined;
|
|
374
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
375
|
+
} | null | undefined;
|
|
376
|
+
base_url?: string | undefined;
|
|
377
|
+
builtin?: boolean | undefined;
|
|
92
378
|
created_at: string;
|
|
93
379
|
display_name: string;
|
|
94
380
|
enabled: boolean;
|
|
95
|
-
endpoints?:
|
|
381
|
+
endpoints?: {
|
|
382
|
+
auth?: {
|
|
383
|
+
assertion_algorithm?: ("RS384" | "ES384") | null | undefined;
|
|
384
|
+
assertion_audience?: string | null | undefined;
|
|
385
|
+
assertion_issuer?: string | null | undefined;
|
|
386
|
+
assertion_kid?: string | null | undefined;
|
|
387
|
+
assertion_scopes_in_jwt?: boolean | undefined;
|
|
388
|
+
assertion_subject?: string | null | undefined;
|
|
389
|
+
client_id?: string | null | undefined;
|
|
390
|
+
client_secret_ssm_param_path?: string | null | undefined;
|
|
391
|
+
gcp_scopes?: string[] | null | undefined;
|
|
392
|
+
header_name?: string | null | undefined;
|
|
393
|
+
private_key_ssm_param_path?: string | null | undefined;
|
|
394
|
+
scopes?: string[] | null | undefined;
|
|
395
|
+
ssm_param_path?: string | null | undefined;
|
|
396
|
+
token_lifetime_seconds?: number | undefined;
|
|
397
|
+
token_ssm_param_path?: string | null | undefined;
|
|
398
|
+
token_url?: string | null | undefined;
|
|
399
|
+
type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services";
|
|
400
|
+
} | null | undefined;
|
|
401
|
+
base_url?: string | null | undefined;
|
|
402
|
+
body_format?: "json" | "form" | undefined;
|
|
403
|
+
description: string;
|
|
404
|
+
headers?: {
|
|
405
|
+
[x: string]: string;
|
|
406
|
+
} | undefined;
|
|
407
|
+
input_schema?: {
|
|
408
|
+
[x: string]: unknown;
|
|
409
|
+
} | undefined;
|
|
410
|
+
max_result_length?: number | undefined;
|
|
411
|
+
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
412
|
+
name: string;
|
|
413
|
+
path: string;
|
|
414
|
+
response_filter?: string[] | null | undefined;
|
|
415
|
+
response_mapping?: {
|
|
416
|
+
[x: string]: string;
|
|
417
|
+
} | null | undefined;
|
|
418
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
419
|
+
result_key?: string | null | undefined;
|
|
420
|
+
result_template?: string | null | undefined;
|
|
421
|
+
retry_config?: {
|
|
422
|
+
max_retries?: number | undefined;
|
|
423
|
+
retry_on_status?: number[] | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
}[] | undefined;
|
|
96
426
|
id: string;
|
|
97
|
-
mcp_args?: string[] | null;
|
|
98
|
-
mcp_command?: string | null;
|
|
427
|
+
mcp_args?: string[] | null | undefined;
|
|
428
|
+
mcp_command?: string | null | undefined;
|
|
99
429
|
mcp_headers?: {
|
|
100
|
-
[
|
|
101
|
-
} | null;
|
|
102
|
-
mcp_transport?: ("stdio" | "sse" | "http") | null;
|
|
103
|
-
mcp_url?: string | null;
|
|
430
|
+
[x: string]: string;
|
|
431
|
+
} | null | undefined;
|
|
432
|
+
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
433
|
+
mcp_url?: string | null | undefined;
|
|
104
434
|
name: string;
|
|
105
435
|
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
106
436
|
updated_at: string;
|
|
@@ -115,16 +445,16 @@ export declare class IntegrationsResource extends WorkspaceScopedResource {
|
|
|
115
445
|
testEndpoint(integrationId: IntegrationId | string, endpointName: string, body: components['schemas']['TestEndpointRequest']): Promise<{
|
|
116
446
|
after_filter?: unknown;
|
|
117
447
|
after_mapping?: unknown;
|
|
118
|
-
duration_ms?: number;
|
|
119
|
-
error?: string | null;
|
|
120
|
-
final_result?: string | null;
|
|
448
|
+
duration_ms?: number | undefined;
|
|
449
|
+
error?: string | null | undefined;
|
|
450
|
+
final_result?: string | null | undefined;
|
|
121
451
|
raw_response?: unknown;
|
|
122
|
-
retries?: number;
|
|
123
|
-
status_code?: number | null;
|
|
452
|
+
retries?: number | undefined;
|
|
453
|
+
status_code?: number | null | undefined;
|
|
124
454
|
} & import("../index.js").ResponseMetadata>;
|
|
125
455
|
/** Check health of all integrations in the workspace */
|
|
126
456
|
getHealthCheck(): Promise<{
|
|
127
|
-
[
|
|
457
|
+
[x: string]: unknown;
|
|
128
458
|
} & import("../index.js").ResponseMetadata>;
|
|
129
459
|
}
|
|
130
460
|
//# sourceMappingURL=integrations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../../src/resources/integrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;GAGG;AACH,qBAAa,oBAAqB,SAAQ,uBAAuB;IAC/D,+BAA+B;IACzB,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAAC
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../../src/resources/integrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;GAGG;AACH,qBAAa,oBAAqB,SAAQ,uBAAuB;IAC/D,+BAA+B;IACzB,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASpE,wBAAwB;IAClB,IAAI,CAAC,MAAM,CAAC,EAAE,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQ1C,cAAc,CAAC,MAAM,CAAC,EAAE,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAI9C,+BAA+B;IACzB,GAAG,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQ/C,uCAAuC;IACjC,MAAM,CACV,aAAa,EAAE,aAAa,GAAG,MAAM,EACrC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUzD,4BAA4B;IACtB,MAAM,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMlE;;;OAGG;IACG,YAAY,CAChB,aAAa,EAAE,aAAa,GAAG,MAAM,EACrC,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,qBAAqB,CAAC;;;;;;;;;;IAmBpD,wDAAwD;IAClD,cAAc;;;CAOrB"}
|
|
@@ -13,7 +13,16 @@ export declare class MemoryResource extends WorkspaceScopedResource {
|
|
|
13
13
|
* Scores reflect how complete and confident each dimension's facts are.
|
|
14
14
|
*/
|
|
15
15
|
getEntityDimensions(entityId: EntityId | string): Promise<{
|
|
16
|
-
dimensions:
|
|
16
|
+
dimensions: {
|
|
17
|
+
avg_confidence: number;
|
|
18
|
+
description: string | null;
|
|
19
|
+
dimension: string;
|
|
20
|
+
fact_count: number;
|
|
21
|
+
latest_fact_at: string | null;
|
|
22
|
+
name: string;
|
|
23
|
+
source_count: number;
|
|
24
|
+
weight: number;
|
|
25
|
+
}[];
|
|
17
26
|
entity_id: string;
|
|
18
27
|
total_facts: number;
|
|
19
28
|
} & import("../index.js").ResponseMetadata>;
|
|
@@ -26,7 +35,17 @@ export declare class MemoryResource extends WorkspaceScopedResource {
|
|
|
26
35
|
}): Promise<{
|
|
27
36
|
dimension: string | null;
|
|
28
37
|
entity_id: string;
|
|
29
|
-
facts:
|
|
38
|
+
facts: {
|
|
39
|
+
confidence: number;
|
|
40
|
+
data?: {
|
|
41
|
+
[x: string]: unknown;
|
|
42
|
+
} | null | undefined;
|
|
43
|
+
dimension: string;
|
|
44
|
+
event_type: string;
|
|
45
|
+
extracted_text: string | null;
|
|
46
|
+
ingested_at: string | null;
|
|
47
|
+
source: string | null;
|
|
48
|
+
}[];
|
|
30
49
|
total: number;
|
|
31
50
|
} & import("../index.js").ResponseMetadata>;
|
|
32
51
|
/**
|
|
@@ -38,12 +57,37 @@ export declare class MemoryResource extends WorkspaceScopedResource {
|
|
|
38
57
|
builtin_dimensions: number;
|
|
39
58
|
coverage_rate: number;
|
|
40
59
|
custom_dimensions: number;
|
|
41
|
-
dimensions:
|
|
60
|
+
dimensions: {
|
|
61
|
+
active: boolean;
|
|
62
|
+
avg_confidence: number;
|
|
63
|
+
avg_facts_per_entity: number;
|
|
64
|
+
builtin: boolean;
|
|
65
|
+
description: string | null;
|
|
66
|
+
dimension: string;
|
|
67
|
+
entity_count: number;
|
|
68
|
+
extraction_mode: string;
|
|
69
|
+
latest_fact_at: string | null;
|
|
70
|
+
name: string;
|
|
71
|
+
sample_facts?: {
|
|
72
|
+
confidence: number;
|
|
73
|
+
entity_id: string;
|
|
74
|
+
extracted_text: string;
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
source_breakdown: {
|
|
77
|
+
[x: string]: number;
|
|
78
|
+
};
|
|
79
|
+
total_facts: number;
|
|
80
|
+
weight: number;
|
|
81
|
+
}[];
|
|
42
82
|
facts_last_24h: number;
|
|
43
83
|
facts_last_30d: number;
|
|
44
84
|
facts_last_7d: number;
|
|
45
85
|
llm_dimensions: number;
|
|
46
|
-
top_sources:
|
|
86
|
+
top_sources: {
|
|
87
|
+
entity_count: number;
|
|
88
|
+
fact_count: number;
|
|
89
|
+
source: string;
|
|
90
|
+
}[];
|
|
47
91
|
total_entities_in_workspace: number;
|
|
48
92
|
total_entities_with_memory: number;
|
|
49
93
|
total_facts: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/resources/memory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE;;;;;;GAMG;AACH,qBAAa,cAAe,SAAQ,uBAAuB;IACzD;;;OAGG;IACG,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/resources/memory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE;;;;;;GAMG;AACH,qBAAa,cAAe,SAAQ,uBAAuB;IACzD;;;OAGG;IACG,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM;;;;;;;;;;;;;;IAQrD;;OAEG;IACG,cAAc,CAClB,QAAQ,EAAE,QAAQ,GAAG,MAAM,EAC3B,MAAM,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;IAYjD;;;OAGG;IACG,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOnB"}
|