@botpress/api 0.40.2 → 0.40.4

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
@@ -2623,6 +2623,11 @@ export const state = {
2623
2623
  "minLength": 28,
2624
2624
  "maxLength": 36
2625
2625
  },
2626
+ "name": {
2627
+ "type": "string",
2628
+ "maxLength": 200,
2629
+ "description": "Name of the interface"
2630
+ },
2626
2631
  "entities": {
2627
2632
  "type": "object",
2628
2633
  "additionalProperties": {
@@ -2674,6 +2679,7 @@ export const state = {
2674
2679
  },
2675
2680
  "required": [
2676
2681
  "id",
2682
+ "name",
2677
2683
  "entities",
2678
2684
  "actions",
2679
2685
  "events"
@@ -2943,6 +2949,12 @@ export const state = {
2943
2949
  "maxLength": 256,
2944
2950
  "description": "Description of the action"
2945
2951
  },
2952
+ "billable": {
2953
+ "type": "boolean"
2954
+ },
2955
+ "cacheable": {
2956
+ "type": "boolean"
2957
+ },
2946
2958
  "input": {
2947
2959
  "type": "object",
2948
2960
  "properties": {
@@ -3249,6 +3261,11 @@ export const state = {
3249
3261
  "minLength": 28,
3250
3262
  "maxLength": 36
3251
3263
  },
3264
+ "name": {
3265
+ "type": "string",
3266
+ "maxLength": 200,
3267
+ "description": "Name of the interface"
3268
+ },
3252
3269
  "entities": {
3253
3270
  "type": "object",
3254
3271
  "additionalProperties": {
@@ -3300,6 +3317,7 @@ export const state = {
3300
3317
  },
3301
3318
  "required": [
3302
3319
  "id",
3320
+ "name",
3303
3321
  "entities",
3304
3322
  "actions",
3305
3323
  "events"
@@ -3569,6 +3587,12 @@ export const state = {
3569
3587
  "maxLength": 256,
3570
3588
  "description": "Description of the action"
3571
3589
  },
3590
+ "billable": {
3591
+ "type": "boolean"
3592
+ },
3593
+ "cacheable": {
3594
+ "type": "boolean"
3595
+ },
3572
3596
  "input": {
3573
3597
  "type": "object",
3574
3598
  "properties": {
@@ -3930,6 +3954,12 @@ export const state = {
3930
3954
  "maxLength": 256,
3931
3955
  "description": "Description of the action"
3932
3956
  },
3957
+ "billable": {
3958
+ "type": "boolean"
3959
+ },
3960
+ "cacheable": {
3961
+ "type": "boolean"
3962
+ },
3933
3963
  "input": {
3934
3964
  "type": "object",
3935
3965
  "properties": {
@@ -4295,6 +4325,12 @@ export const state = {
4295
4325
  "maxLength": 256,
4296
4326
  "description": "Description of the action"
4297
4327
  },
4328
+ "billable": {
4329
+ "type": "boolean"
4330
+ },
4331
+ "cacheable": {
4332
+ "type": "boolean"
4333
+ },
4298
4334
  "input": {
4299
4335
  "type": "object",
4300
4336
  "properties": {
@@ -7450,74 +7486,6 @@ export const state = {
7450
7486
  "maxLength": 200,
7451
7487
  "description": "Version of the [Integration](#schema_integration)"
7452
7488
  },
7453
- "interfaces": {
7454
- "type": "object",
7455
- "additionalProperties": {
7456
- "type": "object",
7457
- "properties": {
7458
- "id": {
7459
- "type": "string",
7460
- "minLength": 28,
7461
- "maxLength": 36
7462
- },
7463
- "entities": {
7464
- "type": "object",
7465
- "additionalProperties": {
7466
- "type": "object",
7467
- "properties": {
7468
- "name": {
7469
- "type": "string",
7470
- "maxLength": 200
7471
- }
7472
- },
7473
- "required": [
7474
- "name"
7475
- ],
7476
- "additionalProperties": false
7477
- }
7478
- },
7479
- "actions": {
7480
- "type": "object",
7481
- "additionalProperties": {
7482
- "type": "object",
7483
- "properties": {
7484
- "name": {
7485
- "type": "string",
7486
- "maxLength": 200
7487
- }
7488
- },
7489
- "required": [
7490
- "name"
7491
- ],
7492
- "additionalProperties": false
7493
- }
7494
- },
7495
- "events": {
7496
- "type": "object",
7497
- "additionalProperties": {
7498
- "type": "object",
7499
- "properties": {
7500
- "name": {
7501
- "type": "string",
7502
- "maxLength": 200
7503
- }
7504
- },
7505
- "required": [
7506
- "name"
7507
- ],
7508
- "additionalProperties": false
7509
- }
7510
- }
7511
- },
7512
- "required": [
7513
- "id",
7514
- "entities",
7515
- "actions",
7516
- "events"
7517
- ],
7518
- "additionalProperties": false
7519
- }
7520
- },
7521
7489
  "configuration": {
7522
7490
  "type": "object",
7523
7491
  "properties": {
@@ -7641,6 +7609,12 @@ export const state = {
7641
7609
  "maxLength": 256,
7642
7610
  "description": "Description of the action"
7643
7611
  },
7612
+ "billable": {
7613
+ "type": "boolean"
7614
+ },
7615
+ "cacheable": {
7616
+ "type": "boolean"
7617
+ },
7644
7618
  "input": {
7645
7619
  "type": "object",
7646
7620
  "properties": {
@@ -7878,6 +7852,74 @@ export const state = {
7878
7852
  },
7879
7853
  "additionalProperties": false
7880
7854
  },
7855
+ "interfaces": {
7856
+ "type": "object",
7857
+ "additionalProperties": {
7858
+ "type": "object",
7859
+ "properties": {
7860
+ "id": {
7861
+ "type": "string",
7862
+ "minLength": 28,
7863
+ "maxLength": 36
7864
+ },
7865
+ "entities": {
7866
+ "type": "object",
7867
+ "additionalProperties": {
7868
+ "type": "object",
7869
+ "properties": {
7870
+ "name": {
7871
+ "type": "string",
7872
+ "maxLength": 200
7873
+ }
7874
+ },
7875
+ "required": [
7876
+ "name"
7877
+ ],
7878
+ "additionalProperties": false
7879
+ }
7880
+ },
7881
+ "actions": {
7882
+ "type": "object",
7883
+ "additionalProperties": {
7884
+ "type": "object",
7885
+ "properties": {
7886
+ "name": {
7887
+ "type": "string",
7888
+ "maxLength": 200
7889
+ }
7890
+ },
7891
+ "required": [
7892
+ "name"
7893
+ ],
7894
+ "additionalProperties": false
7895
+ }
7896
+ },
7897
+ "events": {
7898
+ "type": "object",
7899
+ "additionalProperties": {
7900
+ "type": "object",
7901
+ "properties": {
7902
+ "name": {
7903
+ "type": "string",
7904
+ "maxLength": 200
7905
+ }
7906
+ },
7907
+ "required": [
7908
+ "name"
7909
+ ],
7910
+ "additionalProperties": false
7911
+ }
7912
+ }
7913
+ },
7914
+ "required": [
7915
+ "id",
7916
+ "entities",
7917
+ "actions",
7918
+ "events"
7919
+ ],
7920
+ "additionalProperties": false
7921
+ }
7922
+ },
7881
7923
  "secrets": {
7882
7924
  "type": "object",
7883
7925
  "additionalProperties": {
@@ -8166,6 +8208,12 @@ export const state = {
8166
8208
  "maxLength": 256,
8167
8209
  "description": "Description of the action"
8168
8210
  },
8211
+ "billable": {
8212
+ "type": "boolean"
8213
+ },
8214
+ "cacheable": {
8215
+ "type": "boolean"
8216
+ },
8169
8217
  "input": {
8170
8218
  "type": "object",
8171
8219
  "properties": {
@@ -8848,6 +8896,12 @@ export const state = {
8848
8896
  "maxLength": 256,
8849
8897
  "description": "Description of the action"
8850
8898
  },
8899
+ "billable": {
8900
+ "type": "boolean"
8901
+ },
8902
+ "cacheable": {
8903
+ "type": "boolean"
8904
+ },
8851
8905
  "input": {
8852
8906
  "type": "object",
8853
8907
  "properties": {
@@ -9065,6 +9119,12 @@ export const state = {
9065
9119
  "maxLength": 256,
9066
9120
  "description": "Description of the action"
9067
9121
  },
9122
+ "billable": {
9123
+ "type": "boolean"
9124
+ },
9125
+ "cacheable": {
9126
+ "type": "boolean"
9127
+ },
9068
9128
  "input": {
9069
9129
  "type": "object",
9070
9130
  "properties": {
@@ -11337,7 +11397,7 @@ export const state = {
11337
11397
  "title": "Botpress API",
11338
11398
  "description": "API for Botpress Cloud",
11339
11399
  "server": "https://api.botpress.cloud",
11340
- "version": "0.40.2",
11400
+ "version": "0.40.4",
11341
11401
  "prefix": "v1"
11342
11402
  },
11343
11403
  "errors": [
@@ -11736,6 +11796,11 @@ export const state = {
11736
11796
  "type": "string",
11737
11797
  "maxLength": 2000
11738
11798
  },
11799
+ "configurationType": {
11800
+ "type": "string",
11801
+ "maxLength": 200,
11802
+ "nullable": true
11803
+ },
11739
11804
  "configuration": {
11740
11805
  "type": "object",
11741
11806
  "additionalProperties": true
@@ -11808,6 +11873,7 @@ export const state = {
11808
11873
  "version",
11809
11874
  "webhookUrl",
11810
11875
  "webhookId",
11876
+ "configurationType",
11811
11877
  "configuration",
11812
11878
  "status",
11813
11879
  "statusReason",
@@ -12079,6 +12145,12 @@ export const state = {
12079
12145
  "maxLength": 256,
12080
12146
  "description": "Description of the action"
12081
12147
  },
12148
+ "billable": {
12149
+ "type": "boolean"
12150
+ },
12151
+ "cacheable": {
12152
+ "type": "boolean"
12153
+ },
12082
12154
  "input": {
12083
12155
  "type": "object",
12084
12156
  "properties": {
@@ -12253,6 +12325,11 @@ export const state = {
12253
12325
  "minLength": 28,
12254
12326
  "maxLength": 36
12255
12327
  },
12328
+ "name": {
12329
+ "type": "string",
12330
+ "maxLength": 200,
12331
+ "description": "Name of the interface"
12332
+ },
12256
12333
  "entities": {
12257
12334
  "type": "object",
12258
12335
  "additionalProperties": {
@@ -12304,6 +12381,7 @@ export const state = {
12304
12381
  },
12305
12382
  "required": [
12306
12383
  "id",
12384
+ "name",
12307
12385
  "entities",
12308
12386
  "actions",
12309
12387
  "events"
@@ -12573,6 +12651,12 @@ export const state = {
12573
12651
  "maxLength": 256,
12574
12652
  "description": "Description of the action"
12575
12653
  },
12654
+ "billable": {
12655
+ "type": "boolean"
12656
+ },
12657
+ "cacheable": {
12658
+ "type": "boolean"
12659
+ },
12576
12660
  "input": {
12577
12661
  "type": "object",
12578
12662
  "properties": {
@@ -12835,6 +12919,12 @@ export const state = {
12835
12919
  "maxLength": 256,
12836
12920
  "description": "Description of the action"
12837
12921
  },
12922
+ "billable": {
12923
+ "type": "boolean"
12924
+ },
12925
+ "cacheable": {
12926
+ "type": "boolean"
12927
+ },
12838
12928
  "input": {
12839
12929
  "type": "object",
12840
12930
  "properties": {