@botpress/api 1.48.0 → 1.48.2

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.
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /* prettier-ignore */
4
4
  import * as opapi from '@bpinternal/opapi'
5
- export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>
5
+ export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version', never, 'bot' | 'integration' | 'interface' | 'plugin' | 'hub' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity'>
6
6
  export const state = {
7
7
  "operations": {
8
8
  "runVrl": {
@@ -14060,10 +14060,10 @@ export const state = {
14060
14060
  }
14061
14061
  },
14062
14062
  "metadata": {
14063
- "title": "Botpress API",
14064
- "description": "API for Botpress Cloud",
14063
+ "title": "Botpress Admin API",
14064
+ "description": "API for Botpress Cloud Manager",
14065
14065
  "server": "https://api.botpress.cloud",
14066
- "version": "1.48.0",
14066
+ "version": "1.48.2",
14067
14067
  "prefix": "v1"
14068
14068
  },
14069
14069
  "errors": [
@@ -14352,18 +14352,7 @@ export const state = {
14352
14352
  "Issue": true,
14353
14353
  "IssueEvent": true,
14354
14354
  "Activity": true,
14355
- "Version": true,
14356
- "User": true,
14357
- "Conversation": true,
14358
- "Event": true,
14359
- "Message": true,
14360
- "State": true,
14361
- "Task": true,
14362
- "Workflow": true,
14363
- "Table": true,
14364
- "Column": true,
14365
- "Row": true,
14366
- "File": true
14355
+ "Version": true
14367
14356
  }
14368
14357
  },
14369
14358
  "schemas": {
@@ -16805,1206 +16794,9 @@ export const state = {
16805
16794
  ],
16806
16795
  "additionalProperties": false
16807
16796
  }
16808
- },
16809
- "User": {
16810
- "section": "user",
16811
- "schema": {
16812
- "type": "object",
16813
- "properties": {
16814
- "id": {
16815
- "type": "string",
16816
- "minLength": 28,
16817
- "maxLength": 36,
16818
- "description": "Id of the [User](#schema_user)"
16819
- },
16820
- "createdAt": {
16821
- "type": "string",
16822
- "format": "date-time",
16823
- "description": "Creation date of the [User](#schema_user) in ISO 8601 format"
16824
- },
16825
- "updatedAt": {
16826
- "type": "string",
16827
- "format": "date-time",
16828
- "description": "Updating date of the [User](#schema_user) in ISO 8601 format"
16829
- },
16830
- "tags": {
16831
- "type": "object",
16832
- "additionalProperties": {
16833
- "type": "string"
16834
- },
16835
- "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [User](#schema_user). The set of [Tags](/docs/developers/concepts/tags) available on a [User](#schema_user) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them."
16836
- },
16837
- "name": {
16838
- "type": "string",
16839
- "maxLength": 200,
16840
- "description": "Name of the [User](#schema_user)"
16841
- },
16842
- "pictureUrl": {
16843
- "type": "string",
16844
- "maxLength": 40000,
16845
- "description": "Picture URL of the [User](#schema_user)"
16846
- }
16847
- },
16848
- "required": [
16849
- "id",
16850
- "createdAt",
16851
- "updatedAt",
16852
- "tags"
16853
- ],
16854
- "description": "The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.",
16855
- "additionalProperties": false
16856
- }
16857
- },
16858
- "Conversation": {
16859
- "section": "conversation",
16860
- "schema": {
16861
- "type": "object",
16862
- "properties": {
16863
- "id": {
16864
- "type": "string",
16865
- "minLength": 28,
16866
- "maxLength": 36,
16867
- "description": "Id of the [Conversation](#schema_conversation)"
16868
- },
16869
- "currentTaskId": {
16870
- "type": "string",
16871
- "minLength": 28,
16872
- "maxLength": 36,
16873
- "description": "Id of the current [Task](#schema_task)"
16874
- },
16875
- "currentWorkflowId": {
16876
- "type": "string",
16877
- "minLength": 28,
16878
- "maxLength": 36,
16879
- "description": "Id of the current [Workflow](#schema_workflow)"
16880
- },
16881
- "createdAt": {
16882
- "type": "string",
16883
- "format": "date-time",
16884
- "description": "Creation date of the [Conversation](#schema_conversation) in ISO 8601 format"
16885
- },
16886
- "updatedAt": {
16887
- "type": "string",
16888
- "format": "date-time",
16889
- "description": "Updating date of the [Conversation](#schema_conversation) in ISO 8601 format"
16890
- },
16891
- "channel": {
16892
- "type": "string",
16893
- "description": "Name of the channel where the [Conversation](#schema_conversation) is happening"
16894
- },
16895
- "integration": {
16896
- "type": "string",
16897
- "description": "Name of the integration that created the [Conversation](#schema_conversation)"
16898
- },
16899
- "tags": {
16900
- "type": "object",
16901
- "additionalProperties": {
16902
- "type": "string"
16903
- },
16904
- "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them."
16905
- }
16906
- },
16907
- "required": [
16908
- "id",
16909
- "createdAt",
16910
- "updatedAt",
16911
- "channel",
16912
- "integration",
16913
- "tags"
16914
- ],
16915
- "description": "The [Conversation](#schema_conversation) object represents an exchange of messages between one or more users. A [Conversation](#schema_conversation) is always linked to an integration's channels. For example, a Slack channel represents a conversation.",
16916
- "additionalProperties": false
16917
- }
16918
- },
16919
- "Event": {
16920
- "section": "event",
16921
- "schema": {
16922
- "type": "object",
16923
- "properties": {
16924
- "id": {
16925
- "type": "string",
16926
- "minLength": 28,
16927
- "maxLength": 36,
16928
- "description": "Id of the [Event](#schema_event)"
16929
- },
16930
- "createdAt": {
16931
- "type": "string",
16932
- "format": "date-time",
16933
- "description": "Creation date of the [Event](#schema_event) in ISO 8601 format"
16934
- },
16935
- "type": {
16936
- "type": "string",
16937
- "maxLength": 200,
16938
- "description": "Type of the [Event](#schema_event)."
16939
- },
16940
- "payload": {
16941
- "type": "object",
16942
- "additionalProperties": true,
16943
- "description": "Payload is the content of the event defined by the integration installed on your bot or one of the default events created by our api."
16944
- },
16945
- "conversationId": {
16946
- "type": "string",
16947
- "minLength": 28,
16948
- "maxLength": 36,
16949
- "description": "ID of the [Conversation](#schema_conversation) to link the event to."
16950
- },
16951
- "userId": {
16952
- "type": "string",
16953
- "minLength": 28,
16954
- "maxLength": 36,
16955
- "description": "ID of the [User](#schema_user) to link the event to."
16956
- },
16957
- "messageId": {
16958
- "type": "string",
16959
- "minLength": 28,
16960
- "maxLength": 36,
16961
- "description": "ID of the [Message](#schema_message) to link the event to."
16962
- },
16963
- "status": {
16964
- "type": "string",
16965
- "enum": [
16966
- "pending",
16967
- "processed",
16968
- "ignored",
16969
- "failed",
16970
- "scheduled"
16971
- ]
16972
- },
16973
- "failureReason": {
16974
- "type": "string",
16975
- "maxLength": 2000,
16976
- "nullable": true,
16977
- "description": "Reason why the event failed to be processed"
16978
- }
16979
- },
16980
- "required": [
16981
- "id",
16982
- "createdAt",
16983
- "type",
16984
- "payload",
16985
- "status",
16986
- "failureReason"
16987
- ],
16988
- "description": "The event object represents an action or an occurrence.",
16989
- "additionalProperties": false
16990
- }
16991
- },
16992
- "Message": {
16993
- "section": "message",
16994
- "schema": {
16995
- "type": "object",
16996
- "properties": {
16997
- "id": {
16998
- "type": "string",
16999
- "minLength": 28,
17000
- "maxLength": 36,
17001
- "description": "Id of the [Message](#schema_message)"
17002
- },
17003
- "createdAt": {
17004
- "type": "string",
17005
- "format": "date-time",
17006
- "description": "Creation date of the [Message](#schema_message) in ISO 8601 format"
17007
- },
17008
- "updatedAt": {
17009
- "type": "string",
17010
- "format": "date-time",
17011
- "description": "Update date of the [Message](#schema_message) in ISO 8601 format"
17012
- },
17013
- "type": {
17014
- "type": "string",
17015
- "maxLength": 200,
17016
- "description": "Type of the [Message](#schema_message) represents the resource type that the message is related to"
17017
- },
17018
- "payload": {
17019
- "type": "object",
17020
- "additionalProperties": true,
17021
- "description": "Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location"
17022
- },
17023
- "direction": {
17024
- "type": "string",
17025
- "enum": [
17026
- "incoming",
17027
- "outgoing"
17028
- ],
17029
- "description": "Direction of the message (`incoming` or `outgoing`)."
17030
- },
17031
- "userId": {
17032
- "type": "string",
17033
- "minLength": 28,
17034
- "maxLength": 36,
17035
- "description": "ID of the [User](#schema_user)"
17036
- },
17037
- "conversationId": {
17038
- "type": "string",
17039
- "minLength": 28,
17040
- "maxLength": 36,
17041
- "description": "ID of the [Conversation](#schema_conversation)"
17042
- },
17043
- "tags": {
17044
- "type": "object",
17045
- "additionalProperties": {
17046
- "type": "string"
17047
- },
17048
- "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them."
17049
- },
17050
- "origin": {
17051
- "type": "string",
17052
- "enum": [
17053
- "synthetic"
17054
- ],
17055
- "description": "Origin of the message (`synthetic`)."
17056
- }
17057
- },
17058
- "required": [
17059
- "id",
17060
- "createdAt",
17061
- "updatedAt",
17062
- "type",
17063
- "payload",
17064
- "direction",
17065
- "userId",
17066
- "conversationId",
17067
- "tags"
17068
- ],
17069
- "description": "The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).",
17070
- "additionalProperties": false
17071
- }
17072
- },
17073
- "State": {
17074
- "section": "state",
17075
- "schema": {
17076
- "type": "object",
17077
- "properties": {
17078
- "id": {
17079
- "type": "string",
17080
- "minLength": 28,
17081
- "maxLength": 36,
17082
- "description": "Id of the [State](#schema_state)"
17083
- },
17084
- "createdAt": {
17085
- "type": "string",
17086
- "format": "date-time",
17087
- "description": "Creation date of the [State](#schema_state) in ISO 8601 format"
17088
- },
17089
- "updatedAt": {
17090
- "type": "string",
17091
- "format": "date-time",
17092
- "description": "Updating date of the [State](#schema_state) in ISO 8601 format"
17093
- },
17094
- "botId": {
17095
- "type": "string",
17096
- "minLength": 28,
17097
- "maxLength": 36,
17098
- "description": "Id of the [Bot](#schema_bot)"
17099
- },
17100
- "conversationId": {
17101
- "type": "string",
17102
- "minLength": 28,
17103
- "maxLength": 36,
17104
- "description": "Id of the [Conversation](#schema_conversation)"
17105
- },
17106
- "userId": {
17107
- "type": "string",
17108
- "minLength": 28,
17109
- "maxLength": 36,
17110
- "description": "Id of the [User](#schema_user)"
17111
- },
17112
- "name": {
17113
- "type": "string",
17114
- "maxLength": 200,
17115
- "description": "Name of the [State](#schema_state) which is declared inside the bot definition"
17116
- },
17117
- "type": {
17118
- "type": "string",
17119
- "enum": [
17120
- "conversation",
17121
- "user",
17122
- "bot",
17123
- "task",
17124
- "integration",
17125
- "workflow"
17126
- ],
17127
- "description": "Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `task`, `integration` or `workflow`) that the state is related to"
17128
- },
17129
- "payload": {
17130
- "type": "object",
17131
- "additionalProperties": true,
17132
- "description": "Payload is the content of the state defined by your bot."
17133
- }
17134
- },
17135
- "required": [
17136
- "id",
17137
- "createdAt",
17138
- "updatedAt",
17139
- "botId",
17140
- "name",
17141
- "type",
17142
- "payload"
17143
- ],
17144
- "description": "The state object represents the current payload. A state is always linked to either a bot, a conversation or a user.",
17145
- "additionalProperties": false
17146
- }
17147
- },
17148
- "Task": {
17149
- "section": "task",
17150
- "schema": {
17151
- "type": "object",
17152
- "properties": {
17153
- "id": {
17154
- "type": "string",
17155
- "minLength": 28,
17156
- "maxLength": 36,
17157
- "description": "Id of the [Task](#schema_task)"
17158
- },
17159
- "title": {
17160
- "type": "string",
17161
- "maxLength": 64,
17162
- "description": "Title describing the task"
17163
- },
17164
- "description": {
17165
- "type": "string",
17166
- "maxLength": 256,
17167
- "description": "All the notes related to the execution of the current task"
17168
- },
17169
- "type": {
17170
- "type": "string",
17171
- "description": "Type of the task"
17172
- },
17173
- "data": {
17174
- "type": "object",
17175
- "additionalProperties": true,
17176
- "description": "Content related to the task"
17177
- },
17178
- "status": {
17179
- "type": "string",
17180
- "enum": [
17181
- "pending",
17182
- "in_progress",
17183
- "failed",
17184
- "completed",
17185
- "blocked",
17186
- "paused",
17187
- "timeout",
17188
- "cancelled"
17189
- ],
17190
- "description": "Status of the task"
17191
- },
17192
- "parentTaskId": {
17193
- "type": "string",
17194
- "minLength": 28,
17195
- "maxLength": 36,
17196
- "description": "Parent task id is the parent task that created this task"
17197
- },
17198
- "conversationId": {
17199
- "type": "string",
17200
- "minLength": 28,
17201
- "maxLength": 36,
17202
- "description": "Conversation id related to this task"
17203
- },
17204
- "userId": {
17205
- "type": "string",
17206
- "minLength": 28,
17207
- "maxLength": 36,
17208
- "description": "Specific user related to this task"
17209
- },
17210
- "timeoutAt": {
17211
- "type": "string",
17212
- "format": "date-time",
17213
- "description": "The timeout date where the task should be failed in the ISO 8601 format"
17214
- },
17215
- "createdAt": {
17216
- "type": "string",
17217
- "format": "date-time",
17218
- "description": "Creation date of the task in ISO 8601 format"
17219
- },
17220
- "updatedAt": {
17221
- "type": "string",
17222
- "format": "date-time",
17223
- "description": "Updating date of the task in ISO 8601 format"
17224
- },
17225
- "failureReason": {
17226
- "type": "string",
17227
- "maxLength": 2000,
17228
- "description": "If the task fails this is the reason behind it"
17229
- },
17230
- "tags": {
17231
- "type": "object",
17232
- "additionalProperties": {
17233
- "type": "string"
17234
- },
17235
- "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them."
17236
- }
17237
- },
17238
- "required": [
17239
- "id",
17240
- "title",
17241
- "description",
17242
- "type",
17243
- "data",
17244
- "status",
17245
- "timeoutAt",
17246
- "createdAt",
17247
- "updatedAt",
17248
- "tags"
17249
- ],
17250
- "description": "Task definition",
17251
- "additionalProperties": false
17252
- }
17253
- },
17254
- "Workflow": {
17255
- "section": "workflow",
17256
- "schema": {
17257
- "type": "object",
17258
- "properties": {
17259
- "id": {
17260
- "type": "string",
17261
- "minLength": 28,
17262
- "maxLength": 36,
17263
- "description": "Id of the [Workflow](#schema_workflow)"
17264
- },
17265
- "name": {
17266
- "type": "string",
17267
- "maxLength": 200,
17268
- "description": "Name of the workflow"
17269
- },
17270
- "status": {
17271
- "type": "string",
17272
- "enum": [
17273
- "pending",
17274
- "in_progress",
17275
- "failed",
17276
- "completed",
17277
- "listening",
17278
- "paused",
17279
- "timedout",
17280
- "cancelled"
17281
- ],
17282
- "description": "Status of the [Workflow](#schema_workflow)"
17283
- },
17284
- "input": {
17285
- "type": "object",
17286
- "additionalProperties": true,
17287
- "description": "Input provided to the [Workflow](#schema_workflow)"
17288
- },
17289
- "output": {
17290
- "type": "object",
17291
- "additionalProperties": true,
17292
- "description": "Data returned by the [Workflow](#schema_workflow) output"
17293
- },
17294
- "parentWorkflowId": {
17295
- "type": "string",
17296
- "minLength": 28,
17297
- "maxLength": 36,
17298
- "description": "Parent [Workflow](#schema_workflow) id is the parent [Workflow](#schema_workflow) that created this [Workflow](#schema_workflow)"
17299
- },
17300
- "conversationId": {
17301
- "type": "string",
17302
- "minLength": 28,
17303
- "maxLength": 36,
17304
- "description": "Conversation id related to this [Workflow](#schema_workflow)"
17305
- },
17306
- "userId": {
17307
- "type": "string",
17308
- "minLength": 28,
17309
- "maxLength": 36,
17310
- "description": "User id related to this [Workflow](#schema_workflow)"
17311
- },
17312
- "createdAt": {
17313
- "type": "string",
17314
- "format": "date-time",
17315
- "description": "Creation date of the [Workflow](#schema_workflow) in ISO 8601 format"
17316
- },
17317
- "updatedAt": {
17318
- "type": "string",
17319
- "format": "date-time",
17320
- "description": "Updating date of the [Workflow](#schema_workflow) in ISO 8601 format"
17321
- },
17322
- "completedAt": {
17323
- "type": "string",
17324
- "format": "date-time",
17325
- "description": "The date when the [Workflow](#schema_workflow) completed in ISO 8601 format"
17326
- },
17327
- "failureReason": {
17328
- "type": "string",
17329
- "maxLength": 2000,
17330
- "description": "If the [Workflow](#schema_workflow) fails this is the reason behind it"
17331
- },
17332
- "timeoutAt": {
17333
- "type": "string",
17334
- "format": "date-time",
17335
- "description": "The timeout date when the [Workflow](#schema_workflow) will fail in the ISO 8601 format"
17336
- },
17337
- "tags": {
17338
- "type": "object",
17339
- "additionalProperties": {
17340
- "type": "string"
17341
- },
17342
- "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Workflow](#schema_workflow). Individual keys can be unset by posting an empty value to them."
17343
- }
17344
- },
17345
- "required": [
17346
- "id",
17347
- "name",
17348
- "status",
17349
- "input",
17350
- "output",
17351
- "createdAt",
17352
- "updatedAt",
17353
- "timeoutAt",
17354
- "tags"
17355
- ],
17356
- "description": "Workflow definition",
17357
- "additionalProperties": false
17358
- }
17359
- },
17360
- "Table": {
17361
- "section": "tables",
17362
- "schema": {
17363
- "type": "object",
17364
- "properties": {
17365
- "id": {
17366
- "type": "string",
17367
- "description": "Unique identifier for the table"
17368
- },
17369
- "name": {
17370
- "description": "Required. This name is used to identify your table.",
17371
- "type": "string",
17372
- "minLength": 1
17373
- },
17374
- "factor": {
17375
- "default": 1,
17376
- "type": "number",
17377
- "minimum": 1,
17378
- "maximum": 30,
17379
- "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
17380
- },
17381
- "frozen": {
17382
- "type": "boolean",
17383
- "description": "A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations."
17384
- },
17385
- "schema": {
17386
- "type": "object",
17387
- "properties": {
17388
- "$schema": {
17389
- "type": "string"
17390
- },
17391
- "properties": {
17392
- "type": "object",
17393
- "additionalProperties": {
17394
- "type": "object",
17395
- "properties": {
17396
- "type": {
17397
- "type": "string",
17398
- "enum": [
17399
- "string",
17400
- "number",
17401
- "boolean",
17402
- "object",
17403
- "array",
17404
- "null"
17405
- ]
17406
- },
17407
- "format": {
17408
- "type": "string",
17409
- "enum": [
17410
- "date-time"
17411
- ]
17412
- },
17413
- "description": {
17414
- "type": "string"
17415
- },
17416
- "pattern": {
17417
- "type": "string",
17418
- "description": "String properties must match this pattern"
17419
- },
17420
- "enum": {
17421
- "type": "array",
17422
- "items": {
17423
- "type": "string"
17424
- },
17425
- "description": "String properties must be one of these values"
17426
- },
17427
- "items": {
17428
- "type": "object",
17429
- "properties": {
17430
- "type": {
17431
- "type": "string",
17432
- "enum": [
17433
- "string",
17434
- "number",
17435
- "boolean",
17436
- "object",
17437
- "array",
17438
- "null"
17439
- ]
17440
- }
17441
- },
17442
- "required": [
17443
- "type"
17444
- ],
17445
- "additionalProperties": true,
17446
- "description": "Defines the shape of items in an array"
17447
- },
17448
- "nullable": {
17449
- "default": true,
17450
- "type": "boolean"
17451
- },
17452
- "properties": {
17453
- "type": "object",
17454
- "additionalProperties": {
17455
- "type": "object",
17456
- "properties": {
17457
- "type": {
17458
- "type": "string",
17459
- "enum": [
17460
- "string",
17461
- "number",
17462
- "boolean",
17463
- "object",
17464
- "array",
17465
- "null"
17466
- ]
17467
- }
17468
- },
17469
- "required": [
17470
- "type"
17471
- ],
17472
- "additionalProperties": true
17473
- }
17474
- },
17475
- "x-zui": {
17476
- "type": "object",
17477
- "properties": {
17478
- "index": {
17479
- "type": "integer"
17480
- },
17481
- "id": {
17482
- "type": "string",
17483
- "description": "[deprecated] ID of the column."
17484
- },
17485
- "searchable": {
17486
- "type": "boolean",
17487
- "description": "Indicates if the column is vectorized and searchable."
17488
- },
17489
- "hidden": {
17490
- "type": "boolean",
17491
- "description": "Indicates if the field is hidden in the UI"
17492
- },
17493
- "order": {
17494
- "type": "number",
17495
- "description": "Order of the column in the UI"
17496
- },
17497
- "width": {
17498
- "type": "number",
17499
- "description": "Width of the column in the UI"
17500
- },
17501
- "schemaId": {
17502
- "type": "string",
17503
- "description": "ID of the schema"
17504
- },
17505
- "computed": {
17506
- "type": "object",
17507
- "properties": {
17508
- "action": {
17509
- "type": "string",
17510
- "enum": [
17511
- "ai",
17512
- "code",
17513
- "workflow"
17514
- ]
17515
- },
17516
- "dependencies": {
17517
- "default": [],
17518
- "type": "array",
17519
- "items": {
17520
- "type": "string"
17521
- }
17522
- },
17523
- "prompt": {
17524
- "type": "string",
17525
- "description": "Prompt when action is \"ai\""
17526
- },
17527
- "code": {
17528
- "type": "string",
17529
- "description": "Code to execute when action is \"code\""
17530
- },
17531
- "model": {
17532
- "default": "gpt-4o",
17533
- "type": "string",
17534
- "maxLength": 80,
17535
- "description": "Model to use when action is \"ai\""
17536
- },
17537
- "workflowId": {
17538
- "type": "string",
17539
- "maxLength": 20,
17540
- "description": "ID of Workflow to execute when action is \"workflow\""
17541
- },
17542
- "enabled": {
17543
- "type": "boolean"
17544
- }
17545
- },
17546
- "required": [
17547
- "action"
17548
- ],
17549
- "additionalProperties": false
17550
- },
17551
- "typings": {
17552
- "type": "string",
17553
- "description": "TypeScript typings for the column. Recommended if the type is \"object\", ex: \"\\{ foo: string; bar: number \\}\""
17554
- }
17555
- },
17556
- "required": [
17557
- "index"
17558
- ],
17559
- "additionalProperties": false
17560
- }
17561
- },
17562
- "required": [
17563
- "type",
17564
- "x-zui"
17565
- ],
17566
- "additionalProperties": false
17567
- },
17568
- "description": "List of keys/columns in the table."
17569
- },
17570
- "additionalProperties": {
17571
- "type": "boolean",
17572
- "enum": [
17573
- true
17574
- ],
17575
- "description": "Additional properties can be provided, but they will be ignored if no column matches."
17576
- },
17577
- "required": {
17578
- "type": "array",
17579
- "items": {
17580
- "type": "string"
17581
- },
17582
- "description": "Array of required properties."
17583
- },
17584
- "type": {
17585
- "type": "string",
17586
- "enum": [
17587
- "object"
17588
- ]
17589
- }
17590
- },
17591
- "required": [
17592
- "properties",
17593
- "additionalProperties",
17594
- "type"
17595
- ],
17596
- "additionalProperties": false
17597
- },
17598
- "tags": {
17599
- "type": "object",
17600
- "additionalProperties": {
17601
- "type": "string"
17602
- },
17603
- "description": "Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs."
17604
- },
17605
- "isComputeEnabled": {
17606
- "type": "boolean",
17607
- "description": "Indicates if the table is enabled for computation."
17608
- },
17609
- "createdAt": {
17610
- "type": "string",
17611
- "format": "date-time",
17612
- "description": "Timestamp of table creation."
17613
- },
17614
- "updatedAt": {
17615
- "type": "string",
17616
- "format": "date-time",
17617
- "description": "Timestamp of the last table update."
17618
- }
17619
- },
17620
- "required": [
17621
- "id",
17622
- "name",
17623
- "schema"
17624
- ],
17625
- "additionalProperties": false
17626
- }
17627
- },
17628
- "Column": {
17629
- "section": "tables",
17630
- "schema": {
17631
- "type": "object",
17632
- "properties": {
17633
- "id": {
17634
- "type": "string",
17635
- "description": "Unique identifier for the column."
17636
- },
17637
- "name": {
17638
- "type": "string",
17639
- "minLength": 1,
17640
- "maxLength": 30,
17641
- "description": "Name of the column, must be within length limits."
17642
- },
17643
- "description": {
17644
- "type": "string",
17645
- "description": "Optional descriptive text about the column."
17646
- },
17647
- "searchable": {
17648
- "type": "boolean",
17649
- "description": "Indicates if the column is vectorized and searchable."
17650
- },
17651
- "type": {
17652
- "type": "string",
17653
- "enum": [
17654
- "string",
17655
- "number",
17656
- "boolean",
17657
- "date",
17658
- "object"
17659
- ],
17660
- "description": "Specifies the data type of the column. Use \"object\" for complex data structures."
17661
- },
17662
- "typings": {
17663
- "type": "string",
17664
- "description": "TypeScript typings for the column. Recommended if the type is \"object\", ex: \"\\{ foo: string; bar: number \\}\""
17665
- },
17666
- "computed": {
17667
- "type": "object",
17668
- "properties": {
17669
- "action": {
17670
- "type": "string",
17671
- "enum": [
17672
- "ai",
17673
- "code",
17674
- "workflow"
17675
- ]
17676
- },
17677
- "dependencies": {
17678
- "default": [],
17679
- "type": "array",
17680
- "items": {
17681
- "type": "string"
17682
- }
17683
- },
17684
- "prompt": {
17685
- "type": "string",
17686
- "description": "Prompt when action is \"ai\""
17687
- },
17688
- "code": {
17689
- "type": "string",
17690
- "description": "Code to execute when action is \"code\""
17691
- },
17692
- "model": {
17693
- "default": "gpt-4o",
17694
- "type": "string",
17695
- "maxLength": 80,
17696
- "description": "Model to use when action is \"ai\""
17697
- },
17698
- "workflowId": {
17699
- "type": "string",
17700
- "maxLength": 20,
17701
- "description": "ID of Workflow to execute when action is \"workflow\""
17702
- },
17703
- "enabled": {
17704
- "type": "boolean"
17705
- }
17706
- },
17707
- "required": [
17708
- "action"
17709
- ],
17710
- "additionalProperties": false
17711
- },
17712
- "schema": {
17713
- "type": "object",
17714
- "additionalProperties": true
17715
- }
17716
- },
17717
- "required": [
17718
- "name",
17719
- "type"
17720
- ],
17721
- "additionalProperties": false
17722
- }
17723
- },
17724
- "Row": {
17725
- "section": "tables",
17726
- "schema": {
17727
- "type": "object",
17728
- "properties": {
17729
- "id": {
17730
- "type": "number",
17731
- "description": "Unique identifier for the row."
17732
- },
17733
- "createdAt": {
17734
- "type": "string",
17735
- "format": "date-time",
17736
- "description": "Timestamp of row creation."
17737
- },
17738
- "updatedAt": {
17739
- "type": "string",
17740
- "format": "date-time",
17741
- "description": "Timestamp of the last row update."
17742
- },
17743
- "computed": {
17744
- "type": "object",
17745
- "additionalProperties": {
17746
- "type": "object",
17747
- "properties": {
17748
- "status": {
17749
- "type": "string"
17750
- },
17751
- "error": {
17752
- "type": "string"
17753
- },
17754
- "updatedBy": {
17755
- "type": "string"
17756
- },
17757
- "updatedAt": {
17758
- "type": "string"
17759
- }
17760
- },
17761
- "required": [
17762
- "status"
17763
- ],
17764
- "additionalProperties": false
17765
- }
17766
- },
17767
- "stale": {
17768
- "type": "array",
17769
- "items": {
17770
- "type": "string"
17771
- },
17772
- "description": "[Read-only] List of stale values that are waiting to be recomputed."
17773
- },
17774
- "similarity": {
17775
- "type": "number",
17776
- "description": "Optional numeric value indicating similarity, when using findTableRows."
17777
- }
17778
- },
17779
- "required": [
17780
- "id",
17781
- "computed"
17782
- ],
17783
- "additionalProperties": true
17784
- }
17785
- },
17786
- "File": {
17787
- "section": "files",
17788
- "schema": {
17789
- "type": "object",
17790
- "properties": {
17791
- "id": {
17792
- "type": "string",
17793
- "description": "File ID"
17794
- },
17795
- "botId": {
17796
- "type": "string",
17797
- "description": "The ID of the bot the file belongs to"
17798
- },
17799
- "key": {
17800
- "type": "string",
17801
- "description": "Unique key for the file. Must be unique across the bot (and the integration, when applicable)."
17802
- },
17803
- "url": {
17804
- "type": "string",
17805
- "description": "URL to retrieve the file content. This URL will be ready to use once the file is uploaded.\n\nIf the file has a `public_content` policy, this will contain the permanent public URL to retrieve the file, otherwise this will contain a temporary pre-signed URL to download the file which should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe."
17806
- },
17807
- "size": {
17808
- "type": "number",
17809
- "description": "File size in bytes. Non-null if file upload status is \"COMPLETE\".",
17810
- "nullable": true
17811
- },
17812
- "contentType": {
17813
- "type": "string",
17814
- "description": "MIME type of the file's content"
17815
- },
17816
- "tags": {
17817
- "type": "object",
17818
- "additionalProperties": {
17819
- "type": "string",
17820
- "maxLength": 1000
17821
- },
17822
- "description": "The tags of the file as an object of key/value pairs"
17823
- },
17824
- "metadata": {
17825
- "type": "object",
17826
- "additionalProperties": {
17827
- "nullable": true
17828
- },
17829
- "description": "Metadata of the file as an object of key/value pairs. The values can be of any type."
17830
- },
17831
- "createdAt": {
17832
- "type": "string",
17833
- "description": "File creation timestamp in ISO 8601 format"
17834
- },
17835
- "updatedAt": {
17836
- "type": "string",
17837
- "description": "File last update timestamp in ISO 8601 format"
17838
- },
17839
- "accessPolicies": {
17840
- "type": "array",
17841
- "items": {
17842
- "type": "string",
17843
- "enum": [
17844
- "integrations",
17845
- "public_content"
17846
- ]
17847
- },
17848
- "description": "Access policies configured for the file."
17849
- },
17850
- "index": {
17851
- "type": "boolean",
17852
- "description": "Whether the file was requested to be indexed for search or not."
17853
- },
17854
- "status": {
17855
- "type": "string",
17856
- "enum": [
17857
- "upload_pending",
17858
- "upload_failed",
17859
- "upload_completed",
17860
- "indexing_pending",
17861
- "indexing_failed",
17862
- "indexing_completed"
17863
- ],
17864
- "description": "Status of the file. If the status is `upload_pending`, the file content has not been uploaded yet. The status will be set to `upload_completed` once the file content has been uploaded successfully.\n\nIf the upload failed for any reason (e.g. exceeding the storage quota or the maximum file size limit) the status will be set to `upload_failed` and the reason for the failure will be available in the `failedStatusReason` field of the file.\n\nHowever, if the file has been uploaded and the `index` attribute was set to `true` on the file, the status will immediately transition to the `indexing_pending` status (the `upload_completed` status step will be skipped).\n\nOnce the indexing is completed and the file is ready to be used for searching its status will be set to `indexing_completed`. If the indexing failed the status will be set to `indexing_failed` and the reason for the failure will be available in the `failedStatusReason` field."
17865
- },
17866
- "failedStatusReason": {
17867
- "type": "string",
17868
- "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
17869
- },
17870
- "expiresAt": {
17871
- "type": "string",
17872
- "description": "File expiry timestamp in ISO 8601 format"
17873
- },
17874
- "owner": {
17875
- "type": "object",
17876
- "properties": {
17877
- "type": {
17878
- "type": "string",
17879
- "enum": [
17880
- "bot",
17881
- "integration",
17882
- "user"
17883
- ]
17884
- },
17885
- "id": {
17886
- "type": "string",
17887
- "description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
17888
- },
17889
- "name": {
17890
- "type": "string",
17891
- "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
17892
- }
17893
- },
17894
- "required": [
17895
- "type"
17896
- ],
17897
- "additionalProperties": false
17898
- },
17899
- "indexingStack": {
17900
- "type": "string",
17901
- "enum": [
17902
- "v1",
17903
- "v2"
17904
- ],
17905
- "description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
17906
- }
17907
- },
17908
- "required": [
17909
- "id",
17910
- "botId",
17911
- "key",
17912
- "url",
17913
- "size",
17914
- "contentType",
17915
- "tags",
17916
- "metadata",
17917
- "createdAt",
17918
- "updatedAt",
17919
- "accessPolicies",
17920
- "index",
17921
- "status",
17922
- "owner"
17923
- ],
17924
- "additionalProperties": false
17925
- }
17926
16797
  }
17927
16798
  },
17928
16799
  "sections": [
17929
- {
17930
- "description": "",
17931
- "title": "User",
17932
- "name": "user",
17933
- "operations": [],
17934
- "schema": "User"
17935
- },
17936
- {
17937
- "description": "",
17938
- "title": "Conversation",
17939
- "name": "conversation",
17940
- "operations": [],
17941
- "schema": "Conversation"
17942
- },
17943
- {
17944
- "description": "",
17945
- "title": "Event",
17946
- "name": "event",
17947
- "operations": [],
17948
- "schema": "Event"
17949
- },
17950
- {
17951
- "description": "",
17952
- "title": "Message",
17953
- "name": "message",
17954
- "operations": [],
17955
- "schema": "Message"
17956
- },
17957
- {
17958
- "description": "",
17959
- "title": "State",
17960
- "name": "state",
17961
- "operations": [],
17962
- "schema": "State"
17963
- },
17964
- {
17965
- "title": "Hub",
17966
- "description": "",
17967
- "name": "hub",
17968
- "operations": [
17969
- "listPublicIntegrations",
17970
- "getPublicIntegrationById",
17971
- "getPublicIntegration",
17972
- "listPublicPlugins",
17973
- "getPublicPluginById",
17974
- "getDereferencedPublicPluginById",
17975
- "getPublicPlugin",
17976
- "getPublicPluginCode",
17977
- "listPublicInterfaces",
17978
- "getPublicInterfaceById",
17979
- "getPublicInterface"
17980
- ]
17981
- },
17982
- {
17983
- "description": "",
17984
- "title": "Action",
17985
- "name": "action",
17986
- "operations": []
17987
- },
17988
- {
17989
- "description": "",
17990
- "title": "Task",
17991
- "name": "task",
17992
- "operations": [],
17993
- "schema": "Task"
17994
- },
17995
- {
17996
- "description": "",
17997
- "title": "Workflow",
17998
- "name": "workflow",
17999
- "operations": [],
18000
- "schema": "Workflow"
18001
- },
18002
- {
18003
- "description": "",
18004
- "title": "Tag",
18005
- "name": "tag",
18006
- "operations": []
18007
- },
18008
16800
  {
18009
16801
  "title": "Bot",
18010
16802
  "description": "",
@@ -18093,6 +16885,24 @@ export const state = {
18093
16885
  ],
18094
16886
  "schema": "Plugin"
18095
16887
  },
16888
+ {
16889
+ "title": "Hub",
16890
+ "description": "",
16891
+ "name": "hub",
16892
+ "operations": [
16893
+ "listPublicIntegrations",
16894
+ "getPublicIntegrationById",
16895
+ "getPublicIntegration",
16896
+ "listPublicPlugins",
16897
+ "getPublicPluginById",
16898
+ "getDereferencedPublicPluginById",
16899
+ "getPublicPlugin",
16900
+ "getPublicPluginCode",
16901
+ "listPublicInterfaces",
16902
+ "getPublicInterfaceById",
16903
+ "getPublicInterface"
16904
+ ]
16905
+ },
18096
16906
  {
18097
16907
  "title": "Workspace",
18098
16908
  "description": "",
@@ -18184,20 +16994,6 @@ export const state = {
18184
16994
  "listActivities"
18185
16995
  ],
18186
16996
  "schema": "Activity"
18187
- },
18188
- {
18189
- "title": "Tables",
18190
- "description": "Manage and interact with table structures, including creation, updates, and querying of tables and their rows.",
18191
- "name": "tables",
18192
- "operations": [],
18193
- "schema": "Table"
18194
- },
18195
- {
18196
- "title": "Files",
18197
- "description": "The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Word, HTML, Markdown, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.",
18198
- "name": "files",
18199
- "operations": [],
18200
- "schema": "File"
18201
16997
  }
18202
16998
  ],
18203
16999
  "options": {