@chatbotkit/sdk 1.26.2 → 1.26.5

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 +1388 -61
  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 +1388 -61
  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;
@@ -4703,6 +4896,11 @@ export interface components {
4703
4896
  /** @description The ID of the blueprint */
4704
4897
  blueprintId?: string;
4705
4898
  };
4899
+ /** @description Instance reference properties */
4900
+ InstanceRefProperties: {
4901
+ /** @description The unique alias for the instance */
4902
+ alias?: string;
4903
+ };
4706
4904
  /** @description Instance list properties */
4707
4905
  InstanceMetaProps: {
4708
4906
  /** @description The instance ID */
@@ -4786,6 +4984,13 @@ export interface components {
4786
4984
  /** @description The channel for streaming function results */
4787
4985
  channel: string;
4788
4986
  };
4987
+ /** @description Configuration for when this function should be automatically called */
4988
+ call?: {
4989
+ /** @description If true, this function will be force-called at the start of the conversation */
4990
+ start?: boolean;
4991
+ /** @description If true, this function will be force-called at the end of the conversation */
4992
+ end?: boolean;
4993
+ };
4789
4994
  }[];
4790
4995
  /** @description Extensions to enhance the bot's capabilities */
4791
4996
  ExtensionsDefinition: {
@@ -5349,6 +5554,8 @@ export interface operations {
5349
5554
  requestBody: {
5350
5555
  content: {
5351
5556
  "application/json": {
5557
+ /** @description The unique alias for the instance */
5558
+ alias?: string;
5352
5559
  /** @description The associated name */
5353
5560
  name?: string;
5354
5561
  /** @description The associated description */
@@ -5397,6 +5604,8 @@ export interface operations {
5397
5604
  requestBody: {
5398
5605
  content: {
5399
5606
  "application/json": {
5607
+ /** @description The unique alias for the instance */
5608
+ alias?: string;
5400
5609
  /** @description The associated name */
5401
5610
  name?: string;
5402
5611
  /** @description The associated description */
@@ -5826,6 +6035,8 @@ export interface operations {
5826
6035
  requestBody: {
5827
6036
  content: {
5828
6037
  "application/json": {
6038
+ /** @description The unique alias for the instance */
6039
+ alias?: string;
5829
6040
  /** @description The associated name */
5830
6041
  name?: string;
5831
6042
  /** @description The associated description */
@@ -5974,6 +6185,8 @@ export interface operations {
5974
6185
  requestBody: {
5975
6186
  content: {
5976
6187
  "application/json": {
6188
+ /** @description The unique alias for the instance */
6189
+ alias?: string;
5977
6190
  /** @description The associated name */
5978
6191
  name?: string;
5979
6192
  /** @description The associated description */
@@ -7465,6 +7678,13 @@ export interface operations {
7465
7678
  /** @description The channel for streaming function results */
7466
7679
  channel: string;
7467
7680
  };
7681
+ /** @description Configuration for when this function should be automatically called */
7682
+ call?: {
7683
+ /** @description If true, this function will be force-called at the start of the conversation */
7684
+ start?: boolean;
7685
+ /** @description If true, this function will be force-called at the end of the conversation */
7686
+ end?: boolean;
7687
+ };
7468
7688
  }[];
7469
7689
  /** @description Extensions to enhance the bot's capabilities */
7470
7690
  extensions?: {
@@ -7823,6 +8043,13 @@ export interface operations {
7823
8043
  /** @description The channel for streaming function results */
7824
8044
  channel: string;
7825
8045
  };
8046
+ /** @description Configuration for when this function should be automatically called */
8047
+ call?: {
8048
+ /** @description If true, this function will be force-called at the start of the conversation */
8049
+ start?: boolean;
8050
+ /** @description If true, this function will be force-called at the end of the conversation */
8051
+ end?: boolean;
8052
+ };
7826
8053
  }[];
7827
8054
  /** @description Extensions to enhance the bot's capabilities */
7828
8055
  extensions?: {
@@ -7872,6 +8099,8 @@ export interface operations {
7872
8099
  };
7873
8100
  }[];
7874
8101
  };
8102
+ /** @description A unique ID to deduplicate dispatch requests */
8103
+ channelId?: string;
7875
8104
  };
7876
8105
  };
7877
8106
  };
@@ -8514,6 +8743,13 @@ export interface operations {
8514
8743
  /** @description The channel for streaming function results */
8515
8744
  channel: string;
8516
8745
  };
8746
+ /** @description Configuration for when this function should be automatically called */
8747
+ call?: {
8748
+ /** @description If true, this function will be force-called at the start of the conversation */
8749
+ start?: boolean;
8750
+ /** @description If true, this function will be force-called at the end of the conversation */
8751
+ end?: boolean;
8752
+ };
8517
8753
  }[];
8518
8754
  /** @description Extensions to enhance the bot's capabilities */
8519
8755
  extensions?: {
@@ -8782,6 +9018,13 @@ export interface operations {
8782
9018
  /** @description The channel for streaming function results */
8783
9019
  channel: string;
8784
9020
  };
9021
+ /** @description Configuration for when this function should be automatically called */
9022
+ call?: {
9023
+ /** @description If true, this function will be force-called at the start of the conversation */
9024
+ start?: boolean;
9025
+ /** @description If true, this function will be force-called at the end of the conversation */
9026
+ end?: boolean;
9027
+ };
8785
9028
  }[];
8786
9029
  /** @description Extensions to enhance the bot's capabilities */
8787
9030
  extensions?: {
@@ -9286,6 +9529,13 @@ export interface operations {
9286
9529
  /** @description The channel for streaming function results */
9287
9530
  channel: string;
9288
9531
  };
9532
+ /** @description Configuration for when this function should be automatically called */
9533
+ call?: {
9534
+ /** @description If true, this function will be force-called at the start of the conversation */
9535
+ start?: boolean;
9536
+ /** @description If true, this function will be force-called at the end of the conversation */
9537
+ end?: boolean;
9538
+ };
9289
9539
  }[];
9290
9540
  /** @description Extensions to enhance the bot's capabilities */
9291
9541
  extensions?: {
@@ -9675,6 +9925,13 @@ export interface operations {
9675
9925
  /** @description The channel for streaming function results */
9676
9926
  channel: string;
9677
9927
  };
9928
+ /** @description Configuration for when this function should be automatically called */
9929
+ call?: {
9930
+ /** @description If true, this function will be force-called at the start of the conversation */
9931
+ start?: boolean;
9932
+ /** @description If true, this function will be force-called at the end of the conversation */
9933
+ end?: boolean;
9934
+ };
9678
9935
  }[];
9679
9936
  /** @description Extensions to enhance the bot's capabilities */
9680
9937
  extensions?: {
@@ -9724,6 +9981,8 @@ export interface operations {
9724
9981
  };
9725
9982
  }[];
9726
9983
  };
9984
+ /** @description A unique channel ID to subscribe to for completion events */
9985
+ channelId?: string;
9727
9986
  } & ({
9728
9987
  /** @description The ID of the bot this configuration is using */
9729
9988
  botId?: string;
@@ -10698,6 +10957,8 @@ export interface operations {
10698
10957
  requestBody: {
10699
10958
  content: {
10700
10959
  "application/json": {
10960
+ /** @description The unique alias for the instance */
10961
+ alias?: string;
10701
10962
  /** @description The associated name */
10702
10963
  name?: string;
10703
10964
  /** @description The associated description */
@@ -10764,6 +11025,8 @@ export interface operations {
10764
11025
  requestBody: {
10765
11026
  content: {
10766
11027
  "application/json": {
11028
+ /** @description The unique alias for the instance */
11029
+ alias?: string;
10767
11030
  /** @description The associated name */
10768
11031
  name?: string;
10769
11032
  /** @description The associated description */
@@ -10947,31 +11210,179 @@ export interface operations {
10947
11210
  };
10948
11211
  };
10949
11212
  };
10950
- deleteFile: {
11213
+ exportEventLogs: {
10951
11214
  parameters: {
10952
- query?: never;
10953
- header?: never;
10954
- path: {
10955
- fileId: string;
11215
+ query?: {
11216
+ cursor?: string;
11217
+ order?: "asc" | "desc";
11218
+ take?: number;
11219
+ meta?: {
11220
+ [key: string]: string;
11221
+ };
10956
11222
  };
11223
+ header?: never;
11224
+ path?: never;
10957
11225
  cookie?: never;
10958
11226
  };
10959
- requestBody: {
10960
- content: {
10961
- "application/json": Record<string, never>;
10962
- };
10963
- };
11227
+ requestBody?: never;
10964
11228
  responses: {
10965
- /** @description The file was deleted successfully */
11229
+ /** @description The list of events was exported successfully */
10966
11230
  200: {
10967
11231
  headers: {
10968
11232
  [name: string]: unknown;
10969
11233
  };
10970
11234
  content: {
10971
11235
  "application/json": {
10972
- /** @description The ID of the deleted file */
10973
- id: string;
11236
+ items: {
11237
+ /** @description The associated name */
11238
+ name?: string;
11239
+ /** @description The associated description */
11240
+ description?: string;
11241
+ /** @description Meta data information */
11242
+ meta?: {
11243
+ [key: string]: unknown;
11244
+ };
11245
+ /** @description The instance ID */
11246
+ id: string;
11247
+ /** @description The timestamp (ms) when the instance was created */
11248
+ createdAt: number;
11249
+ /** @description The timestamp (ms) when the instance was updated */
11250
+ updatedAt: number;
11251
+ /** @description The type of event (e.g., 'conversation.create') */
11252
+ type: string;
11253
+ /** @description Related conversation ID if applicable */
11254
+ conversationId?: string;
11255
+ /** @description Related task ID if applicable */
11256
+ taskId?: string;
11257
+ /** @description Related contact ID if applicable */
11258
+ contactId?: string;
11259
+ /** @description Related blueprint ID if applicable */
11260
+ blueprintId?: string;
11261
+ /** @description Related bot ID if applicable */
11262
+ botId?: string;
11263
+ /** @description Related dataset ID if applicable */
11264
+ datasetId?: string;
11265
+ /** @description Related record ID if applicable */
11266
+ recordId?: string;
11267
+ /** @description Related skillset ID if applicable */
11268
+ skillsetId?: string;
11269
+ /** @description Related ability ID if applicable */
11270
+ abilityId?: string;
11271
+ /** @description Related file ID if applicable */
11272
+ fileId?: string;
11273
+ /** @description Related secret ID if applicable */
11274
+ secretId?: string;
11275
+ /** @description Related portal ID if applicable */
11276
+ portalId?: string;
11277
+ /** @description Related widget integration ID if applicable */
11278
+ widgetIntegrationId?: string;
11279
+ /** @description Related Slack integration ID if applicable */
11280
+ slackIntegrationId?: string;
11281
+ /** @description Related Discord integration ID if applicable */
11282
+ discordIntegrationId?: string;
11283
+ /** @description Related WhatsApp integration ID if applicable */
11284
+ whatsappIntegrationId?: string;
11285
+ /** @description Related Messenger integration ID if applicable */
11286
+ messengerIntegrationId?: string;
11287
+ /** @description Related Telegram integration ID if applicable */
11288
+ telegramIntegrationId?: string;
11289
+ /** @description Related Twilio integration ID if applicable */
11290
+ twilioIntegrationId?: string;
11291
+ /** @description Related email integration ID if applicable */
11292
+ emailIntegrationId?: string;
11293
+ /** @description Related sitemap integration ID if applicable */
11294
+ sitemapIntegrationId?: string;
11295
+ /** @description Related Notion integration ID if applicable */
11296
+ notionIntegrationId?: string;
11297
+ /** @description Related trigger integration ID if applicable */
11298
+ triggerIntegrationId?: string;
11299
+ /** @description Related support integration ID if applicable */
11300
+ supportIntegrationId?: string;
11301
+ /** @description Related extract integration ID if applicable */
11302
+ extractIntegrationId?: string;
11303
+ /** @description Related MCP server integration ID if applicable */
11304
+ mcpserverIntegrationId?: string;
11305
+ }[];
11306
+ };
11307
+ "application/jsonl": {
11308
+ /**
11309
+ * @description The type of event
11310
+ * @enum {string}
11311
+ */
11312
+ type: "item";
11313
+ /** @description Instance list properties */
11314
+ data: {
11315
+ /** @description The associated name */
11316
+ name?: string;
11317
+ /** @description The associated description */
11318
+ description?: string;
11319
+ /** @description Meta data information */
11320
+ meta?: {
11321
+ [key: string]: unknown;
11322
+ };
11323
+ /** @description The instance ID */
11324
+ id: string;
11325
+ /** @description The timestamp (ms) when the instance was created */
11326
+ createdAt: number;
11327
+ /** @description The timestamp (ms) when the instance was updated */
11328
+ updatedAt: number;
11329
+ /** @description The type of event (e.g., 'conversation.create') */
11330
+ type: string;
11331
+ /** @description Related conversation ID if applicable */
11332
+ conversationId?: string;
11333
+ /** @description Related task ID if applicable */
11334
+ taskId?: string;
11335
+ /** @description Related contact ID if applicable */
11336
+ contactId?: string;
11337
+ /** @description Related blueprint ID if applicable */
11338
+ blueprintId?: string;
11339
+ /** @description Related bot ID if applicable */
11340
+ botId?: string;
11341
+ /** @description Related dataset ID if applicable */
11342
+ datasetId?: string;
11343
+ /** @description Related record ID if applicable */
11344
+ recordId?: string;
11345
+ /** @description Related skillset ID if applicable */
11346
+ skillsetId?: string;
11347
+ /** @description Related ability ID if applicable */
11348
+ abilityId?: string;
11349
+ /** @description Related file ID if applicable */
11350
+ fileId?: string;
11351
+ /** @description Related secret ID if applicable */
11352
+ secretId?: string;
11353
+ /** @description Related portal ID if applicable */
11354
+ portalId?: string;
11355
+ /** @description Related widget integration ID if applicable */
11356
+ widgetIntegrationId?: string;
11357
+ /** @description Related Slack integration ID if applicable */
11358
+ slackIntegrationId?: string;
11359
+ /** @description Related Discord integration ID if applicable */
11360
+ discordIntegrationId?: string;
11361
+ /** @description Related WhatsApp integration ID if applicable */
11362
+ whatsappIntegrationId?: string;
11363
+ /** @description Related Messenger integration ID if applicable */
11364
+ messengerIntegrationId?: string;
11365
+ /** @description Related Telegram integration ID if applicable */
11366
+ telegramIntegrationId?: string;
11367
+ /** @description Related Twilio integration ID if applicable */
11368
+ twilioIntegrationId?: string;
11369
+ /** @description Related email integration ID if applicable */
11370
+ emailIntegrationId?: string;
11371
+ /** @description Related sitemap integration ID if applicable */
11372
+ sitemapIntegrationId?: string;
11373
+ /** @description Related Notion integration ID if applicable */
11374
+ notionIntegrationId?: string;
11375
+ /** @description Related trigger integration ID if applicable */
11376
+ triggerIntegrationId?: string;
11377
+ /** @description Related support integration ID if applicable */
11378
+ supportIntegrationId?: string;
11379
+ /** @description Related extract integration ID if applicable */
11380
+ extractIntegrationId?: string;
11381
+ /** @description Related MCP server integration ID if applicable */
11382
+ mcpserverIntegrationId?: string;
11383
+ };
10974
11384
  };
11385
+ "text/csv": string;
10975
11386
  };
10976
11387
  };
10977
11388
  /** @description An error response */
@@ -10983,27 +11394,363 @@ export interface operations {
10983
11394
  };
10984
11395
  };
10985
11396
  };
10986
- downloadFile: {
11397
+ listEventLogs: {
10987
11398
  parameters: {
10988
- query?: never;
10989
- header?: never;
10990
- path: {
10991
- fileId: string;
11399
+ query?: {
11400
+ cursor?: string;
11401
+ order?: "asc" | "desc";
11402
+ take?: number;
11403
+ meta?: {
11404
+ [key: string]: string;
11405
+ };
10992
11406
  };
11407
+ header?: never;
11408
+ path?: never;
10993
11409
  cookie?: never;
10994
11410
  };
10995
11411
  requestBody?: never;
10996
11412
  responses: {
10997
- /** @description The file was downloaded successfully */
11413
+ /** @description The list of events was retrieved successfully */
10998
11414
  200: {
10999
11415
  headers: {
11000
11416
  [name: string]: unknown;
11001
11417
  };
11002
11418
  content: {
11003
11419
  "application/json": {
11004
- /** @description The URL to download the file */
11005
- url: string;
11006
- };
11420
+ items: {
11421
+ /** @description The associated name */
11422
+ name?: string;
11423
+ /** @description The associated description */
11424
+ description?: string;
11425
+ /** @description Meta data information */
11426
+ meta?: {
11427
+ [key: string]: unknown;
11428
+ };
11429
+ /** @description The instance ID */
11430
+ id: string;
11431
+ /** @description The timestamp (ms) when the instance was created */
11432
+ createdAt: number;
11433
+ /** @description The timestamp (ms) when the instance was updated */
11434
+ updatedAt: number;
11435
+ /** @description The type of event (e.g., 'conversation.create') */
11436
+ type: string;
11437
+ /** @description Related conversation ID if applicable */
11438
+ conversationId?: string;
11439
+ /** @description Related task ID if applicable */
11440
+ taskId?: string;
11441
+ /** @description Related contact ID if applicable */
11442
+ contactId?: string;
11443
+ /** @description Related blueprint ID if applicable */
11444
+ blueprintId?: string;
11445
+ /** @description Related bot ID if applicable */
11446
+ botId?: string;
11447
+ /** @description Related dataset ID if applicable */
11448
+ datasetId?: string;
11449
+ /** @description Related record ID if applicable */
11450
+ recordId?: string;
11451
+ /** @description Related skillset ID if applicable */
11452
+ skillsetId?: string;
11453
+ /** @description Related ability ID if applicable */
11454
+ abilityId?: string;
11455
+ /** @description Related file ID if applicable */
11456
+ fileId?: string;
11457
+ /** @description Related secret ID if applicable */
11458
+ secretId?: string;
11459
+ /** @description Related portal ID if applicable */
11460
+ portalId?: string;
11461
+ /** @description Related widget integration ID if applicable */
11462
+ widgetIntegrationId?: string;
11463
+ /** @description Related Slack integration ID if applicable */
11464
+ slackIntegrationId?: string;
11465
+ /** @description Related Discord integration ID if applicable */
11466
+ discordIntegrationId?: string;
11467
+ /** @description Related WhatsApp integration ID if applicable */
11468
+ whatsappIntegrationId?: string;
11469
+ /** @description Related Messenger integration ID if applicable */
11470
+ messengerIntegrationId?: string;
11471
+ /** @description Related Telegram integration ID if applicable */
11472
+ telegramIntegrationId?: string;
11473
+ /** @description Related Twilio integration ID if applicable */
11474
+ twilioIntegrationId?: string;
11475
+ /** @description Related email integration ID if applicable */
11476
+ emailIntegrationId?: string;
11477
+ /** @description Related sitemap integration ID if applicable */
11478
+ sitemapIntegrationId?: string;
11479
+ /** @description Related Notion integration ID if applicable */
11480
+ notionIntegrationId?: string;
11481
+ /** @description Related trigger integration ID if applicable */
11482
+ triggerIntegrationId?: string;
11483
+ /** @description Related support integration ID if applicable */
11484
+ supportIntegrationId?: string;
11485
+ /** @description Related extract integration ID if applicable */
11486
+ extractIntegrationId?: string;
11487
+ /** @description Related MCP server integration ID if applicable */
11488
+ mcpserverIntegrationId?: string;
11489
+ }[];
11490
+ };
11491
+ "application/jsonl": {
11492
+ /**
11493
+ * @description The type of event
11494
+ * @enum {string}
11495
+ */
11496
+ type: "item";
11497
+ /** @description Instance list properties */
11498
+ data: {
11499
+ /** @description The associated name */
11500
+ name?: string;
11501
+ /** @description The associated description */
11502
+ description?: string;
11503
+ /** @description Meta data information */
11504
+ meta?: {
11505
+ [key: string]: unknown;
11506
+ };
11507
+ /** @description The instance ID */
11508
+ id: string;
11509
+ /** @description The timestamp (ms) when the instance was created */
11510
+ createdAt: number;
11511
+ /** @description The timestamp (ms) when the instance was updated */
11512
+ updatedAt: number;
11513
+ /** @description The type of event (e.g., 'conversation.create') */
11514
+ type: string;
11515
+ /** @description Related conversation ID if applicable */
11516
+ conversationId?: string;
11517
+ /** @description Related task ID if applicable */
11518
+ taskId?: string;
11519
+ /** @description Related contact ID if applicable */
11520
+ contactId?: string;
11521
+ /** @description Related blueprint ID if applicable */
11522
+ blueprintId?: string;
11523
+ /** @description Related bot ID if applicable */
11524
+ botId?: string;
11525
+ /** @description Related dataset ID if applicable */
11526
+ datasetId?: string;
11527
+ /** @description Related record ID if applicable */
11528
+ recordId?: string;
11529
+ /** @description Related skillset ID if applicable */
11530
+ skillsetId?: string;
11531
+ /** @description Related ability ID if applicable */
11532
+ abilityId?: string;
11533
+ /** @description Related file ID if applicable */
11534
+ fileId?: string;
11535
+ /** @description Related secret ID if applicable */
11536
+ secretId?: string;
11537
+ /** @description Related portal ID if applicable */
11538
+ portalId?: string;
11539
+ /** @description Related widget integration ID if applicable */
11540
+ widgetIntegrationId?: string;
11541
+ /** @description Related Slack integration ID if applicable */
11542
+ slackIntegrationId?: string;
11543
+ /** @description Related Discord integration ID if applicable */
11544
+ discordIntegrationId?: string;
11545
+ /** @description Related WhatsApp integration ID if applicable */
11546
+ whatsappIntegrationId?: string;
11547
+ /** @description Related Messenger integration ID if applicable */
11548
+ messengerIntegrationId?: string;
11549
+ /** @description Related Telegram integration ID if applicable */
11550
+ telegramIntegrationId?: string;
11551
+ /** @description Related Twilio integration ID if applicable */
11552
+ twilioIntegrationId?: string;
11553
+ /** @description Related email integration ID if applicable */
11554
+ emailIntegrationId?: string;
11555
+ /** @description Related sitemap integration ID if applicable */
11556
+ sitemapIntegrationId?: string;
11557
+ /** @description Related Notion integration ID if applicable */
11558
+ notionIntegrationId?: string;
11559
+ /** @description Related trigger integration ID if applicable */
11560
+ triggerIntegrationId?: string;
11561
+ /** @description Related support integration ID if applicable */
11562
+ supportIntegrationId?: string;
11563
+ /** @description Related extract integration ID if applicable */
11564
+ extractIntegrationId?: string;
11565
+ /** @description Related MCP server integration ID if applicable */
11566
+ mcpserverIntegrationId?: string;
11567
+ };
11568
+ };
11569
+ };
11570
+ };
11571
+ /** @description An error response */
11572
+ default: {
11573
+ headers: {
11574
+ [name: string]: unknown;
11575
+ };
11576
+ content?: never;
11577
+ };
11578
+ };
11579
+ };
11580
+ subscribeEventLogs: {
11581
+ parameters: {
11582
+ query?: never;
11583
+ header?: never;
11584
+ path?: never;
11585
+ cookie?: never;
11586
+ };
11587
+ requestBody: {
11588
+ content: {
11589
+ "application/json": {
11590
+ /** @description Number of recent historical events to replay before
11591
+ * subscribing to live updates. When provided, the subscriber
11592
+ * will first receive up to this many recent events that were
11593
+ * logged before the subscription started. This is useful for
11594
+ * catching up on events that may have occurred during
11595
+ * connection setup.
11596
+ * */
11597
+ historyLength?: number;
11598
+ };
11599
+ };
11600
+ };
11601
+ responses: {
11602
+ /** @description Successfully subscribed to event logs */
11603
+ 200: {
11604
+ headers: {
11605
+ [name: string]: unknown;
11606
+ };
11607
+ content: {
11608
+ "application/jsonl": {
11609
+ /**
11610
+ * @description The type of event
11611
+ * @enum {string}
11612
+ */
11613
+ type: "item";
11614
+ /** @description Instance list properties */
11615
+ data: {
11616
+ /** @description The associated name */
11617
+ name?: string;
11618
+ /** @description The associated description */
11619
+ description?: string;
11620
+ /** @description Meta data information */
11621
+ meta?: {
11622
+ [key: string]: unknown;
11623
+ };
11624
+ /** @description The instance ID */
11625
+ id: string;
11626
+ /** @description The timestamp (ms) when the instance was created */
11627
+ createdAt: number;
11628
+ /** @description The timestamp (ms) when the instance was updated */
11629
+ updatedAt: number;
11630
+ /** @description The type of event (e.g., 'conversation.create') */
11631
+ type: string;
11632
+ /** @description Related conversation ID if applicable */
11633
+ conversationId?: string;
11634
+ /** @description Related task ID if applicable */
11635
+ taskId?: string;
11636
+ /** @description Related contact ID if applicable */
11637
+ contactId?: string;
11638
+ /** @description Related blueprint ID if applicable */
11639
+ blueprintId?: string;
11640
+ /** @description Related bot ID if applicable */
11641
+ botId?: string;
11642
+ /** @description Related dataset ID if applicable */
11643
+ datasetId?: string;
11644
+ /** @description Related record ID if applicable */
11645
+ recordId?: string;
11646
+ /** @description Related skillset ID if applicable */
11647
+ skillsetId?: string;
11648
+ /** @description Related ability ID if applicable */
11649
+ abilityId?: string;
11650
+ /** @description Related file ID if applicable */
11651
+ fileId?: string;
11652
+ /** @description Related secret ID if applicable */
11653
+ secretId?: string;
11654
+ /** @description Related portal ID if applicable */
11655
+ portalId?: string;
11656
+ /** @description Related widget integration ID if applicable */
11657
+ widgetIntegrationId?: string;
11658
+ /** @description Related Slack integration ID if applicable */
11659
+ slackIntegrationId?: string;
11660
+ /** @description Related Discord integration ID if applicable */
11661
+ discordIntegrationId?: string;
11662
+ /** @description Related WhatsApp integration ID if applicable */
11663
+ whatsappIntegrationId?: string;
11664
+ /** @description Related Messenger integration ID if applicable */
11665
+ messengerIntegrationId?: string;
11666
+ /** @description Related Telegram integration ID if applicable */
11667
+ telegramIntegrationId?: string;
11668
+ /** @description Related Twilio integration ID if applicable */
11669
+ twilioIntegrationId?: string;
11670
+ /** @description Related email integration ID if applicable */
11671
+ emailIntegrationId?: string;
11672
+ /** @description Related sitemap integration ID if applicable */
11673
+ sitemapIntegrationId?: string;
11674
+ /** @description Related Notion integration ID if applicable */
11675
+ notionIntegrationId?: string;
11676
+ /** @description Related trigger integration ID if applicable */
11677
+ triggerIntegrationId?: string;
11678
+ /** @description Related support integration ID if applicable */
11679
+ supportIntegrationId?: string;
11680
+ /** @description Related extract integration ID if applicable */
11681
+ extractIntegrationId?: string;
11682
+ /** @description Related MCP server integration ID if applicable */
11683
+ mcpserverIntegrationId?: string;
11684
+ };
11685
+ };
11686
+ };
11687
+ };
11688
+ /** @description An error response */
11689
+ default: {
11690
+ headers: {
11691
+ [name: string]: unknown;
11692
+ };
11693
+ content?: never;
11694
+ };
11695
+ };
11696
+ };
11697
+ deleteFile: {
11698
+ parameters: {
11699
+ query?: never;
11700
+ header?: never;
11701
+ path: {
11702
+ fileId: string;
11703
+ };
11704
+ cookie?: never;
11705
+ };
11706
+ requestBody: {
11707
+ content: {
11708
+ "application/json": Record<string, never>;
11709
+ };
11710
+ };
11711
+ responses: {
11712
+ /** @description The file was deleted successfully */
11713
+ 200: {
11714
+ headers: {
11715
+ [name: string]: unknown;
11716
+ };
11717
+ content: {
11718
+ "application/json": {
11719
+ /** @description The ID of the deleted file */
11720
+ id: string;
11721
+ };
11722
+ };
11723
+ };
11724
+ /** @description An error response */
11725
+ default: {
11726
+ headers: {
11727
+ [name: string]: unknown;
11728
+ };
11729
+ content?: never;
11730
+ };
11731
+ };
11732
+ };
11733
+ downloadFile: {
11734
+ parameters: {
11735
+ query?: never;
11736
+ header?: never;
11737
+ path: {
11738
+ fileId: string;
11739
+ };
11740
+ cookie?: never;
11741
+ };
11742
+ requestBody?: never;
11743
+ responses: {
11744
+ /** @description The file was downloaded successfully */
11745
+ 200: {
11746
+ headers: {
11747
+ [name: string]: unknown;
11748
+ };
11749
+ content: {
11750
+ "application/json": {
11751
+ /** @description The URL to download the file */
11752
+ url: string;
11753
+ };
11007
11754
  "*/*": string;
11008
11755
  };
11009
11756
  };
@@ -11115,6 +11862,8 @@ export interface operations {
11115
11862
  requestBody: {
11116
11863
  content: {
11117
11864
  "application/json": {
11865
+ /** @description The unique alias for the instance */
11866
+ alias?: string;
11118
11867
  /** @description The associated name */
11119
11868
  name?: string;
11120
11869
  /** @description The associated description */
@@ -11231,6 +11980,8 @@ export interface operations {
11231
11980
  requestBody: {
11232
11981
  content: {
11233
11982
  "application/json": {
11983
+ /** @description The unique alias for the instance */
11984
+ alias?: string;
11234
11985
  /** @description The associated name */
11235
11986
  name?: string;
11236
11987
  /** @description The associated description */
@@ -12126,12 +12877,349 @@ export interface operations {
12126
12877
  };
12127
12878
  };
12128
12879
  };
12129
- updateExtractIntegration: {
12880
+ updateExtractIntegration: {
12881
+ parameters: {
12882
+ query?: never;
12883
+ header?: never;
12884
+ path: {
12885
+ extractIntegrationId: string;
12886
+ };
12887
+ cookie?: never;
12888
+ };
12889
+ requestBody: {
12890
+ content: {
12891
+ "application/json": {
12892
+ /** @description The associated name */
12893
+ name?: string;
12894
+ /** @description The associated description */
12895
+ description?: string;
12896
+ /** @description Meta data information */
12897
+ meta?: {
12898
+ [key: string]: unknown;
12899
+ };
12900
+ /** @description The ID of the blueprint */
12901
+ blueprintId?: string;
12902
+ /** @description The ID of the Bot to use */
12903
+ botId?: string;
12904
+ /** @description The configured extraction schema */
12905
+ schema?: {
12906
+ [key: string]: unknown;
12907
+ };
12908
+ /** @description Optional webhook to receive the extracted data */
12909
+ request?: string;
12910
+ /** @description The language model to use for data extraction */
12911
+ model?: string;
12912
+ };
12913
+ };
12914
+ };
12915
+ responses: {
12916
+ /** @description The Extract integration was updated successfully */
12917
+ 200: {
12918
+ headers: {
12919
+ [name: string]: unknown;
12920
+ };
12921
+ content: {
12922
+ "application/json": {
12923
+ /** @description The ID of the Extract Integration */
12924
+ id: string;
12925
+ };
12926
+ };
12927
+ };
12928
+ /** @description An error response */
12929
+ default: {
12930
+ headers: {
12931
+ [name: string]: unknown;
12932
+ };
12933
+ content?: never;
12934
+ };
12935
+ };
12936
+ };
12937
+ createExtractIntegration: {
12938
+ parameters: {
12939
+ query?: never;
12940
+ header?: never;
12941
+ path?: never;
12942
+ cookie?: never;
12943
+ };
12944
+ requestBody: {
12945
+ content: {
12946
+ "application/json": {
12947
+ /** @description The associated name */
12948
+ name?: string;
12949
+ /** @description The associated description */
12950
+ description?: string;
12951
+ /** @description Meta data information */
12952
+ meta?: {
12953
+ [key: string]: unknown;
12954
+ };
12955
+ /** @description The ID of the blueprint */
12956
+ blueprintId?: string;
12957
+ /** @description The ID of the Bot to use */
12958
+ botId?: string;
12959
+ /** @description The configured extraction schema */
12960
+ schema?: {
12961
+ [key: string]: unknown;
12962
+ };
12963
+ /** @description Optional webhook to receive the extracted data */
12964
+ request?: string;
12965
+ /** @description The language model to use for data extraction */
12966
+ model?: string;
12967
+ };
12968
+ };
12969
+ };
12970
+ responses: {
12971
+ /** @description The Extract integration was created successfully */
12972
+ 200: {
12973
+ headers: {
12974
+ [name: string]: unknown;
12975
+ };
12976
+ content: {
12977
+ "application/json": {
12978
+ /** @description The ID of the Extract Integration */
12979
+ id: string;
12980
+ };
12981
+ };
12982
+ };
12983
+ /** @description An error response */
12984
+ default: {
12985
+ headers: {
12986
+ [name: string]: unknown;
12987
+ };
12988
+ content?: never;
12989
+ };
12990
+ };
12991
+ };
12992
+ listExtractIntegrations: {
12993
+ parameters: {
12994
+ query?: {
12995
+ cursor?: string;
12996
+ order?: "asc" | "desc";
12997
+ take?: number;
12998
+ meta?: {
12999
+ [key: string]: string;
13000
+ };
13001
+ };
13002
+ header?: never;
13003
+ path?: never;
13004
+ cookie?: never;
13005
+ };
13006
+ requestBody?: never;
13007
+ responses: {
13008
+ /** @description The list of Extract integrations was retrieved successfully */
13009
+ 200: {
13010
+ headers: {
13011
+ [name: string]: unknown;
13012
+ };
13013
+ content: {
13014
+ "application/json": {
13015
+ items: {
13016
+ /** @description The associated name */
13017
+ name?: string;
13018
+ /** @description The associated description */
13019
+ description?: string;
13020
+ /** @description Meta data information */
13021
+ meta?: {
13022
+ [key: string]: unknown;
13023
+ };
13024
+ /** @description The instance ID */
13025
+ id: string;
13026
+ /** @description The timestamp (ms) when the instance was created */
13027
+ createdAt: number;
13028
+ /** @description The timestamp (ms) when the instance was updated */
13029
+ updatedAt: number;
13030
+ /** @description The ID of the blueprint */
13031
+ blueprintId?: string;
13032
+ /** @description The ID of the Bot to use */
13033
+ botId: string;
13034
+ /** @description The configured extraction schema */
13035
+ schema?: {
13036
+ [key: string]: unknown;
13037
+ };
13038
+ /** @description Optional webhook to receive the extracted data */
13039
+ request?: string;
13040
+ }[];
13041
+ };
13042
+ "application/jsonl": {
13043
+ /**
13044
+ * @description The type of event
13045
+ * @enum {string}
13046
+ */
13047
+ type: "item";
13048
+ /** @description Blueprint properties */
13049
+ data: {
13050
+ /** @description The associated name */
13051
+ name?: string;
13052
+ /** @description The associated description */
13053
+ description?: string;
13054
+ /** @description Meta data information */
13055
+ meta?: {
13056
+ [key: string]: unknown;
13057
+ };
13058
+ /** @description The instance ID */
13059
+ id: string;
13060
+ /** @description The timestamp (ms) when the instance was created */
13061
+ createdAt: number;
13062
+ /** @description The timestamp (ms) when the instance was updated */
13063
+ updatedAt: number;
13064
+ /** @description The ID of the blueprint */
13065
+ blueprintId?: string;
13066
+ /** @description The ID of the Bot to use */
13067
+ botId: string;
13068
+ /** @description The configured extraction schema */
13069
+ schema?: {
13070
+ [key: string]: unknown;
13071
+ };
13072
+ /** @description Optional webhook to receive the extracted data */
13073
+ request?: string;
13074
+ };
13075
+ };
13076
+ };
13077
+ };
13078
+ /** @description An error response */
13079
+ default: {
13080
+ headers: {
13081
+ [name: string]: unknown;
13082
+ };
13083
+ content?: never;
13084
+ };
13085
+ };
13086
+ };
13087
+ deleteInstagramIntegration: {
13088
+ parameters: {
13089
+ query?: never;
13090
+ header?: never;
13091
+ path: {
13092
+ instagramIntegrationId: string;
13093
+ };
13094
+ cookie?: never;
13095
+ };
13096
+ requestBody: {
13097
+ content: {
13098
+ "application/json": Record<string, never>;
13099
+ };
13100
+ };
13101
+ responses: {
13102
+ /** @description The Instagram integration was deleted successfully */
13103
+ 200: {
13104
+ headers: {
13105
+ [name: string]: unknown;
13106
+ };
13107
+ content: {
13108
+ "application/json": {
13109
+ /** @description The ID of the deleted Instagram integration */
13110
+ id: string;
13111
+ };
13112
+ };
13113
+ };
13114
+ /** @description An error response */
13115
+ default: {
13116
+ headers: {
13117
+ [name: string]: unknown;
13118
+ };
13119
+ content?: never;
13120
+ };
13121
+ };
13122
+ };
13123
+ fetchInstagramIntegration: {
13124
+ parameters: {
13125
+ query?: never;
13126
+ header?: never;
13127
+ path: {
13128
+ instagramIntegrationId: string;
13129
+ };
13130
+ cookie?: never;
13131
+ };
13132
+ requestBody?: never;
13133
+ responses: {
13134
+ /** @description The Instagram integration was retrieved successfully */
13135
+ 200: {
13136
+ headers: {
13137
+ [name: string]: unknown;
13138
+ };
13139
+ content: {
13140
+ "application/json": {
13141
+ /** @description The associated name */
13142
+ name?: string;
13143
+ /** @description The associated description */
13144
+ description?: string;
13145
+ /** @description Meta data information */
13146
+ meta?: {
13147
+ [key: string]: unknown;
13148
+ };
13149
+ /** @description The instance ID */
13150
+ id: string;
13151
+ /** @description The timestamp (ms) when the instance was created */
13152
+ createdAt: number;
13153
+ /** @description The timestamp (ms) when the instance was updated */
13154
+ updatedAt: number;
13155
+ /** @description The ID of the bot this configuration is using */
13156
+ botId?: string;
13157
+ /** @description The ID of the blueprint */
13158
+ blueprintId?: string;
13159
+ /** @description The Instagram integration verify token */
13160
+ verifyToken: string;
13161
+ /** @description The Instagram integration access token (returned as '********' if configured, null otherwise) */
13162
+ accessToken?: string;
13163
+ /** @description Whether to collect contacts */
13164
+ contactCollection?: boolean;
13165
+ /** @description The session duration (in milliseconds) */
13166
+ sessionDuration?: number;
13167
+ /** @description Whether the bot supports attachments */
13168
+ attachments?: boolean;
13169
+ };
13170
+ };
13171
+ };
13172
+ /** @description An error response */
13173
+ default: {
13174
+ headers: {
13175
+ [name: string]: unknown;
13176
+ };
13177
+ content?: never;
13178
+ };
13179
+ };
13180
+ };
13181
+ setupInstagramIntegration: {
13182
+ parameters: {
13183
+ query?: never;
13184
+ header?: never;
13185
+ path: {
13186
+ instagramIntegrationId: string;
13187
+ };
13188
+ cookie?: never;
13189
+ };
13190
+ requestBody: {
13191
+ content: {
13192
+ "application/json": Record<string, never>;
13193
+ };
13194
+ };
13195
+ responses: {
13196
+ /** @description The Instagram integration was successfully setup */
13197
+ 200: {
13198
+ headers: {
13199
+ [name: string]: unknown;
13200
+ };
13201
+ content: {
13202
+ "application/json": {
13203
+ /** @description The ID of the Instagram Integration */
13204
+ id: string;
13205
+ };
13206
+ };
13207
+ };
13208
+ /** @description An error response */
13209
+ default: {
13210
+ headers: {
13211
+ [name: string]: unknown;
13212
+ };
13213
+ content?: never;
13214
+ };
13215
+ };
13216
+ };
13217
+ updateInstagramIntegration: {
12130
13218
  parameters: {
12131
13219
  query?: never;
12132
13220
  header?: never;
12133
13221
  path: {
12134
- extractIntegrationId: string;
13222
+ instagramIntegrationId: string;
12135
13223
  };
12136
13224
  cookie?: never;
12137
13225
  };
@@ -12148,26 +13236,28 @@ export interface operations {
12148
13236
  };
12149
13237
  /** @description The ID of the blueprint */
12150
13238
  blueprintId?: string;
12151
- /** @description The ID of the Bot to use */
13239
+ /** @description The ID of the bot this configuration is using */
12152
13240
  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;
13241
+ /** @description The Instagram integration access token */
13242
+ accessToken?: string;
13243
+ /** @description Whether to collect contacts */
13244
+ contactCollection?: boolean;
13245
+ /** @description The session duration (in milliseconds) */
13246
+ sessionDuration?: number;
13247
+ /** @description Whether the bot supports attachments */
13248
+ attachments?: boolean;
12159
13249
  };
12160
13250
  };
12161
13251
  };
12162
13252
  responses: {
12163
- /** @description The Extract integration was updated successfully */
13253
+ /** @description The Instagram integration was updated successfully */
12164
13254
  200: {
12165
13255
  headers: {
12166
13256
  [name: string]: unknown;
12167
13257
  };
12168
13258
  content: {
12169
13259
  "application/json": {
12170
- /** @description The ID of the Extract Integration */
13260
+ /** @description The ID of the Instagram Integration */
12171
13261
  id: string;
12172
13262
  };
12173
13263
  };
@@ -12181,7 +13271,7 @@ export interface operations {
12181
13271
  };
12182
13272
  };
12183
13273
  };
12184
- createExtractIntegration: {
13274
+ createInstagramIntegration: {
12185
13275
  parameters: {
12186
13276
  query?: never;
12187
13277
  header?: never;
@@ -12201,26 +13291,28 @@ export interface operations {
12201
13291
  };
12202
13292
  /** @description The ID of the blueprint */
12203
13293
  blueprintId?: string;
12204
- /** @description The ID of the Bot to use */
13294
+ /** @description The ID of the bot this configuration is using */
12205
13295
  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;
13296
+ /** @description The Instagram integration access token */
13297
+ accessToken?: string;
13298
+ /** @description Whether to collect contacts */
13299
+ contactCollection?: boolean;
13300
+ /** @description The session duration (in milliseconds) */
13301
+ sessionDuration?: number;
13302
+ /** @description Whether the bot supports attachments */
13303
+ attachments?: boolean;
12212
13304
  };
12213
13305
  };
12214
13306
  };
12215
13307
  responses: {
12216
- /** @description The Extract integration was created successfully */
13308
+ /** @description The Instagram integration was created successfully */
12217
13309
  200: {
12218
13310
  headers: {
12219
13311
  [name: string]: unknown;
12220
13312
  };
12221
13313
  content: {
12222
13314
  "application/json": {
12223
- /** @description The ID of the Extract Integration */
13315
+ /** @description The ID of the Instagram Integration */
12224
13316
  id: string;
12225
13317
  };
12226
13318
  };
@@ -12234,7 +13326,7 @@ export interface operations {
12234
13326
  };
12235
13327
  };
12236
13328
  };
12237
- listExtractIntegrations: {
13329
+ listInstagramIntegrations: {
12238
13330
  parameters: {
12239
13331
  query?: {
12240
13332
  cursor?: string;
@@ -12250,7 +13342,7 @@ export interface operations {
12250
13342
  };
12251
13343
  requestBody?: never;
12252
13344
  responses: {
12253
- /** @description The list of Extract integrations was retrieved successfully */
13345
+ /** @description The list of Instagram integrations was retrieved successfully */
12254
13346
  200: {
12255
13347
  headers: {
12256
13348
  [name: string]: unknown;
@@ -12272,16 +13364,20 @@ export interface operations {
12272
13364
  createdAt: number;
12273
13365
  /** @description The timestamp (ms) when the instance was updated */
12274
13366
  updatedAt: number;
13367
+ /** @description The ID of the bot this configuration is using */
13368
+ botId?: string;
12275
13369
  /** @description The ID of the blueprint */
12276
13370
  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;
13371
+ /** @description The Instagram integration verify token */
13372
+ verifyToken: string;
13373
+ /** @description The Instagram integration access token (returned as '********' if configured, null otherwise) */
13374
+ accessToken?: string;
13375
+ /** @description Whether to collect contacts */
13376
+ contactCollection?: boolean;
13377
+ /** @description The session duration (in milliseconds) */
13378
+ sessionDuration?: number;
13379
+ /** @description Whether the bot supports attachments */
13380
+ attachments?: boolean;
12285
13381
  }[];
12286
13382
  };
12287
13383
  "application/jsonl": {
@@ -12306,16 +13402,20 @@ export interface operations {
12306
13402
  createdAt: number;
12307
13403
  /** @description The timestamp (ms) when the instance was updated */
12308
13404
  updatedAt: number;
13405
+ /** @description The ID of the bot this configuration is using */
13406
+ botId?: string;
12309
13407
  /** @description The ID of the blueprint */
12310
13408
  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;
13409
+ /** @description The Instagram integration verify token */
13410
+ verifyToken: string;
13411
+ /** @description The Instagram integration access token (returned as '********' if configured, null otherwise) */
13412
+ accessToken?: string;
13413
+ /** @description Whether to collect contacts */
13414
+ contactCollection?: boolean;
13415
+ /** @description The session duration (in milliseconds) */
13416
+ sessionDuration?: number;
13417
+ /** @description Whether the bot supports attachments */
13418
+ attachments?: boolean;
12319
13419
  };
12320
13420
  };
12321
13421
  };
@@ -19337,6 +20437,8 @@ export interface operations {
19337
20437
  requestBody: {
19338
20438
  content: {
19339
20439
  "application/json": {
20440
+ /** @description The unique alias for the instance */
20441
+ alias?: string;
19340
20442
  /** @description The associated name */
19341
20443
  name?: string;
19342
20444
  /** @description The associated description */
@@ -19388,6 +20490,8 @@ export interface operations {
19388
20490
  requestBody: {
19389
20491
  content: {
19390
20492
  "application/json": {
20493
+ /** @description The unique alias for the instance */
20494
+ alias?: string;
19391
20495
  /** @description The associated name */
19392
20496
  name?: string;
19393
20497
  /** @description The associated description */
@@ -19707,6 +20811,8 @@ export interface operations {
19707
20811
  requestBody: {
19708
20812
  content: {
19709
20813
  "application/json": {
20814
+ /** @description The unique alias for the instance */
20815
+ alias?: string;
19710
20816
  /** @description The associated name */
19711
20817
  name?: string;
19712
20818
  /** @description The associated description */
@@ -19823,6 +20929,8 @@ export interface operations {
19823
20929
  requestBody: {
19824
20930
  content: {
19825
20931
  "application/json": {
20932
+ /** @description The unique alias for the instance */
20933
+ alias?: string;
19826
20934
  /** @description The associated name */
19827
20935
  name?: string;
19828
20936
  /** @description The associated description */
@@ -20033,6 +21141,214 @@ export interface operations {
20033
21141
  };
20034
21142
  };
20035
21143
  };
21144
+ executeSkillsetAbility: {
21145
+ parameters: {
21146
+ query?: never;
21147
+ header?: never;
21148
+ path: {
21149
+ skillsetId: string;
21150
+ abilityId: string;
21151
+ };
21152
+ cookie?: never;
21153
+ };
21154
+ requestBody: {
21155
+ content: {
21156
+ "application/json": {
21157
+ /** @description The input to process with the ability. This can be structured
21158
+ * text such as JSON or YAML for precise parameter control, or
21159
+ * unstructured natural language text. When unstructured text is
21160
+ * provided, the system will automatically detect and extract the
21161
+ * relevant parameters from the input.
21162
+ * */
21163
+ input?: string;
21164
+ /** @description The ID of the contact to associate with the execution */
21165
+ contactId?: string;
21166
+ };
21167
+ };
21168
+ };
21169
+ responses: {
21170
+ /** @description The ability was executed successfully */
21171
+ 200: {
21172
+ headers: {
21173
+ [name: string]: unknown;
21174
+ };
21175
+ content: {
21176
+ "application/json": {
21177
+ /** @description Usage information */
21178
+ usage: {
21179
+ /** @description The tokens used in this exchange */
21180
+ token: number;
21181
+ };
21182
+ /** @description Error message if execution failed */
21183
+ error?: string;
21184
+ /** @description The result of the ability execution */
21185
+ result?: unknown;
21186
+ /** @description Messages generated during execution */
21187
+ messages?: {
21188
+ /**
21189
+ * @description The type of the message
21190
+ * @enum {string}
21191
+ */
21192
+ type: "user" | "bot" | "reasoning" | "context" | "instruction" | "backstory" | "activity";
21193
+ /** @description The text of the message */
21194
+ text: string;
21195
+ /** @description Meta data information */
21196
+ meta?: {
21197
+ [key: string]: unknown;
21198
+ };
21199
+ }[];
21200
+ };
21201
+ "application/jsonl": {
21202
+ /**
21203
+ * @description The type of event
21204
+ * @enum {string}
21205
+ */
21206
+ type: "result";
21207
+ data: {
21208
+ /** @description Usage information */
21209
+ usage: {
21210
+ /** @description The tokens used in this exchange */
21211
+ token: number;
21212
+ };
21213
+ /** @description Error message if execution failed */
21214
+ error?: string;
21215
+ /** @description The result of the ability execution */
21216
+ result?: unknown;
21217
+ /** @description Messages generated during execution */
21218
+ messages?: {
21219
+ /**
21220
+ * @description The type of the message
21221
+ * @enum {string}
21222
+ */
21223
+ type: "user" | "bot" | "reasoning" | "context" | "instruction" | "backstory" | "activity";
21224
+ /** @description The text of the message */
21225
+ text: string;
21226
+ /** @description Meta data information */
21227
+ meta?: {
21228
+ [key: string]: unknown;
21229
+ };
21230
+ }[];
21231
+ };
21232
+ } | ({
21233
+ /**
21234
+ * @description The type of event
21235
+ * @enum {string}
21236
+ */
21237
+ type: "error";
21238
+ /** @description The data for the event */
21239
+ data: {
21240
+ /** @description The error message */
21241
+ message: string;
21242
+ };
21243
+ } | {
21244
+ /**
21245
+ * @description The type of event
21246
+ * @enum {string}
21247
+ */
21248
+ type: "token";
21249
+ /** @description The data for the event */
21250
+ data: {
21251
+ /** @description The token generated */
21252
+ token: string;
21253
+ };
21254
+ } | {
21255
+ /**
21256
+ * @description The type of event
21257
+ * @enum {string}
21258
+ */
21259
+ type: "reasoningToken";
21260
+ /** @description The data for the event */
21261
+ data: {
21262
+ /** @description The token generated */
21263
+ token: string;
21264
+ };
21265
+ } | {
21266
+ /**
21267
+ * @description The type of event
21268
+ * @enum {string}
21269
+ */
21270
+ type: "message";
21271
+ /** @description A message in the conversation */
21272
+ data: {
21273
+ /**
21274
+ * @description The type of the message
21275
+ * @enum {string}
21276
+ */
21277
+ type: "user" | "bot" | "reasoning" | "context" | "instruction" | "backstory" | "activity";
21278
+ /** @description The text of the message */
21279
+ text: string;
21280
+ /** @description Meta data information */
21281
+ meta?: {
21282
+ [key: string]: unknown;
21283
+ };
21284
+ };
21285
+ } | {
21286
+ /**
21287
+ * @description The type of event
21288
+ * @enum {string}
21289
+ */
21290
+ type: "completeBegin";
21291
+ /** @description The data for the event */
21292
+ data: {
21293
+ [key: string]: unknown;
21294
+ };
21295
+ } | {
21296
+ /**
21297
+ * @description The type of event
21298
+ * @enum {string}
21299
+ */
21300
+ type: "completeEnd";
21301
+ /** @description The data for the event */
21302
+ data: {
21303
+ [key: string]: unknown;
21304
+ };
21305
+ } | {
21306
+ /**
21307
+ * @description The type of event
21308
+ * @enum {string}
21309
+ */
21310
+ type: "waitForChannelMessageBegin";
21311
+ /** @description The data for the event */
21312
+ data: {
21313
+ [key: string]: unknown;
21314
+ };
21315
+ } | {
21316
+ /**
21317
+ * @description The type of event
21318
+ * @enum {string}
21319
+ */
21320
+ type: "waitForChannelMessageEnd";
21321
+ /** @description The data for the event */
21322
+ data: {
21323
+ [key: string]: unknown;
21324
+ };
21325
+ } | {
21326
+ /**
21327
+ * @description The type of event
21328
+ * @enum {string}
21329
+ */
21330
+ type: "usage";
21331
+ /** @description The data for the event */
21332
+ data: {
21333
+ /** @description The model used */
21334
+ model: string;
21335
+ /** @description The number of input tokens used */
21336
+ inputTokensUsed: number;
21337
+ /** @description The number of output tokens used */
21338
+ outputTokensUsed: number;
21339
+ };
21340
+ });
21341
+ };
21342
+ };
21343
+ /** @description An error response */
21344
+ default: {
21345
+ headers: {
21346
+ [name: string]: unknown;
21347
+ };
21348
+ content?: never;
21349
+ };
21350
+ };
21351
+ };
20036
21352
  fetchSkillsetAbility: {
20037
21353
  parameters: {
20038
21354
  query?: never;
@@ -20497,6 +21813,8 @@ export interface operations {
20497
21813
  requestBody: {
20498
21814
  content: {
20499
21815
  "application/json": {
21816
+ /** @description The unique alias for the instance */
21817
+ alias?: string;
20500
21818
  /** @description The associated name */
20501
21819
  name?: string;
20502
21820
  /** @description The associated description */
@@ -20547,6 +21865,8 @@ export interface operations {
20547
21865
  requestBody: {
20548
21866
  content: {
20549
21867
  "application/json": {
21868
+ /** @description The unique alias for the instance */
21869
+ alias?: string;
20550
21870
  /** @description The associated name */
20551
21871
  name?: string;
20552
21872
  /** @description The associated description */
@@ -20736,6 +22056,8 @@ export interface operations {
20736
22056
  requestBody: {
20737
22057
  content: {
20738
22058
  "application/json": {
22059
+ /** @description The unique alias for the instance */
22060
+ alias?: string;
20739
22061
  /** @description The associated name */
20740
22062
  name?: string;
20741
22063
  /** @description The associated description */
@@ -20783,6 +22105,8 @@ export interface operations {
20783
22105
  requestBody: {
20784
22106
  content: {
20785
22107
  "application/json": {
22108
+ /** @description The unique alias for the instance */
22109
+ alias?: string;
20786
22110
  /** @description The associated name */
20787
22111
  name?: string;
20788
22112
  /** @description The associated description */
@@ -21317,6 +22641,9 @@ export interface operations {
21317
22641
  cursor?: string;
21318
22642
  order?: "asc" | "desc";
21319
22643
  take?: number;
22644
+ botId?: string;
22645
+ contactId?: string;
22646
+ status?: "idle" | "running";
21320
22647
  meta?: {
21321
22648
  [key: string]: string;
21322
22649
  };