@botpress/api 0.26.0 → 0.26.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/dist/index.js +210733 -209806
- package/dist/src/gen/state.d.ts +41 -0
- package/dist/src/index.d.ts +6 -2
- package/package.json +2 -2
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +45 -1
package/src/gen/state.ts
CHANGED
|
@@ -1902,6 +1902,48 @@ export const state = {
|
|
|
1902
1902
|
}
|
|
1903
1903
|
}
|
|
1904
1904
|
},
|
|
1905
|
+
"trackAnalytics": {
|
|
1906
|
+
"name": "trackAnalytics",
|
|
1907
|
+
"description": "Add an event to the analytics",
|
|
1908
|
+
"method": "post",
|
|
1909
|
+
"path": "/v1/chat/analytics",
|
|
1910
|
+
"disableDefaultParameters": {
|
|
1911
|
+
"x-integration-id": true
|
|
1912
|
+
},
|
|
1913
|
+
"requestBody": {
|
|
1914
|
+
"description": "Add an event to the analytics",
|
|
1915
|
+
"schema": {
|
|
1916
|
+
"type": "object",
|
|
1917
|
+
"properties": {
|
|
1918
|
+
"name": {
|
|
1919
|
+
"type": "string",
|
|
1920
|
+
"minLength": 1,
|
|
1921
|
+
"maxLength": 200
|
|
1922
|
+
},
|
|
1923
|
+
"count": {
|
|
1924
|
+
"type": "integer",
|
|
1925
|
+
"minimum": 1
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
"required": [
|
|
1929
|
+
"name",
|
|
1930
|
+
"count"
|
|
1931
|
+
],
|
|
1932
|
+
"title": "trackAnalyticsBody",
|
|
1933
|
+
"additionalProperties": false
|
|
1934
|
+
}
|
|
1935
|
+
},
|
|
1936
|
+
"response": {
|
|
1937
|
+
"description": "Success",
|
|
1938
|
+
"status": 200,
|
|
1939
|
+
"schema": {
|
|
1940
|
+
"type": "object",
|
|
1941
|
+
"title": "trackAnalyticsResponse",
|
|
1942
|
+
"additionalProperties": false
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
"parameters": {}
|
|
1946
|
+
},
|
|
1905
1947
|
"runVrl": {
|
|
1906
1948
|
"name": "runVrl",
|
|
1907
1949
|
"description": "Run a VRL script",
|
|
@@ -9472,7 +9514,7 @@ export const state = {
|
|
|
9472
9514
|
"title": "Botpress API",
|
|
9473
9515
|
"description": "API for Botpress Cloud",
|
|
9474
9516
|
"server": "https://api.botpress.cloud",
|
|
9475
|
-
"version": "0.26.
|
|
9517
|
+
"version": "0.26.1",
|
|
9476
9518
|
"prefix": "v1"
|
|
9477
9519
|
},
|
|
9478
9520
|
"errors": [
|
|
@@ -9613,6 +9655,7 @@ export const state = {
|
|
|
9613
9655
|
"configureIntegrationBody": true,
|
|
9614
9656
|
"createTaskBody": true,
|
|
9615
9657
|
"updateTaskBody": true,
|
|
9658
|
+
"trackAnalyticsBody": true,
|
|
9616
9659
|
"runVrlBody": true,
|
|
9617
9660
|
"updateAccountBody": true,
|
|
9618
9661
|
"createPersonalAccessTokenBody": true,
|
|
@@ -9682,6 +9725,7 @@ export const state = {
|
|
|
9682
9725
|
"updateTaskResponse": true,
|
|
9683
9726
|
"deleteTaskResponse": true,
|
|
9684
9727
|
"listTasksResponse": true,
|
|
9728
|
+
"trackAnalyticsResponse": true,
|
|
9685
9729
|
"runVrlResponse": true,
|
|
9686
9730
|
"getAccountResponse": true,
|
|
9687
9731
|
"updateAccountResponse": true,
|