@iblai/iblai-api 6.1.0-ai → 6.2.0-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '6.1.0-ai-plus',
113
+ VERSION: '6.2.0-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
@@ -51614,7 +51614,7 @@ class V1AuditLogsService {
51614
51614
  class V1ChannelsService {
51615
51615
  /**
51616
51616
  * List messaging channels
51617
- * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant.
51617
+ * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant. Offer only the entries that are available.
51618
51618
  * @returns PaginatedChannelCatalog
51619
51619
  * @throws ApiError
51620
51620
  */
package/dist/index.esm.js CHANGED
@@ -108,7 +108,7 @@ class CancelablePromise {
108
108
 
109
109
  const OpenAPI = {
110
110
  BASE: 'https://base.manager.iblai.app',
111
- VERSION: '6.1.0-ai-plus',
111
+ VERSION: '6.2.0-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
@@ -51612,7 +51612,7 @@ class V1AuditLogsService {
51612
51612
  class V1ChannelsService {
51613
51613
  /**
51614
51614
  * List messaging channels
51615
- * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant.
51615
+ * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant. Offer only the entries that are available.
51616
51616
  * @returns PaginatedChannelCatalog
51617
51617
  * @throws ApiError
51618
51618
  */
package/dist/index.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '6.1.0-ai-plus',
117
+ VERSION: '6.2.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -51618,7 +51618,7 @@
51618
51618
  class V1ChannelsService {
51619
51619
  /**
51620
51620
  * List messaging channels
51621
- * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant.
51621
+ * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant. Offer only the entries that are available.
51622
51622
  * @returns PaginatedChannelCatalog
51623
51623
  * @throws ApiError
51624
51624
  */
@@ -2,6 +2,10 @@ import type { ChannelEnum } from './ChannelEnum';
2
2
  export type ChannelCatalogEntry = {
3
3
  channel: ChannelEnum;
4
4
  name: string;
5
+ /**
6
+ * Whether the platform has a connector for this channel yet. A credential for an unavailable channel saves, but nothing replies. No channel replies while the ENABLE_AGENT_CHANNELS global config is off.
7
+ */
8
+ available: boolean;
5
9
  /**
6
10
  * {field: {"type": "string", "is_sensitive": bool, "system_managed"?: bool, "optional"?: bool, "pattern"?: str, "pattern_hint"?: str}}. system_managed fields are generated by the server and cannot be sent. optional fields may be left out, and cleared on update with an empty string. pattern is an anchored regular expression the whole value must match, and pattern_hint completes the sentence "<field> must be ..."; both are present only on fields with a required format.
7
11
  */
@@ -13,6 +13,10 @@ export type ChannelCredential = {
13
13
  */
14
14
  readonly value: Record<string, any>;
15
15
  readonly webhook_id: string;
16
+ /**
17
+ * Where the provider sends messages: enter it in its settings.
18
+ */
19
+ readonly webhook_url: string;
16
20
  readonly verified: boolean;
17
21
  verified_at?: string | null;
18
22
  verification_error?: string;
@@ -145,7 +145,7 @@ export type Mentor = {
145
145
  */
146
146
  enable_in_chat_llm_change?: boolean | null;
147
147
  /**
148
- * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. Off by default: a turn that sends `client_tools` is rejected. Nullable for rolling deploys; NULL is treated as off at read time.
148
+ * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. On by default: set it to false to reject a turn that sends `client_tools`. Nullable for rolling deploys; NULL is treated as on at read time.
149
149
  */
150
150
  enable_client_tools?: boolean | null;
151
151
  /**
@@ -123,7 +123,7 @@ export type MentorCreate = {
123
123
  */
124
124
  enable_in_chat_llm_change?: boolean | null;
125
125
  /**
126
- * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. Off by default: a turn that sends `client_tools` is rejected. Nullable for rolling deploys; NULL is treated as off at read time.
126
+ * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. On by default: set it to false to reject a turn that sends `client_tools`. Nullable for rolling deploys; NULL is treated as on at read time.
127
127
  */
128
128
  enable_client_tools?: boolean | null;
129
129
  /**
@@ -123,7 +123,7 @@ export type PatchedMentorCreate = {
123
123
  */
124
124
  enable_in_chat_llm_change?: boolean | null;
125
125
  /**
126
- * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. Off by default: a turn that sends `client_tools` is rejected. Nullable for rolling deploys; NULL is treated as off at read time.
126
+ * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. On by default: set it to false to reject a turn that sends `client_tools`. Nullable for rolling deploys; NULL is treated as on at read time.
127
127
  */
128
128
  enable_client_tools?: boolean | null;
129
129
  /**
@@ -11,7 +11,7 @@ import type { CancelablePromise } from '../core/CancelablePromise';
11
11
  export declare class V1ChannelsService {
12
12
  /**
13
13
  * List messaging channels
14
- * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant.
14
+ * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant. Offer only the entries that are available.
15
15
  * @returns PaginatedChannelCatalog
16
16
  * @throws ApiError
17
17
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "6.1.0-ai",
3
+ "version": "6.2.0-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
package/sdk_schema.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ibl-data-manager
4
- version: 6.1.0-ai-plus
4
+ version: 6.2.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/ai-account/connected-services/callback/:
@@ -89375,7 +89375,7 @@ paths:
89375
89375
  /v1/channels:
89376
89376
  get:
89377
89377
  operationId: v1_channels_retrieve
89378
- description: 'Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant.'
89378
+ description: 'Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant. Offer only the entries that are available.'
89379
89379
  summary: List messaging channels
89380
89380
  parameters:
89381
89381
  - in: header
@@ -94800,6 +94800,9 @@ components:
94800
94800
  $ref: '#/components/schemas/ChannelEnum'
94801
94801
  name:
94802
94802
  type: string
94803
+ available:
94804
+ type: boolean
94805
+ description: Whether the platform has a connector for this channel yet. A credential for an unavailable channel saves, but nothing replies. No channel replies while the ENABLE_AGENT_CHANNELS global config is off.
94803
94806
  credential_schema:
94804
94807
  type: object
94805
94808
  additionalProperties: {}
@@ -94819,6 +94822,7 @@ components:
94819
94822
  required:
94820
94823
  - address_label
94821
94824
  - auto_link_email
94825
+ - available
94822
94826
  - channel
94823
94827
  - credential_schema
94824
94828
  - name
@@ -94848,6 +94852,10 @@ components:
94848
94852
  webhook_id:
94849
94853
  type: string
94850
94854
  readOnly: true
94855
+ webhook_url:
94856
+ type: string
94857
+ readOnly: true
94858
+ description: 'Where the provider sends messages: enter it in its settings.'
94851
94859
  verified:
94852
94860
  type: boolean
94853
94861
  readOnly: true
@@ -94879,6 +94887,7 @@ components:
94879
94887
  - value
94880
94888
  - verified
94881
94889
  - webhook_id
94890
+ - webhook_url
94882
94891
  ChannelCredentialCreate:
94883
94892
  type: object
94884
94893
  properties:
@@ -105578,7 +105587,7 @@ components:
105578
105587
  enable_client_tools:
105579
105588
  type: boolean
105580
105589
  nullable: true
105581
- description: 'Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. Off by default: a turn that sends `client_tools` is rejected. Nullable for rolling deploys; NULL is treated as off at read time.'
105590
+ description: 'Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. On by default: set it to false to reject a turn that sends `client_tools`. Nullable for rolling deploys; NULL is treated as on at read time.'
105582
105591
  starter_prompts:
105583
105592
  allOf:
105584
105593
  - $ref: '#/components/schemas/StarterPrompts693Enum'
@@ -106091,7 +106100,7 @@ components:
106091
106100
  enable_client_tools:
106092
106101
  type: boolean
106093
106102
  nullable: true
106094
- description: 'Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. Off by default: a turn that sends `client_tools` is rejected. Nullable for rolling deploys; NULL is treated as off at read time.'
106103
+ description: 'Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. On by default: set it to false to reject a turn that sends `client_tools`. Nullable for rolling deploys; NULL is treated as on at read time.'
106095
106104
  starter_prompts:
106096
106105
  allOf:
106097
106106
  - $ref: '#/components/schemas/StarterPrompts693Enum'
@@ -114866,7 +114875,7 @@ components:
114866
114875
  enable_client_tools:
114867
114876
  type: boolean
114868
114877
  nullable: true
114869
- description: 'Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. Off by default: a turn that sends `client_tools` is rejected. Nullable for rolling deploys; NULL is treated as off at read time.'
114878
+ description: 'Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. On by default: set it to false to reject a turn that sends `client_tools`. Nullable for rolling deploys; NULL is treated as on at read time.'
114870
114879
  starter_prompts:
114871
114880
  allOf:
114872
114881
  - $ref: '#/components/schemas/StarterPrompts693Enum'
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '6.1.0-ai-plus',
24
+ VERSION: '6.2.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -6,6 +6,10 @@ import type { ChannelEnum } from './ChannelEnum';
6
6
  export type ChannelCatalogEntry = {
7
7
  channel: ChannelEnum;
8
8
  name: string;
9
+ /**
10
+ * Whether the platform has a connector for this channel yet. A credential for an unavailable channel saves, but nothing replies. No channel replies while the ENABLE_AGENT_CHANNELS global config is off.
11
+ */
12
+ available: boolean;
9
13
  /**
10
14
  * {field: {"type": "string", "is_sensitive": bool, "system_managed"?: bool, "optional"?: bool, "pattern"?: str, "pattern_hint"?: str}}. system_managed fields are generated by the server and cannot be sent. optional fields may be left out, and cleared on update with an empty string. pattern is an anchored regular expression the whole value must match, and pattern_hint completes the sentence "<field> must be ..."; both are present only on fields with a required format.
11
15
  */
@@ -17,6 +17,10 @@ export type ChannelCredential = {
17
17
  */
18
18
  readonly value: Record<string, any>;
19
19
  readonly webhook_id: string;
20
+ /**
21
+ * Where the provider sends messages: enter it in its settings.
22
+ */
23
+ readonly webhook_url: string;
20
24
  readonly verified: boolean;
21
25
  verified_at?: string | null;
22
26
  verification_error?: string;
@@ -149,7 +149,7 @@ export type Mentor = {
149
149
  */
150
150
  enable_in_chat_llm_change?: boolean | null;
151
151
  /**
152
- * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. Off by default: a turn that sends `client_tools` is rejected. Nullable for rolling deploys; NULL is treated as off at read time.
152
+ * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. On by default: set it to false to reject a turn that sends `client_tools`. Nullable for rolling deploys; NULL is treated as on at read time.
153
153
  */
154
154
  enable_client_tools?: boolean | null;
155
155
  /**
@@ -127,7 +127,7 @@ export type MentorCreate = {
127
127
  */
128
128
  enable_in_chat_llm_change?: boolean | null;
129
129
  /**
130
- * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. Off by default: a turn that sends `client_tools` is rejected. Nullable for rolling deploys; NULL is treated as off at read time.
130
+ * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. On by default: set it to false to reject a turn that sends `client_tools`. Nullable for rolling deploys; NULL is treated as on at read time.
131
131
  */
132
132
  enable_client_tools?: boolean | null;
133
133
  /**
@@ -127,7 +127,7 @@ export type PatchedMentorCreate = {
127
127
  */
128
128
  enable_in_chat_llm_change?: boolean | null;
129
129
  /**
130
- * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. Off by default: a turn that sends `client_tools` is rejected. Nullable for rolling deploys; NULL is treated as off at read time.
130
+ * Let a chat client pass its own tool definitions (`client_tools`) with a turn. The agent can call them; each call is sent to the client, which runs it and posts the result back. On by default: set it to false to reject a turn that sends `client_tools`. Nullable for rolling deploys; NULL is treated as on at read time.
131
131
  */
132
132
  enable_client_tools?: boolean | null;
133
133
  /**
@@ -17,7 +17,7 @@ import { request as __request } from '../core/request';
17
17
  export class V1ChannelsService {
18
18
  /**
19
19
  * List messaging channels
20
- * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant.
20
+ * Every channel an agent can be connected to, with its credential schema and setup steps. Static: the same for every tenant. Offer only the entries that are available.
21
21
  * @returns PaginatedChannelCatalog
22
22
  * @throws ApiError
23
23
  */