@soat/sdk 0.3.0 → 0.3.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 (3) hide show
  1. package/dist/index.d.cts +182 -182
  2. package/dist/index.d.ts +182 -182
  3. package/package.json +9 -5
package/dist/index.d.cts CHANGED
@@ -1165,7 +1165,7 @@ interface components {
1165
1165
  * @description Project ID
1166
1166
  * @example proj_V1StGXR8Z5jdHi6B
1167
1167
  */
1168
- projectId?: string;
1168
+ project_id?: string;
1169
1169
  /** @example Alice */
1170
1170
  name?: string;
1171
1171
  /**
@@ -1177,20 +1177,20 @@ interface components {
1177
1177
  * @description External identifier (e.g. WhatsApp phone number)
1178
1178
  * @example +15551234567
1179
1179
  */
1180
- externalId?: string | null;
1180
+ external_id?: string | null;
1181
1181
  /** @description Persona-specific instructions composed into the effective system prompt during conversation generation. */
1182
1182
  instructions?: string | null;
1183
1183
  /** @description Agent this actor is linked to (mutually exclusive with chatId). */
1184
- agentId?: string | null;
1184
+ agent_id?: string | null;
1185
1185
  /** @description Chat this actor is linked to (mutually exclusive with agentId). */
1186
- chatId?: string | null;
1186
+ chat_id?: string | null;
1187
1187
  tags?: {
1188
1188
  [key: string]: string;
1189
1189
  };
1190
1190
  /** Format: date-time */
1191
- createdAt?: string;
1191
+ created_at?: string;
1192
1192
  /** Format: date-time */
1193
- updatedAt?: string;
1193
+ updated_at?: string;
1194
1194
  };
1195
1195
  ErrorResponse: {
1196
1196
  /** @example Actor not found */
@@ -1206,7 +1206,7 @@ interface components {
1206
1206
  * @description Public ID of the owning project
1207
1207
  * @example proj_V1StGXR8Z5jdHi6B
1208
1208
  */
1209
- projectId?: string;
1209
+ project_id?: string;
1210
1210
  /**
1211
1211
  * @description Tool name
1212
1212
  * @example get-weather
@@ -1229,13 +1229,13 @@ interface components {
1229
1229
  /** @description SOAT platform actions to expose */
1230
1230
  actions?: string[] | null;
1231
1231
  /** Format: date-time */
1232
- createdAt?: string;
1232
+ created_at?: string;
1233
1233
  /** Format: date-time */
1234
- updatedAt?: string;
1234
+ updated_at?: string;
1235
1235
  };
1236
1236
  CreateAgentToolRequest: {
1237
1237
  /** @description Public ID of the project */
1238
- projectId?: string;
1238
+ project_id?: string;
1239
1239
  /** @description Tool name */
1240
1240
  name: string;
1241
1241
  /**
@@ -1272,9 +1272,9 @@ interface components {
1272
1272
  */
1273
1273
  id?: string;
1274
1274
  /** @description Public ID of the owning project */
1275
- projectId?: string;
1275
+ project_id?: string;
1276
1276
  /** @description Public ID of the AI provider */
1277
- aiProviderId?: string;
1277
+ ai_provider_id?: string;
1278
1278
  /** @description Display name */
1279
1279
  name?: string | null;
1280
1280
  /** @description System instructions guiding behavior */
@@ -1282,55 +1282,55 @@ interface components {
1282
1282
  /** @description Model identifier */
1283
1283
  model?: string | null;
1284
1284
  /** @description Public IDs of attached agent tools */
1285
- toolIds?: string[] | null;
1285
+ tool_ids?: string[] | null;
1286
1286
  /** @description Maximum reasoning steps */
1287
- maxSteps?: number | null;
1287
+ max_steps?: number | null;
1288
1288
  /** @description Tool choice strategy */
1289
- toolChoice?: Record<string, never> | null;
1289
+ tool_choice?: Record<string, never> | null;
1290
1290
  /** @description Stop conditions */
1291
- stopConditions?: Record<string, never>[] | null;
1291
+ stop_conditions?: Record<string, never>[] | null;
1292
1292
  /** @description Subset of toolIds active per step */
1293
- activeToolIds?: string[] | null;
1293
+ active_tool_ids?: string[] | null;
1294
1294
  /** @description Per-step overrides */
1295
- stepRules?: Record<string, never>[] | null;
1295
+ step_rules?: Record<string, never>[] | null;
1296
1296
  /** @description Allowed/denied SOAT actions */
1297
- boundaryPolicy?: Record<string, never> | null;
1297
+ boundary_policy?: Record<string, never> | null;
1298
1298
  /** @description Sampling temperature */
1299
1299
  temperature?: number | null;
1300
1300
  /** Format: date-time */
1301
- createdAt?: string;
1301
+ created_at?: string;
1302
1302
  /** Format: date-time */
1303
- updatedAt?: string;
1303
+ updated_at?: string;
1304
1304
  };
1305
1305
  CreateAgentRequest: {
1306
1306
  /** @description Public ID of the project */
1307
- projectId?: string;
1307
+ project_id?: string;
1308
1308
  /** @description Public ID of the AI provider */
1309
- aiProviderId: string;
1309
+ ai_provider_id: string;
1310
1310
  name?: string;
1311
1311
  instructions?: string;
1312
1312
  model?: string;
1313
- toolIds?: string[];
1314
- maxSteps?: number;
1315
- toolChoice?: Record<string, never>;
1316
- stopConditions?: Record<string, never>[];
1317
- activeToolIds?: string[];
1318
- stepRules?: Record<string, never>[];
1319
- boundaryPolicy?: Record<string, never>;
1313
+ tool_ids?: string[];
1314
+ max_steps?: number;
1315
+ tool_choice?: Record<string, never>;
1316
+ stop_conditions?: Record<string, never>[];
1317
+ active_tool_ids?: string[];
1318
+ step_rules?: Record<string, never>[];
1319
+ boundary_policy?: Record<string, never>;
1320
1320
  temperature?: number;
1321
1321
  };
1322
1322
  UpdateAgentRequest: {
1323
- aiProviderId?: string;
1323
+ ai_provider_id?: string;
1324
1324
  name?: string | null;
1325
1325
  instructions?: string | null;
1326
1326
  model?: string | null;
1327
- toolIds?: string[] | null;
1328
- maxSteps?: number | null;
1329
- toolChoice?: Record<string, never> | null;
1330
- stopConditions?: Record<string, never>[] | null;
1331
- activeToolIds?: string[] | null;
1332
- stepRules?: Record<string, never>[] | null;
1333
- boundaryPolicy?: Record<string, never> | null;
1327
+ tool_ids?: string[] | null;
1328
+ max_steps?: number | null;
1329
+ tool_choice?: Record<string, never> | null;
1330
+ stop_conditions?: Record<string, never>[] | null;
1331
+ active_tool_ids?: string[] | null;
1332
+ step_rules?: Record<string, never>[] | null;
1333
+ boundary_policy?: Record<string, never> | null;
1334
1334
  temperature?: number | null;
1335
1335
  };
1336
1336
  CreateAgentGenerationRequest: {
@@ -1345,21 +1345,21 @@ interface components {
1345
1345
  */
1346
1346
  stream: boolean;
1347
1347
  /** @description Optional trace ID to group generations */
1348
- traceId?: string;
1348
+ trace_id?: string;
1349
1349
  /**
1350
1350
  * @description Maximum nested agent-call depth; 0 short-circuits with a depth-guard response
1351
1351
  * @default 10
1352
1352
  */
1353
- maxCallDepth: number;
1353
+ max_call_depth: number;
1354
1354
  /** @description Key-value pairs injected as context headers into all tool call requests made during this generation. */
1355
- toolContext?: {
1355
+ tool_context?: {
1356
1356
  [key: string]: string;
1357
1357
  } | null;
1358
1358
  };
1359
1359
  SubmitToolOutputsRequest: {
1360
- toolOutputs: {
1360
+ tool_outputs: {
1361
1361
  /** @description ID of the tool call to respond to */
1362
- toolCallId: string;
1362
+ tool_call_id: string;
1363
1363
  /** @description Result of the tool execution */
1364
1364
  output: unknown;
1365
1365
  }[];
@@ -1378,9 +1378,9 @@ interface components {
1378
1378
  /** @description Final text output (when completed) */
1379
1379
  text?: string | null;
1380
1380
  /** @description Pending tool calls (when requires_action) */
1381
- toolCalls?: {
1382
- toolCallId?: string;
1383
- toolName?: string;
1381
+ tool_calls?: {
1382
+ tool_call_id?: string;
1383
+ tool_name?: string;
1384
1384
  args?: Record<string, never>;
1385
1385
  }[] | null;
1386
1386
  };
@@ -1390,11 +1390,11 @@ interface components {
1390
1390
  * @example agt_trace_V1StGXR8Z5jdHi6B
1391
1391
  */
1392
1392
  id?: string;
1393
- projectId?: string;
1394
- agentId?: string;
1393
+ project_id?: string;
1394
+ agent_id?: string;
1395
1395
  generations?: Record<string, never>[];
1396
1396
  /** Format: date-time */
1397
- createdAt?: string;
1397
+ created_at?: string;
1398
1398
  };
1399
1399
  Chat: {
1400
1400
  /**
@@ -1406,12 +1406,12 @@ interface components {
1406
1406
  * @description Public ID of the owning project
1407
1407
  * @example proj_V1StGXR8Z5jdHi6B
1408
1408
  */
1409
- projectId?: string;
1409
+ project_id?: string;
1410
1410
  /**
1411
1411
  * @description Public ID of the AI provider
1412
1412
  * @example aip_V1StGXR8Z5jdHi6B
1413
1413
  */
1414
- aiProviderId?: string;
1414
+ ai_provider_id?: string;
1415
1415
  /**
1416
1416
  * @description Optional human-readable name
1417
1417
  * @example Support Bot
@@ -1421,28 +1421,28 @@ interface components {
1421
1421
  * @description Optional system message sent with every completion
1422
1422
  * @example You are a helpful support assistant.
1423
1423
  */
1424
- systemMessage?: string | null;
1424
+ system_message?: string | null;
1425
1425
  /**
1426
1426
  * @description Optional model override for this chat
1427
1427
  * @example gpt-4o
1428
1428
  */
1429
1429
  model?: string | null;
1430
1430
  /** Format: date-time */
1431
- createdAt?: string;
1431
+ created_at?: string;
1432
1432
  /** Format: date-time */
1433
- updatedAt?: string;
1433
+ updated_at?: string;
1434
1434
  };
1435
1435
  CreateChatRequest: {
1436
1436
  /**
1437
1437
  * @description Public ID of the AI provider
1438
1438
  * @example aip_V1StGXR8Z5jdHi6B
1439
1439
  */
1440
- aiProviderId: string;
1440
+ ai_provider_id: string;
1441
1441
  /**
1442
1442
  * @description Public ID of the project. Required when the user belongs to multiple projects and no project key is used.
1443
1443
  * @example proj_V1StGXR8Z5jdHi6B
1444
1444
  */
1445
- projectId?: string;
1445
+ project_id?: string;
1446
1446
  /**
1447
1447
  * @description Optional human-readable name
1448
1448
  * @example Support Bot
@@ -1452,7 +1452,7 @@ interface components {
1452
1452
  * @description Optional system message applied to all completions on this chat
1453
1453
  * @example You are a helpful support assistant.
1454
1454
  */
1455
- systemMessage?: string;
1455
+ system_message?: string;
1456
1456
  /**
1457
1457
  * @description Optional default model override
1458
1458
  * @example gpt-4o
@@ -1474,7 +1474,7 @@ interface components {
1474
1474
  * @description Public ID of a document whose content is used as the message body (mutually exclusive with content). Only valid for user/assistant roles.
1475
1475
  * @example doc_V1StGXR8Z5jdHi6B
1476
1476
  */
1477
- documentId?: string;
1477
+ document_id?: string;
1478
1478
  };
1479
1479
  ChatCompletionForChatRequest: {
1480
1480
  messages: components["schemas"]["ChatMessageInput"][];
@@ -1507,7 +1507,7 @@ interface components {
1507
1507
  * @description Public ID of the AI provider to use. When omitted the server falls back to Ollama.
1508
1508
  * @example aip_V1StGXR8Z5jdHi6B
1509
1509
  */
1510
- aiProviderId?: string;
1510
+ ai_provider_id?: string;
1511
1511
  /**
1512
1512
  * @description Model identifier. Overrides the provider's `defaultModel` when specified.
1513
1513
  * @example gpt-4o
@@ -1551,7 +1551,7 @@ interface components {
1551
1551
  * @description Project ID
1552
1552
  * @example proj_V1StGXR8Z5jdHi6B
1553
1553
  */
1554
- projectId?: string;
1554
+ project_id?: string;
1555
1555
  /** @description Optional human-readable name for the conversation. */
1556
1556
  name?: string | null;
1557
1557
  /**
@@ -1564,29 +1564,29 @@ interface components {
1564
1564
  * Format: date-time
1565
1565
  * @description Creation timestamp
1566
1566
  */
1567
- createdAt?: string;
1567
+ created_at?: string;
1568
1568
  /**
1569
1569
  * Format: date-time
1570
1570
  * @description Last update timestamp
1571
1571
  */
1572
- updatedAt?: string;
1572
+ updated_at?: string;
1573
1573
  /**
1574
1574
  * @description Actor ID associated with this conversation
1575
1575
  * @example act_V1StGXR8Z5jdHi6B
1576
1576
  */
1577
- actorId?: string | null;
1577
+ actor_id?: string | null;
1578
1578
  };
1579
1579
  ConversationMessageRecord: {
1580
1580
  /**
1581
1581
  * @description Document ID
1582
1582
  * @example doc_V1StGXR8Z5jdHi6B
1583
1583
  */
1584
- documentId?: string;
1584
+ document_id?: string;
1585
1585
  /**
1586
1586
  * @description Actor ID who sent this message
1587
1587
  * @example act_V1StGXR8Z5jdHi6B
1588
1588
  */
1589
- actorId?: string;
1589
+ actor_id?: string;
1590
1590
  /**
1591
1591
  * @description Zero-based position in the conversation
1592
1592
  * @example 0
@@ -1615,7 +1615,7 @@ interface components {
1615
1615
  * @description Project ID
1616
1616
  * @example proj_V1StGXR8Z5jdHi6B
1617
1617
  */
1618
- projectId?: string;
1618
+ project_id?: string;
1619
1619
  /**
1620
1620
  * @description Actor name
1621
1621
  * @example Alice
@@ -1630,17 +1630,17 @@ interface components {
1630
1630
  * @description External identifier
1631
1631
  * @example ext_123
1632
1632
  */
1633
- externalId?: string;
1633
+ external_id?: string;
1634
1634
  /**
1635
1635
  * Format: date-time
1636
1636
  * @description Creation timestamp
1637
1637
  */
1638
- createdAt?: string;
1638
+ created_at?: string;
1639
1639
  /**
1640
1640
  * Format: date-time
1641
1641
  * @description Last update timestamp
1642
1642
  */
1643
- updatedAt?: string;
1643
+ updated_at?: string;
1644
1644
  };
1645
1645
  GenerateConversationMessageResponse: {
1646
1646
  /**
@@ -1658,12 +1658,12 @@ interface components {
1658
1658
  * @description ID of the underlying generation record.
1659
1659
  * @example gen_V1StGXR8Z5jdHi6B
1660
1660
  */
1661
- generationId: string;
1661
+ generation_id?: string;
1662
1662
  /**
1663
1663
  * @description Trace ID for observability.
1664
1664
  * @example trc_V1StGXR8Z5jdHi6B
1665
1665
  */
1666
- traceId: string;
1666
+ trace_id?: string;
1667
1667
  /**
1668
1668
  * @description Model used for generation.
1669
1669
  * @example gpt-4o
@@ -1679,14 +1679,14 @@ interface components {
1679
1679
  * @description ID of the paused generation. Pass to the tool-outputs endpoint.
1680
1680
  * @example gen_V1StGXR8Z5jdHi6B
1681
1681
  */
1682
- generationId: string;
1682
+ generation_id?: string;
1683
1683
  /**
1684
1684
  * @description Trace ID for observability.
1685
1685
  * @example trc_V1StGXR8Z5jdHi6B
1686
1686
  */
1687
- traceId: string;
1687
+ trace_id?: string;
1688
1688
  /** @description Tool-call information the client must resolve. */
1689
- requiredAction: Record<string, never>;
1689
+ required_action?: Record<string, never>;
1690
1690
  };
1691
1691
  DocumentRecord: {
1692
1692
  /**
@@ -1698,12 +1698,12 @@ interface components {
1698
1698
  * @description Underlying file ID
1699
1699
  * @example file_V1StGXR8Z5jdHi6B
1700
1700
  */
1701
- fileId?: string;
1701
+ file_id?: string;
1702
1702
  /**
1703
1703
  * @description Project ID
1704
1704
  * @example proj_V1StGXR8Z5jdHi6B
1705
1705
  */
1706
- projectId?: string;
1706
+ project_id?: string;
1707
1707
  /**
1708
1708
  * @description Original filename
1709
1709
  * @example my-doc.txt
@@ -1720,9 +1720,9 @@ interface components {
1720
1720
  */
1721
1721
  content?: string | null;
1722
1722
  /** Format: date-time */
1723
- createdAt?: string;
1723
+ created_at?: string;
1724
1724
  /** Format: date-time */
1725
- updatedAt?: string;
1725
+ updated_at?: string;
1726
1726
  };
1727
1727
  /** @description Stored file metadata */
1728
1728
  FileRecord: {
@@ -1751,12 +1751,12 @@ interface components {
1751
1751
  * @example local
1752
1752
  * @enum {string}
1753
1753
  */
1754
- storageType?: "local" | "s3" | "gcs";
1754
+ storage_type?: "local" | "s3" | "gcs";
1755
1755
  /**
1756
1756
  * @description Path where the file is stored
1757
1757
  * @example /uploads/document.pdf
1758
1758
  */
1759
- storagePath?: string;
1759
+ storage_path?: string;
1760
1760
  /**
1761
1761
  * @description JSON string with additional metadata
1762
1762
  * @example {"author":"John"}
@@ -1766,12 +1766,12 @@ interface components {
1766
1766
  * Format: date-time
1767
1767
  * @description Creation timestamp
1768
1768
  */
1769
- createdAt?: string;
1769
+ created_at?: string;
1770
1770
  /**
1771
1771
  * Format: date-time
1772
1772
  * @description Last update timestamp
1773
1773
  */
1774
- updatedAt?: string;
1774
+ updated_at?: string;
1775
1775
  };
1776
1776
  SessionRecord: {
1777
1777
  /**
@@ -1783,12 +1783,12 @@ interface components {
1783
1783
  * @description Agent public ID
1784
1784
  * @example agt_V1StGXR8Z5jdHi6B
1785
1785
  */
1786
- agentId?: string;
1786
+ agent_id?: string;
1787
1787
  /**
1788
1788
  * @description Underlying conversation public ID
1789
1789
  * @example conv_V1StGXR8Z5jdHi6B
1790
1790
  */
1791
- conversationId?: string;
1791
+ conversation_id?: string;
1792
1792
  /**
1793
1793
  * @example open
1794
1794
  * @enum {string}
@@ -1800,7 +1800,7 @@ interface components {
1800
1800
  * @description Public ID of the user actor
1801
1801
  * @example actr_V1StGXR8Z5jdHi6B
1802
1802
  */
1803
- actorId?: string | null;
1803
+ actor_id?: string | null;
1804
1804
  tags?: {
1805
1805
  [key: string]: string;
1806
1806
  };
@@ -1808,18 +1808,18 @@ interface components {
1808
1808
  * @description When true, automatically triggers generation after each user message (if no generation is in progress).
1809
1809
  * @default false
1810
1810
  */
1811
- autoGenerate: boolean;
1811
+ auto_generate: boolean;
1812
1812
  /**
1813
1813
  * Format: date-time
1814
1814
  * @description Timestamp when the current generation started, or null if not generating.
1815
1815
  */
1816
- generatingAt?: string | null;
1816
+ generating_at?: string | null;
1817
1817
  /** Format: date-time */
1818
- createdAt?: string;
1818
+ created_at?: string;
1819
1819
  /** Format: date-time */
1820
- updatedAt?: string;
1820
+ updated_at?: string;
1821
1821
  /** @description Key-value pairs injected as context headers into all tool call requests made during this session. */
1822
- toolContext?: {
1822
+ tool_context?: {
1823
1823
  [key: string]: string;
1824
1824
  } | null;
1825
1825
  };
@@ -1827,7 +1827,7 @@ interface components {
1827
1827
  /** @enum {string} */
1828
1828
  role?: "user" | "assistant" | "unknown";
1829
1829
  content?: string;
1830
- documentId?: string | null;
1830
+ document_id?: string | null;
1831
1831
  position?: number;
1832
1832
  metadata?: Record<string, never> | null;
1833
1833
  };
@@ -1841,14 +1841,14 @@ interface components {
1841
1841
  * @description Optional public ID of an existing actor to use as the user actor
1842
1842
  * @example actr_V1StGXR8Z5jdHi6B
1843
1843
  */
1844
- actorId?: string;
1844
+ actor_id?: string;
1845
1845
  /**
1846
1846
  * @description When true, automatically triggers generation after each user message.
1847
1847
  * @default false
1848
1848
  */
1849
- autoGenerate: boolean;
1849
+ auto_generate: boolean;
1850
1850
  /** @description Key-value pairs injected as context headers into all tool call requests made during this session. */
1851
- toolContext?: {
1851
+ tool_context?: {
1852
1852
  [key: string]: string;
1853
1853
  } | null;
1854
1854
  };
@@ -1861,9 +1861,9 @@ interface components {
1861
1861
  */
1862
1862
  status?: "open" | "closed";
1863
1863
  /** @description Enable or disable automatic generation after user messages. */
1864
- autoGenerate?: boolean;
1864
+ auto_generate?: boolean;
1865
1865
  /** @description Key-value pairs injected as context headers into all tool call requests made during this session. */
1866
- toolContext?: {
1866
+ tool_context?: {
1867
1867
  [key: string]: string;
1868
1868
  } | null;
1869
1869
  };
@@ -1874,7 +1874,7 @@ interface components {
1874
1874
  */
1875
1875
  message: string;
1876
1876
  /** @description Key-value pairs injected as context headers into all tool call requests made during this generation. */
1877
- toolContext?: {
1877
+ tool_context?: {
1878
1878
  [key: string]: string;
1879
1879
  } | null;
1880
1880
  };
@@ -1890,7 +1890,7 @@ interface components {
1890
1890
  */
1891
1891
  model?: string;
1892
1892
  /** @description Key-value pairs injected as context headers into all tool call requests made during this generation. */
1893
- toolContext?: {
1893
+ tool_context?: {
1894
1894
  [key: string]: string;
1895
1895
  } | null;
1896
1896
  };
@@ -1902,11 +1902,11 @@ interface components {
1902
1902
  content?: string;
1903
1903
  model?: string;
1904
1904
  };
1905
- generationId?: string;
1906
- traceId?: string;
1905
+ generation_id?: string;
1906
+ trace_id?: string;
1907
1907
  /** @description Present when status is requires_action */
1908
- requiredAction?: {
1909
- toolCalls?: {
1908
+ required_action?: {
1909
+ tool_calls?: {
1910
1910
  id?: string;
1911
1911
  name?: string;
1912
1912
  arguments?: Record<string, never>;
@@ -1933,11 +1933,11 @@ interface components {
1933
1933
  content?: string;
1934
1934
  model?: string;
1935
1935
  };
1936
- generationId?: string;
1937
- traceId?: string;
1936
+ generation_id?: string;
1937
+ trace_id?: string;
1938
1938
  /** @description Present when status is requires_action */
1939
- requiredAction?: {
1940
- toolCalls?: {
1939
+ required_action?: {
1940
+ tool_calls?: {
1941
1941
  id?: string;
1942
1942
  name?: string;
1943
1943
  arguments?: Record<string, never>;
@@ -1946,9 +1946,9 @@ interface components {
1946
1946
  };
1947
1947
  SubmitSessionToolOutputsRequest: {
1948
1948
  /** @description The generation ID from the requires_action response */
1949
- generationId: string;
1950
- toolOutputs: {
1951
- toolCallId: string;
1949
+ generation_id: string;
1950
+ tool_outputs: {
1951
+ tool_call_id: string;
1952
1952
  /** @description The tool output value */
1953
1953
  output: unknown;
1954
1954
  }[];
@@ -1970,26 +1970,26 @@ interface components {
1970
1970
  * Format: date-time
1971
1971
  * @example 2024-01-01T00:00:00.000Z
1972
1972
  */
1973
- createdAt?: string;
1973
+ created_at?: string;
1974
1974
  /**
1975
1975
  * Format: date-time
1976
1976
  * @example 2024-01-01T00:00:00.000Z
1977
1977
  */
1978
- updatedAt?: string;
1978
+ updated_at?: string;
1979
1979
  };
1980
1980
  Webhook: {
1981
1981
  id?: string;
1982
- projectId?: string;
1983
- policyId?: string | null;
1982
+ project_id?: string;
1983
+ policy_id?: string | null;
1984
1984
  name?: string;
1985
1985
  description?: string | null;
1986
1986
  url?: string;
1987
1987
  events?: string[];
1988
1988
  active?: boolean;
1989
1989
  /** Format: date-time */
1990
- createdAt?: string;
1990
+ created_at?: string;
1991
1991
  /** Format: date-time */
1992
- updatedAt?: string;
1992
+ updated_at?: string;
1993
1993
  };
1994
1994
  WebhookWithSecret: components["schemas"]["Webhook"] & {
1995
1995
  secret?: string;
@@ -1999,7 +1999,7 @@ interface components {
1999
1999
  description?: string;
2000
2000
  url: string;
2001
2001
  events: string[];
2002
- policyId?: string;
2002
+ policy_id?: string;
2003
2003
  };
2004
2004
  UpdateWebhookRequest: {
2005
2005
  name?: string;
@@ -2007,23 +2007,23 @@ interface components {
2007
2007
  url?: string;
2008
2008
  events?: string[];
2009
2009
  active?: boolean;
2010
- policyId?: string | null;
2010
+ policy_id?: string | null;
2011
2011
  };
2012
2012
  Delivery: {
2013
2013
  id?: string;
2014
- eventType?: string;
2014
+ event_type?: string;
2015
2015
  payload?: Record<string, never>;
2016
2016
  /** @enum {string} */
2017
2017
  status?: "pending" | "success" | "failed";
2018
- statusCode?: number | null;
2018
+ status_code?: number | null;
2019
2019
  attempts?: number;
2020
2020
  /** Format: date-time */
2021
- lastAttemptAt?: string | null;
2022
- responseBody?: string | null;
2021
+ last_attempt_at?: string | null;
2022
+ response_body?: string | null;
2023
2023
  /** Format: date-time */
2024
- createdAt?: string;
2024
+ created_at?: string;
2025
2025
  /** Format: date-time */
2026
- updatedAt?: string;
2026
+ updated_at?: string;
2027
2027
  };
2028
2028
  DeliveryListResponse: {
2029
2029
  data?: components["schemas"]["Delivery"][];
@@ -2077,9 +2077,9 @@ interface operations {
2077
2077
  parameters: {
2078
2078
  query?: {
2079
2079
  /** @description Project ID (optional) */
2080
- projectId?: string;
2080
+ project_id?: string;
2081
2081
  /** @description External ID to filter by (e.g. WhatsApp phone number) */
2082
- externalId?: string;
2082
+ external_id?: string;
2083
2083
  };
2084
2084
  header?: never;
2085
2085
  path?: never;
@@ -2130,7 +2130,7 @@ interface operations {
2130
2130
  * @description Project ID. Required for JWT auth; omit when using an project key.
2131
2131
  * @example proj_V1StGXR8Z5jdHi6B
2132
2132
  */
2133
- projectId?: string;
2133
+ project_id?: string;
2134
2134
  /** @example Alice */
2135
2135
  name: string;
2136
2136
  /**
@@ -2142,7 +2142,7 @@ interface operations {
2142
2142
  * @description Optional external identifier (e.g. WhatsApp phone number). If provided and an actor with this externalId already exists in the project, the existing actor is returned (idempotent — 200 OK).
2143
2143
  * @example +15551234567
2144
2144
  */
2145
- externalId?: string;
2145
+ external_id?: string;
2146
2146
  };
2147
2147
  };
2148
2148
  };
@@ -2296,7 +2296,7 @@ interface operations {
2296
2296
  parameters: {
2297
2297
  query?: {
2298
2298
  /** @description Project public ID to filter by */
2299
- projectId?: string;
2299
+ project_id?: string;
2300
2300
  };
2301
2301
  header?: never;
2302
2302
  path?: never;
@@ -2537,7 +2537,7 @@ interface operations {
2537
2537
  parameters: {
2538
2538
  query?: {
2539
2539
  /** @description Project public ID to filter by */
2540
- projectId?: string;
2540
+ project_id?: string;
2541
2541
  };
2542
2542
  header?: never;
2543
2543
  path?: never;
@@ -2627,7 +2627,7 @@ interface operations {
2627
2627
  parameters: {
2628
2628
  query?: {
2629
2629
  /** @description Project public ID to filter by */
2630
- projectId?: string;
2630
+ project_id?: string;
2631
2631
  };
2632
2632
  header?: never;
2633
2633
  path?: never;
@@ -3003,7 +3003,7 @@ interface operations {
3003
3003
  parameters: {
3004
3004
  query?: {
3005
3005
  /** @description Project ID (required if not using project key auth) */
3006
- projectId?: string;
3006
+ project_id?: string;
3007
3007
  /** @description Number of results per page */
3008
3008
  limit?: number;
3009
3009
  /** @description Number of results to skip */
@@ -3026,10 +3026,10 @@ interface operations {
3026
3026
  name?: string;
3027
3027
  /** @enum {string} */
3028
3028
  provider?: "openai" | "anthropic" | "google" | "cohere" | "mistral";
3029
- defaultModel?: string;
3030
- projectId?: string;
3029
+ default_model?: string;
3030
+ project_id?: string;
3031
3031
  /** Format: date-time */
3032
- createdAt?: string;
3032
+ created_at?: string;
3033
3033
  }[];
3034
3034
  };
3035
3035
  };
@@ -3070,7 +3070,7 @@ interface operations {
3070
3070
  * @description Project ID (required if not using project key auth)
3071
3071
  * @example proj_V1StGXR8Z5jdHi6B
3072
3072
  */
3073
- projectId?: string;
3073
+ project_id?: string;
3074
3074
  /**
3075
3075
  * @description Provider configuration name
3076
3076
  * @example OpenAI Production
@@ -3086,14 +3086,14 @@ interface operations {
3086
3086
  * @description Default model to use
3087
3087
  * @example gpt-4
3088
3088
  */
3089
- defaultModel: string;
3089
+ default_model: string;
3090
3090
  /**
3091
3091
  * @description Secret ID containing API credentials
3092
3092
  * @example secret_V1StGXR8Z5jdHi6B
3093
3093
  */
3094
- secretId?: string;
3094
+ secret_id?: string;
3095
3095
  /** @description Custom base URL for the provider */
3096
- baseUrl?: string;
3096
+ base_url?: string;
3097
3097
  /** @description Additional provider-specific configuration */
3098
3098
  config?: Record<string, never>;
3099
3099
  };
@@ -3110,10 +3110,10 @@ interface operations {
3110
3110
  id?: string;
3111
3111
  name?: string;
3112
3112
  provider?: string;
3113
- defaultModel?: string;
3114
- projectId?: string;
3113
+ default_model?: string;
3114
+ project_id?: string;
3115
3115
  /** Format: date-time */
3116
- createdAt?: string;
3116
+ created_at?: string;
3117
3117
  };
3118
3118
  };
3119
3119
  };
@@ -3169,13 +3169,13 @@ interface operations {
3169
3169
  id?: string;
3170
3170
  name?: string;
3171
3171
  provider?: string;
3172
- defaultModel?: string;
3173
- projectId?: string;
3174
- secretId?: string;
3175
- baseUrl?: string;
3172
+ default_model?: string;
3173
+ project_id?: string;
3174
+ secret_id?: string;
3175
+ base_url?: string;
3176
3176
  config?: Record<string, never>;
3177
3177
  /** Format: date-time */
3178
- createdAt?: string;
3178
+ created_at?: string;
3179
3179
  };
3180
3180
  };
3181
3181
  };
@@ -3258,9 +3258,9 @@ interface operations {
3258
3258
  content: {
3259
3259
  "application/json": {
3260
3260
  name?: string;
3261
- defaultModel?: string;
3262
- secretId?: string;
3263
- baseUrl?: string;
3261
+ default_model?: string;
3262
+ secret_id?: string;
3263
+ base_url?: string;
3264
3264
  config?: Record<string, never>;
3265
3265
  };
3266
3266
  };
@@ -3307,7 +3307,7 @@ interface operations {
3307
3307
  parameters: {
3308
3308
  query?: {
3309
3309
  /** @description Project public ID to filter by */
3310
- projectId?: string;
3310
+ project_id?: string;
3311
3311
  };
3312
3312
  header?: never;
3313
3313
  path?: never;
@@ -3592,9 +3592,9 @@ interface operations {
3592
3592
  parameters: {
3593
3593
  query?: {
3594
3594
  /** @description Project ID (optional) */
3595
- projectId?: string;
3595
+ project_id?: string;
3596
3596
  /** @description Filter by actor ID */
3597
- actorId?: string;
3597
+ actor_id?: string;
3598
3598
  };
3599
3599
  header?: never;
3600
3600
  path?: never;
@@ -3645,7 +3645,7 @@ interface operations {
3645
3645
  * @description Project ID. Required for JWT auth; omit when using an project key.
3646
3646
  * @example proj_V1StGXR8Z5jdHi6B
3647
3647
  */
3648
- projectId?: string;
3648
+ project_id?: string;
3649
3649
  /**
3650
3650
  * @description Initial conversation status
3651
3651
  * @default open
@@ -3658,7 +3658,7 @@ interface operations {
3658
3658
  * @description Actor ID to associate with this conversation
3659
3659
  * @example act_V1StGXR8Z5jdHi6B
3660
3660
  */
3661
- actorId?: string | null;
3661
+ actor_id?: string | null;
3662
3662
  };
3663
3663
  };
3664
3664
  };
@@ -3940,7 +3940,7 @@ interface operations {
3940
3940
  * @description Actor ID who is sending this message
3941
3941
  * @example act_V1StGXR8Z5jdHi6B
3942
3942
  */
3943
- actorId: string;
3943
+ actor_id: string;
3944
3944
  /**
3945
3945
  * @description Zero-based position. Defaults to MAX+1 (append).
3946
3946
  * @example 0
@@ -4020,13 +4020,13 @@ interface operations {
4020
4020
  content: {
4021
4021
  "application/json": {
4022
4022
  /** @description ID of the actor that will produce the next message. Must have `agentId` or `chatId` set. */
4023
- actorId: string;
4023
+ actor_id: string;
4024
4024
  /** @description Optional model override. Only honored for chat-backed actors. */
4025
4025
  model?: string;
4026
4026
  /** @description If true, stream tokens via SSE. NOT IMPLEMENTED in v1 — returns 501. */
4027
4027
  stream?: boolean;
4028
4028
  /** @description Key-value pairs injected as context headers into all tool call requests made during this generation. */
4029
- toolContext?: {
4029
+ tool_context?: {
4030
4030
  [key: string]: string;
4031
4031
  } | null;
4032
4032
  };
@@ -4193,7 +4193,7 @@ interface operations {
4193
4193
  parameters: {
4194
4194
  query?: {
4195
4195
  /** @description Project ID (optional) */
4196
- projectId?: string;
4196
+ project_id?: string;
4197
4197
  };
4198
4198
  header?: never;
4199
4199
  path?: never;
@@ -4244,7 +4244,7 @@ interface operations {
4244
4244
  * @description Project ID. Required for JWT auth; omit when using an project key.
4245
4245
  * @example proj_V1StGXR8Z5jdHi6B
4246
4246
  */
4247
- projectId?: string;
4247
+ project_id?: string;
4248
4248
  /** @example The quick brown fox jumps over the lazy dog. */
4249
4249
  content: string;
4250
4250
  /** @example my-doc.txt */
@@ -4403,7 +4403,7 @@ interface operations {
4403
4403
  * @description Project ID (optional). Omit to search across all accessible projects.
4404
4404
  * @example proj_V1StGXR8Z5jdHi6B
4405
4405
  */
4406
- projectId?: string;
4406
+ project_id?: string;
4407
4407
  /** @example What is the capital of France? */
4408
4408
  query: string;
4409
4409
  /** @example 5 */
@@ -4509,12 +4509,12 @@ interface operations {
4509
4509
  * @example local
4510
4510
  * @enum {string}
4511
4511
  */
4512
- storageType: "local" | "s3" | "gcs";
4512
+ storage_type: "local" | "s3" | "gcs";
4513
4513
  /**
4514
4514
  * @description Path where the file is stored
4515
4515
  * @example /uploads/document.pdf
4516
4516
  */
4517
- storagePath: string;
4517
+ storage_path: string;
4518
4518
  /**
4519
4519
  * @description JSON string with additional metadata
4520
4520
  * @example {"author":"John"}
@@ -4563,7 +4563,7 @@ interface operations {
4563
4563
  * @description Project ID to associate the file with
4564
4564
  * @example proj_V1StGXR8Z5jdHi6B
4565
4565
  */
4566
- projectId: string;
4566
+ project_id: string;
4567
4567
  /**
4568
4568
  * @description Additional metadata as a JSON string
4569
4569
  * @example {"author":"John"}
@@ -4772,12 +4772,12 @@ interface operations {
4772
4772
  * @description Project ID
4773
4773
  * @example proj_V1StGXR8Z5jdHi6B
4774
4774
  */
4775
- projectId: string;
4775
+ project_id: string;
4776
4776
  /**
4777
4777
  * @description Policy ID that determines the key's permissions
4778
4778
  * @example policy_abc123
4779
4779
  */
4780
- policyId: string;
4780
+ policy_id: string;
4781
4781
  /**
4782
4782
  * @description Key name for identification
4783
4783
  * @example CI/CD Pipeline
@@ -4800,9 +4800,9 @@ interface operations {
4800
4800
  */
4801
4801
  id?: string;
4802
4802
  name?: string;
4803
- projectId?: string;
4803
+ project_id?: string;
4804
4804
  /** Format: date-time */
4805
- createdAt?: string;
4805
+ created_at?: string;
4806
4806
  };
4807
4807
  };
4808
4808
  };
@@ -4857,9 +4857,9 @@ interface operations {
4857
4857
  "application/json": {
4858
4858
  id?: string;
4859
4859
  name?: string;
4860
- projectId?: string;
4860
+ project_id?: string;
4861
4861
  /** Format: date-time */
4862
- createdAt?: string;
4862
+ created_at?: string;
4863
4863
  };
4864
4864
  };
4865
4865
  };
@@ -4900,7 +4900,7 @@ interface operations {
4900
4900
  content: {
4901
4901
  "application/json": {
4902
4902
  /** @description New policy ID */
4903
- policyId: string;
4903
+ policy_id: string;
4904
4904
  };
4905
4905
  };
4906
4906
  };
@@ -5011,7 +5011,7 @@ interface operations {
5011
5011
  id?: string;
5012
5012
  name?: string;
5013
5013
  /** Format: date-time */
5014
- createdAt?: string;
5014
+ created_at?: string;
5015
5015
  };
5016
5016
  };
5017
5017
  };
@@ -5109,7 +5109,7 @@ interface operations {
5109
5109
  * ]
5110
5110
  */
5111
5111
  permissions: string[];
5112
- notPermissions?: string[];
5112
+ not_permissions?: string[];
5113
5113
  };
5114
5114
  };
5115
5115
  };
@@ -5254,7 +5254,7 @@ interface operations {
5254
5254
  parameters: {
5255
5255
  query?: {
5256
5256
  /** @description Project ID (required if not using project key auth) */
5257
- projectId?: string;
5257
+ project_id?: string;
5258
5258
  /** @description Number of results per page */
5259
5259
  limit?: number;
5260
5260
  /** @description Number of results to skip */
@@ -5275,9 +5275,9 @@ interface operations {
5275
5275
  "application/json": {
5276
5276
  id?: string;
5277
5277
  name?: string;
5278
- projectId?: string;
5278
+ project_id?: string;
5279
5279
  /** Format: date-time */
5280
- createdAt?: string;
5280
+ created_at?: string;
5281
5281
  }[];
5282
5282
  };
5283
5283
  };
@@ -5318,7 +5318,7 @@ interface operations {
5318
5318
  * @description Project ID (required if not using project key auth)
5319
5319
  * @example proj_V1StGXR8Z5jdHi6B
5320
5320
  */
5321
- projectId?: string;
5321
+ project_id?: string;
5322
5322
  /**
5323
5323
  * @description Secret name
5324
5324
  * @example DATABASE_PASSWORD
@@ -5342,9 +5342,9 @@ interface operations {
5342
5342
  "application/json": {
5343
5343
  id?: string;
5344
5344
  name?: string;
5345
- projectId?: string;
5345
+ project_id?: string;
5346
5346
  /** Format: date-time */
5347
- createdAt?: string;
5347
+ created_at?: string;
5348
5348
  };
5349
5349
  };
5350
5350
  };
@@ -5401,9 +5401,9 @@ interface operations {
5401
5401
  name?: string;
5402
5402
  /** @description Decrypted secret value */
5403
5403
  value?: string;
5404
- projectId?: string;
5404
+ project_id?: string;
5405
5405
  /** Format: date-time */
5406
- createdAt?: string;
5406
+ created_at?: string;
5407
5407
  };
5408
5408
  };
5409
5409
  };
@@ -5534,7 +5534,7 @@ interface operations {
5534
5534
  parameters: {
5535
5535
  query?: {
5536
5536
  /** @description Filter by actor public ID */
5537
- actorId?: string;
5537
+ actor_id?: string;
5538
5538
  /** @description Filter by session status (open or closed) */
5539
5539
  status?: "open" | "closed";
5540
5540
  limit?: number;
@@ -5791,7 +5791,7 @@ interface operations {
5791
5791
  "application/json": {
5792
5792
  /** @enum {string} */
5793
5793
  status?: "accepted";
5794
- sessionId?: string;
5794
+ session_id?: string;
5795
5795
  };
5796
5796
  };
5797
5797
  };