@botpress/api 0.26.0 → 0.26.2

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/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",
@@ -4490,6 +4532,12 @@ export const state = {
4490
4532
  "additionalProperties": {
4491
4533
  "type": "number"
4492
4534
  }
4535
+ },
4536
+ "customEvents": {
4537
+ "type": "object",
4538
+ "additionalProperties": {
4539
+ "type": "number"
4540
+ }
4493
4541
  }
4494
4542
  },
4495
4543
  "required": [
@@ -4502,7 +4550,8 @@ export const state = {
4502
4550
  "userMessages",
4503
4551
  "botMessages",
4504
4552
  "events",
4505
- "eventTypes"
4553
+ "eventTypes",
4554
+ "customEvents"
4506
4555
  ]
4507
4556
  }
4508
4557
  }
@@ -9472,7 +9521,7 @@ export const state = {
9472
9521
  "title": "Botpress API",
9473
9522
  "description": "API for Botpress Cloud",
9474
9523
  "server": "https://api.botpress.cloud",
9475
- "version": "0.26.0",
9524
+ "version": "0.26.2",
9476
9525
  "prefix": "v1"
9477
9526
  },
9478
9527
  "errors": [
@@ -9613,6 +9662,7 @@ export const state = {
9613
9662
  "configureIntegrationBody": true,
9614
9663
  "createTaskBody": true,
9615
9664
  "updateTaskBody": true,
9665
+ "trackAnalyticsBody": true,
9616
9666
  "runVrlBody": true,
9617
9667
  "updateAccountBody": true,
9618
9668
  "createPersonalAccessTokenBody": true,
@@ -9682,6 +9732,7 @@ export const state = {
9682
9732
  "updateTaskResponse": true,
9683
9733
  "deleteTaskResponse": true,
9684
9734
  "listTasksResponse": true,
9735
+ "trackAnalyticsResponse": true,
9685
9736
  "runVrlResponse": true,
9686
9737
  "getAccountResponse": true,
9687
9738
  "updateAccountResponse": true,