@botpress/api 1.46.1 → 1.48.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/.turbo/turbo-openapi.log +5 -5
- package/dist/index.js +104 -19
- package/dist/src/gen/admin/state.d.ts +24 -0
- package/dist/src/gen/files/state.d.ts +4 -0
- package/dist/src/gen/runtime/state.d.ts +4 -0
- package/dist/src/gen/state.d.ts +24 -0
- package/dist/src/gen/tables/state.d.ts +4 -0
- package/package.json +2 -2
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +26 -1
- package/src/gen/files/metadata.json +1 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +6 -1
- 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 +6 -1
- package/src/gen/state.ts +26 -1
- package/src/gen/tables/metadata.json +1 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +6 -1
package/src/gen/admin/state.ts
CHANGED
|
@@ -6387,6 +6387,11 @@ export const state = {
|
|
|
6387
6387
|
"type": "string",
|
|
6388
6388
|
"description": "Integration Version ID",
|
|
6389
6389
|
"in": "path"
|
|
6390
|
+
},
|
|
6391
|
+
"integrationInstanceAlias": {
|
|
6392
|
+
"in": "query",
|
|
6393
|
+
"type": "string",
|
|
6394
|
+
"description": "Integration instance alias. If provided, integrationId is ignored."
|
|
6390
6395
|
}
|
|
6391
6396
|
},
|
|
6392
6397
|
"requestBody": {
|
|
@@ -6430,6 +6435,11 @@ export const state = {
|
|
|
6430
6435
|
"type": "string",
|
|
6431
6436
|
"description": "Integration Version ID",
|
|
6432
6437
|
"in": "path"
|
|
6438
|
+
},
|
|
6439
|
+
"integrationInstanceAlias": {
|
|
6440
|
+
"in": "query",
|
|
6441
|
+
"type": "string",
|
|
6442
|
+
"description": "Integration instance alias. If provided, integrationId is ignored."
|
|
6433
6443
|
}
|
|
6434
6444
|
},
|
|
6435
6445
|
"response": {
|
|
@@ -6457,6 +6467,11 @@ export const state = {
|
|
|
6457
6467
|
"type": "string",
|
|
6458
6468
|
"description": "Integration Version ID",
|
|
6459
6469
|
"in": "path"
|
|
6470
|
+
},
|
|
6471
|
+
"integrationInstanceAlias": {
|
|
6472
|
+
"in": "query",
|
|
6473
|
+
"type": "string",
|
|
6474
|
+
"description": "Integration instance alias. If provided, integrationId is ignored."
|
|
6460
6475
|
}
|
|
6461
6476
|
},
|
|
6462
6477
|
"response": {
|
|
@@ -6496,6 +6511,11 @@ export const state = {
|
|
|
6496
6511
|
"type": "string",
|
|
6497
6512
|
"description": "Integration Version ID",
|
|
6498
6513
|
"in": "path"
|
|
6514
|
+
},
|
|
6515
|
+
"integrationInstanceAlias": {
|
|
6516
|
+
"in": "query",
|
|
6517
|
+
"type": "string",
|
|
6518
|
+
"description": "Integration instance alias. If provided, integrationId is ignored."
|
|
6499
6519
|
}
|
|
6500
6520
|
},
|
|
6501
6521
|
"response": {
|
|
@@ -14043,7 +14063,7 @@ export const state = {
|
|
|
14043
14063
|
"title": "Botpress API",
|
|
14044
14064
|
"description": "API for Botpress Cloud",
|
|
14045
14065
|
"server": "https://api.botpress.cloud",
|
|
14046
|
-
"version": "1.
|
|
14066
|
+
"version": "1.48.0",
|
|
14047
14067
|
"prefix": "v1"
|
|
14048
14068
|
},
|
|
14049
14069
|
"errors": [
|
|
@@ -14122,6 +14142,11 @@ export const state = {
|
|
|
14122
14142
|
"type": "ResourceLockedConflict",
|
|
14123
14143
|
"description": "The resource is current locked and cannot be operated on until the lock is released."
|
|
14124
14144
|
},
|
|
14145
|
+
{
|
|
14146
|
+
"status": 410,
|
|
14147
|
+
"type": "ResourceGone",
|
|
14148
|
+
"description": "The requested resource is no longer available."
|
|
14149
|
+
},
|
|
14125
14150
|
{
|
|
14126
14151
|
"status": 400,
|
|
14127
14152
|
"type": "ReferenceNotFound",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sections":[{"description":"","title":"User","name":"user","operations":[],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":[],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":[],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":[],"schema":"Message"},{"description":"","title":"State","name":"state","operations":[],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":[]},{"description":"","title":"Action","name":"action","operations":[]},{"description":"","title":"Task","name":"task","operations":[],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":[],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":[]},{"title":"Bot","description":"","name":"bot","operations":[],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":[],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":[],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":[],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":[],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":[],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":[],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":[],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":[]},{"title":"Helper","description":"","name":"helper","operations":[]},{"title":"Activity","description":"","name":"activity","operations":[],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":[],"schema":"Table"},{"title":"Files","description":"The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Word, HTML, Markdown, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.","name":"files","operations":["upsertFile","deleteFile","listFiles","getFile","updateFileMetadata","copyFile","searchFiles","listFilePassages","setFilePassages","listFileTags","listFileTagValues","createKnowledgeBase","deleteKnowledgeBase","updateKnowledgeBase","listKnowledgeBases"],"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":409,"type":"ResourceLockedConflict","description":"The resource is current locked and cannot be operated on until the lock is released."},{"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":[],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":[],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":[],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":[],"schema":"Message"},{"description":"","title":"State","name":"state","operations":[],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":[]},{"description":"","title":"Action","name":"action","operations":[]},{"description":"","title":"Task","name":"task","operations":[],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":[],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":[]},{"title":"Bot","description":"","name":"bot","operations":[],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":[],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":[],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":[],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":[],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":[],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":[],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":[],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":[]},{"title":"Helper","description":"","name":"helper","operations":[]},{"title":"Activity","description":"","name":"activity","operations":[],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":[],"schema":"Table"},{"title":"Files","description":"The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Word, HTML, Markdown, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.","name":"files","operations":["upsertFile","deleteFile","listFiles","getFile","updateFileMetadata","copyFile","searchFiles","listFilePassages","setFilePassages","listFileTags","listFileTagValues","createKnowledgeBase","deleteKnowledgeBase","updateKnowledgeBase","listKnowledgeBases"],"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":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."}]}
|