@getsupervisor/agents-studio-sdk 1.13.0 → 1.15.0

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/index.d.cts CHANGED
@@ -1,315 +1,204 @@
1
1
  type components = {
2
2
  schemas: {
3
- AgentDetail: components['schemas']['AgentSummary'] & {
4
- description?: string;
5
- avatarUrl?: string;
6
- ownerUserId: string;
7
- debounceDelayMs: number;
8
- };
9
- PaginationMeta: {
10
- total: number;
11
- page: number;
12
- limit: number;
13
- hasNext: boolean;
14
- hasPrevious: boolean;
15
- };
16
- QueryFilters: string;
17
- QueryOrGroups: string;
18
- AgentSummary: {
19
- agentId: string;
20
- name: string;
21
- agentType: 'chat' | 'voice';
22
- status: 'inactive' | 'training' | 'active' | 'archived';
23
- workspaceId: string;
24
- createdAt: string;
25
- updatedAt: string;
26
- };
27
- AgentListResponse: {
28
- data: components['schemas']['AgentSummary'][];
29
- meta: components['schemas']['PaginationMeta'];
30
- };
31
- CreateAgentRequest: {
32
- name: string;
33
- agentType: 'chat' | 'voice';
34
- description?: string;
35
- status: 'inactive' | 'training' | 'active';
36
- avatarUrl?: string;
37
- debounceDelayMs: number;
38
- };
39
- AgentTagRequest: {
40
- tagId: string;
41
- };
42
- AgentTagsResponse: {
43
- agentId: string;
44
- tags: string[];
45
- };
46
- UpdateAgentRequest: {
47
- name?: string;
48
- status?: 'inactive' | 'training' | 'active' | 'archived';
49
- description?: string;
50
- avatarUrl?: string;
51
- debounceDelayMs?: number;
52
- };
53
- Instruction: {
54
- id: string;
55
- versionId: string;
56
- order: number;
57
- content: string;
58
- createdAt?: string;
59
- updatedAt?: string;
60
- };
61
- InstructionListResponse: {
62
- data: components['schemas']['Instruction'][];
63
- meta?: components['schemas']['PaginationMeta'];
64
- };
65
- CreateInstructionRequest: {
66
- order: number;
67
- content: string;
68
- };
69
- InstructionCreatedResponse: {
70
- id: string;
71
- versionId: string;
72
- order: number;
73
- createdAt: string;
74
- };
75
- UpdateInstructionRequest: {
76
- order?: number;
77
- content?: string;
78
- };
79
- VoiceSummary: {
80
- id: string;
81
- providerVoiceId?: string;
82
- name: string;
83
- gender?: 'female' | 'male' | 'neutral';
84
- locale: string;
85
- tags?: string[];
86
- previewUrl?: string;
87
- provider: string;
88
- };
89
- VoiceListResponse: {
90
- data: components['schemas']['VoiceSummary'][];
91
- meta: components['schemas']['PaginationMeta'];
92
- };
93
- AgentScheduleSlot: {
94
- startTime: string;
95
- endTime: string;
96
- };
97
- AgentScheduleRule: {
98
- dayOfWeek: 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
99
- slots: components['schemas']['AgentScheduleSlot'][];
100
- isClosed?: boolean;
101
- };
102
- AgentSchedule: {
103
- agentId: string;
104
- timezone: string;
105
- rules: components['schemas']['AgentScheduleRule'][];
106
- metadata?: {
107
- [key: string]: unknown;
108
- };
109
- };
110
- UpdateAgentScheduleRequest: {
111
- timezone: string;
112
- rules: components['schemas']['AgentScheduleRule'][];
113
- metadata?: {
114
- [key: string]: unknown;
115
- };
116
- };
117
- AgentVersionSummary: {
118
- versionId: string;
119
- agentId: string;
120
- label: string;
121
- status: 'draft' | 'published' | 'archived';
122
- isActive?: boolean;
123
- createdAt: string;
124
- updatedAt?: string;
125
- publishedAt?: string | null;
126
- };
127
- AgentVersionDetail: components['schemas']['AgentVersionSummary'] & {
128
- description?: string;
129
- metadata?: {
130
- [key: string]: unknown;
131
- };
132
- instructionsVersionId?: string;
133
- };
134
- AgentVersionListResponse: {
135
- data: components['schemas']['AgentVersionSummary'][];
136
- meta?: components['schemas']['PaginationMeta'];
137
- };
138
- CreateAgentVersionRequest: {
139
- label: string;
140
- description?: string;
141
- sourceVersionId?: string;
142
- metadata?: {
143
- [key: string]: unknown;
144
- };
145
- };
146
- UpdateAgentVersionRequest: {
147
- label?: string;
148
- description?: string;
149
- status?: 'draft' | 'published' | 'archived';
150
- metadata?: {
151
- [key: string]: unknown;
152
- };
153
- };
154
- ConnectPhoneRequest: {
155
- agent_id: string;
156
- phone_id: string;
157
- test_phones?: string[];
158
- allow_all?: boolean;
159
- };
160
- PhoneAssignmentResponse: {
161
- agent_id: string;
162
- phone_id: string;
163
- allow_all: boolean;
164
- test_phones?: string[];
165
- channel?: string | null;
166
- assigned_at?: string | null;
167
- };
168
- WorkspacePhone: {
169
- id: string;
170
- external_id: string;
171
- channel?: 'voice';
172
- supports_outbound?: boolean | null;
173
- assigned_to?: string | null;
174
- last_used_at?: string | null;
175
- requires_qr_reauth?: boolean | null;
176
- };
177
- WorkspacePhonesResponse: {
178
- data: components['schemas']['WorkspacePhone'][];
179
- };
180
- ToolSummary: {
181
- id: string;
182
- name: string;
183
- identifier: string;
184
- description?: string;
185
- enabled: boolean;
186
- };
187
- ToolListResponse: {
188
- data: components['schemas']['ToolSummary'][];
189
- meta: components['schemas']['PaginationMeta'];
190
- };
191
- ToolResourceSummary: {
192
- id: string;
193
- toolId: string;
194
- type: 'document' | 'media' | 'file';
195
- title?: string;
196
- status: 'pending' | 'processing' | 'ready' | 'failed';
197
- sizeBytes?: number | null;
198
- createdAt: string;
199
- updatedAt?: string | null;
200
- metadata?: {
201
- [key: string]: unknown;
202
- };
203
- };
204
- ToolResourceListResponse: {
205
- data: components['schemas']['ToolResourceSummary'][];
206
- meta: components['schemas']['PaginationMeta'];
207
- };
208
- ToolResourceUploadRequest: {
209
- file: string;
210
- type?: 'document' | 'media' | 'file';
211
- title?: string;
212
- metadata?: {
213
- [key: string]: unknown;
214
- };
215
- };
216
- ToolResourceUploadResponse: {
217
- resourceId: string;
218
- status: 'queued' | 'processing' | 'completed' | 'failed';
219
- message?: string;
220
- toolId?: string;
221
- };
222
- ToolResourceReloadResponse: {
223
- resourceId: string;
224
- status: 'queued' | 'processing' | 'completed' | 'failed';
225
- toolId?: string;
226
- message?: string;
227
- };
228
- ToolConnectionRequest: {
229
- type?: 'oauth2' | 'api_key' | 'credentials';
230
- authorizationCode?: string | null;
231
- redirectUri?: string | null;
232
- credentials?: {
233
- [key: string]: unknown;
234
- };
235
- metadata?: {
236
- [key: string]: unknown;
237
- };
238
- };
239
- ToolConnectionResponse: {
240
- status: 'connected' | 'pending' | 'requires_action';
241
- toolId?: string | null;
242
- connectionId?: string | null;
243
- authorizationUrl?: string | null;
244
- expiresAt?: string | null;
245
- message?: string | null;
246
- metadata?: {
247
- [key: string]: unknown;
248
- };
249
- };
250
- ExecuteToolRequest: {
251
- payload: {
252
- [key: string]: unknown;
253
- };
254
- metadata?: {
255
- [key: string]: unknown;
256
- };
257
- };
258
- ExecuteToolResponse: {
259
- result: {
260
- [key: string]: unknown;
261
- };
262
- metadata?: {
263
- [key: string]: unknown;
264
- };
265
- toolId: string;
266
- };
267
- WorkspaceEnableRequest: {
268
- provider: 'provider';
269
- apiKey: string;
270
- metadata?: {
271
- [key: string]: unknown;
272
- };
273
- };
274
- WorkspaceEnableResponse: {
275
- status: 'enabled';
276
- provider: string;
277
- workspaceId: string;
278
- };
279
- ErrorResponse: {
280
- code: string;
281
- message: string;
282
- details?: {
283
- [key: string]: unknown;
284
- };
285
- };
3
+ AgentDetail: external['components/schemas.yaml']['AgentDetail'];
4
+ PaginationMeta: external['components/schemas.yaml']['PaginationMeta'];
5
+ QueryFilters: external['components/schemas.yaml']['QueryFilters'];
6
+ QueryOrGroups: external['components/schemas.yaml']['QueryOrGroups'];
7
+ AgentSummary: external['components/schemas.yaml']['AgentSummary'];
8
+ AgentListResponse: external['components/schemas.yaml']['AgentListResponse'];
9
+ CreateAgentRequest: external['components/schemas.yaml']['CreateAgentRequest'];
10
+ AgentTagRequest: external['components/schemas.yaml']['AgentTagRequest'];
11
+ AgentTagsResponse: external['components/schemas.yaml']['AgentTagsResponse'];
12
+ UpdateAgentRequest: external['components/schemas.yaml']['UpdateAgentRequest'];
13
+ Instruction: external['components/schemas.yaml']['Instruction'];
14
+ InstructionListResponse: external['components/schemas.yaml']['InstructionListResponse'];
15
+ CreateInstructionRequest: external['components/schemas.yaml']['CreateInstructionRequest'];
16
+ InstructionCreatedResponse: external['components/schemas.yaml']['InstructionCreatedResponse'];
17
+ UpdateInstructionRequest: external['components/schemas.yaml']['UpdateInstructionRequest'];
18
+ VoiceSummary: external['components/schemas.yaml']['VoiceSummary'];
19
+ VoiceListResponse: external['components/schemas.yaml']['VoiceListResponse'];
20
+ AgentScheduleSlot: external['components/schemas.yaml']['AgentScheduleSlot'];
21
+ AgentScheduleRule: external['components/schemas.yaml']['AgentScheduleRule'];
22
+ AgentSchedule: external['components/schemas.yaml']['AgentSchedule'];
23
+ UpdateAgentScheduleRequest: external['components/schemas.yaml']['UpdateAgentScheduleRequest'];
24
+ AgentScheduleException: external['components/schemas.yaml']['AgentScheduleException'];
25
+ AgentScheduleExceptionListResponse: external['components/schemas.yaml']['AgentScheduleExceptionListResponse'];
26
+ CreateAgentScheduleExceptionRequest: external['components/schemas.yaml']['CreateAgentScheduleExceptionRequest'];
27
+ UpdateAgentScheduleExceptionRequest: external['components/schemas.yaml']['UpdateAgentScheduleExceptionRequest'];
28
+ AgentVersionSummary: external['components/schemas.yaml']['AgentVersionSummary'];
29
+ AgentVersionDetail: external['components/schemas.yaml']['AgentVersionDetail'];
30
+ AgentVersionListResponse: external['components/schemas.yaml']['AgentVersionListResponse'];
31
+ CreateAgentVersionRequest: external['components/schemas.yaml']['CreateAgentVersionRequest'];
32
+ PublishAgentVersionRequest: external['components/schemas.yaml']['PublishAgentVersionRequest'];
33
+ UpdateAgentVersionNotesRequest: external['components/schemas.yaml']['UpdateAgentVersionNotesRequest'];
34
+ AgentBlueprint: external['components/schemas.yaml']['AgentBlueprint'];
35
+ AgentBlueprintListItem: external['components/schemas.yaml']['AgentBlueprintListItem'];
36
+ AgentBlueprintListResponse: external['components/schemas.yaml']['AgentBlueprintListResponse'];
37
+ CreateAgentBlueprintRequest: external['components/schemas.yaml']['CreateAgentBlueprintRequest'];
38
+ UpdateAgentBlueprintRequest: external['components/schemas.yaml']['UpdateAgentBlueprintRequest'];
39
+ ConnectPhoneRequest: external['components/schemas.yaml']['ConnectPhoneRequest'];
40
+ PhoneAssignmentResponse: external['components/schemas.yaml']['PhoneAssignmentResponse'];
41
+ WorkspacePhone: external['components/schemas.yaml']['WorkspacePhone'];
42
+ WorkspacePhonesResponse: external['components/schemas.yaml']['WorkspacePhonesResponse'];
43
+ ToolSummary: external['components/schemas.yaml']['ToolSummary'];
44
+ ToolListResponse: external['components/schemas.yaml']['ToolListResponse'];
45
+ ToolResourceSummary: external['components/schemas.yaml']['ToolResourceSummary'];
46
+ ToolResourceListResponse: external['components/schemas.yaml']['ToolResourceListResponse'];
47
+ ToolResourceUploadRequest: external['components/schemas.yaml']['ToolResourceUploadRequest'];
48
+ ToolResourceUploadResponse: external['components/schemas.yaml']['ToolResourceUploadResponse'];
49
+ ToolResourceReloadResponse: external['components/schemas.yaml']['ToolResourceReloadResponse'];
50
+ ToolConnectionRequest: external['components/schemas.yaml']['ToolConnectionRequest'];
51
+ ToolConnectionResponse: external['components/schemas.yaml']['ToolConnectionResponse'];
52
+ ExecuteToolRequest: external['components/schemas.yaml']['ExecuteToolRequest'];
53
+ ExecuteToolResponse: external['components/schemas.yaml']['ExecuteToolResponse'];
54
+ WorkspaceEnableRequest: external['components/schemas.yaml']['WorkspaceEnableRequest'];
55
+ WorkspaceEnableResponse: external['components/schemas.yaml']['WorkspaceEnableResponse'];
56
+ ErrorResponse: external['components/schemas.yaml']['ErrorResponse'];
286
57
  };
287
58
  responses: never;
288
59
  parameters: {
289
- XWorkspaceId: string;
290
- AgentId: string;
291
- PhoneId: string;
292
- InstructionId: string;
293
- VersionId: string;
294
- TagId: string;
295
- WorkspaceId: string;
296
- ToolId: string;
297
- ResourceId: string;
298
- PageParam?: number;
299
- LimitParam?: number;
300
- Page?: number;
301
- Limit?: number;
302
- SortParam?: string;
303
- FieldsParam?: string;
304
- IncludeParam?: string;
305
- SearchParam?: string;
306
- FilterParam?: components['schemas']['QueryFilters'];
307
- OrParam?: components['schemas']['QueryOrGroups'];
60
+ XWorkspaceId: external['components/parameters.yaml']['XWorkspaceId'];
61
+ AgentId: external['components/parameters.yaml']['AgentId'];
62
+ PhoneId: external['components/parameters.yaml']['PhoneId'];
63
+ InstructionId: external['components/parameters.yaml']['InstructionId'];
64
+ ExceptionId: external['components/parameters.yaml']['ExceptionId'];
65
+ VersionId: external['components/parameters.yaml']['VersionId'];
66
+ TagId: external['components/parameters.yaml']['TagId'];
67
+ WorkspaceId: external['components/parameters.yaml']['WorkspaceId'];
68
+ ToolId: external['components/parameters.yaml']['ToolId'];
69
+ ResourceId: external['components/parameters.yaml']['ResourceId'];
70
+ PageParam: external['components/parameters.yaml']['PageParam'];
71
+ LimitParam: external['components/parameters.yaml']['LimitParam'];
72
+ Page: external['components/parameters.yaml']['Page'];
73
+ Limit: external['components/parameters.yaml']['Limit'];
74
+ SortParam: external['components/parameters.yaml']['SortParam'];
75
+ FieldsParam: external['components/parameters.yaml']['FieldsParam'];
76
+ IncludeParam: external['components/parameters.yaml']['IncludeParam'];
77
+ SearchParam: external['components/parameters.yaml']['SearchParam'];
78
+ FilterParam: external['components/parameters.yaml']['FilterParam'];
79
+ OrParam: external['components/parameters.yaml']['OrParam'];
308
80
  };
309
81
  requestBodies: never;
310
82
  headers: never;
311
83
  pathItems: never;
312
84
  };
85
+ type external = {
86
+ 'components/parameters.yaml': any;
87
+ 'components/schemas.yaml': any;
88
+ 'components/securitySchemes.yaml': any;
89
+ 'paths/agents/agent-blueprints.yaml': {
90
+ get: unknown;
91
+ };
92
+ 'paths/agents/agent-by-id.yaml': {
93
+ get: unknown;
94
+ patch: unknown;
95
+ delete: unknown;
96
+ };
97
+ 'paths/agents/agent-instruction-by-id.yaml': {
98
+ patch: unknown;
99
+ };
100
+ 'paths/agents/agent-instructions.yaml': {
101
+ get: unknown;
102
+ post: unknown;
103
+ };
104
+ 'paths/agents/agent-phone-by-id.yaml': {
105
+ delete: unknown;
106
+ };
107
+ 'paths/agents/agent-phones.yaml': {
108
+ post: unknown;
109
+ };
110
+ 'paths/agents/agent-schedule-exception-by-id.yaml': {
111
+ get: unknown;
112
+ patch: unknown;
113
+ delete: unknown;
114
+ };
115
+ 'paths/agents/agent-schedule-exceptions.yaml': {
116
+ get: unknown;
117
+ post: unknown;
118
+ };
119
+ 'paths/agents/agent-schedule.yaml': {
120
+ get: unknown;
121
+ put: unknown;
122
+ post: unknown;
123
+ };
124
+ 'paths/agents/agent-tag-by-id.yaml': {
125
+ delete: unknown;
126
+ };
127
+ 'paths/agents/agent-tags.yaml': {
128
+ post: unknown;
129
+ };
130
+ 'paths/agents/agent-version-blueprint.yaml': {
131
+ get: unknown;
132
+ post: unknown;
133
+ patch: unknown;
134
+ };
135
+ 'paths/agents/agent-version-by-id.yaml': {
136
+ get: unknown;
137
+ };
138
+ 'paths/agents/agent-version-clone.yaml': {
139
+ post: unknown;
140
+ };
141
+ 'paths/agents/agent-version-instruction-by-id.yaml': {
142
+ patch: unknown;
143
+ delete: unknown;
144
+ };
145
+ 'paths/agents/agent-version-instructions.yaml': {
146
+ get: unknown;
147
+ post: unknown;
148
+ };
149
+ 'paths/agents/agent-version-notes.yaml': {
150
+ patch: unknown;
151
+ };
152
+ 'paths/agents/agent-version-publish.yaml': {
153
+ post: unknown;
154
+ };
155
+ 'paths/agents/agent-versions.yaml': {
156
+ get: unknown;
157
+ post: unknown;
158
+ };
159
+ 'paths/agents/agents.yaml': {
160
+ get: unknown;
161
+ post: unknown;
162
+ };
163
+ 'paths/api-keys/api-key-by-id.yaml': {
164
+ delete: unknown;
165
+ };
166
+ 'paths/api-keys/api-key-show.yaml': {
167
+ get: unknown;
168
+ };
169
+ 'paths/api-keys/api-keys.yaml': {
170
+ get: unknown;
171
+ post: unknown;
172
+ };
173
+ 'paths/tools/tool-connect.yaml': {
174
+ post: unknown;
175
+ };
176
+ 'paths/tools/tool-execute.yaml': {
177
+ post: unknown;
178
+ };
179
+ 'paths/tools/tool-resource-by-id.yaml': {
180
+ delete: unknown;
181
+ };
182
+ 'paths/tools/tool-resource-reload.yaml': {
183
+ post: unknown;
184
+ };
185
+ 'paths/tools/tool-resources.yaml': {
186
+ get: unknown;
187
+ post: unknown;
188
+ };
189
+ 'paths/tools/tools.yaml': {
190
+ get: unknown;
191
+ };
192
+ 'paths/voices/voices.yaml': {
193
+ get: unknown;
194
+ };
195
+ 'paths/workspaces/workspace-enable.yaml': {
196
+ post: unknown;
197
+ };
198
+ 'paths/workspaces/workspace-phones.yaml': {
199
+ get: unknown;
200
+ };
201
+ };
313
202
 
314
203
  type QueryValue = string | number | boolean | string[];
315
204
  type QueryFilterOperators = Record<string, QueryValue>;
@@ -398,11 +287,16 @@ type CreateApiKeyResponse = ApiKeySummary & {
398
287
  };
399
288
  type AgentSchedule = components['schemas']['AgentSchedule'];
400
289
  type UpdateAgentScheduleRequest = components['schemas']['UpdateAgentScheduleRequest'];
290
+ type AgentScheduleException = components['schemas']['AgentScheduleException'];
291
+ type AgentScheduleExceptionListResponse = components['schemas']['AgentScheduleExceptionListResponse'];
292
+ type CreateAgentScheduleExceptionRequest = components['schemas']['CreateAgentScheduleExceptionRequest'];
293
+ type UpdateAgentScheduleExceptionRequest = components['schemas']['UpdateAgentScheduleExceptionRequest'];
401
294
  type AgentVersionSummary = components['schemas']['AgentVersionSummary'];
402
295
  type AgentVersionDetail = components['schemas']['AgentVersionDetail'];
403
296
  type AgentVersionListResponse = components['schemas']['AgentVersionListResponse'];
404
297
  type CreateAgentVersionRequest = components['schemas']['CreateAgentVersionRequest'];
405
- type UpdateAgentVersionRequest = components['schemas']['UpdateAgentVersionRequest'];
298
+ type PublishAgentVersionRequest = components['schemas']['PublishAgentVersionRequest'];
299
+ type UpdateAgentVersionNotesRequest = components['schemas']['UpdateAgentVersionNotesRequest'];
406
300
  type AgentBlueprint = {
407
301
  id: string;
408
302
  agentId: string;
@@ -532,9 +426,21 @@ declare function createAgentScheduleApi(cfg: ClientConfig & {
532
426
  retry?: RetryPolicy;
533
427
  }): {
534
428
  get(agentId: string): Promise<AgentSchedule>;
429
+ create(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
535
430
  update(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
536
431
  };
537
432
 
433
+ type ListAgentScheduleExceptionsOptions = ListQueryOptions;
434
+ declare function createAgentScheduleExceptionsApi(cfg: ClientConfig & {
435
+ retry?: RetryPolicy;
436
+ }): {
437
+ list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
438
+ get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
439
+ create(agentId: string, payload: CreateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
440
+ update(agentId: string, exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
441
+ delete(agentId: string, exceptionId: string): Promise<void>;
442
+ };
443
+
538
444
  declare function createAgentTagsApi(cfg: ClientConfig & {
539
445
  retry?: RetryPolicy;
540
446
  }): {
@@ -542,18 +448,17 @@ declare function createAgentTagsApi(cfg: ClientConfig & {
542
448
  readonly remove: (agentId: string, tagId: string) => Promise<void>;
543
449
  };
544
450
 
545
- type ListAgentVersionsOptions = {
546
- status?: 'draft' | 'published' | 'archived';
547
- } & ListQueryOptions;
451
+ type ListAgentVersionsOptions = Pick<ListQueryOptions, 'page' | 'limit' | 'filter'>;
548
452
  type ListAgentVersionInstructionsOptions = ListQueryOptions;
549
453
  declare function createAgentVersionsApi(cfg: ClientConfig & {
550
454
  retry?: RetryPolicy;
551
455
  }): {
552
456
  list(agentId: string, opts?: ListAgentVersionsOptions): Promise<PaginatedResult<AgentVersionListResponse, ListAgentVersionsOptions>>;
553
457
  get(agentId: string, versionId: string): Promise<AgentVersionDetail>;
554
- create(agentId: string, payload: CreateAgentVersionRequest): Promise<AgentVersionDetail>;
555
- update(agentId: string, versionId: string, payload: UpdateAgentVersionRequest): Promise<AgentVersionDetail>;
556
- delete(agentId: string, versionId: string): Promise<void>;
458
+ create(agentId: string, payload?: CreateAgentVersionRequest): Promise<AgentVersionDetail>;
459
+ clone(agentId: string, versionId: string): Promise<AgentVersionDetail>;
460
+ publish(agentId: string, versionId: string, payload?: PublishAgentVersionRequest): Promise<AgentVersionDetail>;
461
+ updateNotes(agentId: string, versionId: string, payload: UpdateAgentVersionNotesRequest): Promise<AgentVersionDetail>;
557
462
  listInstructions(agentId: string, versionId: string, opts?: ListAgentVersionInstructionsOptions): Promise<InstructionListResponse>;
558
463
  createInstruction(agentId: string, versionId: string, payload: CreateInstructionRequest): Promise<InstructionCreatedResponse>;
559
464
  updateInstruction(agentId: string, versionId: string, instructionId: string, payload: UpdateInstructionRequest): Promise<Instruction>;
@@ -564,6 +469,7 @@ type AgentInstructionsApi = ReturnType<typeof createAgentInstructionsApi>;
564
469
  type AgentTagsApi = ReturnType<typeof createAgentTagsApi>;
565
470
  type AgentPhonesApi = ReturnType<typeof createAgentPhonesApi>;
566
471
  type AgentScheduleApi = ReturnType<typeof createAgentScheduleApi>;
472
+ type AgentScheduleExceptionsApi = ReturnType<typeof createAgentScheduleExceptionsApi>;
567
473
  type AgentVersionsApi = ReturnType<typeof createAgentVersionsApi>;
568
474
  type AgentBlueprintsApi = ReturnType<typeof createAgentBlueprintsApi>;
569
475
  type AgentInstructionsHelper = ReturnType<typeof bindAgentInstructions>;
@@ -589,6 +495,7 @@ type AgentEntityFactoryOptions = {
589
495
  tagsApi: AgentTagsApi;
590
496
  phonesApi: AgentPhonesApi;
591
497
  scheduleApi: AgentScheduleApi;
498
+ scheduleExceptionsApi: AgentScheduleExceptionsApi;
592
499
  versionsApi: AgentVersionsApi;
593
500
  blueprintsApi: AgentBlueprintsApi;
594
501
  reload(agentId: string): Promise<AgentEntity>;
@@ -596,24 +503,9 @@ type AgentEntityFactoryOptions = {
596
503
  deleteAgent(agentId: string): Promise<void>;
597
504
  };
598
505
  declare const bindAgentInstructions: (api: AgentInstructionsApi, agentId: string) => {
599
- list(opts?: ListAgentInstructionsOptions): Promise<PaginatedResult<{
600
- data: components["schemas"]["Instruction"][];
601
- meta?: components["schemas"]["PaginationMeta"];
602
- }, ListAgentInstructionsOptions>>;
603
- create(payload: CreateInstructionRequest): Promise<{
604
- id: string;
605
- versionId: string;
606
- order: number;
607
- createdAt: string;
608
- }>;
609
- update(instructionId: string, payload: UpdateInstructionRequest): Promise<{
610
- id: string;
611
- versionId: string;
612
- order: number;
613
- content: string;
614
- createdAt?: string;
615
- updatedAt?: string;
616
- }>;
506
+ list(opts?: ListAgentInstructionsOptions): Promise<any>;
507
+ create(payload: CreateInstructionRequest): Promise<any>;
508
+ update(instructionId: string, payload: UpdateInstructionRequest): Promise<any>;
617
509
  delete(instructionId: string): Promise<void>;
618
510
  };
619
511
  declare const bindAgentTags: (api: AgentTagsApi, agentId: string) => {
@@ -621,107 +513,39 @@ declare const bindAgentTags: (api: AgentTagsApi, agentId: string) => {
621
513
  remove(tagId: string): Promise<void>;
622
514
  };
623
515
  declare const bindAgentPhones: (api: AgentPhonesApi, agentId: string) => {
624
- connect(payload: ConnectPhoneRequest): Promise<{
625
- agent_id: string;
626
- phone_id: string;
627
- allow_all: boolean;
628
- test_phones?: string[];
629
- channel?: string | null;
630
- assigned_at?: string | null;
631
- }>;
516
+ connect(payload: ConnectPhoneRequest): Promise<any>;
632
517
  disconnect(phoneId: string): Promise<void>;
633
518
  };
634
- declare const bindAgentSchedule: (api: AgentScheduleApi, agentId: string) => {
635
- get(): Promise<{
636
- agentId: string;
637
- timezone: string;
638
- rules: components["schemas"]["AgentScheduleRule"][];
639
- metadata?: {
640
- [key: string]: unknown;
641
- };
642
- }>;
643
- update(payload: UpdateAgentScheduleRequest): Promise<{
644
- agentId: string;
645
- timezone: string;
646
- rules: components["schemas"]["AgentScheduleRule"][];
647
- metadata?: {
648
- [key: string]: unknown;
649
- };
650
- }>;
519
+ declare const bindAgentScheduleExceptions: (api: AgentScheduleExceptionsApi, agentId: string) => {
520
+ list(opts?: ListAgentScheduleExceptionsOptions): Promise<any>;
521
+ get(exceptionId: string): Promise<any>;
522
+ create(payload: CreateAgentScheduleExceptionRequest): Promise<any>;
523
+ update(exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<any>;
524
+ delete(exceptionId: string): Promise<void>;
525
+ };
526
+ declare const bindAgentSchedule: (scheduleApi: AgentScheduleApi, exceptionsApi: AgentScheduleExceptionsApi, agentId: string) => {
527
+ get(): Promise<any>;
528
+ create(payload: UpdateAgentScheduleRequest): Promise<any>;
529
+ update(payload: UpdateAgentScheduleRequest): Promise<any>;
530
+ exceptions: {
531
+ list(opts?: ListAgentScheduleExceptionsOptions): Promise<any>;
532
+ get(exceptionId: string): Promise<any>;
533
+ create(payload: CreateAgentScheduleExceptionRequest): Promise<any>;
534
+ update(exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<any>;
535
+ delete(exceptionId: string): Promise<void>;
536
+ };
651
537
  };
652
538
  declare const bindAgentVersions: (api: AgentVersionsApi, agentId: string) => {
653
- list(opts?: ListAgentVersionsOptions): Promise<PaginatedResult<{
654
- data: components["schemas"]["AgentVersionSummary"][];
655
- meta?: components["schemas"]["PaginationMeta"];
656
- }, ListAgentVersionsOptions>>;
657
- get(versionId: string): Promise<{
658
- versionId: string;
659
- agentId: string;
660
- label: string;
661
- status: "draft" | "published" | "archived";
662
- isActive?: boolean;
663
- createdAt: string;
664
- updatedAt?: string;
665
- publishedAt?: string | null;
666
- } & {
667
- description?: string;
668
- metadata?: {
669
- [key: string]: unknown;
670
- };
671
- instructionsVersionId?: string;
672
- }>;
673
- create(payload: CreateAgentVersionRequest): Promise<{
674
- versionId: string;
675
- agentId: string;
676
- label: string;
677
- status: "draft" | "published" | "archived";
678
- isActive?: boolean;
679
- createdAt: string;
680
- updatedAt?: string;
681
- publishedAt?: string | null;
682
- } & {
683
- description?: string;
684
- metadata?: {
685
- [key: string]: unknown;
686
- };
687
- instructionsVersionId?: string;
688
- }>;
689
- update(versionId: string, payload: UpdateAgentVersionRequest): Promise<{
690
- versionId: string;
691
- agentId: string;
692
- label: string;
693
- status: "draft" | "published" | "archived";
694
- isActive?: boolean;
695
- createdAt: string;
696
- updatedAt?: string;
697
- publishedAt?: string | null;
698
- } & {
699
- description?: string;
700
- metadata?: {
701
- [key: string]: unknown;
702
- };
703
- instructionsVersionId?: string;
704
- }>;
705
- delete(versionId: string): Promise<void>;
539
+ list(opts?: ListAgentVersionsOptions): Promise<any>;
540
+ get(versionId: string): Promise<any>;
541
+ create(payload?: CreateAgentVersionRequest): Promise<any>;
542
+ clone(versionId: string): Promise<any>;
543
+ publish(versionId: string, payload?: PublishAgentVersionRequest): Promise<any>;
544
+ updateNotes(versionId: string, payload: UpdateAgentVersionNotesRequest): Promise<any>;
706
545
  instructions(versionId: string): {
707
- readonly list: (opts?: ListAgentVersionInstructionsOptions) => Promise<{
708
- data: components["schemas"]["Instruction"][];
709
- meta?: components["schemas"]["PaginationMeta"];
710
- }>;
711
- readonly create: (payload: CreateInstructionRequest) => Promise<{
712
- id: string;
713
- versionId: string;
714
- order: number;
715
- createdAt: string;
716
- }>;
717
- readonly update: (instructionId: string, payload: UpdateInstructionRequest) => Promise<{
718
- id: string;
719
- versionId: string;
720
- order: number;
721
- content: string;
722
- createdAt?: string;
723
- updatedAt?: string;
724
- }>;
546
+ readonly list: (opts?: ListAgentVersionInstructionsOptions) => Promise<any>;
547
+ readonly create: (payload: CreateInstructionRequest) => Promise<any>;
548
+ readonly update: (instructionId: string, payload: UpdateInstructionRequest) => Promise<any>;
725
549
  readonly delete: (instructionId: string) => Promise<void>;
726
550
  };
727
551
  };
@@ -741,6 +565,7 @@ type AgentEntityDependencies = {
741
565
  tagsApi: ReturnType<typeof createAgentTagsApi>;
742
566
  phonesApi: ReturnType<typeof createAgentPhonesApi>;
743
567
  scheduleApi: ReturnType<typeof createAgentScheduleApi>;
568
+ scheduleExceptionsApi: ReturnType<typeof createAgentScheduleExceptionsApi>;
744
569
  versionsApi: ReturnType<typeof createAgentVersionsApi>;
745
570
  blueprintsApi: ReturnType<typeof createAgentBlueprintsApi>;
746
571
  };
@@ -752,8 +577,9 @@ type AgentsApi = {
752
577
  update(agentId: string, payload: UpdateAgentRequest): Promise<AgentDetail>;
753
578
  delete(agent: string | AgentEntity): Promise<void>;
754
579
  };
755
- type AgentListResponseWithEntities = Omit<AgentListResponse, 'data'> & {
580
+ type AgentListResponseWithEntities = {
756
581
  data: AgentEntity[];
582
+ meta: AgentListResponse['meta'];
757
583
  };
758
584
  type AgentsApiWithEntities = Omit<AgentsApi, 'get' | 'create' | 'update' | 'list'> & {
759
585
  list(options?: ListAgentsOptions): Promise<PaginatedResult<AgentListResponseWithEntities, ListAgentsOptions>>;
@@ -873,14 +699,24 @@ declare function createClient(initialCfg: ClientConfig & {
873
699
  } & ((agentId: string) => ReturnType<typeof bindAgentPhones>);
874
700
  schedule: {
875
701
  get(agentId: string): Promise<AgentSchedule>;
702
+ create(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
876
703
  update(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
877
- } & ((agentId: string) => ReturnType<typeof bindAgentSchedule>);
704
+ } & ((agentId: string) => ReturnType<typeof bindAgentSchedule>) & {
705
+ exceptions: {
706
+ list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
707
+ get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
708
+ create(agentId: string, payload: CreateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
709
+ update(agentId: string, exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
710
+ delete(agentId: string, exceptionId: string): Promise<void>;
711
+ } & ((agentId: string) => ReturnType<typeof bindAgentScheduleExceptions>);
712
+ };
878
713
  versions: {
879
714
  list(agentId: string, opts?: ListAgentVersionsOptions): Promise<PaginatedResult<AgentVersionListResponse, ListAgentVersionsOptions>>;
880
715
  get(agentId: string, versionId: string): Promise<AgentVersionDetail>;
881
- create(agentId: string, payload: CreateAgentVersionRequest): Promise<AgentVersionDetail>;
882
- update(agentId: string, versionId: string, payload: UpdateAgentVersionRequest): Promise<AgentVersionDetail>;
883
- delete(agentId: string, versionId: string): Promise<void>;
716
+ create(agentId: string, payload?: CreateAgentVersionRequest): Promise<AgentVersionDetail>;
717
+ clone(agentId: string, versionId: string): Promise<AgentVersionDetail>;
718
+ publish(agentId: string, versionId: string, payload?: PublishAgentVersionRequest): Promise<AgentVersionDetail>;
719
+ updateNotes(agentId: string, versionId: string, payload: UpdateAgentVersionNotesRequest): Promise<AgentVersionDetail>;
884
720
  listInstructions(agentId: string, versionId: string, opts?: ListAgentVersionInstructionsOptions): Promise<InstructionListResponse>;
885
721
  createInstruction(agentId: string, versionId: string, payload: CreateInstructionRequest): Promise<InstructionCreatedResponse>;
886
722
  updateInstruction(agentId: string, versionId: string, instructionId: string, payload: UpdateInstructionRequest): Promise<Instruction>;
@@ -888,11 +724,9 @@ declare function createClient(initialCfg: ClientConfig & {
888
724
  } & ((agentId: string) => ReturnType<typeof bindAgentVersions>);
889
725
  blueprints: AgentBlueprintsApi$1 & ((agentId: string) => ReturnType<typeof bindAgentBlueprints>);
890
726
  delete: (agent: string | AgentEntity) => Promise<void>;
891
- list(options?: ListAgentsOptions): Promise<PaginatedResult<Omit<{
892
- data: components["schemas"]["AgentSummary"][];
893
- meta: components["schemas"]["PaginationMeta"];
894
- }, "data"> & {
727
+ list(options?: ListAgentsOptions): Promise<PaginatedResult<{
895
728
  data: AgentEntity[];
729
+ meta: AgentListResponse["meta"];
896
730
  }, ListAgentsOptions>>;
897
731
  get(agentId: string): Promise<AgentEntity>;
898
732
  create(payload: CreateAgentRequest): Promise<AgentEntity>;
@@ -905,14 +739,7 @@ declare function createClient(initialCfg: ClientConfig & {
905
739
  tools: {
906
740
  list(options?: ListToolsOptions): Promise<PaginatedResult<ToolListResponse, ListToolsOptions>>;
907
741
  listResources(toolId: string, options?: ListToolResourcesOptions): Promise<PaginatedResult<ToolResourceListResponse, ListToolResourcesOptions>>;
908
- uploadResource(toolId: string, payload: FormData | (Omit<{
909
- file: string;
910
- type?: "document" | "media" | "file";
911
- title?: string;
912
- metadata?: {
913
- [key: string]: unknown;
914
- };
915
- }, "file"> & {
742
+ uploadResource(toolId: string, payload: FormData | (Omit<any, "file"> & {
916
743
  file: unknown;
917
744
  })): Promise<ToolResourceUploadResponse>;
918
745
  deleteResource(toolId: string, resourceId: string): Promise<void>;
@@ -943,14 +770,24 @@ declare function createClient(initialCfg: ClientConfig & {
943
770
  } & ((agentId: string) => ReturnType<typeof bindAgentPhones>);
944
771
  schedule: {
945
772
  get(agentId: string): Promise<AgentSchedule>;
773
+ create(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
946
774
  update(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
947
- } & ((agentId: string) => ReturnType<typeof bindAgentSchedule>);
775
+ } & ((agentId: string) => ReturnType<typeof bindAgentSchedule>) & {
776
+ exceptions: {
777
+ list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
778
+ get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
779
+ create(agentId: string, payload: CreateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
780
+ update(agentId: string, exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
781
+ delete(agentId: string, exceptionId: string): Promise<void>;
782
+ } & ((agentId: string) => ReturnType<typeof bindAgentScheduleExceptions>);
783
+ };
948
784
  versions: {
949
785
  list(agentId: string, opts?: ListAgentVersionsOptions): Promise<PaginatedResult<AgentVersionListResponse, ListAgentVersionsOptions>>;
950
786
  get(agentId: string, versionId: string): Promise<AgentVersionDetail>;
951
- create(agentId: string, payload: CreateAgentVersionRequest): Promise<AgentVersionDetail>;
952
- update(agentId: string, versionId: string, payload: UpdateAgentVersionRequest): Promise<AgentVersionDetail>;
953
- delete(agentId: string, versionId: string): Promise<void>;
787
+ create(agentId: string, payload?: CreateAgentVersionRequest): Promise<AgentVersionDetail>;
788
+ clone(agentId: string, versionId: string): Promise<AgentVersionDetail>;
789
+ publish(agentId: string, versionId: string, payload?: PublishAgentVersionRequest): Promise<AgentVersionDetail>;
790
+ updateNotes(agentId: string, versionId: string, payload: UpdateAgentVersionNotesRequest): Promise<AgentVersionDetail>;
954
791
  listInstructions(agentId: string, versionId: string, opts?: ListAgentVersionInstructionsOptions): Promise<InstructionListResponse>;
955
792
  createInstruction(agentId: string, versionId: string, payload: CreateInstructionRequest): Promise<InstructionCreatedResponse>;
956
793
  updateInstruction(agentId: string, versionId: string, instructionId: string, payload: UpdateInstructionRequest): Promise<Instruction>;
@@ -958,11 +795,9 @@ declare function createClient(initialCfg: ClientConfig & {
958
795
  } & ((agentId: string) => ReturnType<typeof bindAgentVersions>);
959
796
  blueprints: AgentBlueprintsApi$1 & ((agentId: string) => ReturnType<typeof bindAgentBlueprints>);
960
797
  delete: (agent: string | AgentEntity) => Promise<void>;
961
- list(options?: ListAgentsOptions): Promise<PaginatedResult<Omit<{
962
- data: components["schemas"]["AgentSummary"][];
963
- meta: components["schemas"]["PaginationMeta"];
964
- }, "data"> & {
798
+ list(options?: ListAgentsOptions): Promise<PaginatedResult<{
965
799
  data: AgentEntity[];
800
+ meta: AgentListResponse["meta"];
966
801
  }, ListAgentsOptions>>;
967
802
  get(agentId: string): Promise<AgentEntity>;
968
803
  create(payload: CreateAgentRequest): Promise<AgentEntity>;
@@ -975,14 +810,7 @@ declare function createClient(initialCfg: ClientConfig & {
975
810
  tools: {
976
811
  list(options?: ListToolsOptions): Promise<PaginatedResult<ToolListResponse, ListToolsOptions>>;
977
812
  listResources(toolId: string, options?: ListToolResourcesOptions): Promise<PaginatedResult<ToolResourceListResponse, ListToolResourcesOptions>>;
978
- uploadResource(toolId: string, payload: FormData | (Omit<{
979
- file: string;
980
- type?: "document" | "media" | "file";
981
- title?: string;
982
- metadata?: {
983
- [key: string]: unknown;
984
- };
985
- }, "file"> & {
813
+ uploadResource(toolId: string, payload: FormData | (Omit<any, "file"> & {
986
814
  file: unknown;
987
815
  })): Promise<ToolResourceUploadResponse>;
988
816
  deleteResource(toolId: string, resourceId: string): Promise<void>;
@@ -1019,4 +847,4 @@ declare function createHttp(cfg: ClientConfig & {
1019
847
  resolveAccessToken: () => string;
1020
848
  };
1021
849
 
1022
- export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentSummary, type AgentTagRequest, type AgentTagsResponse, type AgentVersionDetail, type AgentVersionListResponse, type AgentVersionSummary, type AgentsApi, type AgentsApiWithEntities, type ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type ClientConfig, type ConnectPhoneRequest, type CreateAgentBlueprintRequest, type CreateAgentRequest, type CreateAgentVersionRequest, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateInstructionRequest, type ErrorResponse, type ExecuteToolRequest, type ExecuteToolResponse, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentInstructionsOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListQueryOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListVoicesOptions, type ListWorkspacePhonesOptions, NetworkError, type PaginatedResult, type PaginationMeta, type PhoneAssignmentResponse, type QueryBuilderInput, type QueryBuilderSerializable, type QueryFilterOperators, type QueryFilters, type QueryOrGroups, type QueryValue, type RetryPolicy, TimeoutError, type ToolConnectionRequest, type ToolConnectionResponse, type ToolListResponse, type ToolResourceListResponse, type ToolResourceReloadResponse, type ToolResourceSummary, type ToolResourceUploadRequest, type ToolResourceUploadResponse, type ToolSummary, type UpdateAgentBlueprintRequest, type UpdateAgentRequest, type UpdateAgentScheduleRequest, type UpdateAgentVersionRequest, type UpdateInstructionRequest, type VoiceListResponse, type VoiceSummary, type WorkspaceEnableRequest, type WorkspaceEnableResponse, type WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, bindAgentBlueprints, bindAgentInstructions, bindAgentPhones, bindAgentSchedule, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentInstructionsApi, createAgentPhonesApi, createAgentScheduleApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createClient, createHttp, createToolsApi, createVoicesApi, createWorkspacesApi };
850
+ export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentScheduleException, type AgentScheduleExceptionListResponse, type AgentSummary, type AgentTagRequest, type AgentTagsResponse, type AgentVersionDetail, type AgentVersionListResponse, type AgentVersionSummary, type AgentsApi, type AgentsApiWithEntities, type ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type ClientConfig, type ConnectPhoneRequest, type CreateAgentBlueprintRequest, type CreateAgentRequest, type CreateAgentScheduleExceptionRequest, type CreateAgentVersionRequest, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateInstructionRequest, type ErrorResponse, type ExecuteToolRequest, type ExecuteToolResponse, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentInstructionsOptions, type ListAgentScheduleExceptionsOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListQueryOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListVoicesOptions, type ListWorkspacePhonesOptions, NetworkError, type PaginatedResult, type PaginationMeta, type PhoneAssignmentResponse, type PublishAgentVersionRequest, type QueryBuilderInput, type QueryBuilderSerializable, type QueryFilterOperators, type QueryFilters, type QueryOrGroups, type QueryValue, type RetryPolicy, TimeoutError, type ToolConnectionRequest, type ToolConnectionResponse, type ToolListResponse, type ToolResourceListResponse, type ToolResourceReloadResponse, type ToolResourceSummary, type ToolResourceUploadRequest, type ToolResourceUploadResponse, type ToolSummary, type UpdateAgentBlueprintRequest, type UpdateAgentRequest, type UpdateAgentScheduleExceptionRequest, type UpdateAgentScheduleRequest, type UpdateAgentVersionNotesRequest, type UpdateInstructionRequest, type VoiceListResponse, type VoiceSummary, type WorkspaceEnableRequest, type WorkspaceEnableResponse, type WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, bindAgentBlueprints, bindAgentInstructions, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentInstructionsApi, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createClient, createHttp, createToolsApi, createVoicesApi, createWorkspacesApi };