@amigo-ai/platform-sdk 0.5.1 → 0.5.3
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/README.md +81 -7
- package/api.md +5 -0
- package/dist/index.cjs +43 -10
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +43 -10
- package/dist/index.mjs.map +2 -2
- package/dist/resources/base.js +7 -2
- package/dist/resources/base.js.map +1 -1
- package/dist/resources/operators.js.map +1 -1
- package/dist/resources/personas.js.map +1 -1
- package/dist/resources/webhook-destinations.js.map +1 -1
- package/dist/resources/workspaces.js +22 -0
- package/dist/resources/workspaces.js.map +1 -1
- package/dist/resources/world.js.map +1 -1
- package/dist/types/generated/api.d.ts +13373 -13213
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.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/base.d.ts.map +1 -1
- 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 +643 -643
- 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/operators.d.ts.map +1 -1
- package/dist/types/resources/personas.d.ts +37 -37
- package/dist/types/resources/personas.d.ts.map +1 -1
- 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/webhook-destinations.d.ts.map +1 -1
- package/dist/types/resources/workspaces.d.ts +69 -35
- package/dist/types/resources/workspaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts +216 -216
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,78 +2,78 @@ import type { components } from '../generated/api.js';
|
|
|
2
2
|
import { WorkspaceScopedResource } from './base.js';
|
|
3
3
|
export declare class SafetyResource extends WorkspaceScopedResource {
|
|
4
4
|
getConfig(): Promise<{
|
|
5
|
-
accumulation_cumulative_count: number;
|
|
6
|
-
accumulation_enabled: boolean;
|
|
7
|
-
accumulation_fast_track_level: number;
|
|
8
|
-
accumulation_mild_threshold: number;
|
|
9
|
-
accumulation_single_turn_threshold: number;
|
|
10
|
-
accumulation_window_size: number;
|
|
11
|
-
applied_template_ids: string[];
|
|
12
5
|
triage_enabled: boolean;
|
|
13
|
-
triage_max_history_turns: number;
|
|
14
6
|
triage_model: string;
|
|
15
7
|
triage_timeout_s: number;
|
|
16
|
-
|
|
17
|
-
updateConfig(body: components['schemas']['UpdateSafetyConfigRequest']): Promise<{
|
|
18
|
-
accumulation_cumulative_count: number;
|
|
8
|
+
triage_max_history_turns: number;
|
|
19
9
|
accumulation_enabled: boolean;
|
|
20
|
-
accumulation_fast_track_level: number;
|
|
21
|
-
accumulation_mild_threshold: number;
|
|
22
|
-
accumulation_single_turn_threshold: number;
|
|
23
10
|
accumulation_window_size: number;
|
|
11
|
+
accumulation_single_turn_threshold: number;
|
|
12
|
+
accumulation_cumulative_count: number;
|
|
13
|
+
accumulation_mild_threshold: number;
|
|
14
|
+
accumulation_fast_track_level: number;
|
|
24
15
|
applied_template_ids: string[];
|
|
16
|
+
} & import("../index.js").ResponseMetadata>;
|
|
17
|
+
updateConfig(body: components['schemas']['UpdateSafetyConfigRequest']): Promise<{
|
|
25
18
|
triage_enabled: boolean;
|
|
26
|
-
triage_max_history_turns: number;
|
|
27
19
|
triage_model: string;
|
|
28
20
|
triage_timeout_s: number;
|
|
21
|
+
triage_max_history_turns: number;
|
|
22
|
+
accumulation_enabled: boolean;
|
|
23
|
+
accumulation_window_size: number;
|
|
24
|
+
accumulation_single_turn_threshold: number;
|
|
25
|
+
accumulation_cumulative_count: number;
|
|
26
|
+
accumulation_mild_threshold: number;
|
|
27
|
+
accumulation_fast_track_level: number;
|
|
28
|
+
applied_template_ids: string[];
|
|
29
29
|
} & import("../index.js").ResponseMetadata>;
|
|
30
30
|
listTemplates(): Promise<{
|
|
31
|
-
category: string;
|
|
32
|
-
description: string;
|
|
33
31
|
id: string;
|
|
34
|
-
is_composite?: boolean | undefined;
|
|
35
32
|
name: string;
|
|
36
33
|
regulation: string;
|
|
34
|
+
description: string;
|
|
35
|
+
category: string;
|
|
36
|
+
version: string;
|
|
37
37
|
rules: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
triage_hints: string[];
|
|
41
|
+
threshold: number;
|
|
42
|
+
standalone_threshold: number;
|
|
38
43
|
agent_config: {
|
|
39
44
|
[x: string]: unknown;
|
|
40
45
|
};
|
|
41
|
-
description: string;
|
|
42
46
|
escalation: {
|
|
43
47
|
[x: string]: unknown;
|
|
44
48
|
};
|
|
45
|
-
name: string;
|
|
46
|
-
standalone_threshold: number;
|
|
47
49
|
tags: string[];
|
|
48
|
-
threshold: number;
|
|
49
|
-
triage_hints: string[];
|
|
50
50
|
}[];
|
|
51
|
+
is_composite?: boolean | undefined;
|
|
51
52
|
template_ids?: string[] | undefined;
|
|
52
|
-
version: string;
|
|
53
53
|
}[] & import("../index.js").ResponseMetadata>;
|
|
54
54
|
getTemplate(templateId: string): Promise<{
|
|
55
|
-
category: string;
|
|
56
|
-
description: string;
|
|
57
55
|
id: string;
|
|
58
|
-
is_composite?: boolean | undefined;
|
|
59
56
|
name: string;
|
|
60
57
|
regulation: string;
|
|
58
|
+
description: string;
|
|
59
|
+
category: string;
|
|
60
|
+
version: string;
|
|
61
61
|
rules: {
|
|
62
|
+
name: string;
|
|
63
|
+
description: string;
|
|
64
|
+
triage_hints: string[];
|
|
65
|
+
threshold: number;
|
|
66
|
+
standalone_threshold: number;
|
|
62
67
|
agent_config: {
|
|
63
68
|
[x: string]: unknown;
|
|
64
69
|
};
|
|
65
|
-
description: string;
|
|
66
70
|
escalation: {
|
|
67
71
|
[x: string]: unknown;
|
|
68
72
|
};
|
|
69
|
-
name: string;
|
|
70
|
-
standalone_threshold: number;
|
|
71
73
|
tags: string[];
|
|
72
|
-
threshold: number;
|
|
73
|
-
triage_hints: string[];
|
|
74
74
|
}[];
|
|
75
|
+
is_composite?: boolean | undefined;
|
|
75
76
|
template_ids?: string[] | undefined;
|
|
76
|
-
version: string;
|
|
77
77
|
} & import("../index.js").ResponseMetadata>;
|
|
78
78
|
applyTemplate(templateId: string, body: components['schemas']['ApplyTemplateRequest']): Promise<{
|
|
79
79
|
created_concepts: string[];
|
|
@@ -13,28 +13,17 @@ export interface ListServicesParams extends ListParams {
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class ServicesResource extends WorkspaceScopedResource {
|
|
15
15
|
create(body: components['schemas']['CreateServiceRequest']): Promise<{
|
|
16
|
+
id: string;
|
|
17
|
+
workspace_id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
16
20
|
agent_id: string;
|
|
17
|
-
agent_name?: string | null | undefined;
|
|
18
|
-
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
19
21
|
context_graph_id: string;
|
|
22
|
+
agent_name?: string | null | undefined;
|
|
20
23
|
context_graph_name?: string | null | undefined;
|
|
21
|
-
created_at: string;
|
|
22
|
-
description: string;
|
|
23
|
-
environment?: "sandbox" | "production" | undefined;
|
|
24
|
-
id: string;
|
|
25
|
-
is_active: boolean;
|
|
26
|
-
is_system?: boolean | undefined;
|
|
27
|
-
keyterms: string[];
|
|
28
|
-
name: string;
|
|
29
|
-
persona_id?: string | null | undefined;
|
|
30
24
|
persona_name?: string | null | undefined;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
key: string;
|
|
34
|
-
value?: string | null | undefined;
|
|
35
|
-
}[];
|
|
36
|
-
tool_capacity: number;
|
|
37
|
-
updated_at: string;
|
|
25
|
+
keyterms: string[];
|
|
26
|
+
is_active: boolean;
|
|
38
27
|
version_sets: {
|
|
39
28
|
[x: string]: {
|
|
40
29
|
agent_version_number?: number | null | undefined;
|
|
@@ -49,55 +38,53 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
49
38
|
} | undefined;
|
|
50
39
|
};
|
|
51
40
|
};
|
|
41
|
+
tags: {
|
|
42
|
+
key: string;
|
|
43
|
+
value?: string | null | undefined;
|
|
44
|
+
}[];
|
|
45
|
+
tool_capacity: number;
|
|
46
|
+
safety_filters_enabled?: boolean | undefined;
|
|
47
|
+
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
48
|
+
environment?: "sandbox" | "production" | undefined;
|
|
52
49
|
voice_config?: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
barge_in_min_speech_s?: number | null | undefined;
|
|
50
|
+
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
51
|
+
max_buffer_delay_ms?: number | null | undefined;
|
|
56
52
|
eager_eot_threshold?: number | null | undefined;
|
|
57
|
-
empathy_hold_ms?: number | null | undefined;
|
|
58
53
|
eot_timeout_ms?: number | null | undefined;
|
|
59
|
-
filler_cooldown_ms?: number | null | undefined;
|
|
60
54
|
filler_style?: "backchannel" | "phrase" | "silent" | undefined;
|
|
61
55
|
filler_vocabulary?: string[] | null | undefined;
|
|
62
|
-
|
|
63
|
-
max_buffer_delay_ms?: number | null | undefined;
|
|
56
|
+
backchannel_delay_ms?: number | undefined;
|
|
64
57
|
max_response_sentences?: number | null | undefined;
|
|
65
58
|
max_response_words?: number | null | undefined;
|
|
59
|
+
barge_in_min_speech_s?: number | null | undefined;
|
|
60
|
+
barge_in_cooldown_s?: number | null | undefined;
|
|
66
61
|
min_tts_speed?: number | null | undefined;
|
|
67
62
|
post_eot_pause_ms?: number | null | undefined;
|
|
63
|
+
transition_deadline_ms?: number | null | undefined;
|
|
68
64
|
progress_interval_ms?: number | null | undefined;
|
|
65
|
+
empathy_hold_ms?: number | null | undefined;
|
|
66
|
+
filler_cooldown_ms?: number | null | undefined;
|
|
69
67
|
progress_vocabulary?: string[] | null | undefined;
|
|
70
|
-
|
|
71
|
-
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
68
|
+
forward_call_enabled?: boolean | undefined;
|
|
72
69
|
} | null | undefined;
|
|
73
|
-
|
|
70
|
+
persona_id?: string | null | undefined;
|
|
71
|
+
is_system?: boolean | undefined;
|
|
72
|
+
created_at: string;
|
|
73
|
+
updated_at: string;
|
|
74
74
|
} & import("../index.js").ResponseMetadata>;
|
|
75
75
|
list(params?: ListServicesParams): Promise<{
|
|
76
|
-
continuation_token?: number | null | undefined;
|
|
77
|
-
has_more: boolean;
|
|
78
76
|
items: {
|
|
77
|
+
id: string;
|
|
78
|
+
workspace_id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
description: string;
|
|
79
81
|
agent_id: string;
|
|
80
|
-
agent_name?: string | null | undefined;
|
|
81
|
-
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
82
82
|
context_graph_id: string;
|
|
83
|
+
agent_name?: string | null | undefined;
|
|
83
84
|
context_graph_name?: string | null | undefined;
|
|
84
|
-
created_at: string;
|
|
85
|
-
description: string;
|
|
86
|
-
environment?: "sandbox" | "production" | undefined;
|
|
87
|
-
id: string;
|
|
88
|
-
is_active: boolean;
|
|
89
|
-
is_system?: boolean | undefined;
|
|
90
|
-
keyterms: string[];
|
|
91
|
-
name: string;
|
|
92
|
-
persona_id?: string | null | undefined;
|
|
93
85
|
persona_name?: string | null | undefined;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
key: string;
|
|
97
|
-
value?: string | null | undefined;
|
|
98
|
-
}[];
|
|
99
|
-
tool_capacity: number;
|
|
100
|
-
updated_at: string;
|
|
86
|
+
keyterms: string[];
|
|
87
|
+
is_active: boolean;
|
|
101
88
|
version_sets: {
|
|
102
89
|
[x: string]: {
|
|
103
90
|
agent_version_number?: number | null | undefined;
|
|
@@ -112,54 +99,56 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
112
99
|
} | undefined;
|
|
113
100
|
};
|
|
114
101
|
};
|
|
102
|
+
tags: {
|
|
103
|
+
key: string;
|
|
104
|
+
value?: string | null | undefined;
|
|
105
|
+
}[];
|
|
106
|
+
tool_capacity: number;
|
|
107
|
+
safety_filters_enabled?: boolean | undefined;
|
|
108
|
+
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
109
|
+
environment?: "sandbox" | "production" | undefined;
|
|
115
110
|
voice_config?: {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
barge_in_min_speech_s?: number | null | undefined;
|
|
111
|
+
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
112
|
+
max_buffer_delay_ms?: number | null | undefined;
|
|
119
113
|
eager_eot_threshold?: number | null | undefined;
|
|
120
|
-
empathy_hold_ms?: number | null | undefined;
|
|
121
114
|
eot_timeout_ms?: number | null | undefined;
|
|
122
|
-
filler_cooldown_ms?: number | null | undefined;
|
|
123
115
|
filler_style?: "backchannel" | "phrase" | "silent" | undefined;
|
|
124
116
|
filler_vocabulary?: string[] | null | undefined;
|
|
125
|
-
|
|
126
|
-
max_buffer_delay_ms?: number | null | undefined;
|
|
117
|
+
backchannel_delay_ms?: number | undefined;
|
|
127
118
|
max_response_sentences?: number | null | undefined;
|
|
128
119
|
max_response_words?: number | null | undefined;
|
|
120
|
+
barge_in_min_speech_s?: number | null | undefined;
|
|
121
|
+
barge_in_cooldown_s?: number | null | undefined;
|
|
129
122
|
min_tts_speed?: number | null | undefined;
|
|
130
123
|
post_eot_pause_ms?: number | null | undefined;
|
|
124
|
+
transition_deadline_ms?: number | null | undefined;
|
|
131
125
|
progress_interval_ms?: number | null | undefined;
|
|
126
|
+
empathy_hold_ms?: number | null | undefined;
|
|
127
|
+
filler_cooldown_ms?: number | null | undefined;
|
|
132
128
|
progress_vocabulary?: string[] | null | undefined;
|
|
133
|
-
|
|
134
|
-
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
129
|
+
forward_call_enabled?: boolean | undefined;
|
|
135
130
|
} | null | undefined;
|
|
136
|
-
|
|
131
|
+
persona_id?: string | null | undefined;
|
|
132
|
+
is_system?: boolean | undefined;
|
|
133
|
+
created_at: string;
|
|
134
|
+
updated_at: string;
|
|
137
135
|
}[];
|
|
136
|
+
has_more: boolean;
|
|
137
|
+
continuation_token?: number | null | undefined;
|
|
138
138
|
total?: number | null | undefined;
|
|
139
139
|
} & import("../index.js").ResponseMetadata>;
|
|
140
140
|
listAutoPaging(params?: ListServicesParams): AsyncGenerator<{
|
|
141
|
+
id: string;
|
|
142
|
+
workspace_id: string;
|
|
143
|
+
name: string;
|
|
144
|
+
description: string;
|
|
141
145
|
agent_id: string;
|
|
142
|
-
agent_name?: string | null | undefined;
|
|
143
|
-
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
144
146
|
context_graph_id: string;
|
|
147
|
+
agent_name?: string | null | undefined;
|
|
145
148
|
context_graph_name?: string | null | undefined;
|
|
146
|
-
created_at: string;
|
|
147
|
-
description: string;
|
|
148
|
-
environment?: "sandbox" | "production" | undefined;
|
|
149
|
-
id: string;
|
|
150
|
-
is_active: boolean;
|
|
151
|
-
is_system?: boolean | undefined;
|
|
152
|
-
keyterms: string[];
|
|
153
|
-
name: string;
|
|
154
|
-
persona_id?: string | null | undefined;
|
|
155
149
|
persona_name?: string | null | undefined;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
key: string;
|
|
159
|
-
value?: string | null | undefined;
|
|
160
|
-
}[];
|
|
161
|
-
tool_capacity: number;
|
|
162
|
-
updated_at: string;
|
|
150
|
+
keyterms: string[];
|
|
151
|
+
is_active: boolean;
|
|
163
152
|
version_sets: {
|
|
164
153
|
[x: string]: {
|
|
165
154
|
agent_version_number?: number | null | undefined;
|
|
@@ -174,52 +163,52 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
174
163
|
} | undefined;
|
|
175
164
|
};
|
|
176
165
|
};
|
|
166
|
+
tags: {
|
|
167
|
+
key: string;
|
|
168
|
+
value?: string | null | undefined;
|
|
169
|
+
}[];
|
|
170
|
+
tool_capacity: number;
|
|
171
|
+
safety_filters_enabled?: boolean | undefined;
|
|
172
|
+
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
173
|
+
environment?: "sandbox" | "production" | undefined;
|
|
177
174
|
voice_config?: {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
barge_in_min_speech_s?: number | null | undefined;
|
|
175
|
+
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
176
|
+
max_buffer_delay_ms?: number | null | undefined;
|
|
181
177
|
eager_eot_threshold?: number | null | undefined;
|
|
182
|
-
empathy_hold_ms?: number | null | undefined;
|
|
183
178
|
eot_timeout_ms?: number | null | undefined;
|
|
184
|
-
filler_cooldown_ms?: number | null | undefined;
|
|
185
179
|
filler_style?: "backchannel" | "phrase" | "silent" | undefined;
|
|
186
180
|
filler_vocabulary?: string[] | null | undefined;
|
|
187
|
-
|
|
188
|
-
max_buffer_delay_ms?: number | null | undefined;
|
|
181
|
+
backchannel_delay_ms?: number | undefined;
|
|
189
182
|
max_response_sentences?: number | null | undefined;
|
|
190
183
|
max_response_words?: number | null | undefined;
|
|
184
|
+
barge_in_min_speech_s?: number | null | undefined;
|
|
185
|
+
barge_in_cooldown_s?: number | null | undefined;
|
|
191
186
|
min_tts_speed?: number | null | undefined;
|
|
192
187
|
post_eot_pause_ms?: number | null | undefined;
|
|
188
|
+
transition_deadline_ms?: number | null | undefined;
|
|
193
189
|
progress_interval_ms?: number | null | undefined;
|
|
190
|
+
empathy_hold_ms?: number | null | undefined;
|
|
191
|
+
filler_cooldown_ms?: number | null | undefined;
|
|
194
192
|
progress_vocabulary?: string[] | null | undefined;
|
|
195
|
-
|
|
196
|
-
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
193
|
+
forward_call_enabled?: boolean | undefined;
|
|
197
194
|
} | null | undefined;
|
|
198
|
-
|
|
195
|
+
persona_id?: string | null | undefined;
|
|
196
|
+
is_system?: boolean | undefined;
|
|
197
|
+
created_at: string;
|
|
198
|
+
updated_at: string;
|
|
199
199
|
}, any, any>;
|
|
200
200
|
get(serviceId: ServiceId | string): Promise<{
|
|
201
|
+
id: string;
|
|
202
|
+
workspace_id: string;
|
|
203
|
+
name: string;
|
|
204
|
+
description: string;
|
|
201
205
|
agent_id: string;
|
|
202
|
-
agent_name?: string | null | undefined;
|
|
203
|
-
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
204
206
|
context_graph_id: string;
|
|
207
|
+
agent_name?: string | null | undefined;
|
|
205
208
|
context_graph_name?: string | null | undefined;
|
|
206
|
-
created_at: string;
|
|
207
|
-
description: string;
|
|
208
|
-
environment?: "sandbox" | "production" | undefined;
|
|
209
|
-
id: string;
|
|
210
|
-
is_active: boolean;
|
|
211
|
-
is_system?: boolean | undefined;
|
|
212
|
-
keyterms: string[];
|
|
213
|
-
name: string;
|
|
214
|
-
persona_id?: string | null | undefined;
|
|
215
209
|
persona_name?: string | null | undefined;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
key: string;
|
|
219
|
-
value?: string | null | undefined;
|
|
220
|
-
}[];
|
|
221
|
-
tool_capacity: number;
|
|
222
|
-
updated_at: string;
|
|
210
|
+
keyterms: string[];
|
|
211
|
+
is_active: boolean;
|
|
223
212
|
version_sets: {
|
|
224
213
|
[x: string]: {
|
|
225
214
|
agent_version_number?: number | null | undefined;
|
|
@@ -234,52 +223,52 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
234
223
|
} | undefined;
|
|
235
224
|
};
|
|
236
225
|
};
|
|
226
|
+
tags: {
|
|
227
|
+
key: string;
|
|
228
|
+
value?: string | null | undefined;
|
|
229
|
+
}[];
|
|
230
|
+
tool_capacity: number;
|
|
231
|
+
safety_filters_enabled?: boolean | undefined;
|
|
232
|
+
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
233
|
+
environment?: "sandbox" | "production" | undefined;
|
|
237
234
|
voice_config?: {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
barge_in_min_speech_s?: number | null | undefined;
|
|
235
|
+
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
236
|
+
max_buffer_delay_ms?: number | null | undefined;
|
|
241
237
|
eager_eot_threshold?: number | null | undefined;
|
|
242
|
-
empathy_hold_ms?: number | null | undefined;
|
|
243
238
|
eot_timeout_ms?: number | null | undefined;
|
|
244
|
-
filler_cooldown_ms?: number | null | undefined;
|
|
245
239
|
filler_style?: "backchannel" | "phrase" | "silent" | undefined;
|
|
246
240
|
filler_vocabulary?: string[] | null | undefined;
|
|
247
|
-
|
|
248
|
-
max_buffer_delay_ms?: number | null | undefined;
|
|
241
|
+
backchannel_delay_ms?: number | undefined;
|
|
249
242
|
max_response_sentences?: number | null | undefined;
|
|
250
243
|
max_response_words?: number | null | undefined;
|
|
244
|
+
barge_in_min_speech_s?: number | null | undefined;
|
|
245
|
+
barge_in_cooldown_s?: number | null | undefined;
|
|
251
246
|
min_tts_speed?: number | null | undefined;
|
|
252
247
|
post_eot_pause_ms?: number | null | undefined;
|
|
248
|
+
transition_deadline_ms?: number | null | undefined;
|
|
253
249
|
progress_interval_ms?: number | null | undefined;
|
|
250
|
+
empathy_hold_ms?: number | null | undefined;
|
|
251
|
+
filler_cooldown_ms?: number | null | undefined;
|
|
254
252
|
progress_vocabulary?: string[] | null | undefined;
|
|
255
|
-
|
|
256
|
-
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
253
|
+
forward_call_enabled?: boolean | undefined;
|
|
257
254
|
} | null | undefined;
|
|
258
|
-
|
|
255
|
+
persona_id?: string | null | undefined;
|
|
256
|
+
is_system?: boolean | undefined;
|
|
257
|
+
created_at: string;
|
|
258
|
+
updated_at: string;
|
|
259
259
|
} & import("../index.js").ResponseMetadata>;
|
|
260
260
|
update(serviceId: ServiceId | string, body: components['schemas']['UpdateServiceRequest']): Promise<{
|
|
261
|
+
id: string;
|
|
262
|
+
workspace_id: string;
|
|
263
|
+
name: string;
|
|
264
|
+
description: string;
|
|
261
265
|
agent_id: string;
|
|
262
|
-
agent_name?: string | null | undefined;
|
|
263
|
-
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
264
266
|
context_graph_id: string;
|
|
267
|
+
agent_name?: string | null | undefined;
|
|
265
268
|
context_graph_name?: string | null | undefined;
|
|
266
|
-
created_at: string;
|
|
267
|
-
description: string;
|
|
268
|
-
environment?: "sandbox" | "production" | undefined;
|
|
269
|
-
id: string;
|
|
270
|
-
is_active: boolean;
|
|
271
|
-
is_system?: boolean | undefined;
|
|
272
|
-
keyterms: string[];
|
|
273
|
-
name: string;
|
|
274
|
-
persona_id?: string | null | undefined;
|
|
275
269
|
persona_name?: string | null | undefined;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
key: string;
|
|
279
|
-
value?: string | null | undefined;
|
|
280
|
-
}[];
|
|
281
|
-
tool_capacity: number;
|
|
282
|
-
updated_at: string;
|
|
270
|
+
keyterms: string[];
|
|
271
|
+
is_active: boolean;
|
|
283
272
|
version_sets: {
|
|
284
273
|
[x: string]: {
|
|
285
274
|
agent_version_number?: number | null | undefined;
|
|
@@ -294,28 +283,39 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
294
283
|
} | undefined;
|
|
295
284
|
};
|
|
296
285
|
};
|
|
286
|
+
tags: {
|
|
287
|
+
key: string;
|
|
288
|
+
value?: string | null | undefined;
|
|
289
|
+
}[];
|
|
290
|
+
tool_capacity: number;
|
|
291
|
+
safety_filters_enabled?: boolean | undefined;
|
|
292
|
+
channel_type?: "voice" | "text" | "scribe" | undefined;
|
|
293
|
+
environment?: "sandbox" | "production" | undefined;
|
|
297
294
|
voice_config?: {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
barge_in_min_speech_s?: number | null | undefined;
|
|
295
|
+
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
296
|
+
max_buffer_delay_ms?: number | null | undefined;
|
|
301
297
|
eager_eot_threshold?: number | null | undefined;
|
|
302
|
-
empathy_hold_ms?: number | null | undefined;
|
|
303
298
|
eot_timeout_ms?: number | null | undefined;
|
|
304
|
-
filler_cooldown_ms?: number | null | undefined;
|
|
305
299
|
filler_style?: "backchannel" | "phrase" | "silent" | undefined;
|
|
306
300
|
filler_vocabulary?: string[] | null | undefined;
|
|
307
|
-
|
|
308
|
-
max_buffer_delay_ms?: number | null | undefined;
|
|
301
|
+
backchannel_delay_ms?: number | undefined;
|
|
309
302
|
max_response_sentences?: number | null | undefined;
|
|
310
303
|
max_response_words?: number | null | undefined;
|
|
304
|
+
barge_in_min_speech_s?: number | null | undefined;
|
|
305
|
+
barge_in_cooldown_s?: number | null | undefined;
|
|
311
306
|
min_tts_speed?: number | null | undefined;
|
|
312
307
|
post_eot_pause_ms?: number | null | undefined;
|
|
308
|
+
transition_deadline_ms?: number | null | undefined;
|
|
313
309
|
progress_interval_ms?: number | null | undefined;
|
|
310
|
+
empathy_hold_ms?: number | null | undefined;
|
|
311
|
+
filler_cooldown_ms?: number | null | undefined;
|
|
314
312
|
progress_vocabulary?: string[] | null | undefined;
|
|
315
|
-
|
|
316
|
-
tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
|
|
313
|
+
forward_call_enabled?: boolean | undefined;
|
|
317
314
|
} | null | undefined;
|
|
318
|
-
|
|
315
|
+
persona_id?: string | null | undefined;
|
|
316
|
+
is_system?: boolean | undefined;
|
|
317
|
+
created_at: string;
|
|
318
|
+
updated_at: string;
|
|
319
319
|
} & import("../index.js").ResponseMetadata>;
|
|
320
320
|
delete(serviceId: ServiceId | string): Promise<void>;
|
|
321
321
|
}
|