@botpress/api 0.25.0 → 0.26.0

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
@@ -7103,9 +7103,9 @@ var require_safe = __commonJS({
7103
7103
  }
7104
7104
  });
7105
7105
 
7106
- // ../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/config/cli.js
7106
+ // ../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/config/cli.js
7107
7107
  var require_cli = __commonJS({
7108
- "../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/config/cli.js"(exports) {
7108
+ "../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/config/cli.js"(exports) {
7109
7109
  "use strict";
7110
7110
  exports.levels = {
7111
7111
  error: 0,
@@ -7134,9 +7134,9 @@ var require_cli = __commonJS({
7134
7134
  }
7135
7135
  });
7136
7136
 
7137
- // ../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/config/npm.js
7137
+ // ../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/config/npm.js
7138
7138
  var require_npm = __commonJS({
7139
- "../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/config/npm.js"(exports) {
7139
+ "../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/config/npm.js"(exports) {
7140
7140
  "use strict";
7141
7141
  exports.levels = {
7142
7142
  error: 0,
@@ -7159,9 +7159,9 @@ var require_npm = __commonJS({
7159
7159
  }
7160
7160
  });
7161
7161
 
7162
- // ../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/config/syslog.js
7162
+ // ../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/config/syslog.js
7163
7163
  var require_syslog = __commonJS({
7164
- "../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/config/syslog.js"(exports) {
7164
+ "../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/config/syslog.js"(exports) {
7165
7165
  "use strict";
7166
7166
  exports.levels = {
7167
7167
  emerg: 0,
@@ -7186,9 +7186,9 @@ var require_syslog = __commonJS({
7186
7186
  }
7187
7187
  });
7188
7188
 
7189
- // ../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/config/index.js
7189
+ // ../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/config/index.js
7190
7190
  var require_config = __commonJS({
7191
- "../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/config/index.js"(exports) {
7191
+ "../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/config/index.js"(exports) {
7192
7192
  "use strict";
7193
7193
  Object.defineProperty(exports, "cli", {
7194
7194
  value: require_cli()
@@ -7202,9 +7202,9 @@ var require_config = __commonJS({
7202
7202
  }
7203
7203
  });
7204
7204
 
7205
- // ../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/index.js
7205
+ // ../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/index.js
7206
7206
  var require_triple_beam = __commonJS({
7207
- "../../node_modules/.pnpm/triple-beam@1.3.0/node_modules/triple-beam/index.js"(exports) {
7207
+ "../../node_modules/.pnpm/triple-beam@1.4.1/node_modules/triple-beam/index.js"(exports) {
7208
7208
  "use strict";
7209
7209
  Object.defineProperty(exports, "LEVEL", {
7210
7210
  value: Symbol.for("level")
@@ -274022,6 +274022,11 @@ var state = {
274022
274022
  "description": "Global identifier configuration of the [Integration](#schema_integration)",
274023
274023
  "additionalProperties": false
274024
274024
  },
274025
+ "url": {
274026
+ "type": "string",
274027
+ "maxLength": 2e3,
274028
+ "description": "Title describing the task"
274029
+ },
274025
274030
  "name": {
274026
274031
  "type": "string",
274027
274032
  "maxLength": 200,
@@ -274436,6 +274441,7 @@ var state = {
274436
274441
  "createdAt",
274437
274442
  "updatedAt",
274438
274443
  "identifier",
274444
+ "url",
274439
274445
  "name",
274440
274446
  "version",
274441
274447
  "configuration",
@@ -274527,6 +274533,11 @@ var state = {
274527
274533
  "description": "Global identifier configuration of the [Integration](#schema_integration)",
274528
274534
  "additionalProperties": false
274529
274535
  },
274536
+ "url": {
274537
+ "type": "string",
274538
+ "maxLength": 2e3,
274539
+ "description": "Title describing the task"
274540
+ },
274530
274541
  "name": {
274531
274542
  "type": "string",
274532
274543
  "maxLength": 200,
@@ -274941,6 +274952,7 @@ var state = {
274941
274952
  "createdAt",
274942
274953
  "updatedAt",
274943
274954
  "identifier",
274955
+ "url",
274944
274956
  "name",
274945
274957
  "version",
274946
274958
  "configuration",
@@ -277626,142 +277638,6 @@ var state = {
277626
277638
  }
277627
277639
  }
277628
277640
  },
277629
- "changeWorkspacePlan": {
277630
- "name": "changeWorkspacePlan",
277631
- "description": "Change workspace billing plan",
277632
- "section": "workspace",
277633
- "method": "put",
277634
- "path": "/v1/admin/workspaces/{id}/change-plan",
277635
- "disableDefaultParameters": {
277636
- "x-workspace-id": true
277637
- },
277638
- "parameters": {
277639
- "id": {
277640
- "type": "string",
277641
- "description": "Workspace ID",
277642
- "in": "path"
277643
- }
277644
- },
277645
- "requestBody": {
277646
- "description": "Billing plan to change the workspace to",
277647
- "schema": {
277648
- "type": "object",
277649
- "properties": {
277650
- "plan": {
277651
- "type": "string",
277652
- "enum": [
277653
- "free",
277654
- "premium"
277655
- ]
277656
- }
277657
- },
277658
- "required": [
277659
- "plan"
277660
- ],
277661
- "title": "changeWorkspacePlanBody",
277662
- "additionalProperties": false
277663
- }
277664
- },
277665
- "response": {
277666
- "description": "Success",
277667
- "schema": {
277668
- "type": "object",
277669
- "properties": {
277670
- "id": {
277671
- "type": "string"
277672
- },
277673
- "name": {
277674
- "type": "string"
277675
- },
277676
- "ownerId": {
277677
- "type": "string"
277678
- },
277679
- "createdAt": {
277680
- "type": "string"
277681
- },
277682
- "updatedAt": {
277683
- "type": "string"
277684
- },
277685
- "botCount": {
277686
- "type": "number"
277687
- },
277688
- "accountType": {
277689
- "type": "string",
277690
- "enum": [
277691
- "free",
277692
- "premium"
277693
- ]
277694
- },
277695
- "billingVersion": {
277696
- "type": "string",
277697
- "enum": [
277698
- "v1",
277699
- "v2"
277700
- ]
277701
- },
277702
- "plan": {
277703
- "type": "string",
277704
- "enum": [
277705
- "community",
277706
- "team",
277707
- "enterprise"
277708
- ]
277709
- },
277710
- "blocked": {
277711
- "type": "boolean"
277712
- },
277713
- "spendingLimit": {
277714
- "type": "number"
277715
- },
277716
- "about": {
277717
- "default": "",
277718
- "type": "string"
277719
- },
277720
- "profilePicture": {
277721
- "default": "",
277722
- "type": "string"
277723
- },
277724
- "contactEmail": {
277725
- "default": "",
277726
- "type": "string"
277727
- },
277728
- "website": {
277729
- "default": "",
277730
- "type": "string"
277731
- },
277732
- "socialAccounts": {
277733
- "default": [],
277734
- "type": "array",
277735
- "items": {
277736
- "type": "string"
277737
- }
277738
- },
277739
- "isPublic": {
277740
- "type": "boolean"
277741
- },
277742
- "handle": {
277743
- "default": "",
277744
- "type": "string"
277745
- }
277746
- },
277747
- "required": [
277748
- "id",
277749
- "name",
277750
- "ownerId",
277751
- "createdAt",
277752
- "updatedAt",
277753
- "botCount",
277754
- "accountType",
277755
- "billingVersion",
277756
- "plan",
277757
- "blocked",
277758
- "spendingLimit"
277759
- ],
277760
- "title": "changeWorkspacePlanResponse",
277761
- "additionalProperties": false
277762
- }
277763
- }
277764
- },
277765
277641
  "deleteWorkspace": {
277766
277642
  "name": "deleteWorkspace",
277767
277643
  "description": "Delete workspace",
@@ -277859,14 +277735,12 @@ var state = {
277859
277735
  "DELETE_BOT",
277860
277736
  "DEPLOY_BOT",
277861
277737
  "TRANSFER_BOT",
277862
- "DOWNGRADE_WORKSPACE_PLAN",
277863
277738
  "DOWNLOAD_BOT_ARCHIVE",
277864
277739
  "UPDATE_BOT",
277865
277740
  "UPDATE_BOT_CHANNEL",
277866
277741
  "UPDATE_BOT_CONFIG",
277867
277742
  "UPDATE_PAYMENT_METHOD",
277868
277743
  "UPDATE_WORKSPACE",
277869
- "UPGRADE_WORKSPACE_PLAN",
277870
277744
  "SET_SPENDING_LIMIT",
277871
277745
  "SET_AI_SPENDING_LIMIT"
277872
277746
  ]
@@ -278158,9 +278032,9 @@ var state = {
278158
278032
  "section": "integration",
278159
278033
  "path": "/v1/admin/integrations/iaks",
278160
278034
  "parameters": {
278161
- "integrationVersionId": {
278035
+ "integrationId": {
278162
278036
  "in": "query",
278163
- "description": "ID of the integration version",
278037
+ "description": "ID of the integration",
278164
278038
  "type": "string",
278165
278039
  "required": true
278166
278040
  }
@@ -278213,7 +278087,7 @@ var state = {
278213
278087
  "schema": {
278214
278088
  "type": "object",
278215
278089
  "properties": {
278216
- "integrationVersionId": {
278090
+ "integrationId": {
278217
278091
  "type": "string"
278218
278092
  },
278219
278093
  "note": {
@@ -278221,7 +278095,7 @@ var state = {
278221
278095
  }
278222
278096
  },
278223
278097
  "required": [
278224
- "integrationVersionId"
278098
+ "integrationId"
278225
278099
  ],
278226
278100
  "title": "createIntegrationApiKeyBody",
278227
278101
  "additionalProperties": false
@@ -278649,7 +278523,7 @@ var state = {
278649
278523
  },
278650
278524
  "url": {
278651
278525
  "type": "string",
278652
- "description": "URL of the integration; Only available for dev integrations"
278526
+ "description": "URL of the integration"
278653
278527
  },
278654
278528
  "dev": {
278655
278529
  "type": "boolean",
@@ -279099,7 +278973,8 @@ var state = {
279099
278973
  },
279100
278974
  "url": {
279101
278975
  "type": "string",
279102
- "description": "URL of the integration; Only available for dev integrations"
278976
+ "description": "URL of the integration",
278977
+ "nullable": true
279103
278978
  },
279104
278979
  "public": {
279105
278980
  "type": "boolean",
@@ -280150,9 +280025,10 @@ var state = {
280150
280025
  "type": "object",
280151
280026
  "additionalProperties": {
280152
280027
  "type": "string",
280153
- "maxLength": 1e3
280028
+ "maxLength": 1e3,
280029
+ "nullable": true
280154
280030
  },
280155
- "description": "The tags to update as an object of key/value pairs. A tag key can be set to a null value to delete it."
280031
+ "description": "The file tags to update as an object of key/value pairs with string (text) values. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`."
280156
280032
  }
280157
280033
  },
280158
280034
  "required": [
@@ -281149,7 +281025,7 @@ var state = {
281149
281025
  "title": "Botpress API",
281150
281026
  "description": "API for Botpress Cloud",
281151
281027
  "server": "https://api.botpress.cloud",
281152
- "version": "0.25.0",
281028
+ "version": "0.26.0",
281153
281029
  "prefix": "v1"
281154
281030
  },
281155
281031
  "errors": [
@@ -281302,7 +281178,6 @@ var state = {
281302
281178
  "createWorkspaceBody": true,
281303
281179
  "updateWorkspaceBody": true,
281304
281180
  "checkHandleAvailabilityBody": true,
281305
- "changeWorkspacePlanBody": true,
281306
281181
  "createWorkspaceMemberBody": true,
281307
281182
  "updateWorkspaceMemberBody": true,
281308
281183
  "createIntegrationApiKeyBody": true,
@@ -281398,7 +281273,6 @@ var state = {
281398
281273
  "updateWorkspaceResponse": true,
281399
281274
  "checkHandleAvailabilityResponse": true,
281400
281275
  "listWorkspacesResponse": true,
281401
- "changeWorkspacePlanResponse": true,
281402
281276
  "deleteWorkspaceResponse": true,
281403
281277
  "getAuditRecordsResponse": true,
281404
281278
  "listWorkspaceMembersResponse": true,
@@ -282010,6 +281884,11 @@ var state = {
282010
281884
  "description": "Global identifier configuration of the [Integration](#schema_integration)",
282011
281885
  "additionalProperties": false
282012
281886
  },
281887
+ "url": {
281888
+ "type": "string",
281889
+ "maxLength": 2e3,
281890
+ "description": "Title describing the task"
281891
+ },
282013
281892
  "name": {
282014
281893
  "type": "string",
282015
281894
  "maxLength": 200,
@@ -282403,6 +282282,7 @@ var state = {
282403
282282
  "createdAt",
282404
282283
  "updatedAt",
282405
282284
  "identifier",
282285
+ "url",
282406
282286
  "name",
282407
282287
  "version",
282408
282288
  "configuration",
@@ -283716,7 +283596,6 @@ var state = {
283716
283596
  "updateWorkspace",
283717
283597
  "checkHandleAvailability",
283718
283598
  "listWorkspaces",
283719
- "changeWorkspacePlan",
283720
283599
  "deleteWorkspace",
283721
283600
  "getAuditRecords"
283722
283601
  ],
@@ -2265,6 +2265,11 @@ export declare const state: {
2265
2265
  description: string;
2266
2266
  additionalProperties: false;
2267
2267
  };
2268
+ url: {
2269
+ type: "string";
2270
+ maxLength: number;
2271
+ description: string;
2272
+ };
2268
2273
  name: {
2269
2274
  type: "string";
2270
2275
  maxLength: number;
@@ -2700,6 +2705,11 @@ export declare const state: {
2700
2705
  description: string;
2701
2706
  additionalProperties: false;
2702
2707
  };
2708
+ url: {
2709
+ type: "string";
2710
+ maxLength: number;
2711
+ description: string;
2712
+ };
2703
2713
  name: {
2704
2714
  type: "string";
2705
2715
  maxLength: number;
@@ -5342,115 +5352,6 @@ export declare const state: {
5342
5352
  };
5343
5353
  };
5344
5354
  };
5345
- changeWorkspacePlan: {
5346
- name: string;
5347
- description: string;
5348
- section: "workspace";
5349
- method: "put";
5350
- path: string;
5351
- disableDefaultParameters: {
5352
- "x-workspace-id": boolean;
5353
- };
5354
- parameters: {
5355
- id: {
5356
- type: "string";
5357
- description: string;
5358
- in: "path";
5359
- };
5360
- };
5361
- requestBody: {
5362
- description: string;
5363
- schema: {
5364
- type: "object";
5365
- properties: {
5366
- plan: {
5367
- type: "string";
5368
- enum: string[];
5369
- };
5370
- };
5371
- required: string[];
5372
- title: string;
5373
- additionalProperties: false;
5374
- };
5375
- };
5376
- response: {
5377
- description: string;
5378
- schema: {
5379
- type: "object";
5380
- properties: {
5381
- id: {
5382
- type: "string";
5383
- };
5384
- name: {
5385
- type: "string";
5386
- };
5387
- ownerId: {
5388
- type: "string";
5389
- };
5390
- createdAt: {
5391
- type: "string";
5392
- };
5393
- updatedAt: {
5394
- type: "string";
5395
- };
5396
- botCount: {
5397
- type: "number";
5398
- };
5399
- accountType: {
5400
- type: "string";
5401
- enum: string[];
5402
- };
5403
- billingVersion: {
5404
- type: "string";
5405
- enum: string[];
5406
- };
5407
- plan: {
5408
- type: "string";
5409
- enum: string[];
5410
- };
5411
- blocked: {
5412
- type: "boolean";
5413
- };
5414
- spendingLimit: {
5415
- type: "number";
5416
- };
5417
- about: {
5418
- default: string;
5419
- type: "string";
5420
- };
5421
- profilePicture: {
5422
- default: string;
5423
- type: "string";
5424
- };
5425
- contactEmail: {
5426
- default: string;
5427
- type: "string";
5428
- };
5429
- website: {
5430
- default: string;
5431
- type: "string";
5432
- };
5433
- socialAccounts: {
5434
- default: never[];
5435
- type: "array";
5436
- items: {
5437
- type: "string";
5438
- };
5439
- };
5440
- isPublic: {
5441
- type: "boolean";
5442
- };
5443
- handle: {
5444
- default: string;
5445
- type: "string";
5446
- };
5447
- };
5448
- required: string[];
5449
- title: string;
5450
- additionalProperties: false;
5451
- };
5452
- };
5453
- };
5454
5355
  deleteWorkspace: {
5455
5356
  name: string;
5456
5357
  description: string;
@@ -5761,7 +5662,7 @@ export declare const state: {
5761
5662
  section: "integration";
5762
5663
  path: string;
5763
5664
  parameters: {
5764
- integrationVersionId: {
5665
+ integrationId: {
5765
5666
  in: "query";
5766
5667
  description: string;
5767
5668
  type: "string";
@@ -5810,7 +5711,7 @@ export declare const state: {
5810
5711
  schema: {
5811
5712
  type: "object";
5812
5713
  properties: {
5813
- integrationVersionId: {
5714
+ integrationId: {
5814
5715
  type: "string";
5815
5716
  };
5816
5717
  note: {
@@ -6631,6 +6532,7 @@ export declare const state: {
6631
6532
  url: {
6632
6533
  type: "string";
6633
6534
  description: string;
6535
+ nullable: true;
6634
6536
  };
6635
6537
  public: {
6636
6538
  type: "boolean";
@@ -7541,6 +7443,7 @@ export declare const state: {
7541
7443
  additionalProperties: {
7542
7444
  type: "string";
7543
7445
  maxLength: number;
7446
+ nullable: true;
7544
7447
  };
7545
7448
  description: string;
7546
7449
  };
@@ -8549,7 +8452,6 @@ export declare const state: {
8549
8452
  createWorkspaceBody: true;
8550
8453
  updateWorkspaceBody: true;
8551
8454
  checkHandleAvailabilityBody: true;
8552
- changeWorkspacePlanBody: true;
8553
8455
  createWorkspaceMemberBody: true;
8554
8456
  updateWorkspaceMemberBody: true;
8555
8457
  createIntegrationApiKeyBody: true;
@@ -8645,7 +8547,6 @@ export declare const state: {
8645
8547
  updateWorkspaceResponse: true;
8646
8548
  checkHandleAvailabilityResponse: true;
8647
8549
  listWorkspacesResponse: true;
8648
- changeWorkspacePlanResponse: true;
8649
8550
  deleteWorkspaceResponse: true;
8650
8551
  getAuditRecordsResponse: true;
8651
8552
  listWorkspaceMembersResponse: true;
@@ -9172,6 +9073,11 @@ export declare const state: {
9172
9073
  description: string;
9173
9074
  additionalProperties: false;
9174
9075
  };
9076
+ url: {
9077
+ type: "string";
9078
+ maxLength: number;
9079
+ description: string;
9080
+ };
9175
9081
  name: {
9176
9082
  type: "string";
9177
9083
  maxLength: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
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","changeWorkspacePlan","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","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."}]}