@amigo-ai/platform-sdk 0.5.6 → 0.5.7
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 +40 -0
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +22 -126
- package/dist/types/resources/actions.d.ts.map +1 -1
- package/dist/types/resources/agents.d.ts +16 -102
- package/dist/types/resources/agents.d.ts.map +1 -1
- package/dist/types/resources/analytics.d.ts +22 -74
- package/dist/types/resources/analytics.d.ts.map +1 -1
- package/dist/types/resources/api-keys.d.ts +3 -16
- package/dist/types/resources/api-keys.d.ts.map +1 -1
- package/dist/types/resources/audit.d.ts +31 -87
- package/dist/types/resources/audit.d.ts.map +1 -1
- package/dist/types/resources/billing.d.ts +9 -42
- package/dist/types/resources/billing.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +65 -169
- 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 +17 -958
- package/dist/types/resources/context-graphs.d.ts.map +1 -1
- package/dist/types/resources/data-sources.d.ts +13 -50
- package/dist/types/resources/data-sources.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts +22 -49
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +49 -379
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/memory.d.ts +4 -48
- package/dist/types/resources/memory.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts +64 -189
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/personas.d.ts +7 -20
- package/dist/types/resources/personas.d.ts.map +1 -1
- package/dist/types/resources/phone-numbers.d.ts +8 -46
- 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 +49 -350
- package/dist/types/resources/review-queue.d.ts.map +1 -1
- package/dist/types/resources/safety.d.ts +6 -32
- package/dist/types/resources/safety.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +47 -242
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +36 -404
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/simulations.d.ts +20 -148
- package/dist/types/resources/simulations.d.ts.map +1 -1
- package/dist/types/resources/skills.d.ts +21 -117
- package/dist/types/resources/skills.d.ts.map +1 -1
- package/dist/types/resources/triggers.d.ts +64 -92
- package/dist/types/resources/triggers.d.ts.map +1 -1
- package/dist/types/resources/webhook-destinations.d.ts +20 -44
- package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
- package/dist/types/resources/workspaces.d.ts +4 -26
- package/dist/types/resources/workspaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts +121 -322
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -14,95 +14,29 @@ export declare class SimulationsResource extends WorkspaceScopedResource {
|
|
|
14
14
|
greeting: string;
|
|
15
15
|
is_terminal: boolean;
|
|
16
16
|
session_id: string;
|
|
17
|
-
snapshot:
|
|
18
|
-
[x: string]: unknown;
|
|
19
|
-
context_graph_topology?: {
|
|
20
|
-
[x: string]: string;
|
|
21
|
-
}[] | undefined;
|
|
22
|
-
conversation_history?: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
}[] | undefined;
|
|
25
|
-
current_state: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
action_guidelines?: string[] | undefined;
|
|
28
|
-
actions?: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
}[] | undefined;
|
|
31
|
-
boundary_constraints?: string[] | undefined;
|
|
32
|
-
exit_conditions?: {
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
}[] | undefined;
|
|
35
|
-
guardrails?: {
|
|
36
|
-
[x: string]: unknown;
|
|
37
|
-
}[] | undefined;
|
|
38
|
-
name: string;
|
|
39
|
-
objective?: string | undefined;
|
|
40
|
-
tools?: string[] | undefined;
|
|
41
|
-
type: string;
|
|
42
|
-
};
|
|
43
|
-
reachable_states?: {
|
|
44
|
-
[x: string]: unknown;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
state_transitions?: string[][] | undefined;
|
|
47
|
-
states_visited?: string[] | undefined;
|
|
48
|
-
terminal_reached?: boolean | undefined;
|
|
49
|
-
terminal_state?: string | null | undefined;
|
|
50
|
-
tools_called?: string[] | undefined;
|
|
51
|
-
total_turns?: number | undefined;
|
|
52
|
-
turn_policy?: {
|
|
53
|
-
barge_in_enabled?: boolean | undefined;
|
|
54
|
-
block_forward_call?: boolean | undefined;
|
|
55
|
-
block_forward_call_after_turns?: number | undefined;
|
|
56
|
-
context_strategy?: string | undefined;
|
|
57
|
-
greeting_shield_s?: number | undefined;
|
|
58
|
-
safety_response?: string | undefined;
|
|
59
|
-
} | undefined;
|
|
60
|
-
};
|
|
17
|
+
snapshot: components["schemas"]["SimulationSnapshotResponse"];
|
|
61
18
|
} & import("../index.js").ResponseMetadata>;
|
|
62
19
|
/** Get the current snapshot of a session */
|
|
63
20
|
getSession(sessionId: SimulationSessionId | string): Promise<{
|
|
64
|
-
[x: string]: unknown;
|
|
65
21
|
context_graph_topology?: {
|
|
66
|
-
[
|
|
67
|
-
}[]
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
}[];
|
|
68
24
|
conversation_history?: {
|
|
69
|
-
[
|
|
70
|
-
}[]
|
|
71
|
-
current_state:
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
action_guidelines?: string[] | undefined;
|
|
74
|
-
actions?: {
|
|
75
|
-
[x: string]: unknown;
|
|
76
|
-
}[] | undefined;
|
|
77
|
-
boundary_constraints?: string[] | undefined;
|
|
78
|
-
exit_conditions?: {
|
|
79
|
-
[x: string]: unknown;
|
|
80
|
-
}[] | undefined;
|
|
81
|
-
guardrails?: {
|
|
82
|
-
[x: string]: unknown;
|
|
83
|
-
}[] | undefined;
|
|
84
|
-
name: string;
|
|
85
|
-
objective?: string | undefined;
|
|
86
|
-
tools?: string[] | undefined;
|
|
87
|
-
type: string;
|
|
88
|
-
};
|
|
25
|
+
[key: string]: unknown;
|
|
26
|
+
}[];
|
|
27
|
+
current_state: components["schemas"]["SimulationStateResponse"];
|
|
89
28
|
reachable_states?: {
|
|
90
|
-
[
|
|
91
|
-
}[]
|
|
92
|
-
state_transitions?: string[][]
|
|
93
|
-
states_visited?: string[]
|
|
94
|
-
terminal_reached?: boolean
|
|
95
|
-
terminal_state?: string | null
|
|
96
|
-
tools_called?: string[]
|
|
97
|
-
total_turns?: number
|
|
98
|
-
turn_policy?:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
block_forward_call_after_turns?: number | undefined;
|
|
102
|
-
context_strategy?: string | undefined;
|
|
103
|
-
greeting_shield_s?: number | undefined;
|
|
104
|
-
safety_response?: string | undefined;
|
|
105
|
-
} | undefined;
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}[];
|
|
31
|
+
state_transitions?: string[][];
|
|
32
|
+
states_visited?: string[];
|
|
33
|
+
terminal_reached?: boolean;
|
|
34
|
+
terminal_state?: string | null;
|
|
35
|
+
tools_called?: string[];
|
|
36
|
+
total_turns?: number;
|
|
37
|
+
turn_policy?: components["schemas"]["SimulationTurnPolicyResponse"];
|
|
38
|
+
} & {
|
|
39
|
+
[key: string]: unknown;
|
|
106
40
|
} & import("../index.js").ResponseMetadata>;
|
|
107
41
|
/** Delete a simulation session */
|
|
108
42
|
deleteSession(sessionId: SimulationSessionId | string): Promise<{
|
|
@@ -113,70 +47,8 @@ export declare class SimulationsResource extends WorkspaceScopedResource {
|
|
|
113
47
|
* Returns the agent's response observation and updated snapshot.
|
|
114
48
|
*/
|
|
115
49
|
step(body: components['schemas']['StepRequest']): Promise<{
|
|
116
|
-
observation:
|
|
117
|
-
|
|
118
|
-
empathy_tier?: number | undefined;
|
|
119
|
-
engine_ms?: number | null | undefined;
|
|
120
|
-
has_pause?: boolean | undefined;
|
|
121
|
-
is_terminal: boolean;
|
|
122
|
-
nav_ms?: number | null | undefined;
|
|
123
|
-
selected_action?: string | null | undefined;
|
|
124
|
-
state_after: string;
|
|
125
|
-
state_before: string;
|
|
126
|
-
state_changed: boolean;
|
|
127
|
-
tool_call_details?: {
|
|
128
|
-
call_id?: string | undefined;
|
|
129
|
-
input?: string | undefined;
|
|
130
|
-
result?: string | undefined;
|
|
131
|
-
succeeded?: boolean | undefined;
|
|
132
|
-
tool_name: string;
|
|
133
|
-
}[] | undefined;
|
|
134
|
-
tools_called?: string[] | undefined;
|
|
135
|
-
};
|
|
136
|
-
snapshot: {
|
|
137
|
-
[x: string]: unknown;
|
|
138
|
-
context_graph_topology?: {
|
|
139
|
-
[x: string]: string;
|
|
140
|
-
}[] | undefined;
|
|
141
|
-
conversation_history?: {
|
|
142
|
-
[x: string]: unknown;
|
|
143
|
-
}[] | undefined;
|
|
144
|
-
current_state: {
|
|
145
|
-
[x: string]: unknown;
|
|
146
|
-
action_guidelines?: string[] | undefined;
|
|
147
|
-
actions?: {
|
|
148
|
-
[x: string]: unknown;
|
|
149
|
-
}[] | undefined;
|
|
150
|
-
boundary_constraints?: string[] | undefined;
|
|
151
|
-
exit_conditions?: {
|
|
152
|
-
[x: string]: unknown;
|
|
153
|
-
}[] | undefined;
|
|
154
|
-
guardrails?: {
|
|
155
|
-
[x: string]: unknown;
|
|
156
|
-
}[] | undefined;
|
|
157
|
-
name: string;
|
|
158
|
-
objective?: string | undefined;
|
|
159
|
-
tools?: string[] | undefined;
|
|
160
|
-
type: string;
|
|
161
|
-
};
|
|
162
|
-
reachable_states?: {
|
|
163
|
-
[x: string]: unknown;
|
|
164
|
-
}[] | undefined;
|
|
165
|
-
state_transitions?: string[][] | undefined;
|
|
166
|
-
states_visited?: string[] | undefined;
|
|
167
|
-
terminal_reached?: boolean | undefined;
|
|
168
|
-
terminal_state?: string | null | undefined;
|
|
169
|
-
tools_called?: string[] | undefined;
|
|
170
|
-
total_turns?: number | undefined;
|
|
171
|
-
turn_policy?: {
|
|
172
|
-
barge_in_enabled?: boolean | undefined;
|
|
173
|
-
block_forward_call?: boolean | undefined;
|
|
174
|
-
block_forward_call_after_turns?: number | undefined;
|
|
175
|
-
context_strategy?: string | undefined;
|
|
176
|
-
greeting_shield_s?: number | undefined;
|
|
177
|
-
safety_response?: string | undefined;
|
|
178
|
-
} | undefined;
|
|
179
|
-
};
|
|
50
|
+
observation: components["schemas"]["SimulationObservation"];
|
|
51
|
+
snapshot: components["schemas"]["SimulationSnapshotResponse"];
|
|
180
52
|
} & import("../index.js").ResponseMetadata>;
|
|
181
53
|
/**
|
|
182
54
|
* Get LLM-generated caller message suggestions for the current session state.
|
|
@@ -188,7 +60,7 @@ export declare class SimulationsResource extends WorkspaceScopedResource {
|
|
|
188
60
|
/** Get AI-generated call intelligence for a completed session */
|
|
189
61
|
getIntelligence(sessionId: SimulationSessionId | string): Promise<{
|
|
190
62
|
intelligence: {
|
|
191
|
-
[
|
|
63
|
+
[key: string]: unknown;
|
|
192
64
|
};
|
|
193
65
|
session_id: string;
|
|
194
66
|
} & import("../index.js").ResponseMetadata>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulations.d.ts","sourceRoot":"","sources":["../../../src/resources/simulations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE;;;;;;GAMG;AACH,qBAAa,mBAAoB,SAAQ,uBAAuB;IAC9D,qFAAqF;IAC/E,aAAa,CACjB,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,gDAAgD,CAAC
|
|
1
|
+
{"version":3,"file":"simulations.d.ts","sourceRoot":"","sources":["../../../src/resources/simulations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE;;;;;;GAMG;AACH,qBAAa,mBAAoB,SAAQ,uBAAuB;IAC9D,qFAAqF;IAC/E,aAAa,CACjB,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,gDAAgD,CAAC;;;;kBA+D233lB,qBAAsB;;IArDh+3lB,4CAA4C;IACtC,UAAU,CAAC,SAAS,EAAE,mBAAmB,GAAG,MAAM;;;;;;;uBAoD074lB,qBAAsB;;;;;;;;;;sBAA6zC,qBAAsB;;;;IA5C317lB,kCAAkC;IAC5B,aAAa,CAAC,SAAS,EAAE,mBAAmB,GAAG,MAAM;;;IAQ3D;;;OAGG;IACG,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,aAAa,CAAC;qBA+Bgs+lB,qBAAsB;kBAAgD,qBAAsB;;IAtBj1+lB;;;OAGG;IACG,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;IAS/D,iEAAiE;IAC3D,eAAe,CAAC,SAAS,EAAE,mBAAmB,GAAG,MAAM;;;;;;CAO9D"}
|
|
@@ -28,12 +28,9 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
28
28
|
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
29
29
|
id: string;
|
|
30
30
|
input_schema: {
|
|
31
|
-
[
|
|
31
|
+
[key: string]: unknown;
|
|
32
32
|
};
|
|
33
|
-
integration_tools:
|
|
34
|
-
endpoint: string;
|
|
35
|
-
integration: string;
|
|
36
|
-
}[];
|
|
33
|
+
integration_tools: components["schemas"]["src__models__IntegrationToolRef"][];
|
|
37
34
|
max_agent_turns: number;
|
|
38
35
|
max_input_tokens: number | null;
|
|
39
36
|
max_result_chars: number;
|
|
@@ -41,17 +38,10 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
41
38
|
model: string;
|
|
42
39
|
name: string;
|
|
43
40
|
result_schema: {
|
|
44
|
-
[
|
|
41
|
+
[key: string]: unknown;
|
|
45
42
|
} | null;
|
|
46
43
|
slug: string;
|
|
47
|
-
static_tools:
|
|
48
|
-
description: string;
|
|
49
|
-
handler: string;
|
|
50
|
-
input_schema: {
|
|
51
|
-
[x: string]: unknown;
|
|
52
|
-
};
|
|
53
|
-
name: string;
|
|
54
|
-
}[];
|
|
44
|
+
static_tools: components["schemas"]["src__models__StaticToolDef"][];
|
|
55
45
|
system_prompt: string;
|
|
56
46
|
thinking_effort: ("low" | "medium" | "high") | null;
|
|
57
47
|
timeout_s: number;
|
|
@@ -63,57 +53,10 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
63
53
|
} & import("../index.js").ResponseMetadata>;
|
|
64
54
|
/** List skills in the workspace */
|
|
65
55
|
list(params?: ListSkillsParams): Promise<{
|
|
66
|
-
continuation_token?: number | null
|
|
56
|
+
continuation_token?: number | null;
|
|
67
57
|
has_more: boolean;
|
|
68
|
-
items:
|
|
69
|
-
|
|
70
|
-
browser_allowed_domains: string[];
|
|
71
|
-
browser_auth_integration: string | null;
|
|
72
|
-
browser_start_url: string | null;
|
|
73
|
-
checkpoint_enabled: boolean;
|
|
74
|
-
created_at: string;
|
|
75
|
-
delivery: "interrupt" | "queue";
|
|
76
|
-
description: string;
|
|
77
|
-
enable_caching: boolean;
|
|
78
|
-
enable_citations: boolean;
|
|
79
|
-
enabled: boolean;
|
|
80
|
-
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
81
|
-
id: string;
|
|
82
|
-
input_schema: {
|
|
83
|
-
[x: string]: unknown;
|
|
84
|
-
};
|
|
85
|
-
integration_tools: {
|
|
86
|
-
endpoint: string;
|
|
87
|
-
integration: string;
|
|
88
|
-
}[];
|
|
89
|
-
max_agent_turns: number;
|
|
90
|
-
max_input_tokens: number | null;
|
|
91
|
-
max_result_chars: number;
|
|
92
|
-
max_tokens: number;
|
|
93
|
-
model: string;
|
|
94
|
-
name: string;
|
|
95
|
-
result_schema: {
|
|
96
|
-
[x: string]: unknown;
|
|
97
|
-
} | null;
|
|
98
|
-
slug: string;
|
|
99
|
-
static_tools: {
|
|
100
|
-
description: string;
|
|
101
|
-
handler: string;
|
|
102
|
-
input_schema: {
|
|
103
|
-
[x: string]: unknown;
|
|
104
|
-
};
|
|
105
|
-
name: string;
|
|
106
|
-
}[];
|
|
107
|
-
system_prompt: string;
|
|
108
|
-
thinking_effort: ("low" | "medium" | "high") | null;
|
|
109
|
-
timeout_s: number;
|
|
110
|
-
updated_at: string;
|
|
111
|
-
urgency_keywords: string[];
|
|
112
|
-
use_structured_output: boolean;
|
|
113
|
-
version: number;
|
|
114
|
-
workspace_id: string;
|
|
115
|
-
}[];
|
|
116
|
-
total?: number | null | undefined;
|
|
58
|
+
items: components["schemas"]["SkillResponse"][];
|
|
59
|
+
total?: number | null;
|
|
117
60
|
} & import("../index.js").ResponseMetadata>;
|
|
118
61
|
listAutoPaging(params?: ListSkillsParams): AsyncGenerator<{
|
|
119
62
|
approval_required: boolean;
|
|
@@ -130,12 +73,9 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
130
73
|
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
131
74
|
id: string;
|
|
132
75
|
input_schema: {
|
|
133
|
-
[
|
|
76
|
+
[key: string]: unknown;
|
|
134
77
|
};
|
|
135
|
-
integration_tools:
|
|
136
|
-
endpoint: string;
|
|
137
|
-
integration: string;
|
|
138
|
-
}[];
|
|
78
|
+
integration_tools: components["schemas"]["src__models__IntegrationToolRef"][];
|
|
139
79
|
max_agent_turns: number;
|
|
140
80
|
max_input_tokens: number | null;
|
|
141
81
|
max_result_chars: number;
|
|
@@ -143,17 +83,10 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
143
83
|
model: string;
|
|
144
84
|
name: string;
|
|
145
85
|
result_schema: {
|
|
146
|
-
[
|
|
86
|
+
[key: string]: unknown;
|
|
147
87
|
} | null;
|
|
148
88
|
slug: string;
|
|
149
|
-
static_tools:
|
|
150
|
-
description: string;
|
|
151
|
-
handler: string;
|
|
152
|
-
input_schema: {
|
|
153
|
-
[x: string]: unknown;
|
|
154
|
-
};
|
|
155
|
-
name: string;
|
|
156
|
-
}[];
|
|
89
|
+
static_tools: components["schemas"]["src__models__StaticToolDef"][];
|
|
157
90
|
system_prompt: string;
|
|
158
91
|
thinking_effort: ("low" | "medium" | "high") | null;
|
|
159
92
|
timeout_s: number;
|
|
@@ -179,12 +112,9 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
179
112
|
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
180
113
|
id: string;
|
|
181
114
|
input_schema: {
|
|
182
|
-
[
|
|
115
|
+
[key: string]: unknown;
|
|
183
116
|
};
|
|
184
|
-
integration_tools:
|
|
185
|
-
endpoint: string;
|
|
186
|
-
integration: string;
|
|
187
|
-
}[];
|
|
117
|
+
integration_tools: components["schemas"]["src__models__IntegrationToolRef"][];
|
|
188
118
|
max_agent_turns: number;
|
|
189
119
|
max_input_tokens: number | null;
|
|
190
120
|
max_result_chars: number;
|
|
@@ -192,17 +122,10 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
192
122
|
model: string;
|
|
193
123
|
name: string;
|
|
194
124
|
result_schema: {
|
|
195
|
-
[
|
|
125
|
+
[key: string]: unknown;
|
|
196
126
|
} | null;
|
|
197
127
|
slug: string;
|
|
198
|
-
static_tools:
|
|
199
|
-
description: string;
|
|
200
|
-
handler: string;
|
|
201
|
-
input_schema: {
|
|
202
|
-
[x: string]: unknown;
|
|
203
|
-
};
|
|
204
|
-
name: string;
|
|
205
|
-
}[];
|
|
128
|
+
static_tools: components["schemas"]["src__models__StaticToolDef"][];
|
|
206
129
|
system_prompt: string;
|
|
207
130
|
thinking_effort: ("low" | "medium" | "high") | null;
|
|
208
131
|
timeout_s: number;
|
|
@@ -228,12 +151,9 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
228
151
|
execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
|
|
229
152
|
id: string;
|
|
230
153
|
input_schema: {
|
|
231
|
-
[
|
|
154
|
+
[key: string]: unknown;
|
|
232
155
|
};
|
|
233
|
-
integration_tools:
|
|
234
|
-
endpoint: string;
|
|
235
|
-
integration: string;
|
|
236
|
-
}[];
|
|
156
|
+
integration_tools: components["schemas"]["src__models__IntegrationToolRef"][];
|
|
237
157
|
max_agent_turns: number;
|
|
238
158
|
max_input_tokens: number | null;
|
|
239
159
|
max_result_chars: number;
|
|
@@ -241,17 +161,10 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
241
161
|
model: string;
|
|
242
162
|
name: string;
|
|
243
163
|
result_schema: {
|
|
244
|
-
[
|
|
164
|
+
[key: string]: unknown;
|
|
245
165
|
} | null;
|
|
246
166
|
slug: string;
|
|
247
|
-
static_tools:
|
|
248
|
-
description: string;
|
|
249
|
-
handler: string;
|
|
250
|
-
input_schema: {
|
|
251
|
-
[x: string]: unknown;
|
|
252
|
-
};
|
|
253
|
-
name: string;
|
|
254
|
-
}[];
|
|
167
|
+
static_tools: components["schemas"]["src__models__StaticToolDef"][];
|
|
255
168
|
system_prompt: string;
|
|
256
169
|
thinking_effort: ("low" | "medium" | "high") | null;
|
|
257
170
|
timeout_s: number;
|
|
@@ -270,21 +183,12 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
270
183
|
test(skillId: SkillId | string, body: components['schemas']['TestSkillRequest']): Promise<{
|
|
271
184
|
cached_tokens: number;
|
|
272
185
|
duration_ms: number;
|
|
273
|
-
error?: string | null
|
|
186
|
+
error?: string | null;
|
|
274
187
|
input_tokens: number;
|
|
275
188
|
output_tokens: number;
|
|
276
189
|
result: string;
|
|
277
190
|
rounds: number;
|
|
278
|
-
sub_tool_logs:
|
|
279
|
-
duration_ms: number;
|
|
280
|
-
input: {
|
|
281
|
-
[x: string]: unknown;
|
|
282
|
-
};
|
|
283
|
-
output: string;
|
|
284
|
-
round: number;
|
|
285
|
-
succeeded: boolean;
|
|
286
|
-
tool_name: string;
|
|
287
|
-
}[];
|
|
191
|
+
sub_tool_logs: components["schemas"]["SubToolLog"][];
|
|
288
192
|
} & import("../index.js").ResponseMetadata>;
|
|
289
193
|
}
|
|
290
194
|
//# sourceMappingURL=skills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/resources/skills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,uBAAuB;IACzD,yBAAyB;IACnB,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/resources/skills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,uBAAuB;IACzD,yBAAyB;IACnB,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC;;;;;;;;;;;;;;;;;2BA6D03nmB,qBAAsB;;;;;;;;;;;sBAAqpB,qBAAsB;;;;;;;;;;IApDznpmB,mCAAmC;IAC7B,IAAI,CAAC,MAAM,CAAC,EAAE,gBAAgB;;;eAmD084gB,qBAAsB;;;IA3Cpg5gB,cAAc,CAAC,MAAM,CAAC,EAAE,gBAAgB;;;;;;;;;;;;;;;;;2BA2Cg5nmB,qBAAsB;;;;;;;;;;;sBAAqpB,qBAAsB;;;;;;;;;;IAvCznpmB,yBAAyB;IACnB,GAAG,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM;;;;;;;;;;;;;;;;;2BAsCq5nmB,qBAAsB;;;;;;;;;;;sBAAqpB,qBAAsB;;;;;;;;;;IA9BznpmB,qBAAqB;IACf,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC;;;;;;;;;;;;;;;;;2BA6B+1nmB,qBAAsB;;;;;;;;;;;sBAAqpB,qBAAsB;;;;;;;;;;IApBznpmB,qBAAqB;IACf,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMtD;;;OAGG;IACG,IAAI,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;;;;;;uBASynxoB,qBAAsB;;CADruxoB"}
|
|
@@ -3,183 +3,155 @@ import { WorkspaceScopedResource } from './base.js';
|
|
|
3
3
|
import type { ListParams } from '../core/utils.js';
|
|
4
4
|
export declare class TriggersResource extends WorkspaceScopedResource {
|
|
5
5
|
list(params?: ListParams): Promise<{
|
|
6
|
-
continuation_token?: number | null
|
|
6
|
+
continuation_token?: number | null;
|
|
7
7
|
has_more: boolean;
|
|
8
|
-
items:
|
|
9
|
-
|
|
10
|
-
created_at?: string | null | undefined;
|
|
11
|
-
created_by?: string | null | undefined;
|
|
12
|
-
description?: string | null | undefined;
|
|
13
|
-
event_filter?: {
|
|
14
|
-
[x: string]: unknown;
|
|
15
|
-
} | null | undefined;
|
|
16
|
-
event_type: string;
|
|
17
|
-
id: string;
|
|
18
|
-
input_template: {
|
|
19
|
-
[x: string]: unknown;
|
|
20
|
-
};
|
|
21
|
-
is_active: boolean;
|
|
22
|
-
name: string;
|
|
23
|
-
next_fire_at?: string | null | undefined;
|
|
24
|
-
schedule?: string | null | undefined;
|
|
25
|
-
timezone: string;
|
|
26
|
-
updated_at?: string | null | undefined;
|
|
27
|
-
workspace_id: string;
|
|
28
|
-
}[];
|
|
29
|
-
total?: number | null | undefined;
|
|
8
|
+
items: components["schemas"]["TriggerResponse"][];
|
|
9
|
+
total?: number | null;
|
|
30
10
|
} & import("../index.js").ResponseMetadata>;
|
|
31
11
|
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
32
12
|
action_id: string;
|
|
33
|
-
created_at?: string | null
|
|
34
|
-
created_by?: string | null
|
|
35
|
-
description?: string | null
|
|
13
|
+
created_at?: string | null;
|
|
14
|
+
created_by?: string | null;
|
|
15
|
+
description?: string | null;
|
|
36
16
|
event_filter?: {
|
|
37
|
-
[
|
|
38
|
-
} | null
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
} | null;
|
|
39
19
|
event_type: string;
|
|
40
20
|
id: string;
|
|
41
21
|
input_template: {
|
|
42
|
-
[
|
|
22
|
+
[key: string]: unknown;
|
|
43
23
|
};
|
|
44
24
|
is_active: boolean;
|
|
45
25
|
name: string;
|
|
46
|
-
next_fire_at?: string | null
|
|
47
|
-
schedule?: string | null
|
|
26
|
+
next_fire_at?: string | null;
|
|
27
|
+
schedule?: string | null;
|
|
48
28
|
timezone: string;
|
|
49
|
-
updated_at?: string | null
|
|
29
|
+
updated_at?: string | null;
|
|
50
30
|
workspace_id: string;
|
|
51
31
|
}, any, any>;
|
|
52
32
|
create(body: components['schemas']['CreateTriggerRequest']): Promise<{
|
|
53
33
|
action_id: string;
|
|
54
|
-
created_at?: string | null
|
|
55
|
-
created_by?: string | null
|
|
56
|
-
description?: string | null
|
|
34
|
+
created_at?: string | null;
|
|
35
|
+
created_by?: string | null;
|
|
36
|
+
description?: string | null;
|
|
57
37
|
event_filter?: {
|
|
58
|
-
[
|
|
59
|
-
} | null
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
} | null;
|
|
60
40
|
event_type: string;
|
|
61
41
|
id: string;
|
|
62
42
|
input_template: {
|
|
63
|
-
[
|
|
43
|
+
[key: string]: unknown;
|
|
64
44
|
};
|
|
65
45
|
is_active: boolean;
|
|
66
46
|
name: string;
|
|
67
|
-
next_fire_at?: string | null
|
|
68
|
-
schedule?: string | null
|
|
47
|
+
next_fire_at?: string | null;
|
|
48
|
+
schedule?: string | null;
|
|
69
49
|
timezone: string;
|
|
70
|
-
updated_at?: string | null
|
|
50
|
+
updated_at?: string | null;
|
|
71
51
|
workspace_id: string;
|
|
72
52
|
} & import("../index.js").ResponseMetadata>;
|
|
73
53
|
get(triggerId: string): Promise<{
|
|
74
54
|
action_id: string;
|
|
75
|
-
created_at?: string | null
|
|
76
|
-
created_by?: string | null
|
|
77
|
-
description?: string | null
|
|
55
|
+
created_at?: string | null;
|
|
56
|
+
created_by?: string | null;
|
|
57
|
+
description?: string | null;
|
|
78
58
|
event_filter?: {
|
|
79
|
-
[
|
|
80
|
-
} | null
|
|
59
|
+
[key: string]: unknown;
|
|
60
|
+
} | null;
|
|
81
61
|
event_type: string;
|
|
82
62
|
id: string;
|
|
83
63
|
input_template: {
|
|
84
|
-
[
|
|
64
|
+
[key: string]: unknown;
|
|
85
65
|
};
|
|
86
66
|
is_active: boolean;
|
|
87
67
|
name: string;
|
|
88
|
-
next_fire_at?: string | null
|
|
89
|
-
schedule?: string | null
|
|
68
|
+
next_fire_at?: string | null;
|
|
69
|
+
schedule?: string | null;
|
|
90
70
|
timezone: string;
|
|
91
|
-
updated_at?: string | null
|
|
71
|
+
updated_at?: string | null;
|
|
92
72
|
workspace_id: string;
|
|
93
73
|
} & import("../index.js").ResponseMetadata>;
|
|
94
74
|
update(triggerId: string, body: components['schemas']['UpdateTriggerRequest']): Promise<{
|
|
95
75
|
action_id: string;
|
|
96
|
-
created_at?: string | null
|
|
97
|
-
created_by?: string | null
|
|
98
|
-
description?: string | null
|
|
76
|
+
created_at?: string | null;
|
|
77
|
+
created_by?: string | null;
|
|
78
|
+
description?: string | null;
|
|
99
79
|
event_filter?: {
|
|
100
|
-
[
|
|
101
|
-
} | null
|
|
80
|
+
[key: string]: unknown;
|
|
81
|
+
} | null;
|
|
102
82
|
event_type: string;
|
|
103
83
|
id: string;
|
|
104
84
|
input_template: {
|
|
105
|
-
[
|
|
85
|
+
[key: string]: unknown;
|
|
106
86
|
};
|
|
107
87
|
is_active: boolean;
|
|
108
88
|
name: string;
|
|
109
|
-
next_fire_at?: string | null
|
|
110
|
-
schedule?: string | null
|
|
89
|
+
next_fire_at?: string | null;
|
|
90
|
+
schedule?: string | null;
|
|
111
91
|
timezone: string;
|
|
112
|
-
updated_at?: string | null
|
|
92
|
+
updated_at?: string | null;
|
|
113
93
|
workspace_id: string;
|
|
114
94
|
} & import("../index.js").ResponseMetadata>;
|
|
115
95
|
delete(triggerId: string): Promise<void>;
|
|
116
96
|
fire(triggerId: string): Promise<{
|
|
117
97
|
fired_event_id: string;
|
|
118
|
-
status?: "fired"
|
|
98
|
+
status?: "fired";
|
|
119
99
|
trigger_id: string;
|
|
120
100
|
} & import("../index.js").ResponseMetadata>;
|
|
121
101
|
pause(triggerId: string): Promise<{
|
|
122
102
|
action_id: string;
|
|
123
|
-
created_at?: string | null
|
|
124
|
-
created_by?: string | null
|
|
125
|
-
description?: string | null
|
|
103
|
+
created_at?: string | null;
|
|
104
|
+
created_by?: string | null;
|
|
105
|
+
description?: string | null;
|
|
126
106
|
event_filter?: {
|
|
127
|
-
[
|
|
128
|
-
} | null
|
|
107
|
+
[key: string]: unknown;
|
|
108
|
+
} | null;
|
|
129
109
|
event_type: string;
|
|
130
110
|
id: string;
|
|
131
111
|
input_template: {
|
|
132
|
-
[
|
|
112
|
+
[key: string]: unknown;
|
|
133
113
|
};
|
|
134
114
|
is_active: boolean;
|
|
135
115
|
name: string;
|
|
136
|
-
next_fire_at?: string | null
|
|
137
|
-
schedule?: string | null
|
|
116
|
+
next_fire_at?: string | null;
|
|
117
|
+
schedule?: string | null;
|
|
138
118
|
timezone: string;
|
|
139
|
-
updated_at?: string | null
|
|
119
|
+
updated_at?: string | null;
|
|
140
120
|
workspace_id: string;
|
|
141
121
|
} & import("../index.js").ResponseMetadata>;
|
|
142
122
|
resume(triggerId: string): Promise<{
|
|
143
123
|
action_id: string;
|
|
144
|
-
created_at?: string | null
|
|
145
|
-
created_by?: string | null
|
|
146
|
-
description?: string | null
|
|
124
|
+
created_at?: string | null;
|
|
125
|
+
created_by?: string | null;
|
|
126
|
+
description?: string | null;
|
|
147
127
|
event_filter?: {
|
|
148
|
-
[
|
|
149
|
-
} | null
|
|
128
|
+
[key: string]: unknown;
|
|
129
|
+
} | null;
|
|
150
130
|
event_type: string;
|
|
151
131
|
id: string;
|
|
152
132
|
input_template: {
|
|
153
|
-
[
|
|
133
|
+
[key: string]: unknown;
|
|
154
134
|
};
|
|
155
135
|
is_active: boolean;
|
|
156
136
|
name: string;
|
|
157
|
-
next_fire_at?: string | null
|
|
158
|
-
schedule?: string | null
|
|
137
|
+
next_fire_at?: string | null;
|
|
138
|
+
schedule?: string | null;
|
|
159
139
|
timezone: string;
|
|
160
|
-
updated_at?: string | null
|
|
140
|
+
updated_at?: string | null;
|
|
161
141
|
workspace_id: string;
|
|
162
142
|
} & import("../index.js").ResponseMetadata>;
|
|
163
143
|
listRuns(triggerId: string, params?: ListParams): Promise<{
|
|
164
|
-
continuation_token?: number | null
|
|
144
|
+
continuation_token?: number | null;
|
|
165
145
|
has_more: boolean;
|
|
166
|
-
items:
|
|
167
|
-
|
|
168
|
-
data: {
|
|
169
|
-
[x: string]: unknown;
|
|
170
|
-
};
|
|
171
|
-
effective_at?: string | null | undefined;
|
|
172
|
-
event_id: string;
|
|
173
|
-
event_type: string;
|
|
174
|
-
}[];
|
|
175
|
-
total?: number | null | undefined;
|
|
146
|
+
items: components["schemas"]["TriggerRunResponse"][];
|
|
147
|
+
total?: number | null;
|
|
176
148
|
} & import("../index.js").ResponseMetadata>;
|
|
177
149
|
listRunsAutoPaging(triggerId: string, params?: ListParams): AsyncGenerator<{
|
|
178
|
-
created_at?: string | null
|
|
150
|
+
created_at?: string | null;
|
|
179
151
|
data: {
|
|
180
|
-
[
|
|
152
|
+
[key: string]: unknown;
|
|
181
153
|
};
|
|
182
|
-
effective_at?: string | null
|
|
154
|
+
effective_at?: string | null;
|
|
183
155
|
event_id: string;
|
|
184
156
|
event_type: string;
|
|
185
157
|
}, any, any>;
|