@kivox/client 0.1.0-beta.34 → 0.1.0-beta.36

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.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  declare namespace exports_api {
2
- export { updateTemplate, updateOrgMember, updateOrg, updateCurrentUserEmail, updateCurrentUser, updateAgentStatus, updateAgent, signup, revokeApiKey, removeOrgMember, logoutAll, logout, login, listUserTemplates, listUserAgents, listOrgs, listOrgTemplates, listOrgMembers, listOrgAgents, listMessages, listConversations, listApiKeys, lintAgent, getUser, getTemplate, getOrg, getCurrentUser, getConversation, getAgent, deleteTemplate, deleteOrg, deleteCurrentUser, deleteConversation, deleteAgent, createUserTemplate, createUserAgent, createOrgTemplate, createOrgAgent, createOrg, createApiKey, addOrgMember, User, UpdateTemplateResult, UpdateTemplateBody, UpdateStatusBodyStatus, UpdateStatusBody, UpdateOrgResult, UpdateOrgMemberResult, UpdateOrgBody, UpdateMemberBodyRole, UpdateMemberBody, UpdateCurrentUserResult, UpdateCurrentUserEmailResult, UpdateCurrentUserEmailBody, UpdateCurrentUserBody, UpdateAgentStatusResult, UpdateAgentResult, UpdateAgentBody, Template, SignupResult, SignupBody, SessionResponse, Secret, Safeguards, RevokeApiKeyResult, RemoveOrgMemberResult, PageResponseTemplate, PageResponseAgent, Org, Message, Member, LogoutResult, LogoutAllResult, LoginResult, LoginBody, ListUserTemplatesResult, ListUserTemplatesParams, ListUserAgentsResult, ListUserAgentsParams, ListOrgsResult, ListOrgTemplatesResult, ListOrgTemplatesParams, ListOrgMembersResult, ListOrgAgentsResult, ListOrgAgentsParams, ListMessagesResult, ListMessagesParams, ListConversationsResult, ListConversationsParams, ListApiKeysResult, LintDiagnostics, LintBody, LintAgentResult, GetUserResult, GetTemplateResult, GetOrgResult, GetCurrentUserResult, GetConversationResult, GetAgentResult, ErrorModel, ErrorDetail, DeleteTemplateResult, DeleteOrgResult, DeleteCurrentUserResult, DeleteConversationResult, DeleteAgentResult, CursorResponseMessage, CursorResponseConversation, CreateUserTemplateResult, CreateUserAgentResult, CreateTemplateBody, CreateOrgTemplateResult, CreateOrgResult, CreateOrgBody, CreateOrgAgentResult, CreateApiKeyResult, CreateAgentBody, CreateAPIKeyBody, Conversation, Config, Agent, AddOrgMemberResult, AddMemberBodyRole, AddMemberBody, APIKeyResponse, APIKey };
2
+ export { updateTemplate, updateOrgMember, updateOrg, updateCurrentUserEmail, updateCurrentUser, updateAgentStatus, updateAgent, signup, revokeApiKey, removeOrgMember, logoutAll, logout, login, listUserTemplates, listUserAgents, listOrgs, listOrgTemplates, listOrgMembers, listOrgAgents, listMessages, listConversations, listApiKeys, lintAgent, getUser, getTemplate, getOrg, getCurrentUser, getConversation, getAgent, deleteTemplate, deleteOrg, deleteCurrentUser, deleteConversation, deleteAgent, createUserTemplate, createUserAgent, createOrgTemplate, createOrgAgent, createOrg, createApiKey, addOrgMember, User, UpdateUserInBody, UpdateTemplateResult, UpdateTemplateInBody, UpdateOrgResult, UpdateOrgMemberResult, UpdateOrgInBody, UpdateMemberInBodyRole, UpdateMemberInBody, UpdateEmailInBody, UpdateCurrentUserResult, UpdateCurrentUserEmailResult, UpdateAgentStatusResult, UpdateAgentStatusInBodyStatus, UpdateAgentStatusInBody, UpdateAgentResult, UpdateAgentInBody, Template, SignupResult, SignupInBody, RevokeApiKeyResult, RemoveOrgMemberResult, PageResponseTemplate, PageResponseAgent, OrgMember, Org, LogoutResult, LogoutAllResult, LoginResult, LoginInBody, ListUserTemplatesResult, ListUserTemplatesParams, ListUserAgentsResult, ListUserAgentsParams, ListOrgsResult, ListOrgTemplatesResult, ListOrgTemplatesParams, ListOrgMembersResult, ListOrgAgentsResult, ListOrgAgentsParams, ListMessagesResult, ListMessagesParams, ListConversationsResult, ListConversationsParams, ListApiKeysResult, LintAgentResult, LintAgentInBody, GetUserResult, GetTemplateResult, GetOrgResult, GetCurrentUserResult, GetConversationResult, GetAgentResult, ErrorModel, ErrorDetail, DeleteTemplateResult, DeleteOrgResult, DeleteCurrentUserResult, DeleteConversationResult, DeleteAgentResult, CursorResponseConversationMessage, CursorResponseConversation, CreateUserTemplateResult, CreateUserTemplateInBody, CreateUserAgentResult, CreateUserAgentInBody, CreateOrgTemplateResult, CreateOrgTemplateInBody, CreateOrgResult, CreateOrgInBody, CreateOrgAgentResult, CreateOrgAgentInBody, CreateApiKeyResult, CreateAPIKeyInBody, ConversationMessage, Conversation, BlueprintWorkflowNodesItem, BlueprintWorkflowEdgesItem, BlueprintWorkflow, BlueprintEntry, Blueprint, AuthSessionResponse, AuthAPIKeyResponse, AuthAPIKey, AgentSecret, AgentLintDiagnostics, AgentConfig, Agent, AddOrgMemberResult, AddMemberInBodyRole, AddMemberInBody };
3
3
  }
4
4
  import { AxiosRequestConfig, AxiosResponse } from "axios";
5
5
  type IfEquals<
@@ -13,52 +13,45 @@ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (
13
13
  type DistributeReadOnlyOverUnions<T> = T extends any ? NonReadonly<T> : never;
14
14
  type Writable<T> = Pick<T, WritableKeys<T>>;
15
15
  type NonReadonly<T> = [T] extends [UnionToIntersection<T>] ? { [P in keyof Writable<T>] : T[P] extends object ? NonReadonly<NonNullable<T[P]>> : T[P] } : DistributeReadOnlyOverUnions<T>;
16
- interface APIKey {
17
- created_at: string;
18
- created_by_user_id: string;
19
- /** @nullable */
20
- expires_at: string | null;
21
- id: string;
22
- /** @nullable */
23
- last_used_at: string | null;
24
- name: string;
25
- owner_org_id: string;
26
- owner_user_id: string;
27
- prefix: string;
28
- /** @nullable */
29
- scopes: string[] | null;
30
- }
31
- interface APIKeyResponse {
32
- /** A URL to the JSON Schema for this object. */
33
- readonly $schema?: string;
34
- created_at: string;
35
- /** @nullable */
36
- expires_at: string | null;
37
- id: string;
38
- key: string;
39
- name: string;
40
- prefix: string;
41
- /** @nullable */
42
- scopes: string[] | null;
43
- }
44
- /**
45
- * Role to assign
46
- */
47
- type AddMemberBodyRole = typeof AddMemberBodyRole[keyof typeof AddMemberBodyRole];
48
- declare const AddMemberBodyRole: {
16
+ type AddMemberInBodyRole = typeof AddMemberInBodyRole[keyof typeof AddMemberInBodyRole];
17
+ declare const AddMemberInBodyRole: {
49
18
  readonly admin: "admin"
50
19
  readonly member: "member"
51
20
  readonly viewer: "viewer"
52
21
  };
53
- interface AddMemberBody {
22
+ interface AddMemberInBody {
54
23
  /** A URL to the JSON Schema for this object. */
55
24
  readonly $schema?: string;
56
- /** Role to assign */
57
- role: AddMemberBodyRole;
58
- /** User to add */
25
+ role: AddMemberInBodyRole;
59
26
  user_id: string;
60
27
  }
61
- interface Config {
28
+ type BlueprintWorkflowEdgesItem = {
29
+ source: string
30
+ target: string
31
+ [key: string]: unknown
32
+ };
33
+ type BlueprintWorkflowNodesItem = {
34
+ data?: unknown
35
+ id: string
36
+ type: string
37
+ [key: string]: unknown
38
+ };
39
+ interface BlueprintWorkflow {
40
+ /** @nullable */
41
+ edges: BlueprintWorkflowEdgesItem[] | null;
42
+ /** @nullable */
43
+ nodes: BlueprintWorkflowNodesItem[] | null;
44
+ }
45
+ interface BlueprintEntry {
46
+ name: string;
47
+ workflow: BlueprintWorkflow;
48
+ }
49
+ interface Blueprint {
50
+ /** @nullable */
51
+ entries: BlueprintEntry[] | null;
52
+ version: string;
53
+ }
54
+ interface AgentConfig {
62
55
  allow_interruptions?: boolean;
63
56
  avatar_url?: string;
64
57
  description?: string;
@@ -71,26 +64,63 @@ interface Config {
71
64
  name: string;
72
65
  timezone?: string;
73
66
  }
74
- interface Safeguards {
75
- max_calls: number;
76
- max_http_calls: number;
77
- max_llm_calls: number;
78
- max_transitions: number;
79
- }
80
67
  interface Agent {
81
68
  /** A URL to the JSON Schema for this object. */
82
69
  readonly $schema?: string;
83
- config: Config;
70
+ blueprint: Blueprint;
71
+ config: AgentConfig;
84
72
  created_at: string;
85
73
  id: string;
86
- ork_source: string;
87
74
  owner_org_id?: string;
88
75
  owner_user_id?: string;
89
- safeguards: Safeguards;
90
76
  status: string;
91
77
  template_id?: string;
92
78
  updated_at: string;
93
79
  }
80
+ interface AgentLintDiagnostics {
81
+ /** A URL to the JSON Schema for this object. */
82
+ readonly $schema?: string;
83
+ /** @nullable */
84
+ errors: string[] | null;
85
+ }
86
+ interface AgentSecret {
87
+ description?: string;
88
+ key: string;
89
+ value: string;
90
+ }
91
+ interface AuthAPIKey {
92
+ created_at: string;
93
+ created_by_user_id: string;
94
+ /** @nullable */
95
+ expires_at: string | null;
96
+ id: string;
97
+ /** @nullable */
98
+ last_used_at: string | null;
99
+ name: string;
100
+ owner_org_id: string;
101
+ owner_user_id: string;
102
+ prefix: string;
103
+ /** @nullable */
104
+ scopes: string[] | null;
105
+ }
106
+ interface AuthAPIKeyResponse {
107
+ /** A URL to the JSON Schema for this object. */
108
+ readonly $schema?: string;
109
+ created_at: string;
110
+ /** @nullable */
111
+ expires_at: string | null;
112
+ id: string;
113
+ key: string;
114
+ name: string;
115
+ prefix: string;
116
+ /** @nullable */
117
+ scopes: string[] | null;
118
+ }
119
+ interface AuthSessionResponse {
120
+ /** A URL to the JSON Schema for this object. */
121
+ readonly $schema?: string;
122
+ expires_at: string;
123
+ }
94
124
  interface Conversation {
95
125
  /** A URL to the JSON Schema for this object. */
96
126
  readonly $schema?: string;
@@ -102,81 +132,69 @@ interface Conversation {
102
132
  status: string;
103
133
  summary?: string;
104
134
  }
105
- interface CreateAPIKeyBody {
135
+ interface ConversationMessage {
136
+ content: string;
137
+ conversation_id: string;
138
+ created_at: string;
139
+ id: string;
140
+ role: string;
141
+ }
142
+ interface CreateAPIKeyInBody {
106
143
  /** A URL to the JSON Schema for this object. */
107
144
  readonly $schema?: string;
108
- /** Optional expiration time */
109
145
  expires_at?: string;
110
- /**
111
- * Human-readable key name
112
- * @maxLength 50
113
- */
146
+ /** @maxLength 50 */
114
147
  name: string;
115
- /**
116
- * Permission scopes (empty = full access)
117
- * @nullable
118
- */
148
+ /** @nullable */
119
149
  scopes?: string[] | null;
120
150
  }
121
- interface Secret {
122
- description?: string;
123
- key: string;
124
- value: string;
125
- }
126
- interface CreateAgentBody {
151
+ interface CreateOrgAgentInBody {
127
152
  /** A URL to the JSON Schema for this object. */
128
153
  readonly $schema?: string;
129
- /** Agent configuration */
130
- config?: Config;
131
- /** Orchestration source */
132
- ork_source?: string;
133
- /** Resource limits */
134
- safeguards?: Safeguards;
135
- /** Encrypted secrets */
136
- secrets?: Secret[];
137
- /** Optional source template */
154
+ blueprint?: Blueprint;
155
+ config?: AgentConfig;
156
+ secrets?: AgentSecret[];
138
157
  template_id?: string;
139
158
  }
140
- interface CreateOrgBody {
159
+ interface CreateOrgInBody {
141
160
  /** A URL to the JSON Schema for this object. */
142
161
  readonly $schema?: string;
143
- /**
144
- * Organization description
145
- * @maxLength 2048
146
- */
162
+ /** @maxLength 2048 */
147
163
  description?: string;
148
- /**
149
- * Organization name
150
- * @maxLength 256
151
- */
164
+ /** @maxLength 256 */
152
165
  name: string;
153
- /**
154
- * URL-safe slug
155
- * @pattern ^[a-z0-9][a-z0-9\-]{0,61}[a-z0-9]$
156
- */
166
+ /** @pattern ^[a-z0-9][a-z0-9\-]{0,61}[a-z0-9]$ */
157
167
  slug: string;
158
168
  }
159
- interface CreateTemplateBody {
169
+ interface CreateOrgTemplateInBody {
160
170
  /** A URL to the JSON Schema for this object. */
161
171
  readonly $schema?: string;
162
- /** Agent configuration */
163
- config?: Config;
164
- /**
165
- * Template description
166
- * @maxLength 2048
167
- */
172
+ blueprint?: Blueprint;
173
+ config?: AgentConfig;
174
+ /** @maxLength 2048 */
168
175
  description?: string;
169
- /**
170
- * Template name
171
- * @maxLength 256
172
- */
176
+ /** @maxLength 256 */
177
+ name: string;
178
+ secrets?: AgentSecret[];
179
+ }
180
+ interface CreateUserAgentInBody {
181
+ /** A URL to the JSON Schema for this object. */
182
+ readonly $schema?: string;
183
+ blueprint?: Blueprint;
184
+ config?: AgentConfig;
185
+ secrets?: AgentSecret[];
186
+ template_id?: string;
187
+ }
188
+ interface CreateUserTemplateInBody {
189
+ /** A URL to the JSON Schema for this object. */
190
+ readonly $schema?: string;
191
+ blueprint?: Blueprint;
192
+ config?: AgentConfig;
193
+ /** @maxLength 2048 */
194
+ description?: string;
195
+ /** @maxLength 256 */
173
196
  name: string;
174
- /** Orchestration source */
175
- ork_source?: string;
176
- /** Resource limits */
177
- safeguards?: Safeguards;
178
- /** Encrypted secrets */
179
- secrets?: Secret[];
197
+ secrets?: AgentSecret[];
180
198
  }
181
199
  interface CursorResponseConversation {
182
200
  /** A URL to the JSON Schema for this object. */
@@ -186,19 +204,12 @@ interface CursorResponseConversation {
186
204
  items: Conversation[] | null;
187
205
  next_cursor: string;
188
206
  }
189
- interface Message {
190
- content: string;
191
- conversation_id: string;
192
- created_at: string;
193
- id: string;
194
- role: string;
195
- }
196
- interface CursorResponseMessage {
207
+ interface CursorResponseConversationMessage {
197
208
  /** A URL to the JSON Schema for this object. */
198
209
  readonly $schema?: string;
199
210
  has_more: boolean;
200
211
  /** @nullable */
201
- items: Message[] | null;
212
+ items: ConversationMessage[] | null;
202
213
  next_cursor: string;
203
214
  }
204
215
  interface ErrorDetail {
@@ -228,38 +239,18 @@ interface ErrorModel {
228
239
  /** A URI reference to human-readable documentation for the error. */
229
240
  type?: string;
230
241
  }
231
- interface LintBody {
232
- /** A URL to the JSON Schema for this object. */
233
- readonly $schema?: string;
234
- /** Source to lint; defaults to the agent's stored source */
235
- source?: string;
236
- }
237
- interface LintDiagnostics {
242
+ interface LintAgentInBody {
238
243
  /** A URL to the JSON Schema for this object. */
239
244
  readonly $schema?: string;
240
- /** @nullable */
241
- errors: string[] | null;
245
+ blueprint?: Blueprint;
242
246
  }
243
- interface LoginBody {
247
+ interface LoginInBody {
244
248
  /** A URL to the JSON Schema for this object. */
245
249
  readonly $schema?: string;
246
- /** Account email */
247
250
  email: string;
248
- /**
249
- * Account password
250
- * @minLength 8
251
- */
251
+ /** @minLength 8 */
252
252
  password: string;
253
253
  }
254
- interface Member {
255
- /** A URL to the JSON Schema for this object. */
256
- readonly $schema?: string;
257
- created_at: string;
258
- org_id: string;
259
- role: string;
260
- updated_at: string;
261
- user_id: string;
262
- }
263
254
  interface Org {
264
255
  /** A URL to the JSON Schema for this object. */
265
256
  readonly $schema?: string;
@@ -275,6 +266,15 @@ interface Org {
275
266
  tier: string;
276
267
  updated_at: string;
277
268
  }
269
+ interface OrgMember {
270
+ /** A URL to the JSON Schema for this object. */
271
+ readonly $schema?: string;
272
+ created_at: string;
273
+ org_id: string;
274
+ role: string;
275
+ updated_at: string;
276
+ user_id: string;
277
+ }
278
278
  interface PageResponseAgent {
279
279
  /** A URL to the JSON Schema for this object. */
280
280
  readonly $schema?: string;
@@ -287,15 +287,14 @@ interface PageResponseAgent {
287
287
  interface Template {
288
288
  /** A URL to the JSON Schema for this object. */
289
289
  readonly $schema?: string;
290
- config: Config;
290
+ blueprint: Blueprint;
291
+ config: AgentConfig;
291
292
  created_at: string;
292
293
  description?: string;
293
294
  id: string;
294
295
  name: string;
295
- ork_source: string;
296
296
  owner_org_id?: string;
297
297
  owner_user_id?: string;
298
- safeguards: Safeguards;
299
298
  updated_at: string;
300
299
  }
301
300
  interface PageResponseTemplate {
@@ -307,124 +306,76 @@ interface PageResponseTemplate {
307
306
  page: number;
308
307
  total: number;
309
308
  }
310
- interface SessionResponse {
309
+ interface SignupInBody {
311
310
  /** A URL to the JSON Schema for this object. */
312
311
  readonly $schema?: string;
313
- expires_at: string;
314
- }
315
- interface SignupBody {
316
- /** A URL to the JSON Schema for this object. */
317
- readonly $schema?: string;
318
- /** Account email */
319
312
  email: string;
320
- /**
321
- * Display name
322
- * @maxLength 50
323
- */
313
+ /** @maxLength 50 */
324
314
  name: string;
325
- /**
326
- * Account password
327
- * @minLength 8
328
- */
315
+ /** @minLength 8 */
329
316
  password: string;
330
317
  }
331
- interface UpdateAgentBody {
318
+ interface UpdateAgentInBody {
332
319
  /** A URL to the JSON Schema for this object. */
333
320
  readonly $schema?: string;
334
- /** Agent configuration */
335
- config?: Config;
336
- /** Orchestration source */
337
- ork_source?: string;
338
- /** Resource limits */
339
- safeguards?: Safeguards;
340
- /** Encrypted secrets */
341
- secrets?: Secret[];
321
+ blueprint?: Blueprint;
322
+ config?: AgentConfig;
323
+ secrets?: AgentSecret[];
342
324
  }
343
- interface UpdateCurrentUserBody {
325
+ type UpdateAgentStatusInBodyStatus = typeof UpdateAgentStatusInBodyStatus[keyof typeof UpdateAgentStatusInBodyStatus];
326
+ declare const UpdateAgentStatusInBodyStatus: {
327
+ readonly draft: "draft"
328
+ readonly live: "live"
329
+ readonly archived: "archived"
330
+ };
331
+ interface UpdateAgentStatusInBody {
344
332
  /** A URL to the JSON Schema for this object. */
345
333
  readonly $schema?: string;
346
- /** Avatar URL */
347
- avatar_url?: string;
348
- /**
349
- * Display name
350
- * @maxLength 256
351
- */
352
- name?: string;
334
+ status: UpdateAgentStatusInBodyStatus;
353
335
  }
354
- interface UpdateCurrentUserEmailBody {
336
+ interface UpdateEmailInBody {
355
337
  /** A URL to the JSON Schema for this object. */
356
338
  readonly $schema?: string;
357
- /** New email address */
358
339
  email: string;
359
340
  }
360
- /**
361
- * New role
362
- */
363
- type UpdateMemberBodyRole = typeof UpdateMemberBodyRole[keyof typeof UpdateMemberBodyRole];
364
- declare const UpdateMemberBodyRole: {
341
+ type UpdateMemberInBodyRole = typeof UpdateMemberInBodyRole[keyof typeof UpdateMemberInBodyRole];
342
+ declare const UpdateMemberInBodyRole: {
365
343
  readonly owner: "owner"
366
344
  readonly admin: "admin"
367
345
  readonly member: "member"
368
346
  readonly viewer: "viewer"
369
347
  };
370
- interface UpdateMemberBody {
348
+ interface UpdateMemberInBody {
371
349
  /** A URL to the JSON Schema for this object. */
372
350
  readonly $schema?: string;
373
- /** New role */
374
- role: UpdateMemberBodyRole;
351
+ role: UpdateMemberInBodyRole;
375
352
  }
376
- interface UpdateOrgBody {
353
+ interface UpdateOrgInBody {
377
354
  /** A URL to the JSON Schema for this object. */
378
355
  readonly $schema?: string;
379
- /** Avatar URL */
380
356
  avatar_url?: string;
381
- /**
382
- * Organization description
383
- * @maxLength 2048
384
- */
357
+ /** @maxLength 2048 */
385
358
  description?: string;
386
- /**
387
- * Organization name
388
- * @maxLength 256
389
- */
359
+ /** @maxLength 256 */
390
360
  name?: string;
391
361
  }
392
- /**
393
- * Target lifecycle state
394
- */
395
- type UpdateStatusBodyStatus = typeof UpdateStatusBodyStatus[keyof typeof UpdateStatusBodyStatus];
396
- declare const UpdateStatusBodyStatus: {
397
- readonly draft: "draft"
398
- readonly live: "live"
399
- readonly archived: "archived"
400
- };
401
- interface UpdateStatusBody {
362
+ interface UpdateTemplateInBody {
402
363
  /** A URL to the JSON Schema for this object. */
403
364
  readonly $schema?: string;
404
- /** Target lifecycle state */
405
- status: UpdateStatusBodyStatus;
365
+ blueprint?: Blueprint;
366
+ config?: AgentConfig;
367
+ /** @maxLength 2048 */
368
+ description?: string;
369
+ /** @maxLength 256 */
370
+ name?: string;
371
+ secrets?: AgentSecret[];
406
372
  }
407
- interface UpdateTemplateBody {
373
+ interface UpdateUserInBody {
408
374
  /** A URL to the JSON Schema for this object. */
409
375
  readonly $schema?: string;
410
- /** Agent configuration */
411
- config?: Config;
412
- /**
413
- * Template description
414
- * @maxLength 2048
415
- */
416
- description?: string;
417
- /**
418
- * Template name
419
- * @maxLength 256
420
- */
376
+ avatar_url?: string;
377
+ /** @maxLength 256 */
421
378
  name?: string;
422
- /** Orchestration source */
423
- ork_source?: string;
424
- /** Resource limits */
425
- safeguards?: Safeguards;
426
- /** Encrypted secrets */
427
- secrets?: Secret[];
428
379
  }
429
380
  interface User {
430
381
  /** A URL to the JSON Schema for this object. */
@@ -438,24 +389,16 @@ interface User {
438
389
  updated_at: string;
439
390
  }
440
391
  type ListConversationsParams = {
441
- /**
442
- * Cursor from the previous page
443
- */
444
392
  after?: string
445
393
  /**
446
- * Page size
447
394
  * @minimum 1
448
395
  * @maximum 100
449
396
  */
450
397
  limit?: number
451
398
  };
452
399
  type ListMessagesParams = {
453
- /**
454
- * Cursor from the previous page
455
- */
456
400
  after?: string
457
401
  /**
458
- * Page size
459
402
  * @minimum 1
460
403
  * @maximum 100
461
404
  */
@@ -463,60 +406,46 @@ type ListMessagesParams = {
463
406
  };
464
407
  type ListOrgAgentsParams = {
465
408
  /**
466
- * Page size
467
409
  * @minimum 1
468
410
  * @maximum 100
469
411
  */
470
412
  limit?: number
471
413
  /**
472
- * Page number
473
414
  * @minimum 1
474
415
  */
475
416
  page?: number
476
- /**
477
- * Search query
478
- */
479
417
  search?: string
480
418
  };
481
419
  type ListOrgTemplatesParams = {
482
420
  /**
483
- * Page size
484
421
  * @minimum 1
485
422
  * @maximum 100
486
423
  */
487
424
  limit?: number
488
425
  /**
489
- * Page number
490
426
  * @minimum 1
491
427
  */
492
428
  page?: number
493
429
  };
494
430
  type ListUserAgentsParams = {
495
431
  /**
496
- * Page size
497
432
  * @minimum 1
498
433
  * @maximum 100
499
434
  */
500
435
  limit?: number
501
436
  /**
502
- * Page number
503
437
  * @minimum 1
504
438
  */
505
439
  page?: number
506
- /**
507
- * Search query
508
- */
509
440
  search?: string
510
441
  };
511
442
  type ListUserTemplatesParams = {
512
443
  /**
513
- * Page size
514
444
  * @minimum 1
515
445
  * @maximum 100
516
446
  */
517
447
  limit?: number
518
448
  /**
519
- * Page number
520
449
  * @minimum 1
521
450
  */
522
451
  page?: number
@@ -532,40 +461,39 @@ declare const getAgent: (agentID: string, options?: AxiosRequestConfig) => Promi
532
461
  /**
533
462
  * @summary Update an agent
534
463
  */
535
- declare const updateAgent: (agentID: string, updateAgentBody: NonReadonly<UpdateAgentBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Agent>>;
464
+ declare const updateAgent: (agentID: string, updateAgentInBody: NonReadonly<UpdateAgentInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Agent>>;
536
465
  /**
537
466
  * @summary List conversations for an agent
538
467
  */
539
468
  declare const listConversations: (agentID: string, params?: ListConversationsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<CursorResponseConversation>>;
540
469
  /**
541
- * Returns HTTP 200 with diagnostics regardless of compile outcome. Validation errors are domain results, not HTTP errors.
542
470
  * @summary Lint an agent's orchestration source
543
471
  */
544
- declare const lintAgent: (agentID: string, lintBody: NonReadonly<LintBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<LintDiagnostics>>;
472
+ declare const lintAgent: (agentID: string, lintAgentInBody: NonReadonly<LintAgentInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<AgentLintDiagnostics>>;
545
473
  /**
546
474
  * @summary Transition an agent's lifecycle status
547
475
  */
548
- declare const updateAgentStatus: (agentID: string, updateStatusBody: NonReadonly<UpdateStatusBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Agent>>;
476
+ declare const updateAgentStatus: (agentID: string, updateAgentStatusInBody: NonReadonly<UpdateAgentStatusInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Agent>>;
549
477
  /**
550
- * @summary List the authenticated user's API keys
478
+ * @summary List API keys
551
479
  */
552
- declare const listApiKeys: (options?: AxiosRequestConfig) => Promise<AxiosResponse<APIKey[] | null>>;
480
+ declare const listApiKeys: (options?: AxiosRequestConfig) => Promise<AxiosResponse<AuthAPIKey[] | null>>;
553
481
  /**
554
482
  * @summary Create a new API key
555
483
  */
556
- declare const createApiKey: (createAPIKeyBody: NonReadonly<CreateAPIKeyBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<APIKeyResponse>>;
484
+ declare const createApiKey: (createAPIKeyInBody: NonReadonly<CreateAPIKeyInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<AuthAPIKeyResponse>>;
557
485
  /**
558
486
  * @summary Revoke an API key
559
487
  */
560
488
  declare const revokeApiKey: (keyID: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
561
489
  /**
562
- * @summary Revoke all sessions for the authenticated user
490
+ * @summary Revoke all sessions
563
491
  */
564
492
  declare const logoutAll: (options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
565
493
  /**
566
494
  * @summary Authenticate and create a session
567
495
  */
568
- declare const login: (loginBody: NonReadonly<LoginBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<SessionResponse>>;
496
+ declare const login: (loginInBody: NonReadonly<LoginInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<AuthSessionResponse>>;
569
497
  /**
570
498
  * @summary Revoke the current session
571
499
  */
@@ -573,7 +501,7 @@ declare const logout: (options?: AxiosRequestConfig) => Promise<AxiosResponse<vo
573
501
  /**
574
502
  * @summary Create a new account and session
575
503
  */
576
- declare const signup: (signupBody: NonReadonly<SignupBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<SessionResponse>>;
504
+ declare const signup: (signupInBody: NonReadonly<SignupInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<AuthSessionResponse>>;
577
505
  /**
578
506
  * @summary Soft-delete a conversation
579
507
  */
@@ -585,15 +513,15 @@ declare const getConversation: (conversationID: string, options?: AxiosRequestCo
585
513
  /**
586
514
  * @summary List messages in a conversation
587
515
  */
588
- declare const listMessages: (conversationID: string, params?: ListMessagesParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<CursorResponseMessage>>;
516
+ declare const listMessages: (conversationID: string, params?: ListMessagesParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<CursorResponseConversationMessage>>;
589
517
  /**
590
- * @summary List organizations the authenticated user belongs to
518
+ * @summary List organizations
591
519
  */
592
520
  declare const listOrgs: (options?: AxiosRequestConfig) => Promise<AxiosResponse<Org[] | null>>;
593
521
  /**
594
522
  * @summary Create a new organization
595
523
  */
596
- declare const createOrg: (createOrgBody: NonReadonly<CreateOrgBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Org>>;
524
+ declare const createOrg: (createOrgInBody: NonReadonly<CreateOrgInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Org>>;
597
525
  /**
598
526
  * @summary Soft-delete an organization
599
527
  */
@@ -605,7 +533,7 @@ declare const getOrg: (orgSlug: string, options?: AxiosRequestConfig) => Promise
605
533
  /**
606
534
  * @summary Update an organization
607
535
  */
608
- declare const updateOrg: (orgSlug: string, updateOrgBody: NonReadonly<UpdateOrgBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Org>>;
536
+ declare const updateOrg: (orgSlug: string, updateOrgInBody: NonReadonly<UpdateOrgInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Org>>;
609
537
  /**
610
538
  * @summary List agents owned by an organization
611
539
  */
@@ -613,23 +541,23 @@ declare const listOrgAgents: (orgSlug: string, params?: ListOrgAgentsParams, opt
613
541
  /**
614
542
  * @summary Create an agent owned by an organization
615
543
  */
616
- declare const createOrgAgent: (orgSlug: string, createAgentBody: NonReadonly<CreateAgentBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Agent>>;
544
+ declare const createOrgAgent: (orgSlug: string, createOrgAgentInBody: NonReadonly<CreateOrgAgentInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Agent>>;
617
545
  /**
618
546
  * @summary List organization members
619
547
  */
620
- declare const listOrgMembers: (orgSlug: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<Member[] | null>>;
548
+ declare const listOrgMembers: (orgSlug: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<OrgMember[] | null>>;
621
549
  /**
622
- * @summary Add a member to an organization
550
+ * @summary Add a member
623
551
  */
624
- declare const addOrgMember: (orgSlug: string, addMemberBody: NonReadonly<AddMemberBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Member>>;
552
+ declare const addOrgMember: (orgSlug: string, addMemberInBody: NonReadonly<AddMemberInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<OrgMember>>;
625
553
  /**
626
- * @summary Remove a member from an organization
554
+ * @summary Remove a member
627
555
  */
628
556
  declare const removeOrgMember: (orgSlug: string, userID: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
629
557
  /**
630
558
  * @summary Update a member's role
631
559
  */
632
- declare const updateOrgMember: (orgSlug: string, userID: string, updateMemberBody: NonReadonly<UpdateMemberBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Member>>;
560
+ declare const updateOrgMember: (orgSlug: string, userID: string, updateMemberInBody: NonReadonly<UpdateMemberInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<OrgMember>>;
633
561
  /**
634
562
  * @summary List templates owned by an organization
635
563
  */
@@ -637,7 +565,7 @@ declare const listOrgTemplates: (orgSlug: string, params?: ListOrgTemplatesParam
637
565
  /**
638
566
  * @summary Create a template owned by an organization
639
567
  */
640
- declare const createOrgTemplate: (orgSlug: string, createTemplateBody: NonReadonly<CreateTemplateBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Template>>;
568
+ declare const createOrgTemplate: (orgSlug: string, createOrgTemplateInBody: NonReadonly<CreateOrgTemplateInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Template>>;
641
569
  /**
642
570
  * @summary Soft-delete a template
643
571
  */
@@ -649,9 +577,9 @@ declare const getTemplate: (templateID: string, options?: AxiosRequestConfig) =>
649
577
  /**
650
578
  * @summary Update a template
651
579
  */
652
- declare const updateTemplate: (templateID: string, updateTemplateBody: NonReadonly<UpdateTemplateBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Template>>;
580
+ declare const updateTemplate: (templateID: string, updateTemplateInBody: NonReadonly<UpdateTemplateInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Template>>;
653
581
  /**
654
- * @summary Soft-delete the authenticated user's account
582
+ * @summary Soft-delete the account
655
583
  */
656
584
  declare const deleteCurrentUser: (options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
657
585
  /**
@@ -661,7 +589,7 @@ declare const getCurrentUser: (options?: AxiosRequestConfig) => Promise<AxiosRes
661
589
  /**
662
590
  * @summary Update the authenticated user's profile
663
591
  */
664
- declare const updateCurrentUser: (updateCurrentUserBody: NonReadonly<UpdateCurrentUserBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<User>>;
592
+ declare const updateCurrentUser: (updateUserInBody: NonReadonly<UpdateUserInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<User>>;
665
593
  /**
666
594
  * @summary List agents owned by the authenticated user
667
595
  */
@@ -669,11 +597,11 @@ declare const listUserAgents: (params?: ListUserAgentsParams, options?: AxiosReq
669
597
  /**
670
598
  * @summary Create an agent owned by the authenticated user
671
599
  */
672
- declare const createUserAgent: (createAgentBody: NonReadonly<CreateAgentBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Agent>>;
600
+ declare const createUserAgent: (createUserAgentInBody: NonReadonly<CreateUserAgentInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Agent>>;
673
601
  /**
674
- * @summary Update the authenticated user's email
602
+ * @summary Update email
675
603
  */
676
- declare const updateCurrentUserEmail: (updateCurrentUserEmailBody: NonReadonly<UpdateCurrentUserEmailBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<User>>;
604
+ declare const updateCurrentUserEmail: (updateEmailInBody: NonReadonly<UpdateEmailInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<User>>;
677
605
  /**
678
606
  * @summary List templates owned by the authenticated user
679
607
  */
@@ -681,7 +609,7 @@ declare const listUserTemplates: (params?: ListUserTemplatesParams, options?: Ax
681
609
  /**
682
610
  * @summary Create a template owned by the authenticated user
683
611
  */
684
- declare const createUserTemplate: (createTemplateBody: NonReadonly<CreateTemplateBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Template>>;
612
+ declare const createUserTemplate: (createUserTemplateInBody: NonReadonly<CreateUserTemplateInBody>, options?: AxiosRequestConfig) => Promise<AxiosResponse<Template>>;
685
613
  /**
686
614
  * @summary Get a user by ID
687
615
  */
@@ -690,18 +618,18 @@ type DeleteAgentResult = AxiosResponse<void>;
690
618
  type GetAgentResult = AxiosResponse<Agent>;
691
619
  type UpdateAgentResult = AxiosResponse<Agent>;
692
620
  type ListConversationsResult = AxiosResponse<CursorResponseConversation>;
693
- type LintAgentResult = AxiosResponse<LintDiagnostics>;
621
+ type LintAgentResult = AxiosResponse<AgentLintDiagnostics>;
694
622
  type UpdateAgentStatusResult = AxiosResponse<Agent>;
695
- type ListApiKeysResult = AxiosResponse<APIKey[] | null>;
696
- type CreateApiKeyResult = AxiosResponse<APIKeyResponse>;
623
+ type ListApiKeysResult = AxiosResponse<AuthAPIKey[] | null>;
624
+ type CreateApiKeyResult = AxiosResponse<AuthAPIKeyResponse>;
697
625
  type RevokeApiKeyResult = AxiosResponse<void>;
698
626
  type LogoutAllResult = AxiosResponse<void>;
699
- type LoginResult = AxiosResponse<SessionResponse>;
627
+ type LoginResult = AxiosResponse<AuthSessionResponse>;
700
628
  type LogoutResult = AxiosResponse<void>;
701
- type SignupResult = AxiosResponse<SessionResponse>;
629
+ type SignupResult = AxiosResponse<AuthSessionResponse>;
702
630
  type DeleteConversationResult = AxiosResponse<void>;
703
631
  type GetConversationResult = AxiosResponse<Conversation>;
704
- type ListMessagesResult = AxiosResponse<CursorResponseMessage>;
632
+ type ListMessagesResult = AxiosResponse<CursorResponseConversationMessage>;
705
633
  type ListOrgsResult = AxiosResponse<Org[] | null>;
706
634
  type CreateOrgResult = AxiosResponse<Org>;
707
635
  type DeleteOrgResult = AxiosResponse<void>;
@@ -709,10 +637,10 @@ type GetOrgResult = AxiosResponse<Org>;
709
637
  type UpdateOrgResult = AxiosResponse<Org>;
710
638
  type ListOrgAgentsResult = AxiosResponse<PageResponseAgent>;
711
639
  type CreateOrgAgentResult = AxiosResponse<Agent>;
712
- type ListOrgMembersResult = AxiosResponse<Member[] | null>;
713
- type AddOrgMemberResult = AxiosResponse<Member>;
640
+ type ListOrgMembersResult = AxiosResponse<OrgMember[] | null>;
641
+ type AddOrgMemberResult = AxiosResponse<OrgMember>;
714
642
  type RemoveOrgMemberResult = AxiosResponse<void>;
715
- type UpdateOrgMemberResult = AxiosResponse<Member>;
643
+ type UpdateOrgMemberResult = AxiosResponse<OrgMember>;
716
644
  type ListOrgTemplatesResult = AxiosResponse<PageResponseTemplate>;
717
645
  type CreateOrgTemplateResult = AxiosResponse<Template>;
718
646
  type DeleteTemplateResult = AxiosResponse<void>;
@@ -734,7 +662,8 @@ type GetUserResult = AxiosResponse<User>;
734
662
  type ClientHandshake = {
735
663
  type: "handshake"
736
664
  agent_id: string
737
- channel?: "web" | "mobile" | "voice" | (string & {})
665
+ channel?: "web-text" | "web-voice" | "mobile-text" | "mobile-voice" | (string & {})
666
+ render_directive?: string
738
667
  };
739
668
  /**
740
669
  * Carries a single user text message.
@@ -834,6 +763,15 @@ type ServerSignal = {
834
763
  data: Record<string, unknown>
835
764
  };
836
765
  /**
766
+ * Indicates that the session is being transferred to another agent.
767
+ * The client should initiate a new session with the provided AgentID.
768
+ */
769
+ type ServerTransfer = {
770
+ type: "transfer"
771
+ agent_id: string
772
+ reason: string
773
+ };
774
+ /**
837
775
  * Represents a non-fatal execution or protocol error.
838
776
  * The session remains active unless followed by a SessionClosed event.
839
777
  */
@@ -862,7 +800,7 @@ type ServerSessionClosed = {
862
800
  /**
863
801
  * Union type for all messages sent from the server to the client.
864
802
  */
865
- type ServerMessage = ServerHandshakeOK | ServerHandshakeError | ServerTextFull | ServerTextDelta | ServerAudioDelta | ServerTurnComplete | ServerFlowComplete | ServerSignal | ServerError | ServerTick | ServerSessionClosed;
803
+ type ServerMessage = ServerHandshakeOK | ServerHandshakeError | ServerTextFull | ServerTextDelta | ServerAudioDelta | ServerTurnComplete | ServerFlowComplete | ServerSignal | ServerTransfer | ServerError | ServerTick | ServerSessionClosed;
866
804
  /**
867
805
  * Messages related to the initial connection phase.
868
806
  */
@@ -877,7 +815,7 @@ type SessionConnectionLostEvent = {
877
815
  /**
878
816
  * Union type of all events that can be emitted during an active conversation session.
879
817
  */
880
- type ServerSessionEvent = ServerTextFull | ServerTextDelta | ServerAudioDelta | ServerTurnComplete | ServerFlowComplete | ServerSignal | ServerError | ServerTick | ServerSessionClosed | SessionConnectionLostEvent;
818
+ type ServerSessionEvent = ServerTextFull | ServerTextDelta | ServerAudioDelta | ServerTurnComplete | ServerFlowComplete | ServerSignal | ServerTransfer | ServerError | ServerTick | ServerSessionClosed | SessionConnectionLostEvent;
881
819
  /**
882
820
  * Error thrown by the transport layer when connection or state issues occur.
883
821
  */
@@ -1104,4 +1042,4 @@ declare function createSessionClient({ baseUrl }?: SessionClientOptions): KivoxC
1104
1042
  * ```
1105
1043
  */
1106
1044
  declare function createApiKeyClient({ apiKey, baseUrl }: ApiKeyClientOptions): KivoxClient;
1107
- export { updateTemplate, updateOrgMember, updateOrg, updateCurrentUserEmail, updateCurrentUser, updateAgentStatus, updateAgent, signup, revokeApiKey, removeOrgMember, logoutAll, logout, login, listUserTemplates, listUserAgents, listOrgs, listOrgTemplates, listOrgMembers, listOrgAgents, listMessages, listConversations, listApiKeys, lintAgent, getUser, getTemplate, getOrg, getCurrentUser, getConversation, getAgent, deleteTemplate, deleteOrg, deleteCurrentUser, deleteConversation, deleteAgent, createUserTemplate, createUserAgent, createSessionClient, createOrgTemplate, createOrgAgent, createOrg, createApiKeyClient, createApiKey, addOrgMember, User, UpdateTemplateResult, UpdateTemplateBody, UpdateStatusBodyStatus, UpdateStatusBody, UpdateOrgResult, UpdateOrgMemberResult, UpdateOrgBody, UpdateMemberBodyRole, UpdateMemberBody, UpdateCurrentUserResult, UpdateCurrentUserEmailResult, UpdateCurrentUserEmailBody, UpdateCurrentUserBody, UpdateAgentStatusResult, UpdateAgentResult, UpdateAgentBody, Template, SignupResult, SignupBody, SessionResponse, SessionConnectionLostEvent, SessionClientOptions, ServerTurnComplete, ServerTick, ServerTextFull, ServerTextDelta, ServerSignal, ServerSessionEvent, ServerSessionClosed, ServerMessage, ServerHandshakeOK, ServerHandshakeError, ServerFlowComplete, ServerError, ServerConnectionMessage, ServerAudioDelta, Secret, Safeguards, RevokeApiKeyResult, RemoveOrgMemberResult, PageResponseTemplate, PageResponseAgent, Org, Message, Member, LogoutResult, LogoutAllResult, LoginResult, LoginBody, ListUserTemplatesResult, ListUserTemplatesParams, ListUserAgentsResult, ListUserAgentsParams, ListOrgsResult, ListOrgTemplatesResult, ListOrgTemplatesParams, ListOrgMembersResult, ListOrgAgentsResult, ListOrgAgentsParams, ListMessagesResult, ListMessagesParams, ListConversationsResult, ListConversationsParams, ListApiKeysResult, LintDiagnostics, LintBody, LintAgentResult, KivoxClient, GetUserResult, GetTemplateResult, GetOrgResult, GetCurrentUserResult, GetConversationResult, GetAgentResult, ErrorModel, ErrorDetail, DeleteTemplateResult, DeleteOrgResult, DeleteCurrentUserResult, DeleteConversationResult, DeleteAgentResult, CursorResponseMessage, CursorResponseConversation, CreateUserTemplateResult, CreateUserAgentResult, CreateTemplateBody, CreateOrgTemplateResult, CreateOrgResult, CreateOrgBody, CreateOrgAgentResult, CreateApiKeyResult, CreateAgentBody, CreateAPIKeyBody, ConversationTransportError, ConversationSessionConfig, ConversationSession, Conversation, Config, ClientMessage, ClientInputText, ClientInputAudioStream, ClientInputAudio, ClientHandshake, ClientEndSession, ClientCancel, ApiKeyClientOptions, Agent, AddOrgMemberResult, AddMemberBodyRole, AddMemberBody, APIKeyResponse, APIKey };
1045
+ export { updateTemplate, updateOrgMember, updateOrg, updateCurrentUserEmail, updateCurrentUser, updateAgentStatus, updateAgent, signup, revokeApiKey, removeOrgMember, logoutAll, logout, login, listUserTemplates, listUserAgents, listOrgs, listOrgTemplates, listOrgMembers, listOrgAgents, listMessages, listConversations, listApiKeys, lintAgent, getUser, getTemplate, getOrg, getCurrentUser, getConversation, getAgent, deleteTemplate, deleteOrg, deleteCurrentUser, deleteConversation, deleteAgent, createUserTemplate, createUserAgent, createSessionClient, createOrgTemplate, createOrgAgent, createOrg, createApiKeyClient, createApiKey, addOrgMember, User, UpdateUserInBody, UpdateTemplateResult, UpdateTemplateInBody, UpdateOrgResult, UpdateOrgMemberResult, UpdateOrgInBody, UpdateMemberInBodyRole, UpdateMemberInBody, UpdateEmailInBody, UpdateCurrentUserResult, UpdateCurrentUserEmailResult, UpdateAgentStatusResult, UpdateAgentStatusInBodyStatus, UpdateAgentStatusInBody, UpdateAgentResult, UpdateAgentInBody, Template, SignupResult, SignupInBody, SessionConnectionLostEvent, SessionClientOptions, ServerTurnComplete, ServerTransfer, ServerTick, ServerTextFull, ServerTextDelta, ServerSignal, ServerSessionEvent, ServerSessionClosed, ServerMessage, ServerHandshakeOK, ServerHandshakeError, ServerFlowComplete, ServerError, ServerConnectionMessage, ServerAudioDelta, RevokeApiKeyResult, RemoveOrgMemberResult, PageResponseTemplate, PageResponseAgent, OrgMember, Org, LogoutResult, LogoutAllResult, LoginResult, LoginInBody, ListUserTemplatesResult, ListUserTemplatesParams, ListUserAgentsResult, ListUserAgentsParams, ListOrgsResult, ListOrgTemplatesResult, ListOrgTemplatesParams, ListOrgMembersResult, ListOrgAgentsResult, ListOrgAgentsParams, ListMessagesResult, ListMessagesParams, ListConversationsResult, ListConversationsParams, ListApiKeysResult, LintAgentResult, LintAgentInBody, KivoxClient, GetUserResult, GetTemplateResult, GetOrgResult, GetCurrentUserResult, GetConversationResult, GetAgentResult, ErrorModel, ErrorDetail, DeleteTemplateResult, DeleteOrgResult, DeleteCurrentUserResult, DeleteConversationResult, DeleteAgentResult, CursorResponseConversationMessage, CursorResponseConversation, CreateUserTemplateResult, CreateUserTemplateInBody, CreateUserAgentResult, CreateUserAgentInBody, CreateOrgTemplateResult, CreateOrgTemplateInBody, CreateOrgResult, CreateOrgInBody, CreateOrgAgentResult, CreateOrgAgentInBody, CreateApiKeyResult, CreateAPIKeyInBody, ConversationTransportError, ConversationSessionConfig, ConversationSession, ConversationMessage, Conversation, ClientMessage, ClientInputText, ClientInputAudioStream, ClientInputAudio, ClientHandshake, ClientEndSession, ClientCancel, BlueprintWorkflowNodesItem, BlueprintWorkflowEdgesItem, BlueprintWorkflow, BlueprintEntry, Blueprint, AuthSessionResponse, AuthAPIKeyResponse, AuthAPIKey, ApiKeyClientOptions, AgentSecret, AgentLintDiagnostics, AgentConfig, Agent, AddOrgMemberResult, AddMemberInBodyRole, AddMemberInBody };