@botpress/api 1.47.0 → 1.48.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/.eslintrc.js +6 -0
- package/.turbo/turbo-openapi.log +6 -6
- package/dist/index.js +19056 -30211
- package/dist/src/gen/admin/state.d.ts +11 -1004
- package/dist/src/gen/files/state.d.ts +44 -3041
- package/dist/src/gen/runtime/state.d.ts +115 -2700
- package/dist/src/gen/state.d.ts +7 -0
- package/dist/src/gen/tables/state.d.ts +19 -2762
- package/dist/src/index.d.ts +10 -10
- package/package.json +5 -3
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +97 -1296
- package/src/gen/files/metadata.json +1 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +83 -3667
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/metadata.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +16 -3122
- package/src/gen/state.ts +12 -4
- package/src/gen/tables/metadata.json +1 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +98 -3392
package/src/gen/state.ts
CHANGED
|
@@ -19552,7 +19552,8 @@ export const state = {
|
|
|
19552
19552
|
"ids": {
|
|
19553
19553
|
"type": "array",
|
|
19554
19554
|
"items": {
|
|
19555
|
-
"type": "number"
|
|
19555
|
+
"type": "number",
|
|
19556
|
+
"maximum": 2147483647
|
|
19556
19557
|
},
|
|
19557
19558
|
"maxItems": 1000
|
|
19558
19559
|
},
|
|
@@ -19612,7 +19613,8 @@ export const state = {
|
|
|
19612
19613
|
"type": "object",
|
|
19613
19614
|
"properties": {
|
|
19614
19615
|
"id": {
|
|
19615
|
-
"type": "number"
|
|
19616
|
+
"type": "number",
|
|
19617
|
+
"maximum": 2147483647
|
|
19616
19618
|
}
|
|
19617
19619
|
},
|
|
19618
19620
|
"required": [
|
|
@@ -19694,7 +19696,8 @@ export const state = {
|
|
|
19694
19696
|
"type": "object",
|
|
19695
19697
|
"properties": {
|
|
19696
19698
|
"id": {
|
|
19697
|
-
"type": "number"
|
|
19699
|
+
"type": "number",
|
|
19700
|
+
"maximum": 2147483647
|
|
19698
19701
|
}
|
|
19699
19702
|
},
|
|
19700
19703
|
"additionalProperties": true
|
|
@@ -19768,7 +19771,7 @@ export const state = {
|
|
|
19768
19771
|
"title": "Botpress API",
|
|
19769
19772
|
"description": "API for Botpress Cloud",
|
|
19770
19773
|
"server": "https://api.botpress.cloud",
|
|
19771
|
-
"version": "1.
|
|
19774
|
+
"version": "1.48.1",
|
|
19772
19775
|
"prefix": "v1"
|
|
19773
19776
|
},
|
|
19774
19777
|
"errors": [
|
|
@@ -19847,6 +19850,11 @@ export const state = {
|
|
|
19847
19850
|
"type": "ResourceLockedConflict",
|
|
19848
19851
|
"description": "The resource is current locked and cannot be operated on until the lock is released."
|
|
19849
19852
|
},
|
|
19853
|
+
{
|
|
19854
|
+
"status": 410,
|
|
19855
|
+
"type": "ResourceGone",
|
|
19856
|
+
"description": "The requested resource is no longer available."
|
|
19857
|
+
},
|
|
19850
19858
|
{
|
|
19851
19859
|
"status": 400,
|
|
19852
19860
|
"type": "ReferenceNotFound",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sections":[{"
|
|
1
|
+
{"sections":[{"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","exportTable","getTableJobs","importTable","updateTable","renameTableColumn","deleteTable","getTableRow","findTableRows","createTableRows","deleteTableRows","updateTableRows","upsertTableRows"],"schema":"Table"}],"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":409,"type":"ResourceLockedConflict","description":"The resource is current locked and cannot be operated on until the lock is released."},{"status":410,"type":"ResourceGone","description":"The requested resource is no longer available."},{"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."}]}
|