@amigo-ai/platform-sdk 0.5.3 → 0.5.4
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 +13860 -13131
- 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 +258 -258
- 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
|
@@ -16,292 +16,292 @@ export interface ListActionsParams extends ListParams {
|
|
|
16
16
|
export declare class ActionsResource extends WorkspaceScopedResource {
|
|
17
17
|
/** Create a new action */
|
|
18
18
|
create(body: components['schemas']['CreateSkillRequest']): Promise<{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
approval_required: boolean;
|
|
20
|
+
browser_allowed_domains: string[];
|
|
21
|
+
browser_auth_integration: string | null;
|
|
22
|
+
browser_start_url: string | null;
|
|
23
|
+
checkpoint_enabled: boolean;
|
|
24
|
+
created_at: string;
|
|
25
|
+
delivery: "interrupt" | "queue";
|
|
23
26
|
description: string;
|
|
24
|
-
|
|
27
|
+
enable_caching: boolean;
|
|
28
|
+
enable_citations: boolean;
|
|
29
|
+
enabled: boolean;
|
|
30
|
+
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
31
|
+
id: string;
|
|
25
32
|
input_schema: {
|
|
26
33
|
[x: string]: unknown;
|
|
27
34
|
};
|
|
28
|
-
result_schema: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
} | null;
|
|
31
|
-
model: string;
|
|
32
|
-
max_tokens: number;
|
|
33
|
-
max_result_chars: number;
|
|
34
|
-
max_input_tokens: number | null;
|
|
35
|
-
timeout_s: number;
|
|
36
|
-
thinking_effort: ("low" | "medium" | "high") | null;
|
|
37
|
-
enable_caching: boolean;
|
|
38
|
-
enable_citations: boolean;
|
|
39
|
-
use_structured_output: boolean;
|
|
40
35
|
integration_tools: {
|
|
41
|
-
integration: string;
|
|
42
36
|
endpoint: string;
|
|
37
|
+
integration: string;
|
|
43
38
|
}[];
|
|
39
|
+
max_agent_turns: number;
|
|
40
|
+
max_input_tokens: number | null;
|
|
41
|
+
max_result_chars: number;
|
|
42
|
+
max_tokens: number;
|
|
43
|
+
model: string;
|
|
44
|
+
name: string;
|
|
45
|
+
result_schema: {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
} | null;
|
|
48
|
+
slug: string;
|
|
44
49
|
static_tools: {
|
|
45
|
-
name: string;
|
|
46
50
|
description: string;
|
|
51
|
+
handler: string;
|
|
47
52
|
input_schema: {
|
|
48
53
|
[x: string]: unknown;
|
|
49
54
|
};
|
|
50
|
-
|
|
55
|
+
name: string;
|
|
51
56
|
}[];
|
|
52
|
-
|
|
57
|
+
system_prompt: string;
|
|
58
|
+
thinking_effort: ("low" | "medium" | "high") | null;
|
|
59
|
+
timeout_s: number;
|
|
60
|
+
updated_at: string;
|
|
53
61
|
urgency_keywords: string[];
|
|
54
|
-
|
|
55
|
-
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
56
|
-
max_agent_turns: number;
|
|
57
|
-
checkpoint_enabled: boolean;
|
|
58
|
-
approval_required: boolean;
|
|
59
|
-
browser_start_url: string | null;
|
|
60
|
-
browser_allowed_domains: string[];
|
|
61
|
-
browser_auth_integration: string | null;
|
|
62
|
+
use_structured_output: boolean;
|
|
62
63
|
version: number;
|
|
63
|
-
|
|
64
|
-
updated_at: string;
|
|
64
|
+
workspace_id: string;
|
|
65
65
|
} & import("../index.js").ResponseMetadata>;
|
|
66
66
|
/** List actions in the workspace */
|
|
67
67
|
list(params?: ListActionsParams): Promise<{
|
|
68
|
+
continuation_token?: number | null | undefined;
|
|
69
|
+
has_more: boolean;
|
|
68
70
|
items: {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
approval_required: boolean;
|
|
72
|
+
browser_allowed_domains: string[];
|
|
73
|
+
browser_auth_integration: string | null;
|
|
74
|
+
browser_start_url: string | null;
|
|
75
|
+
checkpoint_enabled: boolean;
|
|
76
|
+
created_at: string;
|
|
77
|
+
delivery: "interrupt" | "queue";
|
|
73
78
|
description: string;
|
|
74
|
-
|
|
79
|
+
enable_caching: boolean;
|
|
80
|
+
enable_citations: boolean;
|
|
81
|
+
enabled: boolean;
|
|
82
|
+
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
83
|
+
id: string;
|
|
75
84
|
input_schema: {
|
|
76
85
|
[x: string]: unknown;
|
|
77
86
|
};
|
|
78
|
-
result_schema: {
|
|
79
|
-
[x: string]: unknown;
|
|
80
|
-
} | null;
|
|
81
|
-
model: string;
|
|
82
|
-
max_tokens: number;
|
|
83
|
-
max_result_chars: number;
|
|
84
|
-
max_input_tokens: number | null;
|
|
85
|
-
timeout_s: number;
|
|
86
|
-
thinking_effort: ("low" | "medium" | "high") | null;
|
|
87
|
-
enable_caching: boolean;
|
|
88
|
-
enable_citations: boolean;
|
|
89
|
-
use_structured_output: boolean;
|
|
90
87
|
integration_tools: {
|
|
91
|
-
integration: string;
|
|
92
88
|
endpoint: string;
|
|
89
|
+
integration: string;
|
|
93
90
|
}[];
|
|
91
|
+
max_agent_turns: number;
|
|
92
|
+
max_input_tokens: number | null;
|
|
93
|
+
max_result_chars: number;
|
|
94
|
+
max_tokens: number;
|
|
95
|
+
model: string;
|
|
96
|
+
name: string;
|
|
97
|
+
result_schema: {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
} | null;
|
|
100
|
+
slug: string;
|
|
94
101
|
static_tools: {
|
|
95
|
-
name: string;
|
|
96
102
|
description: string;
|
|
103
|
+
handler: string;
|
|
97
104
|
input_schema: {
|
|
98
105
|
[x: string]: unknown;
|
|
99
106
|
};
|
|
100
|
-
|
|
107
|
+
name: string;
|
|
101
108
|
}[];
|
|
102
|
-
|
|
109
|
+
system_prompt: string;
|
|
110
|
+
thinking_effort: ("low" | "medium" | "high") | null;
|
|
111
|
+
timeout_s: number;
|
|
112
|
+
updated_at: string;
|
|
103
113
|
urgency_keywords: string[];
|
|
104
|
-
|
|
105
|
-
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
106
|
-
max_agent_turns: number;
|
|
107
|
-
checkpoint_enabled: boolean;
|
|
108
|
-
approval_required: boolean;
|
|
109
|
-
browser_start_url: string | null;
|
|
110
|
-
browser_allowed_domains: string[];
|
|
111
|
-
browser_auth_integration: string | null;
|
|
114
|
+
use_structured_output: boolean;
|
|
112
115
|
version: number;
|
|
113
|
-
|
|
114
|
-
updated_at: string;
|
|
116
|
+
workspace_id: string;
|
|
115
117
|
}[];
|
|
116
|
-
has_more: boolean;
|
|
117
|
-
continuation_token?: number | null | undefined;
|
|
118
118
|
total?: number | null | undefined;
|
|
119
119
|
} & import("../index.js").ResponseMetadata>;
|
|
120
120
|
listAutoPaging(params?: ListActionsParams): AsyncGenerator<{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
approval_required: boolean;
|
|
122
|
+
browser_allowed_domains: string[];
|
|
123
|
+
browser_auth_integration: string | null;
|
|
124
|
+
browser_start_url: string | null;
|
|
125
|
+
checkpoint_enabled: boolean;
|
|
126
|
+
created_at: string;
|
|
127
|
+
delivery: "interrupt" | "queue";
|
|
125
128
|
description: string;
|
|
126
|
-
|
|
129
|
+
enable_caching: boolean;
|
|
130
|
+
enable_citations: boolean;
|
|
131
|
+
enabled: boolean;
|
|
132
|
+
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
133
|
+
id: string;
|
|
127
134
|
input_schema: {
|
|
128
135
|
[x: string]: unknown;
|
|
129
136
|
};
|
|
130
|
-
result_schema: {
|
|
131
|
-
[x: string]: unknown;
|
|
132
|
-
} | null;
|
|
133
|
-
model: string;
|
|
134
|
-
max_tokens: number;
|
|
135
|
-
max_result_chars: number;
|
|
136
|
-
max_input_tokens: number | null;
|
|
137
|
-
timeout_s: number;
|
|
138
|
-
thinking_effort: ("low" | "medium" | "high") | null;
|
|
139
|
-
enable_caching: boolean;
|
|
140
|
-
enable_citations: boolean;
|
|
141
|
-
use_structured_output: boolean;
|
|
142
137
|
integration_tools: {
|
|
143
|
-
integration: string;
|
|
144
138
|
endpoint: string;
|
|
139
|
+
integration: string;
|
|
145
140
|
}[];
|
|
141
|
+
max_agent_turns: number;
|
|
142
|
+
max_input_tokens: number | null;
|
|
143
|
+
max_result_chars: number;
|
|
144
|
+
max_tokens: number;
|
|
145
|
+
model: string;
|
|
146
|
+
name: string;
|
|
147
|
+
result_schema: {
|
|
148
|
+
[x: string]: unknown;
|
|
149
|
+
} | null;
|
|
150
|
+
slug: string;
|
|
146
151
|
static_tools: {
|
|
147
|
-
name: string;
|
|
148
152
|
description: string;
|
|
153
|
+
handler: string;
|
|
149
154
|
input_schema: {
|
|
150
155
|
[x: string]: unknown;
|
|
151
156
|
};
|
|
152
|
-
|
|
157
|
+
name: string;
|
|
153
158
|
}[];
|
|
154
|
-
|
|
159
|
+
system_prompt: string;
|
|
160
|
+
thinking_effort: ("low" | "medium" | "high") | null;
|
|
161
|
+
timeout_s: number;
|
|
162
|
+
updated_at: string;
|
|
155
163
|
urgency_keywords: string[];
|
|
156
|
-
|
|
157
|
-
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
158
|
-
max_agent_turns: number;
|
|
159
|
-
checkpoint_enabled: boolean;
|
|
160
|
-
approval_required: boolean;
|
|
161
|
-
browser_start_url: string | null;
|
|
162
|
-
browser_allowed_domains: string[];
|
|
163
|
-
browser_auth_integration: string | null;
|
|
164
|
+
use_structured_output: boolean;
|
|
164
165
|
version: number;
|
|
165
|
-
|
|
166
|
-
updated_at: string;
|
|
166
|
+
workspace_id: string;
|
|
167
167
|
}, any, any>;
|
|
168
168
|
/** Get a single action */
|
|
169
169
|
get(actionId: ActionId | string): Promise<{
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
approval_required: boolean;
|
|
171
|
+
browser_allowed_domains: string[];
|
|
172
|
+
browser_auth_integration: string | null;
|
|
173
|
+
browser_start_url: string | null;
|
|
174
|
+
checkpoint_enabled: boolean;
|
|
175
|
+
created_at: string;
|
|
176
|
+
delivery: "interrupt" | "queue";
|
|
174
177
|
description: string;
|
|
175
|
-
|
|
178
|
+
enable_caching: boolean;
|
|
179
|
+
enable_citations: boolean;
|
|
180
|
+
enabled: boolean;
|
|
181
|
+
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
182
|
+
id: string;
|
|
176
183
|
input_schema: {
|
|
177
184
|
[x: string]: unknown;
|
|
178
185
|
};
|
|
179
|
-
result_schema: {
|
|
180
|
-
[x: string]: unknown;
|
|
181
|
-
} | null;
|
|
182
|
-
model: string;
|
|
183
|
-
max_tokens: number;
|
|
184
|
-
max_result_chars: number;
|
|
185
|
-
max_input_tokens: number | null;
|
|
186
|
-
timeout_s: number;
|
|
187
|
-
thinking_effort: ("low" | "medium" | "high") | null;
|
|
188
|
-
enable_caching: boolean;
|
|
189
|
-
enable_citations: boolean;
|
|
190
|
-
use_structured_output: boolean;
|
|
191
186
|
integration_tools: {
|
|
192
|
-
integration: string;
|
|
193
187
|
endpoint: string;
|
|
188
|
+
integration: string;
|
|
194
189
|
}[];
|
|
190
|
+
max_agent_turns: number;
|
|
191
|
+
max_input_tokens: number | null;
|
|
192
|
+
max_result_chars: number;
|
|
193
|
+
max_tokens: number;
|
|
194
|
+
model: string;
|
|
195
|
+
name: string;
|
|
196
|
+
result_schema: {
|
|
197
|
+
[x: string]: unknown;
|
|
198
|
+
} | null;
|
|
199
|
+
slug: string;
|
|
195
200
|
static_tools: {
|
|
196
|
-
name: string;
|
|
197
201
|
description: string;
|
|
202
|
+
handler: string;
|
|
198
203
|
input_schema: {
|
|
199
204
|
[x: string]: unknown;
|
|
200
205
|
};
|
|
201
|
-
|
|
206
|
+
name: string;
|
|
202
207
|
}[];
|
|
203
|
-
|
|
208
|
+
system_prompt: string;
|
|
209
|
+
thinking_effort: ("low" | "medium" | "high") | null;
|
|
210
|
+
timeout_s: number;
|
|
211
|
+
updated_at: string;
|
|
204
212
|
urgency_keywords: string[];
|
|
205
|
-
|
|
206
|
-
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
207
|
-
max_agent_turns: number;
|
|
208
|
-
checkpoint_enabled: boolean;
|
|
209
|
-
approval_required: boolean;
|
|
210
|
-
browser_start_url: string | null;
|
|
211
|
-
browser_allowed_domains: string[];
|
|
212
|
-
browser_auth_integration: string | null;
|
|
213
|
+
use_structured_output: boolean;
|
|
213
214
|
version: number;
|
|
214
|
-
|
|
215
|
-
updated_at: string;
|
|
215
|
+
workspace_id: string;
|
|
216
216
|
} & import("../index.js").ResponseMetadata>;
|
|
217
217
|
/** Update an action */
|
|
218
218
|
update(actionId: ActionId | string, body: components['schemas']['UpdateSkillRequest']): Promise<{
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
219
|
+
approval_required: boolean;
|
|
220
|
+
browser_allowed_domains: string[];
|
|
221
|
+
browser_auth_integration: string | null;
|
|
222
|
+
browser_start_url: string | null;
|
|
223
|
+
checkpoint_enabled: boolean;
|
|
224
|
+
created_at: string;
|
|
225
|
+
delivery: "interrupt" | "queue";
|
|
223
226
|
description: string;
|
|
224
|
-
|
|
227
|
+
enable_caching: boolean;
|
|
228
|
+
enable_citations: boolean;
|
|
229
|
+
enabled: boolean;
|
|
230
|
+
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
231
|
+
id: string;
|
|
225
232
|
input_schema: {
|
|
226
233
|
[x: string]: unknown;
|
|
227
234
|
};
|
|
228
|
-
result_schema: {
|
|
229
|
-
[x: string]: unknown;
|
|
230
|
-
} | null;
|
|
231
|
-
model: string;
|
|
232
|
-
max_tokens: number;
|
|
233
|
-
max_result_chars: number;
|
|
234
|
-
max_input_tokens: number | null;
|
|
235
|
-
timeout_s: number;
|
|
236
|
-
thinking_effort: ("low" | "medium" | "high") | null;
|
|
237
|
-
enable_caching: boolean;
|
|
238
|
-
enable_citations: boolean;
|
|
239
|
-
use_structured_output: boolean;
|
|
240
235
|
integration_tools: {
|
|
241
|
-
integration: string;
|
|
242
236
|
endpoint: string;
|
|
237
|
+
integration: string;
|
|
243
238
|
}[];
|
|
239
|
+
max_agent_turns: number;
|
|
240
|
+
max_input_tokens: number | null;
|
|
241
|
+
max_result_chars: number;
|
|
242
|
+
max_tokens: number;
|
|
243
|
+
model: string;
|
|
244
|
+
name: string;
|
|
245
|
+
result_schema: {
|
|
246
|
+
[x: string]: unknown;
|
|
247
|
+
} | null;
|
|
248
|
+
slug: string;
|
|
244
249
|
static_tools: {
|
|
245
|
-
name: string;
|
|
246
250
|
description: string;
|
|
251
|
+
handler: string;
|
|
247
252
|
input_schema: {
|
|
248
253
|
[x: string]: unknown;
|
|
249
254
|
};
|
|
250
|
-
|
|
255
|
+
name: string;
|
|
251
256
|
}[];
|
|
252
|
-
|
|
257
|
+
system_prompt: string;
|
|
258
|
+
thinking_effort: ("low" | "medium" | "high") | null;
|
|
259
|
+
timeout_s: number;
|
|
260
|
+
updated_at: string;
|
|
253
261
|
urgency_keywords: string[];
|
|
254
|
-
|
|
255
|
-
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
256
|
-
max_agent_turns: number;
|
|
257
|
-
checkpoint_enabled: boolean;
|
|
258
|
-
approval_required: boolean;
|
|
259
|
-
browser_start_url: string | null;
|
|
260
|
-
browser_allowed_domains: string[];
|
|
261
|
-
browser_auth_integration: string | null;
|
|
262
|
+
use_structured_output: boolean;
|
|
262
263
|
version: number;
|
|
263
|
-
|
|
264
|
-
updated_at: string;
|
|
264
|
+
workspace_id: string;
|
|
265
265
|
} & import("../index.js").ResponseMetadata>;
|
|
266
266
|
/** Delete an action */
|
|
267
267
|
delete(actionId: ActionId | string): Promise<void>;
|
|
268
268
|
/** Get all context graphs and services that reference this action */
|
|
269
269
|
getReferences(actionId: ActionId | string): Promise<{
|
|
270
|
-
skill_id: string;
|
|
271
|
-
skill_slug: string;
|
|
272
270
|
context_graph_references: {
|
|
273
271
|
context_graph_id: string;
|
|
274
272
|
context_graph_name: string;
|
|
275
|
-
version: number;
|
|
276
273
|
states: {
|
|
277
274
|
state_name: string;
|
|
278
275
|
tool_spec_category: string;
|
|
279
276
|
}[];
|
|
277
|
+
version: number;
|
|
280
278
|
}[];
|
|
281
279
|
service_references: string[];
|
|
280
|
+
skill_id: string;
|
|
281
|
+
skill_slug: string;
|
|
282
282
|
} & import("../index.js").ResponseMetadata>;
|
|
283
283
|
/**
|
|
284
284
|
* Test an action with a sample input.
|
|
285
285
|
* Executes the action in a sandbox and returns the result.
|
|
286
286
|
*/
|
|
287
287
|
test(actionId: ActionId | string, body: components['schemas']['TestSkillRequest']): Promise<{
|
|
288
|
-
|
|
288
|
+
cached_tokens: number;
|
|
289
289
|
duration_ms: number;
|
|
290
|
+
error?: string | null | undefined;
|
|
290
291
|
input_tokens: number;
|
|
291
292
|
output_tokens: number;
|
|
292
|
-
|
|
293
|
+
result: string;
|
|
293
294
|
rounds: number;
|
|
294
295
|
sub_tool_logs: {
|
|
295
|
-
|
|
296
|
+
duration_ms: number;
|
|
296
297
|
input: {
|
|
297
298
|
[x: string]: unknown;
|
|
298
299
|
};
|
|
299
300
|
output: string;
|
|
300
|
-
duration_ms: number;
|
|
301
|
-
succeeded: boolean;
|
|
302
301
|
round: number;
|
|
302
|
+
succeeded: boolean;
|
|
303
|
+
tool_name: string;
|
|
303
304
|
}[];
|
|
304
|
-
error?: string | null | undefined;
|
|
305
305
|
} & import("../index.js").ResponseMetadata>;
|
|
306
306
|
}
|
|
307
307
|
//# sourceMappingURL=actions.d.ts.map
|