@botpress/api 1.45.0 → 1.46.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.
@@ -1355,7 +1355,7 @@ export const state = {
1355
1355
  "type": {
1356
1356
  "in": "path",
1357
1357
  "type": "string",
1358
- "description": "State type",
1358
+ "description": "Represents the resource type that the state is related to",
1359
1359
  "enum": [
1360
1360
  "conversation",
1361
1361
  "user",
@@ -1368,12 +1368,12 @@ export const state = {
1368
1368
  "id": {
1369
1369
  "in": "path",
1370
1370
  "type": "string",
1371
- "description": "State id"
1371
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1372
1372
  },
1373
1373
  "name": {
1374
1374
  "in": "path",
1375
1375
  "type": "string",
1376
- "description": "State name"
1376
+ "description": "Name of the State which is declared inside the bot definition"
1377
1377
  }
1378
1378
  },
1379
1379
  "requestBody": {
@@ -1423,7 +1423,7 @@ export const state = {
1423
1423
  "type": {
1424
1424
  "in": "path",
1425
1425
  "type": "string",
1426
- "description": "State type",
1426
+ "description": "Represents the resource type that the state is related to",
1427
1427
  "enum": [
1428
1428
  "conversation",
1429
1429
  "user",
@@ -1436,12 +1436,12 @@ export const state = {
1436
1436
  "id": {
1437
1437
  "in": "path",
1438
1438
  "type": "string",
1439
- "description": "State id"
1439
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1440
1440
  },
1441
1441
  "name": {
1442
1442
  "in": "path",
1443
1443
  "type": "string",
1444
- "description": "State name"
1444
+ "description": "Name of the State which is declared inside the bot definition"
1445
1445
  }
1446
1446
  },
1447
1447
  "section": "state",
@@ -1484,7 +1484,7 @@ export const state = {
1484
1484
  "type": {
1485
1485
  "in": "path",
1486
1486
  "type": "string",
1487
- "description": "State type",
1487
+ "description": "Represents the resource type that the state is related to",
1488
1488
  "enum": [
1489
1489
  "conversation",
1490
1490
  "user",
@@ -1497,12 +1497,12 @@ export const state = {
1497
1497
  "id": {
1498
1498
  "in": "path",
1499
1499
  "type": "string",
1500
- "description": "State id"
1500
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1501
1501
  },
1502
1502
  "name": {
1503
1503
  "in": "path",
1504
1504
  "type": "string",
1505
- "description": "State name"
1505
+ "description": "Name of the State which is declared inside the bot definition"
1506
1506
  }
1507
1507
  },
1508
1508
  "requestBody": {
@@ -1558,7 +1558,7 @@ export const state = {
1558
1558
  "type": {
1559
1559
  "in": "path",
1560
1560
  "type": "string",
1561
- "description": "State type",
1561
+ "description": "Represents the resource type that the state is related to",
1562
1562
  "enum": [
1563
1563
  "conversation",
1564
1564
  "user",
@@ -1571,12 +1571,12 @@ export const state = {
1571
1571
  "id": {
1572
1572
  "in": "path",
1573
1573
  "type": "string",
1574
- "description": "State id"
1574
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1575
1575
  },
1576
1576
  "name": {
1577
1577
  "in": "path",
1578
1578
  "type": "string",
1579
- "description": "State name"
1579
+ "description": "Name of the State which is declared inside the bot definition"
1580
1580
  }
1581
1581
  },
1582
1582
  "requestBody": {
@@ -1644,7 +1644,7 @@ export const state = {
1644
1644
  "type": {
1645
1645
  "in": "path",
1646
1646
  "type": "string",
1647
- "description": "State type",
1647
+ "description": "Represents the resource type that the state is related to",
1648
1648
  "enum": [
1649
1649
  "conversation",
1650
1650
  "user",
@@ -1657,12 +1657,12 @@ export const state = {
1657
1657
  "id": {
1658
1658
  "in": "path",
1659
1659
  "type": "string",
1660
- "description": "State id"
1660
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1661
1661
  },
1662
1662
  "name": {
1663
1663
  "in": "path",
1664
1664
  "type": "string",
1665
- "description": "State name"
1665
+ "description": "Name of the State which is declared inside the bot definition"
1666
1666
  }
1667
1667
  },
1668
1668
  "requestBody": {
@@ -2493,6 +2493,14 @@ export const state = {
2493
2493
  "maxLength": 500
2494
2494
  },
2495
2495
  "description": "Optional list of tag names to use for strict matching when looking up existing workflows. If provided, all specified tags must match exactly for a workflow to be considered a match. For example, with an existing workflow whose tags are {\"foo\": \"a\", \"bar\": \"b\", baz: \"c\"}: Without this parameter, ALL tags must match exactly. With [\"bar\",\"baz\"], all listed tags must match their values, and other tags are not considered."
2496
+ },
2497
+ "discriminateByStatusGroup": {
2498
+ "type": "string",
2499
+ "enum": [
2500
+ "active",
2501
+ "finished"
2502
+ ],
2503
+ "description": "When provided, will only match workflows whose status corresponds to the status group."
2496
2504
  }
2497
2505
  },
2498
2506
  "required": [
@@ -2635,7 +2643,7 @@ export const state = {
2635
2643
  "title": "Botpress API",
2636
2644
  "description": "API for Botpress Cloud",
2637
2645
  "server": "https://api.botpress.cloud",
2638
- "version": "1.45.0",
2646
+ "version": "1.46.1",
2639
2647
  "prefix": "v1"
2640
2648
  },
2641
2649
  "errors": [
package/src/gen/state.ts CHANGED
@@ -1355,7 +1355,7 @@ export const state = {
1355
1355
  "type": {
1356
1356
  "in": "path",
1357
1357
  "type": "string",
1358
- "description": "State type",
1358
+ "description": "Represents the resource type that the state is related to",
1359
1359
  "enum": [
1360
1360
  "conversation",
1361
1361
  "user",
@@ -1368,12 +1368,12 @@ export const state = {
1368
1368
  "id": {
1369
1369
  "in": "path",
1370
1370
  "type": "string",
1371
- "description": "State id"
1371
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1372
1372
  },
1373
1373
  "name": {
1374
1374
  "in": "path",
1375
1375
  "type": "string",
1376
- "description": "State name"
1376
+ "description": "Name of the State which is declared inside the bot definition"
1377
1377
  }
1378
1378
  },
1379
1379
  "requestBody": {
@@ -1423,7 +1423,7 @@ export const state = {
1423
1423
  "type": {
1424
1424
  "in": "path",
1425
1425
  "type": "string",
1426
- "description": "State type",
1426
+ "description": "Represents the resource type that the state is related to",
1427
1427
  "enum": [
1428
1428
  "conversation",
1429
1429
  "user",
@@ -1436,12 +1436,12 @@ export const state = {
1436
1436
  "id": {
1437
1437
  "in": "path",
1438
1438
  "type": "string",
1439
- "description": "State id"
1439
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1440
1440
  },
1441
1441
  "name": {
1442
1442
  "in": "path",
1443
1443
  "type": "string",
1444
- "description": "State name"
1444
+ "description": "Name of the State which is declared inside the bot definition"
1445
1445
  }
1446
1446
  },
1447
1447
  "section": "state",
@@ -1484,7 +1484,7 @@ export const state = {
1484
1484
  "type": {
1485
1485
  "in": "path",
1486
1486
  "type": "string",
1487
- "description": "State type",
1487
+ "description": "Represents the resource type that the state is related to",
1488
1488
  "enum": [
1489
1489
  "conversation",
1490
1490
  "user",
@@ -1497,12 +1497,12 @@ export const state = {
1497
1497
  "id": {
1498
1498
  "in": "path",
1499
1499
  "type": "string",
1500
- "description": "State id"
1500
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1501
1501
  },
1502
1502
  "name": {
1503
1503
  "in": "path",
1504
1504
  "type": "string",
1505
- "description": "State name"
1505
+ "description": "Name of the State which is declared inside the bot definition"
1506
1506
  }
1507
1507
  },
1508
1508
  "requestBody": {
@@ -1558,7 +1558,7 @@ export const state = {
1558
1558
  "type": {
1559
1559
  "in": "path",
1560
1560
  "type": "string",
1561
- "description": "State type",
1561
+ "description": "Represents the resource type that the state is related to",
1562
1562
  "enum": [
1563
1563
  "conversation",
1564
1564
  "user",
@@ -1571,12 +1571,12 @@ export const state = {
1571
1571
  "id": {
1572
1572
  "in": "path",
1573
1573
  "type": "string",
1574
- "description": "State id"
1574
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1575
1575
  },
1576
1576
  "name": {
1577
1577
  "in": "path",
1578
1578
  "type": "string",
1579
- "description": "State name"
1579
+ "description": "Name of the State which is declared inside the bot definition"
1580
1580
  }
1581
1581
  },
1582
1582
  "requestBody": {
@@ -1644,7 +1644,7 @@ export const state = {
1644
1644
  "type": {
1645
1645
  "in": "path",
1646
1646
  "type": "string",
1647
- "description": "State type",
1647
+ "description": "Represents the resource type that the state is related to",
1648
1648
  "enum": [
1649
1649
  "conversation",
1650
1650
  "user",
@@ -1657,12 +1657,12 @@ export const state = {
1657
1657
  "id": {
1658
1658
  "in": "path",
1659
1659
  "type": "string",
1660
- "description": "State id"
1660
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
1661
1661
  },
1662
1662
  "name": {
1663
1663
  "in": "path",
1664
1664
  "type": "string",
1665
- "description": "State name"
1665
+ "description": "Name of the State which is declared inside the bot definition"
1666
1666
  }
1667
1667
  },
1668
1668
  "requestBody": {
@@ -2493,6 +2493,14 @@ export const state = {
2493
2493
  "maxLength": 500
2494
2494
  },
2495
2495
  "description": "Optional list of tag names to use for strict matching when looking up existing workflows. If provided, all specified tags must match exactly for a workflow to be considered a match. For example, with an existing workflow whose tags are {\"foo\": \"a\", \"bar\": \"b\", baz: \"c\"}: Without this parameter, ALL tags must match exactly. With [\"bar\",\"baz\"], all listed tags must match their values, and other tags are not considered."
2496
+ },
2497
+ "discriminateByStatusGroup": {
2498
+ "type": "string",
2499
+ "enum": [
2500
+ "active",
2501
+ "finished"
2502
+ ],
2503
+ "description": "When provided, will only match workflows whose status corresponds to the status group."
2496
2504
  }
2497
2505
  },
2498
2506
  "required": [
@@ -10904,7 +10912,9 @@ export const state = {
10904
10912
  "UPDATE_WORKSPACE",
10905
10913
  "SET_SPENDING_LIMIT",
10906
10914
  "SET_AI_SPENDING_LIMIT",
10907
- "UPDATE_WORKSPACE_BILLING_READONLY"
10915
+ "UPDATE_WORKSPACE_BILLING_READONLY",
10916
+ "EXECUTE_AUTO_RECHARGE_SUCCESS",
10917
+ "EXECUTE_AUTO_RECHARGE_FAILED"
10908
10918
  ]
10909
10919
  }
10910
10920
  },
@@ -19738,7 +19748,7 @@ export const state = {
19738
19748
  "title": "Botpress API",
19739
19749
  "description": "API for Botpress Cloud",
19740
19750
  "server": "https://api.botpress.cloud",
19741
- "version": "1.45.0",
19751
+ "version": "1.46.1",
19742
19752
  "prefix": "v1"
19743
19753
  },
19744
19754
  "errors": [