@amigo-ai/platform-sdk 0.5.3 → 0.5.5
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 +14655 -13144
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +166 -166
- package/dist/types/resources/agents.d.ts +88 -88
- package/dist/types/resources/analytics.d.ts +39 -39
- package/dist/types/resources/api-keys.d.ts +29 -29
- package/dist/types/resources/audit.d.ts +73 -73
- package/dist/types/resources/billing.d.ts +36 -36
- package/dist/types/resources/calls.d.ts +106 -106
- package/dist/types/resources/compliance.d.ts +17 -17
- package/dist/types/resources/context-graphs.d.ts +633 -633
- package/dist/types/resources/data-sources.d.ts +81 -81
- package/dist/types/resources/functions.d.ts +22 -22
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +257 -257
- package/dist/types/resources/memory.d.ts +35 -35
- package/dist/types/resources/operators.d.ts +147 -147
- package/dist/types/resources/personas.d.ts +37 -37
- package/dist/types/resources/phone-numbers.d.ts +62 -62
- package/dist/types/resources/recordings.d.ts +9 -9
- package/dist/types/resources/review-queue.d.ts +331 -331
- package/dist/types/resources/safety.d.ts +33 -33
- package/dist/types/resources/services.d.ts +142 -142
- package/dist/types/resources/settings.d.ts +254 -254
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/simulations.d.ts +73 -73
- package/dist/types/resources/skills.d.ts +163 -163
- package/dist/types/resources/triggers.d.ts +74 -74
- package/dist/types/resources/webhook-destinations.d.ts +57 -57
- package/dist/types/resources/workspaces.d.ts +50 -50
- package/dist/types/resources/world.d.ts +216 -216
- package/package.json +1 -1
|
@@ -14,427 +14,427 @@ 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
|
-
id: string;
|
|
18
|
-
workspace_id: string;
|
|
19
|
-
name: string;
|
|
20
|
-
display_name: string;
|
|
21
|
-
protocol: "rest" | "fhir" | "mcp";
|
|
22
|
-
base_url?: string | undefined;
|
|
23
17
|
auth?: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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;
|
|
29
24
|
client_id?: string | null | undefined;
|
|
30
25
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
31
|
-
scopes?: string[] | null | undefined;
|
|
32
26
|
gcp_scopes?: string[] | null | undefined;
|
|
27
|
+
header_name?: string | null | undefined;
|
|
33
28
|
private_key_ssm_param_path?: string | null | undefined;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
assertion_audience?: string | null | undefined;
|
|
29
|
+
scopes?: string[] | null | undefined;
|
|
30
|
+
ssm_param_path?: string | null | undefined;
|
|
37
31
|
token_lifetime_seconds?: number | undefined;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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";
|
|
41
35
|
} | null | undefined;
|
|
36
|
+
base_url?: string | undefined;
|
|
37
|
+
builtin?: boolean | undefined;
|
|
38
|
+
created_at: string;
|
|
39
|
+
display_name: string;
|
|
40
|
+
enabled: boolean;
|
|
42
41
|
endpoints?: {
|
|
43
|
-
name: string;
|
|
44
|
-
description: string;
|
|
45
|
-
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
46
|
-
path: string;
|
|
47
|
-
base_url?: string | null | undefined;
|
|
48
42
|
auth?: {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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;
|
|
54
49
|
client_id?: string | null | undefined;
|
|
55
50
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
56
|
-
scopes?: string[] | null | undefined;
|
|
57
51
|
gcp_scopes?: string[] | null | undefined;
|
|
52
|
+
header_name?: string | null | undefined;
|
|
58
53
|
private_key_ssm_param_path?: string | null | undefined;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
assertion_audience?: string | null | undefined;
|
|
54
|
+
scopes?: string[] | null | undefined;
|
|
55
|
+
ssm_param_path?: string | null | undefined;
|
|
62
56
|
token_lifetime_seconds?: number | undefined;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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";
|
|
66
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
67
|
input_schema?: {
|
|
68
68
|
[x: string]: unknown;
|
|
69
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;
|
|
70
75
|
response_mapping?: {
|
|
71
76
|
[x: string]: string;
|
|
72
77
|
} | null | undefined;
|
|
73
|
-
|
|
74
|
-
result_template?: string | null | undefined;
|
|
78
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
75
79
|
result_key?: string | null | undefined;
|
|
76
|
-
|
|
80
|
+
result_template?: string | null | undefined;
|
|
77
81
|
retry_config?: {
|
|
78
82
|
max_retries?: number | undefined;
|
|
79
83
|
retry_on_status?: number[] | undefined;
|
|
80
84
|
} | undefined;
|
|
81
|
-
result_delivery?: "interrupt" | "queue" | undefined;
|
|
82
|
-
headers?: {
|
|
83
|
-
[x: string]: string;
|
|
84
|
-
} | undefined;
|
|
85
|
-
body_format?: "json" | "form" | undefined;
|
|
86
85
|
}[] | undefined;
|
|
87
|
-
|
|
88
|
-
builtin?: boolean | undefined;
|
|
89
|
-
created_at: string;
|
|
90
|
-
updated_at: string;
|
|
91
|
-
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
92
|
-
mcp_command?: string | null | undefined;
|
|
86
|
+
id: string;
|
|
93
87
|
mcp_args?: string[] | null | undefined;
|
|
94
|
-
|
|
88
|
+
mcp_command?: string | null | undefined;
|
|
95
89
|
mcp_headers?: {
|
|
96
90
|
[x: string]: string;
|
|
97
91
|
} | null | undefined;
|
|
92
|
+
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
93
|
+
mcp_url?: string | null | undefined;
|
|
94
|
+
name: string;
|
|
95
|
+
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
96
|
+
updated_at: string;
|
|
97
|
+
workspace_id: string;
|
|
98
98
|
} & import("../index.js").ResponseMetadata>;
|
|
99
99
|
/** List integrations */
|
|
100
100
|
list(params?: ListIntegrationsParams): Promise<{
|
|
101
|
+
continuation_token?: number | null | undefined;
|
|
102
|
+
has_more: boolean;
|
|
101
103
|
items: {
|
|
102
|
-
id: string;
|
|
103
|
-
workspace_id: string;
|
|
104
|
-
name: string;
|
|
105
|
-
display_name: string;
|
|
106
|
-
protocol: "rest" | "fhir" | "mcp";
|
|
107
|
-
base_url?: string | undefined;
|
|
108
104
|
auth?: {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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;
|
|
114
111
|
client_id?: string | null | undefined;
|
|
115
112
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
116
|
-
scopes?: string[] | null | undefined;
|
|
117
113
|
gcp_scopes?: string[] | null | undefined;
|
|
114
|
+
header_name?: string | null | undefined;
|
|
118
115
|
private_key_ssm_param_path?: string | null | undefined;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
assertion_audience?: string | null | undefined;
|
|
116
|
+
scopes?: string[] | null | undefined;
|
|
117
|
+
ssm_param_path?: string | null | undefined;
|
|
122
118
|
token_lifetime_seconds?: number | undefined;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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";
|
|
126
122
|
} | null | undefined;
|
|
123
|
+
base_url?: string | undefined;
|
|
124
|
+
builtin?: boolean | undefined;
|
|
125
|
+
created_at: string;
|
|
126
|
+
display_name: string;
|
|
127
|
+
enabled: boolean;
|
|
127
128
|
endpoints?: {
|
|
128
|
-
name: string;
|
|
129
|
-
description: string;
|
|
130
|
-
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
131
|
-
path: string;
|
|
132
|
-
base_url?: string | null | undefined;
|
|
133
129
|
auth?: {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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;
|
|
139
136
|
client_id?: string | null | undefined;
|
|
140
137
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
141
|
-
scopes?: string[] | null | undefined;
|
|
142
138
|
gcp_scopes?: string[] | null | undefined;
|
|
139
|
+
header_name?: string | null | undefined;
|
|
143
140
|
private_key_ssm_param_path?: string | null | undefined;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
assertion_audience?: string | null | undefined;
|
|
141
|
+
scopes?: string[] | null | undefined;
|
|
142
|
+
ssm_param_path?: string | null | undefined;
|
|
147
143
|
token_lifetime_seconds?: number | undefined;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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";
|
|
151
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;
|
|
152
154
|
input_schema?: {
|
|
153
155
|
[x: string]: unknown;
|
|
154
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;
|
|
155
162
|
response_mapping?: {
|
|
156
163
|
[x: string]: string;
|
|
157
164
|
} | null | undefined;
|
|
158
|
-
|
|
159
|
-
result_template?: string | null | undefined;
|
|
165
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
160
166
|
result_key?: string | null | undefined;
|
|
161
|
-
|
|
167
|
+
result_template?: string | null | undefined;
|
|
162
168
|
retry_config?: {
|
|
163
169
|
max_retries?: number | undefined;
|
|
164
170
|
retry_on_status?: number[] | undefined;
|
|
165
171
|
} | undefined;
|
|
166
|
-
result_delivery?: "interrupt" | "queue" | undefined;
|
|
167
|
-
headers?: {
|
|
168
|
-
[x: string]: string;
|
|
169
|
-
} | undefined;
|
|
170
|
-
body_format?: "json" | "form" | undefined;
|
|
171
172
|
}[] | undefined;
|
|
172
|
-
|
|
173
|
-
builtin?: boolean | undefined;
|
|
174
|
-
created_at: string;
|
|
175
|
-
updated_at: string;
|
|
176
|
-
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
177
|
-
mcp_command?: string | null | undefined;
|
|
173
|
+
id: string;
|
|
178
174
|
mcp_args?: string[] | null | undefined;
|
|
179
|
-
|
|
175
|
+
mcp_command?: string | null | undefined;
|
|
180
176
|
mcp_headers?: {
|
|
181
177
|
[x: string]: string;
|
|
182
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;
|
|
183
185
|
}[];
|
|
184
|
-
has_more: boolean;
|
|
185
|
-
continuation_token?: number | null | undefined;
|
|
186
186
|
total?: number | null | undefined;
|
|
187
187
|
} & import("../index.js").ResponseMetadata>;
|
|
188
188
|
listAutoPaging(params?: ListIntegrationsParams): AsyncGenerator<{
|
|
189
|
-
id: string;
|
|
190
|
-
workspace_id: string;
|
|
191
|
-
name: string;
|
|
192
|
-
display_name: string;
|
|
193
|
-
protocol: "rest" | "fhir" | "mcp";
|
|
194
|
-
base_url?: string | undefined;
|
|
195
189
|
auth?: {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
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;
|
|
201
196
|
client_id?: string | null | undefined;
|
|
202
197
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
203
|
-
scopes?: string[] | null | undefined;
|
|
204
198
|
gcp_scopes?: string[] | null | undefined;
|
|
199
|
+
header_name?: string | null | undefined;
|
|
205
200
|
private_key_ssm_param_path?: string | null | undefined;
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
assertion_audience?: string | null | undefined;
|
|
201
|
+
scopes?: string[] | null | undefined;
|
|
202
|
+
ssm_param_path?: string | null | undefined;
|
|
209
203
|
token_lifetime_seconds?: number | undefined;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
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";
|
|
213
207
|
} | null | undefined;
|
|
208
|
+
base_url?: string | undefined;
|
|
209
|
+
builtin?: boolean | undefined;
|
|
210
|
+
created_at: string;
|
|
211
|
+
display_name: string;
|
|
212
|
+
enabled: boolean;
|
|
214
213
|
endpoints?: {
|
|
215
|
-
name: string;
|
|
216
|
-
description: string;
|
|
217
|
-
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
218
|
-
path: string;
|
|
219
|
-
base_url?: string | null | undefined;
|
|
220
214
|
auth?: {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
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;
|
|
226
221
|
client_id?: string | null | undefined;
|
|
227
222
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
228
|
-
scopes?: string[] | null | undefined;
|
|
229
223
|
gcp_scopes?: string[] | null | undefined;
|
|
224
|
+
header_name?: string | null | undefined;
|
|
230
225
|
private_key_ssm_param_path?: string | null | undefined;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
assertion_audience?: string | null | undefined;
|
|
226
|
+
scopes?: string[] | null | undefined;
|
|
227
|
+
ssm_param_path?: string | null | undefined;
|
|
234
228
|
token_lifetime_seconds?: number | undefined;
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
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";
|
|
238
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
239
|
input_schema?: {
|
|
240
240
|
[x: string]: unknown;
|
|
241
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;
|
|
242
247
|
response_mapping?: {
|
|
243
248
|
[x: string]: string;
|
|
244
249
|
} | null | undefined;
|
|
245
|
-
|
|
246
|
-
result_template?: string | null | undefined;
|
|
250
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
247
251
|
result_key?: string | null | undefined;
|
|
248
|
-
|
|
252
|
+
result_template?: string | null | undefined;
|
|
249
253
|
retry_config?: {
|
|
250
254
|
max_retries?: number | undefined;
|
|
251
255
|
retry_on_status?: number[] | undefined;
|
|
252
256
|
} | undefined;
|
|
253
|
-
result_delivery?: "interrupt" | "queue" | undefined;
|
|
254
|
-
headers?: {
|
|
255
|
-
[x: string]: string;
|
|
256
|
-
} | undefined;
|
|
257
|
-
body_format?: "json" | "form" | undefined;
|
|
258
257
|
}[] | undefined;
|
|
259
|
-
|
|
260
|
-
builtin?: boolean | undefined;
|
|
261
|
-
created_at: string;
|
|
262
|
-
updated_at: string;
|
|
263
|
-
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
264
|
-
mcp_command?: string | null | undefined;
|
|
258
|
+
id: string;
|
|
265
259
|
mcp_args?: string[] | null | undefined;
|
|
266
|
-
|
|
260
|
+
mcp_command?: string | null | undefined;
|
|
267
261
|
mcp_headers?: {
|
|
268
262
|
[x: string]: string;
|
|
269
263
|
} | null | undefined;
|
|
264
|
+
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
265
|
+
mcp_url?: string | null | undefined;
|
|
266
|
+
name: string;
|
|
267
|
+
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
268
|
+
updated_at: string;
|
|
269
|
+
workspace_id: string;
|
|
270
270
|
}, any, any>;
|
|
271
271
|
/** Get a single integration */
|
|
272
272
|
get(integrationId: IntegrationId | string): Promise<{
|
|
273
|
-
id: string;
|
|
274
|
-
workspace_id: string;
|
|
275
|
-
name: string;
|
|
276
|
-
display_name: string;
|
|
277
|
-
protocol: "rest" | "fhir" | "mcp";
|
|
278
|
-
base_url?: string | undefined;
|
|
279
273
|
auth?: {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
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;
|
|
285
280
|
client_id?: string | null | undefined;
|
|
286
281
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
287
|
-
scopes?: string[] | null | undefined;
|
|
288
282
|
gcp_scopes?: string[] | null | undefined;
|
|
283
|
+
header_name?: string | null | undefined;
|
|
289
284
|
private_key_ssm_param_path?: string | null | undefined;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
assertion_audience?: string | null | undefined;
|
|
285
|
+
scopes?: string[] | null | undefined;
|
|
286
|
+
ssm_param_path?: string | null | undefined;
|
|
293
287
|
token_lifetime_seconds?: number | undefined;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
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";
|
|
297
291
|
} | null | undefined;
|
|
292
|
+
base_url?: string | undefined;
|
|
293
|
+
builtin?: boolean | undefined;
|
|
294
|
+
created_at: string;
|
|
295
|
+
display_name: string;
|
|
296
|
+
enabled: boolean;
|
|
298
297
|
endpoints?: {
|
|
299
|
-
name: string;
|
|
300
|
-
description: string;
|
|
301
|
-
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
302
|
-
path: string;
|
|
303
|
-
base_url?: string | null | undefined;
|
|
304
298
|
auth?: {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
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;
|
|
310
305
|
client_id?: string | null | undefined;
|
|
311
306
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
312
|
-
scopes?: string[] | null | undefined;
|
|
313
307
|
gcp_scopes?: string[] | null | undefined;
|
|
308
|
+
header_name?: string | null | undefined;
|
|
314
309
|
private_key_ssm_param_path?: string | null | undefined;
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
assertion_audience?: string | null | undefined;
|
|
310
|
+
scopes?: string[] | null | undefined;
|
|
311
|
+
ssm_param_path?: string | null | undefined;
|
|
318
312
|
token_lifetime_seconds?: number | undefined;
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
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";
|
|
322
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
323
|
input_schema?: {
|
|
324
324
|
[x: string]: unknown;
|
|
325
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;
|
|
326
331
|
response_mapping?: {
|
|
327
332
|
[x: string]: string;
|
|
328
333
|
} | null | undefined;
|
|
329
|
-
|
|
330
|
-
result_template?: string | null | undefined;
|
|
334
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
331
335
|
result_key?: string | null | undefined;
|
|
332
|
-
|
|
336
|
+
result_template?: string | null | undefined;
|
|
333
337
|
retry_config?: {
|
|
334
338
|
max_retries?: number | undefined;
|
|
335
339
|
retry_on_status?: number[] | undefined;
|
|
336
340
|
} | undefined;
|
|
337
|
-
result_delivery?: "interrupt" | "queue" | undefined;
|
|
338
|
-
headers?: {
|
|
339
|
-
[x: string]: string;
|
|
340
|
-
} | undefined;
|
|
341
|
-
body_format?: "json" | "form" | undefined;
|
|
342
341
|
}[] | undefined;
|
|
343
|
-
|
|
344
|
-
builtin?: boolean | undefined;
|
|
345
|
-
created_at: string;
|
|
346
|
-
updated_at: string;
|
|
347
|
-
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
348
|
-
mcp_command?: string | null | undefined;
|
|
342
|
+
id: string;
|
|
349
343
|
mcp_args?: string[] | null | undefined;
|
|
350
|
-
|
|
344
|
+
mcp_command?: string | null | undefined;
|
|
351
345
|
mcp_headers?: {
|
|
352
346
|
[x: string]: string;
|
|
353
347
|
} | null | undefined;
|
|
348
|
+
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
349
|
+
mcp_url?: string | null | undefined;
|
|
350
|
+
name: string;
|
|
351
|
+
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
352
|
+
updated_at: string;
|
|
353
|
+
workspace_id: string;
|
|
354
354
|
} & import("../index.js").ResponseMetadata>;
|
|
355
355
|
/** Update integration configuration */
|
|
356
356
|
update(integrationId: IntegrationId | string, body: components['schemas']['UpdateIntegrationRequest']): Promise<{
|
|
357
|
-
id: string;
|
|
358
|
-
workspace_id: string;
|
|
359
|
-
name: string;
|
|
360
|
-
display_name: string;
|
|
361
|
-
protocol: "rest" | "fhir" | "mcp";
|
|
362
|
-
base_url?: string | undefined;
|
|
363
357
|
auth?: {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
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;
|
|
369
364
|
client_id?: string | null | undefined;
|
|
370
365
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
371
|
-
scopes?: string[] | null | undefined;
|
|
372
366
|
gcp_scopes?: string[] | null | undefined;
|
|
367
|
+
header_name?: string | null | undefined;
|
|
373
368
|
private_key_ssm_param_path?: string | null | undefined;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
assertion_audience?: string | null | undefined;
|
|
369
|
+
scopes?: string[] | null | undefined;
|
|
370
|
+
ssm_param_path?: string | null | undefined;
|
|
377
371
|
token_lifetime_seconds?: number | undefined;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
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";
|
|
381
375
|
} | null | undefined;
|
|
376
|
+
base_url?: string | undefined;
|
|
377
|
+
builtin?: boolean | undefined;
|
|
378
|
+
created_at: string;
|
|
379
|
+
display_name: string;
|
|
380
|
+
enabled: boolean;
|
|
382
381
|
endpoints?: {
|
|
383
|
-
name: string;
|
|
384
|
-
description: string;
|
|
385
|
-
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
386
|
-
path: string;
|
|
387
|
-
base_url?: string | null | undefined;
|
|
388
382
|
auth?: {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
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;
|
|
394
389
|
client_id?: string | null | undefined;
|
|
395
390
|
client_secret_ssm_param_path?: string | null | undefined;
|
|
396
|
-
scopes?: string[] | null | undefined;
|
|
397
391
|
gcp_scopes?: string[] | null | undefined;
|
|
392
|
+
header_name?: string | null | undefined;
|
|
398
393
|
private_key_ssm_param_path?: string | null | undefined;
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
assertion_audience?: string | null | undefined;
|
|
394
|
+
scopes?: string[] | null | undefined;
|
|
395
|
+
ssm_param_path?: string | null | undefined;
|
|
402
396
|
token_lifetime_seconds?: number | undefined;
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
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";
|
|
406
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
407
|
input_schema?: {
|
|
408
408
|
[x: string]: unknown;
|
|
409
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;
|
|
410
415
|
response_mapping?: {
|
|
411
416
|
[x: string]: string;
|
|
412
417
|
} | null | undefined;
|
|
413
|
-
|
|
414
|
-
result_template?: string | null | undefined;
|
|
418
|
+
result_delivery?: "interrupt" | "queue" | undefined;
|
|
415
419
|
result_key?: string | null | undefined;
|
|
416
|
-
|
|
420
|
+
result_template?: string | null | undefined;
|
|
417
421
|
retry_config?: {
|
|
418
422
|
max_retries?: number | undefined;
|
|
419
423
|
retry_on_status?: number[] | undefined;
|
|
420
424
|
} | undefined;
|
|
421
|
-
result_delivery?: "interrupt" | "queue" | undefined;
|
|
422
|
-
headers?: {
|
|
423
|
-
[x: string]: string;
|
|
424
|
-
} | undefined;
|
|
425
|
-
body_format?: "json" | "form" | undefined;
|
|
426
425
|
}[] | undefined;
|
|
427
|
-
|
|
428
|
-
builtin?: boolean | undefined;
|
|
429
|
-
created_at: string;
|
|
430
|
-
updated_at: string;
|
|
431
|
-
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
432
|
-
mcp_command?: string | null | undefined;
|
|
426
|
+
id: string;
|
|
433
427
|
mcp_args?: string[] | null | undefined;
|
|
434
|
-
|
|
428
|
+
mcp_command?: string | null | undefined;
|
|
435
429
|
mcp_headers?: {
|
|
436
430
|
[x: string]: string;
|
|
437
431
|
} | null | undefined;
|
|
432
|
+
mcp_transport?: ("stdio" | "sse" | "http") | null | undefined;
|
|
433
|
+
mcp_url?: string | null | undefined;
|
|
434
|
+
name: string;
|
|
435
|
+
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
436
|
+
updated_at: string;
|
|
437
|
+
workspace_id: string;
|
|
438
438
|
} & import("../index.js").ResponseMetadata>;
|
|
439
439
|
/** Delete an integration */
|
|
440
440
|
delete(integrationId: IntegrationId | string): Promise<void>;
|
|
@@ -443,14 +443,14 @@ export declare class IntegrationsResource extends WorkspaceScopedResource {
|
|
|
443
443
|
* Used in the developer console to validate integration config.
|
|
444
444
|
*/
|
|
445
445
|
testEndpoint(integrationId: IntegrationId | string, endpointName: string, body: components['schemas']['TestEndpointRequest']): Promise<{
|
|
446
|
-
status_code?: number | null | undefined;
|
|
447
|
-
duration_ms?: number | undefined;
|
|
448
|
-
retries?: number | undefined;
|
|
449
|
-
raw_response?: unknown;
|
|
450
446
|
after_filter?: unknown;
|
|
451
447
|
after_mapping?: unknown;
|
|
452
|
-
|
|
448
|
+
duration_ms?: number | undefined;
|
|
453
449
|
error?: string | null | undefined;
|
|
450
|
+
final_result?: string | null | undefined;
|
|
451
|
+
raw_response?: unknown;
|
|
452
|
+
retries?: number | undefined;
|
|
453
|
+
status_code?: number | null | undefined;
|
|
454
454
|
} & import("../index.js").ResponseMetadata>;
|
|
455
455
|
/** Check health of all integrations in the workspace */
|
|
456
456
|
getHealthCheck(): Promise<{
|