@botpress/api 0.26.4 → 0.27.1

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.js CHANGED
@@ -280794,7 +280794,7 @@ var state = {
280794
280794
  "contentType": "application/json",
280795
280795
  "section": "files",
280796
280796
  "response": {
280797
- "description": "The file metadata.",
280797
+ "description": "The created file",
280798
280798
  "schema": {
280799
280799
  "type": "object",
280800
280800
  "properties": {
@@ -280846,36 +280846,29 @@ var state = {
280846
280846
  },
280847
280847
  "description": "Access policies configured for the file."
280848
280848
  },
280849
- "indexingStatus": {
280850
- "type": "string",
280851
- "enum": [
280852
- "PENDING",
280853
- "IN_PROGRESS",
280854
- "COMPLETE",
280855
- "FAILED"
280856
- ],
280857
- "description": "Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created."
280858
- },
280859
- "indexingFailureReason": {
280860
- "type": "string",
280861
- "description": 'Last failure reason of the file indexing if the indexing status is "FAILED".'
280849
+ "index": {
280850
+ "type": "boolean",
280851
+ "description": "Whether the file was requested to be indexed for search or not."
280862
280852
  },
280863
- "uploadStatus": {
280853
+ "status": {
280864
280854
  "type": "string",
280865
280855
  "enum": [
280866
- "PENDING",
280867
- "COMPLETE",
280868
- "FAILED"
280856
+ "UPLOAD_PENDING",
280857
+ "UPLOAD_FAILED",
280858
+ "UPLOAD_COMPLETED",
280859
+ "INDEXING_PENDING",
280860
+ "INDEXING_FAILED",
280861
+ "INDEXING_COMPLETED"
280869
280862
  ],
280870
- "description": 'Status of the file upload process. If the status is "PENDING", the file content has not been uploaded yet. \nThe status will be set to "COMPLETE" once the file content has been uploaded successfully. \nIf the status is "FAILED", the file content could not be uploaded. See "uploadFailureReason" for more details.'
280863
+ "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.'
280871
280864
  },
280872
- "uploadFailureReason": {
280865
+ "failedStatusReason": {
280873
280866
  "type": "string",
280874
- "description": 'Failure reason of the file upload if the upload status is "FAILED".'
280867
+ "description": 'If the file status is "UPLOAD_FAILED" or "INDEXING_FAILED" this will contain the reason of the failure.'
280875
280868
  },
280876
280869
  "uploadUrl": {
280877
280870
  "type": "string",
280878
- "description": "URL to upload the file content. File content needs to be sent to this URL via a POST request."
280871
+ "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
280879
280872
  }
280880
280873
  },
280881
280874
  "required": [
@@ -280888,7 +280881,8 @@ var state = {
280888
280881
  "createdAt",
280889
280882
  "updatedAt",
280890
280883
  "accessPolicies",
280891
- "uploadStatus",
280884
+ "index",
280885
+ "status",
280892
280886
  "uploadUrl"
280893
280887
  ],
280894
280888
  "additionalProperties": false
@@ -281009,32 +281003,25 @@ var state = {
281009
281003
  },
281010
281004
  "description": "Access policies configured for the file."
281011
281005
  },
281012
- "indexingStatus": {
281013
- "type": "string",
281014
- "enum": [
281015
- "PENDING",
281016
- "IN_PROGRESS",
281017
- "COMPLETE",
281018
- "FAILED"
281019
- ],
281020
- "description": "Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created."
281021
- },
281022
- "indexingFailureReason": {
281023
- "type": "string",
281024
- "description": 'Last failure reason of the file indexing if the indexing status is "FAILED".'
281006
+ "index": {
281007
+ "type": "boolean",
281008
+ "description": "Whether the file was requested to be indexed for search or not."
281025
281009
  },
281026
- "uploadStatus": {
281010
+ "status": {
281027
281011
  "type": "string",
281028
281012
  "enum": [
281029
- "PENDING",
281030
- "COMPLETE",
281031
- "FAILED"
281013
+ "UPLOAD_PENDING",
281014
+ "UPLOAD_FAILED",
281015
+ "UPLOAD_COMPLETED",
281016
+ "INDEXING_PENDING",
281017
+ "INDEXING_FAILED",
281018
+ "INDEXING_COMPLETED"
281032
281019
  ],
281033
- "description": 'Status of the file upload process. If the status is "PENDING", the file content has not been uploaded yet. \nThe status will be set to "COMPLETE" once the file content has been uploaded successfully. \nIf the status is "FAILED", the file content could not be uploaded. See "uploadFailureReason" for more details.'
281020
+ "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.'
281034
281021
  },
281035
- "uploadFailureReason": {
281022
+ "failedStatusReason": {
281036
281023
  "type": "string",
281037
- "description": 'Failure reason of the file upload if the upload status is "FAILED".'
281024
+ "description": 'If the file status is "UPLOAD_FAILED" or "INDEXING_FAILED" this will contain the reason of the failure.'
281038
281025
  }
281039
281026
  },
281040
281027
  "required": [
@@ -281047,7 +281034,8 @@ var state = {
281047
281034
  "createdAt",
281048
281035
  "updatedAt",
281049
281036
  "accessPolicies",
281050
- "uploadStatus"
281037
+ "index",
281038
+ "status"
281051
281039
  ]
281052
281040
  }
281053
281041
  },
@@ -281071,10 +281059,10 @@ var state = {
281071
281059
  }
281072
281060
  }
281073
281061
  },
281074
- "getFileMetadata": {
281075
- "name": "getFileMetadata",
281076
- "path": "/v1/files/{id}/metadata",
281077
- "description": "Get file metadata",
281062
+ "getFile": {
281063
+ "name": "getFile",
281064
+ "path": "/v1/files/{id}",
281065
+ "description": "Get file",
281078
281066
  "method": "get",
281079
281067
  "section": "files",
281080
281068
  "parameters": {
@@ -281085,7 +281073,7 @@ var state = {
281085
281073
  }
281086
281074
  },
281087
281075
  "response": {
281088
- "description": "The metadata of the file.",
281076
+ "description": "File metadata and URL",
281089
281077
  "schema": {
281090
281078
  "type": "object",
281091
281079
  "properties": {
@@ -281137,32 +281125,25 @@ var state = {
281137
281125
  },
281138
281126
  "description": "Access policies configured for the file."
281139
281127
  },
281140
- "indexingStatus": {
281141
- "type": "string",
281142
- "enum": [
281143
- "PENDING",
281144
- "IN_PROGRESS",
281145
- "COMPLETE",
281146
- "FAILED"
281147
- ],
281148
- "description": "Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created."
281149
- },
281150
- "indexingFailureReason": {
281151
- "type": "string",
281152
- "description": 'Last failure reason of the file indexing if the indexing status is "FAILED".'
281128
+ "index": {
281129
+ "type": "boolean",
281130
+ "description": "Whether the file was requested to be indexed for search or not."
281153
281131
  },
281154
- "uploadStatus": {
281132
+ "status": {
281155
281133
  "type": "string",
281156
281134
  "enum": [
281157
- "PENDING",
281158
- "COMPLETE",
281159
- "FAILED"
281135
+ "UPLOAD_PENDING",
281136
+ "UPLOAD_FAILED",
281137
+ "UPLOAD_COMPLETED",
281138
+ "INDEXING_PENDING",
281139
+ "INDEXING_FAILED",
281140
+ "INDEXING_COMPLETED"
281160
281141
  ],
281161
- "description": 'Status of the file upload process. If the status is "PENDING", the file content has not been uploaded yet. \nThe status will be set to "COMPLETE" once the file content has been uploaded successfully. \nIf the status is "FAILED", the file content could not be uploaded. See "uploadFailureReason" for more details.'
281142
+ "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.'
281162
281143
  },
281163
- "uploadFailureReason": {
281144
+ "failedStatusReason": {
281164
281145
  "type": "string",
281165
- "description": 'Failure reason of the file upload if the upload status is "FAILED".'
281146
+ "description": 'If the file status is "UPLOAD_FAILED" or "INDEXING_FAILED" this will contain the reason of the failure.'
281166
281147
  }
281167
281148
  },
281168
281149
  "required": [
@@ -281175,46 +281156,22 @@ var state = {
281175
281156
  "createdAt",
281176
281157
  "updatedAt",
281177
281158
  "accessPolicies",
281178
- "uploadStatus"
281159
+ "index",
281160
+ "status"
281179
281161
  ],
281180
281162
  "additionalProperties": false
281181
- }
281182
- },
281183
- "required": [
281184
- "file"
281185
- ],
281186
- "title": "getFileMetadataResponse",
281187
- "additionalProperties": false
281188
- }
281189
- }
281190
- },
281191
- "getFileContent": {
281192
- "name": "getFileContent",
281193
- "path": "/v1/files/{id}/content",
281194
- "description": "Returns a presigned URL to download the file content.",
281195
- "method": "get",
281196
- "section": "files",
281197
- "parameters": {
281198
- "id": {
281199
- "type": "string",
281200
- "description": "File ID",
281201
- "in": "path"
281202
- }
281203
- },
281204
- "response": {
281205
- "description": "Returns a temporary pre-signed URL to download the file content.",
281206
- "schema": {
281207
- "type": "object",
281208
- "properties": {
281163
+ },
281209
281164
  "url": {
281210
281165
  "type": "string",
281211
- "description": "Temporary pre-signed URL to download the file, should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe."
281166
+ "description": "If the file is not uploaded yet, this will be set to a `null` value.\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.",
281167
+ "nullable": true
281212
281168
  }
281213
281169
  },
281214
281170
  "required": [
281171
+ "file",
281215
281172
  "url"
281216
281173
  ],
281217
- "title": "getFileContentResponse",
281174
+ "title": "getFileResponse",
281218
281175
  "additionalProperties": false
281219
281176
  }
281220
281177
  }
@@ -282248,7 +282205,7 @@ var state = {
282248
282205
  "title": "Botpress API",
282249
282206
  "description": "API for Botpress Cloud",
282250
282207
  "server": "https://api.botpress.cloud",
282251
- "version": "0.26.4",
282208
+ "version": "0.27.1",
282252
282209
  "prefix": "v1"
282253
282210
  },
282254
282211
  "errors": [
@@ -282522,8 +282479,7 @@ var state = {
282522
282479
  "createFileResponse": true,
282523
282480
  "deleteFileResponse": true,
282524
282481
  "listFilesResponse": true,
282525
- "getFileMetadataResponse": true,
282526
- "getFileContentResponse": true,
282482
+ "getFileResponse": true,
282527
282483
  "updateFileMetadataResponse": true,
282528
282484
  "searchFilesResponse": true,
282529
282485
  "listTablesResponse": true,
@@ -284610,32 +284566,25 @@ var state = {
284610
284566
  },
284611
284567
  "description": "Access policies configured for the file."
284612
284568
  },
284613
- "indexingStatus": {
284614
- "type": "string",
284615
- "enum": [
284616
- "PENDING",
284617
- "IN_PROGRESS",
284618
- "COMPLETE",
284619
- "FAILED"
284620
- ],
284621
- "description": "Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created."
284622
- },
284623
- "indexingFailureReason": {
284624
- "type": "string",
284625
- "description": 'Last failure reason of the file indexing if the indexing status is "FAILED".'
284569
+ "index": {
284570
+ "type": "boolean",
284571
+ "description": "Whether the file was requested to be indexed for search or not."
284626
284572
  },
284627
- "uploadStatus": {
284573
+ "status": {
284628
284574
  "type": "string",
284629
284575
  "enum": [
284630
- "PENDING",
284631
- "COMPLETE",
284632
- "FAILED"
284576
+ "UPLOAD_PENDING",
284577
+ "UPLOAD_FAILED",
284578
+ "UPLOAD_COMPLETED",
284579
+ "INDEXING_PENDING",
284580
+ "INDEXING_FAILED",
284581
+ "INDEXING_COMPLETED"
284633
284582
  ],
284634
- "description": 'Status of the file upload process. If the status is "PENDING", the file content has not been uploaded yet. \nThe status will be set to "COMPLETE" once the file content has been uploaded successfully. \nIf the status is "FAILED", the file content could not be uploaded. See "uploadFailureReason" for more details.'
284583
+ "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.'
284635
284584
  },
284636
- "uploadFailureReason": {
284585
+ "failedStatusReason": {
284637
284586
  "type": "string",
284638
- "description": 'Failure reason of the file upload if the upload status is "FAILED".'
284587
+ "description": 'If the file status is "UPLOAD_FAILED" or "INDEXING_FAILED" this will contain the reason of the failure.'
284639
284588
  }
284640
284589
  },
284641
284590
  "required": [
@@ -284648,7 +284597,8 @@ var state = {
284648
284597
  "createdAt",
284649
284598
  "updatedAt",
284650
284599
  "accessPolicies",
284651
- "uploadStatus"
284600
+ "index",
284601
+ "status"
284652
284602
  ],
284653
284603
  "additionalProperties": false
284654
284604
  }
@@ -284915,8 +284865,7 @@ var state = {
284915
284865
  "createFile",
284916
284866
  "deleteFile",
284917
284867
  "listFiles",
284918
- "getFileMetadata",
284919
- "getFileContent",
284868
+ "getFile",
284920
284869
  "updateFileMetadata",
284921
284870
  "searchFiles"
284922
284871
  ],
@@ -7158,21 +7158,16 @@ export declare const state: {
7158
7158
  };
7159
7159
  description: string;
7160
7160
  };
7161
- indexingStatus: {
7162
- type: "string";
7163
- enum: string[];
7164
- description: string;
7165
- };
7166
- indexingFailureReason: {
7167
- type: "string";
7161
+ index: {
7162
+ type: "boolean";
7168
7163
  description: string;
7169
7164
  };
7170
- uploadStatus: {
7165
+ status: {
7171
7166
  type: "string";
7172
7167
  enum: string[];
7173
7168
  description: string;
7174
7169
  };
7175
- uploadFailureReason: {
7170
+ failedStatusReason: {
7176
7171
  type: "string";
7177
7172
  description: string;
7178
7173
  };
@@ -7298,21 +7293,16 @@ export declare const state: {
7298
7293
  };
7299
7294
  description: string;
7300
7295
  };
7301
- indexingStatus: {
7302
- type: "string";
7303
- enum: string[];
7304
- description: string;
7305
- };
7306
- indexingFailureReason: {
7307
- type: "string";
7296
+ index: {
7297
+ type: "boolean";
7308
7298
  description: string;
7309
7299
  };
7310
- uploadStatus: {
7300
+ status: {
7311
7301
  type: "string";
7312
7302
  enum: string[];
7313
7303
  description: string;
7314
7304
  };
7315
- uploadFailureReason: {
7305
+ failedStatusReason: {
7316
7306
  type: "string";
7317
7307
  description: string;
7318
7308
  };
@@ -7337,7 +7327,7 @@ export declare const state: {
7337
7327
  };
7338
7328
  };
7339
7329
  };
7340
- getFileMetadata: {
7330
+ getFile: {
7341
7331
  name: string;
7342
7332
  path: string;
7343
7333
  description: string;
@@ -7403,21 +7393,16 @@ export declare const state: {
7403
7393
  };
7404
7394
  description: string;
7405
7395
  };
7406
- indexingStatus: {
7407
- type: "string";
7408
- enum: string[];
7409
- description: string;
7410
- };
7411
- indexingFailureReason: {
7412
- type: "string";
7396
+ index: {
7397
+ type: "boolean";
7413
7398
  description: string;
7414
7399
  };
7415
- uploadStatus: {
7400
+ status: {
7416
7401
  type: "string";
7417
7402
  enum: string[];
7418
7403
  description: string;
7419
7404
  };
7420
- uploadFailureReason: {
7405
+ failedStatusReason: {
7421
7406
  type: "string";
7422
7407
  description: string;
7423
7408
  };
@@ -7425,34 +7410,10 @@ export declare const state: {
7425
7410
  required: string[];
7426
7411
  additionalProperties: false;
7427
7412
  };
7428
- };
7429
- required: string[];
7430
- title: string;
7431
- additionalProperties: false;
7432
- };
7433
- };
7434
- };
7435
- getFileContent: {
7436
- name: string;
7437
- path: string;
7438
- description: string;
7439
- method: "get";
7440
- section: "files";
7441
- parameters: {
7442
- id: {
7443
- type: "string";
7444
- description: string;
7445
- in: "path";
7446
- };
7447
- };
7448
- response: {
7449
- description: string;
7450
- schema: {
7451
- type: "object";
7452
- properties: {
7453
7413
  url: {
7454
7414
  type: "string";
7455
7415
  description: string;
7416
+ nullable: true;
7456
7417
  };
7457
7418
  };
7458
7419
  required: string[];
@@ -8621,8 +8582,7 @@ export declare const state: {
8621
8582
  createFileResponse: true;
8622
8583
  deleteFileResponse: true;
8623
8584
  listFilesResponse: true;
8624
- getFileMetadataResponse: true;
8625
- getFileContentResponse: true;
8585
+ getFileResponse: true;
8626
8586
  updateFileMetadataResponse: true;
8627
8587
  searchFilesResponse: true;
8628
8588
  listTablesResponse: true;
@@ -10353,21 +10313,16 @@ export declare const state: {
10353
10313
  };
10354
10314
  description: string;
10355
10315
  };
10356
- indexingStatus: {
10357
- type: "string";
10358
- enum: string[];
10359
- description: string;
10360
- };
10361
- indexingFailureReason: {
10362
- type: "string";
10316
+ index: {
10317
+ type: "boolean";
10363
10318
  description: string;
10364
10319
  };
10365
- uploadStatus: {
10320
+ status: {
10366
10321
  type: "string";
10367
10322
  enum: string[];
10368
10323
  description: string;
10369
10324
  };
10370
- uploadFailureReason: {
10325
+ failedStatusReason: {
10371
10326
  type: "string";
10372
10327
  description: string;
10373
10328
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.26.4",
3
+ "version": "0.27.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -1 +1 @@
1
- {"sections":[{"description":"","title":"User","name":"user","operations":["createUser","getUser","listUsers","getOrCreateUser","updateUser","deleteUser"],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":["createConversation","getConversation","listConversations","getOrCreateConversation","updateConversation","deleteConversation","listParticipants","addParticipant","getParticipant","removeParticipant"],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":["createEvent","getEvent","listEvents"],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":["createMessage","getOrCreateMessage","getMessage","updateMessage","listMessages","deleteMessage"],"schema":"Message"},{"description":"","title":"File","name":"file","operations":[]},{"description":"","title":"State","name":"state","operations":["getState","setState","getOrSetState","patchState"],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration"]},{"description":"","title":"Action","name":"action","operations":["callAction"]},{"description":"","title":"Task","name":"task","operations":["getTask","createTask","updateTask","deleteTask","listTasks"],"schema":"Task"},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listBotIssues","deleteBotIssue","listBotIssueEvents"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","updateIntegration","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration"],"schema":"Integration"},{"title":"Workspace","description":"","name":"workspace","operations":["setWorkspacePaymentMethod","listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":["listTables","getTable","getOrCreateTable","createTable","duplicateTable","updateTable","renameTableColumn","deleteTable","getTableRow","findTableRows","createTableRows","deleteTableRows","updateTableRows","upsertTableRows"],"schema":"Table"},{"title":"Files","description":"Operations related to file management.","name":"files","operations":["createFile","deleteFile","listFiles","getFileMetadata","getFileContent","updateFileMetadata","searchFiles"],"schema":"File"}],"errors":[{"status":500,"type":"Unknown","description":"An unknown error occurred"},{"status":500,"type":"Internal","description":"An internal error occurred"},{"status":401,"type":"Unauthorized","description":"The request requires to be authenticated."},{"status":403,"type":"Forbidden","description":"The requested action can't be peform by this resource."},{"status":413,"type":"PayloadTooLarge","description":"The request payload is too large."},{"status":400,"type":"InvalidPayload","description":"The request payload is invalid."},{"status":415,"type":"UnsupportedMediaType","description":"The request is invalid because the content-type is not supported."},{"status":405,"type":"MethodNotFound","description":"The requested method does not exist."},{"status":404,"type":"ResourceNotFound","description":"The requested resource does not exist."},{"status":400,"type":"InvalidJsonSchema","description":"The provided JSON schema is invalid."},{"status":400,"type":"InvalidDataFormat","description":"The provided data doesn't respect the provided JSON schema."},{"status":400,"type":"InvalidIdentifier","description":"The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters."},{"status":409,"type":"RelationConflict","description":"The resource is related with a different resource that the one referenced in the request. This is usually caused when providing two resource identifiers that aren't linked together."},{"status":409,"type":"ReferenceConstraint","description":"The resource cannot be deleted because it's referenced by another resource"},{"status":400,"type":"ReferenceNotFound","description":"The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request."},{"status":400,"type":"InvalidQuery","description":"The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource."},{"status":400,"type":"Runtime","description":"An error happened during the execution of a runtime (bot or integration)."},{"status":409,"type":"AlreadyExists","description":"The record attempted to be created already exists."},{"status":429,"type":"RateLimited","description":"The request has been rate limited."},{"status":402,"type":"PaymentRequired","description":"A payment is required to perform this request."},{"status":403,"type":"QuotaExceeded","description":"The request exceeds the allowed quota. Quotas are a soft limit that can be increased."},{"status":413,"type":"LimitExceeded","description":"The request exceeds the allowed limit. Limits are a hard limit that cannot be increased."},{"status":400,"type":"BreakingChanges","description":"Request payload contains breaking changes which is not allowed for this resource without a version increment."}]}
1
+ {"sections":[{"description":"","title":"User","name":"user","operations":["createUser","getUser","listUsers","getOrCreateUser","updateUser","deleteUser"],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":["createConversation","getConversation","listConversations","getOrCreateConversation","updateConversation","deleteConversation","listParticipants","addParticipant","getParticipant","removeParticipant"],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":["createEvent","getEvent","listEvents"],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":["createMessage","getOrCreateMessage","getMessage","updateMessage","listMessages","deleteMessage"],"schema":"Message"},{"description":"","title":"File","name":"file","operations":[]},{"description":"","title":"State","name":"state","operations":["getState","setState","getOrSetState","patchState"],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration"]},{"description":"","title":"Action","name":"action","operations":["callAction"]},{"description":"","title":"Task","name":"task","operations":["getTask","createTask","updateTask","deleteTask","listTasks"],"schema":"Task"},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listBotIssues","deleteBotIssue","listBotIssueEvents"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","updateIntegration","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration"],"schema":"Integration"},{"title":"Workspace","description":"","name":"workspace","operations":["setWorkspacePaymentMethod","listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":["listTables","getTable","getOrCreateTable","createTable","duplicateTable","updateTable","renameTableColumn","deleteTable","getTableRow","findTableRows","createTableRows","deleteTableRows","updateTableRows","upsertTableRows"],"schema":"Table"},{"title":"Files","description":"Operations related to file management.","name":"files","operations":["createFile","deleteFile","listFiles","getFile","updateFileMetadata","searchFiles"],"schema":"File"}],"errors":[{"status":500,"type":"Unknown","description":"An unknown error occurred"},{"status":500,"type":"Internal","description":"An internal error occurred"},{"status":401,"type":"Unauthorized","description":"The request requires to be authenticated."},{"status":403,"type":"Forbidden","description":"The requested action can't be peform by this resource."},{"status":413,"type":"PayloadTooLarge","description":"The request payload is too large."},{"status":400,"type":"InvalidPayload","description":"The request payload is invalid."},{"status":415,"type":"UnsupportedMediaType","description":"The request is invalid because the content-type is not supported."},{"status":405,"type":"MethodNotFound","description":"The requested method does not exist."},{"status":404,"type":"ResourceNotFound","description":"The requested resource does not exist."},{"status":400,"type":"InvalidJsonSchema","description":"The provided JSON schema is invalid."},{"status":400,"type":"InvalidDataFormat","description":"The provided data doesn't respect the provided JSON schema."},{"status":400,"type":"InvalidIdentifier","description":"The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters."},{"status":409,"type":"RelationConflict","description":"The resource is related with a different resource that the one referenced in the request. This is usually caused when providing two resource identifiers that aren't linked together."},{"status":409,"type":"ReferenceConstraint","description":"The resource cannot be deleted because it's referenced by another resource"},{"status":400,"type":"ReferenceNotFound","description":"The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request."},{"status":400,"type":"InvalidQuery","description":"The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource."},{"status":400,"type":"Runtime","description":"An error happened during the execution of a runtime (bot or integration)."},{"status":409,"type":"AlreadyExists","description":"The record attempted to be created already exists."},{"status":429,"type":"RateLimited","description":"The request has been rate limited."},{"status":402,"type":"PaymentRequired","description":"A payment is required to perform this request."},{"status":403,"type":"QuotaExceeded","description":"The request exceeds the allowed quota. Quotas are a soft limit that can be increased."},{"status":413,"type":"LimitExceeded","description":"The request exceeds the allowed limit. Limits are a hard limit that cannot be increased."},{"status":400,"type":"BreakingChanges","description":"Request payload contains breaking changes which is not allowed for this resource without a version increment."}]}