@botpress/api 1.63.0 → 1.66.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.
@@ -436,6 +436,11 @@ export declare const state: {
436
436
  maxItems: number;
437
437
  };
438
438
  };
439
+ indexed: {
440
+ in: "query";
441
+ type: "boolean";
442
+ description: string;
443
+ };
439
444
  "x-bot-id": {
440
445
  in: "header";
441
446
  description: string;
@@ -1390,6 +1390,117 @@ export declare const state: {
1390
1390
  };
1391
1391
  tags: string[];
1392
1392
  };
1393
+ importMessages: {
1394
+ name: string;
1395
+ description: string;
1396
+ method: "post";
1397
+ path: string;
1398
+ requestBody: {
1399
+ description: string;
1400
+ schema: {
1401
+ type: "object";
1402
+ properties: {
1403
+ messages: {
1404
+ type: "array";
1405
+ items: {
1406
+ type: "object";
1407
+ properties: {
1408
+ payload: {
1409
+ type: "object";
1410
+ properties: {};
1411
+ additionalProperties: true;
1412
+ description: string;
1413
+ };
1414
+ userId: {
1415
+ type: "string";
1416
+ minLength: number;
1417
+ maxLength: number;
1418
+ description: string;
1419
+ };
1420
+ conversationId: {
1421
+ type: "string";
1422
+ minLength: number;
1423
+ maxLength: number;
1424
+ description: string;
1425
+ };
1426
+ type: {
1427
+ type: "string";
1428
+ maxLength: number;
1429
+ description: string;
1430
+ };
1431
+ tags: {
1432
+ type: "object";
1433
+ additionalProperties: {
1434
+ type: "string";
1435
+ maxLength: number;
1436
+ };
1437
+ description: string;
1438
+ };
1439
+ createdAt: {
1440
+ type: "string";
1441
+ format: string;
1442
+ description: string;
1443
+ };
1444
+ discriminateByTags: {
1445
+ type: "array";
1446
+ items: {
1447
+ type: "string";
1448
+ maxLength: number;
1449
+ };
1450
+ description: string;
1451
+ };
1452
+ };
1453
+ required: string[];
1454
+ description: string;
1455
+ };
1456
+ maxItems: number;
1457
+ };
1458
+ };
1459
+ required: string[];
1460
+ title: string;
1461
+ additionalProperties: false;
1462
+ };
1463
+ };
1464
+ section: "message";
1465
+ response: {
1466
+ description: string;
1467
+ schema: {
1468
+ type: "object";
1469
+ properties: {
1470
+ messages: {
1471
+ type: "array";
1472
+ items: {
1473
+ $ref: string;
1474
+ };
1475
+ };
1476
+ };
1477
+ required: string[];
1478
+ title: string;
1479
+ additionalProperties: false;
1480
+ };
1481
+ };
1482
+ tags: string[];
1483
+ parameters: {
1484
+ "x-bot-id": {
1485
+ in: "header";
1486
+ description: string;
1487
+ type: "string";
1488
+ required: true;
1489
+ };
1490
+ "x-integration-id": {
1491
+ in: "header";
1492
+ description: string;
1493
+ type: "string";
1494
+ required: false;
1495
+ };
1496
+ "x-integration-alias": {
1497
+ in: "header";
1498
+ description: string;
1499
+ type: "string";
1500
+ required: false;
1501
+ };
1502
+ };
1503
+ };
1393
1504
  createUser: {
1394
1505
  name: string;
1395
1506
  description: string;
@@ -3414,6 +3525,7 @@ export declare const state: {
3414
3525
  createMessageBody: true;
3415
3526
  getOrCreateMessageBody: true;
3416
3527
  updateMessageBody: true;
3528
+ importMessagesBody: true;
3417
3529
  createUserBody: true;
3418
3530
  getOrCreateUserBody: true;
3419
3531
  updateUserBody: true;
@@ -3451,6 +3563,7 @@ export declare const state: {
3451
3563
  updateMessageResponse: true;
3452
3564
  listMessagesResponse: true;
3453
3565
  deleteMessageResponse: true;
3566
+ importMessagesResponse: true;
3454
3567
  createUserResponse: true;
3455
3568
  getUserResponse: true;
3456
3569
  listUsersResponse: true;
@@ -1025,6 +1025,98 @@ export declare const state: {
1025
1025
  };
1026
1026
  tags: string[];
1027
1027
  };
1028
+ importMessages: {
1029
+ name: string;
1030
+ description: string;
1031
+ method: "post";
1032
+ path: string;
1033
+ requestBody: {
1034
+ description: string;
1035
+ schema: {
1036
+ type: "object";
1037
+ properties: {
1038
+ messages: {
1039
+ type: "array";
1040
+ items: {
1041
+ type: "object";
1042
+ properties: {
1043
+ payload: {
1044
+ type: "object";
1045
+ properties: {};
1046
+ additionalProperties: true;
1047
+ description: string;
1048
+ };
1049
+ userId: {
1050
+ type: "string";
1051
+ minLength: number;
1052
+ maxLength: number;
1053
+ description: string;
1054
+ };
1055
+ conversationId: {
1056
+ type: "string";
1057
+ minLength: number;
1058
+ maxLength: number;
1059
+ description: string;
1060
+ };
1061
+ type: {
1062
+ type: "string";
1063
+ maxLength: number;
1064
+ description: string;
1065
+ };
1066
+ tags: {
1067
+ type: "object";
1068
+ additionalProperties: {
1069
+ type: "string";
1070
+ maxLength: number;
1071
+ };
1072
+ description: string;
1073
+ };
1074
+ createdAt: {
1075
+ type: "string";
1076
+ format: string;
1077
+ description: string;
1078
+ };
1079
+ discriminateByTags: {
1080
+ type: "array";
1081
+ items: {
1082
+ type: "string";
1083
+ maxLength: number;
1084
+ };
1085
+ description: string;
1086
+ };
1087
+ };
1088
+ required: string[];
1089
+ description: string;
1090
+ };
1091
+ maxItems: number;
1092
+ };
1093
+ };
1094
+ required: string[];
1095
+ title: string;
1096
+ additionalProperties: false;
1097
+ };
1098
+ };
1099
+ section: "message";
1100
+ response: {
1101
+ description: string;
1102
+ schema: {
1103
+ type: "object";
1104
+ properties: {
1105
+ messages: {
1106
+ type: "array";
1107
+ items: {
1108
+ $ref: string;
1109
+ };
1110
+ };
1111
+ };
1112
+ required: string[];
1113
+ title: string;
1114
+ additionalProperties: false;
1115
+ };
1116
+ };
1117
+ tags: string[];
1118
+ parameters: {};
1119
+ };
1028
1120
  createUser: {
1029
1121
  name: string;
1030
1122
  description: string;
@@ -15406,6 +15498,11 @@ export declare const state: {
15406
15498
  maxItems: number;
15407
15499
  };
15408
15500
  };
15501
+ indexed: {
15502
+ in: "query";
15503
+ type: "boolean";
15504
+ description: string;
15505
+ };
15409
15506
  };
15410
15507
  response: {
15411
15508
  description: string;
@@ -17830,6 +17927,7 @@ export declare const state: {
17830
17927
  createMessageBody: true;
17831
17928
  getOrCreateMessageBody: true;
17832
17929
  updateMessageBody: true;
17930
+ importMessagesBody: true;
17833
17931
  createUserBody: true;
17834
17932
  getOrCreateUserBody: true;
17835
17933
  updateUserBody: true;
@@ -17917,6 +18015,7 @@ export declare const state: {
17917
18015
  updateMessageResponse: true;
17918
18016
  listMessagesResponse: true;
17919
18017
  deleteMessageResponse: true;
18018
+ importMessagesResponse: true;
17920
18019
  createUserResponse: true;
17921
18020
  getUserResponse: true;
17922
18021
  listUsersResponse: true;
@@ -9,3 +9,5 @@ export * as files from './gen/files/state';
9
9
  export declare const filesApi: OpenApi<string, string, string>;
10
10
  export * as tables from './gen/tables/state';
11
11
  export declare const tablesApi: OpenApi<string, string, string>;
12
+ export * as billing from './gen/billing/state';
13
+ export declare const billingApi: OpenApi<string, string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.63.0",
3
+ "version": "1.66.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
@@ -13,6 +13,7 @@
13
13
  "@botpress/common": "0.5.0",
14
14
  "@botpress/files-api": "0.18.0",
15
15
  "@bpinternal/const": "0.4.1",
16
+ "@botpress/smaug": "1.0.0",
16
17
  "@bpinternal/tables-api": "0.17.2"
17
18
  },
18
19
  "dependencies": {