@botpress/api 0.25.1 → 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 +14 -154
- package/dist/src/gen/state.d.ts +1 -111
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +4 -144
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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")
|
|
@@ -277638,142 +277638,6 @@ var state = {
|
|
|
277638
277638
|
}
|
|
277639
277639
|
}
|
|
277640
277640
|
},
|
|
277641
|
-
"changeWorkspacePlan": {
|
|
277642
|
-
"name": "changeWorkspacePlan",
|
|
277643
|
-
"description": "Change workspace billing plan",
|
|
277644
|
-
"section": "workspace",
|
|
277645
|
-
"method": "put",
|
|
277646
|
-
"path": "/v1/admin/workspaces/{id}/change-plan",
|
|
277647
|
-
"disableDefaultParameters": {
|
|
277648
|
-
"x-workspace-id": true
|
|
277649
|
-
},
|
|
277650
|
-
"parameters": {
|
|
277651
|
-
"id": {
|
|
277652
|
-
"type": "string",
|
|
277653
|
-
"description": "Workspace ID",
|
|
277654
|
-
"in": "path"
|
|
277655
|
-
}
|
|
277656
|
-
},
|
|
277657
|
-
"requestBody": {
|
|
277658
|
-
"description": "Billing plan to change the workspace to",
|
|
277659
|
-
"schema": {
|
|
277660
|
-
"type": "object",
|
|
277661
|
-
"properties": {
|
|
277662
|
-
"plan": {
|
|
277663
|
-
"type": "string",
|
|
277664
|
-
"enum": [
|
|
277665
|
-
"free",
|
|
277666
|
-
"premium"
|
|
277667
|
-
]
|
|
277668
|
-
}
|
|
277669
|
-
},
|
|
277670
|
-
"required": [
|
|
277671
|
-
"plan"
|
|
277672
|
-
],
|
|
277673
|
-
"title": "changeWorkspacePlanBody",
|
|
277674
|
-
"additionalProperties": false
|
|
277675
|
-
}
|
|
277676
|
-
},
|
|
277677
|
-
"response": {
|
|
277678
|
-
"description": "Success",
|
|
277679
|
-
"schema": {
|
|
277680
|
-
"type": "object",
|
|
277681
|
-
"properties": {
|
|
277682
|
-
"id": {
|
|
277683
|
-
"type": "string"
|
|
277684
|
-
},
|
|
277685
|
-
"name": {
|
|
277686
|
-
"type": "string"
|
|
277687
|
-
},
|
|
277688
|
-
"ownerId": {
|
|
277689
|
-
"type": "string"
|
|
277690
|
-
},
|
|
277691
|
-
"createdAt": {
|
|
277692
|
-
"type": "string"
|
|
277693
|
-
},
|
|
277694
|
-
"updatedAt": {
|
|
277695
|
-
"type": "string"
|
|
277696
|
-
},
|
|
277697
|
-
"botCount": {
|
|
277698
|
-
"type": "number"
|
|
277699
|
-
},
|
|
277700
|
-
"accountType": {
|
|
277701
|
-
"type": "string",
|
|
277702
|
-
"enum": [
|
|
277703
|
-
"free",
|
|
277704
|
-
"premium"
|
|
277705
|
-
]
|
|
277706
|
-
},
|
|
277707
|
-
"billingVersion": {
|
|
277708
|
-
"type": "string",
|
|
277709
|
-
"enum": [
|
|
277710
|
-
"v1",
|
|
277711
|
-
"v2"
|
|
277712
|
-
]
|
|
277713
|
-
},
|
|
277714
|
-
"plan": {
|
|
277715
|
-
"type": "string",
|
|
277716
|
-
"enum": [
|
|
277717
|
-
"community",
|
|
277718
|
-
"team",
|
|
277719
|
-
"enterprise"
|
|
277720
|
-
]
|
|
277721
|
-
},
|
|
277722
|
-
"blocked": {
|
|
277723
|
-
"type": "boolean"
|
|
277724
|
-
},
|
|
277725
|
-
"spendingLimit": {
|
|
277726
|
-
"type": "number"
|
|
277727
|
-
},
|
|
277728
|
-
"about": {
|
|
277729
|
-
"default": "",
|
|
277730
|
-
"type": "string"
|
|
277731
|
-
},
|
|
277732
|
-
"profilePicture": {
|
|
277733
|
-
"default": "",
|
|
277734
|
-
"type": "string"
|
|
277735
|
-
},
|
|
277736
|
-
"contactEmail": {
|
|
277737
|
-
"default": "",
|
|
277738
|
-
"type": "string"
|
|
277739
|
-
},
|
|
277740
|
-
"website": {
|
|
277741
|
-
"default": "",
|
|
277742
|
-
"type": "string"
|
|
277743
|
-
},
|
|
277744
|
-
"socialAccounts": {
|
|
277745
|
-
"default": [],
|
|
277746
|
-
"type": "array",
|
|
277747
|
-
"items": {
|
|
277748
|
-
"type": "string"
|
|
277749
|
-
}
|
|
277750
|
-
},
|
|
277751
|
-
"isPublic": {
|
|
277752
|
-
"type": "boolean"
|
|
277753
|
-
},
|
|
277754
|
-
"handle": {
|
|
277755
|
-
"default": "",
|
|
277756
|
-
"type": "string"
|
|
277757
|
-
}
|
|
277758
|
-
},
|
|
277759
|
-
"required": [
|
|
277760
|
-
"id",
|
|
277761
|
-
"name",
|
|
277762
|
-
"ownerId",
|
|
277763
|
-
"createdAt",
|
|
277764
|
-
"updatedAt",
|
|
277765
|
-
"botCount",
|
|
277766
|
-
"accountType",
|
|
277767
|
-
"billingVersion",
|
|
277768
|
-
"plan",
|
|
277769
|
-
"blocked",
|
|
277770
|
-
"spendingLimit"
|
|
277771
|
-
],
|
|
277772
|
-
"title": "changeWorkspacePlanResponse",
|
|
277773
|
-
"additionalProperties": false
|
|
277774
|
-
}
|
|
277775
|
-
}
|
|
277776
|
-
},
|
|
277777
277641
|
"deleteWorkspace": {
|
|
277778
277642
|
"name": "deleteWorkspace",
|
|
277779
277643
|
"description": "Delete workspace",
|
|
@@ -277871,14 +277735,12 @@ var state = {
|
|
|
277871
277735
|
"DELETE_BOT",
|
|
277872
277736
|
"DEPLOY_BOT",
|
|
277873
277737
|
"TRANSFER_BOT",
|
|
277874
|
-
"DOWNGRADE_WORKSPACE_PLAN",
|
|
277875
277738
|
"DOWNLOAD_BOT_ARCHIVE",
|
|
277876
277739
|
"UPDATE_BOT",
|
|
277877
277740
|
"UPDATE_BOT_CHANNEL",
|
|
277878
277741
|
"UPDATE_BOT_CONFIG",
|
|
277879
277742
|
"UPDATE_PAYMENT_METHOD",
|
|
277880
277743
|
"UPDATE_WORKSPACE",
|
|
277881
|
-
"UPGRADE_WORKSPACE_PLAN",
|
|
277882
277744
|
"SET_SPENDING_LIMIT",
|
|
277883
277745
|
"SET_AI_SPENDING_LIMIT"
|
|
277884
277746
|
]
|
|
@@ -280163,9 +280025,10 @@ var state = {
|
|
|
280163
280025
|
"type": "object",
|
|
280164
280026
|
"additionalProperties": {
|
|
280165
280027
|
"type": "string",
|
|
280166
|
-
"maxLength": 1e3
|
|
280028
|
+
"maxLength": 1e3,
|
|
280029
|
+
"nullable": true
|
|
280167
280030
|
},
|
|
280168
|
-
"description": "The tags to update as an object of key/value pairs.
|
|
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`."
|
|
280169
280032
|
}
|
|
280170
280033
|
},
|
|
280171
280034
|
"required": [
|
|
@@ -281162,7 +281025,7 @@ var state = {
|
|
|
281162
281025
|
"title": "Botpress API",
|
|
281163
281026
|
"description": "API for Botpress Cloud",
|
|
281164
281027
|
"server": "https://api.botpress.cloud",
|
|
281165
|
-
"version": "0.
|
|
281028
|
+
"version": "0.26.0",
|
|
281166
281029
|
"prefix": "v1"
|
|
281167
281030
|
},
|
|
281168
281031
|
"errors": [
|
|
@@ -281315,7 +281178,6 @@ var state = {
|
|
|
281315
281178
|
"createWorkspaceBody": true,
|
|
281316
281179
|
"updateWorkspaceBody": true,
|
|
281317
281180
|
"checkHandleAvailabilityBody": true,
|
|
281318
|
-
"changeWorkspacePlanBody": true,
|
|
281319
281181
|
"createWorkspaceMemberBody": true,
|
|
281320
281182
|
"updateWorkspaceMemberBody": true,
|
|
281321
281183
|
"createIntegrationApiKeyBody": true,
|
|
@@ -281411,7 +281273,6 @@ var state = {
|
|
|
281411
281273
|
"updateWorkspaceResponse": true,
|
|
281412
281274
|
"checkHandleAvailabilityResponse": true,
|
|
281413
281275
|
"listWorkspacesResponse": true,
|
|
281414
|
-
"changeWorkspacePlanResponse": true,
|
|
281415
281276
|
"deleteWorkspaceResponse": true,
|
|
281416
281277
|
"getAuditRecordsResponse": true,
|
|
281417
281278
|
"listWorkspaceMembersResponse": true,
|
|
@@ -283735,7 +283596,6 @@ var state = {
|
|
|
283735
283596
|
"updateWorkspace",
|
|
283736
283597
|
"checkHandleAvailability",
|
|
283737
283598
|
"listWorkspaces",
|
|
283738
|
-
"changeWorkspacePlan",
|
|
283739
283599
|
"deleteWorkspace",
|
|
283740
283600
|
"getAuditRecords"
|
|
283741
283601
|
],
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -5352,115 +5352,6 @@ export declare const state: {
|
|
|
5352
5352
|
};
|
|
5353
5353
|
};
|
|
5354
5354
|
};
|
|
5355
|
-
changeWorkspacePlan: {
|
|
5356
|
-
name: string;
|
|
5357
|
-
description: string;
|
|
5358
|
-
section: "workspace";
|
|
5359
|
-
method: "put";
|
|
5360
|
-
path: string;
|
|
5361
|
-
disableDefaultParameters: {
|
|
5362
|
-
"x-workspace-id": boolean;
|
|
5363
|
-
};
|
|
5364
|
-
parameters: {
|
|
5365
|
-
id: {
|
|
5366
|
-
type: "string";
|
|
5367
|
-
description: string;
|
|
5368
|
-
in: "path";
|
|
5369
|
-
};
|
|
5370
|
-
};
|
|
5371
|
-
requestBody: {
|
|
5372
|
-
description: string;
|
|
5373
|
-
schema: {
|
|
5374
|
-
type: "object";
|
|
5375
|
-
properties: {
|
|
5376
|
-
plan: {
|
|
5377
|
-
type: "string";
|
|
5378
|
-
enum: string[];
|
|
5379
|
-
};
|
|
5380
|
-
};
|
|
5381
|
-
required: string[];
|
|
5382
|
-
title: string;
|
|
5383
|
-
additionalProperties: false;
|
|
5384
|
-
};
|
|
5385
|
-
};
|
|
5386
|
-
response: {
|
|
5387
|
-
description: string;
|
|
5388
|
-
schema: {
|
|
5389
|
-
type: "object";
|
|
5390
|
-
properties: {
|
|
5391
|
-
id: {
|
|
5392
|
-
type: "string";
|
|
5393
|
-
};
|
|
5394
|
-
name: {
|
|
5395
|
-
type: "string";
|
|
5396
|
-
};
|
|
5397
|
-
ownerId: {
|
|
5398
|
-
type: "string";
|
|
5399
|
-
};
|
|
5400
|
-
createdAt: {
|
|
5401
|
-
type: "string";
|
|
5402
|
-
};
|
|
5403
|
-
updatedAt: {
|
|
5404
|
-
type: "string";
|
|
5405
|
-
};
|
|
5406
|
-
botCount: {
|
|
5407
|
-
type: "number";
|
|
5408
|
-
};
|
|
5409
|
-
accountType: {
|
|
5410
|
-
type: "string";
|
|
5411
|
-
enum: string[];
|
|
5412
|
-
};
|
|
5413
|
-
billingVersion: {
|
|
5414
|
-
type: "string";
|
|
5415
|
-
enum: string[];
|
|
5416
|
-
};
|
|
5417
|
-
plan: {
|
|
5418
|
-
type: "string";
|
|
5419
|
-
enum: string[];
|
|
5420
|
-
};
|
|
5421
|
-
blocked: {
|
|
5422
|
-
type: "boolean";
|
|
5423
|
-
};
|
|
5424
|
-
spendingLimit: {
|
|
5425
|
-
type: "number";
|
|
5426
|
-
};
|
|
5427
|
-
about: {
|
|
5428
|
-
default: string;
|
|
5429
|
-
type: "string";
|
|
5430
|
-
};
|
|
5431
|
-
profilePicture: {
|
|
5432
|
-
default: string;
|
|
5433
|
-
type: "string";
|
|
5434
|
-
};
|
|
5435
|
-
contactEmail: {
|
|
5436
|
-
default: string;
|
|
5437
|
-
type: "string";
|
|
5438
|
-
};
|
|
5439
|
-
website: {
|
|
5440
|
-
default: string;
|
|
5441
|
-
type: "string";
|
|
5442
|
-
};
|
|
5443
|
-
socialAccounts: {
|
|
5444
|
-
default: never[];
|
|
5445
|
-
type: "array";
|
|
5446
|
-
items: {
|
|
5447
|
-
type: "string";
|
|
5448
|
-
};
|
|
5449
|
-
};
|
|
5450
|
-
isPublic: {
|
|
5451
|
-
type: "boolean";
|
|
5452
|
-
};
|
|
5453
|
-
handle: {
|
|
5454
|
-
default: string;
|
|
5455
|
-
type: "string";
|
|
5456
|
-
};
|
|
5457
|
-
};
|
|
5458
|
-
required: string[];
|
|
5459
|
-
title: string;
|
|
5460
|
-
additionalProperties: false;
|
|
5461
|
-
};
|
|
5462
|
-
};
|
|
5463
|
-
};
|
|
5464
5355
|
deleteWorkspace: {
|
|
5465
5356
|
name: string;
|
|
5466
5357
|
description: string;
|
|
@@ -7552,6 +7443,7 @@ export declare const state: {
|
|
|
7552
7443
|
additionalProperties: {
|
|
7553
7444
|
type: "string";
|
|
7554
7445
|
maxLength: number;
|
|
7446
|
+
nullable: true;
|
|
7555
7447
|
};
|
|
7556
7448
|
description: string;
|
|
7557
7449
|
};
|
|
@@ -8560,7 +8452,6 @@ export declare const state: {
|
|
|
8560
8452
|
createWorkspaceBody: true;
|
|
8561
8453
|
updateWorkspaceBody: true;
|
|
8562
8454
|
checkHandleAvailabilityBody: true;
|
|
8563
|
-
changeWorkspacePlanBody: true;
|
|
8564
8455
|
createWorkspaceMemberBody: true;
|
|
8565
8456
|
updateWorkspaceMemberBody: true;
|
|
8566
8457
|
createIntegrationApiKeyBody: true;
|
|
@@ -8656,7 +8547,6 @@ export declare const state: {
|
|
|
8656
8547
|
updateWorkspaceResponse: true;
|
|
8657
8548
|
checkHandleAvailabilityResponse: true;
|
|
8658
8549
|
listWorkspacesResponse: true;
|
|
8659
|
-
changeWorkspacePlanResponse: true;
|
|
8660
8550
|
deleteWorkspaceResponse: true;
|
|
8661
8551
|
getAuditRecordsResponse: true;
|
|
8662
8552
|
listWorkspaceMembersResponse: true;
|
package/package.json
CHANGED
package/src/gen/metadata.json
CHANGED
|
@@ -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","
|
|
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."}]}
|