@botpress/api 0.20.3 → 0.22.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.
@@ -7220,7 +7220,6 @@ export declare const state: {
7220
7220
  type: "string";
7221
7221
  description: string;
7222
7222
  in: "header";
7223
- required: true;
7224
7223
  };
7225
7224
  "x-tags": {
7226
7225
  type: "string";
@@ -7260,19 +7259,25 @@ export declare const state: {
7260
7259
  properties: {
7261
7260
  id: {
7262
7261
  type: "string";
7262
+ description: string;
7263
7263
  };
7264
7264
  botId: {
7265
7265
  type: "string";
7266
+ description: string;
7266
7267
  };
7267
7268
  name: {
7268
7269
  type: "string";
7270
+ description: string;
7271
+ nullable: true;
7269
7272
  };
7270
7273
  size: {
7271
7274
  type: "number";
7275
+ description: string;
7272
7276
  nullable: true;
7273
7277
  };
7274
7278
  contentType: {
7275
7279
  type: "string";
7280
+ description: string;
7276
7281
  };
7277
7282
  tags: {
7278
7283
  type: "object";
@@ -7284,22 +7289,27 @@ export declare const state: {
7284
7289
  };
7285
7290
  createdAt: {
7286
7291
  type: "string";
7292
+ description: string;
7287
7293
  };
7288
7294
  updatedAt: {
7289
7295
  type: "string";
7296
+ description: string;
7290
7297
  };
7291
7298
  accessPolicies: {
7292
7299
  type: "array";
7293
7300
  items: {
7294
7301
  type: "string";
7295
7302
  };
7303
+ description: string;
7296
7304
  };
7297
7305
  indexingStatus: {
7298
7306
  type: "string";
7299
7307
  enum: string[];
7308
+ description: string;
7300
7309
  };
7301
7310
  indexingFailureReason: {
7302
7311
  type: "string";
7312
+ description: string;
7303
7313
  };
7304
7314
  };
7305
7315
  required: string[];
@@ -7375,19 +7385,25 @@ export declare const state: {
7375
7385
  properties: {
7376
7386
  id: {
7377
7387
  type: "string";
7388
+ description: string;
7378
7389
  };
7379
7390
  botId: {
7380
7391
  type: "string";
7392
+ description: string;
7381
7393
  };
7382
7394
  name: {
7383
7395
  type: "string";
7396
+ description: string;
7397
+ nullable: true;
7384
7398
  };
7385
7399
  size: {
7386
7400
  type: "number";
7401
+ description: string;
7387
7402
  nullable: true;
7388
7403
  };
7389
7404
  contentType: {
7390
7405
  type: "string";
7406
+ description: string;
7391
7407
  };
7392
7408
  tags: {
7393
7409
  type: "object";
@@ -7399,22 +7415,27 @@ export declare const state: {
7399
7415
  };
7400
7416
  createdAt: {
7401
7417
  type: "string";
7418
+ description: string;
7402
7419
  };
7403
7420
  updatedAt: {
7404
7421
  type: "string";
7422
+ description: string;
7405
7423
  };
7406
7424
  accessPolicies: {
7407
7425
  type: "array";
7408
7426
  items: {
7409
7427
  type: "string";
7410
7428
  };
7429
+ description: string;
7411
7430
  };
7412
7431
  indexingStatus: {
7413
7432
  type: "string";
7414
7433
  enum: string[];
7434
+ description: string;
7415
7435
  };
7416
7436
  indexingFailureReason: {
7417
7437
  type: "string";
7438
+ description: string;
7418
7439
  };
7419
7440
  };
7420
7441
  required: string[];
@@ -7460,19 +7481,25 @@ export declare const state: {
7460
7481
  properties: {
7461
7482
  id: {
7462
7483
  type: "string";
7484
+ description: string;
7463
7485
  };
7464
7486
  botId: {
7465
7487
  type: "string";
7488
+ description: string;
7466
7489
  };
7467
7490
  name: {
7468
7491
  type: "string";
7492
+ description: string;
7493
+ nullable: true;
7469
7494
  };
7470
7495
  size: {
7471
7496
  type: "number";
7497
+ description: string;
7472
7498
  nullable: true;
7473
7499
  };
7474
7500
  contentType: {
7475
7501
  type: "string";
7502
+ description: string;
7476
7503
  };
7477
7504
  tags: {
7478
7505
  type: "object";
@@ -7484,22 +7511,27 @@ export declare const state: {
7484
7511
  };
7485
7512
  createdAt: {
7486
7513
  type: "string";
7514
+ description: string;
7487
7515
  };
7488
7516
  updatedAt: {
7489
7517
  type: "string";
7518
+ description: string;
7490
7519
  };
7491
7520
  accessPolicies: {
7492
7521
  type: "array";
7493
7522
  items: {
7494
7523
  type: "string";
7495
7524
  };
7525
+ description: string;
7496
7526
  };
7497
7527
  indexingStatus: {
7498
7528
  type: "string";
7499
7529
  enum: string[];
7530
+ description: string;
7500
7531
  };
7501
7532
  indexingFailureReason: {
7502
7533
  type: "string";
7534
+ description: string;
7503
7535
  };
7504
7536
  };
7505
7537
  required: string[];
@@ -7643,22 +7675,44 @@ export declare const state: {
7643
7675
  items: {
7644
7676
  type: "object";
7645
7677
  properties: {
7646
- fileId: {
7678
+ content: {
7647
7679
  type: "string";
7680
+ description: string;
7648
7681
  };
7649
7682
  score: {
7650
7683
  type: "number";
7684
+ description: string;
7651
7685
  };
7652
- content: {
7653
- type: "string";
7654
- };
7655
- tags: {
7686
+ file: {
7656
7687
  type: "object";
7657
- additionalProperties: {
7658
- type: "string";
7659
- maxLength: number;
7688
+ properties: {
7689
+ id: {
7690
+ type: "string";
7691
+ description: string;
7692
+ };
7693
+ name: {
7694
+ type: "string";
7695
+ description: string;
7696
+ nullable: true;
7697
+ };
7698
+ tags: {
7699
+ type: "object";
7700
+ additionalProperties: {
7701
+ type: "string";
7702
+ maxLength: number;
7703
+ };
7704
+ description: string;
7705
+ };
7706
+ createdAt: {
7707
+ type: "string";
7708
+ description: string;
7709
+ };
7710
+ updatedAt: {
7711
+ type: "string";
7712
+ description: string;
7713
+ };
7660
7714
  };
7661
- description: string;
7715
+ required: string[];
7662
7716
  };
7663
7717
  };
7664
7718
  required: string[];
@@ -7768,6 +7822,10 @@ export declare const state: {
7768
7822
  maximum: number;
7769
7823
  description: string;
7770
7824
  };
7825
+ frozen: {
7826
+ type: "boolean";
7827
+ description: string;
7828
+ };
7771
7829
  schema: {
7772
7830
  type: "object";
7773
7831
  additionalProperties: true;
@@ -7836,6 +7894,10 @@ export declare const state: {
7836
7894
  maximum: number;
7837
7895
  description: string;
7838
7896
  };
7897
+ frozen: {
7898
+ type: "boolean";
7899
+ description: string;
7900
+ };
7839
7901
  schema: {
7840
7902
  type: "object";
7841
7903
  additionalProperties: true;
@@ -7946,6 +8008,10 @@ export declare const state: {
7946
8008
  type: "string";
7947
8009
  minLength: number;
7948
8010
  };
8011
+ frozen: {
8012
+ type: "boolean";
8013
+ description: string;
8014
+ };
7949
8015
  schema: {
7950
8016
  type: "object";
7951
8017
  additionalProperties: true;
@@ -10170,6 +10236,10 @@ export declare const state: {
10170
10236
  maximum: number;
10171
10237
  description: string;
10172
10238
  };
10239
+ frozen: {
10240
+ type: "boolean";
10241
+ description: string;
10242
+ };
10173
10243
  schema: {
10174
10244
  type: "object";
10175
10245
  properties: {
@@ -10342,19 +10412,25 @@ export declare const state: {
10342
10412
  properties: {
10343
10413
  id: {
10344
10414
  type: "string";
10415
+ description: string;
10345
10416
  };
10346
10417
  botId: {
10347
10418
  type: "string";
10419
+ description: string;
10348
10420
  };
10349
10421
  name: {
10350
10422
  type: "string";
10423
+ description: string;
10424
+ nullable: true;
10351
10425
  };
10352
10426
  size: {
10353
10427
  type: "number";
10428
+ description: string;
10354
10429
  nullable: true;
10355
10430
  };
10356
10431
  contentType: {
10357
10432
  type: "string";
10433
+ description: string;
10358
10434
  };
10359
10435
  tags: {
10360
10436
  type: "object";
@@ -10366,22 +10442,27 @@ export declare const state: {
10366
10442
  };
10367
10443
  createdAt: {
10368
10444
  type: "string";
10445
+ description: string;
10369
10446
  };
10370
10447
  updatedAt: {
10371
10448
  type: "string";
10449
+ description: string;
10372
10450
  };
10373
10451
  accessPolicies: {
10374
10452
  type: "array";
10375
10453
  items: {
10376
10454
  type: "string";
10377
10455
  };
10456
+ description: string;
10378
10457
  };
10379
10458
  indexingStatus: {
10380
10459
  type: "string";
10381
10460
  enum: string[];
10461
+ description: string;
10382
10462
  };
10383
10463
  indexingFailureReason: {
10384
10464
  type: "string";
10465
+ description: string;
10385
10466
  };
10386
10467
  };
10387
10468
  required: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.20.3",
3
+ "version": "0.22.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {