@chatbotkit/sdk 1.26.1 → 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 +2052 -381
  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 +2052 -381
  40. package/dist/esm/types/report.d.ts +24 -1
  41. package/package.json +132 -182
  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;
@@ -3506,6 +3674,66 @@ export interface paths {
3506
3674
  patch?: never;
3507
3675
  trace?: never;
3508
3676
  };
3677
+ "/platform/guide/{guideId}/fetch": {
3678
+ parameters: {
3679
+ query?: never;
3680
+ header?: never;
3681
+ path?: never;
3682
+ cookie?: never;
3683
+ };
3684
+ /**
3685
+ * Fetch a specific platform guide
3686
+ * @description Retrieves the complete content and metadata of a specific guide. This
3687
+ * includes the markdown content and all associated frontmatter.
3688
+ *
3689
+ */
3690
+ get: operations["fetchPlatformGuide"];
3691
+ put?: never;
3692
+ post?: never;
3693
+ delete?: never;
3694
+ options?: never;
3695
+ head?: never;
3696
+ patch?: never;
3697
+ trace?: never;
3698
+ };
3699
+ "/platform/guide/list": {
3700
+ parameters: {
3701
+ query?: never;
3702
+ header?: never;
3703
+ path?: never;
3704
+ cookie?: never;
3705
+ };
3706
+ /**
3707
+ * Retrieve a list of platform guides
3708
+ * @description Returns a list of available guides with their metadata.
3709
+ *
3710
+ */
3711
+ get: operations["listPlatformGuides"];
3712
+ put?: never;
3713
+ post?: never;
3714
+ delete?: never;
3715
+ options?: never;
3716
+ head?: never;
3717
+ patch?: never;
3718
+ trace?: never;
3719
+ };
3720
+ "/platform/guide/search": {
3721
+ parameters: {
3722
+ query?: never;
3723
+ header?: never;
3724
+ path?: never;
3725
+ cookie?: never;
3726
+ };
3727
+ get?: never;
3728
+ put?: never;
3729
+ /** Search platform guides using semantic similarity */
3730
+ post: operations["searchPlatformGuides"];
3731
+ delete?: never;
3732
+ options?: never;
3733
+ head?: never;
3734
+ patch?: never;
3735
+ trace?: never;
3736
+ };
3509
3737
  "/platform/manual/{manualId}/fetch": {
3510
3738
  parameters: {
3511
3739
  query?: never;
@@ -3983,6 +4211,31 @@ export interface paths {
3983
4211
  patch?: never;
3984
4212
  trace?: never;
3985
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
+ };
3986
4239
  "/skillset/{skillsetId}/ability/{abilityId}/fetch": {
3987
4240
  parameters: {
3988
4241
  query?: never;
@@ -4478,6 +4731,11 @@ export interface components {
4478
4731
  * @enum {string}
4479
4732
  */
4480
4733
  Schedule: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly";
4734
+ /**
4735
+ * @description The sync status of an integration
4736
+ * @enum {string}
4737
+ */
4738
+ SyncStatus: "pending" | "synced" | "error";
4481
4739
  /**
4482
4740
  * @description The task execution status
4483
4741
  * @enum {string}
@@ -4721,6 +4979,13 @@ export interface components {
4721
4979
  /** @description The channel for streaming function results */
4722
4980
  channel: string;
4723
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
+ };
4724
4989
  }[];
4725
4990
  /** @description Extensions to enhance the bot's capabilities */
4726
4991
  ExtensionsDefinition: {
@@ -7400,6 +7665,13 @@ export interface operations {
7400
7665
  /** @description The channel for streaming function results */
7401
7666
  channel: string;
7402
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
+ };
7403
7675
  }[];
7404
7676
  /** @description Extensions to enhance the bot's capabilities */
7405
7677
  extensions?: {
@@ -7758,6 +8030,13 @@ export interface operations {
7758
8030
  /** @description The channel for streaming function results */
7759
8031
  channel: string;
7760
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
+ };
7761
8040
  }[];
7762
8041
  /** @description Extensions to enhance the bot's capabilities */
7763
8042
  extensions?: {
@@ -7807,6 +8086,8 @@ export interface operations {
7807
8086
  };
7808
8087
  }[];
7809
8088
  };
8089
+ /** @description A unique ID to deduplicate dispatch requests */
8090
+ channelId?: string;
7810
8091
  };
7811
8092
  };
7812
8093
  };
@@ -8449,6 +8730,13 @@ export interface operations {
8449
8730
  /** @description The channel for streaming function results */
8450
8731
  channel: string;
8451
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
+ };
8452
8740
  }[];
8453
8741
  /** @description Extensions to enhance the bot's capabilities */
8454
8742
  extensions?: {
@@ -8717,6 +9005,13 @@ export interface operations {
8717
9005
  /** @description The channel for streaming function results */
8718
9006
  channel: string;
8719
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
+ };
8720
9015
  }[];
8721
9016
  /** @description Extensions to enhance the bot's capabilities */
8722
9017
  extensions?: {
@@ -9221,6 +9516,13 @@ export interface operations {
9221
9516
  /** @description The channel for streaming function results */
9222
9517
  channel: string;
9223
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
+ };
9224
9526
  }[];
9225
9527
  /** @description Extensions to enhance the bot's capabilities */
9226
9528
  extensions?: {
@@ -9610,6 +9912,13 @@ export interface operations {
9610
9912
  /** @description The channel for streaming function results */
9611
9913
  channel: string;
9612
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
+ };
9613
9922
  }[];
9614
9923
  /** @description Extensions to enhance the bot's capabilities */
9615
9924
  extensions?: {
@@ -9659,6 +9968,8 @@ export interface operations {
9659
9968
  };
9660
9969
  }[];
9661
9970
  };
9971
+ /** @description A unique channel ID to subscribe to for completion events */
9972
+ channelId?: string;
9662
9973
  } & ({
9663
9974
  /** @description The ID of the bot this configuration is using */
9664
9975
  botId?: string;
@@ -10882,64 +11193,687 @@ export interface operations {
10882
11193
  };
10883
11194
  };
10884
11195
  };
10885
- deleteFile: {
11196
+ exportEventLogs: {
10886
11197
  parameters: {
10887
- query?: never;
10888
- header?: never;
10889
- path: {
10890
- fileId: string;
10891
- };
10892
- cookie?: never;
10893
- };
10894
- requestBody: {
10895
- content: {
10896
- "application/json": Record<string, never>;
10897
- };
10898
- };
10899
- responses: {
10900
- /** @description The file was deleted successfully */
10901
- 200: {
10902
- headers: {
10903
- [name: string]: unknown;
10904
- };
10905
- content: {
10906
- "application/json": {
10907
- /** @description The ID of the deleted file */
10908
- id: string;
10909
- };
10910
- };
10911
- };
10912
- /** @description An error response */
10913
- default: {
10914
- headers: {
10915
- [name: string]: unknown;
11198
+ query?: {
11199
+ cursor?: string;
11200
+ order?: "asc" | "desc";
11201
+ take?: number;
11202
+ meta?: {
11203
+ [key: string]: string;
10916
11204
  };
10917
- content?: never;
10918
11205
  };
10919
- };
10920
- };
10921
- downloadFile: {
10922
- parameters: {
10923
- query?: never;
10924
11206
  header?: never;
10925
- path: {
10926
- fileId: string;
10927
- };
11207
+ path?: never;
10928
11208
  cookie?: never;
10929
11209
  };
10930
11210
  requestBody?: never;
10931
11211
  responses: {
10932
- /** @description The file was downloaded successfully */
11212
+ /** @description The list of events was exported successfully */
10933
11213
  200: {
10934
11214
  headers: {
10935
11215
  [name: string]: unknown;
10936
11216
  };
10937
11217
  content: {
10938
11218
  "application/json": {
10939
- /** @description The URL to download the file */
10940
- url: 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
+ };
11367
+ };
11368
+ "text/csv": string;
11369
+ };
11370
+ };
11371
+ /** @description An error response */
11372
+ default: {
11373
+ headers: {
11374
+ [name: string]: unknown;
11375
+ };
11376
+ content?: never;
11377
+ };
11378
+ };
11379
+ };
11380
+ listEventLogs: {
11381
+ parameters: {
11382
+ query?: {
11383
+ cursor?: string;
11384
+ order?: "asc" | "desc";
11385
+ take?: number;
11386
+ meta?: {
11387
+ [key: string]: string;
11388
+ };
11389
+ };
11390
+ header?: never;
11391
+ path?: never;
11392
+ cookie?: never;
11393
+ };
11394
+ requestBody?: never;
11395
+ responses: {
11396
+ /** @description The list of events was retrieved successfully */
11397
+ 200: {
11398
+ headers: {
11399
+ [name: string]: unknown;
11400
+ };
11401
+ content: {
11402
+ "application/json": {
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;
11738
+ };
11739
+ };
11740
+ /** @description An error response */
11741
+ default: {
11742
+ headers: {
11743
+ [name: string]: unknown;
11744
+ };
11745
+ content?: never;
11746
+ };
11747
+ };
11748
+ };
11749
+ fetchFile: {
11750
+ parameters: {
11751
+ query?: never;
11752
+ header?: never;
11753
+ path: {
11754
+ fileId: string;
11755
+ };
11756
+ cookie?: never;
11757
+ };
11758
+ requestBody?: never;
11759
+ responses: {
11760
+ /** @description The file was retrieved successfully */
11761
+ 200: {
11762
+ headers: {
11763
+ [name: string]: unknown;
11764
+ };
11765
+ content: {
11766
+ "application/json": {
11767
+ /** @description The associated name */
11768
+ name?: string;
11769
+ /** @description The associated description */
11770
+ description?: string;
11771
+ /** @description Meta data information */
11772
+ meta?: {
11773
+ [key: string]: unknown;
11774
+ };
11775
+ /** @description The instance ID */
11776
+ id: string;
11777
+ /** @description The timestamp (ms) when the instance was created */
11778
+ createdAt: number;
11779
+ /** @description The timestamp (ms) when the instance was updated */
11780
+ updatedAt: number;
11781
+ /** @description The ID of the blueprint */
11782
+ blueprintId?: string;
11783
+ /**
11784
+ * @description The file visibility
11785
+ * @enum {string}
11786
+ */
11787
+ visibility?: "private" | "protected" | "public";
11788
+ };
11789
+ };
11790
+ };
11791
+ /** @description An error response */
11792
+ default: {
11793
+ headers: {
11794
+ [name: string]: unknown;
11795
+ };
11796
+ content?: never;
11797
+ };
11798
+ };
11799
+ };
11800
+ syncFile: {
11801
+ parameters: {
11802
+ query?: never;
11803
+ header?: never;
11804
+ path: {
11805
+ fileId: string;
11806
+ };
11807
+ cookie?: never;
11808
+ };
11809
+ requestBody: {
11810
+ content: {
11811
+ "application/json": Record<string, never>;
11812
+ };
11813
+ };
11814
+ responses: {
11815
+ /** @description The file was synced successfully */
11816
+ 200: {
11817
+ headers: {
11818
+ [name: string]: unknown;
11819
+ };
11820
+ content: {
11821
+ "application/json": {
11822
+ /** @description The ID of the file */
11823
+ id: string;
11824
+ };
11825
+ };
11826
+ };
11827
+ /** @description An error response */
11828
+ default: {
11829
+ headers: {
11830
+ [name: string]: unknown;
11831
+ };
11832
+ content?: never;
11833
+ };
11834
+ };
11835
+ };
11836
+ updateFile: {
11837
+ parameters: {
11838
+ query?: never;
11839
+ header?: never;
11840
+ path: {
11841
+ fileId: string;
11842
+ };
11843
+ cookie?: never;
11844
+ };
11845
+ requestBody: {
11846
+ content: {
11847
+ "application/json": {
11848
+ /** @description The associated name */
11849
+ name?: string;
11850
+ /** @description The associated description */
11851
+ description?: string;
11852
+ /** @description Meta data information */
11853
+ meta?: {
11854
+ [key: string]: unknown;
11855
+ };
11856
+ /** @description The ID of the blueprint */
11857
+ blueprintId?: string;
11858
+ /**
11859
+ * @description The file visibility
11860
+ * @enum {string}
11861
+ */
11862
+ visibility?: "private" | "protected" | "public";
11863
+ };
11864
+ };
11865
+ };
11866
+ responses: {
11867
+ /** @description The file was updated successfully */
11868
+ 200: {
11869
+ headers: {
11870
+ [name: string]: unknown;
11871
+ };
11872
+ content: {
11873
+ "application/json": {
11874
+ /** @description The ID of the updated file */
11875
+ id: string;
10941
11876
  };
10942
- "*/*": string;
10943
11877
  };
10944
11878
  };
10945
11879
  /** @description An error response */
@@ -10951,7 +11885,7 @@ export interface operations {
10951
11885
  };
10952
11886
  };
10953
11887
  };
10954
- fetchFile: {
11888
+ uploadFile: {
10955
11889
  parameters: {
10956
11890
  query?: never;
10957
11891
  header?: never;
@@ -10960,9 +11894,250 @@ export interface operations {
10960
11894
  };
10961
11895
  cookie?: never;
10962
11896
  };
11897
+ requestBody: {
11898
+ content: {
11899
+ "application/json": {
11900
+ /** @description The file to upload either as http: or data: URL */
11901
+ file?: string;
11902
+ } | {
11903
+ /** @description The file definition to upload */
11904
+ file?: {
11905
+ /** @description The file type */
11906
+ type: string;
11907
+ /** @description The file size */
11908
+ size: number;
11909
+ /** @description The file name */
11910
+ name?: string;
11911
+ };
11912
+ };
11913
+ "multipart/form-data": {
11914
+ /**
11915
+ * Format: binary
11916
+ * @description The file to upload
11917
+ */
11918
+ file: string;
11919
+ };
11920
+ "*/*": string;
11921
+ };
11922
+ };
11923
+ responses: {
11924
+ /** @description The file was upload successfully */
11925
+ 200: {
11926
+ headers: {
11927
+ [name: string]: unknown;
11928
+ };
11929
+ content: {
11930
+ "application/json": {
11931
+ /** @description The ID of the upload file */
11932
+ id: string;
11933
+ /** @description The request required to upload the file */
11934
+ uploadRequest?: {
11935
+ /** @description The HTTP method to use */
11936
+ method: string;
11937
+ /** @description The HTTP url to use */
11938
+ url: string;
11939
+ /** @description The HTTP headers to use */
11940
+ headers: Record<string, never>;
11941
+ };
11942
+ };
11943
+ };
11944
+ };
11945
+ /** @description An error response */
11946
+ default: {
11947
+ headers: {
11948
+ [name: string]: unknown;
11949
+ };
11950
+ content?: never;
11951
+ };
11952
+ };
11953
+ };
11954
+ createFile: {
11955
+ parameters: {
11956
+ query?: never;
11957
+ header?: never;
11958
+ path?: never;
11959
+ cookie?: never;
11960
+ };
11961
+ requestBody: {
11962
+ content: {
11963
+ "application/json": {
11964
+ /** @description The associated name */
11965
+ name?: string;
11966
+ /** @description The associated description */
11967
+ description?: string;
11968
+ /** @description Meta data information */
11969
+ meta?: {
11970
+ [key: string]: unknown;
11971
+ };
11972
+ /** @description The ID of the blueprint */
11973
+ blueprintId?: string;
11974
+ /**
11975
+ * @description The file visibility
11976
+ * @enum {string}
11977
+ */
11978
+ visibility?: "private" | "protected" | "public";
11979
+ };
11980
+ };
11981
+ };
11982
+ responses: {
11983
+ /** @description The file was created successfully */
11984
+ 200: {
11985
+ headers: {
11986
+ [name: string]: unknown;
11987
+ };
11988
+ content: {
11989
+ "application/json": {
11990
+ /** @description The ID of the created file */
11991
+ id: string;
11992
+ };
11993
+ };
11994
+ };
11995
+ /** @description An error response */
11996
+ default: {
11997
+ headers: {
11998
+ [name: string]: unknown;
11999
+ };
12000
+ content?: never;
12001
+ };
12002
+ };
12003
+ };
12004
+ listFiles: {
12005
+ parameters: {
12006
+ query?: {
12007
+ cursor?: string;
12008
+ order?: "asc" | "desc";
12009
+ take?: number;
12010
+ meta?: {
12011
+ [key: string]: string;
12012
+ };
12013
+ };
12014
+ header?: never;
12015
+ path?: never;
12016
+ cookie?: never;
12017
+ };
10963
12018
  requestBody?: never;
10964
12019
  responses: {
10965
- /** @description The file was retrieved successfully */
12020
+ /** @description The list of files was retrieved successfully */
12021
+ 200: {
12022
+ headers: {
12023
+ [name: string]: unknown;
12024
+ };
12025
+ content: {
12026
+ "application/json": {
12027
+ items: {
12028
+ /** @description The associated name */
12029
+ name?: string;
12030
+ /** @description The associated description */
12031
+ description?: string;
12032
+ /** @description Meta data information */
12033
+ meta?: {
12034
+ [key: string]: unknown;
12035
+ };
12036
+ /** @description The instance ID */
12037
+ id: string;
12038
+ /** @description The timestamp (ms) when the instance was created */
12039
+ createdAt: number;
12040
+ /** @description The timestamp (ms) when the instance was updated */
12041
+ updatedAt: number;
12042
+ /** @description The ID of the blueprint */
12043
+ blueprintId?: string;
12044
+ /**
12045
+ * @description The file visibility
12046
+ * @enum {string}
12047
+ */
12048
+ visibility?: "private" | "protected" | "public";
12049
+ }[];
12050
+ };
12051
+ "application/jsonl": {
12052
+ /**
12053
+ * @description The type of event
12054
+ * @enum {string}
12055
+ */
12056
+ type: "item";
12057
+ /** @description Blueprint properties */
12058
+ data: {
12059
+ /** @description The associated name */
12060
+ name?: string;
12061
+ /** @description The associated description */
12062
+ description?: string;
12063
+ /** @description Meta data information */
12064
+ meta?: {
12065
+ [key: string]: unknown;
12066
+ };
12067
+ /** @description The instance ID */
12068
+ id: string;
12069
+ /** @description The timestamp (ms) when the instance was created */
12070
+ createdAt: number;
12071
+ /** @description The timestamp (ms) when the instance was updated */
12072
+ updatedAt: number;
12073
+ /** @description The ID of the blueprint */
12074
+ blueprintId?: string;
12075
+ /**
12076
+ * @description The file visibility
12077
+ * @enum {string}
12078
+ */
12079
+ visibility?: "private" | "protected" | "public";
12080
+ };
12081
+ };
12082
+ };
12083
+ };
12084
+ /** @description An error response */
12085
+ default: {
12086
+ headers: {
12087
+ [name: string]: unknown;
12088
+ };
12089
+ content?: never;
12090
+ };
12091
+ };
12092
+ };
12093
+ deleteDiscordIntegration: {
12094
+ parameters: {
12095
+ query?: never;
12096
+ header?: never;
12097
+ path: {
12098
+ discordIntegrationId: string;
12099
+ };
12100
+ cookie?: never;
12101
+ };
12102
+ requestBody: {
12103
+ content: {
12104
+ "application/json": Record<string, never>;
12105
+ };
12106
+ };
12107
+ responses: {
12108
+ /** @description The Discord integration was deleted successfully */
12109
+ 200: {
12110
+ headers: {
12111
+ [name: string]: unknown;
12112
+ };
12113
+ content: {
12114
+ "application/json": {
12115
+ /** @description The ID of the deleted Discord integration */
12116
+ id: string;
12117
+ };
12118
+ };
12119
+ };
12120
+ /** @description An error response */
12121
+ default: {
12122
+ headers: {
12123
+ [name: string]: unknown;
12124
+ };
12125
+ content?: never;
12126
+ };
12127
+ };
12128
+ };
12129
+ fetchDiscordIntegration: {
12130
+ parameters: {
12131
+ query?: never;
12132
+ header?: never;
12133
+ path: {
12134
+ discordIntegrationId: string;
12135
+ };
12136
+ cookie?: never;
12137
+ };
12138
+ requestBody?: never;
12139
+ responses: {
12140
+ /** @description The Discord integration was retrieved successfully */
10966
12141
  200: {
10967
12142
  headers: {
10968
12143
  [name: string]: unknown;
@@ -10983,13 +12158,18 @@ export interface operations {
10983
12158
  createdAt: number;
10984
12159
  /** @description The timestamp (ms) when the instance was updated */
10985
12160
  updatedAt: number;
10986
- /** @description The ID of the blueprint */
10987
- blueprintId?: string;
10988
- /**
10989
- * @description The file visibility
10990
- * @enum {string}
10991
- */
10992
- visibility?: "private" | "protected" | "public";
12161
+ /** @description The ID of the bot this configuration is using */
12162
+ botId?: string;
12163
+ /** @description The ID of the blueprint */
12164
+ blueprintId?: string;
12165
+ /** @description The Discord application ID */
12166
+ appId?: string;
12167
+ /** @description The Discord command handle */
12168
+ handle?: string;
12169
+ /** @description Weather to collect contacts */
12170
+ contactCollection?: boolean;
12171
+ /** @description The chat session duration */
12172
+ sessionDuration?: number;
10993
12173
  };
10994
12174
  };
10995
12175
  };
@@ -11002,12 +12182,12 @@ export interface operations {
11002
12182
  };
11003
12183
  };
11004
12184
  };
11005
- syncFile: {
12185
+ setupDiscordIntegration: {
11006
12186
  parameters: {
11007
12187
  query?: never;
11008
12188
  header?: never;
11009
12189
  path: {
11010
- fileId: string;
12190
+ discordIntegrationId: string;
11011
12191
  };
11012
12192
  cookie?: never;
11013
12193
  };
@@ -11017,14 +12197,14 @@ export interface operations {
11017
12197
  };
11018
12198
  };
11019
12199
  responses: {
11020
- /** @description The file was synced successfully */
12200
+ /** @description The Discord integration was setup successfully */
11021
12201
  200: {
11022
12202
  headers: {
11023
12203
  [name: string]: unknown;
11024
12204
  };
11025
12205
  content: {
11026
12206
  "application/json": {
11027
- /** @description The ID of the file */
12207
+ /** @description The ID of the setup Discord integration */
11028
12208
  id: string;
11029
12209
  };
11030
12210
  };
@@ -11038,12 +12218,12 @@ export interface operations {
11038
12218
  };
11039
12219
  };
11040
12220
  };
11041
- updateFile: {
12221
+ updateDiscordIntegration: {
11042
12222
  parameters: {
11043
12223
  query?: never;
11044
12224
  header?: never;
11045
12225
  path: {
11046
- fileId: string;
12226
+ discordIntegrationId: string;
11047
12227
  };
11048
12228
  cookie?: never;
11049
12229
  };
@@ -11060,90 +12240,33 @@ export interface operations {
11060
12240
  };
11061
12241
  /** @description The ID of the blueprint */
11062
12242
  blueprintId?: string;
11063
- /**
11064
- * @description The file visibility
11065
- * @enum {string}
11066
- */
11067
- visibility?: "private" | "protected" | "public";
11068
- };
11069
- };
11070
- };
11071
- responses: {
11072
- /** @description The file was updated successfully */
11073
- 200: {
11074
- headers: {
11075
- [name: string]: unknown;
11076
- };
11077
- content: {
11078
- "application/json": {
11079
- /** @description The ID of the updated file */
11080
- id: string;
11081
- };
11082
- };
11083
- };
11084
- /** @description An error response */
11085
- default: {
11086
- headers: {
11087
- [name: string]: unknown;
11088
- };
11089
- content?: never;
11090
- };
11091
- };
11092
- };
11093
- uploadFile: {
11094
- parameters: {
11095
- query?: never;
11096
- header?: never;
11097
- path: {
11098
- fileId: string;
11099
- };
11100
- cookie?: never;
11101
- };
11102
- requestBody: {
11103
- content: {
11104
- "application/json": {
11105
- /** @description The file to upload either as http: or data: URL */
11106
- file?: string;
11107
- } | {
11108
- /** @description The file definition to upload */
11109
- file?: {
11110
- /** @description The file type */
11111
- type: string;
11112
- /** @description The file size */
11113
- size: number;
11114
- /** @description The file name */
11115
- name?: string;
11116
- };
11117
- };
11118
- "multipart/form-data": {
11119
- /**
11120
- * Format: binary
11121
- * @description The file to upload
11122
- */
11123
- file: string;
12243
+ /** @description The ID of the bot this configuration is using */
12244
+ botId?: string;
12245
+ /** @description The Discord application ID */
12246
+ appId?: string;
12247
+ /** @description The Discord bot token */
12248
+ botToken?: string;
12249
+ /** @description The Discord public key */
12250
+ publicKey?: string;
12251
+ /** @description The Discord command handle */
12252
+ handle?: string;
12253
+ /** @description Weather to collect contacts */
12254
+ contactCollection?: boolean;
12255
+ /** @description The chat session duration */
12256
+ sessionDuration?: number;
11124
12257
  };
11125
- "*/*": string;
11126
12258
  };
11127
12259
  };
11128
12260
  responses: {
11129
- /** @description The file was upload successfully */
12261
+ /** @description The Discord integration was updated successfully */
11130
12262
  200: {
11131
12263
  headers: {
11132
12264
  [name: string]: unknown;
11133
12265
  };
11134
12266
  content: {
11135
12267
  "application/json": {
11136
- /** @description The ID of the upload file */
12268
+ /** @description The ID of the Discord Integration */
11137
12269
  id: string;
11138
- /** @description The request required to upload the file */
11139
- uploadRequest?: {
11140
- /** @description The HTTP method to use */
11141
- method: string;
11142
- /** @description The HTTP url to use */
11143
- url: string;
11144
- /** @description The HTTP headers to use */
11145
- headers: Record<string, never>;
11146
- };
11147
12270
  };
11148
12271
  };
11149
12272
  };
@@ -11156,7 +12279,7 @@ export interface operations {
11156
12279
  };
11157
12280
  };
11158
12281
  };
11159
- createFile: {
12282
+ createDiscordIntegration: {
11160
12283
  parameters: {
11161
12284
  query?: never;
11162
12285
  header?: never;
@@ -11176,23 +12299,32 @@ export interface operations {
11176
12299
  };
11177
12300
  /** @description The ID of the blueprint */
11178
12301
  blueprintId?: string;
11179
- /**
11180
- * @description The file visibility
11181
- * @enum {string}
11182
- */
11183
- visibility?: "private" | "protected" | "public";
12302
+ /** @description The ID of the bot this configuration is using */
12303
+ botId?: string;
12304
+ /** @description The Discord application ID */
12305
+ appId?: string;
12306
+ /** @description The Discord bot token */
12307
+ botToken?: string;
12308
+ /** @description The Discord public key */
12309
+ publicKey?: string;
12310
+ /** @description The Discord command handle */
12311
+ handle?: string;
12312
+ /** @description Weather to collect contacts */
12313
+ contactCollection?: boolean;
12314
+ /** @description The chat session duration */
12315
+ sessionDuration?: number;
11184
12316
  };
11185
12317
  };
11186
12318
  };
11187
12319
  responses: {
11188
- /** @description The file was created successfully */
12320
+ /** @description The Discord integration was created successfully */
11189
12321
  200: {
11190
12322
  headers: {
11191
12323
  [name: string]: unknown;
11192
12324
  };
11193
12325
  content: {
11194
12326
  "application/json": {
11195
- /** @description The ID of the created file */
12327
+ /** @description The ID of the Discord Integration */
11196
12328
  id: string;
11197
12329
  };
11198
12330
  };
@@ -11206,7 +12338,7 @@ export interface operations {
11206
12338
  };
11207
12339
  };
11208
12340
  };
11209
- listFiles: {
12341
+ listDiscordIntegrations: {
11210
12342
  parameters: {
11211
12343
  query?: {
11212
12344
  cursor?: string;
@@ -11222,7 +12354,7 @@ export interface operations {
11222
12354
  };
11223
12355
  requestBody?: never;
11224
12356
  responses: {
11225
- /** @description The list of files was retrieved successfully */
12357
+ /** @description The list of Discord integrations was retrieved successfully */
11226
12358
  200: {
11227
12359
  headers: {
11228
12360
  [name: string]: unknown;
@@ -11244,13 +12376,18 @@ export interface operations {
11244
12376
  createdAt: number;
11245
12377
  /** @description The timestamp (ms) when the instance was updated */
11246
12378
  updatedAt: number;
12379
+ /** @description The ID of the bot this configuration is using */
12380
+ botId?: string;
11247
12381
  /** @description The ID of the blueprint */
11248
12382
  blueprintId?: string;
11249
- /**
11250
- * @description The file visibility
11251
- * @enum {string}
11252
- */
11253
- visibility?: "private" | "protected" | "public";
12383
+ /** @description The Discord application ID */
12384
+ appId?: string;
12385
+ /** @description The Discord command handle */
12386
+ handle?: string;
12387
+ /** @description Weather to collect contacts */
12388
+ contactCollection?: boolean;
12389
+ /** @description The chat session duration */
12390
+ sessionDuration?: number;
11254
12391
  }[];
11255
12392
  };
11256
12393
  "application/jsonl": {
@@ -11275,13 +12412,18 @@ export interface operations {
11275
12412
  createdAt: number;
11276
12413
  /** @description The timestamp (ms) when the instance was updated */
11277
12414
  updatedAt: number;
12415
+ /** @description The ID of the bot this configuration is using */
12416
+ botId?: string;
11278
12417
  /** @description The ID of the blueprint */
11279
12418
  blueprintId?: string;
11280
- /**
11281
- * @description The file visibility
11282
- * @enum {string}
11283
- */
11284
- visibility?: "private" | "protected" | "public";
12419
+ /** @description The Discord application ID */
12420
+ appId?: string;
12421
+ /** @description The Discord command handle */
12422
+ handle?: string;
12423
+ /** @description Weather to collect contacts */
12424
+ contactCollection?: boolean;
12425
+ /** @description The chat session duration */
12426
+ sessionDuration?: number;
11285
12427
  };
11286
12428
  };
11287
12429
  };
@@ -11295,12 +12437,12 @@ export interface operations {
11295
12437
  };
11296
12438
  };
11297
12439
  };
11298
- deleteDiscordIntegration: {
12440
+ deleteEmailIntegration: {
11299
12441
  parameters: {
11300
12442
  query?: never;
11301
12443
  header?: never;
11302
12444
  path: {
11303
- discordIntegrationId: string;
12445
+ emailIntegrationId: string;
11304
12446
  };
11305
12447
  cookie?: never;
11306
12448
  };
@@ -11310,14 +12452,14 @@ export interface operations {
11310
12452
  };
11311
12453
  };
11312
12454
  responses: {
11313
- /** @description The Discord integration was deleted successfully */
12455
+ /** @description The Email integration was deleted successfully */
11314
12456
  200: {
11315
12457
  headers: {
11316
12458
  [name: string]: unknown;
11317
12459
  };
11318
12460
  content: {
11319
12461
  "application/json": {
11320
- /** @description The ID of the deleted Discord integration */
12462
+ /** @description The ID of the deleted Email integration */
11321
12463
  id: string;
11322
12464
  };
11323
12465
  };
@@ -11331,18 +12473,18 @@ export interface operations {
11331
12473
  };
11332
12474
  };
11333
12475
  };
11334
- fetchDiscordIntegration: {
12476
+ fetchEmailIntegration: {
11335
12477
  parameters: {
11336
12478
  query?: never;
11337
12479
  header?: never;
11338
12480
  path: {
11339
- discordIntegrationId: string;
12481
+ emailIntegrationId: string;
11340
12482
  };
11341
12483
  cookie?: never;
11342
12484
  };
11343
12485
  requestBody?: never;
11344
12486
  responses: {
11345
- /** @description The Discord integration was retrieved successfully */
12487
+ /** @description The Email integration was retrieved successfully */
11346
12488
  200: {
11347
12489
  headers: {
11348
12490
  [name: string]: unknown;
@@ -11367,14 +12509,12 @@ export interface operations {
11367
12509
  botId?: string;
11368
12510
  /** @description The ID of the blueprint */
11369
12511
  blueprintId?: string;
11370
- /** @description The Discord application ID */
11371
- appId?: string;
11372
- /** @description The Discord command handle */
11373
- handle?: string;
11374
12512
  /** @description Weather to collect contacts */
11375
12513
  contactCollection?: boolean;
11376
- /** @description The chat session duration */
12514
+ /** @description The session duration (in milliseconds) */
11377
12515
  sessionDuration?: number;
12516
+ /** @description Weather the bot supports attachments */
12517
+ attachments?: boolean;
11378
12518
  };
11379
12519
  };
11380
12520
  };
@@ -11387,12 +12527,12 @@ export interface operations {
11387
12527
  };
11388
12528
  };
11389
12529
  };
11390
- setupDiscordIntegration: {
12530
+ setupEmailIntegration: {
11391
12531
  parameters: {
11392
12532
  query?: never;
11393
12533
  header?: never;
11394
12534
  path: {
11395
- discordIntegrationId: string;
12535
+ emailIntegrationId: string;
11396
12536
  };
11397
12537
  cookie?: never;
11398
12538
  };
@@ -11402,14 +12542,14 @@ export interface operations {
11402
12542
  };
11403
12543
  };
11404
12544
  responses: {
11405
- /** @description The Discord integration was setup successfully */
12545
+ /** @description The Email integration was successfully setup */
11406
12546
  200: {
11407
12547
  headers: {
11408
12548
  [name: string]: unknown;
11409
12549
  };
11410
12550
  content: {
11411
12551
  "application/json": {
11412
- /** @description The ID of the setup Discord integration */
12552
+ /** @description The ID of the Email Integration */
11413
12553
  id: string;
11414
12554
  };
11415
12555
  };
@@ -11423,12 +12563,12 @@ export interface operations {
11423
12563
  };
11424
12564
  };
11425
12565
  };
11426
- updateDiscordIntegration: {
12566
+ updateEmailIntegration: {
11427
12567
  parameters: {
11428
12568
  query?: never;
11429
12569
  header?: never;
11430
12570
  path: {
11431
- discordIntegrationId: string;
12571
+ emailIntegrationId: string;
11432
12572
  };
11433
12573
  cookie?: never;
11434
12574
  };
@@ -11447,30 +12587,24 @@ export interface operations {
11447
12587
  blueprintId?: string;
11448
12588
  /** @description The ID of the bot this configuration is using */
11449
12589
  botId?: string;
11450
- /** @description The Discord application ID */
11451
- appId?: string;
11452
- /** @description The Discord bot token */
11453
- botToken?: string;
11454
- /** @description The Discord public key */
11455
- publicKey?: string;
11456
- /** @description The Discord command handle */
11457
- handle?: string;
11458
12590
  /** @description Weather to collect contacts */
11459
12591
  contactCollection?: boolean;
11460
- /** @description The chat session duration */
12592
+ /** @description The session duration (in milliseconds) */
11461
12593
  sessionDuration?: number;
12594
+ /** @description Weather the bot supports attachments */
12595
+ attachments?: boolean;
11462
12596
  };
11463
12597
  };
11464
12598
  };
11465
12599
  responses: {
11466
- /** @description The Discord integration was updated successfully */
12600
+ /** @description The Email integration was updated successfully */
11467
12601
  200: {
11468
12602
  headers: {
11469
12603
  [name: string]: unknown;
11470
12604
  };
11471
12605
  content: {
11472
12606
  "application/json": {
11473
- /** @description The ID of the Discord Integration */
12607
+ /** @description The ID of the Email Integration */
11474
12608
  id: string;
11475
12609
  };
11476
12610
  };
@@ -11484,7 +12618,7 @@ export interface operations {
11484
12618
  };
11485
12619
  };
11486
12620
  };
11487
- createDiscordIntegration: {
12621
+ createEmailIntegration: {
11488
12622
  parameters: {
11489
12623
  query?: never;
11490
12624
  header?: never;
@@ -11506,30 +12640,24 @@ export interface operations {
11506
12640
  blueprintId?: string;
11507
12641
  /** @description The ID of the bot this configuration is using */
11508
12642
  botId?: string;
11509
- /** @description The Discord application ID */
11510
- appId?: string;
11511
- /** @description The Discord bot token */
11512
- botToken?: string;
11513
- /** @description The Discord public key */
11514
- publicKey?: string;
11515
- /** @description The Discord command handle */
11516
- handle?: string;
11517
12643
  /** @description Weather to collect contacts */
11518
12644
  contactCollection?: boolean;
11519
- /** @description The chat session duration */
12645
+ /** @description The session duration (in milliseconds) */
11520
12646
  sessionDuration?: number;
12647
+ /** @description Weather the bot supports attachments */
12648
+ attachments?: boolean;
11521
12649
  };
11522
12650
  };
11523
12651
  };
11524
12652
  responses: {
11525
- /** @description The Discord integration was created successfully */
12653
+ /** @description The Email integration was created successfully */
11526
12654
  200: {
11527
12655
  headers: {
11528
12656
  [name: string]: unknown;
11529
12657
  };
11530
12658
  content: {
11531
12659
  "application/json": {
11532
- /** @description The ID of the Discord Integration */
12660
+ /** @description The ID of the Email Integration */
11533
12661
  id: string;
11534
12662
  };
11535
12663
  };
@@ -11543,7 +12671,7 @@ export interface operations {
11543
12671
  };
11544
12672
  };
11545
12673
  };
11546
- listDiscordIntegrations: {
12674
+ listEmailIntegrations: {
11547
12675
  parameters: {
11548
12676
  query?: {
11549
12677
  cursor?: string;
@@ -11559,7 +12687,7 @@ export interface operations {
11559
12687
  };
11560
12688
  requestBody?: never;
11561
12689
  responses: {
11562
- /** @description The list of Discord integrations was retrieved successfully */
12690
+ /** @description The list of Email integrations was retrieved successfully */
11563
12691
  200: {
11564
12692
  headers: {
11565
12693
  [name: string]: unknown;
@@ -11585,14 +12713,12 @@ export interface operations {
11585
12713
  botId?: string;
11586
12714
  /** @description The ID of the blueprint */
11587
12715
  blueprintId?: string;
11588
- /** @description The Discord application ID */
11589
- appId?: string;
11590
- /** @description The Discord command handle */
11591
- handle?: string;
11592
12716
  /** @description Weather to collect contacts */
11593
12717
  contactCollection?: boolean;
11594
- /** @description The chat session duration */
12718
+ /** @description The session duration (in milliseconds) */
11595
12719
  sessionDuration?: number;
12720
+ /** @description Weather the bot supports attachments */
12721
+ attachments?: boolean;
11596
12722
  }[];
11597
12723
  };
11598
12724
  "application/jsonl": {
@@ -11619,16 +12745,14 @@ export interface operations {
11619
12745
  updatedAt: number;
11620
12746
  /** @description The ID of the bot this configuration is using */
11621
12747
  botId?: string;
11622
- /** @description The ID of the blueprint */
11623
- blueprintId?: string;
11624
- /** @description The Discord application ID */
11625
- appId?: string;
11626
- /** @description The Discord command handle */
11627
- handle?: string;
12748
+ /** @description The ID of the blueprint */
12749
+ blueprintId?: string;
11628
12750
  /** @description Weather to collect contacts */
11629
12751
  contactCollection?: boolean;
11630
- /** @description The chat session duration */
12752
+ /** @description The session duration (in milliseconds) */
11631
12753
  sessionDuration?: number;
12754
+ /** @description Weather the bot supports attachments */
12755
+ attachments?: boolean;
11632
12756
  };
11633
12757
  };
11634
12758
  };
@@ -11642,12 +12766,12 @@ export interface operations {
11642
12766
  };
11643
12767
  };
11644
12768
  };
11645
- deleteEmailIntegration: {
12769
+ deleteExtractIntegration: {
11646
12770
  parameters: {
11647
12771
  query?: never;
11648
12772
  header?: never;
11649
12773
  path: {
11650
- emailIntegrationId: string;
12774
+ extractIntegrationId: string;
11651
12775
  };
11652
12776
  cookie?: never;
11653
12777
  };
@@ -11657,14 +12781,14 @@ export interface operations {
11657
12781
  };
11658
12782
  };
11659
12783
  responses: {
11660
- /** @description The Email integration was deleted successfully */
12784
+ /** @description The Extract integration was deleted successfully */
11661
12785
  200: {
11662
12786
  headers: {
11663
12787
  [name: string]: unknown;
11664
12788
  };
11665
12789
  content: {
11666
12790
  "application/json": {
11667
- /** @description The ID of the deleted Email integration */
12791
+ /** @description The ID of the deleted Extract integration */
11668
12792
  id: string;
11669
12793
  };
11670
12794
  };
@@ -11678,18 +12802,18 @@ export interface operations {
11678
12802
  };
11679
12803
  };
11680
12804
  };
11681
- fetchEmailIntegration: {
12805
+ fetchExtractIntegration: {
11682
12806
  parameters: {
11683
12807
  query?: never;
11684
12808
  header?: never;
11685
12809
  path: {
11686
- emailIntegrationId: string;
12810
+ extractIntegrationId: string;
11687
12811
  };
11688
12812
  cookie?: never;
11689
12813
  };
11690
12814
  requestBody?: never;
11691
12815
  responses: {
11692
- /** @description The Email integration was retrieved successfully */
12816
+ /** @description The Extract integration was retrieved successfully */
11693
12817
  200: {
11694
12818
  headers: {
11695
12819
  [name: string]: unknown;
@@ -11710,52 +12834,16 @@ export interface operations {
11710
12834
  createdAt: number;
11711
12835
  /** @description The timestamp (ms) when the instance was updated */
11712
12836
  updatedAt: number;
11713
- /** @description The ID of the bot this configuration is using */
11714
- botId?: string;
11715
12837
  /** @description The ID of the blueprint */
11716
12838
  blueprintId?: string;
11717
- /** @description Weather to collect contacts */
11718
- contactCollection?: boolean;
11719
- /** @description The session duration (in milliseconds) */
11720
- sessionDuration?: number;
11721
- /** @description Weather the bot supports attachments */
11722
- attachments?: boolean;
11723
- };
11724
- };
11725
- };
11726
- /** @description An error response */
11727
- default: {
11728
- headers: {
11729
- [name: string]: unknown;
11730
- };
11731
- content?: never;
11732
- };
11733
- };
11734
- };
11735
- setupEmailIntegration: {
11736
- parameters: {
11737
- query?: never;
11738
- header?: never;
11739
- path: {
11740
- emailIntegrationId: string;
11741
- };
11742
- cookie?: never;
11743
- };
11744
- requestBody: {
11745
- content: {
11746
- "application/json": Record<string, never>;
11747
- };
11748
- };
11749
- responses: {
11750
- /** @description The Email integration was successfully setup */
11751
- 200: {
11752
- headers: {
11753
- [name: string]: unknown;
11754
- };
11755
- content: {
11756
- "application/json": {
11757
- /** @description The ID of the Email Integration */
11758
- id: string;
12839
+ /** @description The ID of the Bot to use */
12840
+ botId: string;
12841
+ /** @description The configured extraction schema */
12842
+ schema?: {
12843
+ [key: string]: unknown;
12844
+ };
12845
+ /** @description Optional webhook to receive the extracted data */
12846
+ request?: string;
11759
12847
  };
11760
12848
  };
11761
12849
  };
@@ -11768,12 +12856,12 @@ export interface operations {
11768
12856
  };
11769
12857
  };
11770
12858
  };
11771
- updateEmailIntegration: {
12859
+ updateExtractIntegration: {
11772
12860
  parameters: {
11773
12861
  query?: never;
11774
12862
  header?: never;
11775
12863
  path: {
11776
- emailIntegrationId: string;
12864
+ extractIntegrationId: string;
11777
12865
  };
11778
12866
  cookie?: never;
11779
12867
  };
@@ -11790,26 +12878,28 @@ export interface operations {
11790
12878
  };
11791
12879
  /** @description The ID of the blueprint */
11792
12880
  blueprintId?: string;
11793
- /** @description The ID of the bot this configuration is using */
12881
+ /** @description The ID of the Bot to use */
11794
12882
  botId?: string;
11795
- /** @description Weather to collect contacts */
11796
- contactCollection?: boolean;
11797
- /** @description The session duration (in milliseconds) */
11798
- sessionDuration?: number;
11799
- /** @description Weather the bot supports attachments */
11800
- attachments?: boolean;
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;
11801
12891
  };
11802
12892
  };
11803
12893
  };
11804
12894
  responses: {
11805
- /** @description The Email integration was updated successfully */
12895
+ /** @description The Extract integration was updated successfully */
11806
12896
  200: {
11807
12897
  headers: {
11808
12898
  [name: string]: unknown;
11809
12899
  };
11810
12900
  content: {
11811
12901
  "application/json": {
11812
- /** @description The ID of the Email Integration */
12902
+ /** @description The ID of the Extract Integration */
11813
12903
  id: string;
11814
12904
  };
11815
12905
  };
@@ -11823,7 +12913,7 @@ export interface operations {
11823
12913
  };
11824
12914
  };
11825
12915
  };
11826
- createEmailIntegration: {
12916
+ createExtractIntegration: {
11827
12917
  parameters: {
11828
12918
  query?: never;
11829
12919
  header?: never;
@@ -11843,26 +12933,28 @@ export interface operations {
11843
12933
  };
11844
12934
  /** @description The ID of the blueprint */
11845
12935
  blueprintId?: string;
11846
- /** @description The ID of the bot this configuration is using */
12936
+ /** @description The ID of the Bot to use */
11847
12937
  botId?: string;
11848
- /** @description Weather to collect contacts */
11849
- contactCollection?: boolean;
11850
- /** @description The session duration (in milliseconds) */
11851
- sessionDuration?: number;
11852
- /** @description Weather the bot supports attachments */
11853
- attachments?: boolean;
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;
11854
12946
  };
11855
12947
  };
11856
12948
  };
11857
12949
  responses: {
11858
- /** @description The Email integration was created successfully */
12950
+ /** @description The Extract integration was created successfully */
11859
12951
  200: {
11860
12952
  headers: {
11861
12953
  [name: string]: unknown;
11862
12954
  };
11863
12955
  content: {
11864
12956
  "application/json": {
11865
- /** @description The ID of the Email Integration */
12957
+ /** @description The ID of the Extract Integration */
11866
12958
  id: string;
11867
12959
  };
11868
12960
  };
@@ -11876,7 +12968,7 @@ export interface operations {
11876
12968
  };
11877
12969
  };
11878
12970
  };
11879
- listEmailIntegrations: {
12971
+ listExtractIntegrations: {
11880
12972
  parameters: {
11881
12973
  query?: {
11882
12974
  cursor?: string;
@@ -11892,7 +12984,7 @@ export interface operations {
11892
12984
  };
11893
12985
  requestBody?: never;
11894
12986
  responses: {
11895
- /** @description The list of Email integrations was retrieved successfully */
12987
+ /** @description The list of Extract integrations was retrieved successfully */
11896
12988
  200: {
11897
12989
  headers: {
11898
12990
  [name: string]: unknown;
@@ -11914,16 +13006,16 @@ export interface operations {
11914
13006
  createdAt: number;
11915
13007
  /** @description The timestamp (ms) when the instance was updated */
11916
13008
  updatedAt: number;
11917
- /** @description The ID of the bot this configuration is using */
11918
- botId?: string;
11919
13009
  /** @description The ID of the blueprint */
11920
13010
  blueprintId?: string;
11921
- /** @description Weather to collect contacts */
11922
- contactCollection?: boolean;
11923
- /** @description The session duration (in milliseconds) */
11924
- sessionDuration?: number;
11925
- /** @description Weather the bot supports attachments */
11926
- attachments?: boolean;
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;
11927
13019
  }[];
11928
13020
  };
11929
13021
  "application/jsonl": {
@@ -11948,16 +13040,16 @@ export interface operations {
11948
13040
  createdAt: number;
11949
13041
  /** @description The timestamp (ms) when the instance was updated */
11950
13042
  updatedAt: number;
11951
- /** @description The ID of the bot this configuration is using */
11952
- botId?: string;
11953
13043
  /** @description The ID of the blueprint */
11954
13044
  blueprintId?: string;
11955
- /** @description Weather to collect contacts */
11956
- contactCollection?: boolean;
11957
- /** @description The session duration (in milliseconds) */
11958
- sessionDuration?: number;
11959
- /** @description Weather the bot supports attachments */
11960
- attachments?: boolean;
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;
11961
13053
  };
11962
13054
  };
11963
13055
  };
@@ -11971,12 +13063,12 @@ export interface operations {
11971
13063
  };
11972
13064
  };
11973
13065
  };
11974
- deleteExtractIntegration: {
13066
+ deleteInstagramIntegration: {
11975
13067
  parameters: {
11976
13068
  query?: never;
11977
13069
  header?: never;
11978
13070
  path: {
11979
- extractIntegrationId: string;
13071
+ instagramIntegrationId: string;
11980
13072
  };
11981
13073
  cookie?: never;
11982
13074
  };
@@ -11986,14 +13078,14 @@ export interface operations {
11986
13078
  };
11987
13079
  };
11988
13080
  responses: {
11989
- /** @description The Extract integration was deleted successfully */
13081
+ /** @description The Instagram integration was deleted successfully */
11990
13082
  200: {
11991
13083
  headers: {
11992
13084
  [name: string]: unknown;
11993
13085
  };
11994
13086
  content: {
11995
13087
  "application/json": {
11996
- /** @description The ID of the deleted Extract integration */
13088
+ /** @description The ID of the deleted Instagram integration */
11997
13089
  id: string;
11998
13090
  };
11999
13091
  };
@@ -12007,18 +13099,18 @@ export interface operations {
12007
13099
  };
12008
13100
  };
12009
13101
  };
12010
- fetchExtractIntegration: {
13102
+ fetchInstagramIntegration: {
12011
13103
  parameters: {
12012
13104
  query?: never;
12013
13105
  header?: never;
12014
13106
  path: {
12015
- extractIntegrationId: string;
13107
+ instagramIntegrationId: string;
12016
13108
  };
12017
13109
  cookie?: never;
12018
13110
  };
12019
13111
  requestBody?: never;
12020
13112
  responses: {
12021
- /** @description The Extract integration was retrieved successfully */
13113
+ /** @description The Instagram integration was retrieved successfully */
12022
13114
  200: {
12023
13115
  headers: {
12024
13116
  [name: string]: unknown;
@@ -12039,16 +13131,20 @@ export interface operations {
12039
13131
  createdAt: number;
12040
13132
  /** @description The timestamp (ms) when the instance was updated */
12041
13133
  updatedAt: number;
13134
+ /** @description The ID of the bot this configuration is using */
13135
+ botId?: string;
12042
13136
  /** @description The ID of the blueprint */
12043
13137
  blueprintId?: string;
12044
- /** @description The ID of the Bot to use */
12045
- botId: string;
12046
- /** @description The configured extraction schema */
12047
- schema?: {
12048
- [key: string]: unknown;
12049
- };
12050
- /** @description Optional webhook to receive the extracted data */
12051
- request?: 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;
12052
13148
  };
12053
13149
  };
12054
13150
  };
@@ -12061,12 +13157,48 @@ export interface operations {
12061
13157
  };
12062
13158
  };
12063
13159
  };
12064
- updateExtractIntegration: {
13160
+ setupInstagramIntegration: {
12065
13161
  parameters: {
12066
13162
  query?: never;
12067
13163
  header?: never;
12068
13164
  path: {
12069
- extractIntegrationId: string;
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: {
13197
+ parameters: {
13198
+ query?: never;
13199
+ header?: never;
13200
+ path: {
13201
+ instagramIntegrationId: string;
12070
13202
  };
12071
13203
  cookie?: never;
12072
13204
  };
@@ -12083,26 +13215,28 @@ export interface operations {
12083
13215
  };
12084
13216
  /** @description The ID of the blueprint */
12085
13217
  blueprintId?: string;
12086
- /** @description The ID of the Bot to use */
13218
+ /** @description The ID of the bot this configuration is using */
12087
13219
  botId?: string;
12088
- /** @description The configured extraction schema */
12089
- schema?: {
12090
- [key: string]: unknown;
12091
- };
12092
- /** @description Optional webhook to receive the extracted data */
12093
- 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;
12094
13228
  };
12095
13229
  };
12096
13230
  };
12097
13231
  responses: {
12098
- /** @description The Extract integration was updated successfully */
13232
+ /** @description The Instagram integration was updated successfully */
12099
13233
  200: {
12100
13234
  headers: {
12101
13235
  [name: string]: unknown;
12102
13236
  };
12103
13237
  content: {
12104
13238
  "application/json": {
12105
- /** @description The ID of the Extract Integration */
13239
+ /** @description The ID of the Instagram Integration */
12106
13240
  id: string;
12107
13241
  };
12108
13242
  };
@@ -12116,7 +13250,7 @@ export interface operations {
12116
13250
  };
12117
13251
  };
12118
13252
  };
12119
- createExtractIntegration: {
13253
+ createInstagramIntegration: {
12120
13254
  parameters: {
12121
13255
  query?: never;
12122
13256
  header?: never;
@@ -12136,26 +13270,28 @@ export interface operations {
12136
13270
  };
12137
13271
  /** @description The ID of the blueprint */
12138
13272
  blueprintId?: string;
12139
- /** @description The ID of the Bot to use */
13273
+ /** @description The ID of the bot this configuration is using */
12140
13274
  botId?: string;
12141
- /** @description The configured extraction schema */
12142
- schema?: {
12143
- [key: string]: unknown;
12144
- };
12145
- /** @description Optional webhook to receive the extracted data */
12146
- 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;
12147
13283
  };
12148
13284
  };
12149
13285
  };
12150
13286
  responses: {
12151
- /** @description The Extract integration was created successfully */
13287
+ /** @description The Instagram integration was created successfully */
12152
13288
  200: {
12153
13289
  headers: {
12154
13290
  [name: string]: unknown;
12155
13291
  };
12156
13292
  content: {
12157
13293
  "application/json": {
12158
- /** @description The ID of the Extract Integration */
13294
+ /** @description The ID of the Instagram Integration */
12159
13295
  id: string;
12160
13296
  };
12161
13297
  };
@@ -12169,7 +13305,7 @@ export interface operations {
12169
13305
  };
12170
13306
  };
12171
13307
  };
12172
- listExtractIntegrations: {
13308
+ listInstagramIntegrations: {
12173
13309
  parameters: {
12174
13310
  query?: {
12175
13311
  cursor?: string;
@@ -12185,7 +13321,7 @@ export interface operations {
12185
13321
  };
12186
13322
  requestBody?: never;
12187
13323
  responses: {
12188
- /** @description The list of Extract integrations was retrieved successfully */
13324
+ /** @description The list of Instagram integrations was retrieved successfully */
12189
13325
  200: {
12190
13326
  headers: {
12191
13327
  [name: string]: unknown;
@@ -12207,16 +13343,20 @@ export interface operations {
12207
13343
  createdAt: number;
12208
13344
  /** @description The timestamp (ms) when the instance was updated */
12209
13345
  updatedAt: number;
13346
+ /** @description The ID of the bot this configuration is using */
13347
+ botId?: string;
12210
13348
  /** @description The ID of the blueprint */
12211
13349
  blueprintId?: string;
12212
- /** @description The ID of the Bot to use */
12213
- botId: string;
12214
- /** @description The configured extraction schema */
12215
- schema?: {
12216
- [key: string]: unknown;
12217
- };
12218
- /** @description Optional webhook to receive the extracted data */
12219
- 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;
12220
13360
  }[];
12221
13361
  };
12222
13362
  "application/jsonl": {
@@ -12241,16 +13381,20 @@ export interface operations {
12241
13381
  createdAt: number;
12242
13382
  /** @description The timestamp (ms) when the instance was updated */
12243
13383
  updatedAt: number;
13384
+ /** @description The ID of the bot this configuration is using */
13385
+ botId?: string;
12244
13386
  /** @description The ID of the blueprint */
12245
13387
  blueprintId?: string;
12246
- /** @description The ID of the Bot to use */
12247
- botId: string;
12248
- /** @description The configured extraction schema */
12249
- schema?: {
12250
- [key: string]: unknown;
12251
- };
12252
- /** @description Optional webhook to receive the extracted data */
12253
- 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;
12254
13398
  };
12255
13399
  };
12256
13400
  };
@@ -12936,8 +14080,18 @@ export interface operations {
12936
14080
  datasetId: string;
12937
14081
  /** @description The Notion API token (returned as '********' if configured, null otherwise) */
12938
14082
  token?: string;
14083
+ /**
14084
+ * @description The sync status of an integration
14085
+ * @enum {string}
14086
+ */
14087
+ syncStatus?: "pending" | "synced" | "error";
12939
14088
  /** @description The sync schedule */
12940
14089
  syncSchedule?: string;
14090
+ /**
14091
+ * Format: date-time
14092
+ * @description The timestamp of the last successful sync
14093
+ */
14094
+ lastSyncedAt?: string;
12941
14095
  /** @description The time in milliseconds until records expire */
12942
14096
  expiresIn?: number;
12943
14097
  };
@@ -13140,8 +14294,18 @@ export interface operations {
13140
14294
  datasetId: string;
13141
14295
  /** @description The Notion API token (returned as '********' if configured, null otherwise) */
13142
14296
  token?: string;
14297
+ /**
14298
+ * @description The sync status of an integration
14299
+ * @enum {string}
14300
+ */
14301
+ syncStatus?: "pending" | "synced" | "error";
13143
14302
  /** @description The sync schedule */
13144
14303
  syncSchedule?: string;
14304
+ /**
14305
+ * Format: date-time
14306
+ * @description The timestamp of the last successful sync
14307
+ */
14308
+ lastSyncedAt?: string;
13145
14309
  /** @description The time in milliseconds until records expire */
13146
14310
  expiresIn?: number;
13147
14311
  }[];
@@ -13174,8 +14338,18 @@ export interface operations {
13174
14338
  datasetId: string;
13175
14339
  /** @description The Notion API token (returned as '********' if configured, null otherwise) */
13176
14340
  token?: string;
14341
+ /**
14342
+ * @description The sync status of an integration
14343
+ * @enum {string}
14344
+ */
14345
+ syncStatus?: "pending" | "synced" | "error";
13177
14346
  /** @description The sync schedule */
13178
14347
  syncSchedule?: string;
14348
+ /**
14349
+ * Format: date-time
14350
+ * @description The timestamp of the last successful sync
14351
+ */
14352
+ lastSyncedAt?: string;
13179
14353
  /** @description The time in milliseconds until records expire */
13180
14354
  expiresIn?: number;
13181
14355
  };
@@ -13271,8 +14445,18 @@ export interface operations {
13271
14445
  selectors?: string;
13272
14446
  /** @description Indicates if the Sitemap integration should use JavaScript during the spidering process */
13273
14447
  javascript?: boolean;
14448
+ /**
14449
+ * @description The sync status of an integration
14450
+ * @enum {string}
14451
+ */
14452
+ syncStatus?: "pending" | "synced" | "error";
13274
14453
  /** @description The sync schedule to use for this Sitemap integration */
13275
14454
  syncSchedule?: string;
14455
+ /**
14456
+ * Format: date-time
14457
+ * @description The timestamp of the last successful sync
14458
+ */
14459
+ lastSyncedAt?: string;
13276
14460
  /** @description Record expiry in milliseconds */
13277
14461
  expiresIn?: number;
13278
14462
  };
@@ -13493,8 +14677,18 @@ export interface operations {
13493
14677
  selectors?: string;
13494
14678
  /** @description Indicates if the Sitemap integration should use JavaScript during the spidering process */
13495
14679
  javascript?: boolean;
14680
+ /**
14681
+ * @description The sync status of an integration
14682
+ * @enum {string}
14683
+ */
14684
+ syncStatus?: "pending" | "synced" | "error";
13496
14685
  /** @description The sync schedule to use for this Sitemap integration */
13497
14686
  syncSchedule?: string;
14687
+ /**
14688
+ * Format: date-time
14689
+ * @description The timestamp of the last successful sync
14690
+ */
14691
+ lastSyncedAt?: string;
13498
14692
  /** @description Record expiry in milliseconds */
13499
14693
  expiresIn?: number;
13500
14694
  }[];
@@ -13533,8 +14727,18 @@ export interface operations {
13533
14727
  selectors?: string;
13534
14728
  /** @description Indicates if the Sitemap integration should use JavaScript during the spidering process */
13535
14729
  javascript?: boolean;
14730
+ /**
14731
+ * @description The sync status of an integration
14732
+ * @enum {string}
14733
+ */
14734
+ syncStatus?: "pending" | "synced" | "error";
13536
14735
  /** @description The sync schedule to use for this Sitemap integration */
13537
14736
  syncSchedule?: string;
14737
+ /**
14738
+ * Format: date-time
14739
+ * @description The timestamp of the last successful sync
14740
+ */
14741
+ lastSyncedAt?: string;
13538
14742
  /** @description Record expiry in milliseconds */
13539
14743
  expiresIn?: number;
13540
14744
  };
@@ -17318,6 +18522,10 @@ export interface operations {
17318
18522
  secret?: string;
17319
18523
  /** @description The ID of the file associated with the ability */
17320
18524
  file?: string;
18525
+ /** @description The ID of the space associated with the ability */
18526
+ space?: string;
18527
+ /** @description The provider of the ability */
18528
+ provider?: string;
17321
18529
  icon: string;
17322
18530
  tags?: string[];
17323
18531
  setup?: string;
@@ -17369,6 +18577,10 @@ export interface operations {
17369
18577
  secret?: string;
17370
18578
  /** @description The ID of the file associated with the ability */
17371
18579
  file?: string;
18580
+ /** @description The ID of the space associated with the ability */
18581
+ space?: string;
18582
+ /** @description The provider of the ability */
18583
+ provider?: string;
17372
18584
  icon: string;
17373
18585
  tags?: string[];
17374
18586
  setup?: string;
@@ -17774,7 +18986,226 @@ export interface operations {
17774
18986
  };
17775
18987
  };
17776
18988
  };
17777
- /** @description The example was not found */
18989
+ /** @description The example was not found */
18990
+ 404: {
18991
+ headers: {
18992
+ [name: string]: unknown;
18993
+ };
18994
+ content?: never;
18995
+ };
18996
+ /** @description An error response */
18997
+ default: {
18998
+ headers: {
18999
+ [name: string]: unknown;
19000
+ };
19001
+ content?: never;
19002
+ };
19003
+ };
19004
+ };
19005
+ listPlatformExamples: {
19006
+ parameters: {
19007
+ query?: {
19008
+ cursor?: string;
19009
+ order?: "asc" | "desc";
19010
+ take?: number;
19011
+ meta?: {
19012
+ [key: string]: string;
19013
+ };
19014
+ };
19015
+ header?: never;
19016
+ path?: never;
19017
+ cookie?: never;
19018
+ };
19019
+ requestBody?: never;
19020
+ responses: {
19021
+ /** @description The list of examples was retrieved successfully */
19022
+ 200: {
19023
+ headers: {
19024
+ [name: string]: unknown;
19025
+ };
19026
+ content: {
19027
+ "application/json": {
19028
+ items: {
19029
+ /** @description The associated name */
19030
+ name: string;
19031
+ /** @description The associated description */
19032
+ description: string;
19033
+ /** @description Meta data information */
19034
+ meta?: {
19035
+ [key: string]: unknown;
19036
+ };
19037
+ /** @description The instance ID */
19038
+ id: string;
19039
+ /** @description The timestamp (ms) when the instance was created */
19040
+ createdAt: number;
19041
+ /** @description The timestamp (ms) when the instance was updated */
19042
+ updatedAt: number;
19043
+ /**
19044
+ * @description The type of the example
19045
+ * @enum {string}
19046
+ */
19047
+ type: "blueprint" | "project" | "widget" | "slack" | "discord" | "whatsapp" | "messenger" | "telegram" | "twilio" | "email" | "trigger";
19048
+ /** @description Tags associated with the example */
19049
+ tags?: string[];
19050
+ /** @description The URL to the official example page */
19051
+ link: string;
19052
+ }[];
19053
+ };
19054
+ "application/jsonl": {
19055
+ /**
19056
+ * @description The type of event
19057
+ * @enum {string}
19058
+ */
19059
+ type: "item";
19060
+ /** @description Instance list properties */
19061
+ data: {
19062
+ /** @description The associated name */
19063
+ name: string;
19064
+ /** @description The associated description */
19065
+ description: string;
19066
+ /** @description Meta data information */
19067
+ meta?: {
19068
+ [key: string]: unknown;
19069
+ };
19070
+ /** @description The instance ID */
19071
+ id: string;
19072
+ /** @description The timestamp (ms) when the instance was created */
19073
+ createdAt: number;
19074
+ /** @description The timestamp (ms) when the instance was updated */
19075
+ updatedAt: number;
19076
+ /**
19077
+ * @description The type of the example
19078
+ * @enum {string}
19079
+ */
19080
+ type: "blueprint" | "project" | "widget" | "slack" | "discord" | "whatsapp" | "messenger" | "telegram" | "twilio" | "email" | "trigger";
19081
+ /** @description Tags associated with the example */
19082
+ tags?: string[];
19083
+ /** @description The URL to the official example page */
19084
+ link: string;
19085
+ };
19086
+ };
19087
+ };
19088
+ };
19089
+ /** @description An error response */
19090
+ default: {
19091
+ headers: {
19092
+ [name: string]: unknown;
19093
+ };
19094
+ content?: never;
19095
+ };
19096
+ };
19097
+ };
19098
+ searchPlatformExamples: {
19099
+ parameters: {
19100
+ query?: never;
19101
+ header?: never;
19102
+ path?: never;
19103
+ cookie?: never;
19104
+ };
19105
+ requestBody: {
19106
+ content: {
19107
+ "application/json": {
19108
+ /** @description The search query to find relevant examples */
19109
+ search: string;
19110
+ /**
19111
+ * @description The maximum number of results to return (1-100, default 10)
19112
+ * @default 10
19113
+ */
19114
+ take?: number;
19115
+ };
19116
+ };
19117
+ };
19118
+ responses: {
19119
+ /** @description The search was successful */
19120
+ 200: {
19121
+ headers: {
19122
+ [name: string]: unknown;
19123
+ };
19124
+ content: {
19125
+ "application/json": {
19126
+ items: {
19127
+ /** @description The associated name */
19128
+ name: string;
19129
+ /** @description The associated description */
19130
+ description: string;
19131
+ /** @description Meta data information */
19132
+ meta?: {
19133
+ [key: string]: unknown;
19134
+ };
19135
+ /** @description The instance ID */
19136
+ id: string;
19137
+ /** @description The timestamp (ms) when the instance was created */
19138
+ createdAt: number;
19139
+ /** @description The timestamp (ms) when the instance was updated */
19140
+ updatedAt: number;
19141
+ /**
19142
+ * @description The type of the example
19143
+ * @enum {string}
19144
+ */
19145
+ type: "blueprint" | "project" | "widget" | "slack" | "discord" | "whatsapp" | "messenger" | "telegram" | "twilio" | "email" | "trigger";
19146
+ /** @description Tags associated with the example */
19147
+ tags?: string[];
19148
+ /** @description The URL to the official example page */
19149
+ link: string;
19150
+ }[];
19151
+ };
19152
+ };
19153
+ };
19154
+ /** @description An error response */
19155
+ default: {
19156
+ headers: {
19157
+ [name: string]: unknown;
19158
+ };
19159
+ content?: never;
19160
+ };
19161
+ };
19162
+ };
19163
+ fetchPlatformGuide: {
19164
+ parameters: {
19165
+ query?: never;
19166
+ header?: never;
19167
+ path: {
19168
+ guideId: string;
19169
+ };
19170
+ cookie?: never;
19171
+ };
19172
+ requestBody?: never;
19173
+ responses: {
19174
+ /** @description The guide was retrieved successfully */
19175
+ 200: {
19176
+ headers: {
19177
+ [name: string]: unknown;
19178
+ };
19179
+ content: {
19180
+ "application/json": {
19181
+ /** @description The associated name */
19182
+ name: string;
19183
+ /** @description The associated description */
19184
+ description?: string;
19185
+ /** @description Meta data information */
19186
+ meta?: {
19187
+ [key: string]: unknown;
19188
+ };
19189
+ /** @description The instance ID */
19190
+ id: string;
19191
+ /** @description The timestamp (ms) when the instance was created */
19192
+ createdAt: number;
19193
+ /** @description The timestamp (ms) when the instance was updated */
19194
+ updatedAt: number;
19195
+ /** @description The category of the guide */
19196
+ category?: string;
19197
+ /** @description Tags associated with the guide */
19198
+ tags?: string[];
19199
+ /** @description The display order index */
19200
+ index?: number;
19201
+ /** @description The markdown content of the guide */
19202
+ content: string;
19203
+ /** @description The URL to the official guide page */
19204
+ link?: string;
19205
+ };
19206
+ };
19207
+ };
19208
+ /** @description Guide not found */
17778
19209
  404: {
17779
19210
  headers: {
17780
19211
  [name: string]: unknown;
@@ -17790,7 +19221,7 @@ export interface operations {
17790
19221
  };
17791
19222
  };
17792
19223
  };
17793
- listPlatformExamples: {
19224
+ listPlatformGuides: {
17794
19225
  parameters: {
17795
19226
  query?: {
17796
19227
  cursor?: string;
@@ -17806,7 +19237,7 @@ export interface operations {
17806
19237
  };
17807
19238
  requestBody?: never;
17808
19239
  responses: {
17809
- /** @description The list of examples was retrieved successfully */
19240
+ /** @description The list of guides was retrieved successfully */
17810
19241
  200: {
17811
19242
  headers: {
17812
19243
  [name: string]: unknown;
@@ -17828,14 +19259,13 @@ export interface operations {
17828
19259
  createdAt: number;
17829
19260
  /** @description The timestamp (ms) when the instance was updated */
17830
19261
  updatedAt: number;
17831
- /**
17832
- * @description The type of the example
17833
- * @enum {string}
17834
- */
17835
- type: "blueprint" | "project" | "widget" | "slack" | "discord" | "whatsapp" | "messenger" | "telegram" | "twilio" | "email" | "trigger";
17836
- /** @description Tags associated with the example */
17837
- tags?: string[];
17838
- /** @description The URL to the official example page */
19262
+ /** @description The category of the guide */
19263
+ category?: string;
19264
+ /** @description Tags associated with the guide */
19265
+ tags: string[];
19266
+ /** @description The display order index */
19267
+ index: number;
19268
+ /** @description The URL to the official guide page */
17839
19269
  link: string;
17840
19270
  }[];
17841
19271
  };
@@ -17861,14 +19291,13 @@ export interface operations {
17861
19291
  createdAt: number;
17862
19292
  /** @description The timestamp (ms) when the instance was updated */
17863
19293
  updatedAt: number;
17864
- /**
17865
- * @description The type of the example
17866
- * @enum {string}
17867
- */
17868
- type: "blueprint" | "project" | "widget" | "slack" | "discord" | "whatsapp" | "messenger" | "telegram" | "twilio" | "email" | "trigger";
17869
- /** @description Tags associated with the example */
17870
- tags?: string[];
17871
- /** @description The URL to the official example page */
19294
+ /** @description The category of the guide */
19295
+ category?: string;
19296
+ /** @description Tags associated with the guide */
19297
+ tags: string[];
19298
+ /** @description The display order index */
19299
+ index: number;
19300
+ /** @description The URL to the official guide page */
17872
19301
  link: string;
17873
19302
  };
17874
19303
  };
@@ -17883,7 +19312,7 @@ export interface operations {
17883
19312
  };
17884
19313
  };
17885
19314
  };
17886
- searchPlatformExamples: {
19315
+ searchPlatformGuides: {
17887
19316
  parameters: {
17888
19317
  query?: never;
17889
19318
  header?: never;
@@ -17893,7 +19322,7 @@ export interface operations {
17893
19322
  requestBody: {
17894
19323
  content: {
17895
19324
  "application/json": {
17896
- /** @description The search query to find relevant examples */
19325
+ /** @description The search query to find relevant guides */
17897
19326
  search: string;
17898
19327
  /**
17899
19328
  * @description The maximum number of results to return (1-100, default 10)
@@ -17926,14 +19355,17 @@ export interface operations {
17926
19355
  createdAt: number;
17927
19356
  /** @description The timestamp (ms) when the instance was updated */
17928
19357
  updatedAt: number;
17929
- /**
17930
- * @description The type of the example
17931
- * @enum {string}
17932
- */
17933
- type: "blueprint" | "project" | "widget" | "slack" | "discord" | "whatsapp" | "messenger" | "telegram" | "twilio" | "email" | "trigger";
17934
- /** @description Tags associated with the example */
17935
- tags?: string[];
17936
- /** @description The URL to the official example page */
19358
+ /** @description The category of the guide */
19359
+ category?: string;
19360
+ /** @description Tags associated with the guide */
19361
+ tags: string[];
19362
+ /** @description The display order index */
19363
+ index: number;
19364
+ /** @description The similarity score of the search result */
19365
+ score: number;
19366
+ /** @description An excerpt from the most relevant part of the guide */
19367
+ excerpt: string;
19368
+ /** @description The URL to the official guide page */
17937
19369
  link: string;
17938
19370
  }[];
17939
19371
  };
@@ -19680,6 +21112,214 @@ export interface operations {
19680
21112
  };
19681
21113
  };
19682
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
+ };
19683
21323
  fetchSkillsetAbility: {
19684
21324
  parameters: {
19685
21325
  query?: never;
@@ -19721,6 +21361,8 @@ export interface operations {
19721
21361
  fileId?: string;
19722
21362
  /** @description The ID of the bot associated with the ability */
19723
21363
  botId?: string;
21364
+ /** @description The ID of the space associated with the ability */
21365
+ spaceId?: string;
19724
21366
  /** @description The instruction of the skillset ability */
19725
21367
  instruction: string;
19726
21368
  };
@@ -19764,6 +21406,8 @@ export interface operations {
19764
21406
  fileId?: string;
19765
21407
  /** @description The ID of the bot associated with the ability */
19766
21408
  botId?: string;
21409
+ /** @description The ID of the space associated with the ability */
21410
+ spaceId?: string;
19767
21411
  /** @description The text to update the ability with */
19768
21412
  instruction?: string;
19769
21413
  };
@@ -19819,6 +21463,8 @@ export interface operations {
19819
21463
  fileId?: string;
19820
21464
  /** @description The ID of the bot associated with the ability */
19821
21465
  botId?: string;
21466
+ /** @description The ID of the space associated with the ability */
21467
+ spaceId?: string;
19822
21468
  /** @description The instruction of the ability */
19823
21469
  instruction?: string;
19824
21470
  };
@@ -19891,6 +21537,8 @@ export interface operations {
19891
21537
  fileId?: string;
19892
21538
  /** @description The ID of the bot associated with the ability */
19893
21539
  botId?: string;
21540
+ /** @description The ID of the space associated with the ability */
21541
+ spaceId?: string;
19894
21542
  instruction: string;
19895
21543
  }[];
19896
21544
  };
@@ -19924,6 +21572,8 @@ export interface operations {
19924
21572
  fileId?: string;
19925
21573
  /** @description The ID of the bot associated with the ability */
19926
21574
  botId?: string;
21575
+ /** @description The ID of the space associated with the ability */
21576
+ spaceId?: string;
19927
21577
  instruction: string;
19928
21578
  };
19929
21579
  };
@@ -19984,6 +21634,8 @@ export interface operations {
19984
21634
  fileId?: string;
19985
21635
  /** @description The ID of the bot associated with the ability */
19986
21636
  botId?: string;
21637
+ /** @description The ID of the space associated with the ability */
21638
+ spaceId?: string;
19987
21639
  instruction: string;
19988
21640
  }[];
19989
21641
  };
@@ -20017,6 +21669,8 @@ export interface operations {
20017
21669
  fileId?: string;
20018
21670
  /** @description The ID of the bot associated with the ability */
20019
21671
  botId?: string;
21672
+ /** @description The ID of the space associated with the ability */
21673
+ spaceId?: string;
20020
21674
  instruction: string;
20021
21675
  };
20022
21676
  };
@@ -20341,6 +21995,8 @@ export interface operations {
20341
21995
  createdAt: number;
20342
21996
  /** @description The timestamp (ms) when the instance was updated */
20343
21997
  updatedAt: number;
21998
+ /** @description The ID of the blueprint */
21999
+ blueprintId?: string;
20344
22000
  /** @description The contact associated with the space */
20345
22001
  contactId?: string;
20346
22002
  };
@@ -20375,6 +22031,8 @@ export interface operations {
20375
22031
  meta?: {
20376
22032
  [key: string]: unknown;
20377
22033
  };
22034
+ /** @description The ID of the blueprint */
22035
+ blueprintId?: string;
20378
22036
  /** @description The contact associated with the space */
20379
22037
  contactId?: string;
20380
22038
  };
@@ -20420,6 +22078,8 @@ export interface operations {
20420
22078
  meta?: {
20421
22079
  [key: string]: unknown;
20422
22080
  };
22081
+ /** @description The ID of the blueprint */
22082
+ blueprintId?: string;
20423
22083
  /** @description The contact associated with the space */
20424
22084
  contactId?: string;
20425
22085
  };
@@ -20485,6 +22145,8 @@ export interface operations {
20485
22145
  createdAt: number;
20486
22146
  /** @description The timestamp (ms) when the instance was updated */
20487
22147
  updatedAt: number;
22148
+ /** @description The ID of the blueprint */
22149
+ blueprintId?: string;
20488
22150
  /** @description The contact associated with the space */
20489
22151
  contactId?: string;
20490
22152
  }[];
@@ -20495,7 +22157,7 @@ export interface operations {
20495
22157
  * @enum {string}
20496
22158
  */
20497
22159
  type: "item";
20498
- /** @description Instance list properties */
22160
+ /** @description Blueprint properties */
20499
22161
  data: {
20500
22162
  /** @description The associated name */
20501
22163
  name?: string;
@@ -20511,6 +22173,8 @@ export interface operations {
20511
22173
  createdAt: number;
20512
22174
  /** @description The timestamp (ms) when the instance was updated */
20513
22175
  updatedAt: number;
22176
+ /** @description The ID of the blueprint */
22177
+ blueprintId?: string;
20514
22178
  /** @description The contact associated with the space */
20515
22179
  contactId?: string;
20516
22180
  };
@@ -20565,6 +22229,8 @@ export interface operations {
20565
22229
  createdAt: number;
20566
22230
  /** @description The timestamp (ms) when the instance was updated */
20567
22231
  updatedAt: number;
22232
+ /** @description The ID of the blueprint */
22233
+ blueprintId?: string;
20568
22234
  /** @description The contact associated with the space */
20569
22235
  contactId?: string;
20570
22236
  }[];
@@ -20575,7 +22241,7 @@ export interface operations {
20575
22241
  * @enum {string}
20576
22242
  */
20577
22243
  type: "item";
20578
- /** @description Instance list properties */
22244
+ /** @description Blueprint properties */
20579
22245
  data: {
20580
22246
  /** @description The associated name */
20581
22247
  name?: string;
@@ -20591,6 +22257,8 @@ export interface operations {
20591
22257
  createdAt: number;
20592
22258
  /** @description The timestamp (ms) when the instance was updated */
20593
22259
  updatedAt: number;
22260
+ /** @description The ID of the blueprint */
22261
+ blueprintId?: string;
20594
22262
  /** @description The contact associated with the space */
20595
22263
  contactId?: string;
20596
22264
  };
@@ -20936,6 +22604,9 @@ export interface operations {
20936
22604
  cursor?: string;
20937
22605
  order?: "asc" | "desc";
20938
22606
  take?: number;
22607
+ botId?: string;
22608
+ contactId?: string;
22609
+ status?: "idle" | "running";
20939
22610
  meta?: {
20940
22611
  [key: string]: string;
20941
22612
  };