@amigo-ai/platform-sdk 0.4.6 → 0.4.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.
Files changed (57) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/dist/types/generated/api.d.ts +581 -46
  4. package/dist/types/generated/api.d.ts.map +1 -1
  5. package/dist/types/resources/actions.d.ts +126 -22
  6. package/dist/types/resources/actions.d.ts.map +1 -1
  7. package/dist/types/resources/agents.d.ts +102 -16
  8. package/dist/types/resources/agents.d.ts.map +1 -1
  9. package/dist/types/resources/analytics.d.ts +74 -22
  10. package/dist/types/resources/analytics.d.ts.map +1 -1
  11. package/dist/types/resources/api-keys.d.ts +16 -3
  12. package/dist/types/resources/api-keys.d.ts.map +1 -1
  13. package/dist/types/resources/audit.d.ts +87 -31
  14. package/dist/types/resources/audit.d.ts.map +1 -1
  15. package/dist/types/resources/billing.d.ts +42 -9
  16. package/dist/types/resources/billing.d.ts.map +1 -1
  17. package/dist/types/resources/calls.d.ts +169 -65
  18. package/dist/types/resources/calls.d.ts.map +1 -1
  19. package/dist/types/resources/compliance.d.ts +6 -6
  20. package/dist/types/resources/context-graphs.d.ts +814 -17
  21. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  22. package/dist/types/resources/data-sources.d.ts +68 -31
  23. package/dist/types/resources/data-sources.d.ts.map +1 -1
  24. package/dist/types/resources/functions.d.ts +49 -22
  25. package/dist/types/resources/functions.d.ts.map +1 -1
  26. package/dist/types/resources/integrations.d.ts +379 -49
  27. package/dist/types/resources/integrations.d.ts.map +1 -1
  28. package/dist/types/resources/memory.d.ts +48 -4
  29. package/dist/types/resources/memory.d.ts.map +1 -1
  30. package/dist/types/resources/operators.d.ts +189 -64
  31. package/dist/types/resources/operators.d.ts.map +1 -1
  32. package/dist/types/resources/personas.d.ts +20 -7
  33. package/dist/types/resources/personas.d.ts.map +1 -1
  34. package/dist/types/resources/phone-numbers.d.ts +46 -8
  35. package/dist/types/resources/phone-numbers.d.ts.map +1 -1
  36. package/dist/types/resources/recordings.d.ts +4 -4
  37. package/dist/types/resources/review-queue.d.ts +350 -49
  38. package/dist/types/resources/review-queue.d.ts.map +1 -1
  39. package/dist/types/resources/safety.d.ts +32 -6
  40. package/dist/types/resources/safety.d.ts.map +1 -1
  41. package/dist/types/resources/services.d.ts +212 -47
  42. package/dist/types/resources/services.d.ts.map +1 -1
  43. package/dist/types/resources/settings.d.ts +398 -36
  44. package/dist/types/resources/settings.d.ts.map +1 -1
  45. package/dist/types/resources/simulations.d.ts +150 -22
  46. package/dist/types/resources/simulations.d.ts.map +1 -1
  47. package/dist/types/resources/skills.d.ts +117 -21
  48. package/dist/types/resources/skills.d.ts.map +1 -1
  49. package/dist/types/resources/triggers.d.ts +92 -64
  50. package/dist/types/resources/triggers.d.ts.map +1 -1
  51. package/dist/types/resources/webhook-destinations.d.ts +44 -20
  52. package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
  53. package/dist/types/resources/workspaces.d.ts +14 -3
  54. package/dist/types/resources/workspaces.d.ts.map +1 -1
  55. package/dist/types/resources/world.d.ts +322 -121
  56. package/dist/types/resources/world.d.ts.map +1 -1
  57. package/package.json +3 -3
@@ -14,112 +14,277 @@ export interface ListServicesParams extends ListParams {
14
14
  export declare class ServicesResource extends WorkspaceScopedResource {
15
15
  create(body: components['schemas']['CreateServiceRequest']): Promise<{
16
16
  agent_id: string;
17
- agent_name?: string | null;
18
- channel_type?: "voice" | "text" | "scribe";
17
+ agent_name?: string | null | undefined;
18
+ channel_type?: "voice" | "text" | "scribe" | undefined;
19
19
  context_graph_id: string;
20
- context_graph_name?: string | null;
20
+ context_graph_name?: string | null | undefined;
21
21
  created_at: string;
22
22
  description: string;
23
- environment?: "sandbox" | "production";
23
+ environment?: "sandbox" | "production" | undefined;
24
24
  id: string;
25
25
  is_active: boolean;
26
- is_system?: boolean;
26
+ is_system?: boolean | undefined;
27
27
  keyterms: string[];
28
28
  name: string;
29
- persona_id?: string | null;
30
- persona_name?: string | null;
31
- safety_filters_enabled?: boolean;
32
- tags: components["schemas"]["ServiceTag"][];
29
+ persona_id?: string | null | undefined;
30
+ persona_name?: string | null | undefined;
31
+ safety_filters_enabled?: boolean | undefined;
32
+ tags: {
33
+ key: string;
34
+ value?: string | null | undefined;
35
+ }[];
33
36
  tool_capacity: number;
34
37
  updated_at: string;
35
38
  version_sets: {
36
- [key: string]: components["schemas"]["VersionSet"];
39
+ [x: string]: {
40
+ agent_version_number?: number | null | undefined;
41
+ context_graph_version_number?: number | null | undefined;
42
+ llm_model_preferences?: {
43
+ [x: string]: {
44
+ llm_name: string;
45
+ params?: {
46
+ [x: string]: unknown;
47
+ } | undefined;
48
+ };
49
+ } | undefined;
50
+ };
37
51
  };
38
- voice_config?: components["schemas"]["ServiceVoiceConfig"] | null;
52
+ voice_config?: {
53
+ backchannel_delay_ms?: number | undefined;
54
+ barge_in_cooldown_s?: number | null | undefined;
55
+ barge_in_min_speech_s?: number | null | undefined;
56
+ eager_eot_threshold?: number | null | undefined;
57
+ eot_timeout_ms?: number | null | undefined;
58
+ filler_style?: "backchannel" | "phrase" | "silent" | undefined;
59
+ filler_vocabulary?: string[] | null | undefined;
60
+ forward_call_enabled?: boolean | undefined;
61
+ max_buffer_delay_ms?: number | null | undefined;
62
+ max_response_sentences?: number | null | undefined;
63
+ max_response_words?: number | null | undefined;
64
+ min_tts_speed?: number | null | undefined;
65
+ tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
66
+ } | null | undefined;
39
67
  workspace_id: string;
40
68
  } & import("../index.js").ResponseMetadata>;
41
69
  list(params?: ListServicesParams): Promise<{
42
- continuation_token?: number | null;
70
+ continuation_token?: number | null | undefined;
43
71
  has_more: boolean;
44
- items: components["schemas"]["ServiceResponse"][];
45
- total?: number | null;
72
+ items: {
73
+ agent_id: string;
74
+ agent_name?: string | null | undefined;
75
+ channel_type?: "voice" | "text" | "scribe" | undefined;
76
+ context_graph_id: string;
77
+ context_graph_name?: string | null | undefined;
78
+ created_at: string;
79
+ description: string;
80
+ environment?: "sandbox" | "production" | undefined;
81
+ id: string;
82
+ is_active: boolean;
83
+ is_system?: boolean | undefined;
84
+ keyterms: string[];
85
+ name: string;
86
+ persona_id?: string | null | undefined;
87
+ persona_name?: string | null | undefined;
88
+ safety_filters_enabled?: boolean | undefined;
89
+ tags: {
90
+ key: string;
91
+ value?: string | null | undefined;
92
+ }[];
93
+ tool_capacity: number;
94
+ updated_at: string;
95
+ version_sets: {
96
+ [x: string]: {
97
+ agent_version_number?: number | null | undefined;
98
+ context_graph_version_number?: number | null | undefined;
99
+ llm_model_preferences?: {
100
+ [x: string]: {
101
+ llm_name: string;
102
+ params?: {
103
+ [x: string]: unknown;
104
+ } | undefined;
105
+ };
106
+ } | undefined;
107
+ };
108
+ };
109
+ voice_config?: {
110
+ backchannel_delay_ms?: number | undefined;
111
+ barge_in_cooldown_s?: number | null | undefined;
112
+ barge_in_min_speech_s?: number | null | undefined;
113
+ eager_eot_threshold?: number | null | undefined;
114
+ eot_timeout_ms?: number | null | undefined;
115
+ filler_style?: "backchannel" | "phrase" | "silent" | undefined;
116
+ filler_vocabulary?: string[] | null | undefined;
117
+ forward_call_enabled?: boolean | undefined;
118
+ max_buffer_delay_ms?: number | null | undefined;
119
+ max_response_sentences?: number | null | undefined;
120
+ max_response_words?: number | null | undefined;
121
+ min_tts_speed?: number | null | undefined;
122
+ tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
123
+ } | null | undefined;
124
+ workspace_id: string;
125
+ }[];
126
+ total?: number | null | undefined;
46
127
  } & import("../index.js").ResponseMetadata>;
47
128
  listAutoPaging(params?: ListServicesParams): AsyncGenerator<{
48
129
  agent_id: string;
49
- agent_name?: string | null;
50
- channel_type?: "voice" | "text" | "scribe";
130
+ agent_name?: string | null | undefined;
131
+ channel_type?: "voice" | "text" | "scribe" | undefined;
51
132
  context_graph_id: string;
52
- context_graph_name?: string | null;
133
+ context_graph_name?: string | null | undefined;
53
134
  created_at: string;
54
135
  description: string;
55
- environment?: "sandbox" | "production";
136
+ environment?: "sandbox" | "production" | undefined;
56
137
  id: string;
57
138
  is_active: boolean;
58
- is_system?: boolean;
139
+ is_system?: boolean | undefined;
59
140
  keyterms: string[];
60
141
  name: string;
61
- persona_id?: string | null;
62
- persona_name?: string | null;
63
- safety_filters_enabled?: boolean;
64
- tags: components["schemas"]["ServiceTag"][];
142
+ persona_id?: string | null | undefined;
143
+ persona_name?: string | null | undefined;
144
+ safety_filters_enabled?: boolean | undefined;
145
+ tags: {
146
+ key: string;
147
+ value?: string | null | undefined;
148
+ }[];
65
149
  tool_capacity: number;
66
150
  updated_at: string;
67
151
  version_sets: {
68
- [key: string]: components["schemas"]["VersionSet"];
152
+ [x: string]: {
153
+ agent_version_number?: number | null | undefined;
154
+ context_graph_version_number?: number | null | undefined;
155
+ llm_model_preferences?: {
156
+ [x: string]: {
157
+ llm_name: string;
158
+ params?: {
159
+ [x: string]: unknown;
160
+ } | undefined;
161
+ };
162
+ } | undefined;
163
+ };
69
164
  };
70
- voice_config?: components["schemas"]["ServiceVoiceConfig"] | null;
165
+ voice_config?: {
166
+ backchannel_delay_ms?: number | undefined;
167
+ barge_in_cooldown_s?: number | null | undefined;
168
+ barge_in_min_speech_s?: number | null | undefined;
169
+ eager_eot_threshold?: number | null | undefined;
170
+ eot_timeout_ms?: number | null | undefined;
171
+ filler_style?: "backchannel" | "phrase" | "silent" | undefined;
172
+ filler_vocabulary?: string[] | null | undefined;
173
+ forward_call_enabled?: boolean | undefined;
174
+ max_buffer_delay_ms?: number | null | undefined;
175
+ max_response_sentences?: number | null | undefined;
176
+ max_response_words?: number | null | undefined;
177
+ min_tts_speed?: number | null | undefined;
178
+ tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
179
+ } | null | undefined;
71
180
  workspace_id: string;
72
181
  }, any, any>;
73
182
  get(serviceId: ServiceId | string): Promise<{
74
183
  agent_id: string;
75
- agent_name?: string | null;
76
- channel_type?: "voice" | "text" | "scribe";
184
+ agent_name?: string | null | undefined;
185
+ channel_type?: "voice" | "text" | "scribe" | undefined;
77
186
  context_graph_id: string;
78
- context_graph_name?: string | null;
187
+ context_graph_name?: string | null | undefined;
79
188
  created_at: string;
80
189
  description: string;
81
- environment?: "sandbox" | "production";
190
+ environment?: "sandbox" | "production" | undefined;
82
191
  id: string;
83
192
  is_active: boolean;
84
- is_system?: boolean;
193
+ is_system?: boolean | undefined;
85
194
  keyterms: string[];
86
195
  name: string;
87
- persona_id?: string | null;
88
- persona_name?: string | null;
89
- safety_filters_enabled?: boolean;
90
- tags: components["schemas"]["ServiceTag"][];
196
+ persona_id?: string | null | undefined;
197
+ persona_name?: string | null | undefined;
198
+ safety_filters_enabled?: boolean | undefined;
199
+ tags: {
200
+ key: string;
201
+ value?: string | null | undefined;
202
+ }[];
91
203
  tool_capacity: number;
92
204
  updated_at: string;
93
205
  version_sets: {
94
- [key: string]: components["schemas"]["VersionSet"];
206
+ [x: string]: {
207
+ agent_version_number?: number | null | undefined;
208
+ context_graph_version_number?: number | null | undefined;
209
+ llm_model_preferences?: {
210
+ [x: string]: {
211
+ llm_name: string;
212
+ params?: {
213
+ [x: string]: unknown;
214
+ } | undefined;
215
+ };
216
+ } | undefined;
217
+ };
95
218
  };
96
- voice_config?: components["schemas"]["ServiceVoiceConfig"] | null;
219
+ voice_config?: {
220
+ backchannel_delay_ms?: number | undefined;
221
+ barge_in_cooldown_s?: number | null | undefined;
222
+ barge_in_min_speech_s?: number | null | undefined;
223
+ eager_eot_threshold?: number | null | undefined;
224
+ eot_timeout_ms?: number | null | undefined;
225
+ filler_style?: "backchannel" | "phrase" | "silent" | undefined;
226
+ filler_vocabulary?: string[] | null | undefined;
227
+ forward_call_enabled?: boolean | undefined;
228
+ max_buffer_delay_ms?: number | null | undefined;
229
+ max_response_sentences?: number | null | undefined;
230
+ max_response_words?: number | null | undefined;
231
+ min_tts_speed?: number | null | undefined;
232
+ tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
233
+ } | null | undefined;
97
234
  workspace_id: string;
98
235
  } & import("../index.js").ResponseMetadata>;
99
236
  update(serviceId: ServiceId | string, body: components['schemas']['UpdateServiceRequest']): Promise<{
100
237
  agent_id: string;
101
- agent_name?: string | null;
102
- channel_type?: "voice" | "text" | "scribe";
238
+ agent_name?: string | null | undefined;
239
+ channel_type?: "voice" | "text" | "scribe" | undefined;
103
240
  context_graph_id: string;
104
- context_graph_name?: string | null;
241
+ context_graph_name?: string | null | undefined;
105
242
  created_at: string;
106
243
  description: string;
107
- environment?: "sandbox" | "production";
244
+ environment?: "sandbox" | "production" | undefined;
108
245
  id: string;
109
246
  is_active: boolean;
110
- is_system?: boolean;
247
+ is_system?: boolean | undefined;
111
248
  keyterms: string[];
112
249
  name: string;
113
- persona_id?: string | null;
114
- persona_name?: string | null;
115
- safety_filters_enabled?: boolean;
116
- tags: components["schemas"]["ServiceTag"][];
250
+ persona_id?: string | null | undefined;
251
+ persona_name?: string | null | undefined;
252
+ safety_filters_enabled?: boolean | undefined;
253
+ tags: {
254
+ key: string;
255
+ value?: string | null | undefined;
256
+ }[];
117
257
  tool_capacity: number;
118
258
  updated_at: string;
119
259
  version_sets: {
120
- [key: string]: components["schemas"]["VersionSet"];
260
+ [x: string]: {
261
+ agent_version_number?: number | null | undefined;
262
+ context_graph_version_number?: number | null | undefined;
263
+ llm_model_preferences?: {
264
+ [x: string]: {
265
+ llm_name: string;
266
+ params?: {
267
+ [x: string]: unknown;
268
+ } | undefined;
269
+ };
270
+ } | undefined;
271
+ };
121
272
  };
122
- voice_config?: components["schemas"]["ServiceVoiceConfig"] | null;
273
+ voice_config?: {
274
+ backchannel_delay_ms?: number | undefined;
275
+ barge_in_cooldown_s?: number | null | undefined;
276
+ barge_in_min_speech_s?: number | null | undefined;
277
+ eager_eot_threshold?: number | null | undefined;
278
+ eot_timeout_ms?: number | null | undefined;
279
+ filler_style?: "backchannel" | "phrase" | "silent" | undefined;
280
+ filler_vocabulary?: string[] | null | undefined;
281
+ forward_call_enabled?: boolean | undefined;
282
+ max_buffer_delay_ms?: number | null | undefined;
283
+ max_response_sentences?: number | null | undefined;
284
+ max_response_words?: number | null | undefined;
285
+ min_tts_speed?: number | null | undefined;
286
+ tts_model?: ("sonic-turbo" | "sonic-3") | null | undefined;
287
+ } | null | undefined;
123
288
  workspace_id: string;
124
289
  } & import("../index.js").ResponseMetadata>;
125
290
  delete(serviceId: ServiceId | string): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/resources/services.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,UAAU;IACpD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,uBAAuB;IACrD,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC;;;;;;;;;;;;;;;;;cA4C6ougB,qBAAsB;;;;2BAA2S,qBAAsB;;uBAAyD,qBAAsB;;;IAnC7mvgB,IAAI,CAAC,MAAM,CAAC,EAAE,kBAAkB;;;eAmCg87c,qBAAsB;;;IA3B5/7c,cAAc,CAAC,MAAM,CAAC,EAAE,kBAAkB;;;;;;;;;;;;;;;;;cA2BmqugB,qBAAsB;;;;2BAA2S,qBAAsB;;uBAAyD,qBAAsB;;;IAvB7mvgB,GAAG,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM;;;;;;;;;;;;;;;;;cAuBsqugB,qBAAsB;;;;2BAA2S,qBAAsB;;uBA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