@botpress/api 0.20.3 → 0.21.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.
- package/dist/index.js +131 -60
- package/dist/src/gen/state.d.ts +75 -9
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +131 -60
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -7260,19 +7260,25 @@ export declare const state: {
|
|
|
7260
7260
|
properties: {
|
|
7261
7261
|
id: {
|
|
7262
7262
|
type: "string";
|
|
7263
|
+
description: string;
|
|
7263
7264
|
};
|
|
7264
7265
|
botId: {
|
|
7265
7266
|
type: "string";
|
|
7267
|
+
description: string;
|
|
7266
7268
|
};
|
|
7267
7269
|
name: {
|
|
7268
7270
|
type: "string";
|
|
7271
|
+
description: string;
|
|
7272
|
+
nullable: true;
|
|
7269
7273
|
};
|
|
7270
7274
|
size: {
|
|
7271
7275
|
type: "number";
|
|
7276
|
+
description: string;
|
|
7272
7277
|
nullable: true;
|
|
7273
7278
|
};
|
|
7274
7279
|
contentType: {
|
|
7275
7280
|
type: "string";
|
|
7281
|
+
description: string;
|
|
7276
7282
|
};
|
|
7277
7283
|
tags: {
|
|
7278
7284
|
type: "object";
|
|
@@ -7284,22 +7290,27 @@ export declare const state: {
|
|
|
7284
7290
|
};
|
|
7285
7291
|
createdAt: {
|
|
7286
7292
|
type: "string";
|
|
7293
|
+
description: string;
|
|
7287
7294
|
};
|
|
7288
7295
|
updatedAt: {
|
|
7289
7296
|
type: "string";
|
|
7297
|
+
description: string;
|
|
7290
7298
|
};
|
|
7291
7299
|
accessPolicies: {
|
|
7292
7300
|
type: "array";
|
|
7293
7301
|
items: {
|
|
7294
7302
|
type: "string";
|
|
7295
7303
|
};
|
|
7304
|
+
description: string;
|
|
7296
7305
|
};
|
|
7297
7306
|
indexingStatus: {
|
|
7298
7307
|
type: "string";
|
|
7299
7308
|
enum: string[];
|
|
7309
|
+
description: string;
|
|
7300
7310
|
};
|
|
7301
7311
|
indexingFailureReason: {
|
|
7302
7312
|
type: "string";
|
|
7313
|
+
description: string;
|
|
7303
7314
|
};
|
|
7304
7315
|
};
|
|
7305
7316
|
required: string[];
|
|
@@ -7375,19 +7386,25 @@ export declare const state: {
|
|
|
7375
7386
|
properties: {
|
|
7376
7387
|
id: {
|
|
7377
7388
|
type: "string";
|
|
7389
|
+
description: string;
|
|
7378
7390
|
};
|
|
7379
7391
|
botId: {
|
|
7380
7392
|
type: "string";
|
|
7393
|
+
description: string;
|
|
7381
7394
|
};
|
|
7382
7395
|
name: {
|
|
7383
7396
|
type: "string";
|
|
7397
|
+
description: string;
|
|
7398
|
+
nullable: true;
|
|
7384
7399
|
};
|
|
7385
7400
|
size: {
|
|
7386
7401
|
type: "number";
|
|
7402
|
+
description: string;
|
|
7387
7403
|
nullable: true;
|
|
7388
7404
|
};
|
|
7389
7405
|
contentType: {
|
|
7390
7406
|
type: "string";
|
|
7407
|
+
description: string;
|
|
7391
7408
|
};
|
|
7392
7409
|
tags: {
|
|
7393
7410
|
type: "object";
|
|
@@ -7399,22 +7416,27 @@ export declare const state: {
|
|
|
7399
7416
|
};
|
|
7400
7417
|
createdAt: {
|
|
7401
7418
|
type: "string";
|
|
7419
|
+
description: string;
|
|
7402
7420
|
};
|
|
7403
7421
|
updatedAt: {
|
|
7404
7422
|
type: "string";
|
|
7423
|
+
description: string;
|
|
7405
7424
|
};
|
|
7406
7425
|
accessPolicies: {
|
|
7407
7426
|
type: "array";
|
|
7408
7427
|
items: {
|
|
7409
7428
|
type: "string";
|
|
7410
7429
|
};
|
|
7430
|
+
description: string;
|
|
7411
7431
|
};
|
|
7412
7432
|
indexingStatus: {
|
|
7413
7433
|
type: "string";
|
|
7414
7434
|
enum: string[];
|
|
7435
|
+
description: string;
|
|
7415
7436
|
};
|
|
7416
7437
|
indexingFailureReason: {
|
|
7417
7438
|
type: "string";
|
|
7439
|
+
description: string;
|
|
7418
7440
|
};
|
|
7419
7441
|
};
|
|
7420
7442
|
required: string[];
|
|
@@ -7460,19 +7482,25 @@ export declare const state: {
|
|
|
7460
7482
|
properties: {
|
|
7461
7483
|
id: {
|
|
7462
7484
|
type: "string";
|
|
7485
|
+
description: string;
|
|
7463
7486
|
};
|
|
7464
7487
|
botId: {
|
|
7465
7488
|
type: "string";
|
|
7489
|
+
description: string;
|
|
7466
7490
|
};
|
|
7467
7491
|
name: {
|
|
7468
7492
|
type: "string";
|
|
7493
|
+
description: string;
|
|
7494
|
+
nullable: true;
|
|
7469
7495
|
};
|
|
7470
7496
|
size: {
|
|
7471
7497
|
type: "number";
|
|
7498
|
+
description: string;
|
|
7472
7499
|
nullable: true;
|
|
7473
7500
|
};
|
|
7474
7501
|
contentType: {
|
|
7475
7502
|
type: "string";
|
|
7503
|
+
description: string;
|
|
7476
7504
|
};
|
|
7477
7505
|
tags: {
|
|
7478
7506
|
type: "object";
|
|
@@ -7484,22 +7512,27 @@ export declare const state: {
|
|
|
7484
7512
|
};
|
|
7485
7513
|
createdAt: {
|
|
7486
7514
|
type: "string";
|
|
7515
|
+
description: string;
|
|
7487
7516
|
};
|
|
7488
7517
|
updatedAt: {
|
|
7489
7518
|
type: "string";
|
|
7519
|
+
description: string;
|
|
7490
7520
|
};
|
|
7491
7521
|
accessPolicies: {
|
|
7492
7522
|
type: "array";
|
|
7493
7523
|
items: {
|
|
7494
7524
|
type: "string";
|
|
7495
7525
|
};
|
|
7526
|
+
description: string;
|
|
7496
7527
|
};
|
|
7497
7528
|
indexingStatus: {
|
|
7498
7529
|
type: "string";
|
|
7499
7530
|
enum: string[];
|
|
7531
|
+
description: string;
|
|
7500
7532
|
};
|
|
7501
7533
|
indexingFailureReason: {
|
|
7502
7534
|
type: "string";
|
|
7535
|
+
description: string;
|
|
7503
7536
|
};
|
|
7504
7537
|
};
|
|
7505
7538
|
required: string[];
|
|
@@ -7643,22 +7676,44 @@ export declare const state: {
|
|
|
7643
7676
|
items: {
|
|
7644
7677
|
type: "object";
|
|
7645
7678
|
properties: {
|
|
7646
|
-
|
|
7679
|
+
content: {
|
|
7647
7680
|
type: "string";
|
|
7681
|
+
description: string;
|
|
7648
7682
|
};
|
|
7649
7683
|
score: {
|
|
7650
7684
|
type: "number";
|
|
7685
|
+
description: string;
|
|
7651
7686
|
};
|
|
7652
|
-
|
|
7653
|
-
type: "string";
|
|
7654
|
-
};
|
|
7655
|
-
tags: {
|
|
7687
|
+
file: {
|
|
7656
7688
|
type: "object";
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7689
|
+
properties: {
|
|
7690
|
+
id: {
|
|
7691
|
+
type: "string";
|
|
7692
|
+
description: string;
|
|
7693
|
+
};
|
|
7694
|
+
name: {
|
|
7695
|
+
type: "string";
|
|
7696
|
+
description: string;
|
|
7697
|
+
nullable: true;
|
|
7698
|
+
};
|
|
7699
|
+
tags: {
|
|
7700
|
+
type: "object";
|
|
7701
|
+
additionalProperties: {
|
|
7702
|
+
type: "string";
|
|
7703
|
+
maxLength: number;
|
|
7704
|
+
};
|
|
7705
|
+
description: string;
|
|
7706
|
+
};
|
|
7707
|
+
createdAt: {
|
|
7708
|
+
type: "string";
|
|
7709
|
+
description: string;
|
|
7710
|
+
};
|
|
7711
|
+
updatedAt: {
|
|
7712
|
+
type: "string";
|
|
7713
|
+
description: string;
|
|
7714
|
+
};
|
|
7660
7715
|
};
|
|
7661
|
-
|
|
7716
|
+
required: string[];
|
|
7662
7717
|
};
|
|
7663
7718
|
};
|
|
7664
7719
|
required: string[];
|
|
@@ -10342,19 +10397,25 @@ export declare const state: {
|
|
|
10342
10397
|
properties: {
|
|
10343
10398
|
id: {
|
|
10344
10399
|
type: "string";
|
|
10400
|
+
description: string;
|
|
10345
10401
|
};
|
|
10346
10402
|
botId: {
|
|
10347
10403
|
type: "string";
|
|
10404
|
+
description: string;
|
|
10348
10405
|
};
|
|
10349
10406
|
name: {
|
|
10350
10407
|
type: "string";
|
|
10408
|
+
description: string;
|
|
10409
|
+
nullable: true;
|
|
10351
10410
|
};
|
|
10352
10411
|
size: {
|
|
10353
10412
|
type: "number";
|
|
10413
|
+
description: string;
|
|
10354
10414
|
nullable: true;
|
|
10355
10415
|
};
|
|
10356
10416
|
contentType: {
|
|
10357
10417
|
type: "string";
|
|
10418
|
+
description: string;
|
|
10358
10419
|
};
|
|
10359
10420
|
tags: {
|
|
10360
10421
|
type: "object";
|
|
@@ -10366,22 +10427,27 @@ export declare const state: {
|
|
|
10366
10427
|
};
|
|
10367
10428
|
createdAt: {
|
|
10368
10429
|
type: "string";
|
|
10430
|
+
description: string;
|
|
10369
10431
|
};
|
|
10370
10432
|
updatedAt: {
|
|
10371
10433
|
type: "string";
|
|
10434
|
+
description: string;
|
|
10372
10435
|
};
|
|
10373
10436
|
accessPolicies: {
|
|
10374
10437
|
type: "array";
|
|
10375
10438
|
items: {
|
|
10376
10439
|
type: "string";
|
|
10377
10440
|
};
|
|
10441
|
+
description: string;
|
|
10378
10442
|
};
|
|
10379
10443
|
indexingStatus: {
|
|
10380
10444
|
type: "string";
|
|
10381
10445
|
enum: string[];
|
|
10446
|
+
description: string;
|
|
10382
10447
|
};
|
|
10383
10448
|
indexingFailureReason: {
|
|
10384
10449
|
type: "string";
|
|
10450
|
+
description: string;
|
|
10385
10451
|
};
|
|
10386
10452
|
};
|
|
10387
10453
|
required: string[];
|