@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.
Files changed (32) hide show
  1. package/dist/types/generated/api.d.ts +13860 -13131
  2. package/dist/types/generated/api.d.ts.map +1 -1
  3. package/dist/types/resources/actions.d.ts +166 -166
  4. package/dist/types/resources/agents.d.ts +88 -88
  5. package/dist/types/resources/analytics.d.ts +39 -39
  6. package/dist/types/resources/api-keys.d.ts +29 -29
  7. package/dist/types/resources/audit.d.ts +73 -73
  8. package/dist/types/resources/billing.d.ts +36 -36
  9. package/dist/types/resources/calls.d.ts +106 -106
  10. package/dist/types/resources/compliance.d.ts +17 -17
  11. package/dist/types/resources/context-graphs.d.ts +633 -633
  12. package/dist/types/resources/data-sources.d.ts +81 -81
  13. package/dist/types/resources/functions.d.ts +22 -22
  14. package/dist/types/resources/functions.d.ts.map +1 -1
  15. package/dist/types/resources/integrations.d.ts +258 -258
  16. package/dist/types/resources/memory.d.ts +35 -35
  17. package/dist/types/resources/operators.d.ts +147 -147
  18. package/dist/types/resources/personas.d.ts +37 -37
  19. package/dist/types/resources/phone-numbers.d.ts +62 -62
  20. package/dist/types/resources/recordings.d.ts +9 -9
  21. package/dist/types/resources/review-queue.d.ts +331 -331
  22. package/dist/types/resources/safety.d.ts +33 -33
  23. package/dist/types/resources/services.d.ts +142 -142
  24. package/dist/types/resources/settings.d.ts +254 -254
  25. package/dist/types/resources/settings.d.ts.map +1 -1
  26. package/dist/types/resources/simulations.d.ts +73 -73
  27. package/dist/types/resources/skills.d.ts +163 -163
  28. package/dist/types/resources/triggers.d.ts +74 -74
  29. package/dist/types/resources/webhook-destinations.d.ts +57 -57
  30. package/dist/types/resources/workspaces.d.ts +50 -50
  31. package/dist/types/resources/world.d.ts +216 -216
  32. package/package.json +1 -1
@@ -13,17 +13,17 @@ export declare class MemoryResource extends WorkspaceScopedResource {
13
13
  * Scores reflect how complete and confident each dimension's facts are.
14
14
  */
15
15
  getEntityDimensions(entityId: EntityId | string): Promise<{
16
- entity_id: string;
17
16
  dimensions: {
18
- dimension: string;
19
- name: string;
17
+ avg_confidence: number;
20
18
  description: string | null;
21
- weight: number;
19
+ dimension: string;
22
20
  fact_count: number;
23
- avg_confidence: number;
24
- source_count: number;
25
21
  latest_fact_at: string | null;
22
+ name: string;
23
+ source_count: number;
24
+ weight: number;
26
25
  }[];
26
+ entity_id: string;
27
27
  total_facts: number;
28
28
  } & import("../index.js").ResponseMetadata>;
29
29
  /**
@@ -33,18 +33,18 @@ export declare class MemoryResource extends WorkspaceScopedResource {
33
33
  dimension?: string;
34
34
  limit?: number;
35
35
  }): Promise<{
36
- entity_id: string;
37
36
  dimension: string | null;
37
+ entity_id: string;
38
38
  facts: {
39
- dimension: string;
40
- event_type: string;
41
- source: string | null;
42
39
  confidence: number;
43
- extracted_text: string | null;
44
40
  data?: {
45
41
  [x: string]: unknown;
46
42
  } | null | undefined;
43
+ dimension: string;
44
+ event_type: string;
45
+ extracted_text: string | null;
47
46
  ingested_at: string | null;
47
+ source: string | null;
48
48
  }[];
49
49
  total: number;
50
50
  } & import("../index.js").ResponseMetadata>;
@@ -53,44 +53,44 @@ export declare class MemoryResource extends WorkspaceScopedResource {
53
53
  * and fact ingestion trends.
54
54
  */
55
55
  getAnalytics(): Promise<{
56
- total_entities_with_memory: number;
57
- total_entities_in_workspace: number;
56
+ active_dimensions: number;
57
+ builtin_dimensions: number;
58
58
  coverage_rate: number;
59
- total_facts: number;
59
+ custom_dimensions: number;
60
60
  dimensions: {
61
- dimension: string;
62
- name: string;
63
- description: string | null;
64
- weight: number;
65
- extraction_mode: string;
66
61
  active: boolean;
62
+ avg_confidence: number;
63
+ avg_facts_per_entity: number;
67
64
  builtin: boolean;
65
+ description: string | null;
66
+ dimension: string;
68
67
  entity_count: number;
69
- total_facts: number;
70
- avg_facts_per_entity: number;
71
- avg_confidence: number;
72
- source_breakdown: {
73
- [x: string]: number;
74
- };
68
+ extraction_mode: string;
75
69
  latest_fact_at: string | null;
70
+ name: string;
76
71
  sample_facts?: {
72
+ confidence: number;
77
73
  entity_id: string;
78
74
  extracted_text: string;
79
- confidence: number;
80
75
  }[] | undefined;
81
- }[];
82
- top_sources: {
83
- source: string;
84
- fact_count: number;
85
- entity_count: number;
76
+ source_breakdown: {
77
+ [x: string]: number;
78
+ };
79
+ total_facts: number;
80
+ weight: number;
86
81
  }[];
87
82
  facts_last_24h: number;
88
- facts_last_7d: number;
89
83
  facts_last_30d: number;
90
- active_dimensions: number;
91
- builtin_dimensions: number;
92
- custom_dimensions: number;
84
+ facts_last_7d: number;
93
85
  llm_dimensions: number;
86
+ top_sources: {
87
+ entity_count: number;
88
+ fact_count: number;
89
+ source: string;
90
+ }[];
91
+ total_entities_in_workspace: number;
92
+ total_entities_with_memory: number;
93
+ total_facts: number;
94
94
  } & import("../index.js").ResponseMetadata>;
95
95
  }
96
96
  //# sourceMappingURL=memory.d.ts.map
@@ -6,27 +6,27 @@ export declare class OperatorsResource extends WorkspaceScopedResource {
6
6
  limit?: number;
7
7
  offset?: number;
8
8
  }): Promise<{
9
+ continuation_token?: number | null | undefined;
10
+ has_more: boolean;
9
11
  items: {
12
+ active_call_sid?: string | null | undefined;
13
+ avg_handle_time_seconds: number;
14
+ connection_method: "browser" | "phone";
15
+ created_at?: string | null | undefined;
16
+ email?: string | null | undefined;
10
17
  id: string;
11
- workspace_id: string;
18
+ last_call_at?: string | null | undefined;
19
+ last_status_change?: string | null | undefined;
12
20
  name?: string | null | undefined;
13
- email?: string | null | undefined;
14
- type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
15
- skills: string[];
16
- connection_method: "browser" | "phone";
17
21
  phone_number?: string | null | undefined;
18
22
  role: "operator" | "supervisor" | "admin";
23
+ skills: string[];
19
24
  status: "online" | "busy" | "offline";
20
- last_status_change?: string | null | undefined;
21
- active_call_sid?: string | null | undefined;
22
25
  total_escalations_handled: number;
23
- avg_handle_time_seconds: number;
24
- last_call_at?: string | null | undefined;
25
- created_at?: string | null | undefined;
26
+ type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
26
27
  updated_at?: string | null | undefined;
28
+ workspace_id: string;
27
29
  }[];
28
- has_more: boolean;
29
- continuation_token?: number | null | undefined;
30
30
  total?: number | null | undefined;
31
31
  } & import("../index.js").ResponseMetadata>;
32
32
  listAutoPaging(params?: {
@@ -34,160 +34,160 @@ export declare class OperatorsResource extends WorkspaceScopedResource {
34
34
  limit?: number;
35
35
  offset?: number;
36
36
  }): AsyncGenerator<{
37
+ active_call_sid?: string | null | undefined;
38
+ avg_handle_time_seconds: number;
39
+ connection_method: "browser" | "phone";
40
+ created_at?: string | null | undefined;
41
+ email?: string | null | undefined;
37
42
  id: string;
38
- workspace_id: string;
43
+ last_call_at?: string | null | undefined;
44
+ last_status_change?: string | null | undefined;
39
45
  name?: string | null | undefined;
40
- email?: string | null | undefined;
41
- type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
42
- skills: string[];
43
- connection_method: "browser" | "phone";
44
46
  phone_number?: string | null | undefined;
45
47
  role: "operator" | "supervisor" | "admin";
48
+ skills: string[];
46
49
  status: "online" | "busy" | "offline";
47
- last_status_change?: string | null | undefined;
48
- active_call_sid?: string | null | undefined;
49
50
  total_escalations_handled: number;
50
- avg_handle_time_seconds: number;
51
- last_call_at?: string | null | undefined;
52
- created_at?: string | null | undefined;
51
+ type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
53
52
  updated_at?: string | null | undefined;
53
+ workspace_id: string;
54
54
  }, any, any>;
55
55
  create(body: components['schemas']['CreateOperatorRequest']): Promise<{
56
+ active_call_sid?: string | null | undefined;
57
+ avg_handle_time_seconds: number;
58
+ connection_method: "browser" | "phone";
59
+ created_at?: string | null | undefined;
60
+ email?: string | null | undefined;
56
61
  id: string;
57
- workspace_id: string;
62
+ last_call_at?: string | null | undefined;
63
+ last_status_change?: string | null | undefined;
58
64
  name?: string | null | undefined;
59
- email?: string | null | undefined;
60
- type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
61
- skills: string[];
62
- connection_method: "browser" | "phone";
63
65
  phone_number?: string | null | undefined;
64
66
  role: "operator" | "supervisor" | "admin";
67
+ skills: string[];
65
68
  status: "online" | "busy" | "offline";
66
- last_status_change?: string | null | undefined;
67
- active_call_sid?: string | null | undefined;
68
69
  total_escalations_handled: number;
69
- avg_handle_time_seconds: number;
70
- last_call_at?: string | null | undefined;
71
- created_at?: string | null | undefined;
70
+ type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
72
71
  updated_at?: string | null | undefined;
72
+ workspace_id: string;
73
73
  } & import("../index.js").ResponseMetadata>;
74
74
  get(operatorId: string): Promise<{
75
+ active_call_sid?: string | null | undefined;
76
+ avg_handle_time_seconds: number;
77
+ connection_method: "browser" | "phone";
78
+ created_at?: string | null | undefined;
79
+ email?: string | null | undefined;
75
80
  id: string;
76
- workspace_id: string;
81
+ last_call_at?: string | null | undefined;
82
+ last_status_change?: string | null | undefined;
77
83
  name?: string | null | undefined;
78
- email?: string | null | undefined;
79
- type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
80
- skills: string[];
81
- connection_method: "browser" | "phone";
82
84
  phone_number?: string | null | undefined;
83
85
  role: "operator" | "supervisor" | "admin";
86
+ skills: string[];
84
87
  status: "online" | "busy" | "offline";
85
- last_status_change?: string | null | undefined;
86
- active_call_sid?: string | null | undefined;
87
88
  total_escalations_handled: number;
88
- avg_handle_time_seconds: number;
89
- last_call_at?: string | null | undefined;
90
- created_at?: string | null | undefined;
89
+ type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
91
90
  updated_at?: string | null | undefined;
91
+ workspace_id: string;
92
92
  } & import("../index.js").ResponseMetadata>;
93
93
  /** Update an operator (name, role, status, etc.) */
94
94
  update(operatorId: string, body: components['schemas']['UpdateOperatorRequest']): Promise<{
95
+ active_call_sid?: string | null | undefined;
96
+ avg_handle_time_seconds: number;
97
+ connection_method: "browser" | "phone";
98
+ created_at?: string | null | undefined;
99
+ email?: string | null | undefined;
95
100
  id: string;
96
- workspace_id: string;
101
+ last_call_at?: string | null | undefined;
102
+ last_status_change?: string | null | undefined;
97
103
  name?: string | null | undefined;
98
- email?: string | null | undefined;
99
- type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
100
- skills: string[];
101
- connection_method: "browser" | "phone";
102
104
  phone_number?: string | null | undefined;
103
105
  role: "operator" | "supervisor" | "admin";
106
+ skills: string[];
104
107
  status: "online" | "busy" | "offline";
105
- last_status_change?: string | null | undefined;
106
- active_call_sid?: string | null | undefined;
107
108
  total_escalations_handled: number;
108
- avg_handle_time_seconds: number;
109
- last_call_at?: string | null | undefined;
110
- created_at?: string | null | undefined;
109
+ type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
111
110
  updated_at?: string | null | undefined;
111
+ workspace_id: string;
112
112
  } & import("../index.js").ResponseMetadata>;
113
113
  getDashboard(): Promise<{
114
- workspace_id: string;
115
- operators: {
116
- total: number;
117
- online: number;
118
- busy: number;
119
- offline: number;
120
- };
121
114
  active_escalations: number;
122
115
  escalations_today: {
123
- requested?: number | undefined;
124
- connected?: number | undefined;
125
- completed?: number | undefined;
126
- avg_wait_seconds?: number | null | undefined;
127
116
  avg_handle_time_seconds?: number | null | undefined;
117
+ avg_wait_seconds?: number | null | undefined;
118
+ completed?: number | undefined;
119
+ connected?: number | undefined;
120
+ requested?: number | undefined;
121
+ };
122
+ operators: {
123
+ busy: number;
124
+ offline: number;
125
+ online: number;
126
+ total: number;
128
127
  };
129
128
  recent_escalations: {
130
129
  call_entity_id: string;
131
130
  call_sid?: string | null | undefined;
132
- escalation_id?: string | null | undefined;
133
- status: "none" | "requested" | "connected" | "handback" | "completed";
134
- trigger?: string | null | undefined;
135
- trigger_source?: string | null | undefined;
131
+ caller_id?: string | null | undefined;
136
132
  concept?: string | null | undefined;
137
- operator_type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
138
- regulatory_basis?: string | null | undefined;
139
- immediate: boolean;
140
- risk_score?: number | null | undefined;
141
- requested_at?: string | null | undefined;
142
133
  connected_at?: string | null | undefined;
143
- wait_seconds?: number | null | undefined;
144
- operator_entity_id?: string | null | undefined;
145
- caller_id?: string | null | undefined;
146
134
  direction?: ("inbound" | "outbound" | "playground" | "simulated" | "test") | null | undefined;
135
+ escalation_id?: string | null | undefined;
136
+ immediate: boolean;
137
+ operator_entity_id?: string | null | undefined;
138
+ operator_type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
147
139
  phone_number?: string | null | undefined;
140
+ regulatory_basis?: string | null | undefined;
141
+ requested_at?: string | null | undefined;
142
+ risk_score?: number | null | undefined;
148
143
  started_at?: string | null | undefined;
144
+ status: "none" | "requested" | "connected" | "handback" | "completed";
145
+ trigger?: string | null | undefined;
146
+ trigger_source?: string | null | undefined;
147
+ wait_seconds?: number | null | undefined;
149
148
  }[];
149
+ workspace_id: string;
150
150
  } & import("../index.js").ResponseMetadata>;
151
151
  getQueue(): Promise<{
152
- workspace_id: string;
153
152
  queue: {
153
+ brief_context?: string | null | undefined;
154
154
  call_sid: string;
155
155
  caller_id?: string | undefined;
156
- service_id?: string | undefined;
156
+ current_emotion?: string | null | undefined;
157
+ current_state?: string | undefined;
158
+ current_valence?: number | null | undefined;
157
159
  direction?: "inbound" | "outbound" | "playground" | "simulated" | "test" | undefined;
158
- priority_score: number;
160
+ entity_name?: string | null | undefined;
161
+ escalation_active?: boolean | undefined;
159
162
  priority_reasons?: ("high_risk" | "long_wait" | "negative_emotion" | "safety_concern" | "looping")[] | undefined;
160
- wait_seconds?: number | undefined;
163
+ priority_score: number;
161
164
  risk_score?: number | null | undefined;
162
- current_emotion?: string | null | undefined;
163
- current_valence?: number | null | undefined;
164
- current_state?: string | undefined;
165
+ service_id?: string | undefined;
165
166
  turn_count?: number | undefined;
166
- escalation_active?: boolean | undefined;
167
- entity_name?: string | null | undefined;
168
- brief_context?: string | null | undefined;
167
+ wait_seconds?: number | undefined;
169
168
  }[];
170
169
  total_active: number;
170
+ workspace_id: string;
171
171
  } & import("../index.js").ResponseMetadata>;
172
172
  getEscalations(params?: {
173
173
  status?: string;
174
174
  limit?: number;
175
175
  offset?: number;
176
176
  }): Promise<{
177
+ continuation_token?: number | null | undefined;
178
+ has_more: boolean;
177
179
  items: {
178
- id: string;
179
- workspace_id: string;
180
- event_type: string;
180
+ confidence: number;
181
+ created_at?: string | null | undefined;
181
182
  data: {
182
183
  [x: string]: unknown;
183
184
  };
184
- source: string;
185
- confidence: number;
185
+ event_type: string;
186
+ id: string;
186
187
  ingested_at?: string | null | undefined;
187
- created_at?: string | null | undefined;
188
+ source: string;
189
+ workspace_id: string;
188
190
  }[];
189
- has_more: boolean;
190
- continuation_token?: number | null | undefined;
191
191
  total?: number | null | undefined;
192
192
  } & import("../index.js").ResponseMetadata>;
193
193
  getEscalationsAutoPaging(params?: {
@@ -195,55 +195,55 @@ export declare class OperatorsResource extends WorkspaceScopedResource {
195
195
  limit?: number;
196
196
  offset?: number;
197
197
  }): AsyncGenerator<{
198
- id: string;
199
- workspace_id: string;
200
- event_type: string;
198
+ confidence: number;
199
+ created_at?: string | null | undefined;
201
200
  data: {
202
201
  [x: string]: unknown;
203
202
  };
204
- source: string;
205
- confidence: number;
203
+ event_type: string;
204
+ id: string;
206
205
  ingested_at?: string | null | undefined;
207
- created_at?: string | null | undefined;
206
+ source: string;
207
+ workspace_id: string;
208
208
  }, any, any>;
209
209
  getActiveEscalations(): Promise<{
210
+ continuation_token?: number | null | undefined;
211
+ has_more: boolean;
210
212
  items: {
211
213
  call_entity_id: string;
212
214
  call_sid?: string | null | undefined;
213
- escalation_id?: string | null | undefined;
214
- status: "none" | "requested" | "connected" | "handback" | "completed";
215
- trigger?: string | null | undefined;
216
- trigger_source?: string | null | undefined;
215
+ caller_id?: string | null | undefined;
217
216
  concept?: string | null | undefined;
218
- operator_type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
219
- regulatory_basis?: string | null | undefined;
220
- immediate: boolean;
221
- risk_score?: number | null | undefined;
222
- requested_at?: string | null | undefined;
223
217
  connected_at?: string | null | undefined;
224
- wait_seconds?: number | null | undefined;
225
- operator_entity_id?: string | null | undefined;
226
- caller_id?: string | null | undefined;
227
218
  direction?: ("inbound" | "outbound" | "playground" | "simulated" | "test") | null | undefined;
219
+ escalation_id?: string | null | undefined;
220
+ immediate: boolean;
221
+ operator_entity_id?: string | null | undefined;
222
+ operator_type?: ("clinical" | "administrative" | "crisis_counselor") | null | undefined;
228
223
  phone_number?: string | null | undefined;
224
+ regulatory_basis?: string | null | undefined;
225
+ requested_at?: string | null | undefined;
226
+ risk_score?: number | null | undefined;
229
227
  started_at?: string | null | undefined;
228
+ status: "none" | "requested" | "connected" | "handback" | "completed";
229
+ trigger?: string | null | undefined;
230
+ trigger_source?: string | null | undefined;
231
+ wait_seconds?: number | null | undefined;
230
232
  }[];
231
- has_more: boolean;
232
- continuation_token?: number | null | undefined;
233
233
  total?: number | null | undefined;
234
234
  } & import("../index.js").ResponseMetadata>;
235
235
  getEscalationStats(params?: {
236
236
  period?: string;
237
237
  group_by?: string;
238
238
  }): Promise<{
239
- workspace_id: string;
240
- period: string;
241
- group_by: string;
242
239
  buckets: {
243
- key: string;
244
240
  count: number;
241
+ key: string;
245
242
  }[];
243
+ group_by: string;
244
+ period: string;
246
245
  total: number;
246
+ workspace_id: string;
247
247
  } & import("../index.js").ResponseMetadata>;
248
248
  getPerformance(params?: {
249
249
  days?: number;
@@ -252,35 +252,35 @@ export declare class OperatorsResource extends WorkspaceScopedResource {
252
252
  interval?: '1h' | '1d' | '1w';
253
253
  service_id?: string | null;
254
254
  }): Promise<{
255
- workspace_id: string;
256
- total_operators: number;
257
- online: number;
255
+ avg_handle_time_seconds: number;
258
256
  busy: number;
259
257
  offline: number;
260
- total_escalations_handled: number;
261
- avg_handle_time_seconds: number;
258
+ online: number;
262
259
  operators: {
263
- operator_id: string;
260
+ avg_handle_time_seconds: number;
261
+ last_call_at?: string | null | undefined;
264
262
  name?: string | null | undefined;
263
+ operator_id: string;
265
264
  status: "online" | "busy" | "offline";
266
265
  total_escalations_handled: number;
267
- avg_handle_time_seconds: number;
268
- last_call_at?: string | null | undefined;
269
266
  }[];
267
+ total_escalations_handled: number;
268
+ total_operators: number;
269
+ workspace_id: string;
270
270
  } & import("../index.js").ResponseMetadata>;
271
271
  getAccessToken(operatorId: string, body: components['schemas']['AccessTokenRequest']): Promise<{
272
- token: string;
273
- identity: string;
274
272
  conference_sid: string;
275
273
  connect_params?: {
276
274
  [x: string]: string;
277
275
  } | undefined;
276
+ identity: string;
277
+ token: string;
278
278
  } & import("../index.js").ResponseMetadata>;
279
279
  joinCall(operatorId: string, body: components['schemas']['JoinCallRequest']): Promise<{
280
- participant_call_sid: string;
281
280
  conference_sid: string;
282
281
  mode: "listen" | "takeover";
283
282
  operator_entity_id: string;
283
+ participant_call_sid: string;
284
284
  } & import("../index.js").ResponseMetadata>;
285
285
  leaveCall(operatorId: string, body: components['schemas']['LeaveCallRequest']): Promise<{
286
286
  success: boolean;
@@ -289,19 +289,19 @@ export declare class OperatorsResource extends WorkspaceScopedResource {
289
289
  mode: "listen" | "takeover";
290
290
  } & import("../index.js").ResponseMetadata>;
291
291
  sendGuidance(operatorId: string, body: components['schemas']['SendGuidanceRequest']): Promise<{
292
- status: "delivered" | "failed";
293
292
  call_sid: string;
293
+ status: "delivered" | "failed";
294
294
  } & import("../index.js").ResponseMetadata>;
295
295
  createBriefing(operatorId: string, body: {
296
296
  call_sid: string;
297
297
  }): Promise<{
298
298
  call_sid: string;
299
+ generated_at: string;
299
300
  operator_id: string;
300
301
  sections: {
301
- title: string;
302
302
  content: string;
303
+ title: string;
303
304
  }[];
304
- generated_at: string;
305
305
  } & import("../index.js").ResponseMetadata>;
306
306
  wrapUp(operatorId: string, body: components['schemas']['WrapUpRequest']): Promise<{
307
307
  success: boolean;
@@ -309,47 +309,47 @@ export declare class OperatorsResource extends WorkspaceScopedResource {
309
309
  getCallTranscript(callSid: string): Promise<{
310
310
  call_entity_id: string;
311
311
  call_sid: string | null;
312
- total_segments: number;
313
312
  segments: {
313
+ confidence: number;
314
+ escalation_id: string | null;
314
315
  speaker_role: string;
315
- transcript: string;
316
316
  timestamp: string | null;
317
- escalation_id: string | null;
318
- confidence: number;
317
+ transcript: string;
319
318
  }[];
319
+ total_segments: number;
320
320
  } & import("../index.js").ResponseMetadata>;
321
321
  getAuditLog(params?: {
322
322
  limit?: number;
323
323
  offset?: number;
324
324
  }): Promise<{
325
+ continuation_token?: number | null | undefined;
326
+ has_more: boolean;
325
327
  items: {
326
- id: string;
327
- workspace_id: string;
328
- event_type: string;
328
+ created_at?: string | null | undefined;
329
329
  data: {
330
330
  [x: string]: unknown;
331
331
  };
332
- source: string;
332
+ event_type: string;
333
+ id: string;
333
334
  ingested_at?: string | null | undefined;
334
- created_at?: string | null | undefined;
335
+ source: string;
336
+ workspace_id: string;
335
337
  }[];
336
- has_more: boolean;
337
- continuation_token?: number | null | undefined;
338
338
  total?: number | null | undefined;
339
339
  } & import("../index.js").ResponseMetadata>;
340
340
  getAuditLogAutoPaging(params?: {
341
341
  limit?: number;
342
342
  offset?: number;
343
343
  }): AsyncGenerator<{
344
- id: string;
345
- workspace_id: string;
346
- event_type: string;
344
+ created_at?: string | null | undefined;
347
345
  data: {
348
346
  [x: string]: unknown;
349
347
  };
350
- source: string;
348
+ event_type: string;
349
+ id: string;
351
350
  ingested_at?: string | null | undefined;
352
- created_at?: string | null | undefined;
351
+ source: string;
352
+ workspace_id: string;
353
353
  }, any, any>;
354
354
  }
355
355
  //# sourceMappingURL=operators.d.ts.map