@botpress/api 0.19.4 → 0.20.3
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 +369 -60
- package/dist/src/gen/state.d.ts +255 -2
- package/package.json +2 -2
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +284 -3
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -5834,6 +5834,123 @@ export declare const state: {
|
|
|
5834
5834
|
};
|
|
5835
5835
|
};
|
|
5836
5836
|
};
|
|
5837
|
+
listIntegrationApiKeys: {
|
|
5838
|
+
name: string;
|
|
5839
|
+
description: string;
|
|
5840
|
+
method: "get";
|
|
5841
|
+
section: "integration";
|
|
5842
|
+
path: string;
|
|
5843
|
+
parameters: {
|
|
5844
|
+
integrationVersionId: {
|
|
5845
|
+
in: "query";
|
|
5846
|
+
description: string;
|
|
5847
|
+
type: "string";
|
|
5848
|
+
required: true;
|
|
5849
|
+
};
|
|
5850
|
+
};
|
|
5851
|
+
response: {
|
|
5852
|
+
description: string;
|
|
5853
|
+
schema: {
|
|
5854
|
+
type: "object";
|
|
5855
|
+
properties: {
|
|
5856
|
+
iaks: {
|
|
5857
|
+
type: "array";
|
|
5858
|
+
items: {
|
|
5859
|
+
type: "object";
|
|
5860
|
+
properties: {
|
|
5861
|
+
id: {
|
|
5862
|
+
type: "string";
|
|
5863
|
+
};
|
|
5864
|
+
createdAt: {
|
|
5865
|
+
type: "string";
|
|
5866
|
+
format: string;
|
|
5867
|
+
};
|
|
5868
|
+
note: {
|
|
5869
|
+
type: "string";
|
|
5870
|
+
};
|
|
5871
|
+
};
|
|
5872
|
+
required: string[];
|
|
5873
|
+
};
|
|
5874
|
+
};
|
|
5875
|
+
};
|
|
5876
|
+
required: string[];
|
|
5877
|
+
title: string;
|
|
5878
|
+
additionalProperties: false;
|
|
5879
|
+
};
|
|
5880
|
+
};
|
|
5881
|
+
};
|
|
5882
|
+
createIntegrationApiKey: {
|
|
5883
|
+
name: string;
|
|
5884
|
+
description: string;
|
|
5885
|
+
method: "post";
|
|
5886
|
+
section: "integration";
|
|
5887
|
+
path: string;
|
|
5888
|
+
requestBody: {
|
|
5889
|
+
description: string;
|
|
5890
|
+
schema: {
|
|
5891
|
+
type: "object";
|
|
5892
|
+
properties: {
|
|
5893
|
+
integrationVersionId: {
|
|
5894
|
+
type: "string";
|
|
5895
|
+
};
|
|
5896
|
+
note: {
|
|
5897
|
+
type: "string";
|
|
5898
|
+
};
|
|
5899
|
+
};
|
|
5900
|
+
required: string[];
|
|
5901
|
+
title: string;
|
|
5902
|
+
additionalProperties: false;
|
|
5903
|
+
};
|
|
5904
|
+
};
|
|
5905
|
+
response: {
|
|
5906
|
+
description: string;
|
|
5907
|
+
schema: {
|
|
5908
|
+
type: "object";
|
|
5909
|
+
properties: {
|
|
5910
|
+
id: {
|
|
5911
|
+
type: "string";
|
|
5912
|
+
};
|
|
5913
|
+
createdAt: {
|
|
5914
|
+
type: "string";
|
|
5915
|
+
format: string;
|
|
5916
|
+
};
|
|
5917
|
+
note: {
|
|
5918
|
+
type: "string";
|
|
5919
|
+
};
|
|
5920
|
+
value: {
|
|
5921
|
+
type: "string";
|
|
5922
|
+
description: string;
|
|
5923
|
+
};
|
|
5924
|
+
};
|
|
5925
|
+
required: string[];
|
|
5926
|
+
title: string;
|
|
5927
|
+
additionalProperties: false;
|
|
5928
|
+
};
|
|
5929
|
+
};
|
|
5930
|
+
parameters: {};
|
|
5931
|
+
};
|
|
5932
|
+
deleteIntegrationApiKey: {
|
|
5933
|
+
name: string;
|
|
5934
|
+
description: string;
|
|
5935
|
+
method: "delete";
|
|
5936
|
+
section: "integration";
|
|
5937
|
+
path: string;
|
|
5938
|
+
parameters: {
|
|
5939
|
+
id: {
|
|
5940
|
+
type: "string";
|
|
5941
|
+
description: string;
|
|
5942
|
+
in: "path";
|
|
5943
|
+
};
|
|
5944
|
+
};
|
|
5945
|
+
response: {
|
|
5946
|
+
description: string;
|
|
5947
|
+
schema: {
|
|
5948
|
+
type: "object";
|
|
5949
|
+
title: string;
|
|
5950
|
+
additionalProperties: false;
|
|
5951
|
+
};
|
|
5952
|
+
};
|
|
5953
|
+
};
|
|
5837
5954
|
createIntegration: {
|
|
5838
5955
|
name: string;
|
|
5839
5956
|
description: string;
|
|
@@ -7116,7 +7233,7 @@ export declare const state: {
|
|
|
7116
7233
|
in: "header";
|
|
7117
7234
|
};
|
|
7118
7235
|
"x-index": {
|
|
7119
|
-
type: "
|
|
7236
|
+
type: "boolean";
|
|
7120
7237
|
description: string;
|
|
7121
7238
|
in: "header";
|
|
7122
7239
|
};
|
|
@@ -7505,9 +7622,14 @@ export declare const state: {
|
|
|
7505
7622
|
description: string;
|
|
7506
7623
|
required: true;
|
|
7507
7624
|
};
|
|
7625
|
+
contextDepth: {
|
|
7626
|
+
in: "query";
|
|
7627
|
+
type: "integer";
|
|
7628
|
+
description: string;
|
|
7629
|
+
};
|
|
7508
7630
|
limit: {
|
|
7509
7631
|
in: "query";
|
|
7510
|
-
type: "
|
|
7632
|
+
type: "integer";
|
|
7511
7633
|
description: string;
|
|
7512
7634
|
};
|
|
7513
7635
|
};
|
|
@@ -7622,6 +7744,76 @@ export declare const state: {
|
|
|
7622
7744
|
};
|
|
7623
7745
|
};
|
|
7624
7746
|
};
|
|
7747
|
+
getOrCreateTable: {
|
|
7748
|
+
name: string;
|
|
7749
|
+
path: string;
|
|
7750
|
+
description: string;
|
|
7751
|
+
parameters: {
|
|
7752
|
+
table: {
|
|
7753
|
+
type: "string";
|
|
7754
|
+
description: string;
|
|
7755
|
+
in: "path";
|
|
7756
|
+
};
|
|
7757
|
+
};
|
|
7758
|
+
method: "post";
|
|
7759
|
+
requestBody: {
|
|
7760
|
+
description: string;
|
|
7761
|
+
schema: {
|
|
7762
|
+
type: "object";
|
|
7763
|
+
properties: {
|
|
7764
|
+
factor: {
|
|
7765
|
+
default: number;
|
|
7766
|
+
type: "number";
|
|
7767
|
+
minimum: number;
|
|
7768
|
+
maximum: number;
|
|
7769
|
+
description: string;
|
|
7770
|
+
};
|
|
7771
|
+
schema: {
|
|
7772
|
+
type: "object";
|
|
7773
|
+
additionalProperties: true;
|
|
7774
|
+
description: string;
|
|
7775
|
+
};
|
|
7776
|
+
tags: {
|
|
7777
|
+
type: "object";
|
|
7778
|
+
additionalProperties: {
|
|
7779
|
+
type: "string";
|
|
7780
|
+
};
|
|
7781
|
+
description: string;
|
|
7782
|
+
};
|
|
7783
|
+
};
|
|
7784
|
+
required: string[];
|
|
7785
|
+
title: string;
|
|
7786
|
+
additionalProperties: false;
|
|
7787
|
+
};
|
|
7788
|
+
};
|
|
7789
|
+
section: "tables";
|
|
7790
|
+
response: {
|
|
7791
|
+
description: string;
|
|
7792
|
+
schema: {
|
|
7793
|
+
type: "object";
|
|
7794
|
+
properties: {
|
|
7795
|
+
table: {
|
|
7796
|
+
$ref: string;
|
|
7797
|
+
};
|
|
7798
|
+
created: {
|
|
7799
|
+
type: "boolean";
|
|
7800
|
+
description: string;
|
|
7801
|
+
};
|
|
7802
|
+
rows: {
|
|
7803
|
+
type: "number";
|
|
7804
|
+
description: string;
|
|
7805
|
+
};
|
|
7806
|
+
indexingCount: {
|
|
7807
|
+
type: "number";
|
|
7808
|
+
description: string;
|
|
7809
|
+
};
|
|
7810
|
+
};
|
|
7811
|
+
required: string[];
|
|
7812
|
+
title: string;
|
|
7813
|
+
additionalProperties: false;
|
|
7814
|
+
};
|
|
7815
|
+
};
|
|
7816
|
+
};
|
|
7625
7817
|
createTable: {
|
|
7626
7818
|
name: string;
|
|
7627
7819
|
path: string;
|
|
@@ -7679,6 +7871,59 @@ export declare const state: {
|
|
|
7679
7871
|
};
|
|
7680
7872
|
parameters: {};
|
|
7681
7873
|
};
|
|
7874
|
+
duplicateTable: {
|
|
7875
|
+
name: string;
|
|
7876
|
+
path: string;
|
|
7877
|
+
description: string;
|
|
7878
|
+
parameters: {
|
|
7879
|
+
sourceTableId: {
|
|
7880
|
+
type: "string";
|
|
7881
|
+
description: string;
|
|
7882
|
+
in: "path";
|
|
7883
|
+
};
|
|
7884
|
+
};
|
|
7885
|
+
method: "post";
|
|
7886
|
+
requestBody: {
|
|
7887
|
+
description: string;
|
|
7888
|
+
schema: {
|
|
7889
|
+
type: "object";
|
|
7890
|
+
properties: {
|
|
7891
|
+
tableName: {
|
|
7892
|
+
type: "string";
|
|
7893
|
+
};
|
|
7894
|
+
schemaOnly: {
|
|
7895
|
+
type: "boolean";
|
|
7896
|
+
description: string;
|
|
7897
|
+
};
|
|
7898
|
+
factor: {
|
|
7899
|
+
type: "number";
|
|
7900
|
+
description: string;
|
|
7901
|
+
};
|
|
7902
|
+
};
|
|
7903
|
+
title: string;
|
|
7904
|
+
additionalProperties: false;
|
|
7905
|
+
};
|
|
7906
|
+
};
|
|
7907
|
+
section: "tables";
|
|
7908
|
+
response: {
|
|
7909
|
+
description: string;
|
|
7910
|
+
schema: {
|
|
7911
|
+
type: "object";
|
|
7912
|
+
properties: {
|
|
7913
|
+
table: {
|
|
7914
|
+
$ref: string;
|
|
7915
|
+
};
|
|
7916
|
+
rows: {
|
|
7917
|
+
type: "number";
|
|
7918
|
+
description: string;
|
|
7919
|
+
};
|
|
7920
|
+
};
|
|
7921
|
+
required: string[];
|
|
7922
|
+
title: string;
|
|
7923
|
+
additionalProperties: false;
|
|
7924
|
+
};
|
|
7925
|
+
};
|
|
7926
|
+
};
|
|
7682
7927
|
updateTable: {
|
|
7683
7928
|
name: string;
|
|
7684
7929
|
path: string;
|
|
@@ -8296,13 +8541,16 @@ export declare const state: {
|
|
|
8296
8541
|
changeWorkspacePlanBody: true;
|
|
8297
8542
|
createWorkspaceMemberBody: true;
|
|
8298
8543
|
updateWorkspaceMemberBody: true;
|
|
8544
|
+
createIntegrationApiKeyBody: true;
|
|
8299
8545
|
createIntegrationBody: true;
|
|
8300
8546
|
updateIntegrationBody: true;
|
|
8301
8547
|
changeAISpendQuotaBody: true;
|
|
8302
8548
|
introspectBody: true;
|
|
8303
8549
|
createFileBody: true;
|
|
8304
8550
|
updateFileMetadataBody: true;
|
|
8551
|
+
getOrCreateTableBody: true;
|
|
8305
8552
|
createTableBody: true;
|
|
8553
|
+
duplicateTableBody: true;
|
|
8306
8554
|
updateTableBody: true;
|
|
8307
8555
|
renameTableColumnBody: true;
|
|
8308
8556
|
findTableRowsBody: true;
|
|
@@ -8394,6 +8642,9 @@ export declare const state: {
|
|
|
8394
8642
|
deleteWorkspaceMemberResponse: true;
|
|
8395
8643
|
createWorkspaceMemberResponse: true;
|
|
8396
8644
|
updateWorkspaceMemberResponse: true;
|
|
8645
|
+
listIntegrationApiKeysResponse: true;
|
|
8646
|
+
createIntegrationApiKeyResponse: true;
|
|
8647
|
+
deleteIntegrationApiKeyResponse: true;
|
|
8397
8648
|
createIntegrationResponse: true;
|
|
8398
8649
|
updateIntegrationResponse: true;
|
|
8399
8650
|
listIntegrationsResponse: true;
|
|
@@ -8415,7 +8666,9 @@ export declare const state: {
|
|
|
8415
8666
|
searchFilesResponse: true;
|
|
8416
8667
|
listTablesResponse: true;
|
|
8417
8668
|
getTableResponse: true;
|
|
8669
|
+
getOrCreateTableResponse: true;
|
|
8418
8670
|
createTableResponse: true;
|
|
8671
|
+
duplicateTableResponse: true;
|
|
8419
8672
|
updateTableResponse: true;
|
|
8420
8673
|
renameTableColumnResponse: true;
|
|
8421
8674
|
deleteTableResponse: true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"zod": "^3.22.4"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@bpinternal/opapi": "0.
|
|
26
|
+
"@bpinternal/opapi": "0.9.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
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":["createIntegration","updateIntegration","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration"],"schema":"Integration"},{"title":"Workspace","description":"","name":"workspace","operations":["getWorkspaceBillingDetails","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","createTable","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":["getWorkspaceBillingDetails","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."}]}
|