@chatbotkit/sdk 1.26.2 → 1.26.3

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 (69) hide show
  1. package/dist/cjs/event/index.cjs +13 -0
  2. package/dist/cjs/event/index.d.ts +6 -0
  3. package/dist/cjs/event/log/index.cjs +21 -0
  4. package/dist/cjs/event/log/index.d.ts +8 -0
  5. package/dist/cjs/event/log/v1.cjs +24 -0
  6. package/dist/cjs/event/log/v1.d.ts +24 -0
  7. package/dist/cjs/index.cjs +50 -47
  8. package/dist/cjs/index.d.ts +3 -1
  9. package/dist/cjs/integration/index.cjs +24 -22
  10. package/dist/cjs/integration/index.d.ts +2 -0
  11. package/dist/cjs/integration/instagram/index.cjs +30 -0
  12. package/dist/cjs/integration/instagram/index.d.ts +11 -0
  13. package/dist/cjs/integration/instagram/v1.cjs +50 -0
  14. package/dist/cjs/integration/instagram/v1.d.ts +33 -0
  15. package/dist/cjs/skillset/ability/index.cjs +3 -0
  16. package/dist/cjs/skillset/ability/index.d.ts +1 -0
  17. package/dist/cjs/skillset/ability/v1.cjs +10 -0
  18. package/dist/cjs/skillset/ability/v1.d.ts +5 -0
  19. package/dist/cjs/types/api/v1.d.ts +1352 -62
  20. package/dist/cjs/types/report.d.ts +24 -1
  21. package/dist/esm/event/index.d.ts +6 -0
  22. package/dist/esm/event/index.js +9 -0
  23. package/dist/esm/event/log/index.d.ts +8 -0
  24. package/dist/esm/event/log/index.js +17 -0
  25. package/dist/esm/event/log/v1.d.ts +24 -0
  26. package/dist/esm/event/log/v1.js +19 -0
  27. package/dist/esm/index.d.ts +3 -1
  28. package/dist/esm/index.js +3 -0
  29. package/dist/esm/integration/index.d.ts +2 -0
  30. package/dist/esm/integration/index.js +2 -0
  31. package/dist/esm/integration/instagram/index.d.ts +11 -0
  32. package/dist/esm/integration/instagram/index.js +26 -0
  33. package/dist/esm/integration/instagram/v1.d.ts +33 -0
  34. package/dist/esm/integration/instagram/v1.js +42 -0
  35. package/dist/esm/skillset/ability/index.d.ts +1 -0
  36. package/dist/esm/skillset/ability/index.js +4 -1
  37. package/dist/esm/skillset/ability/v1.d.ts +5 -0
  38. package/dist/esm/skillset/ability/v1.js +9 -0
  39. package/dist/esm/types/api/v1.d.ts +1352 -62
  40. package/dist/esm/types/report.d.ts +24 -1
  41. package/package.json +150 -202
  42. package/dist/cjs/platform/content/doc/index.cjs +0 -21
  43. package/dist/cjs/platform/content/doc/index.d.ts +0 -8
  44. package/dist/cjs/platform/content/doc/v1.cjs +0 -26
  45. package/dist/cjs/platform/content/doc/v1.d.ts +0 -19
  46. package/dist/cjs/platform/content/index.cjs +0 -17
  47. package/dist/cjs/platform/content/index.d.ts +0 -10
  48. package/dist/cjs/platform/content/manual/index.cjs +0 -21
  49. package/dist/cjs/platform/content/manual/index.d.ts +0 -8
  50. package/dist/cjs/platform/content/manual/v1.cjs +0 -26
  51. package/dist/cjs/platform/content/manual/v1.d.ts +0 -19
  52. package/dist/cjs/platform/content/tutorial/index.cjs +0 -21
  53. package/dist/cjs/platform/content/tutorial/index.d.ts +0 -8
  54. package/dist/cjs/platform/content/tutorial/v1.cjs +0 -26
  55. package/dist/cjs/platform/content/tutorial/v1.d.ts +0 -19
  56. package/dist/esm/platform/content/doc/index.d.ts +0 -8
  57. package/dist/esm/platform/content/doc/index.js +0 -17
  58. package/dist/esm/platform/content/doc/v1.d.ts +0 -19
  59. package/dist/esm/platform/content/doc/v1.js +0 -21
  60. package/dist/esm/platform/content/index.d.ts +0 -10
  61. package/dist/esm/platform/content/index.js +0 -13
  62. package/dist/esm/platform/content/manual/index.d.ts +0 -8
  63. package/dist/esm/platform/content/manual/index.js +0 -17
  64. package/dist/esm/platform/content/manual/v1.d.ts +0 -19
  65. package/dist/esm/platform/content/manual/v1.js +0 -21
  66. package/dist/esm/platform/content/tutorial/index.d.ts +0 -8
  67. package/dist/esm/platform/content/tutorial/index.js +0 -17
  68. package/dist/esm/platform/content/tutorial/v1.d.ts +0 -19
  69. package/dist/esm/platform/content/tutorial/v1.js +0 -21
@@ -1508,6 +1508,72 @@ export interface paths {
1508
1508
  patch?: never;
1509
1509
  trace?: never;
1510
1510
  };
1511
+ "/event/log/export": {
1512
+ parameters: {
1513
+ query?: never;
1514
+ header?: never;
1515
+ path?: never;
1516
+ cookie?: never;
1517
+ };
1518
+ /** Export event logs */
1519
+ get: operations["exportEventLogs"];
1520
+ put?: never;
1521
+ post?: never;
1522
+ delete?: never;
1523
+ options?: never;
1524
+ head?: never;
1525
+ patch?: never;
1526
+ trace?: never;
1527
+ };
1528
+ "/event/log/list": {
1529
+ parameters: {
1530
+ query?: never;
1531
+ header?: never;
1532
+ path?: never;
1533
+ cookie?: never;
1534
+ };
1535
+ /** List event logs */
1536
+ get: operations["listEventLogs"];
1537
+ put?: never;
1538
+ post?: never;
1539
+ delete?: never;
1540
+ options?: never;
1541
+ head?: never;
1542
+ patch?: never;
1543
+ trace?: never;
1544
+ };
1545
+ "/event/log/subscribe": {
1546
+ parameters: {
1547
+ query?: never;
1548
+ header?: never;
1549
+ path?: never;
1550
+ cookie?: never;
1551
+ };
1552
+ get?: never;
1553
+ put?: never;
1554
+ /**
1555
+ * Subscribe to live event logs
1556
+ * @description Subscribe to receive real-time event logs as they are generated. This
1557
+ * endpoint returns a streaming response that continuously delivers events
1558
+ * as they occur in your account. The connection remains open until the
1559
+ * client closes it or an error occurs.
1560
+ *
1561
+ * This is useful for:
1562
+ * - Real-time monitoring dashboards
1563
+ * - Live debugging and troubleshooting
1564
+ * - Building reactive integrations
1565
+ * - Streaming event data to external systems
1566
+ *
1567
+ * For historical event data, use the `/event/log/list` endpoint instead.
1568
+ *
1569
+ */
1570
+ post: operations["subscribeEventLogs"];
1571
+ delete?: never;
1572
+ options?: never;
1573
+ head?: never;
1574
+ patch?: never;
1575
+ trace?: never;
1576
+ };
1511
1577
  "/file/{fileId}/delete": {
1512
1578
  parameters: {
1513
1579
  query?: never;
@@ -1946,6 +2012,108 @@ export interface paths {
1946
2012
  patch?: never;
1947
2013
  trace?: never;
1948
2014
  };
2015
+ "/integration/instagram/{instagramIntegrationId}/delete": {
2016
+ parameters: {
2017
+ query?: never;
2018
+ header?: never;
2019
+ path?: never;
2020
+ cookie?: never;
2021
+ };
2022
+ get?: never;
2023
+ put?: never;
2024
+ /** Delete Instagram integration */
2025
+ post: operations["deleteInstagramIntegration"];
2026
+ delete?: never;
2027
+ options?: never;
2028
+ head?: never;
2029
+ patch?: never;
2030
+ trace?: never;
2031
+ };
2032
+ "/integration/instagram/{instagramIntegrationId}/fetch": {
2033
+ parameters: {
2034
+ query?: never;
2035
+ header?: never;
2036
+ path?: never;
2037
+ cookie?: never;
2038
+ };
2039
+ /** Fetch an Instagram integration */
2040
+ get: operations["fetchInstagramIntegration"];
2041
+ put?: never;
2042
+ post?: never;
2043
+ delete?: never;
2044
+ options?: never;
2045
+ head?: never;
2046
+ patch?: never;
2047
+ trace?: never;
2048
+ };
2049
+ "/integration/instagram/{instagramIntegrationId}/setup": {
2050
+ parameters: {
2051
+ query?: never;
2052
+ header?: never;
2053
+ path?: never;
2054
+ cookie?: never;
2055
+ };
2056
+ get?: never;
2057
+ put?: never;
2058
+ /** Setup an Instagram integration */
2059
+ post: operations["setupInstagramIntegration"];
2060
+ delete?: never;
2061
+ options?: never;
2062
+ head?: never;
2063
+ patch?: never;
2064
+ trace?: never;
2065
+ };
2066
+ "/integration/instagram/{instagramIntegrationId}/update": {
2067
+ parameters: {
2068
+ query?: never;
2069
+ header?: never;
2070
+ path?: never;
2071
+ cookie?: never;
2072
+ };
2073
+ get?: never;
2074
+ put?: never;
2075
+ /** Update an Instagram integration */
2076
+ post: operations["updateInstagramIntegration"];
2077
+ delete?: never;
2078
+ options?: never;
2079
+ head?: never;
2080
+ patch?: never;
2081
+ trace?: never;
2082
+ };
2083
+ "/integration/instagram/create": {
2084
+ parameters: {
2085
+ query?: never;
2086
+ header?: never;
2087
+ path?: never;
2088
+ cookie?: never;
2089
+ };
2090
+ get?: never;
2091
+ put?: never;
2092
+ /** Create Instagram integration */
2093
+ post: operations["createInstagramIntegration"];
2094
+ delete?: never;
2095
+ options?: never;
2096
+ head?: never;
2097
+ patch?: never;
2098
+ trace?: never;
2099
+ };
2100
+ "/integration/instagram/list": {
2101
+ parameters: {
2102
+ query?: never;
2103
+ header?: never;
2104
+ path?: never;
2105
+ cookie?: never;
2106
+ };
2107
+ /** List Instagram integrations */
2108
+ get: operations["listInstagramIntegrations"];
2109
+ put?: never;
2110
+ post?: never;
2111
+ delete?: never;
2112
+ options?: never;
2113
+ head?: never;
2114
+ patch?: never;
2115
+ trace?: never;
2116
+ };
1949
2117
  "/integration/mcpserver/{mcpserverIntegrationId}/delete": {
1950
2118
  parameters: {
1951
2119
  query?: never;
@@ -4043,6 +4211,31 @@ export interface paths {
4043
4211
  patch?: never;
4044
4212
  trace?: never;
4045
4213
  };
4214
+ "/skillset/{skillsetId}/ability/{abilityId}/execute": {
4215
+ parameters: {
4216
+ query?: never;
4217
+ header?: never;
4218
+ path?: never;
4219
+ cookie?: never;
4220
+ };
4221
+ get?: never;
4222
+ put?: never;
4223
+ /**
4224
+ * Execute a skillset ability
4225
+ * @description Executes a specific ability from a skillset with the provided input.
4226
+ * This endpoint processes the ability's instruction template using the
4227
+ * given input and returns the execution result along with usage statistics.
4228
+ * The response is streamed as JSON lines (JSONL) to support real-time
4229
+ * progress updates during execution.
4230
+ *
4231
+ */
4232
+ post: operations["executeSkillsetAbility"];
4233
+ delete?: never;
4234
+ options?: never;
4235
+ head?: never;
4236
+ patch?: never;
4237
+ trace?: never;
4238
+ };
4046
4239
  "/skillset/{skillsetId}/ability/{abilityId}/fetch": {
4047
4240
  parameters: {
4048
4241
  query?: never;
@@ -4786,6 +4979,13 @@ export interface components {
4786
4979
  /** @description The channel for streaming function results */
4787
4980
  channel: string;
4788
4981
  };
4982
+ /** @description Configuration for when this function should be automatically called */
4983
+ call?: {
4984
+ /** @description If true, this function will be force-called at the start of the conversation */
4985
+ start?: boolean;
4986
+ /** @description If true, this function will be force-called at the end of the conversation */
4987
+ end?: boolean;
4988
+ };
4789
4989
  }[];
4790
4990
  /** @description Extensions to enhance the bot's capabilities */
4791
4991
  ExtensionsDefinition: {
@@ -7465,6 +7665,13 @@ export interface operations {
7465
7665
  /** @description The channel for streaming function results */
7466
7666
  channel: string;
7467
7667
  };
7668
+ /** @description Configuration for when this function should be automatically called */
7669
+ call?: {
7670
+ /** @description If true, this function will be force-called at the start of the conversation */
7671
+ start?: boolean;
7672
+ /** @description If true, this function will be force-called at the end of the conversation */
7673
+ end?: boolean;
7674
+ };
7468
7675
  }[];
7469
7676
  /** @description Extensions to enhance the bot's capabilities */
7470
7677
  extensions?: {
@@ -7823,6 +8030,13 @@ export interface operations {
7823
8030
  /** @description The channel for streaming function results */
7824
8031
  channel: string;
7825
8032
  };
8033
+ /** @description Configuration for when this function should be automatically called */
8034
+ call?: {
8035
+ /** @description If true, this function will be force-called at the start of the conversation */
8036
+ start?: boolean;
8037
+ /** @description If true, this function will be force-called at the end of the conversation */
8038
+ end?: boolean;
8039
+ };
7826
8040
  }[];
7827
8041
  /** @description Extensions to enhance the bot's capabilities */
7828
8042
  extensions?: {
@@ -7872,6 +8086,8 @@ export interface operations {
7872
8086
  };
7873
8087
  }[];
7874
8088
  };
8089
+ /** @description A unique ID to deduplicate dispatch requests */
8090
+ channelId?: string;
7875
8091
  };
7876
8092
  };
7877
8093
  };
@@ -8514,6 +8730,13 @@ export interface operations {
8514
8730
  /** @description The channel for streaming function results */
8515
8731
  channel: string;
8516
8732
  };
8733
+ /** @description Configuration for when this function should be automatically called */
8734
+ call?: {
8735
+ /** @description If true, this function will be force-called at the start of the conversation */
8736
+ start?: boolean;
8737
+ /** @description If true, this function will be force-called at the end of the conversation */
8738
+ end?: boolean;
8739
+ };
8517
8740
  }[];
8518
8741
  /** @description Extensions to enhance the bot's capabilities */
8519
8742
  extensions?: {
@@ -8782,6 +9005,13 @@ export interface operations {
8782
9005
  /** @description The channel for streaming function results */
8783
9006
  channel: string;
8784
9007
  };
9008
+ /** @description Configuration for when this function should be automatically called */
9009
+ call?: {
9010
+ /** @description If true, this function will be force-called at the start of the conversation */
9011
+ start?: boolean;
9012
+ /** @description If true, this function will be force-called at the end of the conversation */
9013
+ end?: boolean;
9014
+ };
8785
9015
  }[];
8786
9016
  /** @description Extensions to enhance the bot's capabilities */
8787
9017
  extensions?: {
@@ -9286,6 +9516,13 @@ export interface operations {
9286
9516
  /** @description The channel for streaming function results */
9287
9517
  channel: string;
9288
9518
  };
9519
+ /** @description Configuration for when this function should be automatically called */
9520
+ call?: {
9521
+ /** @description If true, this function will be force-called at the start of the conversation */
9522
+ start?: boolean;
9523
+ /** @description If true, this function will be force-called at the end of the conversation */
9524
+ end?: boolean;
9525
+ };
9289
9526
  }[];
9290
9527
  /** @description Extensions to enhance the bot's capabilities */
9291
9528
  extensions?: {
@@ -9675,6 +9912,13 @@ export interface operations {
9675
9912
  /** @description The channel for streaming function results */
9676
9913
  channel: string;
9677
9914
  };
9915
+ /** @description Configuration for when this function should be automatically called */
9916
+ call?: {
9917
+ /** @description If true, this function will be force-called at the start of the conversation */
9918
+ start?: boolean;
9919
+ /** @description If true, this function will be force-called at the end of the conversation */
9920
+ end?: boolean;
9921
+ };
9678
9922
  }[];
9679
9923
  /** @description Extensions to enhance the bot's capabilities */
9680
9924
  extensions?: {
@@ -9724,6 +9968,8 @@ export interface operations {
9724
9968
  };
9725
9969
  }[];
9726
9970
  };
9971
+ /** @description A unique channel ID to subscribe to for completion events */
9972
+ channelId?: string;
9727
9973
  } & ({
9728
9974
  /** @description The ID of the bot this configuration is using */
9729
9975
  botId?: string;
@@ -10947,31 +11193,179 @@ export interface operations {
10947
11193
  };
10948
11194
  };
10949
11195
  };
10950
- deleteFile: {
11196
+ exportEventLogs: {
10951
11197
  parameters: {
10952
- query?: never;
10953
- header?: never;
10954
- path: {
10955
- fileId: string;
11198
+ query?: {
11199
+ cursor?: string;
11200
+ order?: "asc" | "desc";
11201
+ take?: number;
11202
+ meta?: {
11203
+ [key: string]: string;
11204
+ };
10956
11205
  };
11206
+ header?: never;
11207
+ path?: never;
10957
11208
  cookie?: never;
10958
11209
  };
10959
- requestBody: {
10960
- content: {
10961
- "application/json": Record<string, never>;
10962
- };
10963
- };
11210
+ requestBody?: never;
10964
11211
  responses: {
10965
- /** @description The file was deleted successfully */
11212
+ /** @description The list of events was exported successfully */
10966
11213
  200: {
10967
11214
  headers: {
10968
11215
  [name: string]: unknown;
10969
11216
  };
10970
11217
  content: {
10971
11218
  "application/json": {
10972
- /** @description The ID of the deleted file */
10973
- id: string;
11219
+ items: {
11220
+ /** @description The associated name */
11221
+ name?: string;
11222
+ /** @description The associated description */
11223
+ description?: string;
11224
+ /** @description Meta data information */
11225
+ meta?: {
11226
+ [key: string]: unknown;
11227
+ };
11228
+ /** @description The instance ID */
11229
+ id: string;
11230
+ /** @description The timestamp (ms) when the instance was created */
11231
+ createdAt: number;
11232
+ /** @description The timestamp (ms) when the instance was updated */
11233
+ updatedAt: number;
11234
+ /** @description The type of event (e.g., 'conversation.create') */
11235
+ type: string;
11236
+ /** @description Related conversation ID if applicable */
11237
+ conversationId?: string;
11238
+ /** @description Related task ID if applicable */
11239
+ taskId?: string;
11240
+ /** @description Related contact ID if applicable */
11241
+ contactId?: string;
11242
+ /** @description Related blueprint ID if applicable */
11243
+ blueprintId?: string;
11244
+ /** @description Related bot ID if applicable */
11245
+ botId?: string;
11246
+ /** @description Related dataset ID if applicable */
11247
+ datasetId?: string;
11248
+ /** @description Related record ID if applicable */
11249
+ recordId?: string;
11250
+ /** @description Related skillset ID if applicable */
11251
+ skillsetId?: string;
11252
+ /** @description Related ability ID if applicable */
11253
+ abilityId?: string;
11254
+ /** @description Related file ID if applicable */
11255
+ fileId?: string;
11256
+ /** @description Related secret ID if applicable */
11257
+ secretId?: string;
11258
+ /** @description Related portal ID if applicable */
11259
+ portalId?: string;
11260
+ /** @description Related widget integration ID if applicable */
11261
+ widgetIntegrationId?: string;
11262
+ /** @description Related Slack integration ID if applicable */
11263
+ slackIntegrationId?: string;
11264
+ /** @description Related Discord integration ID if applicable */
11265
+ discordIntegrationId?: string;
11266
+ /** @description Related WhatsApp integration ID if applicable */
11267
+ whatsappIntegrationId?: string;
11268
+ /** @description Related Messenger integration ID if applicable */
11269
+ messengerIntegrationId?: string;
11270
+ /** @description Related Telegram integration ID if applicable */
11271
+ telegramIntegrationId?: string;
11272
+ /** @description Related Twilio integration ID if applicable */
11273
+ twilioIntegrationId?: string;
11274
+ /** @description Related email integration ID if applicable */
11275
+ emailIntegrationId?: string;
11276
+ /** @description Related sitemap integration ID if applicable */
11277
+ sitemapIntegrationId?: string;
11278
+ /** @description Related Notion integration ID if applicable */
11279
+ notionIntegrationId?: string;
11280
+ /** @description Related trigger integration ID if applicable */
11281
+ triggerIntegrationId?: string;
11282
+ /** @description Related support integration ID if applicable */
11283
+ supportIntegrationId?: string;
11284
+ /** @description Related extract integration ID if applicable */
11285
+ extractIntegrationId?: string;
11286
+ /** @description Related MCP server integration ID if applicable */
11287
+ mcpserverIntegrationId?: string;
11288
+ }[];
11289
+ };
11290
+ "application/jsonl": {
11291
+ /**
11292
+ * @description The type of event
11293
+ * @enum {string}
11294
+ */
11295
+ type: "item";
11296
+ /** @description Instance list properties */
11297
+ data: {
11298
+ /** @description The associated name */
11299
+ name?: string;
11300
+ /** @description The associated description */
11301
+ description?: string;
11302
+ /** @description Meta data information */
11303
+ meta?: {
11304
+ [key: string]: unknown;
11305
+ };
11306
+ /** @description The instance ID */
11307
+ id: string;
11308
+ /** @description The timestamp (ms) when the instance was created */
11309
+ createdAt: number;
11310
+ /** @description The timestamp (ms) when the instance was updated */
11311
+ updatedAt: number;
11312
+ /** @description The type of event (e.g., 'conversation.create') */
11313
+ type: string;
11314
+ /** @description Related conversation ID if applicable */
11315
+ conversationId?: string;
11316
+ /** @description Related task ID if applicable */
11317
+ taskId?: string;
11318
+ /** @description Related contact ID if applicable */
11319
+ contactId?: string;
11320
+ /** @description Related blueprint ID if applicable */
11321
+ blueprintId?: string;
11322
+ /** @description Related bot ID if applicable */
11323
+ botId?: string;
11324
+ /** @description Related dataset ID if applicable */
11325
+ datasetId?: string;
11326
+ /** @description Related record ID if applicable */
11327
+ recordId?: string;
11328
+ /** @description Related skillset ID if applicable */
11329
+ skillsetId?: string;
11330
+ /** @description Related ability ID if applicable */
11331
+ abilityId?: string;
11332
+ /** @description Related file ID if applicable */
11333
+ fileId?: string;
11334
+ /** @description Related secret ID if applicable */
11335
+ secretId?: string;
11336
+ /** @description Related portal ID if applicable */
11337
+ portalId?: string;
11338
+ /** @description Related widget integration ID if applicable */
11339
+ widgetIntegrationId?: string;
11340
+ /** @description Related Slack integration ID if applicable */
11341
+ slackIntegrationId?: string;
11342
+ /** @description Related Discord integration ID if applicable */
11343
+ discordIntegrationId?: string;
11344
+ /** @description Related WhatsApp integration ID if applicable */
11345
+ whatsappIntegrationId?: string;
11346
+ /** @description Related Messenger integration ID if applicable */
11347
+ messengerIntegrationId?: string;
11348
+ /** @description Related Telegram integration ID if applicable */
11349
+ telegramIntegrationId?: string;
11350
+ /** @description Related Twilio integration ID if applicable */
11351
+ twilioIntegrationId?: string;
11352
+ /** @description Related email integration ID if applicable */
11353
+ emailIntegrationId?: string;
11354
+ /** @description Related sitemap integration ID if applicable */
11355
+ sitemapIntegrationId?: string;
11356
+ /** @description Related Notion integration ID if applicable */
11357
+ notionIntegrationId?: string;
11358
+ /** @description Related trigger integration ID if applicable */
11359
+ triggerIntegrationId?: string;
11360
+ /** @description Related support integration ID if applicable */
11361
+ supportIntegrationId?: string;
11362
+ /** @description Related extract integration ID if applicable */
11363
+ extractIntegrationId?: string;
11364
+ /** @description Related MCP server integration ID if applicable */
11365
+ mcpserverIntegrationId?: string;
11366
+ };
10974
11367
  };
11368
+ "text/csv": string;
10975
11369
  };
10976
11370
  };
10977
11371
  /** @description An error response */
@@ -10983,28 +11377,364 @@ export interface operations {
10983
11377
  };
10984
11378
  };
10985
11379
  };
10986
- downloadFile: {
11380
+ listEventLogs: {
10987
11381
  parameters: {
10988
- query?: never;
10989
- header?: never;
10990
- path: {
10991
- fileId: string;
11382
+ query?: {
11383
+ cursor?: string;
11384
+ order?: "asc" | "desc";
11385
+ take?: number;
11386
+ meta?: {
11387
+ [key: string]: string;
11388
+ };
10992
11389
  };
11390
+ header?: never;
11391
+ path?: never;
10993
11392
  cookie?: never;
10994
11393
  };
10995
11394
  requestBody?: never;
10996
11395
  responses: {
10997
- /** @description The file was downloaded successfully */
11396
+ /** @description The list of events was retrieved successfully */
10998
11397
  200: {
10999
11398
  headers: {
11000
11399
  [name: string]: unknown;
11001
11400
  };
11002
11401
  content: {
11003
11402
  "application/json": {
11004
- /** @description The URL to download the file */
11005
- url: string;
11006
- };
11007
- "*/*": string;
11403
+ items: {
11404
+ /** @description The associated name */
11405
+ name?: string;
11406
+ /** @description The associated description */
11407
+ description?: string;
11408
+ /** @description Meta data information */
11409
+ meta?: {
11410
+ [key: string]: unknown;
11411
+ };
11412
+ /** @description The instance ID */
11413
+ id: string;
11414
+ /** @description The timestamp (ms) when the instance was created */
11415
+ createdAt: number;
11416
+ /** @description The timestamp (ms) when the instance was updated */
11417
+ updatedAt: number;
11418
+ /** @description The type of event (e.g., 'conversation.create') */
11419
+ type: string;
11420
+ /** @description Related conversation ID if applicable */
11421
+ conversationId?: string;
11422
+ /** @description Related task ID if applicable */
11423
+ taskId?: string;
11424
+ /** @description Related contact ID if applicable */
11425
+ contactId?: string;
11426
+ /** @description Related blueprint ID if applicable */
11427
+ blueprintId?: string;
11428
+ /** @description Related bot ID if applicable */
11429
+ botId?: string;
11430
+ /** @description Related dataset ID if applicable */
11431
+ datasetId?: string;
11432
+ /** @description Related record ID if applicable */
11433
+ recordId?: string;
11434
+ /** @description Related skillset ID if applicable */
11435
+ skillsetId?: string;
11436
+ /** @description Related ability ID if applicable */
11437
+ abilityId?: string;
11438
+ /** @description Related file ID if applicable */
11439
+ fileId?: string;
11440
+ /** @description Related secret ID if applicable */
11441
+ secretId?: string;
11442
+ /** @description Related portal ID if applicable */
11443
+ portalId?: string;
11444
+ /** @description Related widget integration ID if applicable */
11445
+ widgetIntegrationId?: string;
11446
+ /** @description Related Slack integration ID if applicable */
11447
+ slackIntegrationId?: string;
11448
+ /** @description Related Discord integration ID if applicable */
11449
+ discordIntegrationId?: string;
11450
+ /** @description Related WhatsApp integration ID if applicable */
11451
+ whatsappIntegrationId?: string;
11452
+ /** @description Related Messenger integration ID if applicable */
11453
+ messengerIntegrationId?: string;
11454
+ /** @description Related Telegram integration ID if applicable */
11455
+ telegramIntegrationId?: string;
11456
+ /** @description Related Twilio integration ID if applicable */
11457
+ twilioIntegrationId?: string;
11458
+ /** @description Related email integration ID if applicable */
11459
+ emailIntegrationId?: string;
11460
+ /** @description Related sitemap integration ID if applicable */
11461
+ sitemapIntegrationId?: string;
11462
+ /** @description Related Notion integration ID if applicable */
11463
+ notionIntegrationId?: string;
11464
+ /** @description Related trigger integration ID if applicable */
11465
+ triggerIntegrationId?: string;
11466
+ /** @description Related support integration ID if applicable */
11467
+ supportIntegrationId?: string;
11468
+ /** @description Related extract integration ID if applicable */
11469
+ extractIntegrationId?: string;
11470
+ /** @description Related MCP server integration ID if applicable */
11471
+ mcpserverIntegrationId?: string;
11472
+ }[];
11473
+ };
11474
+ "application/jsonl": {
11475
+ /**
11476
+ * @description The type of event
11477
+ * @enum {string}
11478
+ */
11479
+ type: "item";
11480
+ /** @description Instance list properties */
11481
+ data: {
11482
+ /** @description The associated name */
11483
+ name?: string;
11484
+ /** @description The associated description */
11485
+ description?: string;
11486
+ /** @description Meta data information */
11487
+ meta?: {
11488
+ [key: string]: unknown;
11489
+ };
11490
+ /** @description The instance ID */
11491
+ id: string;
11492
+ /** @description The timestamp (ms) when the instance was created */
11493
+ createdAt: number;
11494
+ /** @description The timestamp (ms) when the instance was updated */
11495
+ updatedAt: number;
11496
+ /** @description The type of event (e.g., 'conversation.create') */
11497
+ type: string;
11498
+ /** @description Related conversation ID if applicable */
11499
+ conversationId?: string;
11500
+ /** @description Related task ID if applicable */
11501
+ taskId?: string;
11502
+ /** @description Related contact ID if applicable */
11503
+ contactId?: string;
11504
+ /** @description Related blueprint ID if applicable */
11505
+ blueprintId?: string;
11506
+ /** @description Related bot ID if applicable */
11507
+ botId?: string;
11508
+ /** @description Related dataset ID if applicable */
11509
+ datasetId?: string;
11510
+ /** @description Related record ID if applicable */
11511
+ recordId?: string;
11512
+ /** @description Related skillset ID if applicable */
11513
+ skillsetId?: string;
11514
+ /** @description Related ability ID if applicable */
11515
+ abilityId?: string;
11516
+ /** @description Related file ID if applicable */
11517
+ fileId?: string;
11518
+ /** @description Related secret ID if applicable */
11519
+ secretId?: string;
11520
+ /** @description Related portal ID if applicable */
11521
+ portalId?: string;
11522
+ /** @description Related widget integration ID if applicable */
11523
+ widgetIntegrationId?: string;
11524
+ /** @description Related Slack integration ID if applicable */
11525
+ slackIntegrationId?: string;
11526
+ /** @description Related Discord integration ID if applicable */
11527
+ discordIntegrationId?: string;
11528
+ /** @description Related WhatsApp integration ID if applicable */
11529
+ whatsappIntegrationId?: string;
11530
+ /** @description Related Messenger integration ID if applicable */
11531
+ messengerIntegrationId?: string;
11532
+ /** @description Related Telegram integration ID if applicable */
11533
+ telegramIntegrationId?: string;
11534
+ /** @description Related Twilio integration ID if applicable */
11535
+ twilioIntegrationId?: string;
11536
+ /** @description Related email integration ID if applicable */
11537
+ emailIntegrationId?: string;
11538
+ /** @description Related sitemap integration ID if applicable */
11539
+ sitemapIntegrationId?: string;
11540
+ /** @description Related Notion integration ID if applicable */
11541
+ notionIntegrationId?: string;
11542
+ /** @description Related trigger integration ID if applicable */
11543
+ triggerIntegrationId?: string;
11544
+ /** @description Related support integration ID if applicable */
11545
+ supportIntegrationId?: string;
11546
+ /** @description Related extract integration ID if applicable */
11547
+ extractIntegrationId?: string;
11548
+ /** @description Related MCP server integration ID if applicable */
11549
+ mcpserverIntegrationId?: string;
11550
+ };
11551
+ };
11552
+ };
11553
+ };
11554
+ /** @description An error response */
11555
+ default: {
11556
+ headers: {
11557
+ [name: string]: unknown;
11558
+ };
11559
+ content?: never;
11560
+ };
11561
+ };
11562
+ };
11563
+ subscribeEventLogs: {
11564
+ parameters: {
11565
+ query?: never;
11566
+ header?: never;
11567
+ path?: never;
11568
+ cookie?: never;
11569
+ };
11570
+ requestBody: {
11571
+ content: {
11572
+ "application/json": {
11573
+ /** @description Number of recent historical events to replay before
11574
+ * subscribing to live updates. When provided, the subscriber
11575
+ * will first receive up to this many recent events that were
11576
+ * logged before the subscription started. This is useful for
11577
+ * catching up on events that may have occurred during
11578
+ * connection setup.
11579
+ * */
11580
+ historyLength?: number;
11581
+ };
11582
+ };
11583
+ };
11584
+ responses: {
11585
+ /** @description Successfully subscribed to event logs */
11586
+ 200: {
11587
+ headers: {
11588
+ [name: string]: unknown;
11589
+ };
11590
+ content: {
11591
+ "application/jsonl": {
11592
+ /**
11593
+ * @description The type of event
11594
+ * @enum {string}
11595
+ */
11596
+ type: "item";
11597
+ /** @description Instance list properties */
11598
+ data: {
11599
+ /** @description The associated name */
11600
+ name?: string;
11601
+ /** @description The associated description */
11602
+ description?: string;
11603
+ /** @description Meta data information */
11604
+ meta?: {
11605
+ [key: string]: unknown;
11606
+ };
11607
+ /** @description The instance ID */
11608
+ id: string;
11609
+ /** @description The timestamp (ms) when the instance was created */
11610
+ createdAt: number;
11611
+ /** @description The timestamp (ms) when the instance was updated */
11612
+ updatedAt: number;
11613
+ /** @description The type of event (e.g., 'conversation.create') */
11614
+ type: string;
11615
+ /** @description Related conversation ID if applicable */
11616
+ conversationId?: string;
11617
+ /** @description Related task ID if applicable */
11618
+ taskId?: string;
11619
+ /** @description Related contact ID if applicable */
11620
+ contactId?: string;
11621
+ /** @description Related blueprint ID if applicable */
11622
+ blueprintId?: string;
11623
+ /** @description Related bot ID if applicable */
11624
+ botId?: string;
11625
+ /** @description Related dataset ID if applicable */
11626
+ datasetId?: string;
11627
+ /** @description Related record ID if applicable */
11628
+ recordId?: string;
11629
+ /** @description Related skillset ID if applicable */
11630
+ skillsetId?: string;
11631
+ /** @description Related ability ID if applicable */
11632
+ abilityId?: string;
11633
+ /** @description Related file ID if applicable */
11634
+ fileId?: string;
11635
+ /** @description Related secret ID if applicable */
11636
+ secretId?: string;
11637
+ /** @description Related portal ID if applicable */
11638
+ portalId?: string;
11639
+ /** @description Related widget integration ID if applicable */
11640
+ widgetIntegrationId?: string;
11641
+ /** @description Related Slack integration ID if applicable */
11642
+ slackIntegrationId?: string;
11643
+ /** @description Related Discord integration ID if applicable */
11644
+ discordIntegrationId?: string;
11645
+ /** @description Related WhatsApp integration ID if applicable */
11646
+ whatsappIntegrationId?: string;
11647
+ /** @description Related Messenger integration ID if applicable */
11648
+ messengerIntegrationId?: string;
11649
+ /** @description Related Telegram integration ID if applicable */
11650
+ telegramIntegrationId?: string;
11651
+ /** @description Related Twilio integration ID if applicable */
11652
+ twilioIntegrationId?: string;
11653
+ /** @description Related email integration ID if applicable */
11654
+ emailIntegrationId?: string;
11655
+ /** @description Related sitemap integration ID if applicable */
11656
+ sitemapIntegrationId?: string;
11657
+ /** @description Related Notion integration ID if applicable */
11658
+ notionIntegrationId?: string;
11659
+ /** @description Related trigger integration ID if applicable */
11660
+ triggerIntegrationId?: string;
11661
+ /** @description Related support integration ID if applicable */
11662
+ supportIntegrationId?: string;
11663
+ /** @description Related extract integration ID if applicable */
11664
+ extractIntegrationId?: string;
11665
+ /** @description Related MCP server integration ID if applicable */
11666
+ mcpserverIntegrationId?: string;
11667
+ };
11668
+ };
11669
+ };
11670
+ };
11671
+ /** @description An error response */
11672
+ default: {
11673
+ headers: {
11674
+ [name: string]: unknown;
11675
+ };
11676
+ content?: never;
11677
+ };
11678
+ };
11679
+ };
11680
+ deleteFile: {
11681
+ parameters: {
11682
+ query?: never;
11683
+ header?: never;
11684
+ path: {
11685
+ fileId: string;
11686
+ };
11687
+ cookie?: never;
11688
+ };
11689
+ requestBody: {
11690
+ content: {
11691
+ "application/json": Record<string, never>;
11692
+ };
11693
+ };
11694
+ responses: {
11695
+ /** @description The file was deleted successfully */
11696
+ 200: {
11697
+ headers: {
11698
+ [name: string]: unknown;
11699
+ };
11700
+ content: {
11701
+ "application/json": {
11702
+ /** @description The ID of the deleted file */
11703
+ id: string;
11704
+ };
11705
+ };
11706
+ };
11707
+ /** @description An error response */
11708
+ default: {
11709
+ headers: {
11710
+ [name: string]: unknown;
11711
+ };
11712
+ content?: never;
11713
+ };
11714
+ };
11715
+ };
11716
+ downloadFile: {
11717
+ parameters: {
11718
+ query?: never;
11719
+ header?: never;
11720
+ path: {
11721
+ fileId: string;
11722
+ };
11723
+ cookie?: never;
11724
+ };
11725
+ requestBody?: never;
11726
+ responses: {
11727
+ /** @description The file was downloaded successfully */
11728
+ 200: {
11729
+ headers: {
11730
+ [name: string]: unknown;
11731
+ };
11732
+ content: {
11733
+ "application/json": {
11734
+ /** @description The URL to download the file */
11735
+ url: string;
11736
+ };
11737
+ "*/*": string;
11008
11738
  };
11009
11739
  };
11010
11740
  /** @description An error response */
@@ -12126,12 +12856,349 @@ export interface operations {
12126
12856
  };
12127
12857
  };
12128
12858
  };
12129
- updateExtractIntegration: {
12859
+ updateExtractIntegration: {
12860
+ parameters: {
12861
+ query?: never;
12862
+ header?: never;
12863
+ path: {
12864
+ extractIntegrationId: string;
12865
+ };
12866
+ cookie?: never;
12867
+ };
12868
+ requestBody: {
12869
+ content: {
12870
+ "application/json": {
12871
+ /** @description The associated name */
12872
+ name?: string;
12873
+ /** @description The associated description */
12874
+ description?: string;
12875
+ /** @description Meta data information */
12876
+ meta?: {
12877
+ [key: string]: unknown;
12878
+ };
12879
+ /** @description The ID of the blueprint */
12880
+ blueprintId?: string;
12881
+ /** @description The ID of the Bot to use */
12882
+ botId?: string;
12883
+ /** @description The configured extraction schema */
12884
+ schema?: {
12885
+ [key: string]: unknown;
12886
+ };
12887
+ /** @description Optional webhook to receive the extracted data */
12888
+ request?: string;
12889
+ /** @description The language model to use for data extraction */
12890
+ model?: string;
12891
+ };
12892
+ };
12893
+ };
12894
+ responses: {
12895
+ /** @description The Extract integration was updated successfully */
12896
+ 200: {
12897
+ headers: {
12898
+ [name: string]: unknown;
12899
+ };
12900
+ content: {
12901
+ "application/json": {
12902
+ /** @description The ID of the Extract Integration */
12903
+ id: string;
12904
+ };
12905
+ };
12906
+ };
12907
+ /** @description An error response */
12908
+ default: {
12909
+ headers: {
12910
+ [name: string]: unknown;
12911
+ };
12912
+ content?: never;
12913
+ };
12914
+ };
12915
+ };
12916
+ createExtractIntegration: {
12917
+ parameters: {
12918
+ query?: never;
12919
+ header?: never;
12920
+ path?: never;
12921
+ cookie?: never;
12922
+ };
12923
+ requestBody: {
12924
+ content: {
12925
+ "application/json": {
12926
+ /** @description The associated name */
12927
+ name?: string;
12928
+ /** @description The associated description */
12929
+ description?: string;
12930
+ /** @description Meta data information */
12931
+ meta?: {
12932
+ [key: string]: unknown;
12933
+ };
12934
+ /** @description The ID of the blueprint */
12935
+ blueprintId?: string;
12936
+ /** @description The ID of the Bot to use */
12937
+ botId?: string;
12938
+ /** @description The configured extraction schema */
12939
+ schema?: {
12940
+ [key: string]: unknown;
12941
+ };
12942
+ /** @description Optional webhook to receive the extracted data */
12943
+ request?: string;
12944
+ /** @description The language model to use for data extraction */
12945
+ model?: string;
12946
+ };
12947
+ };
12948
+ };
12949
+ responses: {
12950
+ /** @description The Extract integration was created successfully */
12951
+ 200: {
12952
+ headers: {
12953
+ [name: string]: unknown;
12954
+ };
12955
+ content: {
12956
+ "application/json": {
12957
+ /** @description The ID of the Extract Integration */
12958
+ id: string;
12959
+ };
12960
+ };
12961
+ };
12962
+ /** @description An error response */
12963
+ default: {
12964
+ headers: {
12965
+ [name: string]: unknown;
12966
+ };
12967
+ content?: never;
12968
+ };
12969
+ };
12970
+ };
12971
+ listExtractIntegrations: {
12972
+ parameters: {
12973
+ query?: {
12974
+ cursor?: string;
12975
+ order?: "asc" | "desc";
12976
+ take?: number;
12977
+ meta?: {
12978
+ [key: string]: string;
12979
+ };
12980
+ };
12981
+ header?: never;
12982
+ path?: never;
12983
+ cookie?: never;
12984
+ };
12985
+ requestBody?: never;
12986
+ responses: {
12987
+ /** @description The list of Extract integrations was retrieved successfully */
12988
+ 200: {
12989
+ headers: {
12990
+ [name: string]: unknown;
12991
+ };
12992
+ content: {
12993
+ "application/json": {
12994
+ items: {
12995
+ /** @description The associated name */
12996
+ name?: string;
12997
+ /** @description The associated description */
12998
+ description?: string;
12999
+ /** @description Meta data information */
13000
+ meta?: {
13001
+ [key: string]: unknown;
13002
+ };
13003
+ /** @description The instance ID */
13004
+ id: string;
13005
+ /** @description The timestamp (ms) when the instance was created */
13006
+ createdAt: number;
13007
+ /** @description The timestamp (ms) when the instance was updated */
13008
+ updatedAt: number;
13009
+ /** @description The ID of the blueprint */
13010
+ blueprintId?: string;
13011
+ /** @description The ID of the Bot to use */
13012
+ botId: string;
13013
+ /** @description The configured extraction schema */
13014
+ schema?: {
13015
+ [key: string]: unknown;
13016
+ };
13017
+ /** @description Optional webhook to receive the extracted data */
13018
+ request?: string;
13019
+ }[];
13020
+ };
13021
+ "application/jsonl": {
13022
+ /**
13023
+ * @description The type of event
13024
+ * @enum {string}
13025
+ */
13026
+ type: "item";
13027
+ /** @description Blueprint properties */
13028
+ data: {
13029
+ /** @description The associated name */
13030
+ name?: string;
13031
+ /** @description The associated description */
13032
+ description?: string;
13033
+ /** @description Meta data information */
13034
+ meta?: {
13035
+ [key: string]: unknown;
13036
+ };
13037
+ /** @description The instance ID */
13038
+ id: string;
13039
+ /** @description The timestamp (ms) when the instance was created */
13040
+ createdAt: number;
13041
+ /** @description The timestamp (ms) when the instance was updated */
13042
+ updatedAt: number;
13043
+ /** @description The ID of the blueprint */
13044
+ blueprintId?: string;
13045
+ /** @description The ID of the Bot to use */
13046
+ botId: string;
13047
+ /** @description The configured extraction schema */
13048
+ schema?: {
13049
+ [key: string]: unknown;
13050
+ };
13051
+ /** @description Optional webhook to receive the extracted data */
13052
+ request?: string;
13053
+ };
13054
+ };
13055
+ };
13056
+ };
13057
+ /** @description An error response */
13058
+ default: {
13059
+ headers: {
13060
+ [name: string]: unknown;
13061
+ };
13062
+ content?: never;
13063
+ };
13064
+ };
13065
+ };
13066
+ deleteInstagramIntegration: {
13067
+ parameters: {
13068
+ query?: never;
13069
+ header?: never;
13070
+ path: {
13071
+ instagramIntegrationId: string;
13072
+ };
13073
+ cookie?: never;
13074
+ };
13075
+ requestBody: {
13076
+ content: {
13077
+ "application/json": Record<string, never>;
13078
+ };
13079
+ };
13080
+ responses: {
13081
+ /** @description The Instagram integration was deleted successfully */
13082
+ 200: {
13083
+ headers: {
13084
+ [name: string]: unknown;
13085
+ };
13086
+ content: {
13087
+ "application/json": {
13088
+ /** @description The ID of the deleted Instagram integration */
13089
+ id: string;
13090
+ };
13091
+ };
13092
+ };
13093
+ /** @description An error response */
13094
+ default: {
13095
+ headers: {
13096
+ [name: string]: unknown;
13097
+ };
13098
+ content?: never;
13099
+ };
13100
+ };
13101
+ };
13102
+ fetchInstagramIntegration: {
13103
+ parameters: {
13104
+ query?: never;
13105
+ header?: never;
13106
+ path: {
13107
+ instagramIntegrationId: string;
13108
+ };
13109
+ cookie?: never;
13110
+ };
13111
+ requestBody?: never;
13112
+ responses: {
13113
+ /** @description The Instagram integration was retrieved successfully */
13114
+ 200: {
13115
+ headers: {
13116
+ [name: string]: unknown;
13117
+ };
13118
+ content: {
13119
+ "application/json": {
13120
+ /** @description The associated name */
13121
+ name?: string;
13122
+ /** @description The associated description */
13123
+ description?: string;
13124
+ /** @description Meta data information */
13125
+ meta?: {
13126
+ [key: string]: unknown;
13127
+ };
13128
+ /** @description The instance ID */
13129
+ id: string;
13130
+ /** @description The timestamp (ms) when the instance was created */
13131
+ createdAt: number;
13132
+ /** @description The timestamp (ms) when the instance was updated */
13133
+ updatedAt: number;
13134
+ /** @description The ID of the bot this configuration is using */
13135
+ botId?: string;
13136
+ /** @description The ID of the blueprint */
13137
+ blueprintId?: string;
13138
+ /** @description The Instagram integration verify token */
13139
+ verifyToken: string;
13140
+ /** @description The Instagram integration access token (returned as '********' if configured, null otherwise) */
13141
+ accessToken?: string;
13142
+ /** @description Whether to collect contacts */
13143
+ contactCollection?: boolean;
13144
+ /** @description The session duration (in milliseconds) */
13145
+ sessionDuration?: number;
13146
+ /** @description Whether the bot supports attachments */
13147
+ attachments?: boolean;
13148
+ };
13149
+ };
13150
+ };
13151
+ /** @description An error response */
13152
+ default: {
13153
+ headers: {
13154
+ [name: string]: unknown;
13155
+ };
13156
+ content?: never;
13157
+ };
13158
+ };
13159
+ };
13160
+ setupInstagramIntegration: {
13161
+ parameters: {
13162
+ query?: never;
13163
+ header?: never;
13164
+ path: {
13165
+ instagramIntegrationId: string;
13166
+ };
13167
+ cookie?: never;
13168
+ };
13169
+ requestBody: {
13170
+ content: {
13171
+ "application/json": Record<string, never>;
13172
+ };
13173
+ };
13174
+ responses: {
13175
+ /** @description The Instagram integration was successfully setup */
13176
+ 200: {
13177
+ headers: {
13178
+ [name: string]: unknown;
13179
+ };
13180
+ content: {
13181
+ "application/json": {
13182
+ /** @description The ID of the Instagram Integration */
13183
+ id: string;
13184
+ };
13185
+ };
13186
+ };
13187
+ /** @description An error response */
13188
+ default: {
13189
+ headers: {
13190
+ [name: string]: unknown;
13191
+ };
13192
+ content?: never;
13193
+ };
13194
+ };
13195
+ };
13196
+ updateInstagramIntegration: {
12130
13197
  parameters: {
12131
13198
  query?: never;
12132
13199
  header?: never;
12133
13200
  path: {
12134
- extractIntegrationId: string;
13201
+ instagramIntegrationId: string;
12135
13202
  };
12136
13203
  cookie?: never;
12137
13204
  };
@@ -12148,26 +13215,28 @@ export interface operations {
12148
13215
  };
12149
13216
  /** @description The ID of the blueprint */
12150
13217
  blueprintId?: string;
12151
- /** @description The ID of the Bot to use */
13218
+ /** @description The ID of the bot this configuration is using */
12152
13219
  botId?: string;
12153
- /** @description The configured extraction schema */
12154
- schema?: {
12155
- [key: string]: unknown;
12156
- };
12157
- /** @description Optional webhook to receive the extracted data */
12158
- request?: string;
13220
+ /** @description The Instagram integration access token */
13221
+ accessToken?: string;
13222
+ /** @description Whether to collect contacts */
13223
+ contactCollection?: boolean;
13224
+ /** @description The session duration (in milliseconds) */
13225
+ sessionDuration?: number;
13226
+ /** @description Whether the bot supports attachments */
13227
+ attachments?: boolean;
12159
13228
  };
12160
13229
  };
12161
13230
  };
12162
13231
  responses: {
12163
- /** @description The Extract integration was updated successfully */
13232
+ /** @description The Instagram integration was updated successfully */
12164
13233
  200: {
12165
13234
  headers: {
12166
13235
  [name: string]: unknown;
12167
13236
  };
12168
13237
  content: {
12169
13238
  "application/json": {
12170
- /** @description The ID of the Extract Integration */
13239
+ /** @description The ID of the Instagram Integration */
12171
13240
  id: string;
12172
13241
  };
12173
13242
  };
@@ -12181,7 +13250,7 @@ export interface operations {
12181
13250
  };
12182
13251
  };
12183
13252
  };
12184
- createExtractIntegration: {
13253
+ createInstagramIntegration: {
12185
13254
  parameters: {
12186
13255
  query?: never;
12187
13256
  header?: never;
@@ -12201,26 +13270,28 @@ export interface operations {
12201
13270
  };
12202
13271
  /** @description The ID of the blueprint */
12203
13272
  blueprintId?: string;
12204
- /** @description The ID of the Bot to use */
13273
+ /** @description The ID of the bot this configuration is using */
12205
13274
  botId?: string;
12206
- /** @description The configured extraction schema */
12207
- schema?: {
12208
- [key: string]: unknown;
12209
- };
12210
- /** @description Optional webhook to receive the extracted data */
12211
- request?: string;
13275
+ /** @description The Instagram integration access token */
13276
+ accessToken?: string;
13277
+ /** @description Whether to collect contacts */
13278
+ contactCollection?: boolean;
13279
+ /** @description The session duration (in milliseconds) */
13280
+ sessionDuration?: number;
13281
+ /** @description Whether the bot supports attachments */
13282
+ attachments?: boolean;
12212
13283
  };
12213
13284
  };
12214
13285
  };
12215
13286
  responses: {
12216
- /** @description The Extract integration was created successfully */
13287
+ /** @description The Instagram integration was created successfully */
12217
13288
  200: {
12218
13289
  headers: {
12219
13290
  [name: string]: unknown;
12220
13291
  };
12221
13292
  content: {
12222
13293
  "application/json": {
12223
- /** @description The ID of the Extract Integration */
13294
+ /** @description The ID of the Instagram Integration */
12224
13295
  id: string;
12225
13296
  };
12226
13297
  };
@@ -12234,7 +13305,7 @@ export interface operations {
12234
13305
  };
12235
13306
  };
12236
13307
  };
12237
- listExtractIntegrations: {
13308
+ listInstagramIntegrations: {
12238
13309
  parameters: {
12239
13310
  query?: {
12240
13311
  cursor?: string;
@@ -12250,7 +13321,7 @@ export interface operations {
12250
13321
  };
12251
13322
  requestBody?: never;
12252
13323
  responses: {
12253
- /** @description The list of Extract integrations was retrieved successfully */
13324
+ /** @description The list of Instagram integrations was retrieved successfully */
12254
13325
  200: {
12255
13326
  headers: {
12256
13327
  [name: string]: unknown;
@@ -12272,16 +13343,20 @@ export interface operations {
12272
13343
  createdAt: number;
12273
13344
  /** @description The timestamp (ms) when the instance was updated */
12274
13345
  updatedAt: number;
13346
+ /** @description The ID of the bot this configuration is using */
13347
+ botId?: string;
12275
13348
  /** @description The ID of the blueprint */
12276
13349
  blueprintId?: string;
12277
- /** @description The ID of the Bot to use */
12278
- botId: string;
12279
- /** @description The configured extraction schema */
12280
- schema?: {
12281
- [key: string]: unknown;
12282
- };
12283
- /** @description Optional webhook to receive the extracted data */
12284
- request?: string;
13350
+ /** @description The Instagram integration verify token */
13351
+ verifyToken: string;
13352
+ /** @description The Instagram integration access token (returned as '********' if configured, null otherwise) */
13353
+ accessToken?: string;
13354
+ /** @description Whether to collect contacts */
13355
+ contactCollection?: boolean;
13356
+ /** @description The session duration (in milliseconds) */
13357
+ sessionDuration?: number;
13358
+ /** @description Whether the bot supports attachments */
13359
+ attachments?: boolean;
12285
13360
  }[];
12286
13361
  };
12287
13362
  "application/jsonl": {
@@ -12306,16 +13381,20 @@ export interface operations {
12306
13381
  createdAt: number;
12307
13382
  /** @description The timestamp (ms) when the instance was updated */
12308
13383
  updatedAt: number;
13384
+ /** @description The ID of the bot this configuration is using */
13385
+ botId?: string;
12309
13386
  /** @description The ID of the blueprint */
12310
13387
  blueprintId?: string;
12311
- /** @description The ID of the Bot to use */
12312
- botId: string;
12313
- /** @description The configured extraction schema */
12314
- schema?: {
12315
- [key: string]: unknown;
12316
- };
12317
- /** @description Optional webhook to receive the extracted data */
12318
- request?: string;
13388
+ /** @description The Instagram integration verify token */
13389
+ verifyToken: string;
13390
+ /** @description The Instagram integration access token (returned as '********' if configured, null otherwise) */
13391
+ accessToken?: string;
13392
+ /** @description Whether to collect contacts */
13393
+ contactCollection?: boolean;
13394
+ /** @description The session duration (in milliseconds) */
13395
+ sessionDuration?: number;
13396
+ /** @description Whether the bot supports attachments */
13397
+ attachments?: boolean;
12319
13398
  };
12320
13399
  };
12321
13400
  };
@@ -20033,6 +21112,214 @@ export interface operations {
20033
21112
  };
20034
21113
  };
20035
21114
  };
21115
+ executeSkillsetAbility: {
21116
+ parameters: {
21117
+ query?: never;
21118
+ header?: never;
21119
+ path: {
21120
+ skillsetId: string;
21121
+ abilityId: string;
21122
+ };
21123
+ cookie?: never;
21124
+ };
21125
+ requestBody: {
21126
+ content: {
21127
+ "application/json": {
21128
+ /** @description The input to process with the ability. This can be structured
21129
+ * text such as JSON or YAML for precise parameter control, or
21130
+ * unstructured natural language text. When unstructured text is
21131
+ * provided, the system will automatically detect and extract the
21132
+ * relevant parameters from the input.
21133
+ * */
21134
+ input?: string;
21135
+ /** @description The ID of the contact to associate with the execution */
21136
+ contactId?: string;
21137
+ };
21138
+ };
21139
+ };
21140
+ responses: {
21141
+ /** @description The ability was executed successfully */
21142
+ 200: {
21143
+ headers: {
21144
+ [name: string]: unknown;
21145
+ };
21146
+ content: {
21147
+ "application/json": {
21148
+ /** @description Usage information */
21149
+ usage: {
21150
+ /** @description The tokens used in this exchange */
21151
+ token: number;
21152
+ };
21153
+ /** @description Error message if execution failed */
21154
+ error?: string;
21155
+ /** @description The result of the ability execution */
21156
+ result?: unknown;
21157
+ /** @description Messages generated during execution */
21158
+ messages?: {
21159
+ /**
21160
+ * @description The type of the message
21161
+ * @enum {string}
21162
+ */
21163
+ type: "user" | "bot" | "reasoning" | "context" | "instruction" | "backstory" | "activity";
21164
+ /** @description The text of the message */
21165
+ text: string;
21166
+ /** @description Meta data information */
21167
+ meta?: {
21168
+ [key: string]: unknown;
21169
+ };
21170
+ }[];
21171
+ };
21172
+ "application/jsonl": {
21173
+ /**
21174
+ * @description The type of event
21175
+ * @enum {string}
21176
+ */
21177
+ type: "result";
21178
+ data: {
21179
+ /** @description Usage information */
21180
+ usage: {
21181
+ /** @description The tokens used in this exchange */
21182
+ token: number;
21183
+ };
21184
+ /** @description Error message if execution failed */
21185
+ error?: string;
21186
+ /** @description The result of the ability execution */
21187
+ result?: unknown;
21188
+ /** @description Messages generated during execution */
21189
+ messages?: {
21190
+ /**
21191
+ * @description The type of the message
21192
+ * @enum {string}
21193
+ */
21194
+ type: "user" | "bot" | "reasoning" | "context" | "instruction" | "backstory" | "activity";
21195
+ /** @description The text of the message */
21196
+ text: string;
21197
+ /** @description Meta data information */
21198
+ meta?: {
21199
+ [key: string]: unknown;
21200
+ };
21201
+ }[];
21202
+ };
21203
+ } | ({
21204
+ /**
21205
+ * @description The type of event
21206
+ * @enum {string}
21207
+ */
21208
+ type: "error";
21209
+ /** @description The data for the event */
21210
+ data: {
21211
+ /** @description The error message */
21212
+ message: string;
21213
+ };
21214
+ } | {
21215
+ /**
21216
+ * @description The type of event
21217
+ * @enum {string}
21218
+ */
21219
+ type: "token";
21220
+ /** @description The data for the event */
21221
+ data: {
21222
+ /** @description The token generated */
21223
+ token: string;
21224
+ };
21225
+ } | {
21226
+ /**
21227
+ * @description The type of event
21228
+ * @enum {string}
21229
+ */
21230
+ type: "reasoningToken";
21231
+ /** @description The data for the event */
21232
+ data: {
21233
+ /** @description The token generated */
21234
+ token: string;
21235
+ };
21236
+ } | {
21237
+ /**
21238
+ * @description The type of event
21239
+ * @enum {string}
21240
+ */
21241
+ type: "message";
21242
+ /** @description A message in the conversation */
21243
+ data: {
21244
+ /**
21245
+ * @description The type of the message
21246
+ * @enum {string}
21247
+ */
21248
+ type: "user" | "bot" | "reasoning" | "context" | "instruction" | "backstory" | "activity";
21249
+ /** @description The text of the message */
21250
+ text: string;
21251
+ /** @description Meta data information */
21252
+ meta?: {
21253
+ [key: string]: unknown;
21254
+ };
21255
+ };
21256
+ } | {
21257
+ /**
21258
+ * @description The type of event
21259
+ * @enum {string}
21260
+ */
21261
+ type: "completeBegin";
21262
+ /** @description The data for the event */
21263
+ data: {
21264
+ [key: string]: unknown;
21265
+ };
21266
+ } | {
21267
+ /**
21268
+ * @description The type of event
21269
+ * @enum {string}
21270
+ */
21271
+ type: "completeEnd";
21272
+ /** @description The data for the event */
21273
+ data: {
21274
+ [key: string]: unknown;
21275
+ };
21276
+ } | {
21277
+ /**
21278
+ * @description The type of event
21279
+ * @enum {string}
21280
+ */
21281
+ type: "waitForChannelMessageBegin";
21282
+ /** @description The data for the event */
21283
+ data: {
21284
+ [key: string]: unknown;
21285
+ };
21286
+ } | {
21287
+ /**
21288
+ * @description The type of event
21289
+ * @enum {string}
21290
+ */
21291
+ type: "waitForChannelMessageEnd";
21292
+ /** @description The data for the event */
21293
+ data: {
21294
+ [key: string]: unknown;
21295
+ };
21296
+ } | {
21297
+ /**
21298
+ * @description The type of event
21299
+ * @enum {string}
21300
+ */
21301
+ type: "usage";
21302
+ /** @description The data for the event */
21303
+ data: {
21304
+ /** @description The model used */
21305
+ model: string;
21306
+ /** @description The number of input tokens used */
21307
+ inputTokensUsed: number;
21308
+ /** @description The number of output tokens used */
21309
+ outputTokensUsed: number;
21310
+ };
21311
+ });
21312
+ };
21313
+ };
21314
+ /** @description An error response */
21315
+ default: {
21316
+ headers: {
21317
+ [name: string]: unknown;
21318
+ };
21319
+ content?: never;
21320
+ };
21321
+ };
21322
+ };
20036
21323
  fetchSkillsetAbility: {
20037
21324
  parameters: {
20038
21325
  query?: never;
@@ -21317,6 +22604,9 @@ export interface operations {
21317
22604
  cursor?: string;
21318
22605
  order?: "asc" | "desc";
21319
22606
  take?: number;
22607
+ botId?: string;
22608
+ contactId?: string;
22609
+ status?: "idle" | "running";
21320
22610
  meta?: {
21321
22611
  [key: string]: string;
21322
22612
  };